	.file	"408432.c"
	.intel_syntax noprefix
	.text
	.local	program_name
	.comm	program_name,8,8
	.local	read_records
	.comm	read_records,8,8
	.data
	.align 4
	.type	block_size, @object
	.size	block_size, 4
block_size:
	.long	512
	.local	ifd
	.comm	ifd,4,4
	.local	buffer
	.comm	buffer,8,8
	.local	bignumber
	.comm	bignumber,8,8
	.local	buffer_time
	.comm	buffer_time,8,8
	.local	first_time
	.comm	first_time,8,8
	.section	.rodata
.LC0:
	.string	"%s %llu buffers\n"
	.text
	.type	stats, @function
stats:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rcx, QWORD PTR read_records[rip]
	mov	rdx, QWORD PTR program_name[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	stats, .-stats
	.type	terminate, @function
terminate:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	call	stats
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.size	terminate, .-terminate
	.section	.rodata
.LC1:
	.string	"bs="
.LC2:
	.string	"%s: bad character on bs: %c\n"
	.align 8
.LC3:
	.string	"Bad char in bs= number parsing: %c\n"
.LC4:
	.string	"if="
.LC5:
	.string	"%s: bad argument: %s\n"
.LC6:
	.string	"-"
	.text
	.type	parse_args, @function
parse_args:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -8[rbp], 0
	mov	DWORD PTR -20[rbp], 1
	jmp	.L4
.L20:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, 3
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L5
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 3
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR block_size[rip], 0
	jmp	.L6
.L8:
	mov	edx, DWORD PTR block_size[rip]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	ecx, eax
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	add	eax, ecx
	mov	DWORD PTR block_size[rip], eax
.L6:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L7
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jle	.L8
.L7:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 103
	je	.L9
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 71
	jne	.L10
.L9:
	mov	eax, DWORD PTR block_size[rip]
	sal	eax, 30
	mov	DWORD PTR block_size[rip], eax
	add	QWORD PTR -16[rbp], 1
	jmp	.L11
.L10:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 109
	je	.L12
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 77
	jne	.L13
.L12:
	mov	eax, DWORD PTR block_size[rip]
	sal	eax, 20
	mov	DWORD PTR block_size[rip], eax
	add	QWORD PTR -16[rbp], 1
	jmp	.L11
.L13:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 107
	je	.L14
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 75
	jne	.L15
.L14:
	mov	eax, DWORD PTR block_size[rip]
	sal	eax, 10
	mov	DWORD PTR block_size[rip], eax
	add	QWORD PTR -16[rbp], 1
	jmp	.L11
.L15:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 98
	je	.L16
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 66
	jne	.L17
.L16:
	mov	eax, DWORD PTR block_size[rip]
	sal	eax, 9
	mov	DWORD PTR block_size[rip], eax
	add	QWORD PTR -16[rbp], 1
	jmp	.L11
.L17:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L11
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	ecx, al
	mov	rdx, QWORD PTR program_name[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L11:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L18
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, 3
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L19
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 3
	mov	QWORD PTR -8[rbp], rax
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rdx, QWORD PTR program_name[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	add	DWORD PTR -20[rbp], 1
.L4:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L20
	cmp	QWORD PTR -8[rbp], 0
	je	.L21
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L21
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 16384
	mov	esi, 438
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR ifd[rip], eax
	mov	eax, DWORD PTR ifd[rip]
	test	eax, eax
	jns	.L22
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L22:
	mov	eax, DWORD PTR ifd[rip]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	lseek64@PLT
	jmp	.L24
.L21:
	mov	edi, 0
	call	dup@PLT
	mov	DWORD PTR ifd[rip], eax
	mov	eax, DWORD PTR ifd[rip]
	test	eax, eax
	jns	.L24
	mov	rax, QWORD PTR program_name[rip]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L24:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	parse_args, .-parse_args
	.section	.rodata
.LC7:
	.string	"%s: valloc failed\n"
	.text
	.type	initialize_buffer, @function
initialize_buffer:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR block_size[rip]
	cdqe
	mov	rdi, rax
	call	valloc@PLT
	mov	QWORD PTR buffer[rip], rax
	mov	rax, QWORD PTR buffer[rip]
	test	rax, rax
	jne	.L26
	mov	rdx, QWORD PTR program_name[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L26:
	mov	rax, QWORD PTR buffer[rip]
	mov	QWORD PTR bignumber[rip], rax
	mov	rax, QWORD PTR buffer[rip]
	add	rax, 8
	mov	QWORD PTR buffer_time[rip], rax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	initialize_buffer, .-initialize_buffer
	.section	.rodata
.LC8:
	.string	"read"
	.align 8
.LC9:
	.string	"ERROR, read block %llu, value=%llu,  first_time=%ld, current_block_time=%ld\n"
	.text
	.type	readfrom, @function
readfrom:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	sal	rax, 9
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR ifd[rip]
	mov	rcx, QWORD PTR -16[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek64@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jns	.L28
	mov	eax, -1
	jmp	.L29
.L28:
	mov	eax, DWORD PTR block_size[rip]
	movsx	rdx, eax
	mov	rcx, QWORD PTR buffer[rip]
	mov	eax, DWORD PTR ifd[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L30
	mov	eax, -1
	jmp	.L29
.L30:
	mov	eax, DWORD PTR block_size[rip]
	cdqe
	cmp	QWORD PTR -8[rbp], rax
	je	.L31
	lea	rdi, .LC8[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L29
.L31:
	mov	rax, QWORD PTR read_records[rip]
	test	rax, rax
	jne	.L32
	mov	rax, QWORD PTR buffer_time[rip]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR first_time[rip], rax
.L32:
	mov	rax, QWORD PTR bignumber[rip]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR read_records[rip]
	add	rdx, 1
	cmp	rax, rdx
	jne	.L33
	mov	rax, QWORD PTR buffer_time[rip]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR first_time[rip]
	cmp	rdx, rax
	je	.L34
.L33:
	mov	rax, QWORD PTR buffer_time[rip]
	mov	rdi, QWORD PTR [rax]
	mov	rcx, QWORD PTR first_time[rip]
	mov	rax, QWORD PTR bignumber[rip]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR read_records[rip]
	lea	rsi, 1[rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	r9, rdi
	mov	r8, rcx
	mov	rcx, rdx
	mov	rdx, rsi
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 2
	jmp	.L29
.L34:
	mov	rax, QWORD PTR read_records[rip]
	add	rax, 1
	mov	QWORD PTR read_records[rip], rax
	mov	eax, 0
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	readfrom, .-readfrom
	.section	.rodata
.LC10:
	.string	"lseek64 to find end"
	.align 8
.LC11:
	.string	"lseek64 return %llu bytes, %llu blocks\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR program_name[rip], rax
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	parse_args
	call	initialize_buffer
	mov	esi, 1
	mov	edi, 2
	call	signal@PLT
	cmp	rax, 1
	je	.L36
	lea	rsi, terminate[rip]
	mov	edi, 2
	call	signal@PLT
.L36:
	mov	QWORD PTR read_records[rip], 0
	cmp	DWORD PTR -12[rbp], 0
	jne	.L37
	mov	edi, 0
	call	readfrom
	mov	DWORD PTR -12[rbp], eax
.L37:
	cmp	DWORD PTR -12[rbp], 0
	jne	.L38
	mov	edi, 1
	call	readfrom
	mov	DWORD PTR -12[rbp], eax
.L38:
	cmp	DWORD PTR -12[rbp], 0
	jne	.L39
	mov	edi, 2
	call	readfrom
	mov	DWORD PTR -12[rbp], eax
.L39:
	cmp	DWORD PTR -12[rbp], 0
	jne	.L40
	mov	QWORD PTR -8[rbp], 4
	jmp	.L41
.L45:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, 1
	mov	rdi, rax
	call	readfrom
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jne	.L49
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	readfrom
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jne	.L50
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	mov	rdi, rax
	call	readfrom
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jne	.L51
	sal	QWORD PTR -8[rbp]
.L41:
	movabs	rax, 34359738368
	cmp	QWORD PTR -8[rbp], rax
	jle	.L45
	jmp	.L40
.L49:
	nop
	jmp	.L40
.L50:
	nop
	jmp	.L40
.L51:
	nop
.L40:
	mov	eax, DWORD PTR ifd[rip]
	mov	edx, 2
	mov	esi, 0
	mov	edi, eax
	call	lseek64@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jns	.L46
	lea	rdi, .LC10[rip]
	call	perror@PLT
	jmp	.L47
.L46:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 511[rax]
	test	rax, rax
	cmovs	rax, rdx
	sar	rax, 9
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 511[rax]
	test	rax, rax
	cmovs	rax, rdx
	sar	rax, 9
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, 1
	mov	rdi, rax
	call	readfrom
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jne	.L48
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	readfrom
	mov	DWORD PTR -12[rbp], eax
.L48:
	cmp	DWORD PTR -12[rbp], 0
	jne	.L47
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	mov	rdi, rax
	call	readfrom
	mov	DWORD PTR -12[rbp], eax
.L47:
	call	stats
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	exit@PLT
	.cfi_endproc
.LFE11:
	.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	"408432.c"
	.text
	.local	program_name
	.comm	program_name,4,4
	.local	read_records
	.comm	read_records,8,8
	.data
	.align	2
	.type	block_size, %object
	.size	block_size, 4
block_size:
	.word	512
	.local	ifd
	.comm	ifd,4,4
	.local	buffer
	.comm	buffer,4,4
	.local	bignumber
	.comm	bignumber,4,4
	.local	buffer_time
	.comm	buffer_time,4,4
	.local	first_time
	.comm	first_time,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s %llu buffers\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stats, %function
stats:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L2
	ldr	r0, [r3]
	ldr	r3, .L2+4
	ldr	r1, [r3]
	ldr	r3, .L2+8
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r1
	ldr	r1, .L2+12
	bl	fprintf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	stderr
	.word	program_name
	.word	read_records
	.word	.LC0
	.size	stats, .-stats
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	terminate, %function
terminate:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	bl	stats
	ldr	r0, [fp, #-8]
	bl	exit
	.size	terminate, .-terminate
	.section	.rodata
	.align	2
.LC1:
	.ascii	"bs=\000"
	.align	2
.LC2:
	.ascii	"%s: bad character on bs: %c\012\000"
	.align	2
.LC3:
	.ascii	"Bad char in bs= number parsing: %c\012\000"
	.align	2
.LC4:
	.ascii	"if=\000"
	.align	2
.LC5:
	.ascii	"%s: bad argument: %s\012\000"
	.align	2
.LC6:
	.ascii	"-\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_args, %function
parse_args:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L6
.L22:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #3
	ldr	r1, .L27
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #3
	str	r3, [fp, #-12]
	ldr	r3, .L27+4
	mov	r2, #0
	str	r2, [r3]
	b	.L8
.L10:
	ldr	r3, .L27+4
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	add	r3, r1, r3
	ldr	r2, .L27+4
	str	r3, [r2]
.L8:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L9
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L10
.L9:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #103
	beq	.L11
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #71
	bne	.L12
.L11:
	ldr	r3, .L27+4
	ldr	r3, [r3]
	lsl	r3, r3, #30
	ldr	r2, .L27+4
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L13
.L12:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #109
	beq	.L14
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #77
	bne	.L15
.L14:
	ldr	r3, .L27+4
	ldr	r3, [r3]
	lsl	r3, r3, #20
	ldr	r2, .L27+4
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L13
.L15:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #107
	beq	.L16
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #75
	bne	.L17
.L16:
	ldr	r3, .L27+4
	ldr	r3, [r3]
	lsl	r3, r3, #10
	ldr	r2, .L27+4
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L13
.L17:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #98
	beq	.L18
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #66
	bne	.L19
.L18:
	ldr	r3, .L27+4
	ldr	r3, [r3]
	lsl	r3, r3, #9
	ldr	r2, .L27+4
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L13
.L19:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L13
	ldr	r3, .L27+8
	ldr	r0, [r3]
	ldr	r3, .L27+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r1, .L27+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L13:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L20
	ldr	r3, .L27+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, .L27+20
	bl	fprintf
	mov	r0, #1
	bl	exit
.L7:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #3
	ldr	r1, .L27+24
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #3
	str	r3, [fp, #-8]
	b	.L20
.L21:
	ldr	r3, .L27+8
	ldr	r0, [r3]
	ldr	r3, .L27+12
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r1
	ldr	r1, .L27+28
	bl	fprintf
	mov	r0, #1
	bl	exit
.L20:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L6:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L22
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L23
	ldr	r1, .L27+32
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	mov	r2, #196608
	ldr	r1, .L27+36
	ldr	r0, [fp, #-8]
	bl	open
	mov	r3, r0
	ldr	r2, .L27+40
	str	r3, [r2]
	ldr	r3, .L27+40
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L24
	ldr	r0, [fp, #-8]
	bl	perror
	mov	r0, #1
	bl	exit
.L24:
	ldr	r3, .L27+40
	ldr	r1, [r3]
	mov	r3, #0
	str	r3, [sp]
	mov	r2, #0
	mov	r3, #0
	mov	r0, r1
	bl	lseek64
	b	.L26
.L23:
	mov	r0, #0
	bl	dup
	mov	r3, r0
	ldr	r2, .L27+40
	str	r3, [r2]
	ldr	r3, .L27+40
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L26
	ldr	r3, .L27+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	mov	r0, #1
	bl	exit
.L26:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC1
	.word	block_size
	.word	stderr
	.word	program_name
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	438
	.word	ifd
	.size	parse_args, .-parse_args
	.section	.rodata
	.align	2
.LC7:
	.ascii	"%s: valloc failed\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	initialize_buffer, %function
initialize_buffer:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L31
	ldr	r3, [r3]
	mov	r0, r3
	bl	valloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L31+4
	str	r2, [r3]
	ldr	r3, .L31+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L30
	ldr	r3, .L31+8
	ldr	r3, [r3]
	ldr	r2, .L31+12
	ldr	r2, [r2]
	ldr	r1, .L31+16
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L30:
	ldr	r3, .L31+4
	ldr	r3, [r3]
	ldr	r2, .L31+20
	str	r3, [r2]
	ldr	r3, .L31+4
	ldr	r3, [r3]
	add	r3, r3, #8
	ldr	r2, .L31+24
	str	r3, [r2]
	nop
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	block_size
	.word	buffer
	.word	stderr
	.word	program_name
	.word	.LC7
	.word	bignumber
	.word	buffer_time
	.size	initialize_buffer, .-initialize_buffer
	.section	.rodata
	.align	2
.LC8:
	.ascii	"read\000"
	.align	2
.LC9:
	.ascii	"ERROR, read block %llu, value=%llu,  first_time=%ld"
	.ascii	", current_block_time=%ld\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	readfrom, %function
readfrom:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #40
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #9
	orr	r3, r3, r0, lsr #23
	lsl	r2, r0, #9
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, .L41
	ldr	r1, [r3]
	mov	r3, #0
	str	r3, [sp]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	mov	r0, r1
	bl	lseek64
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r2, #0
	sbcs	r3, r3, #0
	bge	.L34
	mvn	r3, #0
	b	.L35
.L34:
	ldr	r3, .L41
	ldr	r3, [r3]
	ldr	r2, .L41+4
	ldr	r1, [r2]
	ldr	r2, .L41+8
	ldr	r2, [r2]
	mov	r0, r3
	bl	read
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L36
	mvn	r3, #0
	b	.L35
.L36:
	ldr	r3, .L41+8
	ldr	r3, [r3]
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	cmp	r1, r3
	cmpeq	r0, r2
	beq	.L37
	ldr	r0, .L41+12
	bl	perror
	mvn	r3, #0
	b	.L35
.L37:
	ldr	r3, .L41+16
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L38
	ldr	r3, .L41+20
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L41+24
	str	r3, [r2]
.L38:
	ldr	r3, .L41+28
	ldr	r3, [r3]
	ldmia	r3, {r0-r1}
	ldr	r3, .L41+16
	ldmia	r3, {r2-r3}
	adds	r6, r2, #1
	adc	r7, r3, #0
	cmp	r1, r7
	cmpeq	r0, r6
	bne	.L39
	ldr	r3, .L41+20
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, .L41+24
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L40
.L39:
	ldr	r3, .L41+32
	ldr	ip, [r3]
	ldr	r3, .L41+16
	ldmia	r3, {r2-r3}
	adds	r8, r2, #1
	adc	r9, r3, #0
	ldr	r3, .L41+28
	ldr	r3, [r3]
	ldmia	r3, {r2-r3}
	ldr	r1, .L41+24
	ldr	r1, [r1]
	ldr	r0, .L41+20
	ldr	r0, [r0]
	ldr	r0, [r0]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	stm	sp, {r2-r3}
	mov	r2, r8
	mov	r3, r9
	ldr	r1, .L41+36
	mov	r0, ip
	bl	fprintf
	mov	r3, #2
	b	.L35
.L40:
	ldr	r3, .L41+16
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	ldr	r3, .L41+16
	stm	r3, {r4-r5}
	mov	r3, #0
.L35:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L42:
	.align	2
.L41:
	.word	ifd
	.word	buffer
	.word	block_size
	.word	.LC8
	.word	read_records
	.word	buffer_time
	.word	first_time
	.word	bignumber
	.word	stderr
	.word	.LC9
	.size	readfrom, .-readfrom
	.section	.rodata
	.align	2
.LC10:
	.ascii	"lseek64 to find end\000"
	.align	2
.LC11:
	.ascii	"lseek64 return %llu bytes, %llu blocks\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #80
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-52]
	ldr	r2, [r3]
	ldr	r3, .L60
	str	r2, [r3]
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-48]
	bl	parse_args
	bl	initialize_buffer
	mov	r1, #1
	mov	r0, #2
	bl	signal
	mov	r3, r0
	cmp	r3, #1
	beq	.L44
	ldr	r1, .L60+4
	mov	r0, #2
	bl	signal
.L44:
	ldr	r1, .L60+8
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L45
	mov	r0, #0
	mov	r1, #0
	bl	readfrom
	str	r0, [fp, #-40]
.L45:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L46
	mov	r0, #1
	mov	r1, #0
	bl	readfrom
	str	r0, [fp, #-40]
.L46:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L47
	mov	r0, #2
	mov	r1, #0
	bl	readfrom
	str	r0, [fp, #-40]
.L47:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L48
	mov	r2, #4
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	b	.L49
.L53:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	subs	r1, r2, #1
	str	r1, [fp, #-60]
	sbc	r3, r3, #0
	str	r3, [fp, #-56]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	readfrom
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L57
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	readfrom
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L58
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-68]
	adc	r3, r3, #0
	str	r3, [fp, #-64]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	readfrom
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L59
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	adds	r4, r2, r2
	adc	r5, r3, r3
	str	r4, [fp, #-36]
	str	r5, [fp, #-32]
.L49:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r2, #1
	sbcs	r3, r3, #8
	blt	.L53
	b	.L48
.L57:
	nop
	b	.L48
.L58:
	nop
	b	.L48
.L59:
	nop
.L48:
	ldr	r3, .L60+12
	ldr	r1, [r3]
	mov	r3, #2
	str	r3, [sp]
	mov	r2, #0
	mov	r3, #0
	mov	r0, r1
	bl	lseek64
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r2, #0
	sbcs	r3, r3, #0
	bge	.L54
	ldr	r0, .L60+16
	bl	perror
	b	.L55
.L54:
	ldr	r3, .L60+20
	ldr	ip, [r3]
	sub	r5, fp, #36
	ldmia	r5, {r4-r5}
	asr	r3, r5, #31
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r2, .L60+24
	mov	r3, #0
	and	lr, r0, r2
	str	lr, [fp, #-92]
	and	r3, r1, r3
	str	r3, [fp, #-88]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	mov	r1, r2
	adds	r6, r1, r4
	adc	r7, r3, r5
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r6, #9
	orr	r2, r2, r7, lsl #23
	asr	r3, r7, #9
	stm	sp, {r2-r3}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r1, .L60+28
	mov	r0, ip
	bl	fprintf
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	asr	r1, r3, #31
	mov	r0, r1
	asr	r1, r0, #31
	ldr	r4, .L60+24
	mov	r5, #0
	and	ip, r0, r4
	str	ip, [fp, #-100]
	and	r1, r1, r5
	str	r1, [fp, #-96]
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	mov	ip, r0
	adds	r8, ip, r2
	adc	r9, r1, r3
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r8, #9
	orr	r2, r2, r9, lsl #23
	asr	r3, r9, #9
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	subs	r1, r2, #1
	str	r1, [fp, #-76]
	sbc	r3, r3, #0
	str	r3, [fp, #-72]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	readfrom
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L56
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	readfrom
	str	r0, [fp, #-40]
.L56:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L55
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-84]
	adc	r3, r3, #0
	str	r3, [fp, #-80]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	readfrom
	str	r0, [fp, #-40]
.L55:
	bl	stats
	ldr	r0, [fp, #-40]
	bl	exit
.L61:
	.align	2
.L60:
	.word	program_name
	.word	terminate
	.word	read_records
	.word	ifd
	.word	.LC10
	.word	stderr
	.word	511
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
