	.file	"23575856.c"
	.intel_syntax noprefix
	.text
	.globl	muteks
	.bss
	.align 32
	.type	muteks, @object
	.size	muteks, 40
muteks:
	.zero	40
	.globl	count
	.align 4
	.type	count, @object
	.size	count, 4
count:
	.zero	4
	.globl	start
	.align 8
	.type	start, @object
	.size	start, 8
start:
	.zero	8
	.globl	maxoffset
	.align 8
	.type	maxoffset, @object
	.size	maxoffset, 8
maxoffset:
	.zero	8
	.globl	minoffset
	.data
	.align 8
	.type	minoffset, @object
	.size	minoffset, 8
minoffset:
	.quad	249994674176000
	.globl	threads
	.bss
	.align 4
	.type	threads, @object
	.size	threads, 4
threads:
	.zero	4
	.globl	p
	.align 8
	.type	p, @object
	.size	p, 8
p:
	.zero	8
	.text
	.globl	done
	.type	done, @function
done:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	time@PLT
	mov	rax, QWORD PTR start[rip]
	lea	rdx, 29[rax]
	mov	rax, QWORD PTR -16[rbp]
	cmp	rdx, rax
	jl	.L2
	mov	edi, 46
	call	putchar@PLT
	mov	edi, 1
	call	alarm@PLT
	jmp	.L1
