	.file	"extr_commit-mgr.c_traverse_commit_tree_common.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Failed to find commit %s.\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"[comit-mgr] CommitTraverseFunc failed\n"
	.align 8
.LC2:
	.string	"[comit-mgr] insert parent commit failed\n"
	.align 8
.LC3:
	.string	"[comit-mgr]insert second parent commit failed\n"
	.text
	.p2align 4
	.type	traverse_commit_tree_common, @function
traverse_commit_tree_common:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, edx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r9
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	QWORD PTR 8[rsp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR TRUE[rip]
	mov	QWORD PTR 40[rsp], 0
	mov	QWORD PTR 24[rsp], rax
	call	seaf_commit_manager_get_commit@PLT
	test	rax, rax
	je	.L31
	mov	edx, DWORD PTR g_free[rip]
	mov	esi, DWORD PTR g_str_equal[rip]
	xor	ecx, ecx
	mov	rbp, rax
	mov	edi, DWORD PTR g_str_hash[rip]
	call	g_hash_table_new_full@PLT
	mov	edx, DWORD PTR compare_commit_by_time[rip]
	xor	ecx, ecx
	mov	rsi, rbp
	mov	rdi, QWORD PTR 40[rsp]
	mov	r13, rax
	call	g_list_insert_sorted_with_data@PLT
	mov	edi, DWORD PTR 16[rbp]
	mov	QWORD PTR 40[rsp], rax
	call	g_strdup@PLT
	mov	rdi, r13
	mov	rsi, rax
	mov	rdx, rax
	call	g_hash_table_replace@PLT
	mov	rdi, QWORD PTR 40[rsp]
	test	rdi, rdi
	je	.L4
	lea	rax, 40[rsp]
	lea	r12, 48[rsp]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L5:
	cmp	QWORD PTR 48[rsp], 0
	jne	.L10
	mov	r8, QWORD PTR 8[rbp]
	test	r8, r8
	jne	.L32
.L9:
	mov	r8, QWORD PTR 0[rbp]
	test	r8, r8
	je	.L10
	mov	rdi, QWORD PTR 16[rsp]
	mov	ecx, r15d
	mov	rdx, r14
	mov	rsi, r13
	mov	r9, QWORD PTR 136[rsp]
	call	insert_parent_commit@PLT
	test	rax, rax
	js	.L33
.L10:
	mov	rdi, rbp
	call	seaf_commit_unref@PLT
	mov	rdi, QWORD PTR 40[rsp]
	test	rdi, rdi
	je	.L4
.L11:
	mov	rax, QWORD PTR FALSE[rip]
	mov	rsi, rdi
	mov	rbp, QWORD PTR [rdi]
	mov	QWORD PTR 48[rsp], rax
	call	g_list_delete_link@PLT
	mov	rdx, r12
	mov	rsi, rbx
	mov	rdi, rbp
	mov	QWORD PTR 40[rsp], rax
	mov	rax, QWORD PTR 8[rsp]
	call	rax
	test	eax, eax
	jne	.L5
	lea	rdi, .LC1[rip]
	call	seaf_warning@PLT
	cmp	QWORD PTR 128[rsp], 0
	jne	.L5
.L29:
	mov	rdi, rbp
	call	seaf_commit_unref@PLT
	mov	rax, QWORD PTR FALSE[rip]
	mov	QWORD PTR 24[rsp], rax
.L4:
	mov	rdi, r13
	call	g_hash_table_destroy@PLT
	mov	rax, QWORD PTR 40[rsp]
	test	rax, rax
	je	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, QWORD PTR [rax]
	call	seaf_commit_unref@PLT
	mov	rdi, QWORD PTR 40[rsp]
	mov	rsi, rdi
	call	g_list_delete_link@PLT
	mov	QWORD PTR 40[rsp], rax
	test	rax, rax
	jne	.L12
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L34
	mov	rax, QWORD PTR 24[rsp]
	add	rsp, 72
	.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
.L32:
	.cfi_restore_state
	mov	rdi, QWORD PTR 16[rsp]
	mov	ecx, r15d
	mov	rdx, r14
	mov	rsi, r13
	mov	r9, QWORD PTR 136[rsp]
	call	insert_parent_commit@PLT
	test	rax, rax
	jns	.L9
	xor	eax, eax
	lea	rdi, .LC2[rip]
	call	seaf_warning@PLT
	cmp	QWORD PTR 128[rsp], 0
	jne	.L9
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L33:
	xor	eax, eax
	lea	rdi, .LC3[rip]
	call	seaf_warning@PLT
	cmp	QWORD PTR 128[rsp], 0
	jne	.L10
	jmp	.L29
.L31:
	mov	rsi, r12
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	seaf_warning@PLT
	mov	rax, QWORD PTR FALSE[rip]
	mov	QWORD PTR 24[rsp], rax
	jmp	.L1
.L34:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	traverse_commit_tree_common, .-traverse_commit_tree_common
	.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_traverse_commit_tree_common.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to find commit %s.\012\000"
	.align	2
.LC1:
	.ascii	"[comit-mgr] CommitTraverseFunc failed\012\000"
	.align	2
.LC2:
	.ascii	"[comit-mgr] insert parent commit failed\012\000"
	.align	2
.LC3:
	.ascii	"[comit-mgr]insert second parent commit failed\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	traverse_commit_tree_common, %function
traverse_commit_tree_common:
	@ args = 16, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, #0
	ldr	ip, .L35
	ldr	lr, .L35+4
	ldr	ip, [ip]
	sub	sp, sp, #36
	ldr	lr, [lr]
	str	lr, [sp, #28]
	mov	lr,#0
	mov	r9, r1
	mov	r10, r2
	mov	r8, r3
	ldr	r6, [sp, #72]
	ldr	r7, [sp, #76]
	str	r5, [sp, #20]
	str	ip, [sp, #12]
	bl	seaf_commit_manager_get_commit
	subs	r4, r0, #0
	beq	.L31
	ldr	r3, .L35+8
	ldr	r2, .L35+12
	ldr	r1, .L35+16
	ldr	r2, [r2]
	ldr	r1, [r1]
	ldr	r0, [r3]
	mov	r3, r5
	bl	g_hash_table_new_full
	ldr	r2, .L35+20
	mov	r1, r4
	ldr	r2, [r2]
	mov	r8, r0
	mov	r3, r5
	ldr	r0, [sp, #20]
	bl	g_list_insert_sorted_with_data
	mov	r3, r0
	ldr	r0, [r4, #8]
	str	r3, [sp, #20]
	bl	g_strdup
	mov	r2, r0
	mov	r0, r8
	mov	r1, r2
	bl	g_hash_table_replace
	ldr	r1, [sp, #20]
	cmp	r1, #0
	beq	.L4
	ldr	r5, .L35+24
	ldr	fp, .L35+28
	b	.L11
.L5:
	ldr	r3, [sp, #24]
	cmp	r3, #0
	bne	.L10
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L32
.L9:
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L10
	ldr	r2, [sp, #84]
	str	r3, [sp]
	str	r2, [sp, #4]
	mov	r3, r10
	mov	r2, r9
	mov	r1, r8
	add	r0, sp, #20
	bl	insert_parent_commit
	cmp	r0, #0
	blt	.L33
.L10:
	mov	r0, r4
	bl	seaf_commit_unref
	ldr	r1, [sp, #20]
	cmp	r1, #0
	beq	.L4
.L11:
	ldr	r3, [r5]
	mov	r0, r1
	ldr	r4, [r1]
	str	r3, [sp, #24]
	bl	g_list_delete_link
	mov	r3, r0
	mov	r1, r7
	mov	r0, r4
	add	r2, sp, #24
	str	r3, [sp, #20]
	blx	r6
	cmp	r0, #0
	bne	.L5
	mov	r0, fp
	bl	seaf_warning
	ldr	r3, [sp, #80]
	cmp	r3, #0
	bne	.L5
.L29:
	mov	r0, r4
	bl	seaf_commit_unref
	ldr	r3, [r5]
	str	r3, [sp, #12]
.L4:
	mov	r0, r8
	bl	g_hash_table_destroy
	ldr	r0, [sp, #20]
	cmp	r0, #0
	beq	.L1
.L12:
	ldr	r0, [r0]
	bl	seaf_commit_unref
	ldr	r1, [sp, #20]
	mov	r0, r1
	bl	g_list_delete_link
	cmp	r0, #0
	str	r0, [sp, #20]
	bne	.L12
.L1:
	ldr	r3, .L35+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L34
	ldr	r0, [sp, #12]
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L32:
	ldr	r2, [sp, #84]
	str	r3, [sp]
	str	r2, [sp, #4]
	mov	r3, r10
	mov	r2, r9
	mov	r1, r8
	add	r0, sp, #20
	bl	insert_parent_commit
	cmp	r0, #0
	bge	.L9
	ldr	r0, .L35+32
	bl	seaf_warning
	ldr	r3, [sp, #80]
	cmp	r3, #0
	bne	.L9
	b	.L29
.L33:
	ldr	r0, .L35+36
	bl	seaf_warning
	ldr	r3, [sp, #80]
	cmp	r3, #0
	bne	.L10
	b	.L29
.L31:
	mov	r1, r8
	ldr	r0, .L35+40
	bl	seaf_warning
	ldr	r3, .L35+24
	ldr	r3, [r3]
	str	r3, [sp, #12]
	b	.L1
.L34:
	bl	__stack_chk_fail
.L36:
	.align	2
.L35:
	.word	TRUE
	.word	.LC4
	.word	g_str_hash
	.word	g_free
	.word	g_str_equal
	.word	compare_commit_by_time
	.word	FALSE
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC0
	.size	traverse_commit_tree_common, .-traverse_commit_tree_common
	.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
