	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_sqlite__finish_transaction ## -- Begin function svn_sqlite__finish_transaction
	.p2align	4, 0x90
_svn_sqlite__finish_transaction:        ## @svn_sqlite__finish_transaction
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.6:
	movq	%rbx, %rdi
	callq	_rollback_transaction
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_svn_error_trace                ## TAILCALL
LBB0_1:
	movq	_STMT_INTERNAL_COMMIT_TRANSACTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-16(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_get_internal_statement
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	-16(%rbp), %rdi
	callq	_svn_sqlite__step_done
	movl	%eax, %edi
	callq	_svn_error_trace
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_rollback_transaction
	movl	%eax, %edi
	callq	_svn_error_trace
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_STMT_INTERNAL_COMMIT_TRANSACTION,4,2 ## @STMT_INTERNAL_COMMIT_TRANSACTION
	.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_sqlite__finish_transaction ; -- Begin function svn_sqlite__finish_transaction
	.p2align	2
_svn_sqlite__finish_transaction:        ; @svn_sqlite__finish_transaction
	.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, x0
	cbz	x1, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_rollback_transaction
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_svn_error_trace
LBB0_2:
Lloh0:
	adrp	x8, _STMT_INTERNAL_COMMIT_TRANSACTION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STMT_INTERNAL_COMMIT_TRANSACTION@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	x1, x19
	bl	_get_internal_statement
	mov	x1, x0
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	x0, [sp, #8]
	bl	_svn_sqlite__step_done
	bl	_svn_error_trace
	mov	x1, x0
	cbz	x0, LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_rollback_transaction
	bl	_svn_error_trace
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
Lloh3:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_STMT_INTERNAL_COMMIT_TRANSACTION,4,2 ; @STMT_INTERNAL_COMMIT_TRANSACTION
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
