	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_wc__acquire_write_lock_for_resolve ## -- Begin function svn_wc__acquire_write_lock_for_resolve
	.p2align	4, 0x90
_svn_wc__acquire_write_lock_for_resolve: ## @svn_wc__acquire_write_lock_for_resolve
	.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	%r8, %r12
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r12, %r8
	movq	%r12, %r9
	callq	_svn_wc__acquire_write_lock
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movl	(%r15), %esi
	leaq	-56(%rbp), %rdi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	movq	%r12, %r8
	callq	_svn_wc__required_lock_for_resolve
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rsi
	callq	_svn_dirent_skip_ancestor
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$0, (%rax)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_svn_wc__release_write_lock
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	-56(%rbp), %r14
	testq	%rbx, %rbx
	je	LBB0_9
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rbx
	movq	-56(%rbp), %r15
	movq	-48(%rbp), %r14
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_svn_dirent_skip_ancestor
	testq	%rax, %rax
	setne	%al
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movb	$1, %al
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %r15
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movzbl	%al, %edi
	callq	_SVN_ERR_ASSERT
	testq	%rbx, %rbx
	jne	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	jmp	LBB0_1
LBB0_10:
	movq	-48(%rbp), %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_apr_pstrdup
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_wc__acquire_write_lock_for_resolve ; -- Begin function svn_wc__acquire_write_lock_for_resolve
	.p2align	2
_svn_wc__acquire_write_lock_for_resolve: ; @svn_wc__acquire_write_lock_for_resolve
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	mov	x3, #0
Lloh0:
	adrp	x27, _TRUE@GOTPAGE
Lloh1:
	ldr	x27, [x27, _TRUE@GOTPAGEOFF]
Lloh2:
	adrp	x28, _FALSE@GOTPAGE
Lloh3:
	ldr	x28, [x28, _FALSE@GOTPAGEOFF]
	mov	x24, x2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #24
	mov	x1, x23
	mov	x2, x24
	mov	x4, x21
	mov	x5, x21
	bl	_svn_wc__acquire_write_lock
	bl	_SVN_ERR
	ldr	x19, [x27]
	ldr	w1, [x23]
	add	x0, sp, #16
	mov	x2, x22
	mov	x3, x21
	mov	x4, x21
	bl	_svn_wc__required_lock_for_resolve
	bl	_SVN_ERR
	ldp	x0, x1, [sp, #16]
	bl	_svn_dirent_skip_ancestor
	cbz	x0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w8, [x0]
	cbz	w8, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x1, [sp, #24]
	mov	x0, x23
	mov	x2, x21
	bl	_svn_wc__release_write_lock
	bl	_SVN_ERR
	ldr	x19, [x28]
	ldr	x24, [sp, #16]
	cbz	x19, LBB0_8
	b	LBB0_9
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldp	x25, x26, [sp, #16]
	mov	x0, x25
	mov	x1, x26
	bl	_strcmp
	cbz	w0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x26
	mov	x1, x25
	bl	_svn_dirent_skip_ancestor
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #1
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	bl	_SVN_ERR_ASSERT
	cbnz	x19, LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x3, [x28]
	b	LBB0_1
LBB0_9:
	ldr	x1, [sp, #24]
	mov	x0, x20
	bl	_apr_pstrdup
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	x0, [x8]
Lloh4:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh6:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
