	.file	"extr_tree.c_svn_fs_fs__commit_txn.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	svn_fs_fs__commit_txn
	.type	svn_fs_fs__commit_txn, @function
svn_fs_fs__commit_txn:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 120
	.cfi_def_cfa_offset 176
	mov	QWORD PTR 40[rsp], rdi
	mov	rdi, rcx
	mov	QWORD PTR 56[rsp], rcx
	mov	rdx, QWORD PTR fs:40
	mov	QWORD PTR 104[rsp], rdx
	xor	edx, edx
	call	svn_stringbuf_create_empty@PLT
	mov	r12, QWORD PTR 8[rbx]
	mov	rdi, r15
	mov	r14, rax
	mov	rcx, QWORD PTR [r12]
	mov	QWORD PTR 48[rsp], rcx
	call	svn_pool_create@PLT
	mov	rbp, rax
	mov	rax, QWORD PTR SVN_INVALID_REVNUM[rip]
	mov	QWORD PTR 0[r13], rax
	mov	rax, QWORD PTR 40[rsp]
	test	rax, rax
	je	.L2
	mov	QWORD PTR [rax], 0
.L2:
	lea	rax, 72[rsp]
	mov	QWORD PTR 8[rsp], rax
	lea	rax, 80[rsp]
	mov	QWORD PTR 16[rsp], rax
	lea	rax, 88[rsp]
	mov	QWORD PTR 24[rsp], rax
	lea	rax, 96[rsp]
	mov	QWORD PTR 32[rsp], rax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 72[rsp]
	mov	rcx, rbp
	mov	rdx, rbx
	mov	rsi, r12
	mov	rdi, r13
	mov	QWORD PTR [rbx], rax
	call	svn_fs_fs__commit@PLT
	mov	r15, rax
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR SVN_ERR_FS_TXN_OUT_OF_DATE[rip]
	cmp	QWORD PTR [r15], rax
	jne	.L4
	mov	rdi, QWORD PTR 32[rsp]
	mov	rdx, rbp
	mov	rsi, r12
	call	svn_fs_fs__youngest_rev@PLT
	mov	rdi, rax
	call	SVN_ERR@PLT
	mov	rax, QWORD PTR 72[rsp]
	cmp	QWORD PTR 96[rsp], rax
	je	.L4
	mov	rdi, r15
	call	svn_error_clear@PLT
.L7:
	mov	rdi, rbp
	call	svn_pool_clear@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	rdx, rbp
	mov	rsi, r12
	call	svn_fs_fs__youngest_rev@PLT
	mov	rdi, rax
	call	SVN_ERR@PLT
	mov	rdx, QWORD PTR 72[rsp]
	mov	rcx, rbp
	mov	rsi, r12
	mov	rdi, QWORD PTR 16[rsp]
	call	svn_fs_fs__revision_root@PLT
	mov	rdi, rax
	call	SVN_ERR@PLT
	mov	rsi, QWORD PTR 80[rsp]
	mov	rdi, QWORD PTR 24[rsp]
	mov	rdx, rbp
	call	get_root@PLT
	mov	rdi, rax
	call	SVN_ERR@PLT
	mov	rsi, QWORD PTR 88[rsp]
	mov	r8, rbp
	mov	rcx, r14
	mov	rdx, rbx
	xor	edi, edi
	call	merge_changes@PLT
	mov	r15, rax
	test	rax, rax
	je	.L3
	mov	rax, QWORD PTR SVN_ERR_FS_CONFLICT[rip]
	cmp	QWORD PTR [r15], rax
	jne	.L4
	cmp	QWORD PTR 40[rsp], 0
	je	.L4
	mov	rax, QWORD PTR [r14]
	mov	rbx, QWORD PTR 40[rsp]
	mov	QWORD PTR [rbx], rax
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, r12
	call	svn_fs_fs__reset_txn_caches@PLT
	mov	rdi, rbp
	call	svn_pool_destroy@PLT
	mov	rdi, r15
	call	SVN_ERR@PLT
	mov	rax, QWORD PTR 48[rsp]
	cmp	QWORD PTR [rax], 0
	jne	.L24
.L8:
	mov	rbx, QWORD PTR 104[rsp]
	xor	rbx, QWORD PTR fs:40
	mov	rax, QWORD PTR SVN_NO_ERROR[rip]
	jne	.L25
	add	rsp, 120
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	sub	rsp, 8
	.cfi_def_cfa_offset 184
	xor	edx, edx
	xor	r9d, r9d
	xor	r8d, r8d
	push	QWORD PTR 64[rsp]
	.cfi_def_cfa_offset 192
	xor	ecx, ecx
	xor	esi, esi
	mov	rdi, r12
	call	svn_fs_fs__pack@PLT
	mov	rdi, rax
	call	SVN_ERR@PLT
	pop	rax
	.cfi_def_cfa_offset 184
	pop	rdx
	.cfi_def_cfa_offset 176
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L5:
	mov	r15, QWORD PTR SVN_NO_ERROR[rip]
	jmp	.L4
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	svn_fs_fs__commit_txn, .-svn_fs_fs__commit_txn
	.comm	SVN_NO_ERROR,8,8
	.comm	SVN_INVALID_REVNUM,8,8
	.comm	SVN_ERR_FS_TXN_OUT_OF_DATE,8,8
	.comm	SVN_ERR_FS_CONFLICT,8,8
	.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_tree.c_svn_fs_fs__commit_txn.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	svn_fs_fs__commit_txn
	.syntax unified
	.arm
	.fpu softvfp
	.type	svn_fs_fs__commit_txn, %function
