	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_client__switch_internal    ## -- Begin function svn_client__switch_internal
	.p2align	4, 0x90
_svn_client__switch_internal:           ## @svn_client__switch_internal
	.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
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	64(%rbp), %r12
	movq	56(%rbp), %r13
	cmpq	$0, 8(%r13)
	je	LBB0_1
## %bb.2:
	movq	%r12, %rdi
	callq	_apr_hash_make
	movq	%rax, %r15
	jmp	LBB0_3
LBB0_1:
	xorl	%r15d, %r15d
LBB0_3:
	movq	%rbx, %rdi
	callq	_SVN_ERR_ASSERT
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_svn_dirent_get_absolute
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	(%r13), %esi
	movq	-56(%rbp), %rdx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rdi
	movq	%r12, %r8
	movq	%r12, %r9
	callq	_svn_wc__acquire_write_lock
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	(%r14), %rax
	movq	_SVN_ERR_WC_LOCKED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_6:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	%r13, %rbx
	movq	(%rax), %r13
	movq	%r14, %rdi
	callq	_svn_error_clear
	movq	-56(%rbp), %rdx
	movq	-48(%rbp), %rcx
	subq	$8, %rsp
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	pushq	%r12
	pushq	%rbx
	pushq	48(%rbp)
	movl	40(%rbp), %eax
	pushq	%rax
	movl	32(%rbp), %eax
	pushq	%rax
	movl	24(%rbp), %eax
	pushq	%rax
	movl	16(%rbp), %eax
	pushq	%rax
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	callq	_switch_internal
	addq	$80, %rsp
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_10
## %bb.7:
	movq	56(%rbp), %rdx
	cmpq	$0, 8(%rdx)
	je	LBB0_8
## %bb.9:
	xorl	%edi, %edi
	movq	%r15, %rsi
	movq	%r12, %rcx
	callq	_svn_client__resolve_conflicts
	movq	%rax, %rbx
LBB0_10:
	cmpq	%r13, %r14
	je	LBB0_11
LBB0_12:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	jmp	LBB0_13
LBB0_5:
	movq	%r14, %rdi
	callq	_svn_error_trace
	jmp	LBB0_14
LBB0_8:
	xorl	%ebx, %ebx
	cmpq	%r13, %r14
	jne	LBB0_12
LBB0_11:
	movq	56(%rbp), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rsi
	movq	%r12, %rdx
	callq	_svn_wc__release_write_lock
	movq	%rax, %rsi
LBB0_13:
	movq	%rbx, %rdi
	callq	_svn_error_compose_create
LBB0_14:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_SVN_ERR_WC_LOCKED,8,3          ## @SVN_ERR_WC_LOCKED
	.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_client__switch_internal    ; -- Begin function svn_client__switch_internal
	.p2align	2
_svn_client__switch_internal:           ; @svn_client__switch_internal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	x28, x7
	mov	x27, x6
	mov	x22, x5
	mov	x23, x4
	mov	x25, x3
	mov	x24, x2
	mov	x21, x1
	str	x0, [sp, #72]                   ; 8-byte Folded Spill
	ldp	x20, x19, [x29, #32]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_apr_hash_make
	mov	x26, x0
	b	LBB0_3
LBB0_2:
	mov	x26, #0
LBB0_3:
	mov	x0, x21
	bl	_SVN_ERR_ASSERT
	add	x0, sp, #88
	mov	x1, x21
	mov	x2, x19
	bl	_svn_dirent_get_absolute
	bl	_SVN_ERR
	ldr	w1, [x20]
	ldr	x2, [sp, #88]
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	add	x0, sp, #80
	mov	x4, x19
	mov	x5, x19
	bl	_svn_wc__acquire_write_lock
	mov	x21, x0
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x21]
Lloh3:
	adrp	x9, _SVN_ERR_WC_LOCKED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SVN_ERR_WC_LOCKED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
LBB0_5:
	str	w22, [sp, #68]                  ; 4-byte Folded Spill
	ldr	x22, [x29, #24]
	stp	x24, x25, [sp, #48]             ; 16-byte Folded Spill
	mov	x24, x28
	mov	x28, x26
	ldp	w26, w25, [x29, #16]
Lloh6:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
	str	x23, [sp, #40]                  ; 8-byte Folded Spill
Lloh8:
	ldr	x23, [x8]
	mov	x0, x21
	bl	_svn_error_clear
	ldp	x3, x2, [sp, #80]
	stp	x20, x19, [sp, #24]
	str	x22, [sp, #16]
	stp	w26, w25, [sp, #8]
	stp	w27, w24, [sp]
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	mov	x1, x28
	ldp	x4, x5, [sp, #48]               ; 16-byte Folded Reload
	ldr	x6, [sp, #40]                   ; 8-byte Folded Reload
	ldr	w7, [sp, #68]                   ; 4-byte Folded Reload
	bl	_switch_internal
	mov	x22, x0
	cbnz	x0, LBB0_8
; %bb.6:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_11
; %bb.7:
	mov	x0, #0
	mov	x1, x28
	mov	x2, x20
	mov	x3, x19
	bl	_svn_client__resolve_conflicts
	mov	x22, x0
LBB0_8:
	cmp	x21, x23
	b.eq	LBB0_12
LBB0_9:
Lloh9:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	x1, [x8]
	b	LBB0_13
LBB0_10:
	mov	x0, x21
	bl	_svn_error_trace
	b	LBB0_14
LBB0_11:
	mov	x22, #0
	cmp	x21, x23
	b.ne	LBB0_9
LBB0_12:
	ldr	w0, [x20]
	ldr	x1, [sp, #80]
	mov	x2, x19
	bl	_svn_wc__release_write_lock
	mov	x1, x0
LBB0_13:
	mov	x0, x22
	bl	_svn_error_compose_create
LBB0_14:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_SVN_ERR_WC_LOCKED,8,3          ; @SVN_ERR_WC_LOCKED
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
