	.file	"extr_log.c_get_history.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	get_history, @function
get_history:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	r10d, r10d
	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
	mov	r12d, r9d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 88
	.cfi_def_cfa_offset 144
	mov	rsi, QWORD PTR 16[rbx]
	mov	QWORD PTR 8[rsp], r8
	mov	rdi, QWORD PTR 144[rsp]
	mov	r15, QWORD PTR 152[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	test	edx, edx
	mov	QWORD PTR 48[rsp], 0
	sete	r10b
	test	rsi, rsi
	je	.L2
	mov	r14, QWORD PTR [rbx]
	mov	edx, r10d
	lea	rdi, 16[rbx]
	mov	r8, r15
	mov	rcx, r14
	call	svn_fs_history_prev2@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rdx, QWORD PTR 16[rbx]
	mov	QWORD PTR 56[rsp], rdx
.L3:
	test	rdx, rdx
	je	.L27
	lea	rsi, 40[rbx]
	mov	rcx, r14
	lea	rdi, 64[rsp]
	call	svn_fs_history_location@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rdi, QWORD PTR 32[rbx]
	mov	rsi, QWORD PTR 64[rsp]
	call	svn_stringbuf_set@PLT
	mov	edx, DWORD PTR 40[rbx]
	cmp	edx, r12d
	jl	.L27
	test	rbp, rbp
	je	.L10
	mov	rcx, r15
	mov	rsi, r13
	lea	rdi, 48[rsp]
	call	svn_fs_revision_root@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rax, QWORD PTR 32[rbx]
	mov	rcx, QWORD PTR 8[rsp]
	mov	r8, r15
	mov	rsi, QWORD PTR 48[rsp]
	lea	rdi, 44[rsp]
	mov	edx, DWORD PTR [rax]
	call	rbp
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	eax, DWORD PTR 44[rsp]
	test	eax, eax
	jne	.L10
	mov	rax, QWORD PTR TRUE[rip]
	mov	QWORD PTR 24[rbx], rax
.L10:
	cmp	QWORD PTR 16[rbx], 0
	je	.L29
	mov	rax, QWORD PTR [rbx]
	mov	rbp, QWORD PTR 8[rbx]
	mov	QWORD PTR 8[rbx], rax
	mov	rdi, rbp
	call	svn_pool_clear@PLT
	mov	QWORD PTR [rbx], rbp
.L13:
	mov	rax, QWORD PTR SVN_NO_ERROR[rip]
.L1:
	mov	rcx, QWORD PTR 72[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L30
	add	rsp, 88
	.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
.L27:
	.cfi_restore_state
	mov	rdi, r14
	call	svn_pool_destroy@PLT
	mov	rdi, QWORD PTR 8[rbx]
	test	rdi, rdi
	je	.L9
	call	svn_pool_destroy@PLT
.L9:
	mov	rax, QWORD PTR TRUE[rip]
	mov	QWORD PTR 24[rbx], rax
	mov	rax, QWORD PTR SVN_NO_ERROR[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	DWORD PTR 28[rsp], r10d
	call	svn_pool_create@PLT
	mov	edx, DWORD PTR 40[rbx]
	mov	rsi, r13
	lea	rdi, 48[rsp]
	mov	rcx, rax
	mov	r14, rax
	call	svn_fs_revision_root@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rax, QWORD PTR 32[rbx]
	mov	r8, r15
	mov	rcx, r14
	lea	r11, 56[rsp]
	mov	rsi, QWORD PTR 48[rsp]
	mov	edx, DWORD PTR [rax]
	mov	rdi, r11
	mov	QWORD PTR 16[rsp], r11
	call	svn_fs_node_history2@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	r10d, DWORD PTR 28[rsp]
	mov	r8, r15
	mov	rcx, r14
	mov	r11, QWORD PTR 16[rsp]
	mov	rsi, QWORD PTR 56[rsp]
	mov	edx, r10d
	mov	rdi, r11
	call	svn_fs_history_prev2@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	cmp	QWORD PTR 48[rbx], 0
	mov	r11, QWORD PTR 16[rsp]
	mov	r10d, DWORD PTR 28[rsp]
	je	.L4
	mov	rax, QWORD PTR FALSE[rip]
	mov	rdx, QWORD PTR 56[rsp]
	mov	QWORD PTR 48[rbx], rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L29:
	mov	rdi, r14
	call	svn_pool_destroy@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rsi, QWORD PTR 56[rsp]
	mov	edx, r10d
	mov	rdi, r11
	mov	r8, r15
	mov	rcx, r14
	call	svn_fs_history_prev2@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rdx, QWORD PTR 56[rsp]
	jmp	.L3
.L30:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	get_history, .-get_history
	.comm	TRUE,8,8
	.comm	SVN_NO_ERROR,8,8
	.comm	FALSE,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_log.c_get_history.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_history, %function
get_history:
	@ args = 16, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	clz	r5, r2
	mov	r2, #0
	ldr	ip, [r0, #8]
	mov	r7, r3
	ldr	r3, .L31
	sub	sp, sp, #32
	cmp	ip, r2
	mov	r4, r0
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	mov	r8, r1
	ldr	r10, [sp, #64]
	ldr	r0, [sp, #72]
	ldr	r9, [sp, #76]
	lsr	r5, r5, #5
	str	r2, [sp, #12]
	beq	.L2
	mov	r0, r4
	ldr	r6, [r0], #8
	mov	r2, r5
	mov	r1, ip
	mov	r3, r6
	str	r9, [sp]
	bl	svn_fs_history_prev2
	bl	SVN_ERR
	ldr	r2, [r4, #8]
	str	r2, [sp, #16]
.L3:
	cmp	r2, #0
	beq	.L27
	mov	r3, r6
	add	r1, r4, #20
	add	r0, sp, #20
	bl	svn_fs_history_location
	bl	SVN_ERR
	ldr	r1, [sp, #20]
	ldr	r0, [r4, #16]
	bl	svn_stringbuf_set
	ldr	r2, [r4, #20]
	ldr	r3, [sp, #68]
	cmp	r2, r3
	blt	.L27
	cmp	r7, #0
	beq	.L10
	mov	r1, r8
	mov	r3, r9
	add	r0, sp, #12
	bl	svn_fs_revision_root
	bl	SVN_ERR
	ldr	r2, [r4, #16]
	mov	r3, r10
	ldr	r2, [r2]
	ldr	r1, [sp, #12]
	str	r9, [sp]
	add	r0, sp, #24
	blx	r7
	bl	SVN_ERR
	ldr	r3, [sp, #24]
	cmp	r3, #0
	ldreq	r3, .L31+4
	ldreq	r3, [r3]
	streq	r3, [r4, #12]
.L10:
	ldr	r3, [r4, #8]
	cmp	r3, #0
	beq	.L29
	ldm	r4, {r3, r5}
	mov	r0, r5
	str	r3, [r4, #4]
	bl	svn_pool_clear
	str	r5, [r4]
.L13:
	ldr	r3, .L31+8
	ldr	r0, [r3]
.L1:
	ldr	r3, .L31
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L30
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L27:
	mov	r0, r6
	bl	svn_pool_destroy
	ldr	r0, [r4, #4]
	cmp	r0, #0
	beq	.L9
	bl	svn_pool_destroy
.L9:
	ldr	r3, .L31+4
	ldr	r2, .L31+8
	ldr	r3, [r3]
	ldr	r0, [r2]
	str	r3, [r4, #12]
	b	.L1
.L2:
	bl	svn_pool_create
	mov	r6, r0
	mov	r3, r0
	mov	r1, r8
	ldr	r2, [r4, #20]
	add	r0, sp, #12
	bl	svn_fs_revision_root
	bl	SVN_ERR
	ldr	r3, [r4, #16]
	ldr	r1, [sp, #12]
	ldr	r2, [r3]
	add	r0, sp, #16
	mov	r3, r6
	str	r9, [sp]
	bl	svn_fs_node_history2
	bl	SVN_ERR
	mov	r3, r6
	mov	r2, r5
	ldr	r1, [sp, #16]
	str	r9, [sp]
	add	r0, sp, #16
	bl	svn_fs_history_prev2
	bl	SVN_ERR
	ldr	r3, [r4, #24]
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L31+12
	ldr	r2, [sp, #16]
	ldr	r3, [r3]
	str	r3, [r4, #24]
	b	.L3
.L29:
	mov	r0, r6
	bl	svn_pool_destroy
	b	.L13
.L4:
	mov	r2, r5
	mov	r3, r6
	ldr	r1, [sp, #16]
	str	r9, [sp]
	add	r0, sp, #16
	bl	svn_fs_history_prev2
	bl	SVN_ERR
	ldr	r2, [sp, #16]
	b	.L3
.L30:
	bl	__stack_chk_fail
.L32:
	.align	2
.L31:
	.word	.LC0
	.word	TRUE
	.word	SVN_NO_ERROR
	.word	FALSE
	.size	get_history, .-get_history
	.comm	TRUE,4,4
	.comm	SVN_NO_ERROR,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
