	.file	"extr_sqlite.c_svn_sqlite__finish_transaction.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	svn_sqlite__finish_transaction
	.type	svn_sqlite__finish_transaction, @function
svn_sqlite__finish_transaction:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rsi, rsi
	je	.L2
.L8:
	mov	rdi, rbp
	call	rollback_transaction@PLT
	mov	edi, eax
	call	svn_error_trace@PLT
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L10
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edx, DWORD PTR STMT_INTERNAL_COMMIT_TRANSACTION[rip]
	mov	rdi, rsp
	mov	rsi, rbp
	call	get_internal_statement@PLT
	test	rax, rax
	je	.L11
.L4:
	mov	rsi, rax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, QWORD PTR [rsp]
	call	svn_sqlite__step_done@PLT
	mov	edi, eax
	call	svn_error_trace@PLT
	test	rax, rax
	jne	.L4
	mov	rax, QWORD PTR SVN_NO_ERROR[rip]
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	svn_sqlite__finish_transaction, .-svn_sqlite__finish_transaction
	.comm	SVN_NO_ERROR,8,8
	.comm	STMT_INTERNAL_COMMIT_TRANSACTION,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_transaction.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	svn_sqlite__finish_transaction
	.syntax unified
	.arm
	.fpu softvfp
	.type	svn_sqlite__finish_transaction, %function
svn_sqlite__finish_transaction:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L12
	sub	sp, sp, #8
	cmp	r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	beq	.L2
.L8:
	bl	rollback_transaction
	bl	svn_error_trace
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L2:
	ldr	r3, .L12+4
	mov	r1, r0
	mov	r4, r0
	ldr	r2, [r3]
	mov	r0, sp
	bl	get_internal_statement
	subs	r1, r0, #0
	beq	.L11
.L4:
	mov	r0, r4
	b	.L8
.L11:
	ldr	r0, [sp]
	bl	svn_sqlite__step_done
	bl	svn_error_trace
	subs	r1, r0, #0
	bne	.L4
	ldr	r3, .L12+8
	ldr	r0, [r3]
	b	.L1
.L10:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	STMT_INTERNAL_COMMIT_TRANSACTION
	.word	SVN_NO_ERROR
	.size	svn_sqlite__finish_transaction, .-svn_sqlite__finish_transaction
	.comm	SVN_NO_ERROR,4,4
	.comm	STMT_INTERNAL_COMMIT_TRANSACTION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
