	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ftypeok                        ## -- Begin function ftypeok
	.p2align	4, 0x90
_ftypeok:                               ## @ftypeok
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_di_mode@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_DIP
	movq	_IFMT@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	addl	$-128, %eax
	movl	$1, %ebx
	cmpl	$7, %eax
	jb	LBB0_3
## %bb.1:
	movq	_debug@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_DIP
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_printf
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_di_mode,4,2                    ## @di_mode
	.comm	_IFMT,4,2                       ## @IFMT
	.comm	_debug,4,2                      ## @debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad file type 0%o\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ftypeok                        ; -- Begin function ftypeok
	.p2align	2
_ftypeok:                               ; @ftypeok
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _di_mode@GOTPAGE
Lloh1:
	ldr	x20, [x20, _di_mode@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_DIP
Lloh2:
	adrp	x8, _IFMT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IFMT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	and	w8, w8, w0
	sub	w8, w8, #128
	cmp	w8, #7
	b.hs	LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_5
LBB0_2:
Lloh5:
	adrp	x8, _debug@GOTPAGE
Lloh6:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.3:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_DIP
	mov	x1, x0
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_di_mode,4,2                    ; @di_mode
	.comm	_IFMT,4,2                       ; @IFMT
	.comm	_debug,4,2                      ; @debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad file type 0%o\n"

.subsections_via_symbols
