	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function txn_body_get_dirents
_txn_body_get_dirents:                  ## @txn_body_get_dirents
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %r8d
	movl	4(%rsi), %esi
	movl	12(%rdi), %edx
	leaq	-24(%rbp), %rdi
	movq	%rbx, %rcx
	callq	_svn_fs_base__dag_get_node
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-24(%rbp), %rdi
	movl	8(%r14), %esi
	callq	_svn_fs_base__dag_check_mutable
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	(%r14), %rax
	movq	$0, (%rax)
	movq	-24(%rbp), %rdi
	callq	_svn_fs_base__dag_node_kind
	movq	_svn_node_dir@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movq	(%r14), %rdi
	movq	-24(%rbp), %rsi
	movl	(%rbx), %ecx
	movq	%rbx, %rdx
	callq	_svn_fs_base__dag_dir_entries
	jmp	LBB0_4
LBB0_1:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_svn_node_dir,8,3               ## @svn_node_dir
	.no_dead_strip	_txn_body_get_dirents
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function txn_body_get_dirents
_txn_body_get_dirents:                  ; @txn_body_get_dirents
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	w2, [x0, #12]
	ldr	w1, [x1, #4]
	ldr	w4, [x19]
	add	x0, sp, #8
	mov	x3, x19
	bl	_svn_fs_base__dag_get_node
	bl	_SVN_ERR
	ldr	x0, [sp, #8]
	ldr	w1, [x20, #8]
	bl	_svn_fs_base__dag_check_mutable
	cbz	w0, LBB0_3
; %bb.1:
	ldr	x8, [x20]
	str	xzr, [x8]
	ldr	x0, [sp, #8]
	bl	_svn_fs_base__dag_node_kind
Lloh0:
	adrp	x8, _svn_node_dir@GOTPAGE
Lloh1:
	ldr	x8, [x8, _svn_node_dir@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	ldr	x0, [x20]
	ldr	x1, [sp, #8]
	ldr	w3, [x19]
	mov	x2, x19
	bl	_svn_fs_base__dag_dir_entries
	b	LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_svn_node_dir,8,3               ; @svn_node_dir
	.no_dead_strip	_txn_body_get_dirents
.subsections_via_symbols
