	.file	"extr_odb.c_git_odb_hashfile.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"file size overflow for 32-bit systems"
	.text
	.p2align 4
	.globl	git_odb_hashfile
	.type	git_odb_hashfile, @function
git_odb_hashfile:
.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
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	rdi, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	git_futils_open_ro@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	mov	edi, eax
	call	git_futils_filesize@PLT
	mov	r14, rax
	test	rax, rax
	js	.L4
	mov	rdi, rax
	call	git__is_sizet@PLT
	test	eax, eax
	je	.L4
	mov	esi, r12d
	mov	rdi, rbp
	mov	ecx, r13d
	mov	rdx, r14
	call	git_odb__hashfd@PLT
	mov	edi, r12d
	mov	ebp, eax
	call	p_close@PLT
	mov	r12d, ebp
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L4:
	.cfi_restore_state
	mov	edi, DWORD PTR GIT_ERROR_OS[rip]
	lea	rsi, .LC0[rip]
	call	git_error_set@PLT
	mov	edi, r12d
	mov	r12d, -1
	call	p_close@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	git_odb_hashfile, .-git_odb_hashfile
	.comm	GIT_ERROR_OS,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_hashfile.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"file size overflow for 32-bit systems\000"
	.text
	.align	2
	.global	git_odb_hashfile
	.syntax unified
	.arm
	.fpu softvfp
	.type	git_odb_hashfile, %function
git_odb_hashfile:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r0, r1
	mov	r6, r2
	bl	git_futils_open_ro
	subs	r4, r0, #0
	blt	.L1
	bl	git_futils_filesize
	subs	r7, r0, #0
	blt	.L4
	bl	git__is_sizet
	cmp	r0, #0
	beq	.L4
	mov	r1, r4
	mov	r3, r6
	mov	r2, r7
	mov	r0, r5
	bl	git_odb__hashfd
	mov	r5, r0
	mov	r0, r4
	bl	p_close
	mov	r4, r5
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r3, .L10
	ldr	r1, .L10+4
	ldr	r0, [r3]
	bl	git_error_set
	mov	r0, r4
	bl	p_close
	mvn	r4, #0
	b	.L1
.L11:
	.align	2
.L10:
	.word	GIT_ERROR_OS
	.word	.LC0
	.size	git_odb_hashfile, .-git_odb_hashfile
	.comm	GIT_ERROR_OS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
