	.file	"extr_odb.c_git_odb__hashobj.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"invalid object type"
.LC1:
	.string	"invalid object"
	.text
	.p2align 4
	.globl	git_odb__hashobj
	.type	git_odb__hashobj, @function
git_odb__hashobj:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	add	rsp, -128
	.cfi_def_cfa_offset 160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 120[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	setne	al
	xor	edi, edi
	test	rsi, rsi
	setne	dil
	and	edi, eax
	call	assert@PLT
	mov	edi, DWORD PTR 16[rbx]
	call	git_object_typeisloose@PLT
	test	eax, eax
	je	.L11
	cmp	QWORD PTR [rbx], 0
	mov	rcx, QWORD PTR 8[rbx]
	je	.L12
.L4:
	lea	r12, 48[rsp]
	mov	r8d, DWORD PTR 16[rbx]
	lea	rdi, 8[rsp]
	mov	edx, 64
	mov	rsi, r12
	call	git_odb__format_object_header@PLT
	test	eax, eax
	js	.L1
	mov	rax, QWORD PTR 8[rsp]
	lea	rsi, 16[rsp]
	mov	edx, 2
	mov	rdi, rbp
	mov	QWORD PTR 16[rsp], r12
	mov	QWORD PTR 24[rsp], rax
	mov	rax, QWORD PTR [rbx]
	mov	QWORD PTR 32[rsp], rax
	mov	rax, QWORD PTR 8[rbx]
	mov	QWORD PTR 40[rsp], rax
	call	git_hash_vec@PLT
.L1:
	mov	rdx, QWORD PTR 120[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L13
	sub	rsp, -128
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	test	rcx, rcx
	je	.L4
	mov	edi, DWORD PTR GIT_ERROR_INVALID[rip]
	lea	rsi, .LC1[rip]
	call	git_error_set@PLT
	mov	eax, -1
	jmp	.L1
.L11:
	mov	edi, DWORD PTR GIT_ERROR_INVALID[rip]
	lea	rsi, .LC0[rip]
	call	git_error_set@PLT
	mov	eax, -1
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	git_odb__hashobj, .-git_odb__hashobj
	.comm	GIT_ERROR_INVALID,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__hashobj.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid object type\000"
	.align	2
.LC1:
	.ascii	"invalid object\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	git_odb__hashobj
	.syntax unified
	.arm
	.fpu softvfp
	.type	git_odb__hashobj, %function
git_odb__hashobj:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r5, r0
	mov	r4, r1
	subs	r0, r1, #0
	ldr	r3, .L14
	movne	r0, #1
	cmp	r5, #0
	moveq	r0, #0
	sub	sp, sp, #100
	ldr	r3, [r3]
	str	r3, [sp, #92]
	mov	r3,#0
	bl	assert
	ldr	r0, [r4, #8]
	bl	git_object_typeisloose
	cmp	r0, #0
	beq	.L11
	ldm	r4, {r2, r3}
	cmp	r2, #0
	beq	.L12
.L4:
	ldr	r2, [r4, #8]
	add	r1, sp, #28
	str	r2, [sp]
	add	r0, sp, #8
	mov	r2, #64
	bl	git_odb__format_object_header
	cmp	r0, #0
	blt	.L1
	add	r1, sp, #28
	ldr	lr, [sp, #8]
	ldr	ip, [r4]
	ldr	r3, [r4, #4]
	str	r1, [sp, #12]
	mov	r0, r5
	mov	r2, #2
	add	r1, sp, #12
	str	lr, [sp, #16]
	str	ip, [sp, #20]
	str	r3, [sp, #24]
	bl	git_hash_vec
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #92]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #100
	@ sp needed
	pop	{r4, r5, pc}
.L12:
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L14+4
	ldr	r1, .L14+8
	ldr	r0, [r3]
	bl	git_error_set
	mvn	r0, #0
	b	.L1
.L11:
	ldr	r3, .L14+4
	ldr	r1, .L14+12
	ldr	r0, [r3]
	bl	git_error_set
	mvn	r0, #0
	b	.L1
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC2
	.word	GIT_ERROR_INVALID
	.word	.LC1
	.word	.LC0
	.size	git_odb__hashobj, .-git_odb__hashobj
	.comm	GIT_ERROR_INVALID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
