	.file	"extr_sqlite.c_svn_sqlite__finish_savepoint.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	svn_sqlite__finish_savepoint
	.type	svn_sqlite__finish_savepoint, @function
svn_sqlite__finish_savepoint:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rsi, rsi
	je	.L2
	mov	edx, DWORD PTR STMT_INTERNAL_ROLLBACK_TO_SAVEPOINT_SVN[rip]
	mov	r13, rsp
	mov	r12, rsi
	mov	rsi, rdi
	mov	rdi, r13
	call	get_internal_statement@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L12
.L3:
	mov	rdi, r12
	call	svn_error_compose_create@PLT
	mov	edx, DWORD PTR STMT_INTERNAL_RELEASE_SAVEPOINT_SVN[rip]
	mov	rsi, rbp
	mov	rdi, r13
	mov	r12, rax
	call	get_internal_statement@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L13
.L4:
	mov	rdi, r12
	call	svn_error_compose_create@PLT
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edx, DWORD PTR STMT_INTERNAL_RELEASE_SAVEPOINT_SVN[rip]
	mov	rsi, rbp
	mov	rdi, rsp
	call	get_internal_statement@PLT
	mov	rdi, rax
	call	SVN_ERR@PLT
	mov	rdi, QWORD PTR [rsp]
	call	svn_sqlite__step_done@PLT
	mov	edi, eax
	call	svn_error_trace@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, QWORD PTR [rsp]
	call	svn_sqlite__step_done@PLT
	mov	edi, eax
	call	svn_error_trace@PLT
	mov	rsi, rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, QWORD PTR [rsp]
	call	svn_sqlite__step_done@PLT
	mov	edi, eax
	call	svn_error_trace@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L3
	mov	rax, QWORD PTR SVN_ERR_SQLITE_BUSY[rip]
	cmp	QWORD PTR [rsi], rax
	jne	.L3
	mov	rdi, rbp
	call	reset_all_statements@PLT
	mov	edi, eax
	call	svn_error_trace@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	r14, rax
	call	svn_sqlite__step_done@PLT
	mov	edi, eax
	call	svn_error_trace@PLT
	mov	rsi, r14
	mov	rdi, rax
	call	svn_error_compose_create@PLT
	mov	rsi, rax
	jmp	.L3
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	svn_sqlite__finish_savepoint, .-svn_sqlite__finish_savepoint
	.comm	SVN_ERR_SQLITE_BUSY,8,8
	.comm	STMT_INTERNAL_ROLLBACK_TO_SAVEPOINT_SVN,4,4
	.comm	STMT_INTERNAL_RELEASE_SAVEPOINT_SVN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_sqlite.c_svn_sqlite__finish_savepoint.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	svn_sqlite__finish_savepoint
	.syntax unified
	.arm
	.fpu softvfp
	.type	svn_sqlite__finish_savepoint, %function
svn_sqlite__finish_savepoint:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L15
	sub	sp, sp, #8
	subs	r5, r1, #0
	mov	r4, r0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	beq	.L2
	ldr	r3, .L15+4
	mov	r1, r4
	mov	r0, sp
	ldr	r2, [r3]
	bl	get_internal_statement
	subs	r1, r0, #0
	beq	.L12
.L3:
	mov	r0, r5
	bl	svn_error_compose_create
	mov	r3, r0
	ldr	r2, .L15+8
	mov	r1, r4
	mov	r0, sp
	ldr	r2, [r2]
	mov	r4, r3
	bl	get_internal_statement
	subs	r1, r0, #0
	beq	.L13
.L4:
	mov	r0, r4
	bl	svn_error_compose_create
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L15+8
	mov	r1, r0
	ldr	r2, [r3]
	mov	r0, sp
	bl	get_internal_statement
	bl	SVN_ERR
	ldr	r0, [sp]
	bl	svn_sqlite__step_done
	bl	svn_error_trace
	b	.L1
.L13:
	ldr	r0, [sp]
	bl	svn_sqlite__step_done
	bl	svn_error_trace
	mov	r1, r0
	b	.L4
.L12:
	ldr	r0, [sp]
	bl	svn_sqlite__step_done
	bl	svn_error_trace
	subs	r1, r0, #0
	beq	.L3
	ldr	r3, .L15+12
	ldr	r2, [r1]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L3
	mov	r0, r4
	bl	reset_all_statements
	bl	svn_error_trace
	mov	r6, r0
	ldr	r0, [sp]
	bl	svn_sqlite__step_done
	bl	svn_error_trace
	mov	r1, r6
	bl	svn_error_compose_create
	mov	r1, r0
	b	.L3
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	STMT_INTERNAL_ROLLBACK_TO_SAVEPOINT_SVN
	.word	STMT_INTERNAL_RELEASE_SAVEPOINT_SVN
	.word	SVN_ERR_SQLITE_BUSY
	.size	svn_sqlite__finish_savepoint, .-svn_sqlite__finish_savepoint
	.comm	SVN_ERR_SQLITE_BUSY,4,4
	.comm	STMT_INTERNAL_ROLLBACK_TO_SAVEPOINT_SVN,4,4
	.comm	STMT_INTERNAL_RELEASE_SAVEPOINT_SVN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
