	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isfree
_isfree:                                ## @isfree
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_di_mode@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_DIP
                                        ## kill: def $eax killed $eax def $rax
	movq	_IFMT@GOTPCREL(%rip), %r12
	andl	(%r12), %eax
	leal	-128(%rax), %ecx
	cmpl	$7, %ecx
	ja	LBB0_1
## %bb.3:
	xorl	%eax, %eax
	movl	$60, %edx
	btl	%ecx, %edx
	jae	LBB0_4
	jmp	LBB0_5
LBB0_1:
	testl	%eax, %eax
	jne	LBB0_2
LBB0_4:
	movl	$1, %eax
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_DIP
	andl	(%r12), %eax
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%eax, %edx
	callq	_errx
                                        ## implicit-def: $eax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_di_mode,4,2                    ## @di_mode
	.comm	_IFMT,4,2                       ## @IFMT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown IFMT 0%o"

	.no_dead_strip	_isfree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isfree
_isfree:                                ; @isfree
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _di_mode@GOTPAGE
Lloh1:
	ldr	x21, [x21, _di_mode@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_DIP
Lloh2:
	adrp	x22, _IFMT@GOTPAGE
Lloh3:
	ldr	x22, [x22, _IFMT@GOTPAGEOFF]
	ldr	w8, [x22]
	and	w8, w8, w0
	sub	w9, w8, #128
	cmp	w9, #7
	b.hi	LBB0_3
; %bb.1:
	mov	w8, #1
	lsl	w8, w8, w9
	tst	w8, #0x3c
	b.eq	LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_5
LBB0_3:
	cbnz	w8, LBB0_6
LBB0_4:
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w2, [x21]
	mov	x0, x20
	mov	x1, x19
	bl	_DIP
	ldr	w8, [x22]
	and	w2, w8, w0
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
                                        ; implicit-def: $w0
	b	LBB0_5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_di_mode,4,2                    ; @di_mode
	.comm	_IFMT,4,2                       ; @IFMT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown IFMT 0%o"

	.no_dead_strip	_isfree
.subsections_via_symbols
