	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ensure_state
_ensure_state:                          ## @ensure_state
	.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	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	(%rax), %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_svn_dirent_is_child
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_18
LBB0_1:
	movl	24(%r13), %edi
	movq	%r12, %rsi
	callq	_svn_dirent_skip_ancestor
	testq	%rax, %rax
	je	LBB0_18
## %bb.2:
	cmpb	$0, (%rax)
	je	LBB0_5
LBB0_4:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_svn_dirent_dirname
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%r13, %rdi
	movq	%rax, %rsi
	movq	%rbx, %rcx
	callq	_ensure_state
	movq	%rax, %rdi
	callq	_SVN_ERR
LBB0_5:
	movq	16(%r13), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	cmpq	$0, 56(%rax)
	jne	LBB0_18
LBB0_7:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	leaq	8(%rax), %rcx
	leaq	32(%r13), %rdx
	testq	%rax, %rax
	cmoveq	%rdx, %rcx
	movq	(%rcx), %rdi
	callq	_svn_pool_create
	movq	%r14, %rbx
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	$72, %esi
	callq	_apr_pcalloc
	movq	%rax, %r15
	movq	%r14, 8(%rax)
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_apr_pstrdup
	movq	%rax, (%r15)
	movl	24(%r13), %edi
	movq	%rax, %rsi
	callq	_svn_dirent_skip_ancestor
	movq	%rax, 48(%r15)
	movq	16(%r13), %rax
	movq	%rax, 24(%r15)
	movq	%r15, 16(%r13)
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.8:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%r15)
	movq	%rax, 56(%r15)
	jmp	LBB0_18
