	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_locks
_get_locks:                             ## @get_locks
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rax
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	%rcx, -80(%rbp)
	movq	%rdi, -88(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-72(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	movq	%rax, %rdi
	callq	_svn_ra_svn__parse_tuple
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_svn_depth_from_word
	movq	%rax, %r12
	movq	_svn_depth_infinity@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_svn_depth_infinity@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, %r12
LBB0_3:
	movq	_svn_depth_empty@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r12
	je	LBB0_8
## %bb.4:
	movq	_svn_depth_files@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r12
	je	LBB0_8
## %bb.5:
	movq	_svn_depth_immediates@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r12
	je	LBB0_8
## %bb.6:
	cmpq	%rax, %r12
	je	LBB0_8
## %bb.7:
	movq	_SVN_ERR_INCORRECT_PARAMS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rdx
	xorl	%esi, %esi
	callq	_svn_error_create
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r13, %rcx
	callq	_log_fail_and_flush
	jmp	LBB0_12
LBB0_8:
	movq	(%r15), %rax
	movq	8(%rax), %rax
	movl	(%rax), %ebx
	movq	-72(%rbp), %rdi
	movq	%r13, %rsi
	callq	_svn_relpath_canonicalize
	movl	%ebx, %edi
	movl	%eax, %esi
	movq	%r13, %rdx
	callq	_svn_fspath__join
	movq	%rax, %rbx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_trivial_auth_request
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_svn_path_uri_encode
	leaq	L_.str.2(%rip), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movl	%eax, %r8d
	callq	_log_command
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	(%r15), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_authz_check_access_cb_func
	movq	%r13, (%rsp)
	leaq	-56(%rbp), %rdi
	leaq	-88(%rbp), %r9
	movl	%ebx, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	movl	%eax, %r8d
	callq	_svn_repos_fs_get_locks2
	movl	%eax, %edi
	callq	_SVN_CMD_ERR
	leaq	L_.str.3(%rip), %rdx
	leaq	L_.str.4(%rip), %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_svn_ra_svn__write_tuple
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rsi
	movq	%r13, %rdi
	callq	_apr_hash_first
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_apr_hash_this_val
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	callq	_write_lock
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%rbx, %rdi
	callq	_apr_hash_next
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_10
LBB0_11:
	leaq	L_.str.5(%rip), %rdx
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_svn_ra_svn__write_tuple
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_12:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"c?(?w)"

	.comm	_svn_depth_infinity,8,3         ## @svn_depth_infinity
	.comm	_svn_depth_empty,8,3            ## @svn_depth_empty
	.comm	_svn_depth_files,8,3            ## @svn_depth_files
	.comm	_svn_depth_immediates,8,3       ## @svn_depth_immediates
	.comm	_SVN_ERR_INCORRECT_PARAMS,4,2   ## @SVN_ERR_INCORRECT_PARAMS
L_.str.1:                               ## @.str.1
	.asciz	"Invalid 'depth' specified in get-locks request"

L_.str.2:                               ## @.str.2
	.asciz	"get-locks %s"

L_.str.3:                               ## @.str.3
	.asciz	"w((!"

L_.str.4:                               ## @.str.4
	.asciz	"success"

L_.str.5:                               ## @.str.5
	.asciz	"!))"

	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_get_locks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_locks
_get_locks:                             ; @get_locks
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x21, x3
	mov	x8, x2
	mov	x19, x1
	mov	x20, x0
	stp	x0, x3, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #40
	add	x3, sp, #32
	mov	x0, x8
	bl	_svn_ra_svn__parse_tuple
	bl	_SVN_ERR
	ldr	x0, [sp, #32]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_svn_depth_from_word
	mov	x22, x0
Lloh2:
	adrp	x8, _svn_depth_infinity@GOTPAGE
Lloh3:
	ldr	x8, [x8, _svn_depth_infinity@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _svn_depth_infinity@GOTPAGE
Lloh6:
	ldr	x8, [x8, _svn_depth_infinity@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	mov	x22, x8
LBB0_3:
Lloh8:
	adrp	x9, _svn_depth_empty@GOTPAGE
Lloh9:
	ldr	x9, [x9, _svn_depth_empty@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x10, _svn_depth_files@GOTPAGE
Lloh12:
	ldr	x10, [x10, _svn_depth_files@GOTPAGEOFF]
Lloh13:
	adrp	x11, _svn_depth_immediates@GOTPAGE
Lloh14:
	ldr	x11, [x11, _svn_depth_immediates@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
Lloh16:
	ldr	x11, [x11]
	cmp	x22, x9
	ccmp	x22, x10, #4, ne
	ccmp	x22, x11, #4, ne
	ccmp	x22, x8, #4, ne
	b.ne	LBB0_8
; %bb.4:
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	ldr	w23, [x8]
	ldr	x0, [sp, #40]
	mov	x1, x19
	bl	_svn_relpath_canonicalize
	mov	x1, x0
	mov	x0, x23
	mov	x2, x19
	bl	_svn_fspath__join
	mov	x23, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_trivial_auth_request
	bl	_SVN_ERR
	mov	x0, x23
	mov	x1, x19
	bl	_svn_path_uri_encode
	mov	x4, x0
Lloh17:
	adrp	x3, l_.str.2@PAGE
Lloh18:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_log_command
	bl	_SVN_ERR
	ldr	x8, [x21]
	ldr	w24, [x8]
	mov	x0, x21
	bl	_authz_check_access_cb_func
	mov	x4, x0
	add	x0, sp, #24
	add	x5, sp, #8
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	mov	x6, x19
	bl	_svn_repos_fs_get_locks2
	bl	_SVN_CMD_ERR
Lloh19:
	adrp	x8, l_.str.4@PAGE
Lloh20:
	add	x8, x8, l_.str.4@PAGEOFF
	str	x8, [sp]
Lloh21:
	adrp	x2, l_.str.3@PAGE
Lloh22:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_svn_ra_svn__write_tuple
	bl	_SVN_ERR
	ldr	x1, [sp, #24]
	mov	x0, x19
	bl	_apr_hash_first
	cbz	x0, LBB0_7
; %bb.5:
	mov	x21, x0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_apr_hash_this_val
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_write_lock
	bl	_SVN_ERR
	mov	x0, x21
	bl	_apr_hash_next
	mov	x21, x0
	cbnz	x0, LBB0_6
LBB0_7:
Lloh23:
	adrp	x2, l_.str.5@PAGE
Lloh24:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_svn_ra_svn__write_tuple
	bl	_SVN_ERR
Lloh25:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh27:
	ldr	x0, [x8]
	b	LBB0_9
LBB0_8:
Lloh28:
	adrp	x8, _SVN_ERR_INCORRECT_PARAMS@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SVN_ERR_INCORRECT_PARAMS@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
Lloh31:
	adrp	x2, l_.str.1@PAGE
Lloh32:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x1, #0
	bl	_svn_error_create
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_log_fail_and_flush
LBB0_9:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"c?(?w)"

	.comm	_svn_depth_infinity,8,3         ; @svn_depth_infinity
	.comm	_svn_depth_empty,8,3            ; @svn_depth_empty
	.comm	_svn_depth_files,8,3            ; @svn_depth_files
	.comm	_svn_depth_immediates,8,3       ; @svn_depth_immediates
	.comm	_SVN_ERR_INCORRECT_PARAMS,4,2   ; @SVN_ERR_INCORRECT_PARAMS
l_.str.1:                               ; @.str.1
	.asciz	"Invalid 'depth' specified in get-locks request"

l_.str.2:                               ; @.str.2
	.asciz	"get-locks %s"

l_.str.3:                               ; @.str.3
	.asciz	"w((!"

l_.str.4:                               ; @.str.4
	.asciz	"success"

l_.str.5:                               ; @.str.5
	.asciz	"!))"

	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_get_locks
.subsections_via_symbols
