The opening credits read "Written by Ernest K. Gann," implying it's an original screenplay rather than an adaptation of his own novel.