	.file	"extr_merge-recursive.c_handle_file_collision.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Refusing to lose dirty file at %s"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"merged"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"Refusing to lose untracked file at %s, even though it's in the way."
	.text
	.p2align 4
	.type	handle_file_collision, @function
handle_file_collision:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r11, 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, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r8
	sub	rsp, 120
	.cfi_def_cfa_offset 176
	mov	QWORD PTR 8[rsp], r9
	mov	r14, QWORD PTR 176[rsp]
	mov	r15, QWORD PTR 184[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 104[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR [rdi], r8
	jne	.L32
	mov	rax, QWORD PTR 8[rdi]
	mov	edi, DWORD PTR [rax]
	test	edi, edi
	je	.L4
	mov	rax, rdx
	or	rax, rcx
	je	.L6
	mov	QWORD PTR 8[rsp], rcx
	test	rdx, rdx
	je	.L7
	mov	rcx, rdx
	mov	esi, 1
	mov	rdx, r14
	mov	rdi, r12
	call	update_file@PLT
	mov	r11, QWORD PTR 8[rsp]
	test	rax, rax
	jne	.L9
	test	r11, r11
	je	.L33
	mov	rcx, r11
	mov	rdx, r15
	mov	esi, 1
	mov	rdi, r12
	call	update_file@PLT
	test	rax, rax
	jne	.L9
	xor	ecx, ecx
	mov	rdx, rbp
	mov	esi, 1
	mov	rdi, r12
	call	remove_file@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	test	rdx, rdx
	je	.L34
	mov	rsi, r13
	mov	rdi, r12
	mov	QWORD PTR 16[rsp], r11
	call	would_lose_untracked@PLT
	xor	ecx, ecx
	mov	rdx, r13
	mov	esi, 1
	test	rax, rax
	mov	rdi, r12
	setne	cl
	call	remove_file@PLT
	mov	r11, QWORD PTR 16[rsp]
	test	r11, r11
	je	.L6
	mov	rax, QWORD PTR 8[r12]
	mov	ecx, 1
	mov	esi, DWORD PTR [rax]
	test	esi, esi
	je	.L20
.L13:
	mov	rdx, r11
	mov	esi, 1
	mov	rdi, r12
	call	remove_file@PLT
.L6:
	mov	rdi, r12
	mov	rsi, rbp
	call	was_dirty@PLT
	lea	rdi, .LC0[rip]
	test	rax, rax
	jne	.L30
	mov	rsi, rbp
	mov	rdi, r12
	call	would_lose_untracked@PLT
	test	rax, rax
	je	.L16
	lea	rdi, .LC2[rip]
.L30:
	call	_@PLT
	mov	rcx, rbp
	mov	esi, 1
	mov	rdi, r12
	mov	edx, eax
	call	output@PLT
	lea	rdx, .LC1[rip]
	mov	rsi, rbp
	mov	rdi, r12
	call	unique_path@PLT
	mov	r13, rax
	mov	r10, rax
.L15:
	lea	r11, 32[rsp]
	lea	rdi, 48[rsp]
	mov	QWORD PTR 24[rsp], r10
	lea	rsi, null_oid[rip]
	mov	QWORD PTR 32[rsp], rbp
	mov	QWORD PTR 16[rsp], r11
	call	oidcpy@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 184
	mov	r9, rbx
	mov	r8, rbp
	mov	QWORD PTR 48[rsp], 0
	lea	rax, 72[rsp]
	mov	rcx, r15
	mov	rdx, r14
	push	rax
	.cfi_def_cfa_offset 192
	mov	rax, QWORD PTR 8[r12]
	mov	rdi, r12
	mov	eax, DWORD PTR [rax]
	add	eax, eax
	push	rax
	.cfi_def_cfa_offset 200
	push	QWORD PTR 32[rsp]
	.cfi_def_cfa_offset 208
	mov	r11, QWORD PTR 48[rsp]
	mov	rsi, r11
	call	merge_mode_and_contents@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 176
	test	rax, rax
	jne	.L9
	mov	r10, QWORD PTR 24[rsp]
	xor	esi, esi
	test	r13, r13
	lea	rdx, 72[rsp]
	sete	sil
	mov	rdi, r12
	and	esi, DWORD PTR 64[rsp]
	mov	rcx, r10
	mov	DWORD PTR 64[rsp], esi
	call	update_file@PLT
	test	rax, rax
	jne	.L9
	mov	edx, DWORD PTR 64[rsp]
	test	edx, edx
	jne	.L18
	mov	rax, QWORD PTR 8[r12]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L35
.L18:
	mov	rdi, r13
	call	free@PLT
	mov	eax, DWORD PTR 64[rsp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L32:
	push	r14
	.cfi_def_cfa_offset 184
	mov	r9, r8
	mov	rcx, rdx
	mov	rdx, r11
	push	r15
	.cfi_def_cfa_offset 192
	mov	r8, QWORD PTR 24[rsp]
	call	handle_file_collision
	pop	r8
	.cfi_def_cfa_offset 184
	pop	r9
	.cfi_def_cfa_offset 176
.L1:
	mov	rbx, QWORD PTR 104[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L36
	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
.L16:
	.cfi_restore_state
	xor	ecx, ecx
	mov	rdx, rbp
	xor	esi, esi
	mov	rdi, r12
	call	remove_file@PLT
	xor	r13d, r13d
	mov	r10, rbp
	jmp	.L15
.L34:
	test	rcx, rcx
	je	.L6
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rsi, r11
	mov	rdi, r12
	mov	QWORD PTR 16[rsp], r11
	call	would_lose_untracked@PLT
	xor	ecx, ecx
	mov	r11, QWORD PTR 16[rsp]
	test	rax, rax
	setne	cl
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L35:
	xor	edx, edx
	mov	r8, r15
	mov	rcx, r14
	mov	rsi, rbp
	mov	rdi, r12
	call	update_stages@PLT
	test	rax, rax
	je	.L18
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rcx, rsi
	mov	rdx, r14
	mov	esi, 1
	mov	rdi, r12
	call	update_file@PLT
	mov	r11, QWORD PTR 8[rsp]
	test	rax, rax
	jne	.L9
	mov	rcx, r11
	mov	rdx, r15
	mov	esi, 1
	mov	rdi, r12
	call	update_file@PLT
	test	rax, rax
	je	.L1
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L33:
	mov	rcx, rbp
	mov	rdx, r15
	mov	esi, 1
	mov	rdi, r12
	call	update_file@PLT
	test	rax, rax
	setne	al
	movzx	eax, al
	neg	eax
	jmp	.L1
.L36:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	handle_file_collision, .-handle_file_collision
	.comm	null_oid,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_merge-recursive.c_handle_file_collision.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Refusing to lose dirty file at %s\000"
	.align	2
.LC1:
	.ascii	"merged\000"
	.align	2
.LC2:
	.ascii	"Refusing to lose untracked file at %s, even though "
	.ascii	"it's in the way.\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_file_collision, %function
handle_file_collision:
	@ args = 16, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #60
	ldr	ip, [r0]
	ldr	r8, [sp, #96]
	mov	r7, r3
	ldr	r3, .L38
	cmp	ip, r8
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	ldr	fp, [sp, #100]
	ldr	r9, [sp, #104]
	ldr	r10, [sp, #108]
	bne	.L32
	ldr	r3, [r0, #4]
	mov	r4, r0
	ldr	r3, [r3]
	mov	r5, r1
	cmp	r3, #0
	beq	.L4
	orrs	r3, r2, r7
	bne	.L33
.L6:
	mov	r1, r5
	mov	r0, r4
	bl	was_dirty
	cmp	r0, #0
	beq	.L14
	ldr	r0, .L38+4
.L30:
	bl	_
	mov	r3, r5
	mov	r2, r0
	mov	r1, #1
	mov	r0, r4
	bl	output
	mov	r1, r5
	mov	r0, r4
	ldr	r2, .L38+8
	bl	unique_path
	mov	r6, r0
	mov	r7, r0
.L15:
	ldr	r1, .L38+12
	add	r0, sp, #32
	str	r5, [sp, #24]
	bl	oidcpy
	mov	ip, #0
	ldr	r3, [r4, #4]
	add	r2, sp, #36
	str	r2, [sp, #16]
	ldr	r3, [r3]
	mov	r2, r9
	lsl	r3, r3, #1
	str	r3, [sp, #12]
	mov	r0, r4
	mov	r3, r10
	stm	sp, {r5, r8, fp}
	add	r1, sp, #24
	str	ip, [sp, #28]
	bl	merge_mode_and_contents
	cmp	r0, #0
	bne	.L9
	ldr	r1, [sp, #36]
	mov	r3, r7
	cmp	r6, #0
	movne	r1, #0
	andeq	r1, r1, #1
	mov	r0, r4
	add	r2, sp, #40
	str	r1, [sp, #36]
	bl	update_file
	cmp	r0, #0
	bne	.L9
	ldr	r3, [sp, #36]
	cmp	r3, #0
	bne	.L18
	ldr	r3, [r4, #4]
	ldr	r2, [r3]
	cmp	r2, #0
	beq	.L34
.L18:
	mov	r0, r6
	bl	free
	ldr	r6, [sp, #36]
.L1:
	ldr	r3, .L38
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L35
	mov	r0, r6
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	cmp	r2, #0
	beq	.L36
	mov	r1, r6
	bl	would_lose_untracked
	subs	r3, r0, #0
	movne	r3, #1
	mov	r2, r6
	mov	r1, #1
	mov	r0, r4
	bl	remove_file
	cmp	r7, #0
	beq	.L6
	ldr	r3, [r4, #4]
	ldr	r3, [r3]
	cmp	r3, #0
	movne	r3, #1
	beq	.L20
.L13:
	mov	r2, r7
	mov	r1, #1
	mov	r0, r4
	bl	remove_file
	b	.L6
.L32:
	mov	r3, r2
	stmib	sp, {r8, r10}
	mov	r2, r7
	str	r9, [sp, #12]
	str	fp, [sp]
	bl	handle_file_collision
	mov	r6, r0
	b	.L1
.L14:
	mov	r1, r5
	mov	r0, r4
	bl	would_lose_untracked
	subs	r3, r0, #0
	beq	.L16
	ldr	r0, .L38+16
	b	.L30
.L33:
	cmp	r2, #0
	beq	.L7
	mov	r3, r2
	mov	r1, #1
	mov	r2, r9
	bl	update_file
	cmp	r0, #0
	bne	.L9
	cmp	r7, #0
	beq	.L37
	mov	r3, r7
	mov	r2, r10
	mov	r1, #1
	mov	r0, r4
	bl	update_file
	subs	r6, r0, #0
	bne	.L9
	mov	r2, r5
	mov	r0, r4
	mov	r3, r6
	mov	r1, #1
	bl	remove_file
	b	.L1
.L16:
	mov	r2, r5
	mov	r1, r3
	mov	r0, r4
	mov	r6, r3
	mov	r7, r5
	bl	remove_file
	b	.L15
.L36:
	cmp	r7, #0
	beq	.L6
.L20:
	mov	r1, r7
	mov	r0, r4
	bl	would_lose_untracked
	subs	r3, r0, #0
	movne	r3, #1
	b	.L13
.L34:
	mov	r3, r9
	mov	r1, r5
	mov	r0, r4
	str	r10, [sp]
	bl	update_stages
	cmp	r0, #0
	beq	.L18
.L9:
	mvn	r6, #0
	b	.L1
.L7:
	mov	r3, r1
	mov	r2, r9
	mov	r1, #1
	bl	update_file
	cmp	r0, #0
	bne	.L9
	mov	r3, r7
	mov	r2, r10
	mov	r0, r4
	mov	r1, #1
	bl	update_file
	subs	r6, r0, #0
	beq	.L1
	b	.L9
.L37:
	mov	r3, r5
	mov	r2, r10
	mov	r0, r4
	mov	r1, #1
	bl	update_file
	subs	r0, r0, #0
	movne	r0, #1
	rsb	r6, r0, #0
	b	.L1
.L35:
	bl	__stack_chk_fail
.L39:
	.align	2
.L38:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	null_oid
	.word	.LC2
	.size	handle_file_collision, .-handle_file_collision
	.comm	null_oid,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
