	.file	"extr_odb.c_git_odb_write_pack.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"write pack"
	.text
	.p2align 4
	.globl	git_odb_write_pack
	.type	git_odb_write_pack, @function
git_odb_write_pack:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	test	rdi, rdi
	mov	r12d, DWORD PTR GIT_ERROR[rip]
	setne	al
	xor	edi, edi
	test	rsi, rsi
	mov	DWORD PTR 12[rsp], edx
	setne	dil
	xor	ebx, ebx
	and	edi, eax
	call	assert@PLT
	cmp	QWORD PTR 0[r13], 0
	je	.L2
	test	r12d, r12d
	jns	.L2
	xor	r15d, r15d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L24:
	test	r12d, r12d
	jns	.L2
.L4:
	mov	rsi, r15
	mov	rdi, r13
	call	git_vector_get@PLT
	cmp	QWORD PTR [rax], 0
	jne	.L3
	mov	rsi, QWORD PTR 8[rax]
	mov	rax, QWORD PTR [rsi]
	test	rax, rax
	je	.L3
	mov	ecx, DWORD PTR 12[rsp]
	mov	r8, r14
	mov	rdx, r13
	mov	rdi, rbp
	call	rax
	add	rbx, 1
	mov	r12d, eax
.L3:
	add	r15, 1
	cmp	QWORD PTR 0[r13], r15
	ja	.L24
.L2:
	cmp	DWORD PTR GIT_PASSTHROUGH[rip], r12d
	je	.L8
	test	r12d, r12d
	jns	.L1
	test	rbx, rbx
	jne	.L1
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	lea	rdi, .LC0[rip]
	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
	jmp	git_odb__error_unsupported_in_backend@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	xor	r12d, r12d
.L1:
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
	.cfi_endproc
.LFE0:
	.size	git_odb_write_pack, .-git_odb_write_pack
	.comm	GIT_PASSTHROUGH,4,4
	.comm	GIT_ERROR,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_odb.c_git_odb_write_pack.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"write pack\000"
	.text
	.align	2
	.global	git_odb_write_pack
	.syntax unified
	.arm
	.fpu softvfp
	.type	git_odb_write_pack, %function
git_odb_write_pack:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r0
	mov	fp, r1
	subs	r0, r1, #0
	movne	r0, #1
	ldr	r1, .L18
	cmp	r9, #0
	moveq	r0, #0
	sub	sp, sp, #20
	ldr	r5, [r1]
	mov	r10, r2
	str	r3, [sp, #12]
	bl	assert
	ldr	r8, [fp]
	lsr	r6, r5, #31
	cmp	r8, #0
	movne	r8, r6
	moveq	r8, #0
	cmp	r8, #0
	beq	.L2
	mov	r8, #0
	mov	r4, r8
.L4:
	mov	r1, r4
	mov	r0, fp
	bl	git_vector_get
	ldr	r3, [r0]
	add	r4, r4, #1
	cmp	r3, #0
	bne	.L3
	ldr	r1, [r0, #4]
	ldr	r7, [r1]
	cmp	r7, #0
	beq	.L3
	ldr	r3, [sp, #12]
	mov	r2, fp
	str	r3, [sp]
	mov	r0, r9
	mov	r3, r10
	blx	r7
	mov	r5, r0
	add	r8, r8, #1
	lsr	r6, r0, #31
.L3:
	ldr	r3, [fp]
	cmp	r3, r4
	movls	r3, #0
	andhi	r3, r6, #1
	cmp	r3, #0
	bne	.L4
.L2:
	ldr	r3, .L18+4
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L7
	cmp	r8, #0
	movne	r6, #0
	cmp	r6, #0
	bne	.L17
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L17:
	ldr	r0, .L18+8
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	git_odb__error_unsupported_in_backend
.L7:
	mov	r5, #0
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	.align	2
.L18:
	.word	GIT_ERROR
	.word	GIT_PASSTHROUGH
	.word	.LC0
	.size	git_odb_write_pack, .-git_odb_write_pack
	.comm	GIT_PASSTHROUGH,4,4
	.comm	GIT_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