.L2:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L4
.L5:
	mov	rcx, QWORD PTR p[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	DWORD PTR 8[rax], 0
	add	DWORD PTR -20[rbp], 1
.L4:
	mov	eax, DWORD PTR threads[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L5
.L1:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	done, .-done
	.section	.rodata
	.align 8
.LC1:
	.string	".\nResults: %d seeks/second, %.3f ms random access time (%llu < offsets < %llu)\n"
	.text
	.globl	report
	.type	report, @function
report:
.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 count[rip]
	test	eax, eax
	je	.L8
	mov	rax, QWORD PTR maxoffset[rip]
	mov	rcx, rax
	mov	rax, QWORD PTR minoffset[rip]
	mov	rdi, rax
	mov	eax, DWORD PTR count[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm1
	movq	rsi, xmm0
	mov	eax, DWORD PTR count[rip]
	movsx	rdx, eax
	imul	rdx, rdx, -2004318071
	shr	rdx, 32
	add	edx, eax
	sar	edx, 4
	sar	eax, 31
	mov	r8d, eax
	mov	eax, edx
	sub	eax, r8d
	mov	rdx, rdi
	movq	xmm0, rsi
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 1
	call	printf@PLT
.L8:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.size	report, .-report
	.globl	handle
	.type	handle, @function
handle:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	cmp	DWORD PTR -12[rbp], 0
	je	.L11
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L11:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	handle, .-handle
	.section	.rodata
.LC4:
	.string	"lseek64"
.LC5:
	.string	"read"
	.text
	.globl	f
	.type	f, @function
f:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 24[rax]
	mov	edi, eax
	call	srand@PLT
	lea	rdi, muteks[rip]
	call	pthread_mutex_lock@PLT
	lea	rdi, muteks[rip]
	call	pthread_mutex_unlock@PLT
	jmp	.L13
.L19:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	js	.L14
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, rax
	movsd	QWORD PTR -48[rbp], xmm2
	jmp	.L15
.L14:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
	movsd	QWORD PTR -48[rbp], xmm0
.L15:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 24
	mov	rdi, rax
	call	rand_r@PLT
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm1, QWORD PTR .LC2[rip]
	divsd	xmm0, xmm1
	mulsd	xmm0, QWORD PTR -48[rbp]
	comisd	xmm0, QWORD PTR .LC3[rip]
	jnb	.L16
	cvttsd2si	rax, xmm0
	jmp	.L17
.L16:
	movsd	xmm1, QWORD PTR .LC3[rip]
	subsd	xmm0, xmm1
	cvttsd2si	rax, xmm0
	movabs	rdx, -9223372036854775808
	xor	rax, rdx
.L17:
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	rcx, QWORD PTR -8[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek64@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], -1
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC4[rip]
	call	handle
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR 40[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edx, 512
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	shr	eax, 31
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC5[rip]
	call	handle
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 48[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 48[rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 56[rax]
	cmp	QWORD PTR -8[rbp], rax
	jle	.L18
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 56[rax], rdx
	jmp	.L13
.L18:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 64[rax]
	cmp	QWORD PTR -8[rbp], rax
	jge	.L13
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 64[rax], rdx
.L13:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L19
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	f, .-f
	.section	.rodata
	.align 8
.LC6:
	.string	"Seeker v3.0, 2009-06-17, http://www.linuxinsight.com/how_fast_is_your_disk.html"
.LC7:
	.string	"Usage: %s device [threads]\n"
.LC8:
	.string	"open"
.LC9:
	.string	"ioctl"
	.align 8
.LC10:
	.string	"Benchmarking %s [%llu blocks, %llu bytes, %llu GB, %llu MB, %llu GiB, %llu MiB]\n"
	.align 8
.LC11:
	.string	"[%d logical sector size, %d physical sector size]\n"
.LC12:
	.string	"[%d threads]\n"
.LC13:
	.string	"Wait %d seconds"
.LC14:
	.string	"malloc"
.LC15:
	.string	"dup"
.LC16:
	.string	"pthread_create"
	.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
	push	rbx
	sub	rsp, 152
	.cfi_offset 3, -24
	mov	DWORD PTR -148[rbp], edi
	mov	QWORD PTR -160[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -136[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	rax, QWORD PTR stdout[rip]
	mov	ecx, 0
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	cmp	DWORD PTR -148[rbp], 2
	je	.L22
	cmp	DWORD PTR -148[rbp], 3
	je	.L22
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L22:
	mov	DWORD PTR threads[rip], 1
	cmp	DWORD PTR -148[rbp], 3
	jne	.L23
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR threads[rip], eax
.L23:
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -128[rbp], eax
	mov	eax, DWORD PTR -128[rbp]
	shr	eax, 31
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC8[rip]
	call	handle
	lea	rdx, -112[rbp]
	mov	eax, DWORD PTR -128[rbp]
	mov	esi, 2148012658
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	mov	DWORD PTR -124[rbp], eax
	mov	rax, QWORD PTR -112[rbp]
	mov	QWORD PTR -104[rbp], rax
	cmp	DWORD PTR -124[rbp], -1
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC9[rip]
	call	handle
	lea	rdx, -120[rbp]
	mov	eax, DWORD PTR -128[rbp]
	mov	esi, 2148012656
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	mov	DWORD PTR -124[rbp], eax
	cmp	DWORD PTR -124[rbp], -1
	jne	.L24
	mov	rax, QWORD PTR -120[rbp]
	test	rax, rax
	je	.L24
	mov	eax, 1
	jmp	.L25
.L24:
	mov	eax, 0
.L25:
	mov	esi, eax
	lea	rdi, .LC9[rip]
	call	handle
	lea	rdx, -136[rbp]
	mov	eax, DWORD PTR -128[rbp]
	mov	esi, 4712
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	mov	DWORD PTR -124[rbp], eax
	cmp	DWORD PTR -124[rbp], -1
	jne	.L26
	mov	eax, DWORD PTR -136[rbp]
	test	eax, eax
	jle	.L26
	mov	eax, 1
	jmp	.L27
.L26:
	mov	eax, 0
.L27:
	mov	esi, eax
	lea	rdi, .LC9[rip]
	call	handle
	mov	rax, QWORD PTR -104[rbp]
	shr	rax, 9
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	movabs	rdx, 4835703278458516699
	mul	rdx
	mov	rdi, rdx
	shr	rdi, 18
	mov	rax, QWORD PTR -104[rbp]
	shr	rax, 9
	movabs	rdx, 19342813113834067
	mul	rdx
	mov	rsi, rdx
	shr	rsi, 11
	mov	rax, QWORD PTR -104[rbp]
	shr	rax, 20
	mov	r9, rax
	mov	rax, QWORD PTR -104[rbp]
	shr	rax, 30
	mov	r8, rax
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR -104[rbp]
	mov	rdx, QWORD PTR -96[rbp]
	push	rdi
	push	rsi
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	edx, DWORD PTR -136[rbp]
	mov	eax, DWORD PTR -136[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR threads[rip]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, 30
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR threads[rip]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -88[rbp], rax
	cmp	QWORD PTR -88[rbp], 0
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC14[rip]
	call	handle
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	pthread_attr_init@PLT
	mov	eax, DWORD PTR threads[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR p[rip], rax
	mov	rax, QWORD PTR p[rip]
	test	rax, rax
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC14[rip]
	call	handle
	lea	rdi, start[rip]
	call	time@PLT
	lea	rdi, muteks[rip]
	call	pthread_mutex_lock@PLT
	mov	rax, QWORD PTR start[rip]
	mov	ebx, eax
	call	getpid@PLT
	imul	eax, ebx
	mov	edi, eax
	call	srand@PLT
	mov	DWORD PTR -132[rbp], 0
	jmp	.L28
.L29:
	mov	rcx, QWORD PTR p[rip]
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -132[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rcx, QWORD PTR p[rip]
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR 16[rdx], rax
	call	rand@PLT
	mov	edx, DWORD PTR -132[rbp]
	lea	ecx, [rax+rdx]
	mov	rsi, QWORD PTR p[rip]
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	mov	edx, ecx
	mov	DWORD PTR 24[rax], edx
	mov	rcx, QWORD PTR p[rip]
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	lea	rbx, [rcx+rax]
	mov	eax, DWORD PTR -128[rbp]
	mov	edi, eax
	call	dup@PLT
	mov	DWORD PTR 4[rbx], eax
	mov	rcx, QWORD PTR p[rip]
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR 4[rax]
	shr	eax, 31
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC15[rip]
	call	handle
	mov	rcx, QWORD PTR p[rip]
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	lea	rbx, [rcx+rax]
	mov	edi, 512
	call	malloc@PLT
	mov	QWORD PTR 40[rbx], rax
	mov	rcx, QWORD PTR p[rip]
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	QWORD PTR 32[rdx], rax
	mov	rcx, QWORD PTR p[rip]
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC14[rip]
	call	handle
	mov	rcx, QWORD PTR p[rip]
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	DWORD PTR 8[rax], 1
	mov	rcx, QWORD PTR p[rip]
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	DWORD PTR 48[rax], 0
	mov	rcx, QWORD PTR p[rip]
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR minoffset[rip]
	mov	QWORD PTR 64[rdx], rax
	mov	rcx, QWORD PTR p[rip]
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR maxoffset[rip]
	mov	QWORD PTR 56[rdx], rax
	mov	rcx, QWORD PTR p[rip]
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	mov	rcx, rdx
	lea	rdx, f[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	DWORD PTR -124[rbp], eax
	cmp	DWORD PTR -124[rbp], 0
	setne	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC16[rip]
	call	handle
	add	DWORD PTR -132[rbp], 1
.L28:
	mov	eax, DWORD PTR threads[rip]
	cmp	DWORD PTR -132[rbp], eax
	jl	.L29
	mov	edi, 1
	call	sleep@PLT
	lea	rdi, start[rip]
	call	time@PLT
	lea	rsi, done[rip]
	mov	edi, 14
	call	signal@PLT
	mov	edi, 1
	call	alarm@PLT
	lea	rdi, muteks[rip]
	call	pthread_mutex_unlock@PLT
	mov	DWORD PTR -132[rbp], 0
	jmp	.L30
.L31:
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	add	DWORD PTR -132[rbp], 1
.L30:
	mov	eax, DWORD PTR threads[rip]
	cmp	DWORD PTR -132[rbp], eax
	jl	.L31
	mov	DWORD PTR -132[rbp], 0
	jmp	.L32
.L35:
	mov	rcx, QWORD PTR p[rip]
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	edx, DWORD PTR 48[rax]
	mov	eax, DWORD PTR count[rip]
	add	eax, edx
	mov	DWORD PTR count[rip], eax
	mov	rcx, QWORD PTR p[rip]
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rdx, QWORD PTR 56[rax]
	mov	rax, QWORD PTR maxoffset[rip]
	cmp	rdx, rax
	jle	.L33
	mov	rcx, QWORD PTR p[rip]
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR 56[rax]
	mov	QWORD PTR maxoffset[rip], rax
.L33:
	mov	rcx, QWORD PTR p[rip]
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rdx, QWORD PTR 64[rax]
	mov	rax, QWORD PTR minoffset[rip]
	cmp	rdx, rax
	jge	.L34
	mov	rcx, QWORD PTR p[rip]
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR 64[rax]
	mov	QWORD PTR minoffset[rip], rax
.L34:
	add	DWORD PTR -132[rbp], 1
.L32:
	mov	eax, DWORD PTR threads[rip]
	cmp	DWORD PTR -132[rbp], eax
	jl	.L35
	mov	eax, 0
	call	report
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1088244736
	.align 8
.LC2:
	.long	0
	.long	1105199104
	.align 8
.LC3:
	.long	0
	.long	1138753536
	.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	"23575856.c"
	.text
	.global	muteks
	.bss
	.align	2
	.type	muteks, %object
	.size	muteks, 24
muteks:
	.space	24
	.comm	count,4,4
	.comm	start,4,4
	.global	maxoffset
	.align	3
	.type	maxoffset, %object
	.size	maxoffset, 8
maxoffset:
	.space	8
	.global	minoffset
	.data
	.align	3
	.type	minoffset, %object
	.size	minoffset, 8
minoffset:
	.word	1807745024
	.word	58206
	.comm	threads,4,4
	.comm	p,4,4
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	done
	.syntax unified
	.arm
	.fpu softvfp
	.type	done, %function
done:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	mov	r0, r3
	bl	time
	ldr	r3, .L7+4
	ldr	r3, [r3]
	add	r2, r3, #29
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L2
	mov	r0, #46
	bl	putchar
	mov	r0, #1
	bl	alarm
	b	.L1
.L2:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L4
.L5:
	ldr	r3, .L7+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L4:
	ldr	r3, .L7+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L5
.L1:
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	start
	.word	p
	.word	threads
	.size	done, .-done
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.section	.rodata
	.align	2
.LC1:
	.ascii	".\012Results: %d seeks/second, %.3f ms random acces"
	.ascii	"s time (%llu < offsets < %llu)\012\000"
	.text
	.align	2
	.global	report
	.syntax unified
	.arm
	.fpu softvfp
	.type	report, %function
report:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r6, r7, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #20
	ldr	r3, .L11
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L11
	ldr	r3, [r3]
	ldr	r2, .L11+4
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #4
	asr	r3, r3, #31
	sub	r4, r2, r3
	ldr	r3, .L11
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L11+8
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, .L11+12
	ldmia	r3, {r2-r3}
	ldr	r1, .L11+16
	ldmia	r1, {r0-r1}
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	stm	sp, {r2-r3}
	mov	r2, r6
	mov	r3, r7
	mov	r1, r4
	ldr	r0, .L11+20
	bl	printf
.L10:
	mov	r0, #0
	bl	exit
.L12:
	.align	2
.L11:
	.word	count
	.word	-2004318071
	.word	1088244736
	.word	minoffset
	.word	maxoffset
	.word	.LC1
	.size	report, .-report
	.align	2
	.global	handle
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle, %function
handle:
	@ 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]
	cmp	r3, #0
	beq	.L15
	ldr	r0, [fp, #-8]
	bl	perror
	mov	r0, #1
	bl	exit
.L15:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	handle, .-handle
	.global	__aeabi_ul2d
	.global	__aeabi_dmul
	.global	__aeabi_d2ulz
	.section	.rodata
	.align	2
.LC2:
	.ascii	"lseek64\000"
	.align	2
.LC3:
	.ascii	"read\000"
	.text
	.align	2
	.global	f
	.syntax unified
	.arm
	.fpu softvfp
	.type	f, %function
f:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #16]
	mov	r0, r3
	bl	srand
	ldr	r0, .L21
	bl	pthread_mutex_lock
	ldr	r0, .L21
	bl	pthread_mutex_unlock
	b	.L17
.L19:
	ldr	r3, [fp, #-28]
	add	r3, r3, #24
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_ul2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-28]
	add	r3, r3, #16
	mov	r0, r3
	bl	rand_r
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L21+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2ulz
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	ldr	r1, [r3, #4]
	mov	r3, #0
	str	r3, [sp]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	mov	r0, r1
	bl	lseek64
	mov	r2, r0
	mov	r3, r1
	mov	r3, r2
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmn	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L21+8
	bl	handle
	ldr	r3, [fp, #-28]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #32]
	mov	r2, #512
	mov	r1, r3
	bl	read
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	lsr	r3, r3, #31
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L21+12
	bl	handle
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #36]
	add	r2, r3, #1
	ldr	r3, [fp, #-28]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-28]
	add	r1, r3, #40
	ldmia	r1, {r0-r1}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L18
	ldr	r1, [fp, #-28]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [r1, #40]
	str	r3, [r1, #44]
	b	.L17
.L18:
	ldr	r3, [fp, #-28]
	add	r3, r3, #48
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L17
	ldr	r1, [fp, #-28]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [r1, #48]
	str	r3, [r1, #52]
.L17:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L19
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L22:
	.align	2
.L21:
	.word	muteks
	.word	1105199104
	.word	.LC2
	.word	.LC3
	.size	f, .-f
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Seeker v3.0, 2009-06-17, http://www.linuxinsight.co"
	.ascii	"m/how_fast_is_your_disk.html\000"
	.align	2
.LC5:
	.ascii	"Usage: %s device [threads]\012\000"
	.align	2
.LC6:
	.ascii	"open\000"
	.align	2
.LC7:
	.ascii	"ioctl\000"
	.global	__aeabi_uldivmod
	.align	2
.LC8:
	.ascii	"Benchmarking %s [%llu blocks, %llu bytes, %llu GB, "
	.ascii	"%llu MB, %llu GiB, %llu MiB]\012\000"
	.align	2
.LC9:
	.ascii	"[%d logical sector size, %d physical sector size]\012"
	.ascii	"\000"
	.align	2
.LC10:
	.ascii	"[%d threads]\012\000"
	.align	2
.LC11:
	.ascii	"Wait %d seconds\000"
	.align	2
.LC12:
	.ascii	"malloc\000"
	.align	2
.LC13:
	.ascii	"dup\000"
	.align	2
.LC14:
	.ascii	"pthread_create\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #140
	str	r0, [fp, #-128]
	str	r1, [fp, #-132]
	ldr	r3, .L40+108
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-124]
	mov	r3, #0
	str	r3, [fp, #-120]
	ldr	r3, .L40+8
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #2
	mov	r1, #0
	bl	setvbuf
	ldr	r0, .L40+12
	bl	puts
	ldr	r3, [fp, #-128]
	cmp	r3, #2
	beq	.L24
	ldr	r3, [fp, #-128]
	cmp	r3, #3
	beq	.L24
	ldr	r3, [fp, #-132]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L40+16
	bl	printf
	mov	r0, #1
	bl	exit
.L24:
	ldr	r3, .L40+104
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-128]
	cmp	r3, #3
	bne	.L25
	ldr	r3, [fp, #-132]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L40+104
	str	r3, [r2]
.L25:
	ldr	r3, [fp, #-132]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, #131072
	mov	r0, r3
	bl	open
	str	r0, [fp, #-112]
	ldr	r3, [fp, #-112]
	lsr	r3, r3, #31
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L40+20
	bl	handle
	sub	r3, fp, #100
	mov	r2, r3
	ldr	r1, .L40+24
	ldr	r0, [fp, #-112]
	bl	ioctl
	str	r0, [fp, #-108]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-108]
	cmn	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L40+28
	bl	handle
	sub	r3, fp, #120
	mov	r2, r3
	ldr	r1, .L40+32
	ldr	r0, [fp, #-112]
	bl	ioctl
	str	r0, [fp, #-108]
	ldr	r3, [fp, #-108]
	cmn	r3, #1
	bne	.L26
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	beq	.L26
	mov	r3, #1
	b	.L27
.L26:
	mov	r3, #0
.L27:
	mov	r1, r3
	ldr	r0, .L40+28
	bl	handle
	sub	r3, fp, #124
	mov	r2, r3
	ldr	r1, .L40+36
	ldr	r0, [fp, #-112]
	bl	ioctl
	str	r0, [fp, #-108]
	ldr	r3, [fp, #-108]
	cmn	r3, #1
	bne	.L28
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	ble	.L28
	mov	r3, #1
	b	.L29
.L28:
	mov	r3, #0
.L29:
	mov	r1, r3
	ldr	r0, .L40+28
	bl	handle
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r0, #9
	orr	r2, r2, r1, lsl #23
	lsr	r3, r1, #9
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-132]
	add	r3, r3, #4
	ldr	r10, [r3]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	mov	r4, #0
	mov	r5, #0
	lsr	r4, r2, #30
	orr	r4, r4, r3, lsl #2
	lsr	r5, r3, #30
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	mov	r6, #0
	mov	r7, #0
	lsr	r6, r2, #20
	orr	r6, r6, r3, lsl #12
	lsr	r7, r3, #20
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	adr	r3, .L40
	ldmia	r3, {r2-r3}
	bl	__aeabi_uldivmod
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	ldr	r2, .L40+40
	mov	r3, #0
	bl	__aeabi_uldivmod
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #32]
	str	r3, [sp, #36]
	str	r8, [sp, #24]
	str	r9, [sp, #28]
	str	r6, [sp, #16]
	str	r7, [sp, #20]
	str	r4, [sp, #8]
	str	r5, [sp, #12]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	mov	r1, r10
	ldr	r0, .L40+44
	bl	printf
	ldr	r3, [fp, #-124]
	ldr	r2, [fp, #-124]
	mov	r1, r3
	ldr	r0, .L40+48
	bl	printf
	ldr	r3, .L40+104
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L40+52
	bl	printf
	mov	r1, #30
	ldr	r0, .L40+56
	bl	printf
	ldr	r3, .L40+104
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L40+64
	bl	handle
	sub	r3, fp, #76
	mov	r0, r3
	bl	pthread_attr_init
	ldr	r3, .L40+104
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L40+96
	str	r2, [r3]
	ldr	r3, .L40+96
	ldr	r3, [r3]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L40+64
	bl	handle
	ldr	r0, .L40+76
	bl	time
	ldr	r0, .L40+84
	bl	pthread_mutex_lock
	bl	getpid
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L40+76
	ldr	r3, [r3]
	mul	r3, r2, r3
	mov	r0, r3
	bl	srand
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L30
.L41:
	.align	3
.L40:
	.word	1000000000
	.word	0
	.word	stdout
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	-2147216782
	.word	.LC7
	.word	-2147216784
	.word	4712
	.word	1000000
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC13
	.word	.LC12
	.word	f
	.word	.LC14
	.word	start
	.word	done
	.word	muteks
	.word	count
	.word	maxoffset
	.word	p
	.word	minoffset
	.word	threads
	.word	.LC15
.L31:
	ldr	r3, .L40+96
	ldr	r1, [r3]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r2, [fp, #-116]
	str	r2, [r3]
	ldr	r3, .L40+96
	ldr	r1, [r3]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r2, [fp, #-132]
	ldr	r2, [r2, #4]
	str	r2, [r3, #12]
	bl	rand
	mov	r2, r0
	ldr	r3, [fp, #-116]
	add	r0, r2, r3
	ldr	r3, .L40+96
	ldr	r1, [r3]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	mov	r2, r0
	str	r2, [r3, #16]
	ldr	r3, .L40+96
	ldr	r1, [r3]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r4, r1, r3
	ldr	r0, [fp, #-112]
	bl	dup
	mov	r3, r0
	str	r3, [r4, #4]
	ldr	r3, .L40+96
	ldr	r1, [r3]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	lsr	r3, r3, #31
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L40+60
	bl	handle
	ldr	r3, .L40+96
	ldr	r1, [r3]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r4, r1, r3
	mov	r0, #512
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #32]
	ldr	r3, .L40+96
	ldr	r1, [r3]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r1, r1, r3
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	str	r2, [r1, #24]
	str	r3, [r1, #28]
	ldr	r3, .L40+96
	ldr	r1, [r3]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #32]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L40+64
	bl	handle
	ldr	r3, .L40+96
	ldr	r1, [r3]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	mov	r2, #1
	str	r2, [r3, #8]
	ldr	r3, .L40+96
	ldr	r1, [r3]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3, #36]
	ldr	r3, .L40+96
	ldr	r1, [r3]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r1, r1, r3
	ldr	r3, .L40+100
	ldmia	r3, {r2-r3}
	str	r2, [r1, #48]
	str	r3, [r1, #52]
	ldr	r3, .L40+96
	ldr	r1, [r3]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r1, r1, r3
	ldr	r3, .L40+92
	ldmia	r3, {r2-r3}
	str	r2, [r1, #40]
	str	r3, [r1, #44]
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-104]
	add	r0, r2, r3
	ldr	r3, .L40+96
	ldr	r1, [r3]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r2, .L40+68
	mov	r1, #0
	bl	pthread_create
	str	r0, [fp, #-108]
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L40+72
	bl	handle
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L30:
	ldr	r3, .L40+104
	ldr	r3, [r3]
	ldr	r2, [fp, #-116]
	cmp	r2, r3
	blt	.L31
	mov	r0, #1
	bl	sleep
	ldr	r0, .L40+76
	bl	time
	ldr	r1, .L40+80
	mov	r0, #14
	bl	signal
	mov	r0, #1
	bl	alarm
	ldr	r0, .L40+84
	bl	pthread_mutex_unlock
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L32
.L33:
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-104]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L32:
	ldr	r3, .L40+104
	ldr	r3, [r3]
	ldr	r2, [fp, #-116]
	cmp	r2, r3
	blt	.L33
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L34
.L37:
	ldr	r3, .L40+96
	ldr	r1, [r3]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r2, [r3, #36]
	ldr	r3, .L40+88
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L40+88
	str	r3, [r2]
	ldr	r3, .L40+96
	ldr	r1, [r3]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #40
	ldmia	r3, {r2-r3}
	ldr	r1, .L40+92
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L35
	ldr	r3, .L40+96
	ldr	r1, [r3]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #40
	ldmia	r3, {r2-r3}
	ldr	r1, .L40+92
	stm	r1, {r2-r3}
.L35:
	ldr	r3, .L40+96
	ldr	r1, [r3]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r1, r3, #48
	ldmia	r1, {r0-r1}
	ldr	r3, .L40+100
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L36
	ldr	r3, .L40+96
	ldr	r1, [r3]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #48
	ldmia	r3, {r2-r3}
	ldr	r1, .L40+100
	stm	r1, {r2-r3}
.L36:
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L34:
	ldr	r3, .L40+104
	ldr	r3, [r3]
	ldr	r2, [fp, #-116]
	cmp	r2, r3
	blt	.L37
	bl	report
	mov	r3, #0
	ldr	r2, .L40+108
	ldr	r1, [r2]
	ldr	r2, [fp, #-40]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L39
	bl	__stack_chk_fail
.L39:
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
