	.file	"extr_sha1-file.c_loose_object_info.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"unable to unpack %s header with --allow-unknown-type"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"unable to unpack %s header"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"unable to parse %s header with --allow-unknown-type"
	.section	.rodata.str1.1
.LC3:
	.string	"unable to parse %s header"
	.text
	.p2align 4
	.type	loose_object_info, @function
loose_object_info:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	mov	r13, rsi
	push	r12
	.cfi_offset 12, -48
	mov	r12, rdi
	push	rbx
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 104
	mov	DWORD PTR -120[rbp], ecx
	mov	rcx, rsp
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR MAX_HEADER_LEN[rip]
	mov	r8, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L59:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L59
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L60
.L4:
	movdqu	xmm0, XMMWORD PTR STRBUF_INIT[rip]
	mov	rdi, QWORD PTR 48[rbx]
	mov	QWORD PTR -136[rbp], rsp
	movaps	XMMWORD PTR -80[rbp], xmm0
	test	rdi, rdi
	je	.L5
	mov	DWORD PTR -128[rbp], r8d
	call	hashclr@PLT
	mov	r8d, DWORD PTR -128[rbp]
.L5:
	cmp	QWORD PTR [rbx], 0
	je	.L61
.L6:
	mov	rdi, r12
	lea	rdx, -96[rbp]
	mov	rsi, r13
	mov	DWORD PTR -144[rbp], r8d
	call	map_loose_object@PLT
	mov	r12, rax
	test	rax, rax
	je	.L27
	lea	rax, -88[rbp]
	cmp	QWORD PTR 8[rbx], 0
	mov	r8d, DWORD PTR -144[rbp]
	mov	QWORD PTR -128[rbp], rax
	je	.L62
.L10:
	mov	rax, QWORD PTR 16[rbx]
	mov	rdx, QWORD PTR -96[rbp]
	test	rax, rax
	je	.L11
	mov	QWORD PTR [rax], rdx
	mov	rdx, QWORD PTR -96[rbp]
.L11:
	mov	eax, DWORD PTR -120[rbp]
	test	DWORD PTR OBJECT_INFO_ALLOW_UNKNOWN_TYPE[rip], eax
	je	.L12
	lea	rax, -80[rbp]
	lea	r14, -100[rbp]
	mov	rcx, QWORD PTR -136[rbp]
	mov	rsi, r12
	mov	r9, rax
	mov	rdi, r14
	mov	QWORD PTR -144[rbp], rax
	call	unpack_loose_header_to_strbuf@PLT
	test	rax, rax
	js	.L13
.L17:
	cmp	QWORD PTR -72[rbp], 0
	je	.L63
	mov	edx, DWORD PTR -120[rbp]
	mov	rdi, QWORD PTR -80[rbp]
	mov	rsi, rbx
	call	parse_loose_header_extended@PLT
	mov	r15d, eax
	test	eax, eax
	js	.L64
.L19:
	mov	r8, QWORD PTR 32[rbx]
	test	r8, r8
	mov	QWORD PTR -120[rbp], r8
	je	.L18
	mov	rax, QWORD PTR 8[rbx]
	mov	rsi, QWORD PTR -136[rbp]
	mov	rcx, r13
	mov	rdi, r14
	mov	rdx, QWORD PTR [rax]
	call	unpack_loose_rest@PLT
	mov	r8, QWORD PTR -120[rbp]
	mov	DWORD PTR [r8], eax
	mov	rax, QWORD PTR 32[rbx]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L65
.L21:
	mov	rsi, QWORD PTR -96[rbp]
	mov	rdi, r12
	call	munmap@PLT
	test	r15d, r15d
	jne	.L66
.L23:
	mov	rax, QWORD PTR -128[rbp]
	cmp	QWORD PTR 8[rbx], rax
	je	.L67
.L24:
	mov	rdi, QWORD PTR -144[rbp]
	call	strbuf_release@PLT
	mov	eax, DWORD PTR OI_LOOSE[rip]
	mov	DWORD PTR 24[rbx], eax
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L68
	lea	rsp, -40[rbp]
	mov	eax, r15d
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L63:
	.cfi_restore_state
	mov	edx, DWORD PTR -120[rbp]
	mov	rdi, QWORD PTR -136[rbp]
	mov	rsi, rbx
	call	parse_loose_header_extended@PLT
	mov	r15d, eax
	test	eax, eax
	jns	.L19
	mov	rdi, r13
	call	oid_to_hex@PLT
	lea	rdi, .LC3[rip]
	mov	r15d, eax
.L57:
	call	_@PLT
	mov	esi, r15d
	mov	edi, eax
	call	error@PLT
	mov	r15d, eax
	test	eax, eax
	jns	.L19
