	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_fsaccess_set               ## -- Begin function isc_fsaccess_set
	.p2align	4, 0x90
_isc_fsaccess_set:                      ## @isc_fsaccess_set
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_ISC_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	-32(%rbp), %rsi
	callq	_stat
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_isc__errno2result
	jmp	LBB0_10
LBB0_2:
	movl	-32(%rbp), %eax
	movq	_S_IFDIR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.3:
	movq	_ISC_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_4
LBB0_7:
	movq	_S_IFREG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
LBB0_4:
	movl	%r14d, %edi
	movl	%r15d, %esi
	callq	_check_bad_bits
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.5:
	movq	%rbx, %rdi
	callq	_is_ntfs
	movq	%rbx, %rdi
	movl	%r14d, %esi
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movl	%r15d, %edx
	callq	_NTFS_fsaccess_set
	jmp	LBB0_10
LBB0_9:
	callq	_FAT_fsaccess_set
	jmp	LBB0_10
LBB0_8:
	movq	_ISC_R_INVALIDFILE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISC_FALSE,4,2                  ## @ISC_FALSE
	.comm	_errno,4,2                      ## @errno
	.comm	_S_IFDIR,4,2                    ## @S_IFDIR
	.comm	_ISC_TRUE,4,2                   ## @ISC_TRUE
	.comm	_S_IFREG,4,2                    ## @S_IFREG
	.comm	_ISC_R_INVALIDFILE,8,3          ## @ISC_R_INVALIDFILE
	.comm	_ISC_R_SUCCESS,8,3              ## @ISC_R_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_fsaccess_set               ; -- Begin function isc_fsaccess_set
	.p2align	2
_isc_fsaccess_set:                      ; @isc_fsaccess_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x8, _ISC_FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISC_FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	add	x1, sp, #8
	bl	_stat
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_isc__errno2result
	b	LBB0_10
LBB0_2:
	ldr	w8, [sp, #8]
Lloh6:
	adrp	x9, _S_IFDIR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _S_IFDIR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _ISC_TRUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ISC_TRUE@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
	b	LBB0_5
LBB0_4:
Lloh12:
	adrp	x9, _S_IFREG@GOTPAGE
Lloh13:
	ldr	x9, [x9, _S_IFREG@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
LBB0_5:
	mov	x0, x19
	mov	x1, x21
	bl	_check_bad_bits
Lloh15:
	adrp	x8, _ISC_R_SUCCESS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ISC_R_SUCCESS@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.6:
	mov	x0, x20
	bl	_is_ntfs
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_NTFS_fsaccess_set
	b	LBB0_10
LBB0_8:
	mov	x0, x20
	mov	x1, x19
	bl	_FAT_fsaccess_set
	b	LBB0_10
LBB0_9:
Lloh18:
	adrp	x8, _ISC_R_INVALIDFILE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ISC_R_INVALIDFILE@GOTPAGEOFF]
Lloh20:
	ldr	x0, [x8]
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ISC_FALSE,4,2                  ; @ISC_FALSE
	.comm	_errno,4,2                      ; @errno
	.comm	_S_IFDIR,4,2                    ; @S_IFDIR
	.comm	_ISC_TRUE,4,2                   ; @ISC_TRUE
	.comm	_S_IFREG,4,2                    ; @S_IFREG
	.comm	_ISC_R_INVALIDFILE,8,3          ; @ISC_R_INVALIDFILE
	.comm	_ISC_R_SUCCESS,8,3              ; @ISC_R_SUCCESS
.subsections_via_symbols
