	.file	"896898.c"
	.intel_syntax noprefix
	.text
	.globl	reset_timer
	.type	reset_timer, @function
reset_timer:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	pxor	xmm0, xmm0
	movsd	QWORD PTR 8[rax], xmm0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	reset_timer, .-reset_timer
	.section	.rodata
.LC1:
	.string	"the_stack_data/896898.c"
	.align 8
.LC2:
	.string	"[%s (%s:%d)] ERROR  gettimeofday() failed\n"
	.text
	.globl	start_timer
	.type	start_timer, @function
start_timer:
.LFB1:
	.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	DWORD PTR -44[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	test	eax, eax
	je	.L3
	mov	rax, QWORD PTR stderr[rip]
	mov	r8d, 44
	lea	rcx, .LC1[rip]
	lea	rdx, __func__.6[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	rax, QWORD PTR -32[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC3[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -40[rbp]
	movsd	QWORD PTR [rax], xmm0
	cmp	DWORD PTR -44[rbp], 0
	je	.L6
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	reset_timer
.L6:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	start_timer, .-start_timer
	.globl	stop_timer
	.type	stop_timer, @function
stop_timer:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	test	eax, eax
	je	.L8
	mov	rax, QWORD PTR stderr[rip]
	mov	r8d, 53
	lea	rcx, .LC1[rip]
	lea	rdx, __func__.5[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -32[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, rax
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm3, QWORD PTR .LC3[rip]
	divsd	xmm0, xmm3
	addsd	xmm0, xmm2
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm0, xmm2
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -40[rbp]
	movsd	QWORD PTR 8[rax], xmm0
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	stop_timer, .-stop_timer
	.globl	randint
	.type	randint, @function
randint:
.LFB3:
	.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	DWORD PTR -8[rbp], esi
	call	rand@PLT
	mov	edx, DWORD PTR -8[rbp]
	mov	ecx, edx
	sub	ecx, DWORD PTR -4[rbp]
	cdq
	idiv	ecx
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	randint, .-randint
	.globl	random_bytes
	.type	random_bytes, @function
random_bytes:
.LFB4:
	.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	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L13
.L14:
	call	rand@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -4[rbp], 1
.L13:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L14
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	random_bytes, .-random_bytes
	.globl	random_filename
	.type	random_filename, @function
random_filename:
.LFB5:
	.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	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L16
.L17:
	mov	esi, 123
	mov	edi, 97
	call	randint
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -4[rbp], 1
.L16:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L17
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	random_filename, .-random_filename
	.globl	pwrite_all
	.type	pwrite_all, @function
pwrite_all:
.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, 48
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -24[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
.L21:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rsi, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	pwrite@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L19
	mov	eax, -1
	jmp	.L20
.L19:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -4[rbp]
	sub	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	add	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -24[rbp], 0
	jg	.L21
	mov	eax, 0
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	pwrite_all, .-pwrite_all
	.globl	write_all
	.type	write_all, @function
write_all:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -24[rbp], edx
.L25:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L23
	mov	eax, -1
	jmp	.L24
.L23:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -4[rbp]
	sub	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], 0
	jg	.L25
	mov	eax, 0
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	write_all, .-write_all
	.globl	buffer
	.bss
	.align 32
	.type	buffer, @object
	.size	buffer, 10485760
buffer:
	.zero	10485760
	.section	.rodata
	.align 8
.LC4:
	.string	"[%s (%s:%d)] ERROR  Size should be multiple of 64KB\n"
	.align 8
.LC5:
	.string	"[%s (%s:%d)] ERROR  Failed to create file %s: %s\n"
	.align 8
.LC6:
	.string	"[%s (%s:%d)] ERROR  Failed to write bytes to file %s: %s\n"
	.text
	.globl	create_random_file
	.type	create_random_file, @function
create_random_file:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	movabs	rdx, -3689348814741910323
	mov	rax, rcx
	mul	rdx
	shr	rdx, 23
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 21
	sub	rcx, rax
	mov	rdx, rcx
	test	rdx, rdx
	je	.L27
	mov	rax, QWORD PTR stderr[rip]
	mov	r8d, 101
	lea	rcx, .LC1[rip]
	lea	rdx, __func__.4[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L27:
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 420
	mov	rdi, rax
	call	creat@PLT
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], -1
	jne	.L28
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -24[rbp]
	sub	rsp, 8
	push	rdx
	mov	r9, rcx
	mov	r8d, 103
	lea	rcx, .LC1[rip]
	lea	rdx, __func__.4[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	edi, 1
	call	exit@PLT
.L28:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	movabs	rdx, -3689348814741910323
	mul	rdx
	mov	rax, rdx
	shr	rax, 23
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L29
.L31:
	mov	esi, 10485760
	lea	rdi, buffer[rip]
	call	random_bytes
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, 10485760
	lea	rsi, buffer[rip]
	mov	edi, eax
	call	write_all
	test	eax, eax
	je	.L30
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -24[rbp]
	sub	rsp, 8
	push	rdx
	mov	r9, rcx
	mov	r8d, 107
	lea	rcx, .LC1[rip]
	lea	rdx, __func__.4[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	edi, 1
	call	exit@PLT
.L30:
	add	DWORD PTR -12[rbp], 1
.L29:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L31
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	call	close@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	create_random_file, .-create_random_file
	.globl	bench_dir
	.bss
	.align 8
	.type	bench_dir, @object
	.size	bench_dir, 8
bench_dir:
	.zero	8
	.globl	filename
	.align 32
	.type	filename, @object
	.size	filename, 512
filename:
	.zero	512
	.globl	filepath
	.align 32
	.type	filepath, @object
	.size	filepath, 512
filepath:
	.zero	512
	.section	.rodata
.LC7:
	.string	"[4K random writes]"
.LC8:
	.string	"%s/%s"
.LC9:
	.string	"creation: %.6f s\n"
.LC10:
	.string	"open: %.6f s\n"
	.align 8
.LC11:
	.string	"[%s (%s:%d)] ERROR  Failed to open file %s: %s\n"
.LC12:
	.string	"write: %.6f s\n"
.LC13:
	.string	"close: %.6f s\n"
	.text
	.globl	exp_1
	.type	exp_1, @function
exp_1:
.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	DWORD PTR -52[rbp], 104857600
	mov	esi, 20
	lea	rdi, filename[rip]
	call	random_filename
	mov	rax, QWORD PTR bench_dir[rip]
	lea	rcx, filename[rip]
	mov	rdx, rax
	lea	rsi, .LC8[rip]
	lea	rdi, filepath[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -32[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	start_timer
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	lea	rdi, filepath[rip]
	call	create_random_file
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	stop_timer
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	mov	DWORD PTR -48[rbp], 100000
	mov	DWORD PTR -44[rbp], 4096
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, buffer[rip]
	call	random_bytes
	lea	rax, -32[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	start_timer
	mov	esi, 1
	lea	rdi, filepath[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -40[rbp], eax
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	stop_timer
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	cmp	DWORD PTR -40[rbp], -1
	jne	.L33
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	push	rdx
	lea	r9, filepath[rip]
	mov	r8d, 138
	lea	rcx, .LC1[rip]
	lea	rdx, __func__.3[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	edi, 1
	call	exit@PLT
.L33:
	lea	rax, -32[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	start_timer
	mov	DWORD PTR -56[rbp], 0
	jmp	.L34
.L36:
	mov	eax, DWORD PTR -52[rbp]
	cdq
	idiv	DWORD PTR -44[rbp]
	mov	esi, eax
	mov	edi, 0
	call	randint
	mov	edx, DWORD PTR -44[rbp]
	imul	eax, edx
	mov	DWORD PTR -36[rbp], eax
	mov	ecx, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -40[rbp]
	lea	rsi, buffer[rip]
	mov	edi, eax
	call	pwrite_all
	test	eax, eax
	je	.L35
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	push	rdx
	lea	r9, filepath[rip]
	mov	r8d, 143
	lea	rcx, .LC1[rip]
	lea	rdx, __func__.3[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	edi, 1
	call	exit@PLT
.L35:
	add	DWORD PTR -56[rbp], 1
.L34:
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	jl	.L36
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	stop_timer
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	start_timer
	mov	eax, DWORD PTR -40[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	stop_timer
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	exp_1, .-exp_1
	.section	.rodata
	.align 8
.LC14:
	.string	"[4KB sequential writes with fsync]"
	.align 8
.LC15:
	.string	"[%s (%s:%d)] ERROR  Failed to fsync file %s: %s\n"
	.text
	.globl	exp_2
	.type	exp_2, @function
exp_2:
.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	DWORD PTR -48[rbp], 524288000
	mov	esi, 20
	lea	rdi, filename[rip]
	call	random_filename
	mov	rax, QWORD PTR bench_dir[rip]
	lea	rcx, filename[rip]
	mov	rdx, rax
	lea	rsi, .LC8[rip]
	lea	rdi, filepath[rip]
	mov	eax, 0
	call	sprintf@PLT
	mov	DWORD PTR -44[rbp], 4096
	mov	eax, DWORD PTR -48[rbp]
	cdq
	idiv	DWORD PTR -44[rbp]
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, buffer[rip]
	call	random_bytes
	lea	rax, -32[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	start_timer
	mov	esi, 420
	lea	rdi, filepath[rip]
	call	creat@PLT
	mov	DWORD PTR -36[rbp], eax
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	stop_timer
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	cmp	DWORD PTR -36[rbp], -1
	jne	.L39
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	push	rdx
	lea	r9, filepath[rip]
	mov	r8d, 174
	lea	rcx, .LC1[rip]
	lea	rdx, __func__.2[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	edi, 1
	call	exit@PLT
.L39:
	lea	rax, -32[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	start_timer
	mov	DWORD PTR -52[rbp], 0
	jmp	.L40
.L43:
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -36[rbp]
	lea	rsi, buffer[rip]
	mov	edi, eax
	call	write_all
	test	eax, eax
	je	.L41
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	push	rdx
	lea	r9, filepath[rip]
	mov	r8d, 178
	lea	rcx, .LC1[rip]
	lea	rdx, __func__.2[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	edi, 1
	call	exit@PLT
.L41:
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	fsync@PLT
	test	eax, eax
	je	.L42
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	push	rdx
	lea	r9, filepath[rip]
	mov	r8d, 180
	lea	rcx, .LC1[rip]
	lea	rdx, __func__.2[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	edi, 1
	call	exit@PLT
.L42:
	add	DWORD PTR -52[rbp], 1
.L40:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L43
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	stop_timer
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	start_timer
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	stop_timer
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L44
	call	__stack_chk_fail@PLT
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	exp_2, .-exp_2
	.section	.rodata
.LC16:
	.string	"[create 4K random files]"
.LC17:
	.string	"creat: %.6f s\n"
	.text
	.globl	exp_3
	.type	exp_3, @function
exp_3:
.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, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC16[rip]
	call	puts@PLT
	mov	DWORD PTR -76[rbp], 100
	mov	DWORD PTR -72[rbp], 4096
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	reset_timer
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	reset_timer
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	reset_timer
	mov	DWORD PTR -80[rbp], 0
	jmp	.L46
.L49:
	mov	esi, 20
	lea	rdi, filename[rip]
	call	random_filename
	mov	rax, QWORD PTR bench_dir[rip]
	lea	rcx, filename[rip]
	mov	rdx, rax
	lea	rsi, .LC8[rip]
	lea	rdi, filepath[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -64[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	start_timer
	mov	esi, 420
	lea	rdi, filepath[rip]
	call	creat@PLT
	mov	DWORD PTR -68[rbp], eax
	cmp	DWORD PTR -68[rbp], -1
	jne	.L47
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	push	rdx
	lea	r9, filepath[rip]
	mov	r8d, 214
	lea	rcx, .LC1[rip]
	lea	rdx, __func__.1[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	edi, 1
	call	exit@PLT
.L47:
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	stop_timer
	mov	eax, DWORD PTR -72[rbp]
	mov	esi, eax
	lea	rdi, buffer[rip]
	call	random_bytes
	lea	rax, -48[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	start_timer
	mov	edx, DWORD PTR -72[rbp]
	mov	eax, DWORD PTR -68[rbp]
	lea	rsi, buffer[rip]
	mov	edi, eax
	call	write_all
	test	eax, eax
	je	.L48
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	push	rdx
	lea	r9, filepath[rip]
	mov	r8d, 220
	lea	rcx, .LC1[rip]
	lea	rdx, __func__.1[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	edi, 1
	call	exit@PLT
.L48:
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	stop_timer
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	start_timer
	mov	eax, DWORD PTR -68[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	stop_timer
	add	DWORD PTR -80[rbp], 1
.L46:
	mov	eax, DWORD PTR -80[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jl	.L49
	mov	rax, QWORD PTR -56[rbp]
	movq	xmm0, rax
	lea	rdi, .LC17[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -40[rbp]
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L50
	call	__stack_chk_fail@PLT
.L50:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	exp_3, .-exp_3
	.section	.rodata
	.align 8
.LC18:
	.string	"[%s (%s:%d)] ERROR  The first argument should be bench_dir\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.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	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	cmp	DWORD PTR -4[rbp], 1
	jg	.L52
	mov	rax, QWORD PTR stderr[rip]
	mov	r8d, 238
	lea	rcx, .LC1[rip]
	lea	rdx, __func__.0[rip]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L52:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR bench_dir[rip], rax
	mov	eax, 0
	call	exp_1
	mov	eax, 0
	call	exp_2
	mov	eax, 0
	call	exp_3
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	__func__.6, @object
	.size	__func__.6, 12
__func__.6:
	.string	"start_timer"
	.align 8
	.type	__func__.5, @object
	.size	__func__.5, 11
__func__.5:
	.string	"stop_timer"
	.align 16
	.type	__func__.4, @object
	.size	__func__.4, 19
__func__.4:
	.string	"create_random_file"
	.type	__func__.3, @object
	.size	__func__.3, 6
__func__.3:
	.string	"exp_1"
	.type	__func__.2, @object
	.size	__func__.2, 6
__func__.2:
	.string	"exp_2"
	.type	__func__.1, @object
	.size	__func__.1, 6
__func__.1:
	.string	"exp_3"
	.type	__func__.0, @object
	.size	__func__.0, 5
__func__.0:
	.string	"main"
	.align 8
.LC3:
	.long	0
	.long	1093567616
	.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	"896898.c"
	.text
	.align	2
	.global	reset_timer
	.syntax unified
	.arm
	.fpu softvfp
	.type	reset_timer, %function
reset_timer:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	mov	r2, #0
	mov	r3, #0
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	reset_timer, .-reset_timer
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/896898.c\000"
	.align	2
.LC1:
	.ascii	"[%s (%s:%d)] ERROR  gettimeofday() failed\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	start_timer
	.syntax unified
	.arm
	.fpu softvfp
	.type	start_timer, %function
start_timer:
	@ 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]
	str	r1, [fp, #-36]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #24
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r3, .L7+4
	ldr	r0, [r3]
	mov	r3, #44
	str	r3, [sp]
	ldr	r3, .L7+8
	ldr	r2, .L7+12
	ldr	r1, .L7+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L3:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L7+20
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-32]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L6
	ldr	r0, [fp, #-32]
	bl	reset_timer
.L6:
	nop
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC2
	.word	stderr
	.word	.LC0
	.word	__func__.5664
	.word	.LC1
	.word	1093567616
	.size	start_timer, .-start_timer
	.global	__aeabi_dsub
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	stop_timer
	.syntax unified
	.arm
	.fpu softvfp
	.type	stop_timer, %function
stop_timer:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #32
	str	r0, [fp, #-40]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #32
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L12+4
	ldr	r0, [r3]
	mov	r3, #53
	str	r3, [sp]
	ldr	r3, .L12+8
	ldr	r2, .L12+12
	ldr	r1, .L12+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L10:
	ldr	r3, [fp, #-40]
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L12+20
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-40]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-40]
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	nop
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC3
	.word	stderr
	.word	.LC0
	.word	__func__.5669
	.word	.LC1
	.word	1093567616
	.size	stop_timer, .-stop_timer
	.global	__aeabi_idivmod
	.align	2
	.global	randint
	.syntax unified
	.arm
	.fpu softvfp
	.type	randint, %function
randint:
	@ 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]
	bl	rand
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	mov	r1, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	randint, .-randint
	.align	2
	.global	random_bytes
	.syntax unified
	.arm
	.fpu softvfp
	.type	random_bytes, %function
random_bytes:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L17
.L18:
	bl	rand
	mov	r1, r0
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	and	r2, r1, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L17:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L18
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	random_bytes, .-random_bytes
	.align	2
	.global	random_filename
	.syntax unified
	.arm
	.fpu softvfp
	.type	random_filename, %function
random_filename:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L20
.L21:
	mov	r1, #123
	mov	r0, #97
	bl	randint
	mov	r1, r0
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	and	r2, r1, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L20:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L21
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	random_filename, .-random_filename
	.align	2
	.global	pwrite_all
	.syntax unified
	.arm
	.fpu softvfp
	.type	pwrite_all, %function
pwrite_all:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
.L25:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	pwrite
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L23
	mvn	r3, #0
	b	.L24
.L23:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bgt	.L25
	mov	r3, #0
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	pwrite_all, .-pwrite_all
	.align	2
	.global	write_all
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_all, %function
write_all:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
.L29:
	ldr	r3, [fp, #-24]
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	write
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L27
	mvn	r3, #0
	b	.L28
.L27:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bgt	.L29
	mov	r3, #0
.L28:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	write_all, .-write_all
	.comm	buffer,10485760,4
	.section	.rodata
	.align	2
.LC4:
	.ascii	"[%s (%s:%d)] ERROR  Size should be multiple of 64KB"
	.ascii	"\012\000"
	.align	2
.LC5:
	.ascii	"[%s (%s:%d)] ERROR  Failed to create file %s: %s\012"
	.ascii	"\000"
	.align	2
.LC6:
	.ascii	"[%s (%s:%d)] ERROR  Failed to write bytes to file %"
	.ascii	"s: %s\012\000"
	.text
	.align	2
	.global	create_random_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_random_file, %function
create_random_file:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r1, [fp, #-36]
	ldr	r3, .L36
	umull	r2, r3, r1, r3
	lsr	r2, r3, #23
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #21
	sub	r2, r1, r3
	cmp	r2, #0
	beq	.L31
	ldr	r3, .L36+4
	ldr	r0, [r3]
	mov	r3, #101
	str	r3, [sp]
	ldr	r3, .L36+8
	ldr	r2, .L36+12
	ldr	r1, .L36+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L31:
	mov	r1, #420
	ldr	r0, [fp, #-32]
	bl	creat
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	bne	.L32
	ldr	r3, .L36+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp, #8]
	ldr	r3, [fp, #-32]
	str	r3, [sp, #4]
	mov	r3, #103
	str	r3, [sp]
	ldr	r3, .L36+8
	ldr	r2, .L36+12
	ldr	r1, .L36+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L32:
	ldr	r3, [fp, #-36]
	ldr	r2, .L36
	umull	r1, r3, r2, r3
	lsr	r3, r3, #23
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L33
.L35:
	mov	r1, #10485760
	ldr	r0, .L36+24
	bl	random_bytes
	mov	r2, #10485760
	ldr	r1, .L36+24
	ldr	r0, [fp, #-20]
	bl	write_all
	mov	r3, r0
	cmp	r3, #0
	beq	.L34
	ldr	r3, .L36+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp, #8]
	ldr	r3, [fp, #-32]
	str	r3, [sp, #4]
	mov	r3, #107
	str	r3, [sp]
	ldr	r3, .L36+8
	ldr	r2, .L36+12
	ldr	r1, .L36+28
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L34:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L33:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L35
	ldr	r0, [fp, #-20]
	bl	close
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L37:
	.align	2
.L36:
	.word	-858993459
	.word	stderr
	.word	.LC0
	.word	__func__.5712
	.word	.LC4
	.word	.LC5
	.word	buffer
	.word	.LC6
	.size	create_random_file, .-create_random_file
	.comm	bench_dir,4,4
	.comm	filename,512,4
	.comm	filepath,512,4
	.section	.rodata
	.align	2
.LC7:
	.ascii	"[4K random writes]\000"
	.align	2
.LC8:
	.ascii	"%s/%s\000"
	.align	2
.LC9:
	.ascii	"creation: %.6f s\012\000"
	.align	2
.LC10:
	.ascii	"open: %.6f s\012\000"
	.align	2
.LC11:
	.ascii	"[%s (%s:%d)] ERROR  Failed to open file %s: %s\012\000"
	.global	__aeabi_idiv
	.align	2
.LC12:
	.ascii	"write: %.6f s\012\000"
	.align	2
.LC13:
	.ascii	"close: %.6f s\012\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	exp_1
	.syntax unified
	.arm
	.fpu softvfp
	.type	exp_1, %function
exp_1:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #68
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L44+4
	bl	puts
	mov	r3, #104857600
	str	r3, [fp, #-56]
	mov	r1, #20
	ldr	r0, .L44+8
	bl	random_filename
	ldr	r3, .L44+12
	ldr	r2, [r3]
	ldr	r3, .L44+8
	ldr	r1, .L44+16
	ldr	r0, .L44+20
	bl	sprintf
	sub	r3, fp, #36
	mov	r1, #1
	mov	r0, r3
	bl	start_timer
	ldr	r1, [fp, #-56]
	ldr	r0, .L44+20
	bl	create_random_file
	sub	r3, fp, #36
	mov	r0, r3
	bl	stop_timer
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L44+24
	bl	printf
	ldr	r3, .L44+28
	str	r3, [fp, #-52]
	mov	r3, #4096
	str	r3, [fp, #-48]
	ldr	r1, [fp, #-48]
	ldr	r0, .L44+32
	bl	random_bytes
	sub	r3, fp, #36
	mov	r1, #1
	mov	r0, r3
	bl	start_timer
	mov	r1, #1
	ldr	r0, .L44+20
	bl	open
	str	r0, [fp, #-44]
	sub	r3, fp, #36
	mov	r0, r3
	bl	stop_timer
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L44+36
	bl	printf
	ldr	r3, [fp, #-44]
	cmn	r3, #1
	bne	.L39
	ldr	r3, .L44+40
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp, #8]
	ldr	r3, .L44+20
	str	r3, [sp, #4]
	mov	r3, #138
	str	r3, [sp]
	ldr	r3, .L44+44
	ldr	r2, .L44+48
	ldr	r1, .L44+52
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L39:
	sub	r3, fp, #36
	mov	r1, #1
	mov	r0, r3
	bl	start_timer
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L40
.L42:
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-56]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r1, r3
	mov	r0, #0
	bl	randint
	mov	r2, r0
	ldr	r3, [fp, #-48]
	mul	r3, r2, r3
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-48]
	ldr	r1, .L44+32
	ldr	r0, [fp, #-44]
	bl	pwrite_all
	mov	r3, r0
	cmp	r3, #0
	beq	.L41
	ldr	r3, .L44+40
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp, #8]
	ldr	r3, .L44+20
	str	r3, [sp, #4]
	mov	r3, #143
	str	r3, [sp]
	ldr	r3, .L44+44
	ldr	r2, .L44+48
	ldr	r1, .L44+56
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L41:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L40:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L42
	sub	r3, fp, #36
	mov	r0, r3
	bl	stop_timer
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L44+60
	bl	printf
	sub	r3, fp, #36
	mov	r1, #1
	mov	r0, r3
	bl	start_timer
	ldr	r0, [fp, #-44]
	bl	close
	sub	r3, fp, #36
	mov	r0, r3
	bl	stop_timer
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L44+64
	bl	printf
	mov	r0, #10
	bl	putchar
	nop
	ldr	r3, .L44
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC14
	.word	.LC7
	.word	filename
	.word	bench_dir
	.word	.LC8
	.word	filepath
	.word	.LC9
	.word	100000
	.word	buffer
	.word	.LC10
	.word	stderr
	.word	.LC0
	.word	__func__.5729
	.word	.LC11
	.word	.LC6
	.word	.LC12
	.word	.LC13
	.size	exp_1, .-exp_1
	.section	.rodata
	.align	2
.LC15:
	.ascii	"[4KB sequential writes with fsync]\000"
	.align	2
.LC16:
	.ascii	"[%s (%s:%d)] ERROR  Failed to fsync file %s: %s\012"
	.ascii	"\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	exp_2
	.syntax unified
	.arm
	.fpu softvfp
	.type	exp_2, %function
exp_2:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #68
	ldr	r3, .L53
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L53+4
	bl	puts
	mov	r3, #524288000
	str	r3, [fp, #-52]
	mov	r1, #20
	ldr	r0, .L53+8
	bl	random_filename
	ldr	r3, .L53+12
	ldr	r2, [r3]
	ldr	r3, .L53+8
	ldr	r1, .L53+16
	ldr	r0, .L53+20
	bl	sprintf
	mov	r3, #4096
	str	r3, [fp, #-48]
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-52]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-44]
	ldr	r1, [fp, #-48]
	ldr	r0, .L53+24
	bl	random_bytes
	sub	r3, fp, #36
	mov	r1, #1
	mov	r0, r3
	bl	start_timer
	mov	r1, #420
	ldr	r0, .L53+20
	bl	creat
	str	r0, [fp, #-40]
	sub	r3, fp, #36
	mov	r0, r3
	bl	stop_timer
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L53+28
	bl	printf
	ldr	r3, [fp, #-40]
	cmn	r3, #1
	bne	.L47
	ldr	r3, .L53+32
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp, #8]
	ldr	r3, .L53+20
	str	r3, [sp, #4]
	mov	r3, #174
	str	r3, [sp]
	ldr	r3, .L53+36
	ldr	r2, .L53+40
	ldr	r1, .L53+44
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L47:
	sub	r3, fp, #36
	mov	r1, #1
	mov	r0, r3
	bl	start_timer
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L48
.L51:
	ldr	r2, [fp, #-48]
	ldr	r1, .L53+24
	ldr	r0, [fp, #-40]
	bl	write_all
	mov	r3, r0
	cmp	r3, #0
	beq	.L49
	ldr	r3, .L53+32
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp, #8]
	ldr	r3, .L53+20
	str	r3, [sp, #4]
	mov	r3, #178
	str	r3, [sp]
	ldr	r3, .L53+36
	ldr	r2, .L53+40
	ldr	r1, .L53+48
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L49:
	ldr	r0, [fp, #-40]
	bl	fsync
	mov	r3, r0
	cmp	r3, #0
	beq	.L50
	ldr	r3, .L53+32
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp, #8]
	ldr	r3, .L53+20
	str	r3, [sp, #4]
	mov	r3, #180
	str	r3, [sp]
	ldr	r3, .L53+36
	ldr	r2, .L53+40
	ldr	r1, .L53+52
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L50:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L48:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L51
	sub	r3, fp, #36
	mov	r0, r3
	bl	stop_timer
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L53+56
	bl	printf
	sub	r3, fp, #36
	mov	r1, #1
	mov	r0, r3
	bl	start_timer
	ldr	r0, [fp, #-40]
	bl	close
	sub	r3, fp, #36
	mov	r0, r3
	bl	stop_timer
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L53+60
	bl	printf
	mov	r0, #10
	bl	putchar
	nop
	ldr	r3, .L53
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L52
	bl	__stack_chk_fail
.L52:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L54:
	.align	2
.L53:
	.word	.LC17
	.word	.LC15
	.word	filename
	.word	bench_dir
	.word	.LC8
	.word	filepath
	.word	buffer
	.word	.LC10
	.word	stderr
	.word	.LC0
	.word	__func__.5742
	.word	.LC11
	.word	.LC6
	.word	.LC16
	.word	.LC12
	.word	.LC13
	.size	exp_2, .-exp_2
	.section	.rodata
	.align	2
.LC18:
	.ascii	"[create 4K random files]\000"
	.align	2
.LC19:
	.ascii	"creat: %.6f s\012\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	exp_3
	.syntax unified
	.arm
	.fpu softvfp
	.type	exp_3, %function
exp_3:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #92
	ldr	r3, .L61
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L61+4
	bl	puts
	mov	r3, #100
	str	r3, [fp, #-80]
	mov	r3, #4096
	str	r3, [fp, #-76]
	sub	r3, fp, #68
	mov	r0, r3
	bl	reset_timer
	sub	r3, fp, #52
	mov	r0, r3
	bl	reset_timer
	sub	r3, fp, #36
	mov	r0, r3
	bl	reset_timer
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L56
.L59:
	mov	r1, #20
	ldr	r0, .L61+8
	bl	random_filename
	ldr	r3, .L61+12
	ldr	r2, [r3]
	ldr	r3, .L61+8
	ldr	r1, .L61+16
	ldr	r0, .L61+20
	bl	sprintf
	sub	r3, fp, #68
	mov	r1, #0
	mov	r0, r3
	bl	start_timer
	mov	r1, #420
	ldr	r0, .L61+20
	bl	creat
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-72]
	cmn	r3, #1
	bne	.L57
	ldr	r3, .L61+24
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp, #8]
	ldr	r3, .L61+20
	str	r3, [sp, #4]
	mov	r3, #214
	str	r3, [sp]
	ldr	r3, .L61+28
	ldr	r2, .L61+32
	ldr	r1, .L61+36
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L57:
	sub	r3, fp, #68
	mov	r0, r3
	bl	stop_timer
	ldr	r1, [fp, #-76]
	ldr	r0, .L61+40
	bl	random_bytes
	sub	r3, fp, #52
	mov	r1, #0
	mov	r0, r3
	bl	start_timer
	ldr	r2, [fp, #-76]
	ldr	r1, .L61+40
	ldr	r0, [fp, #-72]
	bl	write_all
	mov	r3, r0
	cmp	r3, #0
	beq	.L58
	ldr	r3, .L61+24
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp, #8]
	ldr	r3, .L61+20
	str	r3, [sp, #4]
	mov	r3, #220
	str	r3, [sp]
	ldr	r3, .L61+28
	ldr	r2, .L61+32
	ldr	r1, .L61+44
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L58:
	sub	r3, fp, #52
	mov	r0, r3
	bl	stop_timer
	sub	r3, fp, #36
	mov	r1, #0
	mov	r0, r3
	bl	start_timer
	ldr	r0, [fp, #-72]
	bl	close
	sub	r3, fp, #36
	mov	r0, r3
	bl	stop_timer
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L56:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L59
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldr	r0, .L61+48
	bl	printf
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r0, .L61+52
	bl	printf
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L61+56
	bl	printf
	mov	r0, #10
	bl	putchar
	nop
	ldr	r3, .L61
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L60
	bl	__stack_chk_fail
.L60:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L62:
	.align	2
.L61:
	.word	.LC20
	.word	.LC18
	.word	filename
	.word	bench_dir
	.word	.LC8
	.word	filepath
	.word	stderr
	.word	.LC0
	.word	__func__.5756
	.word	.LC5
	.word	buffer
	.word	.LC6
	.word	.LC19
	.word	.LC12
	.word	.LC13
	.size	exp_3, .-exp_3
	.section	.rodata
	.align	2
.LC21:
	.ascii	"[%s (%s:%d)] ERROR  The first argument should be be"
	.ascii	"nch_dir\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, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bgt	.L64
	ldr	r3, .L66
	ldr	r0, [r3]
	mov	r3, #238
	str	r3, [sp]
	ldr	r3, .L66+4
	ldr	r2, .L66+8
	ldr	r1, .L66+12
	bl	fprintf
	mov	r0, #1
	bl	exit
.L64:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	ldr	r2, .L66+16
	str	r3, [r2]
	bl	exp_1
	bl	exp_2
	bl	exp_3
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L67:
	.align	2
.L66:
	.word	stderr
	.word	.LC0
	.word	__func__.5764
	.word	.LC21
	.word	bench_dir
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__func__.5664, %object
	.size	__func__.5664, 12
__func__.5664:
	.ascii	"start_timer\000"
	.align	2
	.type	__func__.5669, %object
	.size	__func__.5669, 11
__func__.5669:
	.ascii	"stop_timer\000"
	.align	2
	.type	__func__.5712, %object
	.size	__func__.5712, 19
__func__.5712:
	.ascii	"create_random_file\000"
	.align	2
	.type	__func__.5729, %object
	.size	__func__.5729, 6
__func__.5729:
	.ascii	"exp_1\000"
	.align	2
	.type	__func__.5742, %object
	.size	__func__.5742, 6
__func__.5742:
	.ascii	"exp_2\000"
	.align	2
	.type	__func__.5756, %object
	.size	__func__.5756, 6
__func__.5756:
	.ascii	"exp_3\000"
	.align	2
	.type	__func__.5764, %object
	.size	__func__.5764, 5
__func__.5764:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
