	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_sqlite__finish_savepoint   ## -- Begin function svn_sqlite__finish_savepoint
	.p2align	4, 0x90
_svn_sqlite__finish_savepoint:          ## @svn_sqlite__finish_savepoint
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.1:
	movq	%rsi, %rbx
	movq	_STMT_INTERNAL_ROLLBACK_TO_SAVEPOINT_SVN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rdi
	movq	%r14, %rsi
	callq	_get_internal_statement
	testq	%rax, %rax
	je	LBB0_2
LBB0_6:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_svn_error_compose_create
	movq	%rax, %rbx
	movq	_STMT_INTERNAL_RELEASE_SAVEPOINT_SVN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rdi
	movq	%r14, %rsi
	callq	_get_internal_statement
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	-32(%rbp), %rdi
	callq	_svn_sqlite__step_done
	movl	%eax, %edi
	callq	_svn_error_trace
LBB0_8:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_svn_error_compose_create
	jmp	LBB0_10
LBB0_9:
	movq	_STMT_INTERNAL_RELEASE_SAVEPOINT_SVN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rdi
	movq	%r14, %rsi
	callq	_get_internal_statement
	movq	%rax, %rdi
	callq	_SVN_ERR
	movq	-32(%rbp), %rdi
	callq	_svn_sqlite__step_done
	movl	%eax, %edi
	callq	_svn_error_trace
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	-32(%rbp), %rdi
	callq	_svn_sqlite__step_done
	movl	%eax, %edi
	callq	_svn_error_trace
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	(%rax), %rcx
	movq	_SVN_ERR_SQLITE_BUSY@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_reset_all_statements
	movl	%eax, %edi
	callq	_svn_error_trace
	movq	%rax, %r15
	movq	-32(%rbp), %rdi
	callq	_svn_sqlite__step_done
	movl	%eax, %edi
	callq	_svn_error_trace
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_svn_error_compose_create
	jmp	LBB0_6
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_STMT_INTERNAL_ROLLBACK_TO_SAVEPOINT_SVN,4,2 ## @STMT_INTERNAL_ROLLBACK_TO_SAVEPOINT_SVN
	.comm	_SVN_ERR_SQLITE_BUSY,8,3        ## @SVN_ERR_SQLITE_BUSY
	.comm	_STMT_INTERNAL_RELEASE_SAVEPOINT_SVN,4,2 ## @STMT_INTERNAL_RELEASE_SAVEPOINT_SVN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_sqlite__finish_savepoint   ; -- Begin function svn_sqlite__finish_savepoint
	.p2align	2
_svn_sqlite__finish_savepoint:          ; @svn_sqlite__finish_savepoint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	cbz	x1, LBB0_5
; %bb.1:
	mov	x20, x1
Lloh0:
	adrp	x8, _STMT_INTERNAL_ROLLBACK_TO_SAVEPOINT_SVN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STMT_INTERNAL_ROLLBACK_TO_SAVEPOINT_SVN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	x1, x19
	bl	_get_internal_statement
	mov	x1, x0
	cbz	x0, LBB0_7
LBB0_2:
	mov	x0, x20
	bl	_svn_error_compose_create
	mov	x20, x0
Lloh3:
	adrp	x8, _STMT_INTERNAL_RELEASE_SAVEPOINT_SVN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STMT_INTERNAL_RELEASE_SAVEPOINT_SVN@GOTPAGEOFF]
Lloh5:
	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
LBB0_4:
	mov	x0, x20
	bl	_svn_error_compose_create
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _STMT_INTERNAL_RELEASE_SAVEPOINT_SVN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _STMT_INTERNAL_RELEASE_SAVEPOINT_SVN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	x1, x19
	bl	_get_internal_statement
	bl	_SVN_ERR
	ldr	x0, [sp, #8]
	bl	_svn_sqlite__step_done
	bl	_svn_error_trace
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
	ldr	x0, [sp, #8]
	bl	_svn_sqlite__step_done
	bl	_svn_error_trace
	mov	x1, x0
	cbz	x0, LBB0_2
; %bb.8:
	ldr	x8, [x1]
Lloh9:
	adrp	x9, _SVN_ERR_SQLITE_BUSY@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SVN_ERR_SQLITE_BUSY@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.9:
	mov	x0, x19
	bl	_reset_all_statements
	bl	_svn_error_trace
	mov	x21, x0
	ldr	x0, [sp, #8]
	bl	_svn_sqlite__step_done
	bl	_svn_error_trace
	mov	x1, x21
	bl	_svn_error_compose_create
	mov	x1, x0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_STMT_INTERNAL_ROLLBACK_TO_SAVEPOINT_SVN,4,2 ; @STMT_INTERNAL_ROLLBACK_TO_SAVEPOINT_SVN
	.comm	_SVN_ERR_SQLITE_BUSY,8,3        ; @SVN_ERR_SQLITE_BUSY
	.comm	_STMT_INTERNAL_RELEASE_SAVEPOINT_SVN,4,2 ; @STMT_INTERNAL_RELEASE_SAVEPOINT_SVN
.subsections_via_symbols