.L18:
	mov	rdi, r14
	call	git_inflate_end@PLT
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rcx, QWORD PTR -136[rbp]
	lea	r14, -100[rbp]
	mov	rsi, r12
	mov	rdi, r14
	call	unpack_loose_header@PLT
	lea	rcx, -80[rbp]
	mov	QWORD PTR -144[rbp], rcx
	test	rax, rax
	jns	.L17
	mov	rdi, r13
	call	oid_to_hex@PLT
	lea	rdi, .LC1[rip]
	mov	r15d, eax
.L56:
	call	_@PLT
	mov	esi, r15d
	mov	edi, eax
	call	error@PLT
	mov	r15d, eax
	test	eax, eax
	jns	.L17
	mov	rdi, r14
	call	git_inflate_end@PLT
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L61:
	mov	r15d, DWORD PTR 40[rbx]
	test	r15d, r15d
	jne	.L6
	cmp	QWORD PTR 8[rbx], 0
	jne	.L6
	cmp	QWORD PTR 32[rbx], 0
	jne	.L6
	cmp	QWORD PTR 16[rbx], 0
	je	.L69
.L7:
	lea	rcx, -96[rbp]
	lea	rdx, -88[rbp]
	mov	rsi, r13
	mov	rdi, r12
	call	stat_loose_object@PLT
	test	rax, rax
	js	.L27
	mov	rax, QWORD PTR 16[rbx]
	test	rax, rax
	je	.L1
	mov	rdx, QWORD PTR -88[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L66:
	mov	eax, 0
	mov	edx, r15d
	cmovle	eax, r15d
	mov	r15d, eax
.L22:
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	je	.L23
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -128[rbp]
	cmp	QWORD PTR 8[rbx], rax
	jne	.L24
.L67:
	mov	QWORD PTR 8[rbx], 0
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L62:
	mov	QWORD PTR 8[rbx], rax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L60:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L65:
	mov	rdi, r14
	mov	r15d, -1
	call	git_inflate_end@PLT
	mov	rsi, QWORD PTR -96[rbp]
	mov	rdi, r12
	call	munmap@PLT
	mov	edx, -1
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, r13
	call	oid_to_hex@PLT
	lea	rdi, .LC0[rip]
	mov	r15d, eax
	jmp	.L56
	.p2align 4,,10
	.p2align 3
.L64:
	mov	rdi, r13
	call	oid_to_hex@PLT
	lea	rdi, .LC2[rip]
	mov	r15d, eax
	jmp	.L57
	.p2align 4,,10
	.p2align 3
.L27:
	mov	r15d, -1
	jmp	.L1
.L69:
	mov	eax, DWORD PTR -120[rbp]
	test	DWORD PTR OBJECT_INFO_QUICK[rip], eax
	je	.L7
	mov	rsi, r13
	mov	rdi, r12
	call	quick_has_loose@PLT
	test	rax, rax
	sete	al
	movzx	eax, al
	neg	eax
	mov	r15d, eax
	jmp	.L1
.L68:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	loose_object_info, .-loose_object_info
	.comm	STRBUF_INIT,16,16
	.comm	OI_LOOSE,4,4
	.comm	OBJECT_INFO_QUICK,4,4
	.comm	OBJECT_INFO_ALLOW_UNKNOWN_TYPE,4,4
	.comm	MAX_HEADER_LEN,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_sha1-file.c_loose_object_info.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unable to unpack %s header with --allow-unknown-typ"
	.ascii	"e\000"
	.align	2
.LC1:
	.ascii	"unable to unpack %s header\000"
	.align	2
.LC2:
	.ascii	"unable to parse %s header with --allow-unknown-type"
	.ascii	"\000"
	.align	2
.LC3:
	.ascii	"unable to parse %s header\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	loose_object_info, %function
loose_object_info:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #52
	mov	r4, r2
	ldr	r2, .L63
	ldr	ip, [r4, #24]
	ldr	r2, [r2]
	str	r3, [fp, #-64]
	str	r2, [fp, #-68]
	add	r2, r2, #7
	mov	r7, r1
	ldr	r3, .L63+4
	ldr	r1, .L63+8
	bic	r2, r2, #7
	sub	sp, sp, r2
	sub	r8, fp, #48
	cmp	ip, #0
	mov	r6, r0
	ldm	r1, {r0, r1}
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	add	r10, sp, #8
	stm	r8, {r0, r1}
	bne	.L54
.L2:
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L55
.L3:
	mov	r0, r6
	mov	r1, r7
	sub	r2, fp, #60
	bl	map_loose_object
	subs	r6, r0, #0
	beq	.L24
	ldr	r3, [r4, #4]
	ldr	r2, [fp, #-60]
	cmp	r3, #0
	sub	r3, fp, #52
	streq	r3, [r4, #4]
	str	r3, [fp, #-72]
	ldr	r3, [r4, #8]
	ldr	r1, [fp, #-64]
	cmp	r3, #0
	strne	r2, [r3]
	ldr	r3, .L63+12
	ldrne	r2, [fp, #-60]
	ldr	r3, [r3]
	sub	r9, fp, #56
	tst	r1, r3
	bne	.L56
	ldr	r3, [fp, #-68]
	mov	r0, r9
	str	r3, [sp]
	mov	r1, r6
	mov	r3, r10
	bl	unpack_loose_header
	cmp	r0, #0
	blt	.L57
.L14:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L58
	mov	r1, r4
	ldr	r2, [fp, #-64]
	ldr	r0, [fp, #-48]
	bl	parse_loose_header_extended
	subs	r5, r0, #0
	ldrlt	r0, .L63+16
	blt	.L51
.L16:
	ldr	r3, [r4, #16]
	cmp	r3, #0
	str	r3, [fp, #-64]
	beq	.L15
	ldr	r2, [r4, #4]
	mov	r3, r7
	ldr	r2, [r2]
	mov	r1, r10
	mov	r0, r9
	bl	unpack_loose_rest
	ldr	r2, [fp, #-64]
	ldr	r3, [r4, #16]
	str	r0, [r2]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L59
.L18:
	mov	r0, r6
	ldr	r1, [fp, #-60]
	bl	munmap
	cmp	r5, #0
	bne	.L60
.L20:
	ldr	r3, [r4, #4]
	ldr	r2, [fp, #-72]
	mov	r0, r8
	cmp	r3, r2
	moveq	r3, #0
	streq	r3, [r4, #4]
	bl	strbuf_release
	ldr	r3, .L63+20
	ldr	r3, [r3]
	str	r3, [r4, #12]
.L1:
	ldr	r3, .L63+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L61
	mov	r0, r5
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L56:
	ldr	r3, [fp, #-68]
	mov	r0, r9
	str	r3, [sp]
	mov	r1, r6
	mov	r3, r10
	str	r8, [sp, #4]
	bl	unpack_loose_header_to_strbuf
	cmp	r0, #0
	bge	.L14
	ldr	r0, .L63+24
.L50:
	bl	_
	mov	r5, r0
	mov	r0, r7
	bl	oid_to_hex
	mov	r1, r0
	mov	r0, r5
	bl	error
	cmp	r0, #0
	mov	r5, r0
	bge	.L14
.L15:
	mov	r0, r9
	bl	git_inflate_end
	b	.L18
.L55:
	ldr	r5, [r4, #20]
	cmp	r5, #0
	bne	.L3
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L3
	ldr	r3, [r4, #16]
	cmp	r3, #0
	bne	.L3
	ldr	r3, [r4, #8]
	mov	r1, r7
	cmp	r3, #0
	mov	r0, r6
	beq	.L62
.L4:
	sub	r3, fp, #56
	sub	r2, fp, #52
	bl	stat_loose_object
	cmp	r0, #0
	blt	.L24
	ldr	r3, [r4, #8]
	cmp	r3, #0
	ldrne	r2, [fp, #-52]
	strne	r2, [r3]
	b	.L1
.L58:
	mov	r1, r4
	mov	r0, r10
	ldr	r2, [fp, #-64]
	bl	parse_loose_header_extended
	subs	r5, r0, #0
	bge	.L16
	ldr	r0, .L63+28
.L51:
	bl	_
	mov	r5, r0
	mov	r0, r7
	bl	oid_to_hex
	mov	r1, r0
	mov	r0, r5
	bl	error
	cmp	r0, #0
	mov	r5, r0
	bge	.L16
	mov	r0, r9
	bl	git_inflate_end
	b	.L18
.L60:
	mov	r2, r5
	and	r5, r5, r5, asr #31
.L19:
	ldr	r3, [r4]
	cmp	r3, #0
	strne	r2, [r3]
	b	.L20
.L54:
	mov	r0, ip
	bl	hashclr
	b	.L2
.L59:
	mvn	r5, #0
	mov	r0, r9
	bl	git_inflate_end
	mov	r0, r6
	ldr	r1, [fp, #-60]
	bl	munmap
	mov	r2, r5
	b	.L19
.L57:
	ldr	r0, .L63+32
	b	.L50
.L24:
	mvn	r5, #0
	b	.L1
.L62:
	ldr	r3, .L63+36
	ldr	r2, [fp, #-64]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L4
	bl	quick_has_loose
	clz	r5, r0
	lsr	r5, r5, #5
	rsb	r5, r5, #0
	b	.L1
.L61:
	bl	__stack_chk_fail
.L64:
	.align	2
.L63:
	.word	MAX_HEADER_LEN
	.word	.LC4
	.word	STRBUF_INIT
	.word	OBJECT_INFO_ALLOW_UNKNOWN_TYPE
	.word	.LC2
	.word	OI_LOOSE
	.word	.LC0
	.word	.LC3
	.word	.LC1
	.word	OBJECT_INFO_QUICK
	.size	loose_object_info, .-loose_object_info
	.comm	STRBUF_INIT,8,4
	.comm	OI_LOOSE,4,4
	.comm	OBJECT_INFO_QUICK,4,4
	.comm	OBJECT_INFO_ALLOW_UNKNOWN_TYPE,4,4
	.comm	MAX_HEADER_LEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
