	.file	"45449422.c"
	.intel_syntax noprefix
	.text
	.globl	start
	.bss
	.align 16
	.type	start, @object
	.size	start, 16
start:
	.zero	16
	.globl	end
	.align 16
	.type	end, @object
	.size	end, 16
end:
	.zero	16
	.globl	seekfp
	.align 8
	.type	seekfp, @object
	.size	seekfp, 8
seekfp:
	.zero	8
	.globl	keyfp
	.align 8
	.type	keyfp, @object
	.size	keyfp, 8
keyfp:
	.zero	8
	.globl	k1
	.align 4
	.type	k1, @object
	.size	k1, 4
k1:
	.zero	4
	.globl	k2
	.align 4
	.type	k2, @object
	.size	k2, 4
k2:
	.zero	4
	.globl	k3
	.align 4
	.type	k3, @object
	.size	k3, 4
k3:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	flag
	.align 4
	.type	flag, @object
	.size	flag, 4
flag:
	.zero	4
	.globl	seekfilelength
	.align 4
	.type	seekfilelength, @object
	.size	seekfilelength, 4
seekfilelength:
	.zero	4
	.globl	keyfilelength
	.align 4
	.type	keyfilelength, @object
	.size	keyfilelength, 4
keyfilelength:
	.zero	4
	.globl	low
	.align 4
	.type	low, @object
	.size	low, 4
low:
	.zero	4
	.globl	high
	.align 4
	.type	high, @object
	.size	high, 4
high:
	.zero	4
	.globl	mid
	.align 4
	.type	mid, @object
	.size	mid, 4
mid:
	.zero	4
	.globl	k
	.align 8
	.type	k, @object
	.size	k, 8
k:
	.zero	8
	.globl	s
	.align 8
	.type	s, @object
	.size	s, 8
s:
	.zero	8
	.globl	hit
	.align 8
	.type	hit, @object
	.size	hit, 8
hit:
	.zero	8
	.section	.rodata
.LC0:
	.string	"%12d: Yes\n"
.LC1:
	.string	"%12d: No\n"
	.text
	.globl	mem_linear
	.type	mem_linear, @function
mem_linear:
.LFB6:
	.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 keyfilelength[rip]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR k[rip], rax
	mov	DWORD PTR j[rip], 0
	mov	rax, QWORD PTR keyfp[rip]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
.L4:
	mov	rax, QWORD PTR keyfp[rip]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	lea	rdi, k1[rip]
	call	fread@PLT
	test	rax, rax
	je	.L14
	mov	rdx, QWORD PTR k[rip]
	mov	eax, DWORD PTR j[rip]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	eax, DWORD PTR k1[rip]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
	jmp	.L4
.L14:
	nop
	mov	eax, DWORD PTR seekfilelength[rip]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR hit[rip], rax
	mov	DWORD PTR i[rip], 0
	jmp	.L5
.L12:
	mov	DWORD PTR flag[rip], 0
	mov	DWORD PTR j[rip], 0
	jmp	.L6
