	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_x__commit               ## -- Begin function svn_fs_x__commit
	.p2align	4, 0x90
_svn_fs_x__commit:                      ## @svn_fs_x__commit
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rsi, %r14
	movq	(%rsi), %r12
	movq	%rdi, -40(%rbp)
	movq	%rsi, -48(%rbp)
	movq	%rdx, -56(%rbp)
	cmpq	$0, 8(%r12)
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$8, %edx
	callq	_apr_array_make
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_apr_hash_make
	movq	%rbx, %rcx
	jmp	LBB0_3
LBB0_1:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	xorl	%ecx, %ecx
LBB0_3:
	movq	%r15, -80(%rbp)
	movq	%rax, -64(%rbp)
	movq	%rcx, -72(%rbp)
	movq	_commit_body@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	callq	_svn_fs_x__with_write_lock
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, 8(%r12)
	je	LBB0_8
## %bb.4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_svn_fs_x__open_rep_cache
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	(%r12), %edi
	callq	_svn_sqlite__begin_transaction
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-80(%rbp), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_write_reps_to_cache
	movl	(%r12), %edi
	movq	%rax, %rsi
	callq	_svn_sqlite__finish_transaction
	movq	%rax, %rbx
	movq	_SVN_ERR_SQLITE_ROLLBACK_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_svn_error_find_cause
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_svn_fs_x__close_rep_cache
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_svn_error_compose_create
	movq	%rax, %rdi
	callq	_svn_error_trace
	jmp	LBB0_9
LBB0_6:
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_svn_error_trace
	jmp	LBB0_9
LBB0_8:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_9:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_commit_body,4,2                ## @commit_body
	.comm	_SVN_ERR_SQLITE_ROLLBACK_FAILED,4,2 ## @SVN_ERR_SQLITE_ROLLBACK_FAILED
	.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_fs_x__commit               ; -- Begin function svn_fs_x__commit
	.p2align	2
_svn_fs_x__commit:                      ; @svn_fs_x__commit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x3
	mov	x19, x1
	ldr	x22, [x1]
	stp	x1, x0, [sp, #32]
	str	x2, [sp, #24]
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #5
	mov	w2, #8
	bl	_apr_array_make
	mov	x21, x0
	mov	x0, x20
	bl	_apr_hash_make
	mov	x8, x20
	b	LBB0_3
LBB0_2:
	mov	x21, #0
	mov	x0, #0
LBB0_3:
	stp	x8, x0, [sp, #8]
	str	x21, [sp]
Lloh0:
	adrp	x8, _commit_body@GOTPAGE
Lloh1:
	ldr	x8, [x8, _commit_body@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x19
	mov	x3, x20
	bl	_svn_fs_x__with_write_lock
	bl	_SVN_ERR
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_8
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	bl	_svn_fs_x__open_rep_cache
	bl	_SVN_ERR
	ldr	w0, [x22]
	bl	_svn_sqlite__begin_transaction
	bl	_SVN_ERR
	ldr	x1, [sp]
	mov	x0, x19
	mov	x2, x20
	bl	_write_reps_to_cache
	mov	x1, x0
	ldr	w0, [x22]
	bl	_svn_sqlite__finish_transaction
	mov	x20, x0
Lloh3:
	adrp	x8, _SVN_ERR_SQLITE_ROLLBACK_FAILED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_ERR_SQLITE_ROLLBACK_FAILED@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_svn_error_find_cause
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_svn_fs_x__close_rep_cache
	mov	x1, x0
	mov	x0, x20
	bl	_svn_error_compose_create
	bl	_svn_error_trace
	b	LBB0_9
LBB0_6:
	cbz	x20, LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_svn_error_trace
	b	LBB0_9
LBB0_8:
Lloh6:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_commit_body,4,2                ; @commit_body
	.comm	_SVN_ERR_SQLITE_ROLLBACK_FAILED,4,2 ; @SVN_ERR_SQLITE_ROLLBACK_FAILED
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
