	.file	"extr_commit-mgr.c_seaf_commit_manager_traverse_commit_tree_with_limit.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Failed to find commit %s.\n"
	.text
	.p2align 4
	.globl	seaf_commit_manager_traverse_commit_tree_with_limit
	.type	seaf_commit_manager_traverse_commit_tree_with_limit, @function
seaf_commit_manager_traverse_commit_tree_with_limit:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	xor	ecx, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, r9d
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, edx
	sub	rsp, 88
	.cfi_def_cfa_offset 144
	mov	edi, DWORD PTR g_str_hash[rip]
	mov	QWORD PTR 16[rsp], rsi
	mov	esi, DWORD PTR g_str_equal[rip]
	mov	DWORD PTR 28[rsp], edx
	mov	edx, DWORD PTR g_free[rip]
	mov	QWORD PTR 8[rsp], r8
	mov	r12, QWORD PTR 144[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR TRUE[rip]
	mov	QWORD PTR 56[rsp], 0
	mov	QWORD PTR 40[rsp], rax
	call	g_hash_table_new_full@PLT
	mov	rsi, QWORD PTR 16[rsp]
	mov	rcx, r13
	mov	edx, ebx
	mov	rdi, r15
	mov	r14, rax
	call	seaf_commit_manager_get_commit@PLT
	test	rax, rax
	je	.L44
	mov	edx, DWORD PTR compare_commit_by_time[rip]
	mov	rdi, QWORD PTR 56[rsp]
	xor	ecx, ecx
	mov	rsi, rax
	mov	rbx, rax
	call	g_list_insert_sorted_with_data@PLT
	mov	edi, DWORD PTR 16[rbx]
	mov	QWORD PTR 56[rsp], rax
	call	g_strdup@PLT
	mov	rdi, r14
	mov	rsi, rax
	mov	rdx, rax
	call	g_hash_table_replace@PLT
	mov	rdi, QWORD PTR 56[rsp]
	test	rdi, rdi
	je	.L4
	cmp	QWORD PTR 152[rsp], 0
	lea	rax, 56[rsp]
	lea	r13, 64[rsp]
	sete	BYTE PTR 27[rsp]
	xor	ebx, ebx
	mov	QWORD PTR 32[rsp], rax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L10:
	mov	r8, QWORD PTR [r15]
	test	r8, r8
	je	.L11
	mov	r9, QWORD PTR FALSE[rip]
	mov	ecx, DWORD PTR 28[rsp]
	mov	rsi, r14
	mov	rdx, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR 32[rsp]
	call	insert_parent_commit@PLT
	test	rax, rax
	jns	.L11
	cmp	BYTE PTR 27[rsp], 0
	jne	.L42
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, r15
	call	seaf_commit_unref@PLT
	mov	rdi, QWORD PTR 56[rsp]
	test	rdi, rdi
	je	.L4
.L12:
	mov	rax, QWORD PTR FALSE[rip]
	mov	rsi, rdi
	mov	r15, QWORD PTR [rdi]
	mov	QWORD PTR 64[rsp], rax
	call	g_list_delete_link@PLT
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, r15
	mov	QWORD PTR 56[rsp], rax
	mov	rax, QWORD PTR 8[rsp]
	call	rax
	test	eax, eax
	jne	.L5
	cmp	BYTE PTR 27[rsp], 0
	jne	.L42
.L5:
	test	ebp, ebp
	jle	.L7
	add	ebx, 1
	cmp	ebp, ebx
	je	.L45
.L7:
	cmp	QWORD PTR 64[rsp], 0
	jne	.L11
	mov	r8, QWORD PTR 8[r15]
	test	r8, r8
	je	.L10
	mov	r9, QWORD PTR FALSE[rip]
	mov	ecx, DWORD PTR 28[rsp]
	mov	rsi, r14
	mov	rdx, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR 32[rsp]
	call	insert_parent_commit@PLT
	test	rax, rax
	jns	.L10
	cmp	BYTE PTR 27[rsp], 0
	je	.L10
	.p2align 4,,10
	.p2align 3
.L42:
	mov	rdi, r15
	call	seaf_commit_unref@PLT
	mov	rax, QWORD PTR FALSE[rip]
	mov	QWORD PTR 40[rsp], rax
.L4:
	mov	rdi, r14
	call	g_hash_table_destroy@PLT
	mov	rax, QWORD PTR 56[rsp]
	test	rax, rax
	je	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, QWORD PTR [rax]
	call	seaf_commit_unref@PLT
	mov	rdi, QWORD PTR 56[rsp]
	mov	rsi, rdi
	call	g_list_delete_link@PLT
	mov	QWORD PTR 56[rsp], rax
	test	rax, rax
	jne	.L13
.L1:
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L46
	mov	rax, QWORD PTR 40[rsp]
	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
.L45:
	.cfi_restore_state
	mov	rdi, r15
	call	seaf_commit_unref@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L44:
	mov	rsi, r13
	lea	rdi, .LC0[rip]
	call	seaf_warning@PLT
	mov	rax, QWORD PTR FALSE[rip]
	mov	QWORD PTR 40[rsp], rax
	jmp	.L1
.L46:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	seaf_commit_manager_traverse_commit_tree_with_limit, .-seaf_commit_manager_traverse_commit_tree_with_limit
	.comm	g_str_hash,4,4
	.comm	g_str_equal,4,4
	.comm	g_free,4,4
	.comm	compare_commit_by_time,4,4
	.comm	TRUE,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_commit-mgr.c_seaf_commit_manager_traverse_commit_tree_with_limit.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to find commit %s.\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	seaf_commit_manager_traverse_commit_tree_with_limit
	.syntax unified
	.arm
	.fpu softvfp
	.type	seaf_commit_manager_traverse_commit_tree_with_limit, %function
seaf_commit_manager_traverse_commit_tree_with_limit:
	@ args = 16, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, #0
	ldr	lr, .L41
	ldr	ip, .L41+4
	mov	r6, r0
	ldr	ip, [ip]
	ldr	r0, [lr]
	ldr	lr, .L41+8
	sub	sp, sp, #44
	ldr	r8, .L41+12
	ldr	r7, .L41+16
	ldr	lr, [lr]
	str	lr, [sp, #36]
	mov	lr,#0
	str	ip, [sp, #20]
	ldr	ip, [sp, #80]
	mov	r10, r1
	mov	fp, r2
	ldr	r1, [r7]
	ldr	r2, [r8]
	mov	r4, r3
	mov	r3, r5
	str	ip, [sp, #12]
	ldr	r7, [sp, #84]
	ldr	r8, [sp, #88]
	str	r5, [sp, #28]
	bl	g_hash_table_new_full
	mov	r3, r4
	mov	r9, r0
	mov	r2, fp
	mov	r0, r6
	mov	r1, r10
	bl	seaf_commit_manager_get_commit
	subs	r6, r0, #0
	beq	.L38
	ldr	r2, .L41+20
	mov	r1, r6
	ldr	r2, [r2]
	mov	r3, r5
	ldr	r0, [sp, #28]
	bl	g_list_insert_sorted_with_data
	mov	r3, r0
	ldr	r0, [r6, #8]
	str	r3, [sp, #28]
	bl	g_strdup
	mov	r2, r0
	mov	r0, r9
	mov	r1, r2
	bl	g_hash_table_replace
	ldr	r1, [sp, #28]
	cmp	r1, #0
	beq	.L4
	ldr	r3, [sp, #92]
	ldr	r6, .L41+24
	clz	r3, r3
	lsr	r3, r3, #5
	str	r3, [sp, #16]
	b	.L12
.L10:
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L11
	ldr	r2, [r6]
	mov	r1, r9
	str	r3, [sp]
	str	r2, [sp, #4]
	mov	r3, fp
	mov	r2, r10
	add	r0, sp, #28
	bl	insert_parent_commit
	ldr	r3, [sp, #16]
	ands	r3, r3, r0, lsr #31
	bne	.L36
.L11:
	mov	r0, r4
	bl	seaf_commit_unref
	ldr	r1, [sp, #28]
	cmp	r1, #0
	beq	.L4
.L12:
	ldr	r3, [r6]
	mov	r0, r1
	ldr	r4, [r1]
	str	r3, [sp, #32]
	bl	g_list_delete_link
	mov	r3, r0
	mov	r1, r8
	str	r3, [sp, #28]
	mov	r0, r4
	ldr	r3, [sp, #12]
	add	r2, sp, #32
	blx	r3
	ldr	r3, [sp, #92]
	orrs	r3, r0, r3
	beq	.L36
	cmp	r7, #0
	ble	.L7
	add	r5, r5, #1
	cmp	r7, r5
	beq	.L39
.L7:
	ldr	r3, [sp, #32]
	cmp	r3, #0
	bne	.L11
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L10
	ldr	r2, [r6]
	mov	r1, r9
	str	r3, [sp]
	str	r2, [sp, #4]
	mov	r3, fp
	mov	r2, r10
	add	r0, sp, #28
	bl	insert_parent_commit
	ldr	r3, [sp, #16]
	ands	r3, r3, r0, lsr #31
	beq	.L10
.L36:
	mov	r0, r4
	bl	seaf_commit_unref
	ldr	r3, [r6]
	str	r3, [sp, #20]
.L4:
	mov	r0, r9
	bl	g_hash_table_destroy
	ldr	r0, [sp, #28]
	cmp	r0, #0
	beq	.L1
.L13:
	ldr	r0, [r0]
	bl	seaf_commit_unref
	ldr	r1, [sp, #28]
	mov	r0, r1
	bl	g_list_delete_link
	cmp	r0, #0
	str	r0, [sp, #28]
	bne	.L13
.L1:
	ldr	r3, .L41+8
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L40
	ldr	r0, [sp, #20]
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L39:
	mov	r0, r4
	bl	seaf_commit_unref
	b	.L4
.L38:
	mov	r1, r4
	ldr	r0, .L41+28
	bl	seaf_warning
	ldr	r3, .L41+24
	ldr	r3, [r3]
	str	r3, [sp, #20]
	b	.L1
.L40:
	bl	__stack_chk_fail
.L42:
	.align	2
.L41:
	.word	g_str_hash
	.word	TRUE
	.word	.LC1
	.word	g_free
	.word	g_str_equal
	.word	compare_commit_by_time
	.word	FALSE
	.word	.LC0
	.size	seaf_commit_manager_traverse_commit_tree_with_limit, .-seaf_commit_manager_traverse_commit_tree_with_limit
	.comm	g_str_hash,4,4
	.comm	g_str_equal,4,4
	.comm	g_free,4,4
	.comm	compare_commit_by_time,4,4
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