.L9:
	mov	rdx, QWORD PTR s[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR k[rip]
	mov	eax, DWORD PTR j[rip]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jne	.L7
	mov	DWORD PTR flag[rip], 1
	jmp	.L8
.L7:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L6:
	mov	edx, DWORD PTR j[rip]
	mov	eax, DWORD PTR keyfilelength[rip]
	cmp	edx, eax
	jl	.L9
.L8:
	mov	eax, DWORD PTR flag[rip]
	cmp	eax, 1
	jne	.L10
	mov	rdx, QWORD PTR hit[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 1
	mov	rdx, QWORD PTR s[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L11
.L10:
	mov	rdx, QWORD PTR hit[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	mov	rdx, QWORD PTR s[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L11:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L5:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR seekfilelength[rip]
	cmp	edx, eax
	jl	.L12
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	mem_linear, .-mem_linear
	.globl	mem_binary
	.type	mem_binary, @function
mem_binary:
.LFB7:
	.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 keyfilelength[rip]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR k[rip], rax
	mov	DWORD PTR j[rip], 0
	mov	rax, QWORD PTR keyfp[rip]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
.L18:
	mov	rax, QWORD PTR keyfp[rip]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	lea	rdi, k1[rip]
	call	fread@PLT
	test	rax, rax
	je	.L29
	mov	rdx, QWORD PTR k[rip]
	mov	eax, DWORD PTR j[rip]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	eax, DWORD PTR k1[rip]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
	jmp	.L18
.L29:
	nop
	mov	eax, DWORD PTR seekfilelength[rip]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR hit[rip], rax
	mov	DWORD PTR i[rip], 0
	jmp	.L19
.L27:
	mov	DWORD PTR flag[rip], 0
	mov	DWORD PTR low[rip], 0
	mov	eax, DWORD PTR keyfilelength[rip]
	sub	eax, 1
	mov	DWORD PTR high[rip], eax
	jmp	.L20
.L24:
	mov	edx, DWORD PTR low[rip]
	mov	eax, DWORD PTR high[rip]
	add	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR mid[rip], eax
	mov	rdx, QWORD PTR k[rip]
	mov	eax, DWORD PTR mid[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR s[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jne	.L21
	mov	DWORD PTR flag[rip], 1
	jmp	.L22
.L21:
	mov	rdx, QWORD PTR k[rip]
	mov	eax, DWORD PTR mid[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR s[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jle	.L23
	mov	eax, DWORD PTR mid[rip]
	sub	eax, 1
	mov	DWORD PTR high[rip], eax
	jmp	.L20
.L23:
	mov	eax, DWORD PTR mid[rip]
	add	eax, 1
	mov	DWORD PTR low[rip], eax
.L20:
	mov	edx, DWORD PTR low[rip]
	mov	eax, DWORD PTR high[rip]
	cmp	edx, eax
	jle	.L24
.L22:
	mov	eax, DWORD PTR flag[rip]
	cmp	eax, 1
	jne	.L25
	mov	rdx, QWORD PTR hit[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 1
	mov	rdx, QWORD PTR s[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L26
.L25:
	mov	rdx, QWORD PTR hit[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	mov	rdx, QWORD PTR s[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L26:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L19:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR seekfilelength[rip]
	cmp	edx, eax
	jl	.L27
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	mem_binary, .-mem_binary
	.globl	disk_linear
	.type	disk_linear, @function
disk_linear:
.LFB8:
	.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 seekfilelength[rip]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR hit[rip], rax
	mov	DWORD PTR i[rip], 0
	jmp	.L31
.L38:
	mov	DWORD PTR flag[rip], 0
	mov	rax, QWORD PTR keyfp[rip]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
.L35:
	mov	rax, QWORD PTR keyfp[rip]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	lea	rdi, k1[rip]
	call	fread@PLT
	test	rax, rax
	je	.L39
	mov	rdx, QWORD PTR s[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR k1[rip]
	cmp	edx, eax
	jne	.L35
	mov	DWORD PTR flag[rip], 1
	jmp	.L33
.L39:
	nop
.L33:
	mov	eax, DWORD PTR flag[rip]
	cmp	eax, 1
	jne	.L36
	mov	rdx, QWORD PTR hit[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 1
	mov	rdx, QWORD PTR s[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L37
.L36:
	mov	rdx, QWORD PTR hit[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	mov	rdx, QWORD PTR s[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L37:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L31:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR seekfilelength[rip]
	cmp	edx, eax
	jl	.L38
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	disk_linear, .-disk_linear
	.globl	disk_binary
	.type	disk_binary, @function
disk_binary:
.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 seekfilelength[rip]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR hit[rip], rax
	mov	DWORD PTR i[rip], 0
	jmp	.L41
.L49:
	mov	DWORD PTR flag[rip], 0
	mov	rax, QWORD PTR keyfp[rip]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	DWORD PTR low[rip], 0
	mov	eax, DWORD PTR keyfilelength[rip]
	sub	eax, 1
	mov	DWORD PTR high[rip], eax
	jmp	.L42
.L46:
	mov	edx, DWORD PTR low[rip]
	mov	eax, DWORD PTR high[rip]
	add	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR mid[rip], eax
	mov	eax, DWORD PTR mid[rip]
	cdqe
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR keyfp[rip]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR keyfp[rip]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	lea	rdi, k1[rip]
	call	fread@PLT
	mov	rdx, QWORD PTR s[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR k1[rip]
	cmp	edx, eax
	jne	.L43
	mov	DWORD PTR flag[rip], 1
	jmp	.L44
.L43:
	mov	rdx, QWORD PTR s[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR k1[rip]
	cmp	edx, eax
	jge	.L45
	mov	eax, DWORD PTR mid[rip]
	sub	eax, 1
	mov	DWORD PTR high[rip], eax
	jmp	.L42
.L45:
	mov	eax, DWORD PTR mid[rip]
	add	eax, 1
	mov	DWORD PTR low[rip], eax
.L42:
	mov	edx, DWORD PTR low[rip]
	mov	eax, DWORD PTR high[rip]
	cmp	edx, eax
	jle	.L46
.L44:
	mov	eax, DWORD PTR flag[rip]
	cmp	eax, 1
	jne	.L47
	mov	rdx, QWORD PTR hit[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 1
	mov	rdx, QWORD PTR s[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L48
.L47:
	mov	rdx, QWORD PTR hit[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	mov	rdx, QWORD PTR s[rip]
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L48:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L41:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR seekfilelength[rip]
	cmp	edx, eax
	jl	.L49
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	disk_binary, .-disk_binary
	.section	.rodata
.LC2:
	.string	"rb"
.LC3:
	.string	"--mem-lin"
.LC4:
	.string	"--mem-bin"
.LC5:
	.string	"--disk-lin"
.LC6:
	.string	"--disk-bin"
.LC7:
	.string	"Invalid search type"
.LC8:
	.string	"Time: %ld.%06ld\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR seekfp[rip], rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR keyfp[rip], rax
	mov	rax, QWORD PTR seekfp[rip]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR seekfp[rip]
	mov	rdi, rax
	call	ftell@PLT
	lea	rdx, 3[rax]
	test	rax, rax
	cmovs	rax, rdx
	sar	rax, 2
	mov	DWORD PTR seekfilelength[rip], eax
	mov	rax, QWORD PTR seekfp[rip]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR keyfp[rip]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR keyfp[rip]
	mov	rdi, rax
	call	ftell@PLT
	lea	rdx, 3[rax]
	test	rax, rax
	cmovs	rax, rdx
	sar	rax, 2
	mov	DWORD PTR keyfilelength[rip], eax
	mov	rax, QWORD PTR keyfp[rip]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	eax, DWORD PTR seekfilelength[rip]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR s[rip], rax
	mov	DWORD PTR j[rip], 0
	mov	rax, QWORD PTR seekfp[rip]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
.L53:
	mov	rax, QWORD PTR seekfp[rip]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	lea	rdi, k1[rip]
	call	fread@PLT
	test	rax, rax
	je	.L61
	mov	rdx, QWORD PTR s[rip]
	mov	eax, DWORD PTR j[rip]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	eax, DWORD PTR k1[rip]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
	jmp	.L53
.L61:
	nop
	mov	esi, 0
	lea	rdi, start[rip]
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L54
	mov	eax, 0
	call	mem_linear
	jmp	.L55
.L54:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L56
	mov	eax, 0
	call	mem_binary
	jmp	.L55
.L56:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L57
	mov	eax, 0
	call	disk_linear
	jmp	.L55
.L57:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L58
	mov	eax, 0
	call	disk_binary
	jmp	.L55
.L58:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L55:
	mov	esi, 0
	lea	rdi, end[rip]
	call	gettimeofday@PLT
	mov	rax, QWORD PTR end[rip+8]
	mov	edx, eax
	mov	rax, QWORD PTR start[rip+8]
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	cdq
	xor	eax, edx
	sub	eax, edx
	mov	rdx, QWORD PTR end[rip]
	mov	rsi, QWORD PTR start[rip]
	mov	rcx, rdx
	sub	rcx, rsi
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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	"45449422.c"
	.text
	.comm	start,8,4
	.comm	end,8,4
	.comm	seekfp,4,4
	.comm	keyfp,4,4
	.comm	k1,4,4
	.comm	k2,4,4
	.comm	k3,4,4
	.comm	i,4,4
	.comm	j,4,4
	.comm	flag,4,4
	.comm	seekfilelength,4,4
	.comm	keyfilelength,4,4
	.comm	low,4,4
	.comm	high,4,4
	.comm	mid,4,4
	.comm	k,4,4
	.comm	s,4,4
	.comm	hit,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%12d: Yes\012\000"
	.align	2
.LC1:
	.ascii	"%12d: No\012\000"
	.text
	.align	2
	.global	mem_linear
	.syntax unified
	.arm
	.fpu softvfp
	.type	mem_linear, %function
mem_linear:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L15
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L15+4
	str	r2, [r3]
	ldr	r3, .L15+8
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L15+12
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	fseek
.L4:
	ldr	r3, .L15+12
	ldr	r3, [r3]
	mov	r2, #1
	mov	r1, #4
	ldr	r0, .L15+16
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, .L15+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, .L15+16
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, .L15+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L15+8
	str	r3, [r2]
	b	.L4
.L14:
	nop
	ldr	r3, .L15+20
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L15+24
	str	r2, [r3]
	ldr	r3, .L15+28
	mov	r2, #0
	str	r2, [r3]
	b	.L5
.L12:
	ldr	r3, .L15+32
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L15+8
	mov	r2, #0
	str	r2, [r3]
	b	.L6
.L9:
	ldr	r3, .L15+36
	ldr	r2, [r3]
	ldr	r3, .L15+28
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L15+4
	ldr	r1, [r3]
	ldr	r3, .L15+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L7
	ldr	r3, .L15+32
	mov	r2, #1
	str	r2, [r3]
	b	.L8
.L7:
	ldr	r3, .L15+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L15+8
	str	r3, [r2]
.L6:
	ldr	r3, .L15+8
	ldr	r2, [r3]
	ldr	r3, .L15
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L9
.L8:
	ldr	r3, .L15+32
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L10
	ldr	r3, .L15+24
	ldr	r2, [r3]
	ldr	r3, .L15+28
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L15+36
	ldr	r2, [r3]
	ldr	r3, .L15+28
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L15+40
	bl	printf
	b	.L11
.L10:
	ldr	r3, .L15+24
	ldr	r2, [r3]
	ldr	r3, .L15+28
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L15+36
	ldr	r2, [r3]
	ldr	r3, .L15+28
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L15+44
	bl	printf
.L11:
	ldr	r3, .L15+28
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L15+28
	str	r3, [r2]
.L5:
	ldr	r3, .L15+28
	ldr	r2, [r3]
	ldr	r3, .L15+20
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L12
	nop
	nop
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	keyfilelength
	.word	k
	.word	j
	.word	keyfp
	.word	k1
	.word	seekfilelength
	.word	hit
	.word	i
	.word	flag
	.word	s
	.word	.LC0
	.word	.LC1
	.size	mem_linear, .-mem_linear
	.align	2
	.global	mem_binary
	.syntax unified
	.arm
	.fpu softvfp
	.type	mem_binary, %function
mem_binary:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L32
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L32+4
	str	r2, [r3]
	ldr	r3, .L32+8
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L32+12
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	fseek
.L20:
	ldr	r3, .L32+12
	ldr	r3, [r3]
	mov	r2, #1
	mov	r1, #4
	ldr	r0, .L32+16
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
	ldr	r3, .L32+4
	ldr	r2, [r3]
	ldr	r3, .L32+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, .L32+16
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, .L32+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L32+8
	str	r3, [r2]
	b	.L20
.L31:
	nop
	ldr	r3, .L32+20
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L32+24
	str	r2, [r3]
	ldr	r3, .L32+28
	mov	r2, #0
	str	r2, [r3]
	b	.L21
.L29:
	ldr	r3, .L32+32
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L32+36
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L32
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L32+40
	str	r3, [r2]
	b	.L22
.L26:
	ldr	r3, .L32+36
	ldr	r2, [r3]
	ldr	r3, .L32+40
	ldr	r3, [r3]
	add	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L32+44
	str	r2, [r3]
	ldr	r3, .L32+4
	ldr	r2, [r3]
	ldr	r3, .L32+44
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L32+48
	ldr	r1, [r3]
	ldr	r3, .L32+28
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L23
	ldr	r3, .L32+32
	mov	r2, #1
	str	r2, [r3]
	b	.L24
.L23:
	ldr	r3, .L32+4
	ldr	r2, [r3]
	ldr	r3, .L32+44
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L32+48
	ldr	r1, [r3]
	ldr	r3, .L32+28
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L25
	ldr	r3, .L32+44
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L32+40
	str	r3, [r2]
	b	.L22
.L25:
	ldr	r3, .L32+44
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L32+36
	str	r3, [r2]
.L22:
	ldr	r3, .L32+36
	ldr	r2, [r3]
	ldr	r3, .L32+40
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L26
.L24:
	ldr	r3, .L32+32
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L27
	ldr	r3, .L32+24
	ldr	r2, [r3]
	ldr	r3, .L32+28
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L32+48
	ldr	r2, [r3]
	ldr	r3, .L32+28
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L32+52
	bl	printf
	b	.L28
.L27:
	ldr	r3, .L32+24
	ldr	r2, [r3]
	ldr	r3, .L32+28
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L32+48
	ldr	r2, [r3]
	ldr	r3, .L32+28
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L32+56
	bl	printf
.L28:
	ldr	r3, .L32+28
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L32+28
	str	r3, [r2]
.L21:
	ldr	r3, .L32+28
	ldr	r2, [r3]
	ldr	r3, .L32+20
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L29
	nop
	nop
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	keyfilelength
	.word	k
	.word	j
	.word	keyfp
	.word	k1
	.word	seekfilelength
	.word	hit
	.word	i
	.word	flag
	.word	low
	.word	high
	.word	mid
	.word	s
	.word	.LC0
	.word	.LC1
	.size	mem_binary, .-mem_binary
	.align	2
	.global	disk_linear
	.syntax unified
	.arm
	.fpu softvfp
	.type	disk_linear, %function
disk_linear:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L44
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L44+4
	str	r2, [r3]
	ldr	r3, .L44+8
	mov	r2, #0
	str	r2, [r3]
	b	.L35
.L42:
	ldr	r3, .L44+12
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L44+16
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	fseek
.L39:
	ldr	r3, .L44+16
	ldr	r3, [r3]
	mov	r2, #1
	mov	r1, #4
	ldr	r0, .L44+20
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	beq	.L43
	ldr	r3, .L44+24
	ldr	r2, [r3]
	ldr	r3, .L44+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L44+20
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L39
	ldr	r3, .L44+12
	mov	r2, #1
	str	r2, [r3]
	b	.L37
.L43:
	nop
.L37:
	ldr	r3, .L44+12
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L40
	ldr	r3, .L44+4
	ldr	r2, [r3]
	ldr	r3, .L44+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L44+24
	ldr	r2, [r3]
	ldr	r3, .L44+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L44+28
	bl	printf
	b	.L41
.L40:
	ldr	r3, .L44+4
	ldr	r2, [r3]
	ldr	r3, .L44+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L44+24
	ldr	r2, [r3]
	ldr	r3, .L44+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L44+32
	bl	printf
.L41:
	ldr	r3, .L44+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L44+8
	str	r3, [r2]
.L35:
	ldr	r3, .L44+8
	ldr	r2, [r3]
	ldr	r3, .L44
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L42
	nop
	nop
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	seekfilelength
	.word	hit
	.word	i
	.word	flag
	.word	keyfp
	.word	k1
	.word	s
	.word	.LC0
	.word	.LC1
	.size	disk_linear, .-disk_linear
	.align	2
	.global	disk_binary
	.syntax unified
	.arm
	.fpu softvfp
	.type	disk_binary, %function
disk_binary:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L56
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L56+4
	str	r2, [r3]
	ldr	r3, .L56+8
	mov	r2, #0
	str	r2, [r3]
	b	.L47
.L55:
	ldr	r3, .L56+12
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L56+16
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	fseek
	ldr	r3, .L56+20
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L56+24
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L56+28
	str	r3, [r2]
	b	.L48
.L52:
	ldr	r3, .L56+20
	ldr	r2, [r3]
	ldr	r3, .L56+28
	ldr	r3, [r3]
	add	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L56+32
	str	r2, [r3]
	ldr	r3, .L56+16
	ldr	r3, [r3]
	ldr	r2, .L56+32
	ldr	r2, [r2]
	lsl	r2, r2, #2
	mov	r1, r2
	mov	r2, #0
	mov	r0, r3
	bl	fseek
	ldr	r3, .L56+16
	ldr	r3, [r3]
	mov	r2, #1
	mov	r1, #4
	ldr	r0, .L56+36
	bl	fread
	ldr	r3, .L56+40
	ldr	r2, [r3]
	ldr	r3, .L56+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L56+36
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L49
	ldr	r3, .L56+12
	mov	r2, #1
	str	r2, [r3]
	b	.L50
.L49:
	ldr	r3, .L56+40
	ldr	r2, [r3]
	ldr	r3, .L56+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L56+36
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L51
	ldr	r3, .L56+32
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L56+28
	str	r3, [r2]
	b	.L48
.L51:
	ldr	r3, .L56+32
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L56+20
	str	r3, [r2]
.L48:
	ldr	r3, .L56+20
	ldr	r2, [r3]
	ldr	r3, .L56+28
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L52
.L50:
	ldr	r3, .L56+12
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L53
	ldr	r3, .L56+4
	ldr	r2, [r3]
	ldr	r3, .L56+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L56+40
	ldr	r2, [r3]
	ldr	r3, .L56+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L56+44
	bl	printf
	b	.L54
.L53:
	ldr	r3, .L56+4
	ldr	r2, [r3]
	ldr	r3, .L56+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L56+40
	ldr	r2, [r3]
	ldr	r3, .L56+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L56+48
	bl	printf
.L54:
	ldr	r3, .L56+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L56+8
	str	r3, [r2]
.L47:
	ldr	r3, .L56+8
	ldr	r2, [r3]
	ldr	r3, .L56
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L55
	nop
	nop
	pop	{fp, pc}
.L57:
	.align	2
.L56:
	.word	seekfilelength
	.word	hit
	.word	i
	.word	flag
	.word	keyfp
	.word	low
	.word	keyfilelength
	.word	high
	.word	mid
	.word	k1
	.word	s
	.word	.LC0
	.word	.LC1
	.size	disk_binary, .-disk_binary
	.section	.rodata
	.align	2
.LC2:
	.ascii	"rb\000"
	.align	2
.LC3:
	.ascii	"--mem-lin\000"
	.align	2
.LC4:
	.ascii	"--mem-bin\000"
	.align	2
.LC5:
	.ascii	"--disk-lin\000"
	.align	2
.LC6:
	.ascii	"--disk-bin\000"
	.align	2
.LC7:
	.ascii	"Invalid search type\000"
	.align	2
.LC8:
	.ascii	"Time: %ld.%06ld\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	add	r3, r3, #12
	ldr	r3, [r3]
	ldr	r1, .L70
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	ldr	r2, .L70+4
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L70
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	ldr	r2, .L70+8
	str	r3, [r2]
	ldr	r3, .L70+4
	ldr	r3, [r3]
	mov	r2, #2
	mov	r1, #0
	mov	r0, r3
	bl	fseek
	ldr	r3, .L70+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	ftell
	mov	r3, r0
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #2
	mov	r2, r3
	ldr	r3, .L70+12
	str	r2, [r3]
	ldr	r3, .L70+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	fseek
	ldr	r3, .L70+8
	ldr	r3, [r3]
	mov	r2, #2
	mov	r1, #0
	mov	r0, r3
	bl	fseek
	ldr	r3, .L70+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	ftell
	mov	r3, r0
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #2
	mov	r2, r3
	ldr	r3, .L70+16
	str	r2, [r3]
	ldr	r3, .L70+8
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	fseek
	ldr	r3, .L70+12
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L70+20
	str	r2, [r3]
	ldr	r3, .L70+24
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L70+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	fseek
.L61:
	ldr	r3, .L70+4
	ldr	r3, [r3]
	mov	r2, #1
	mov	r1, #4
	ldr	r0, .L70+28
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	beq	.L69
	ldr	r3, .L70+20
	ldr	r2, [r3]
	ldr	r3, .L70+24
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, .L70+28
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, .L70+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L70+24
	str	r3, [r2]
	b	.L61
.L69:
	nop
	mov	r1, #0
	ldr	r0, .L70+32
	bl	gettimeofday
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L70+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L62
	bl	mem_linear
	b	.L63
.L62:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L70+40
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L64
	bl	mem_binary
	b	.L63
.L64:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L70+44
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L65
	bl	disk_linear
	b	.L63
.L65:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L70+48
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L66
	bl	disk_binary
	b	.L63
.L66:
	ldr	r0, .L70+52
	bl	printf
.L63:
	mov	r1, #0
	ldr	r0, .L70+56
	bl	gettimeofday
	ldr	r3, .L70+56
	ldr	r2, [r3]
	ldr	r3, .L70+32
	ldr	r3, [r3]
	sub	r1, r2, r3
	ldr	r3, .L70+56
	ldr	r2, [r3, #4]
	ldr	r3, .L70+32
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	mov	r2, r3
	ldr	r0, .L70+60
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L71:
	.align	2
.L70:
	.word	.LC2
	.word	seekfp
	.word	keyfp
	.word	seekfilelength
	.word	keyfilelength
	.word	s
	.word	j
	.word	k1
	.word	start
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	end
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
