	.file	"126702463.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: a.out filename initial-size"
	.align 8
.LC1:
	.string	"The initial size of the file is too small (< 4096)!"
	.align 8
.LC2:
	.string	"Create fails with errno = %d at line %d\n"
	.align 8
.LC3:
	.string	"File %s has been created successfully at line %d.\n"
	.align 8
.LC4:
	.string	"Truncate fails with errno = %d at line %d\n"
	.align 8
.LC5:
	.string	"Seek fails with errno = %d at line %d\n"
	.align 8
.LC6:
	.string	"Write fails with errno = %d at line %d\n"
	.align 8
.LC7:
	.string	"Close fails with errno = %d at line %d\n"
	.align 8
.LC8:
	.string	"Stat fails with errno = %d at line %d\n"
	.align 8
.LC9:
	.string	"Unexpected file size = %ld at line %d\n"
	.align 8
.LC10:
	.string	"Open fails with errno = %d at line %d\n"
	.align 8
.LC11:
	.string	"File %s has been opened successfully at line %d.\n"
	.align 8
.LC12:
	.string	"File %s has been truncated successfully at line %d.\n"
	.align 8
.LC13:
	.string	"Read fails with errno = %d at line %d\n"
	.align 8
.LC14:
	.string	"Unexpected bytes returned = %d at line %d\n"
	.align 8
.LC15:
	.string	"Unexpected file contents detected at line %d.\n"
	.align 8
.LC16:
	.string	"File %s has been read successfully at line %d.\n"
	.align 8
.LC17:
	.string	"File %s has been written successfully at line %d.\n"
	.align 8
.LC18:
	.string	"Now perform a series of truncations to shorten the file %s...\n"
	.align 8
.LC19:
	.string	"fsync fails with errno = %d at line %d\n"
	.align 8
.LC20:
	.string	"Now perform a series of truncations to length the file %s...\n"
	.align 8
.LC21:
	.string	"Now perform final round of operations around a truncation point ..."
	.align 8