LBB0_9:
	movl	8(%r13), %eax
	subq	$112, %rsp
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 104(%rsp)
	movq	%rcx, 96(%rsp)
	movq	%r12, 88(%rsp)
	movl	%eax, 80(%rsp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 64(%rsp)
	movups	%xmm0, 48(%rsp)
	movups	%xmm0, 32(%rsp)
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	leaq	-56(%rbp), %rdx
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_svn_wc__db_base_get_info
	addq	$112, %rsp
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	(%rax), %rcx
	movq	_SVN_ERR_WC_PATH_NOT_FOUND@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_15
## %bb.12:
	movq	%rax, %rdi
	callq	_svn_error_clear
	movq	$0, -56(%rbp)
	xorl	%edi, %edi
	jmp	LBB0_13
LBB0_10:
	movq	-56(%rbp), %rdi
LBB0_13:
	movq	8(%r15), %rsi
	callq	_svn_diff__source_create
	movq	%rax, 40(%r15)
	movq	_SVN_INVALID_REVNUM@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	8(%r15), %rsi
	callq	_svn_diff__source_create
	movq	%rax, 32(%r15)
	movq	(%r13), %r14
	movq	(%r14), %r10
	leaq	16(%r15), %rdi
	leaq	64(%r15), %rsi
	movq	%r15, %rdx
	addq	$56, %rdx
	movq	48(%r15), %rcx
	movq	24(%r15), %rbx
	movq	40(%r15), %r8
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.16:
	movq	16(%rbx), %r11
	jmp	LBB0_17
LBB0_15:
	movq	%rax, %rdi
	callq	_svn_error_trace
	jmp	LBB0_19
LBB0_14:
	xorl	%r11d, %r11d
LBB0_17:
	subq	$8, %rsp
	movq	%rax, %r9
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	8(%r15)
	pushq	%r14
	pushq	%r11
	pushq	$0
	callq	*%r10
	addq	$48, %rsp
	movq	%rax, %rdi
	callq	_SVN_ERR
LBB0_18:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_SVN_ERR_WC_PATH_NOT_FOUND,8,3  ## @SVN_ERR_WC_PATH_NOT_FOUND
	.comm	_SVN_INVALID_REVNUM,8,3         ## @SVN_INVALID_REVNUM
	.no_dead_strip	_ensure_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ensure_state
_ensure_state:                          ; @ensure_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x19, x3
	mov	x23, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x0, [x8]
	mov	x1, x22
	mov	x2, #0
	bl	_svn_dirent_is_child
	cbnz	x0, LBB0_4
	b	LBB0_18
LBB0_2:
	ldr	w0, [x20, #24]
	mov	x1, x22
	bl	_svn_dirent_skip_ancestor
	cbz	x0, LBB0_18
; %bb.3:
	ldrb	w8, [x0]
	cbz	w8, LBB0_5
LBB0_4:
	mov	x0, x22
	mov	x1, x19
	bl	_svn_dirent_dirname
	mov	x1, x0
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	x2, [x8]
	mov	x0, x20
	mov	x3, x19
	bl	_ensure_state
	bl	_SVN_ERR
LBB0_5:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	x9, [x8, #56]
	cbnz	x9, LBB0_18
LBB0_7:
	add	x9, x8, #8
	add	x10, x20, #32
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	x0, [x8]
	bl	_svn_pool_create
	mov	x24, x0
	mov	w1, #72
	bl	_apr_pcalloc
	mov	x21, x0
	str	x24, [x0, #8]
	mov	x0, x24
	mov	x1, x22
	bl	_apr_pstrdup
	mov	x1, x0
	str	x0, [x21]
	ldr	w0, [x20, #24]
	bl	_svn_dirent_skip_ancestor
	str	x0, [x21, #48]
	ldr	x8, [x20, #16]
	str	x8, [x21, #24]
	str	x21, [x20, #16]
	cbz	x23, LBB0_9
; %bb.8:
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	stp	x8, x8, [x21, #56]
	b	LBB0_18
LBB0_9:
	ldr	w8, [x20, #8]
	stp	x19, x19, [sp, #80]
	str	x22, [sp, #72]
	str	w8, [sp, #64]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #32]
	sub	x2, x29, #56
	stp	q0, q0, [sp]
	mov	x0, #0
	mov	x1, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_svn_wc__db_base_get_info
	cbz	x0, LBB0_12
; %bb.10:
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _SVN_ERR_WC_PATH_NOT_FOUND@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SVN_ERR_WC_PATH_NOT_FOUND@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.11:
	bl	_svn_error_clear
	mov	x0, #0
	stur	xzr, [x29, #-56]
	b	LBB0_13
LBB0_12:
	ldur	x0, [x29, #-56]
LBB0_13:
	ldr	x1, [x21, #8]
	bl	_svn_diff__source_create
	str	x0, [x21, #40]
Lloh9:
	adrp	x8, _SVN_INVALID_REVNUM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SVN_INVALID_REVNUM@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	ldr	x1, [x21, #8]
	bl	_svn_diff__source_create
	mov	x5, x0
	str	x0, [x21, #32]
	ldr	x9, [x20]
	ldr	x8, [x9]
	add	x0, x21, #16
	add	x1, x21, #64
	add	x2, x21, #56
	ldp	x4, x3, [x21, #40]
	ldr	x10, [x21, #24]
	cbz	x10, LBB0_16
; %bb.14:
	ldr	x7, [x10, #16]
	b	LBB0_17
LBB0_15:
	bl	_svn_error_trace
	b	LBB0_19
LBB0_16:
	mov	x7, #0
LBB0_17:
	ldr	x10, [x21, #8]
	stp	x10, x19, [sp, #8]
	str	x9, [sp]
	mov	x6, #0
	blr	x8
	bl	_SVN_ERR
LBB0_18:
Lloh12:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	x0, [x8]
LBB0_19:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_SVN_ERR_WC_PATH_NOT_FOUND,8,3  ; @SVN_ERR_WC_PATH_NOT_FOUND
	.comm	_SVN_INVALID_REVNUM,8,3         ; @SVN_INVALID_REVNUM
	.no_dead_strip	_ensure_state
.subsections_via_symbols
