	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ensure_dir_opened
_ensure_dir_opened:                     ## @ensure_dir_opened
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpq	$0, 8(%rdi)
	jne	LBB0_10
## %bb.1:
	movq	%rsi, %rcx
	movq	%rdi, %rbx
	movq	48(%rdi), %r14
	movq	(%rdi), %rax
	cmpb	$0, (%rax)
	je	LBB0_2
## %bb.6:
	movq	32(%rbx), %rdi
	movq	%rcx, %rsi
	callq	_ensure_dir_opened
	movq	%rax, %rdi
	callq	_SVN_ERR
	movl	44(%rbx), %edi
	callq	_SVN_IS_VALID_REVNUM
	movq	(%r14), %r10
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	40(%rbx), %edi
	movq	32(%rbx), %rax
	movl	16(%rax), %esi
	movl	44(%rbx), %edx
	movl	20(%rbx), %ecx
	leaq	16(%rbx), %r8
	callq	*8(%r10)
	jmp	LBB0_9
LBB0_2:
	cmpq	$0, 24(%r14)
	je	LBB0_5
## %bb.3:
	movq	16(%r14), %rdx
	movq	8(%rdx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%rdx), %edi
	movl	12(%r14), %esi
	movq	_SVN_RA_SERF__WC_CHECKED_IN_URL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	callq	*%rax
	movq	%rax, %rdi
	callq	_SVN_ERR
LBB0_5:
	movq	(%r14), %rax
	movl	8(%r14), %edi
	movl	20(%rbx), %edx
	movl	44(%rbx), %esi
	leaq	16(%rbx), %rcx
	callq	*16(%rax)
	jmp	LBB0_9
LBB0_8:
	movl	40(%rbx), %edi
	movq	32(%rbx), %rax
	movl	16(%rax), %esi
	movl	28(%rbx), %edx
	movl	20(%rbx), %r8d
	movl	24(%rbx), %ecx
	leaq	16(%rbx), %r9
	callq	*(%r10)
LBB0_9:
	movq	%rax, %rdi
	callq	_SVN_ERR
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
LBB0_10:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_SVN_RA_SERF__WC_CHECKED_IN_URL,4,2 ## @SVN_RA_SERF__WC_CHECKED_IN_URL
	.comm	_TRUE,8,3                       ## @TRUE
	.no_dead_strip	_ensure_dir_opened
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ensure_dir_opened
_ensure_dir_opened:                     ; @ensure_dir_opened
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_10
; %bb.1:
	mov	x3, x1
	mov	x19, x0
	ldr	x20, [x0, #48]
	ldr	x8, [x0]
	ldrb	w8, [x8]
	cbz	w8, LBB0_4
; %bb.2:
	ldr	x0, [x19, #32]
	mov	x1, x3
	bl	_ensure_dir_opened
	bl	_SVN_ERR
	ldr	w0, [x19, #44]
	bl	_SVN_IS_VALID_REVNUM
	ldr	x8, [x20]
	cbz	x0, LBB0_8
; %bb.3:
	ldr	x8, [x8, #8]
	ldr	x9, [x19, #32]
	ldr	w1, [x9, #16]
	ldp	w0, w2, [x19, #40]
	ldr	w3, [x19, #20]
	add	x4, x19, #16
	blr	x8
	b	LBB0_9
LBB0_4:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x9, [x20, #16]
	ldr	x8, [x9, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	w0, [x9]
	ldr	w1, [x20, #12]
Lloh0:
	adrp	x9, _SVN_RA_SERF__WC_CHECKED_IN_URL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SVN_RA_SERF__WC_CHECKED_IN_URL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x9]
	blr	x8
	bl	_SVN_ERR
LBB0_7:
	ldr	x8, [x20]
	ldr	x8, [x8, #16]
	ldr	w0, [x20, #8]
	ldr	w1, [x19, #44]
	ldr	w2, [x19, #20]
	add	x3, x19, #16
	blr	x8
	b	LBB0_9
LBB0_8:
	ldr	x8, [x8]
	ldr	w0, [x19, #40]
	ldr	x9, [x19, #32]
	ldr	w1, [x9, #16]
	ldp	w3, w2, [x19, #24]
	ldr	w4, [x19, #20]
	add	x5, x19, #16
	blr	x8
LBB0_9:
	bl	_SVN_ERR
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19, #8]
LBB0_10:
Lloh6:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_SVN_RA_SERF__WC_CHECKED_IN_URL,4,2 ; @SVN_RA_SERF__WC_CHECKED_IN_URL
	.comm	_TRUE,8,3                       ; @TRUE
	.no_dead_strip	_ensure_dir_opened
.subsections_via_symbols
