	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_execute_access
_check_execute_access:                  ## @check_execute_access
	.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, %rbx
	movl	8(%rdi), %edi
	leaq	4(%rbx), %rsi
	movq	_ACCESS4_EXECUTE@GOTPCREL(%rip), %r15
	movq	_ACCESS4_READ@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	orl	(%r15), %edx
	leaq	-32(%rbp), %rcx
	leaq	-28(%rbp), %r8
	callq	_nfs41_access
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %edi
	callq	_nfs_error_string
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_eprintf
LBB0_6:
	movq	_ERROR_ACCESS_DENIED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	-32(%rbp), %eax
	movl	(%r15), %ecx
	testl	%eax, %ecx
	je	LBB0_3
## %bb.7:
	testl	%ecx, -28(%rbp)
	je	LBB0_8
## %bb.9:
	leaq	L_.str.3(%rip), %rsi
	xorl	%r14d, %r14d
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_dprintf
	jmp	LBB0_10
LBB0_3:
	movl	(%r14), %ecx
	testl	%eax, %ecx
	je	LBB0_5
## %bb.4:
	xorl	%r14d, %r14d
	testl	%ecx, -28(%rbp)
	jne	LBB0_10
LBB0_5:
	movl	(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_eprintf
	jmp	LBB0_6
LBB0_8:
	movl	(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_dprintf
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_ACCESS4_EXECUTE,4,2            ## @ACCESS4_EXECUTE
	.comm	_ACCESS4_READ,4,2               ## @ACCESS4_READ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nfs41_access() failed with %s for %s\n"

	.comm	_ERROR_ACCESS_DENIED,4,2        ## @ERROR_ACCESS_DENIED
L_.str.1:                               ## @.str.1
	.asciz	"server can't verify execute access, and user does not have read access to file %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"user does not have execute access to file %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"user has execute access to file\n"

	.no_dead_strip	_check_execute_access
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_execute_access
_check_execute_access:                  ; @check_execute_access
	.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, x0
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x21, _ACCESS4_EXECUTE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ACCESS4_EXECUTE@GOTPAGEOFF]
	add	x1, x19, #4
	ldr	w8, [x21]
Lloh2:
	adrp	x20, _ACCESS4_READ@GOTPAGE
Lloh3:
	ldr	x20, [x20, _ACCESS4_READ@GOTPAGEOFF]
	ldr	w9, [x20]
	orr	w2, w9, w8
	add	x3, sp, #12
	add	x4, sp, #8
	bl	_nfs41_access
	cbz	w0, LBB0_4
; %bb.1:
	bl	_nfs_error_string
	mov	x1, x0
	ldr	w8, [x19]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
LBB0_2:
	bl	_eprintf
LBB0_3:
Lloh6:
	adrp	x8, _ERROR_ACCESS_DENIED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR_ACCESS_DENIED@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_10
LBB0_4:
	ldr	w8, [sp, #12]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.5:
	ldr	w8, [sp, #8]
	tst	w8, w9
	b.eq	LBB0_11
; %bb.6:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #2
	bl	_dprintf
	b	LBB0_9
LBB0_7:
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.8:
	ldr	w8, [sp, #8]
	tst	w8, w9
	b.eq	LBB0_12
LBB0_9:
	mov	w0, #0
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
LBB0_11:
	ldr	w8, [x19]
	str	x8, [sp]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_dprintf
	b	LBB0_3
LBB0_12:
	ldr	w1, [x19]
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_2
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ACCESS4_EXECUTE,4,2            ; @ACCESS4_EXECUTE
	.comm	_ACCESS4_READ,4,2               ; @ACCESS4_READ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nfs41_access() failed with %s for %s\n"

	.comm	_ERROR_ACCESS_DENIED,4,2        ; @ERROR_ACCESS_DENIED
l_.str.1:                               ; @.str.1
	.asciz	"server can't verify execute access, and user does not have read access to file %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"user does not have execute access to file %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"user has execute access to file\n"

	.no_dead_strip	_check_execute_access
.subsections_via_symbols