.LC22:
	.string	"\nAll %d tests has passed successfully in %ld seconds!\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 272
	mov	DWORD PTR -260[rbp], edi
	mov	QWORD PTR -272[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -236[rbp], 0
	cmp	DWORD PTR -260[rbp], 3
	je	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -272[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -224[rbp], rax
	mov	rax, QWORD PTR -272[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -216[rbp], rax
	cmp	QWORD PTR -216[rbp], 4095
	jg	.L3
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L3:
	lea	rax, -192[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	gettimeofday@PLT
	mov	edi, 1234
	call	srandom@PLT
	mov	edi, 134217728
	call	malloc@PLT
	mov	QWORD PTR -208[rbp], rax
	mov	DWORD PTR -240[rbp], 0
	jmp	.L4
.L5:
	call	random@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -240[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -240[rbp], 1
.L4:
	cmp	DWORD PTR -240[rbp], 134217727
	jle	.L5
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, 384
	mov	esi, 578
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -232[rbp], eax
	cmp	DWORD PTR -232[rbp], 0
	jns	.L6
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 47
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L6:
	add	DWORD PTR -236[rbp], 1
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, 51
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -216[rbp]
	mov	eax, DWORD PTR -232[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ftruncate@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L7
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 55
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L7:
	add	DWORD PTR -236[rbp], 1
	mov	rax, QWORD PTR -216[rbp]
	lea	rcx, -1234[rax]
	mov	eax, DWORD PTR -232[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L8
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 62
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L8:
	add	DWORD PTR -236[rbp], 1
	mov	rcx, QWORD PTR -208[rbp]
	mov	eax, DWORD PTR -232[rbp]
	mov	edx, 4096
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 4096
	je	.L9
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 70
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L9:
	add	DWORD PTR -236[rbp], 1
	mov	eax, DWORD PTR -232[rbp]
	mov	edi, eax
	call	close@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L10
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 80
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L10:
	add	DWORD PTR -236[rbp], 1
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L11
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 87
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L11:
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -216[rbp]
	add	rdx, 2862
	cmp	rax, rdx
	je	.L12
	mov	rax, QWORD PTR -112[rbp]
	mov	edx, 91
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L12:
	add	DWORD PTR -236[rbp], 1
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, 384
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -232[rbp], eax
	cmp	DWORD PTR -232[rbp], 0
	jns	.L13
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 98
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L13:
	add	DWORD PTR -236[rbp], 1
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, 102
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -160[rbp]
	mov	eax, DWORD PTR -232[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fstat@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -232[rbp], 0
	jns	.L14
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 106
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L14:
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -216[rbp]
	add	rdx, 2862
	cmp	rax, rdx
	je	.L15
	mov	rax, QWORD PTR -112[rbp]
	mov	edx, 110
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L15:
	add	DWORD PTR -236[rbp], 1
	mov	eax, DWORD PTR -232[rbp]
	mov	esi, 1024
	mov	edi, eax
	call	ftruncate@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L16
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 118
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L16:
	add	DWORD PTR -236[rbp], 1
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, 122
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -232[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L17
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 126
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L17:
	add	DWORD PTR -236[rbp], 1
	mov	rcx, QWORD PTR -208[rbp]
	mov	eax, DWORD PTR -232[rbp]
	mov	edx, 10240
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L18
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 133
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L18:
	cmp	DWORD PTR -228[rbp], 1024
	je	.L19
	mov	eax, DWORD PTR -228[rbp]
	mov	edx, 137
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L19:
	add	DWORD PTR -236[rbp], 1
	mov	DWORD PTR -240[rbp], 0
	jmp	.L20
.L22:
	mov	eax, DWORD PTR -240[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L21
	mov	esi, 144
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L21:
	add	DWORD PTR -240[rbp], 1
.L20:
	mov	eax, DWORD PTR -240[rbp]
	cmp	eax, DWORD PTR -228[rbp]
	jl	.L22
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, 148
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -232[rbp]
	mov	esi, 1000
	mov	edi, eax
	call	ftruncate@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L23
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 152
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L23:
	add	DWORD PTR -236[rbp], 1
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, 156
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L24
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 160
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L24:
	add	DWORD PTR -236[rbp], 1
	mov	rax, QWORD PTR -112[rbp]
	cmp	rax, 1000
	je	.L25
	mov	rax, QWORD PTR -112[rbp]
	mov	edx, 166
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L25:
	mov	eax, DWORD PTR -232[rbp]
	mov	esi, 234
	mov	edi, eax
	call	ftruncate@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L26
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 174
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L26:
	add	DWORD PTR -236[rbp], 1
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L27
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 181
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L27:
	mov	rax, QWORD PTR -112[rbp]
	cmp	rax, 234
	je	.L28
	mov	rax, QWORD PTR -112[rbp]
	mov	edx, 185
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L28:
	add	DWORD PTR -236[rbp], 1
	mov	eax, DWORD PTR -232[rbp]
	mov	esi, 23400
	mov	edi, eax
	call	ftruncate@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L29
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 192
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L29:
	add	DWORD PTR -236[rbp], 1
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L30
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 199
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L30:
	mov	rax, QWORD PTR -112[rbp]
	cmp	rax, 23400
	je	.L31
	mov	rax, QWORD PTR -112[rbp]
	mov	edx, 203
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L31:
	add	DWORD PTR -236[rbp], 1
	mov	eax, DWORD PTR -232[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L32
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 210
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L32:
	add	DWORD PTR -236[rbp], 1
	mov	rcx, QWORD PTR -208[rbp]
	mov	eax, DWORD PTR -232[rbp]
	mov	edx, 23400
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 23400
	je	.L33
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 217
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L33:
	add	DWORD PTR -236[rbp], 1
	mov	rcx, QWORD PTR -208[rbp]
	mov	eax, DWORD PTR -232[rbp]
	mov	edx, 134217728
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 134217728
	je	.L34
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 224
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L34:
	add	DWORD PTR -236[rbp], 1
	mov	rcx, QWORD PTR -208[rbp]
	mov	eax, DWORD PTR -232[rbp]
	mov	edx, 134217728
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 134217728
	je	.L35
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 231
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L35:
	add	DWORD PTR -236[rbp], 1
	lea	rdx, -160[rbp]
	mov	eax, DWORD PTR -232[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fstat@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L36
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 238
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L36:
	mov	rax, QWORD PTR -112[rbp]
	cmp	rax, 268458856
	je	.L37
	mov	rax, QWORD PTR -112[rbp]
	mov	edx, 242
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L37:
	add	DWORD PTR -236[rbp], 1
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, 246
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -232[rbp]
	mov	edi, eax
	call	close@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L38
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 250
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L38:
	add	DWORD PTR -236[rbp], 1
	mov	rax, QWORD PTR -224[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -240[rbp], 23400
	jmp	.L39
.L45:
	mov	eax, DWORD PTR -240[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	truncate@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L40
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 259
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L40:
	add	DWORD PTR -236[rbp], 1
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, 384
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -232[rbp], eax
	cmp	DWORD PTR -232[rbp], 0
	jns	.L41
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 266
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L41:
	add	DWORD PTR -236[rbp], 1
	mov	rcx, QWORD PTR -208[rbp]
	mov	eax, DWORD PTR -232[rbp]
	mov	edx, 12345
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 12345
	je	.L42
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 273
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L42:
	add	DWORD PTR -236[rbp], 1
	mov	eax, DWORD PTR -232[rbp]
	mov	edi, eax
	call	fsync@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L43
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 280
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L43:
	add	DWORD PTR -236[rbp], 1
	mov	eax, DWORD PTR -232[rbp]
	mov	edi, eax
	call	close@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L44
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 287
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L44:
	add	DWORD PTR -236[rbp], 1
	sub	DWORD PTR -240[rbp], 2749
.L39:
	cmp	DWORD PTR -240[rbp], 0
	jns	.L45
	mov	rax, QWORD PTR -224[rbp]
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -240[rbp], 0
	jmp	.L46
.L52:
	mov	eax, DWORD PTR -240[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	truncate@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L47
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 297
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L47:
	add	DWORD PTR -236[rbp], 1
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, 384
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -232[rbp], eax
	cmp	DWORD PTR -232[rbp], 0
	jns	.L48
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 304
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L48:
	add	DWORD PTR -236[rbp], 1
	mov	rcx, QWORD PTR -208[rbp]
	mov	eax, DWORD PTR -232[rbp]
	mov	edx, 76543
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 76543
	je	.L49
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 311
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L49:
	add	DWORD PTR -236[rbp], 1
	mov	eax, DWORD PTR -232[rbp]
	mov	edi, eax
	call	fsync@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L50
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 318
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L50:
	add	DWORD PTR -236[rbp], 1
	mov	eax, DWORD PTR -232[rbp]
	mov	edi, eax
	call	close@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L51
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 325
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L51:
	add	DWORD PTR -236[rbp], 1
	add	DWORD PTR -240[rbp], 54301
.L46:
	cmp	DWORD PTR -240[rbp], 123456789
	jle	.L52
	mov	eax, DWORD PTR -240[rbp]
	sub	eax, 54301
	cdqe
	mov	QWORD PTR -200[rbp], rax
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L53
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 334
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L53:
	mov	rax, QWORD PTR -112[rbp]
	cmp	QWORD PTR -200[rbp], rax
	je	.L54
	mov	rax, QWORD PTR -112[rbp]
	mov	edx, 338
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L54:
	add	DWORD PTR -236[rbp], 1
	lea	rdi, .LC21[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, 384
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -232[rbp], eax
	cmp	DWORD PTR -232[rbp], 0
	jns	.L55
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 346
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L55:
	add	DWORD PTR -236[rbp], 1
	mov	rax, QWORD PTR -200[rbp]
	lea	rcx, -54301[rax]
	mov	eax, DWORD PTR -232[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L56
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 353
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L56:
	add	DWORD PTR -236[rbp], 1
	mov	rcx, QWORD PTR -208[rbp]
	mov	eax, DWORD PTR -232[rbp]
	mov	edx, 678907
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 678907
	je	.L57
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 360
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L57:
	add	DWORD PTR -236[rbp], 1
	mov	rax, QWORD PTR -200[rbp]
	lea	rdx, 625840[rax]
	mov	rax, QWORD PTR -224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	truncate@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L58
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 367
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L58:
	add	DWORD PTR -236[rbp], 1
	mov	rax, QWORD PTR -200[rbp]
	lea	rcx, -54301[rax]
	mov	eax, DWORD PTR -232[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L59
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 374
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L59:
	add	DWORD PTR -236[rbp], 1
	mov	DWORD PTR -240[rbp], 0
	jmp	.L60
.L63:
	lea	rcx, -241[rbp]
	mov	eax, DWORD PTR -232[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 1
	je	.L61
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 382
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L61:
	mov	eax, DWORD PTR -240[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	movzx	eax, BYTE PTR -241[rbp]
	cmp	dl, al
	je	.L62
	mov	esi, 386
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L62:
	add	DWORD PTR -236[rbp], 1
	add	DWORD PTR -240[rbp], 1
.L60:
	cmp	DWORD PTR -240[rbp], 678906
	jle	.L63
	mov	DWORD PTR -240[rbp], 0
	jmp	.L64
.L67:
	lea	rcx, -241[rbp]
	mov	eax, DWORD PTR -232[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 1
	je	.L65
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 394
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L65:
	movzx	eax, BYTE PTR -241[rbp]
	test	al, al
	je	.L66
	mov	esi, 398
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L66:
	add	DWORD PTR -236[rbp], 1
	add	DWORD PTR -240[rbp], 1
.L64:
	cmp	DWORD PTR -240[rbp], 1233
	jle	.L67
	mov	eax, DWORD PTR -232[rbp]
	mov	edi, eax
	call	close@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	jns	.L68
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 405
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L68:
	add	DWORD PTR -236[rbp], 1
	lea	rax, -176[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	gettimeofday@PLT
	mov	rdx, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR -184[rbp]
	cmp	rdx, rax
	jge	.L69
	mov	rax, QWORD PTR -168[rbp]
	add	rax, 1000000
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -176[rbp]
	sub	rax, 1
	mov	QWORD PTR -176[rbp], rax
.L69:
	mov	rax, QWORD PTR -176[rbp]
	mov	rcx, QWORD PTR -192[rbp]
	sub	rax, rcx
	mov	rdx, rax
	mov	eax, DWORD PTR -236[rbp]
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L71
	call	__stack_chk_fail@PLT
.L71:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"126702463.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: a.out filename initial-size\000"
	.align	2
.LC1:
	.ascii	"The initial size of the file is too small (< 4096)!"
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"Create fails with errno = %d at line %d\012\000"
	.align	2
.LC3:
	.ascii	"File %s has been created successfully at line %d.\012"
	.ascii	"\000"
	.align	2
.LC4:
	.ascii	"Truncate fails with errno = %d at line %d\012\000"
	.align	2
.LC5:
	.ascii	"Seek fails with errno = %d at line %d\012\000"
	.align	2
.LC6:
	.ascii	"Write fails with errno = %d at line %d\012\000"
	.align	2
.LC7:
	.ascii	"Close fails with errno = %d at line %d\012\000"
	.align	2
.LC8:
	.ascii	"Stat fails with errno = %d at line %d\012\000"
	.align	2
.LC9:
	.ascii	"Unexpected file size = %ld at line %d\012\000"
	.align	2
.LC10:
	.ascii	"Open fails with errno = %d at line %d\012\000"
	.align	2
.LC11:
	.ascii	"File %s has been opened successfully at line %d.\012"
	.ascii	"\000"
	.align	2
.LC12:
	.ascii	"File %s has been truncated successfully at line %d."
	.ascii	"\012\000"
	.align	2
.LC13:
	.ascii	"Read fails with errno = %d at line %d\012\000"
	.align	2
.LC14:
	.ascii	"Unexpected bytes returned = %d at line %d\012\000"
	.align	2
.LC15:
	.ascii	"Unexpected file contents detected at line %d.\012\000"
	.align	2
.LC16:
	.ascii	"File %s has been read successfully at line %d.\012\000"
	.align	2
.LC17:
	.ascii	"File %s has been written successfully at line %d.\012"
	.ascii	"\000"
	.align	2
.LC18:
	.ascii	"Now perform a series of truncations to shorten the "
	.ascii	"file %s...\012\000"
	.align	2
.LC19:
	.ascii	"fsync fails with errno = %d at line %d\012\000"
	.align	2
.LC20:
	.ascii	"Now perform a series of truncations to length the f"
	.ascii	"ile %s...\012\000"
	.align	2
.LC21:
	.ascii	"Now perform final round of operations around a trun"
	.ascii	"cation point ...\000"
	.align	2
.LC22:
	.ascii	"\012All %d tests has passed successfully in %ld sec"
	.ascii	"onds!\012\000"
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #160
	str	r0, [fp, #-160]
	str	r1, [fp, #-164]
	ldr	r3, .L72
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-160]
	cmp	r3, #3
	beq	.L2
	ldr	r0, .L72+4
	bl	puts
	mov	r0, #0
	bl	exit
.L2:
	ldr	r3, [fp, #-164]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-164]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atol
	str	r0, [fp, #-136]
	ldr	r3, [fp, #-136]
	cmp	r3, #4096
	bge	.L3
	ldr	r0, .L72+8
	bl	puts
	mov	r0, #0
	bl	exit
.L3:
	sub	r3, fp, #116
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r0, .L72+12
	bl	srandom
	mov	r0, #134217728
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-132]
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L4
.L5:
	bl	random
	mov	r1, r0
	ldr	r3, [fp, #-148]
	ldr	r2, [fp, #-132]
	add	r3, r2, r3
	and	r2, r1, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L4:
	ldr	r3, [fp, #-148]
	cmn	r3, #-134217727
	ble	.L5
	mov	r2, #384
	ldr	r1, .L72+16
	ldr	r0, [fp, #-140]
	bl	open
	str	r0, [fp, #-128]
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bge	.L6
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #47
	mov	r1, r3
	ldr	r0, .L72+20
	bl	printf
	mov	r0, #0
	bl	exit
.L6:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	mov	r2, #51
	ldr	r1, [fp, #-140]
	ldr	r0, .L72+24
	bl	printf
	ldr	r1, [fp, #-136]
	ldr	r0, [fp, #-128]
	bl	ftruncate
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L7
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #55
	mov	r1, r3
	ldr	r0, .L72+28
	bl	printf
	mov	r0, #0
	bl	exit
.L7:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-136]
	sub	r3, r3, #1232
	sub	r3, r3, #2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-128]
	bl	lseek
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L8
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #62
	mov	r1, r3
	ldr	r0, .L72+32
	bl	printf
	mov	r0, #0
	bl	exit
.L8:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	mov	r2, #4096
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-128]
	bl	write
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #4096
	beq	.L9
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #70
	mov	r1, r3
	ldr	r0, .L72+36
	bl	printf
	mov	r0, #0
	bl	exit
.L9:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r0, [fp, #-128]
	bl	close
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L10
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #80
	mov	r1, r3
	ldr	r0, .L72+204
	bl	printf
	mov	r0, #0
	bl	exit
.L10:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-140]
	bl	stat
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L11
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #87
	mov	r1, r3
	ldr	r0, .L72+40
	bl	printf
	mov	r0, #0
	bl	exit
.L11:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-136]
	add	r3, r3, #2848
	add	r3, r3, #14
	cmp	r2, r3
	beq	.L12
	ldr	r3, [fp, #-56]
	mov	r2, #91
	mov	r1, r3
	ldr	r0, .L72+44
	bl	printf
	mov	r0, #0
	bl	exit
.L12:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	mov	r2, #384
	mov	r1, #2
	ldr	r0, [fp, #-140]
	bl	open
	str	r0, [fp, #-128]
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bge	.L13
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #98
	mov	r1, r3
	ldr	r0, .L72+48
	bl	printf
	mov	r0, #0
	bl	exit
.L13:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	mov	r2, #102
	ldr	r1, [fp, #-140]
	ldr	r0, .L72+52
	bl	printf
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-128]
	bl	fstat
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bge	.L14
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #106
	mov	r1, r3
	ldr	r0, .L72+40
	bl	printf
	mov	r0, #0
	bl	exit
.L14:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-136]
	add	r3, r3, #2848
	add	r3, r3, #14
	cmp	r2, r3
	beq	.L15
	ldr	r3, [fp, #-56]
	mov	r2, #110
	mov	r1, r3
	ldr	r0, .L72+44
	bl	printf
	mov	r0, #0
	bl	exit
.L15:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	mov	r1, #1024
	ldr	r0, [fp, #-128]
	bl	ftruncate
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L16
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #118
	mov	r1, r3
	ldr	r0, .L72+28
	bl	printf
	mov	r0, #0
	bl	exit
.L16:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	mov	r2, #122
	ldr	r1, [fp, #-140]
	ldr	r0, .L72+56
	bl	printf
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-128]
	bl	lseek
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L17
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #126
	mov	r1, r3
	ldr	r0, .L72+32
	bl	printf
	mov	r0, #0
	bl	exit
.L17:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	mov	r2, #10240
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-128]
	bl	read
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L18
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #133
	mov	r1, r3
	ldr	r0, .L72+184
	bl	printf
	mov	r0, #0
	bl	exit
.L18:
	ldr	r3, [fp, #-124]
	cmp	r3, #1024
	beq	.L19
	mov	r2, #137
	ldr	r1, [fp, #-124]
	ldr	r0, .L72+60
	bl	printf
	mov	r0, #0
	bl	exit
.L19:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L20
.L22:
	ldr	r3, [fp, #-148]
	ldr	r2, [fp, #-132]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L21
	mov	r1, #144
	ldr	r0, .L72+192
	bl	printf
	mov	r0, #0
	bl	exit
.L21:
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L20:
	ldr	r2, [fp, #-148]
	ldr	r3, [fp, #-124]
	cmp	r2, r3
	blt	.L22
	mov	r2, #148
	ldr	r1, [fp, #-140]
	ldr	r0, .L72+64
	bl	printf
	mov	r1, #1000
	ldr	r0, [fp, #-128]
	bl	ftruncate
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L23
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #152
	mov	r1, r3
	ldr	r0, .L72+28
	bl	printf
	mov	r0, #0
	bl	exit
.L23:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	mov	r2, #156
	ldr	r1, [fp, #-140]
	ldr	r0, .L72+56
	bl	printf
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-140]
	bl	stat
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L24
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #160
	mov	r1, r3
	ldr	r0, .L72+40
	bl	printf
	mov	r0, #0
	bl	exit
.L24:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-56]
	cmp	r3, #1000
	beq	.L25
	ldr	r3, [fp, #-56]
	mov	r2, #166
	mov	r1, r3
	ldr	r0, .L72+44
	bl	printf
	mov	r0, #0
	bl	exit
.L25:
	mov	r1, #234
	ldr	r0, [fp, #-128]
	bl	ftruncate
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L26
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #174
	mov	r1, r3
	ldr	r0, .L72+28
	bl	printf
	mov	r0, #0
	bl	exit
.L26:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-140]
	bl	stat
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L27
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #181
	mov	r1, r3
	ldr	r0, .L72+40
	bl	printf
	mov	r0, #0
	bl	exit
.L27:
	ldr	r3, [fp, #-56]
	cmp	r3, #234
	beq	.L28
	ldr	r3, [fp, #-56]
	mov	r2, #185
	mov	r1, r3
	ldr	r0, .L72+44
	bl	printf
	mov	r0, #0
	bl	exit
.L28:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r1, .L72+68
	ldr	r0, [fp, #-128]
	bl	ftruncate
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L29
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #192
	mov	r1, r3
	ldr	r0, .L72+28
	bl	printf
	mov	r0, #0
	bl	exit
.L29:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-140]
	bl	stat
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L30
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #199
	mov	r1, r3
	ldr	r0, .L72+40
	bl	printf
	mov	r0, #0
	bl	exit
.L30:
	ldr	r3, [fp, #-56]
	ldr	r2, .L72+68
	cmp	r3, r2
	beq	.L31
	ldr	r3, [fp, #-56]
	mov	r2, #203
	mov	r1, r3
	ldr	r0, .L72+44
	bl	printf
	mov	r0, #0
	bl	exit
.L31:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-128]
	bl	lseek
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L32
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #210
	mov	r1, r3
	ldr	r0, .L72+32
	bl	printf
	mov	r0, #0
	bl	exit
.L32:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r2, .L72+68
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-128]
	bl	write
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	ldr	r2, .L72+68
	cmp	r3, r2
	beq	.L33
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #217
	mov	r1, r3
	ldr	r0, .L72+36
	bl	printf
	mov	r0, #0
	bl	exit
.L33:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	mov	r2, #134217728
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-128]
	bl	write
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #134217728
	beq	.L34
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #224
	mov	r1, r3
	ldr	r0, .L72+36
	bl	printf
	mov	r0, #0
	bl	exit
.L34:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	mov	r2, #134217728
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-128]
	bl	write
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #134217728
	beq	.L35
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #231
	mov	r1, r3
	ldr	r0, .L72+36
	bl	printf
	mov	r0, #0
	bl	exit
.L35:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-128]
	bl	fstat
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L36
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #238
	mov	r1, r3
	ldr	r0, .L72+40
	bl	printf
	mov	r0, #0
	bl	exit
.L36:
	ldr	r3, [fp, #-56]
	ldr	r2, .L72+72
	cmp	r3, r2
	beq	.L37
	ldr	r3, [fp, #-56]
	mov	r2, #242
	mov	r1, r3
	ldr	r0, .L72+44
	bl	printf
	mov	r0, #0
	bl	exit
.L37:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	mov	r2, #246
	ldr	r1, [fp, #-140]
	ldr	r0, .L72+76
	bl	printf
	ldr	r0, [fp, #-128]
	bl	close
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L38
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #250
	mov	r1, r3
	ldr	r0, .L72+204
	bl	printf
	mov	r0, #0
	bl	exit
.L38:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r1, [fp, #-140]
	ldr	r0, .L72+80
	bl	printf
	ldr	r3, .L72+68
	str	r3, [fp, #-148]
	b	.L39
.L45:
	ldr	r1, [fp, #-148]
	ldr	r0, [fp, #-140]
	bl	truncate
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L40
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L72+84
	mov	r1, r3
	ldr	r0, .L72+28
	bl	printf
	mov	r0, #0
	bl	exit
.L40:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	mov	r2, #384
	mov	r1, #2
	ldr	r0, [fp, #-140]
	bl	open
	str	r0, [fp, #-128]
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bge	.L41
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L72+88
	mov	r1, r3
	ldr	r0, .L72+20
	bl	printf
	mov	r0, #0
	bl	exit
.L41:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r2, .L72+92
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-128]
	bl	write
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	ldr	r2, .L72+92
	cmp	r3, r2
	beq	.L42
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L72+96
	mov	r1, r3
	ldr	r0, .L72+36
	bl	printf
	mov	r0, #0
	bl	exit
.L42:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r0, [fp, #-128]
	bl	fsync
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L43
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #280
	mov	r1, r3
	ldr	r0, .L72+100
	bl	printf
	mov	r0, #0
	bl	exit
.L43:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r0, [fp, #-128]
	bl	close
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L44
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L72+104
	mov	r1, r3
	ldr	r0, .L72+204
	bl	printf
	mov	r0, #0
	bl	exit
.L44:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-148]
	sub	r3, r3, #2736
	sub	r3, r3, #13
	str	r3, [fp, #-148]
.L39:
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bge	.L45
	ldr	r1, [fp, #-140]
	ldr	r0, .L72+108
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L46
.L52:
	ldr	r1, [fp, #-148]
	ldr	r0, [fp, #-140]
	bl	truncate
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L47
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L72+112
	mov	r1, r3
	ldr	r0, .L72+28
	bl	printf
	mov	r0, #0
	bl	exit
.L47:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	mov	r2, #384
	mov	r1, #2
	ldr	r0, [fp, #-140]
	bl	open
	str	r0, [fp, #-128]
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bge	.L48
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #304
	mov	r1, r3
	ldr	r0, .L72+20
	bl	printf
	mov	r0, #0
	bl	exit
.L48:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r2, .L72+116
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-128]
	bl	write
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	ldr	r2, .L72+116
	cmp	r3, r2
	beq	.L49
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L72+120
	mov	r1, r3
	ldr	r0, .L72+36
	bl	printf
	mov	r0, #0
	bl	exit
.L49:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r0, [fp, #-128]
	bl	fsync
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L50
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L72+124
	mov	r1, r3
	ldr	r0, .L72+100
	bl	printf
	mov	r0, #0
	bl	exit
.L50:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r0, [fp, #-128]
	bl	close
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L51
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L72+128
	mov	r1, r3
	ldr	r0, .L72+204
	bl	printf
	mov	r0, #0
	bl	exit
.L51:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-148]
	add	r3, r3, #54272
	add	r3, r3, #29
	str	r3, [fp, #-148]
.L46:
	ldr	r3, [fp, #-148]
	ldr	r2, .L72+132
	cmp	r3, r2
	ble	.L52
	ldr	r3, [fp, #-148]
	sub	r3, r3, #54272
	sub	r3, r3, #29
	str	r3, [fp, #-120]
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-140]
	bl	stat
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L53
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L72+136
	mov	r1, r3
	ldr	r0, .L72+40
	bl	printf
	mov	r0, #0
	bl	exit
.L53:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-120]
	cmp	r2, r3
	beq	.L54
	ldr	r3, [fp, #-56]
	ldr	r2, .L72+140
	mov	r1, r3
	ldr	r0, .L72+44
	bl	printf
	mov	r0, #0
	bl	exit
.L54:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r0, .L72+144
	bl	puts
	mov	r2, #384
	mov	r1, #2
	ldr	r0, [fp, #-140]
	bl	open
	str	r0, [fp, #-128]
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bge	.L55
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L72+148
	mov	r1, r3
	ldr	r0, .L72+20
	bl	printf
	mov	r0, #0
	bl	exit
.L55:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-120]
	sub	r3, r3, #54272
	sub	r3, r3, #29
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-128]
	bl	lseek
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L56
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L72+152
	mov	r1, r3
	ldr	r0, .L72+32
	bl	printf
	mov	r0, #0
	bl	exit
.L56:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r2, .L72+156
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-128]
	bl	write
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	ldr	r2, .L72+156
	cmp	r3, r2
	beq	.L57
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #360
	mov	r1, r3
	ldr	r0, .L72+36
	bl	printf
	mov	r0, #0
	bl	exit
.L57:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-120]
	add	r3, r3, #622592
	add	r3, r3, #3248
	mov	r1, r3
	ldr	r0, [fp, #-140]
	bl	truncate
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L58
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L72+160
	mov	r1, r3
	ldr	r0, .L72+28
	bl	printf
	mov	r0, #0
	bl	exit
.L58:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-120]
	sub	r3, r3, #54272
	sub	r3, r3, #29
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-128]
	bl	lseek
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L59
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L72+164
	mov	r1, r3
	ldr	r0, .L72+32
	bl	printf
	mov	r0, #0
	bl	exit
.L59:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L60
.L63:
	sub	r3, fp, #149
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-128]
	bl	read
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #1
	beq	.L61
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L72+168
	mov	r1, r3
	ldr	r0, .L72+184
	bl	printf
	mov	r0, #0
	bl	exit
.L73:
	.align	2
.L72:
	.word	.LC23
	.word	.LC0
	.word	.LC1
	.word	1234
	.word	578
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC14
	.word	.LC16
	.word	23400
	.word	268458856
	.word	.LC17
	.word	.LC18
	.word	259
	.word	266
	.word	12345
	.word	273
	.word	.LC19
	.word	287
	.word	.LC20
	.word	297
	.word	76543
	.word	311
	.word	318
	.word	325
	.word	123456789
	.word	334
	.word	338
	.word	.LC21
	.word	346
	.word	353
	.word	678907
	.word	367
	.word	374
	.word	382
	.word	386
	.word	678906
	.word	394
	.word	.LC13
	.word	398
	.word	.LC15
	.word	1233
	.word	405
	.word	.LC7
	.word	.LC22
	.word	.LC23
.L61:
	ldr	r3, [fp, #-148]
	ldr	r2, [fp, #-132]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-149]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L62
	ldr	r1, .L72+172
	ldr	r0, .L72+192
	bl	printf
	mov	r0, #0
	bl	exit
.L62:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L60:
	ldr	r3, [fp, #-148]
	ldr	r2, .L72+176
	cmp	r3, r2
	ble	.L63
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L64
.L67:
	sub	r3, fp, #149
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-128]
	bl	read
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #1
	beq	.L65
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L72+180
	mov	r1, r3
	ldr	r0, .L72+184
	bl	printf
	mov	r0, #0
	bl	exit
.L65:
	ldrb	r3, [fp, #-149]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L66
	ldr	r1, .L72+188
	ldr	r0, .L72+192
	bl	printf
	mov	r0, #0
	bl	exit
.L66:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L64:
	ldr	r3, [fp, #-148]
	ldr	r2, .L72+196
	cmp	r3, r2
	ble	.L67
	ldr	r0, [fp, #-128]
	bl	close
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L68
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L72+200
	mov	r1, r3
	ldr	r0, .L72+204
	bl	printf
	mov	r0, #0
	bl	exit
.L68:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	sub	r3, fp, #108
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	bge	.L69
	ldr	r3, [fp, #-104]
	add	r3, r3, #999424
	add	r3, r3, #576
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-108]
	sub	r3, r3, #1
	str	r3, [fp, #-108]
.L69:
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-116]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-144]
	ldr	r0, .L72+208
	bl	printf
	mov	r3, #0
	ldr	r2, .L72+212
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L71
	bl	__stack_chk_fail
.L71:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
