	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_bad_bits
_check_bad_bits:                        ## @check_bad_bits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	_ISC_FSACCESS_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ISC_R_NOTFILE@GOTPCREL(%rip), %rax
	movq	_ISC_FSACCESS_EXECUTE@GOTPCREL(%rip), %rcx
	movq	_ISC_FSACCESS_READ@GOTPCREL(%rip), %rsi
	jmp	LBB0_3
LBB0_2:
	movq	_ISC_FSACCESS_CREATECHILD@GOTPCREL(%rip), %rax
	movq	_ISC_FSACCESS_ACCESSCHILD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_ISC_R_NOTDIRECTORY@GOTPCREL(%rip), %rax
	movq	_ISC_FSACCESS_LISTDIRECTORY@GOTPCREL(%rip), %rcx
	movq	_ISC_FSACCESS_DELETECHILD@GOTPCREL(%rip), %rsi
LBB0_3:
	orl	(%rsi), %edx
	orl	(%rcx), %edx
	movq	_STEP@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%edx, %esi
	shll	%cl, %esi
	orl	%edx, %esi
	movl	%esi, %edx
	shll	%cl, %edx
	orl	%esi, %edx
	testl	%edi, %edx
	jne	LBB0_5
## %bb.4:
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISC_FSACCESS_READ,4,2          ## @ISC_FSACCESS_READ
	.comm	_ISC_FSACCESS_WRITE,4,2         ## @ISC_FSACCESS_WRITE
	.comm	_ISC_FSACCESS_EXECUTE,4,2       ## @ISC_FSACCESS_EXECUTE
	.comm	_ISC_FSACCESS_CREATECHILD,4,2   ## @ISC_FSACCESS_CREATECHILD
	.comm	_ISC_FSACCESS_ACCESSCHILD,4,2   ## @ISC_FSACCESS_ACCESSCHILD
	.comm	_ISC_FSACCESS_DELETECHILD,4,2   ## @ISC_FSACCESS_DELETECHILD
	.comm	_ISC_FSACCESS_LISTDIRECTORY,4,2 ## @ISC_FSACCESS_LISTDIRECTORY
	.comm	_STEP,4,2                       ## @STEP
	.comm	_ISC_R_NOTFILE,4,2              ## @ISC_R_NOTFILE
	.comm	_ISC_R_NOTDIRECTORY,4,2         ## @ISC_R_NOTDIRECTORY
	.comm	_ISC_R_SUCCESS,4,2              ## @ISC_R_SUCCESS
	.no_dead_strip	_check_bad_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_bad_bits
_check_bad_bits:                        ; @check_bad_bits
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ISC_FSACCESS_WRITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISC_FSACCESS_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _ISC_R_NOTFILE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ISC_R_NOTFILE@GOTPAGEOFF]
Lloh5:
	adrp	x10, _ISC_FSACCESS_EXECUTE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ISC_FSACCESS_EXECUTE@GOTPAGEOFF]
Lloh7:
	adrp	x11, _ISC_FSACCESS_READ@GOTPAGE
Lloh8:
	ldr	x11, [x11, _ISC_FSACCESS_READ@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _ISC_FSACCESS_CREATECHILD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ISC_FSACCESS_CREATECHILD@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _ISC_FSACCESS_ACCESSCHILD@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ISC_FSACCESS_ACCESSCHILD@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w9, w9, w8
Lloh15:
	adrp	x8, _ISC_R_NOTDIRECTORY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ISC_R_NOTDIRECTORY@GOTPAGEOFF]
Lloh17:
	adrp	x10, _ISC_FSACCESS_LISTDIRECTORY@GOTPAGE
Lloh18:
	ldr	x10, [x10, _ISC_FSACCESS_LISTDIRECTORY@GOTPAGEOFF]
Lloh19:
	adrp	x11, _ISC_FSACCESS_DELETECHILD@GOTPAGE
Lloh20:
	ldr	x11, [x11, _ISC_FSACCESS_DELETECHILD@GOTPAGEOFF]
LBB0_3:
	ldr	w11, [x11]
	orr	w9, w9, w11
	ldr	w10, [x10]
Lloh21:
	adrp	x11, _STEP@GOTPAGE
Lloh22:
	ldr	x11, [x11, _STEP@GOTPAGEOFF]
	orr	w9, w9, w10
Lloh23:
	ldr	w10, [x11]
	lsl	w11, w9, w10
	orr	w9, w11, w9
	lsl	w10, w9, w10
	orr	w9, w10, w9
Lloh24:
	adrp	x10, _ISC_R_SUCCESS@GOTPAGE
Lloh25:
	ldr	x10, [x10, _ISC_R_SUCCESS@GOTPAGEOFF]
	tst	w9, w0
	csel	x8, x10, x8, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_ISC_FSACCESS_READ,4,2          ; @ISC_FSACCESS_READ
	.comm	_ISC_FSACCESS_WRITE,4,2         ; @ISC_FSACCESS_WRITE
	.comm	_ISC_FSACCESS_EXECUTE,4,2       ; @ISC_FSACCESS_EXECUTE
	.comm	_ISC_FSACCESS_CREATECHILD,4,2   ; @ISC_FSACCESS_CREATECHILD
	.comm	_ISC_FSACCESS_ACCESSCHILD,4,2   ; @ISC_FSACCESS_ACCESSCHILD
	.comm	_ISC_FSACCESS_DELETECHILD,4,2   ; @ISC_FSACCESS_DELETECHILD
	.comm	_ISC_FSACCESS_LISTDIRECTORY,4,2 ; @ISC_FSACCESS_LISTDIRECTORY
	.comm	_STEP,4,2                       ; @STEP
	.comm	_ISC_R_NOTFILE,4,2              ; @ISC_R_NOTFILE
	.comm	_ISC_R_NOTDIRECTORY,4,2         ; @ISC_R_NOTDIRECTORY
	.comm	_ISC_R_SUCCESS,4,2              ; @ISC_R_SUCCESS
	.no_dead_strip	_check_bad_bits
.subsections_via_symbols
