	.file	"extr_money-import-dump.c_lock_whole_file.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"cannot lock file %d: %m\n"
	.text
	.p2align 4
	.globl	lock_whole_file
	.type	lock_whole_file, @function
lock_whole_file:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	eax, DWORD PTR SEEK_SET[rip]
	mov	r12d, edi
	lea	rdx, L.1935[rip]
	mov	DWORD PTR L.1935[rip], esi
	mov	esi, DWORD PTR F_SETLK[rip]
	mov	DWORD PTR L.1935[rip+24], eax
	mov	QWORD PTR L.1935[rip+16], 0
	mov	QWORD PTR L.1935[rip+8], 0
	call	fcntl@PLT
	mov	r8, rax
	mov	eax, 1
	test	r8, r8
	js	.L7
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR stderr[rip]
	mov	edx, r12d
	lea	rsi, .LC0[rip]
	call	fprintf@PLT
	mov	eax, -1
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	lock_whole_file, .-lock_whole_file
	.local	L.1935
	.comm	L.1935,32,32
	.comm	stderr,4,4
	.comm	SEEK_SET,4,4
	.comm	F_SETLK,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_money-import-dump.c_lock_whole_file.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cannot lock file %d: %m\012\000"
	.text
	.align	2
	.global	lock_whole_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	lock_whole_file, %function
lock_whole_file:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	ldr	ip, .L7
	push	{r4, lr}
	ldr	r2, .L7+4
	ldr	lr, .L7+8
	ldr	ip, [ip]
	str	r1, [r2]
	ldr	r1, [lr]
	mov	r4, r0
	str	ip, [r2, #12]
	str	r3, [r2, #8]
	str	r3, [r2, #4]
	bl	fcntl
	cmp	r0, #0
	blt	.L6
	mov	r0, #1
	pop	{r4, pc}
.L6:
	ldr	r3, .L7+12
	mov	r2, r4
	ldr	r0, [r3]
	ldr	r1, .L7+16
	bl	fprintf
	mvn	r0, #0
	pop	{r4, pc}
.L8:
	.align	2
.L7:
	.word	SEEK_SET
	.word	.LANCHOR0
	.word	F_SETLK
	.word	stderr
	.word	.LC0
	.size	lock_whole_file, .-lock_whole_file
	.comm	stderr,4,4
	.comm	SEEK_SET,4,4
	.comm	F_SETLK,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	L.4219, %object
	.size	L.4219, 16
L.4219:
	.space	16
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
