	.file	"extr_diff.c_diff_populate_gitlink.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
.LC1:
	.string	"-dirty"
.LC2:
	.string	"Subproject commit %s%s\n"
	.text
	.p2align 4
	.type	diff_populate_gitlink, @function
diff_populate_gitlink:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	rcx, .LC1[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	lea	r12, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR 24[rdi], 0
	mov	eax, DWORD PTR STRBUF_INIT[rip]
	lea	r13, 4[rsp]
	cmovne	r12, rcx
	add	rdi, 20
	mov	DWORD PTR 4[rsp], eax
	call	oid_to_hex@PLT
	mov	rcx, r12
	lea	rsi, .LC2[rip]
	mov	rdi, r13
	mov	edx, eax
	call	strbuf_addf@PLT
	mov	eax, DWORD PTR 4[rsp]
	mov	DWORD PTR 16[rbx], eax
	test	ebp, ebp
	je	.L3
	mov	QWORD PTR 8[rbx], 0
	mov	rdi, r13
	call	strbuf_release@PLT
.L4:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	xor	esi, esi
	mov	rdi, r13
	call	strbuf_detach@PLT
	mov	DWORD PTR [rbx], 1
	mov	QWORD PTR 8[rbx], rax
	jmp	.L4
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	diff_populate_gitlink, .-diff_populate_gitlink
	.comm	STRBUF_INIT,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_diff.c_diff_populate_gitlink.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"-dirty\000"
	.align	2
.LC2:
	.ascii	"Subproject commit %s%s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	diff_populate_gitlink, %function
diff_populate_gitlink:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r2, .L10
	ldr	ip, [r0, #16]
	ldr	r3, .L10+4
	ldr	r2, [r2]
	mov	r5, r1
	ldr	r1, .L10+8
	sub	sp, sp, #8
	cmp	ip, #0
	mov	r4, r0
	add	r0, r0, #12
	ldr	r1, [r1]
	str	r1, [sp, #4]
	mov	r1,#0
	ldr	r6, .L10+12
	str	r2, [sp]
	movne	r6, r3
	bl	oid_to_hex
	mov	r3, r6
	mov	r2, r0
	ldr	r1, .L10+16
	mov	r0, sp
	bl	strbuf_addf
	ldr	r3, [sp]
	cmp	r5, #0
	str	r3, [r4, #8]
	beq	.L3
	mov	r3, #0
	mov	r0, sp
	str	r3, [r4, #4]
	bl	strbuf_release
.L4:
	ldr	r3, .L10+8
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L3:
	mov	r1, r5
	mov	r0, sp
	bl	strbuf_detach
	mov	r3, #1
	str	r0, [r4, #4]
	str	r3, [r4]
	b	.L4
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	STRBUF_INIT
	.word	.LC1
	.word	.LC3
	.word	.LC0
	.word	.LC2
	.size	diff_populate_gitlink, .-diff_populate_gitlink
	.comm	STRBUF_INIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