svn_fs_fs__commit_txn:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	fp, r0
	mov	r6, r2
	sub	sp, sp, #52
	mov	r10, r3
	mov	r0, r3
	ldr	r3, .L27
	str	fp, [sp, #20]
	mov	r7, r1
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bl	svn_stringbuf_create_empty
	ldr	r5, [r6, #4]
	mov	r8, r0
	ldr	r3, [r5]
	mov	r0, r10
	str	r3, [sp, #16]
	bl	svn_pool_create
	ldr	r3, .L27+4
	cmp	fp, #0
	ldr	r3, [r3]
	mov	r4, r0
	str	r3, [r7]
	movne	r3, #0
	ldr	r9, .L27+8
	strne	r3, [fp]
	b	.L7
.L3:
	ldr	r2, [sp, #28]
	mov	r3, r4
	str	r2, [r6]
	mov	r1, r5
	mov	r2, r6
	mov	r0, r7
	bl	svn_fs_fs__commit
	subs	fp, r0, #0
	beq	.L5
	ldr	r2, [fp]
	ldr	r3, [r9]
	cmp	r2, r3
	bne	.L23
	mov	r2, r4
	mov	r1, r5
	add	r0, sp, #40
	bl	svn_fs_fs__youngest_rev
	bl	SVN_ERR
	ldr	r2, [sp, #40]
	ldr	r3, [sp, #28]
	cmp	r2, r3
	beq	.L23
	mov	r0, fp
	bl	svn_error_clear
.L7:
	mov	r0, r4
	bl	svn_pool_clear
	mov	r2, r4
	mov	r1, r5
	add	r0, sp, #28
	bl	svn_fs_fs__youngest_rev
	bl	SVN_ERR
	mov	r3, r4
	mov	r1, r5
	ldr	r2, [sp, #28]
	add	r0, sp, #32
	bl	svn_fs_fs__revision_root
	bl	SVN_ERR
	mov	r2, r4
	ldr	r1, [sp, #32]
	add	r0, sp, #36
	bl	get_root
	bl	SVN_ERR
	mov	r3, r8
	mov	r2, r6
	mov	r0, #0
	ldr	r1, [sp, #36]
	str	r4, [sp]
	bl	merge_changes
	subs	fp, r0, #0
	beq	.L3
	ldr	r1, .L27+12
	ldr	r2, [fp]
	ldr	r1, [r1]
	ldr	r3, [sp, #20]
	sub	r2, r2, r1
	clz	r2, r2
	cmp	r3, #0
	lsr	r2, r2, #5
	moveq	r2, #0
	cmp	r2, #0
	bne	.L19
.L23:
	ldr	r6, .L27+16
.L4:
	mov	r0, r5
	bl	svn_fs_fs__reset_txn_caches
	mov	r0, r4
	bl	svn_pool_destroy
	mov	r0, fp
	bl	SVN_ERR
	ldr	r3, [sp, #16]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L25
.L8:
	ldr	r3, .L27
	ldr	r0, [r6]
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L26
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L25:
	mov	r3, #0
	mov	r0, r5
	mov	r2, r3
	mov	r1, r3
	str	r3, [sp, #4]
	str	r3, [sp]
	str	r10, [sp, #8]
	bl	svn_fs_fs__pack
	bl	SVN_ERR
	b	.L8
.L19:
	ldr	r2, [r8]
	ldr	r3, [sp, #20]
	ldr	r6, .L27+16
	str	r2, [r3]
	b	.L4
.L5:
	ldr	r6, .L27+16
	ldr	fp, [r6]
	b	.L4
.L26:
	bl	__stack_chk_fail
.L28:
	.align	2
.L27:
	.word	.LC0
	.word	SVN_INVALID_REVNUM
	.word	SVN_ERR_FS_TXN_OUT_OF_DATE
	.word	SVN_ERR_FS_CONFLICT
	.word	SVN_NO_ERROR
	.size	svn_fs_fs__commit_txn, .-svn_fs_fs__commit_txn
	.comm	SVN_NO_ERROR,4,4
	.comm	SVN_INVALID_REVNUM,4,4
	.comm	SVN_ERR_FS_TXN_OUT_OF_DATE,4,4
	.comm	SVN_ERR_FS_CONFLICT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
