	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lookup_access
_lookup_access:                         ## @lookup_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r8
	movq	_svn_authz_write@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_WRITE_ACCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_READ_ACCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	-64(%rbp), %rdi
	movq	%rcx, %rsi
	movq	%r15, %rcx
	callq	_authz_check_access
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_log_error
	movq	%rbx, %rdi
	callq	_svn_error_clear
LBB0_6:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testl	%r12d, -44(%rbp)                ## 4-byte Folded Reload
	cmovel	%r14d, %r13d
	movq	%r15, %rdi
	callq	_current_access
	cmpl	%r13d, %eax
	jb	LBB0_6
## %bb.3:
	cmpq	$0, -64(%rbp)
	je	LBB0_6
## %bb.4:
	movq	_TRUE@GOTPCREL(%rip), %rax
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.5:
	movq	(%r15), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_7
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_svn_authz_write,4,2            ## @svn_authz_write
	.comm	_WRITE_ACCESS,4,2               ## @WRITE_ACCESS
	.comm	_READ_ACCESS,4,2                ## @READ_ACCESS
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
	.no_dead_strip	_lookup_access
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lookup_access
_lookup_access:                         ; @lookup_access
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x4
	mov	x21, x2
	mov	x19, x1
	mov	x4, x0
Lloh0:
	adrp	x8, _svn_authz_write@GOTPAGE
Lloh1:
	ldr	x8, [x8, _svn_authz_write@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x8, _WRITE_ACCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WRITE_ACCESS@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
Lloh6:
	adrp	x8, _READ_ACCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _READ_ACCESS@GOTPAGEOFF]
Lloh8:
	ldr	w25, [x8]
	add	x0, sp, #8
	mov	x1, x3
	mov	x3, x19
	bl	_authz_check_access
	cbz	x0, LBB0_2
; %bb.1:
	mov	x22, x0
	mov	x1, x19
	bl	_log_error
	mov	x0, x22
	bl	_svn_error_clear
	b	LBB0_6
LBB0_2:
	tst	w23, w21
	csel	w21, w25, w24, eq
	mov	x0, x19
	bl	_current_access
	ldr	x8, [sp, #8]
	cmp	w0, w21
	ccmp	x8, #0, #4, hs
	b.eq	LBB0_6
; %bb.3:
	cbz	x20, LBB0_5
; %bb.4:
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, _TRUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh11:
	adrp	x8, _FALSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_7:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_svn_authz_write,4,2            ; @svn_authz_write
	.comm	_WRITE_ACCESS,4,2               ; @WRITE_ACCESS
	.comm	_READ_ACCESS,4,2                ; @READ_ACCESS
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
	.no_dead_strip	_lookup_access
.subsections_via_symbols
