	.file	"extr_unpack-objects.c_cmd_unpack_objects.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"--strict"
.LC1:
	.string	"--strict="
.LC2:
	.string	"--pack_header="
.LC3:
	.string	"bad %s"
.LC4:
	.string	"--max-input-size="
.LC5:
	.string	"fsck error in pack objects"
.LC6:
	.string	"final sha1 did not match"
	.text
	.p2align 4
	.globl	cmd_unpack_objects
	.type	cmd_unpack_objects, @function
cmd_unpack_objects:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR git_default_config[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	QWORD PTR read_replace_refs[rip], 0
	call	git_config@PLT
	mov	edi, 2
	call	isatty@PLT
	test	eax, eax
	sete	al
	movzx	eax, al
	mov	DWORD PTR quiet[rip], eax
	cmp	ebp, 1
	jle	.L21
	lea	eax, -2[rbp]
	lea	rbx, 8[r12]
	lea	rbp, 16[r12+rax*8]
	lea	r12, .LC0[rip]
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L37:
	movzx	eax, BYTE PTR 1[r8]
	cmp	eax, 110
	jne	.L7
	cmp	BYTE PTR 2[r8], 0
	jne	.L7
	mov	DWORD PTR dry_run[rip], 1
.L19:
	add	rbx, 8
	cmp	rbx, rbp
	je	.L21
.L20:
	mov	r8, QWORD PTR [rbx]
	mov	QWORD PTR 8[rsp], r8
	cmp	BYTE PTR [r8], 45
	je	.L37
	mov	edi, DWORD PTR unpack_usage[rip]
	call	usage@PLT
.L47:
	add	rbx, 8
	cmp	rbx, rbp
	jne	.L20
.L21:
	mov	rax, QWORD PTR the_hash_algo[rip]
	lea	rdi, ctx[rip]
	call	[QWORD PTR 24[rax]]
	xor	eax, eax
	call	unpack_all@PLT
	mov	rax, QWORD PTR the_hash_algo[rip]
	mov	rdx, QWORD PTR offset[rip]
	lea	rdi, ctx[rip]
	mov	rsi, QWORD PTR buffer[rip]
	call	[QWORD PTR 16[rax]]
	mov	rax, QWORD PTR the_hash_algo[rip]
	xor	r8d, r8d
	lea	rsi, ctx[rip]
	mov	edi, r8d
	call	[QWORD PTR 8[rax]]
	mov	eax, DWORD PTR strict[rip]
	test	eax, eax
	jne	.L38
.L22:
	mov	rax, QWORD PTR the_hash_algo[rip]
	mov	edi, DWORD PTR [rax]
	call	fill@PLT
	xor	r8d, r8d
	mov	edi, eax
	mov	esi, r8d
	call	hasheq@PLT
	test	eax, eax
	je	.L39
.L23:
	mov	rax, QWORD PTR the_hash_algo[rip]
	mov	edi, DWORD PTR [rax]
	call	use@PLT
	mov	edx, DWORD PTR len[rip]
	mov	rax, QWORD PTR offset[rip]
	test	edx, edx
	jne	.L26
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L40:
	mov	edx, DWORD PTR len[rip]
	sub	edx, eax
	cdqe
	add	rax, QWORD PTR offset[rip]
	mov	DWORD PTR len[rip], edx
	mov	QWORD PTR offset[rip], rax
	test	edx, edx
	je	.L25
.L26:
	add	rax, QWORD PTR buffer[rip]
	mov	edi, 1
	mov	rsi, rax
	call	xwrite@PLT
	test	eax, eax
	jg	.L40
.L25:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	mov	eax, DWORD PTR has_errors[rip]
	jne	.L41
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	movzx	edx, BYTE PTR [r8]
	cmp	edx, 45
	je	.L42
.L12:
	mov	ecx, 9
	mov	rsi, r8
	mov	rdi, r12
	repz cmpsb
	seta	al
	sbb	al, 0
	test	al, al
	jne	.L13
	mov	DWORD PTR strict[rip], 1
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L42:
	cmp	eax, 113
	je	.L43
.L10:
	cmp	edx, 45
	jne	.L12
	cmp	eax, 114
	jne	.L12
	cmp	BYTE PTR 2[r8], 0
	jne	.L12
	mov	DWORD PTR recover[rip], 1
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L43:
	cmp	BYTE PTR 2[r8], 0
	jne	.L10
	mov	DWORD PTR quiet[rip], 1
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L13:
	lea	r13, 8[rsp]
	lea	rsi, .LC1[rip]
	mov	rdi, r8
	mov	rdx, r13
	call	skip_prefix@PLT
	test	rax, rax
	jne	.L44
	mov	rdi, QWORD PTR 8[rsp]
	lea	rsi, .LC2[rip]
	call	starts_with@PLT
	test	rax, rax
	jne	.L45
	mov	rdi, QWORD PTR 8[rsp]
	mov	rdx, r13
	lea	rsi, .LC4[rip]
	call	skip_prefix@PLT
	test	rax, rax
	jne	.L46
	mov	edi, DWORD PTR unpack_usage[rip]
	call	usage@PLT
	mov	edi, DWORD PTR unpack_usage[rip]
	call	usage@PLT
	jmp	.L47
	.p2align 4,,10
	.p2align 3
.L44:
	mov	rsi, QWORD PTR 8[rsp]
	lea	rdi, fsck_options[rip]
	mov	DWORD PTR strict[rip], 1
	call	fsck_set_msg_types@PLT
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L39:
	lea	rdi, .LC6[rip]
	call	die@PLT
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L38:
	xor	eax, eax
	call	write_rest@PLT
	lea	rdi, fsck_options[rip]
	call	fsck_finish@PLT
	test	rax, rax
	je	.L22
	lea	rdi, .LC5[rip]
	call	_@PLT
	mov	rdi, rax
	xor	eax, eax
	call	die@PLT
	jmp	.L22
.L46:
	mov	rdi, QWORD PTR 8[rsp]
	mov	edx, 10
	xor	esi, esi
	call	strtoumax@PLT
	mov	DWORD PTR max_input_size[rip], eax
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L45:
	mov	edi, DWORD PTR PACK_SIGNATURE[rip]
	mov	r13, QWORD PTR buffer[rip]
	lea	r14, 16[rsp]
	call	htonl@PLT
	mov	edx, 10
	mov	rsi, r14
	mov	QWORD PTR 16[r13], rax
	mov	rax, QWORD PTR 8[rsp]
	lea	rdi, 14[rax]
	call	strtoul@PLT
	mov	edi, eax
	call	htonl@PLT
	mov	QWORD PTR 8[r13], rax
	mov	rax, QWORD PTR 16[rsp]
	cmp	BYTE PTR [rax], 44
	je	.L16
	mov	rsi, QWORD PTR 8[rsp]
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	die@PLT
	mov	rax, QWORD PTR 16[rsp]
.L16:
	lea	rdi, 1[rax]
	mov	edx, 10
	mov	rsi, r14
	call	strtoul@PLT
	mov	edi, eax
	call	htonl@PLT
	mov	QWORD PTR 0[r13], rax
	mov	rax, QWORD PTR 16[rsp]
	cmp	BYTE PTR [rax], 0
	jne	.L48
.L17:
	mov	DWORD PTR len[rip], 24
	jmp	.L19
.L48:
	mov	rsi, QWORD PTR 8[rsp]
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	die@PLT
	jmp	.L17
.L41:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	cmd_unpack_objects, .-cmd_unpack_objects
	.comm	unpack_usage,4,4
	.comm	the_hash_algo,8,8
	.comm	strict,4,4
	.comm	recover,4,4
	.comm	read_replace_refs,8,8
	.comm	quiet,4,4
	.comm	offset,8,8
	.comm	max_input_size,4,4
	.comm	len,4,4
	.comm	has_errors,4,4
	.comm	git_default_config,4,4
	.comm	fsck_options,4,4
	.comm	dry_run,4,4
	.comm	ctx,4,4
	.comm	buffer,8,8
	.comm	PACK_SIGNATURE,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_unpack-objects.c_cmd_unpack_objects.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"--strict\000"
	.align	2
.LC1:
	.ascii	"--strict=\000"
	.align	2
.LC2:
	.ascii	"--pack_header=\000"
	.align	2
.LC3:
	.ascii	"bad %s\000"
	.align	2
.LC4:
	.ascii	"--max-input-size=\000"
	.align	2
.LC5:
	.ascii	"fsck error in pack objects\000"
	.align	2
.LC6:
	.ascii	"final sha1 did not match\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	cmd_unpack_objects
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmd_unpack_objects, %function
cmd_unpack_objects:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, #0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r1
	ldr	r1, .L56
	ldr	ip, .L56+4
	ldr	r3, .L56+8
	sub	sp, sp, #28
	mov	r6, r0
	ldr	r0, [r1]
	mov	r1, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	str	r2, [ip]
	bl	git_config
	mov	r0, #2
	bl	isatty
	clz	r0, r0
	ldr	r8, .L56+12
	lsr	r0, r0, #5
	cmp	r6, #1
	ldr	r5, .L56+16
	str	r0, [r8]
	ble	.L43
	ldr	r3, .L56+20
	sub	r2, r9, #4
	ldr	r4, .L56+24
	ldr	r10, .L56+28
	ldr	r7, .L56+32
	str	r3, [sp, #4]
	add	r6, r2, r6, lsl #2
	b	.L20
.L44:
	ldrb	r3, [fp, #1]	@ zero_extendqisi2
	cmp	r3, #110
	bne	.L7
	ldrb	r2, [fp, #2]	@ zero_extendqisi2
	cmp	r2, #0
	bne	.L7
	mov	r2, #1
	ldr	r3, .L56+36
	str	r2, [r3]
.L19:
	cmp	r9, r6
	beq	.L21
.L20:
	ldr	fp, [r9, #4]!
	str	fp, [sp, #12]
	ldrb	r3, [fp]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L44
	ldr	r0, [r7]
	bl	usage
.L54:
	cmp	r9, r6
	bne	.L20
.L21:
	ldr	r7, .L56+40
	ldr	r0, .L56+44
	ldr	r3, [r7]
	ldr	r6, .L56+48
	ldr	r3, [r3, #12]
	blx	r3
	bl	unpack_all
	ldr	r3, [r7]
	ldr	r2, [r6]
	ldr	r3, [r3, #8]
	ldr	r1, [r5]
	ldr	r0, .L56+44
	blx	r3
	ldr	r3, [r7]
	mov	r0, #0
	ldr	r3, [r3, #4]
	ldr	r1, .L56+44
	blx	r3
	ldr	r3, [sp, #4]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L45
.L22:
	ldr	r3, [r7]
	ldr	r0, [r3]
	bl	fill
	mov	r1, #0
	bl	hasheq
	cmp	r0, #0
	beq	.L46
.L23:
	ldr	r3, [r7]
	ldr	r0, [r3]
	bl	use
	ldr	r2, [r4]
	cmp	r2, #0
	ldrne	r0, [r6]
	bne	.L26
	b	.L25
.L47:
	ldr	r2, [r4]
	ldr	r1, [r6]
	sub	r2, r2, r0
	cmp	r2, #0
	add	r0, r0, r1
	str	r2, [r4]
	str	r0, [r6]
	beq	.L25
.L26:
	ldr	r1, [r5]
	add	r1, r0, r1
	mov	r0, #1
	bl	xwrite
	cmp	r0, #0
	bgt	.L47
.L25:
	ldr	r3, .L56+52
	ldr	r0, [r3]
	ldr	r3, .L56+8
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L48
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	ldrb	r2, [fp]	@ zero_extendqisi2
	cmp	r2, #45
	beq	.L49
.L12:
	mov	r1, r10
	mov	r0, fp
	bl	strcmp
	cmp	r0, #0
	bne	.L13
	mov	r3, #1
	ldr	r2, [sp, #4]
	str	r3, [r2]
	b	.L19
.L49:
	cmp	r3, #113
	beq	.L50
.L10:
	cmp	r2, #45
	bne	.L12
	cmp	r3, #114
	bne	.L12
	ldrb	r3, [fp, #2]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L12
	mov	r2, #1
	ldr	r3, .L56+56
	str	r2, [r3]
	b	.L19
.L50:
	ldrb	r1, [fp, #2]	@ zero_extendqisi2
	cmp	r1, #0
	bne	.L10
	mov	r3, #1
	str	r3, [r8]
	b	.L19
.L13:
	mov	r0, fp
	ldr	r1, .L56+60
	add	r2, sp, #12
	bl	skip_prefix
	cmp	r0, #0
	bne	.L51
	ldr	r1, .L56+64
	ldr	r0, [sp, #12]
	bl	starts_with
	subs	fp, r0, #0
	bne	.L52
	ldr	r1, .L56+68
	ldr	r0, [sp, #12]
	add	r2, sp, #12
	bl	skip_prefix
	cmp	r0, #0
	bne	.L53
	ldr	r0, [r7]
	bl	usage
	ldr	r0, [r7]
	bl	usage
	b	.L54
.L51:
	mov	r3, #1
	ldr	r2, [sp, #4]
	ldr	r1, [sp, #12]
	ldr	r0, .L56+72
	str	r3, [r2]
	bl	fsck_set_msg_types
	b	.L19
.L46:
	ldr	r0, .L56+76
	bl	die
	b	.L23
.L45:
	bl	write_rest
	ldr	r0, .L56+72
	bl	fsck_finish
	cmp	r0, #0
	beq	.L22
	ldr	r0, .L56+80
	bl	_
	bl	die
	b	.L22
.L53:
	mov	r1, fp
	mov	r2, #10
	ldr	r0, [sp, #12]
	bl	strtoumax
	ldr	r3, .L56+84
	str	r0, [r3]
	b	.L19
.L52:
	ldr	r3, .L56+88
	ldr	fp, [r5]
	ldr	r0, [r3]
	bl	htonl
	ldr	r3, [sp, #12]
	mov	r2, #10
	str	r0, [fp, #8]
	add	r1, sp, #16
	add	r0, r3, #14
	bl	strtoul
	bl	htonl
	ldr	r3, [sp, #16]
	str	r0, [fp, #4]
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #44
	beq	.L16
	ldr	r1, [sp, #12]
	ldr	r0, .L56+92
	bl	die
	ldr	r3, [sp, #16]
.L16:
	add	r0, r3, #1
	mov	r2, #10
	add	r1, sp, #16
	bl	strtoul
	bl	htonl
	ldr	r3, [sp, #16]
	str	r0, [fp]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L55
.L17:
	mov	r3, #12
	str	r3, [r4]
	b	.L19
.L43:
	ldr	r3, .L56+20
	ldr	r4, .L56+24
	str	r3, [sp, #4]
	b	.L21
.L55:
	ldr	r1, [sp, #12]
	ldr	r0, .L56+92
	bl	die
	b	.L17
.L48:
	bl	__stack_chk_fail
.L57:
	.align	2
.L56:
	.word	git_default_config
	.word	read_replace_refs
	.word	.LC7
	.word	quiet
	.word	buffer
	.word	strict
	.word	len
	.word	.LC0
	.word	unpack_usage
	.word	dry_run
	.word	the_hash_algo
	.word	ctx
	.word	offset
	.word	has_errors
	.word	recover
	.word	.LC1
	.word	.LC2
	.word	.LC4
	.word	fsck_options
	.word	.LC6
	.word	.LC5
	.word	max_input_size
	.word	PACK_SIGNATURE
	.word	.LC3
	.size	cmd_unpack_objects, .-cmd_unpack_objects
	.comm	unpack_usage,4,4
	.comm	the_hash_algo,4,4
	.comm	strict,4,4
	.comm	recover,4,4
	.comm	read_replace_refs,4,4
	.comm	quiet,4,4
	.comm	offset,4,4
	.comm	max_input_size,4,4
	.comm	len,4,4
	.comm	has_errors,4,4
	.comm	git_default_config,4,4
	.comm	fsck_options,4,4
	.comm	dry_run,4,4
	.comm	ctx,4,4
	.comm	buffer,4,4
	.comm	PACK_SIGNATURE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
