	.file	"290267.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: fallocate [-npt] [-o offset] -l length filename"
	.text
	.globl	usage
	.type	usage, @function
usage:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	usage, .-usage
	.globl	cvtnum
	.type	cvtnum, @function
cvtnum:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rcx, -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	strtoll@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L3
	mov	rax, QWORD PTR -24[rbp]
	cmp	QWORD PTR -40[rbp], rax
	jne	.L3
	mov	rax, -1
	jmp	.L15
.L3:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L5
	mov	rax, QWORD PTR -16[rbp]
	jmp	.L15
.L5:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L6
	mov	rax, -1
	jmp	.L15
.L6:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	tolower@PLT
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 101
	cmp	eax, 15
	ja	.L7
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L9[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L9[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L9:
	.long	.L14-.L9
	.long	.L7-.L9
	.long	.L13-.L9
	.long	.L7-.L9
	.long	.L7-.L9
	.long	.L7-.L9
	.long	.L12-.L9
	.long	.L7-.L9
	.long	.L11-.L9
	.long	.L7-.L9
	.long	.L7-.L9
	.long	.L10-.L9
	.long	.L7-.L9
	.long	.L7-.L9
	.long	.L7-.L9
	.long	.L8-.L9
	.text
.L12:
	mov	rax, QWORD PTR -16[rbp]
	sal	rax, 10
	jmp	.L15
.L11:
	mov	rax, QWORD PTR -16[rbp]
	sal	rax, 20
	jmp	.L15
.L13:
	mov	rax, QWORD PTR -16[rbp]
	sal	rax, 30
	jmp	.L15
.L8:
	mov	rax, QWORD PTR -16[rbp]
	sal	rax, 40
	jmp	.L15
.L10:
	mov	rax, QWORD PTR -16[rbp]
	sal	rax, 50
	jmp	.L15
.L14:
	mov	rax, QWORD PTR -16[rbp]
	sal	rax, 60
	jmp	.L15
.L7:
	mov	rax, -1
.L15:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	cvtnum, .-cvtnum
	.section	.rodata
.LC1:
	.string	"npl:o:t"
	.align 8
.LC2:
	.string	"Error: no length argument specified"
	.align 8
.LC3:
	.string	"Error: invalid length value specified"
	.align 8
.LC4:
	.string	"Error: invalid offset value specified"
	.align 8
.LC5:
	.string	"-n and -t options incompatible"
	.align 8
.LC6:
	.string	"-n and -o options incompatible"
.LC7:
	.string	"Error: no filename specified"
.LC8:
	.string	"Error opening file"
.LC9:
	.string	"fallocate failed"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -24[rbp], -2
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	jmp	.L18
.L26:
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, 108
	cmp	eax, 8
	ja	.L19
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L21[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L21[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L21:
	.long	.L25-.L21
	.long	.L19-.L21
	.long	.L24-.L21
	.long	.L23-.L21
	.long	.L22-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L20-.L21
	.text
.L24:
	mov	DWORD PTR -44[rbp], 1
	jmp	.L18
.L22:
	mov	DWORD PTR -44[rbp], 3
	jmp	.L18
.L25:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	cvtnum
	mov	QWORD PTR -24[rbp], rax
	jmp	.L18
.L23:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	cvtnum
	mov	QWORD PTR -16[rbp], rax
	jmp	.L18
.L20:
	add	DWORD PTR -36[rbp], 1
	jmp	.L18
.L19:
	call	usage
.L18:
	mov	rcx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -52[rbp]
	lea	rdx, .LC1[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -32[rbp], eax
	cmp	DWORD PTR -32[rbp], -1
	jne	.L26
	cmp	QWORD PTR -24[rbp], -2
	jne	.L27
	lea	rdi, .LC2[rip]
	call	puts@PLT
	call	usage
.L27:
	cmp	QWORD PTR -24[rbp], 0
	jg	.L28
	lea	rdi, .LC3[rip]
	call	puts@PLT
	call	usage
.L28:
	cmp	QWORD PTR -16[rbp], 0
	jns	.L29
	lea	rdi, .LC4[rip]
	call	puts@PLT
	call	usage
.L29:
	cmp	DWORD PTR -36[rbp], 0
	je	.L30
	mov	eax, DWORD PTR -44[rbp]
	and	eax, 1
	test	eax, eax
	je	.L30
	lea	rdi, .LC5[rip]
	call	puts@PLT
	call	usage
.L30:
	cmp	DWORD PTR -36[rbp], 0
	je	.L31
	cmp	QWORD PTR -16[rbp], 0
	je	.L31
	lea	rdi, .LC6[rip]
	call	puts@PLT
	call	usage
.L31:
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -52[rbp], eax
	jne	.L32
	lea	rdi, .LC7[rip]
	call	puts@PLT
	call	usage
.L32:
	mov	eax, DWORD PTR optind[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR optind[rip], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	jns	.L33
	lea	rdi, .LC8[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L33:
	cmp	DWORD PTR -36[rbp], 0
	je	.L34
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ftruncate@PLT
	mov	DWORD PTR -40[rbp], eax
	jmp	.L35
.L34:
	mov	rsi, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	r8, rsi
	mov	esi, eax
	mov	edi, 285
	mov	eax, 0
	call	syscall@PLT
	mov	DWORD PTR -40[rbp], eax
.L35:
	cmp	DWORD PTR -40[rbp], 0
	jns	.L36
	lea	rdi, .LC9[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L36:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"290267.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: fallocate [-npt] [-o offset] -l length filen"
	.ascii	"ame\000"
	.text
	.align	2
	.global	usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	puts
	mov	r0, #1
	bl	exit
.L3:
	.align	2
.L2:
	.word	.LC0
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	cvtnum
	.syntax unified
	.arm
	.fpu softvfp
	.type	cvtnum, %function
cvtnum:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #28
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	strtoll
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L5
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bne	.L5
	mvn	r2, #0
	mvn	r3, #0
	b	.L17
.L5:
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L7
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	b	.L17
.L7:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L8
	mvn	r2, #0
	mvn	r3, #0
	b	.L17
.L8:
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	tolower
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #101
	cmp	r3, #15
	ldrls	pc, [pc, r3, asl #2]
	b	.L9
.L11:
	.word	.L16
	.word	.L9
	.word	.L15
	.word	.L9
	.word	.L9
	.word	.L9
	.word	.L14
	.word	.L9
	.word	.L13
	.word	.L9
	.word	.L9
	.word	.L12
	.word	.L9
	.word	.L9
	.word	.L9
	.word	.L10
.L14:
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #10
	orr	r3, r3, r0, lsr #22
	lsl	r2, r0, #10
	b	.L17
.L13:
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #20
	orr	r3, r3, r0, lsr #12
	lsl	r2, r0, #20
	b	.L17
.L15:
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #30
	orr	r3, r3, r0, lsr #2
	lsl	r2, r0, #30
	b	.L17
.L10:
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r0, #8
	mov	r2, #0
	b	.L17
.L12:
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r0, #18
	mov	r2, #0
	b	.L17
.L16:
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r0, #28
	mov	r2, #0
	b	.L17
.L9:
	mvn	r2, #0
	mvn	r3, #0
.L17:
	ldr	r1, .L19
	ldr	r0, [r1]
	ldr	r1, [fp, #-8]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC1
	.size	cvtnum, .-cvtnum
	.section	.rodata
	.align	2
.LC2:
	.ascii	"npl:o:t\000"
	.align	2
.LC3:
	.ascii	"Error: no length argument specified\000"
	.align	2
.LC4:
	.ascii	"Error: invalid length value specified\000"
	.align	2
.LC5:
	.ascii	"Error: invalid offset value specified\000"
	.align	2
.LC6:
	.ascii	"-n and -t options incompatible\000"
	.align	2
.LC7:
	.ascii	"-n and -o options incompatible\000"
	.align	2
.LC8:
	.ascii	"Error: no filename specified\000"
	.align	2
.LC9:
	.ascii	"Error opening file\000"
	.align	2
.LC10:
	.ascii	"fallocate failed\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	mvn	r2, #1
	mvn	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L22
.L30:
	ldr	r3, [fp, #-32]
	sub	r3, r3, #108
	cmp	r3, #8
	ldrls	pc, [pc, r3, asl #2]
	b	.L23
.L25:
	.word	.L29
	.word	.L23
	.word	.L28
	.word	.L27
	.word	.L26
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L24
.L28:
	mov	r3, #1
	str	r3, [fp, #-44]
	b	.L22
.L26:
	mov	r3, #3
	str	r3, [fp, #-44]
	b	.L22
.L29:
	ldr	r3, .L42
	ldr	r3, [r3]
	mov	r0, r3
	bl	cvtnum
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	b	.L22
.L27:
	ldr	r3, .L42
	ldr	r3, [r3]
	mov	r0, r3
	bl	cvtnum
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	b	.L22
.L24:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	b	.L22
.L23:
	bl	usage
.L22:
	ldr	r2, .L42+4
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-48]
	bl	getopt
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmn	r3, #1
	bne	.L30
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	mvn	r0, #1
	mvn	r1, #0
	cmp	r3, r1
	cmpeq	r2, r0
	bne	.L31
	ldr	r0, .L42+8
	bl	puts
	bl	usage
.L31:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	cmp	r2, #1
	sbcs	r3, r3, #0
	bge	.L32
	ldr	r0, .L42+12
	bl	puts
	bl	usage
.L32:
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	cmp	r2, #0
	sbcs	r3, r3, #0
	bge	.L33
	ldr	r0, .L42+16
	bl	puts
	bl	usage
.L33:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L34
	ldr	r3, [fp, #-44]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L34
	ldr	r0, .L42+20
	bl	puts
	bl	usage
.L34:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L35
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L35
	ldr	r0, .L42+24
	bl	puts
	bl	usage
.L35:
	ldr	r3, .L42+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bne	.L36
	ldr	r0, .L42+32
	bl	puts
	bl	usage
.L36:
	ldr	r3, .L42+28
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L42+28
	str	r2, [r1]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-28]
	ldr	r1, .L42+36
	ldr	r0, [fp, #-28]
	bl	open
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bge	.L37
	ldr	r0, .L42+40
	bl	perror
	mov	r0, #1
	bl	exit
.L37:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L38
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	ftruncate
	str	r0, [fp, #-40]
	b	.L39
.L38:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-24]
	mov	r0, #352
	bl	syscall
	str	r0, [fp, #-40]
.L39:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bge	.L40
	ldr	r0, .L42+44
	bl	perror
	mov	r0, #1
	bl	exit
.L40:
	ldr	r0, [fp, #-24]
	bl	close
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	optarg
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	optind
	.word	.LC8
	.word	131073
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
