	.file	"774826.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"file.txt"
.LC1:
	.string	"open fail"
.LC2:
	.string	"write fail"
.LC3:
	.string	"malloc fail"
.LC4:
	.string	"aio_read fail"
.LC5:
	.string	"aio_read done"
.LC6:
	.string	"aio_error fail"
.LC7:
	.string	"aio_read EINPROGRESS"
.LC8:
	.string	"aio_return fail"
.LC9:
	.string	"aio_return:%d\n"
.LC10:
	.string	"faio.aio_buf:%s\n"
	.text
	.globl	do1
	.type	do1, @function
do1:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 272
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 2338328219631577204
	movabs	rdx, 8367810606046146145
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	movabs	rax, 7308332182667555685
	movabs	rdx, 2337205944442167340
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	DWORD PTR -16[rbp], 779053409
	mov	BYTE PTR -12[rbp], 0
	mov	edx, 438
	mov	esi, 1090
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -256[rbp], eax
	cmp	DWORD PTR -256[rbp], -1
	jne	.L2
	lea	rdi, .LC1[rip]
	call	perror@PLT
	jmp	.L1
.L2:
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -48[rbp]
	mov	eax, DWORD PTR -256[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -252[rbp], eax
	cmp	DWORD PTR -252[rbp], -1
	jne	.L4
	lea	rdi, .LC2[rip]
	call	perror@PLT
	jmp	.L1
.L4:
	mov	eax, DWORD PTR -256[rbp]
	mov	edi, eax
	call	close@PLT
	mov	esi, 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -256[rbp], eax
	cmp	DWORD PTR -256[rbp], -1
	jne	.L5
	lea	rdi, .LC1[rip]
	call	perror@PLT
	jmp	.L1
.L5:
	mov	DWORD PTR -248[rbp], 128
	lea	rax, -224[rbp]
	mov	edx, 168
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR -248[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -240[rbp], rax
	cmp	QWORD PTR -240[rbp], 0
	jne	.L6
	lea	rdi, .LC3[rip]
	call	perror@PLT
	jmp	.L1
.L6:
	mov	DWORD PTR -260[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -260[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -240[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 50
	add	DWORD PTR -260[rbp], 1
.L7:
	mov	eax, DWORD PTR -260[rbp]
	cmp	eax, DWORD PTR -248[rbp]
	jl	.L8
	mov	eax, DWORD PTR -248[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -240[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -240[rbp]
	mov	QWORD PTR -208[rbp], rax
	mov	eax, DWORD PTR -256[rbp]
	mov	DWORD PTR -224[rbp], eax
	mov	eax, DWORD PTR -248[rbp]
	cdqe
	mov	QWORD PTR -200[rbp], rax
	mov	QWORD PTR -96[rbp], 0
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	aio_read@PLT
	mov	DWORD PTR -244[rbp], eax
	cmp	DWORD PTR -244[rbp], -1
	jne	.L9
	lea	rdi, .LC4[rip]
	call	perror@PLT
	jmp	.L1
.L9:
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	aio_error@PLT
	cdqe
	mov	QWORD PTR -232[rbp], rax
	cmp	QWORD PTR -232[rbp], 0
	jne	.L10
	lea	rdi, .LC5[rip]
	call	puts@PLT
	nop
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	aio_return@PLT
	mov	DWORD PTR -244[rbp], eax
	cmp	DWORD PTR -244[rbp], -1
	jne	.L14
	jmp	.L17
.L10:
	cmp	QWORD PTR -232[rbp], -1
	jne	.L12
	lea	rdi, .LC6[rip]
	call	perror@PLT
	jmp	.L1
.L12:
	cmp	QWORD PTR -232[rbp], 115
	jne	.L13
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L9
.L13:
	lea	rdi, .LC6[rip]
	call	perror@PLT
	jmp	.L1
.L17:
	lea	rdi, .LC8[rip]
	call	perror@PLT
	jmp	.L1
.L14:
	mov	eax, DWORD PTR -244[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -208[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -256[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rdi, .LC0[rip]
	call	remove@PLT
.L1:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	do1, .-do1
	.section	.rodata
.LC11:
	.string	"%s %s"
	.text
	.globl	genfile
	.type	genfile, @function
genfile:
.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, 224
	mov	QWORD PTR -216[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 2338328219631577204
	movabs	rdx, 8367810606046146145
	mov	QWORD PTR -192[rbp], rax
	mov	QWORD PTR -184[rbp], rdx
	movabs	rax, 7308332182667555685
	movabs	rdx, 2337205944442167340
	mov	QWORD PTR -176[rbp], rax
	mov	QWORD PTR -168[rbp], rdx
	mov	DWORD PTR -160[rbp], 779053409
	mov	BYTE PTR -156[rbp], 0
	mov	rax, QWORD PTR -216[rbp]
	mov	edx, 438
	mov	esi, 1090
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -200[rbp], eax
	cmp	DWORD PTR -200[rbp], -1
	jne	.L19
	lea	rdi, .LC1[rip]
	call	perror@PLT
	jmp	.L18
.L19:
	mov	rcx, QWORD PTR -216[rbp]
	lea	rdx, -192[rbp]
	lea	rax, -144[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC11[rip]
	mov	esi, 128
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -144[rbp]
	mov	eax, DWORD PTR -200[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -196[rbp], eax
	cmp	DWORD PTR -196[rbp], -1
	jne	.L21
	lea	rdi, .LC2[rip]
	call	perror@PLT
	jmp	.L18
.L21:
	mov	eax, DWORD PTR -200[rbp]
	mov	edi, eax
	call	close@PLT
.L18:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	genfile, .-genfile
	.section	.rodata
.LC12:
	.string	"file1.txt"
.LC13:
	.string	"file2.txt"
.LC14:
	.string	"file3.txt"
.LC15:
	.string	"filenum:%d\n"
.LC16:
	.string	"faios[%d].aio_buf:%s\n"
	.align 8
.LC17:
	.string	"aio_read EINPROGRESS faios[%d]\n"
.LC18:
	.string	"aio_suspend starting"
.LC19:
	.string	"aio_suspend fail"
.LC20:
	.string	"aio_suspend end"
	.text
	.globl	do2
	.type	do2, @function
do2:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 184
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	QWORD PTR -184[rbp], rax
	lea	rax, .LC12[rip]
	mov	QWORD PTR -80[rbp], rax
	lea	rax, .LC13[rip]
	mov	QWORD PTR -72[rbp], rax
	lea	rax, .LC14[rip]
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -156[rbp], 3
	mov	edx, DWORD PTR -156[rbp]
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -144[rbp], rax
	movsx	rax, edx
	mov	rsi, rax
	mov	edi, 0
	movsx	rax, edx
	mov	rcx, rax
	mov	ebx, 0
	movsx	rax, edx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L25:
	cmp	rsp, rdx
	je	.L26
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L25
.L26:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L27
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L27:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -136[rbp], rax
	mov	eax, DWORD PTR -156[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -160[rbp], 0
	jmp	.L28
.L31:
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	mov	rax, QWORD PTR -80[rbp+rax*8]
	mov	rdi, rax
	call	genfile
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	mov	rax, QWORD PTR -80[rbp+rax*8]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	rdx, QWORD PTR -136[rbp]
	mov	ecx, DWORD PTR -160[rbp]
	movsx	rcx, ecx
	mov	DWORD PTR [rdx+rcx*4], eax
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -160[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	eax, -1
	jne	.L29
	lea	rdi, .LC1[rip]
	call	perror@PLT
	jmp	.L30
.L29:
	add	DWORD PTR -160[rbp], 1
.L28:
	mov	eax, DWORD PTR -160[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jl	.L31
	mov	ecx, DWORD PTR -156[rbp]
	mov	rax, rsp
	mov	rbx, rax
	movsx	rax, ecx
	sub	rax, 1
	mov	QWORD PTR -128[rbp], rax
	movsx	rax, ecx
	mov	r14, rax
	mov	r15d, 0
	imul	rdx, r15, 1344
	imul	rax, r14, 0
	lea	rsi, [rdx+rax]
	mov	eax, 1344
	mul	r14
	add	rsi, rdx
	mov	rdx, rsi
	movsx	rdx, ecx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	movsx	rax, ecx
	mov	r12, rax
	mov	r13d, 0
	imul	rdx, r13, 1344
	imul	rax, r12, 0
	lea	rsi, [rdx+rax]
	mov	eax, 1344
	mul	r12
	add	rsi, rdx
	mov	rdx, rsi
	movsx	rdx, ecx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rsi, rax
	and	rsi, -4096
	mov	rdx, rsp
	sub	rdx, rsi
.L32:
	cmp	rsp, rdx
	je	.L33
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L32
.L33:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L34
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L34:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -120[rbp], rax
	mov	eax, DWORD PTR -156[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -112[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -208[rbp], rdx
	mov	QWORD PTR -200[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -224[rbp], rdx
	mov	QWORD PTR -216[rbp], 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rsi, rax
	and	rsi, -4096
	mov	rdx, rsp
	sub	rdx, rsi
.L35:
	cmp	rsp, rdx
	je	.L36
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L35
.L36:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L37
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L37:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -104[rbp], rax
	mov	DWORD PTR -152[rbp], 128
	movsx	rdx, ecx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -164[rbp], 0
	jmp	.L38
.L42:
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -88[rbp], rax
	cmp	QWORD PTR -88[rbp], 0
	jne	.L39
	lea	rdi, .LC3[rip]
	call	perror@PLT
	jmp	.L40
.L39:
	mov	eax, DWORD PTR -152[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -88[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rcx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -164[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rsi, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	mov	DWORD PTR [rax], ecx
	mov	eax, DWORD PTR -152[rbp]
	movsx	rcx, eax
	mov	rsi, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	add	rax, 24
	mov	QWORD PTR [rax], rcx
	mov	rcx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	sub	rax, -128
	mov	QWORD PTR [rax], 0
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	aio_read@PLT
	mov	DWORD PTR -148[rbp], eax
	cmp	DWORD PTR -148[rbp], -1
	jne	.L41
	lea	rdi, .LC4[rip]
	call	perror@PLT
	jmp	.L40
.L41:
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, QWORD PTR -120[rbp]
	lea	rcx, [rax+rdx]
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, DWORD PTR -164[rbp]
	movsx	rdx, edx
	mov	QWORD PTR [rax+rdx*8], rcx
	add	DWORD PTR -164[rbp], 1
.L38:
	mov	eax, DWORD PTR -164[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jl	.L42
	mov	DWORD PTR -168[rbp], 0
.L54:
	mov	DWORD PTR -172[rbp], 0
	jmp	.L43
.L50:
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, DWORD PTR -172[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	test	rax, rax
	je	.L61
	mov	eax, DWORD PTR -172[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	aio_error@PLT
	cdqe
	mov	QWORD PTR -96[rbp], rax
	cmp	QWORD PTR -96[rbp], 0
	jne	.L46
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -172[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	aio_return@PLT
	mov	DWORD PTR -148[rbp], eax
	cmp	DWORD PTR -148[rbp], -1
	jne	.L47
	lea	rdi, .LC8[rip]
	call	puts@PLT
	jmp	.L40
.L47:
	mov	eax, DWORD PTR -148[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rcx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -172[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -172[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, DWORD PTR -172[rbp]
	movsx	rdx, edx
	mov	QWORD PTR [rax+rdx*8], 0
	add	DWORD PTR -168[rbp], 1
	jmp	.L45
.L46:
	cmp	QWORD PTR -96[rbp], -1
	jne	.L48
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L40
.L48:
	cmp	QWORD PTR -96[rbp], 115
	jne	.L49
	mov	eax, DWORD PTR -172[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L45
.L49:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L40
.L61:
	nop
.L45:
	add	DWORD PTR -172[rbp], 1
.L43:
	mov	eax, DWORD PTR -172[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jl	.L50
	mov	eax, DWORD PTR -168[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jge	.L62
	lea	rdi, .LC18[rip]
	call	puts@PLT
	mov	ecx, DWORD PTR -156[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	aio_suspend@PLT
	mov	DWORD PTR -148[rbp], eax
	cmp	DWORD PTR -148[rbp], -1
	jne	.L53
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L40
.L53:
	lea	rdi, .LC20[rip]
	call	puts@PLT
	jmp	.L54
.L62:
	nop
	mov	DWORD PTR -176[rbp], 0
	jmp	.L55
.L56:
	mov	rcx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -176[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -176[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	mov	rax, QWORD PTR -80[rbp+rax*8]
	mov	rdi, rax
	call	remove@PLT
	add	DWORD PTR -176[rbp], 1
.L55:
	mov	eax, DWORD PTR -176[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jl	.L56
	mov	rsp, rbx
	mov	rsp, QWORD PTR -184[rbp]
	jmp	.L24
.L40:
	mov	rsp, rbx
.L30:
	mov	rsp, QWORD PTR -184[rbp]
.L24:
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L59
	call	__stack_chk_fail@PLT
.L59:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	do2, .-do2
	.section	.rodata
.LC21:
	.string	"read fail"
.LC22:
	.string	"%s:%s\n"
	.text
	.globl	readfile
	.type	readfile, @function
readfile:
.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, 176
	mov	QWORD PTR -168[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -168[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -152[rbp], eax
	cmp	DWORD PTR -152[rbp], -1
	jne	.L64
	lea	rdi, .LC1[rip]
	call	perror@PLT
	jmp	.L63
.L64:
	lea	rax, -144[rbp]
	mov	edx, 128
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rcx, -144[rbp]
	mov	eax, DWORD PTR -152[rbp]
	mov	edx, 128
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -148[rbp], eax
	cmp	DWORD PTR -148[rbp], -1
	jne	.L66
	lea	rdi, .LC21[rip]
	call	perror@PLT
	jmp	.L63
.L66:
	mov	eax, DWORD PTR -148[rbp]
	cmp	eax, 127
	jbe	.L67
	mov	BYTE PTR -17[rbp], 0
.L67:
	lea	rdx, -144[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -152[rbp]
	mov	edi, eax
	call	close@PLT
.L63:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L69
	call	__stack_chk_fail@PLT
.L69:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	readfile, .-readfile
	.section	.rodata
.LC23:
	.string	"aio_write fail"
.LC24:
	.string	"aio_write done"
.LC25:
	.string	"aio_write EINPROGRESS"
	.align 8
.LC26:
	.string	"wraiocb.aio_nbytes:%ld, aio_return:%d\n"
.LC27:
	.string	"aio_fsync fail"
	.text
	.globl	do3
	.type	do3, @function
do3:
.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, 240
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, 438
	mov	esi, 1090
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -240[rbp], eax
	cmp	DWORD PTR -240[rbp], -1
	jne	.L71
	lea	rdi, .LC1[rip]
	call	perror@PLT
	jmp	.L70
.L71:
	lea	rax, -224[rbp]
	mov	edx, 168
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	movabs	rax, 2338328219631577204
	movabs	rdx, 8367810606046146145
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	movabs	rax, 7308332182667555685
	movabs	rdx, 2337205944442167340
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	DWORD PTR -16[rbp], 779053409
	mov	BYTE PTR -12[rbp], 0
	lea	rax, -48[rbp]
	mov	QWORD PTR -208[rbp], rax
	mov	eax, DWORD PTR -240[rbp]
	mov	DWORD PTR -224[rbp], eax
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -200[rbp], rax
	mov	QWORD PTR -96[rbp], 0
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	aio_write@PLT
	mov	DWORD PTR -236[rbp], eax
	cmp	DWORD PTR -236[rbp], -1
	jne	.L73
	lea	rdi, .LC23[rip]
	call	puts@PLT
	jmp	.L70
.L73:
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	aio_error@PLT
	cdqe
	mov	QWORD PTR -232[rbp], rax
	cmp	QWORD PTR -232[rbp], 0
	jne	.L74
	lea	rdi, .LC24[rip]
	call	puts@PLT
	nop
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	aio_return@PLT
	mov	DWORD PTR -236[rbp], eax
	cmp	DWORD PTR -236[rbp], -1
	jne	.L78
	jmp	.L82
.L74:
	cmp	QWORD PTR -232[rbp], -1
	jne	.L76
	lea	rdi, .LC6[rip]
	call	perror@PLT
	jmp	.L70
.L76:
	cmp	QWORD PTR -232[rbp], 115
	jne	.L77
	lea	rdi, .LC25[rip]
	call	puts@PLT
	jmp	.L73
.L77:
	lea	rdi, .LC6[rip]
	call	perror@PLT
	jmp	.L70
.L82:
	lea	rdi, .LC8[rip]
	call	perror@PLT
	jmp	.L70
.L78:
	mov	rax, QWORD PTR -200[rbp]
	mov	edx, DWORD PTR -236[rbp]
	mov	rsi, rax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -224[rbp]
	mov	rsi, rax
	mov	edi, 1052672
	call	aio_fsync@PLT
	mov	DWORD PTR -236[rbp], eax
	cmp	DWORD PTR -236[rbp], -1
	jne	.L79
	lea	rdi, .LC27[rip]
	call	puts@PLT
	jmp	.L70
.L79:
	mov	eax, DWORD PTR -240[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rdi, .LC0[rip]
	call	readfile
	lea	rdi, .LC0[rip]
	call	remove@PLT
.L70:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L81
	call	__stack_chk_fail@PLT
.L81:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	do3, .-do3
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	eax, 0
	call	do3
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"774826.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"file1.txt\000"
	.align	2
.LC1:
	.ascii	"file2.txt\000"
	.align	2
.LC2:
	.ascii	"file3.txt\000"
	.text
	.section	.rodata
	.align	2
.LC5:
	.ascii	"file.txt\000"
	.align	2
.LC6:
	.ascii	"open fail\000"
	.align	2
.LC7:
	.ascii	"write fail\000"
	.align	2
.LC8:
	.ascii	"malloc fail\000"
	.align	2
.LC9:
	.ascii	"aio_read fail\000"
	.align	2
.LC10:
	.ascii	"aio_read done\000"
	.align	2
.LC11:
	.ascii	"aio_error fail\000"
	.align	2
.LC12:
	.ascii	"aio_read EINPROGRESS\000"
	.align	2
.LC13:
	.ascii	"aio_return fail\000"
	.align	2
.LC14:
	.ascii	"aio_return:%d\012\000"
	.align	2
.LC15:
	.ascii	"faio.aio_buf:%s\012\000"
	.align	2
.LC4:
	.ascii	"this is an aio test file, hello aio.\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	do1
	.syntax unified
	.arm
	.fpu softvfp
	.type	do1, %function
do1:
	@ args = 0, pretend = 0, frame = 216
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #216
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L18+4
	sub	ip, fp, #48
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	str	r0, [ip]
	add	ip, ip, #4
	strb	r1, [ip]
	ldr	r2, .L18+8
	ldr	r1, .L18+12
	ldr	r0, .L18+16
	bl	open
	str	r0, [fp, #-216]
	ldr	r3, [fp, #-216]
	cmn	r3, #1
	bne	.L2
	ldr	r0, .L18+20
	bl	perror
	b	.L1
.L2:
	sub	r3, fp, #48
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, [fp, #-216]
	bl	write
	str	r0, [fp, #-212]
	ldr	r3, [fp, #-212]
	cmn	r3, #1
	bne	.L4
	ldr	r0, .L18+24
	bl	perror
	b	.L1
.L4:
	ldr	r0, [fp, #-216]
	bl	close
	mov	r1, #0
	ldr	r0, .L18+16
	bl	open
	str	r0, [fp, #-216]
	ldr	r3, [fp, #-216]
	cmn	r3, #1
	bne	.L5
	ldr	r0, .L18+20
	bl	perror
	b	.L1
.L5:
	mov	r3, #128
	str	r3, [fp, #-208]
	sub	r3, fp, #192
	mov	r2, #144
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-208]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-204]
	ldr	r3, [fp, #-204]
	cmp	r3, #0
	bne	.L6
	ldr	r0, .L18+28
	bl	perror
	b	.L1
.L6:
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L7
.L8:
	ldr	r3, [fp, #-220]
	ldr	r2, [fp, #-204]
	add	r3, r2, r3
	mov	r2, #50
	strb	r2, [r3]
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
.L7:
	ldr	r2, [fp, #-220]
	ldr	r3, [fp, #-208]
	cmp	r2, r3
	blt	.L8
	ldr	r3, [fp, #-208]
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-204]
	bl	memset
	ldr	r3, [fp, #-204]
	str	r3, [fp, #-180]
	ldr	r3, [fp, #-216]
	str	r3, [fp, #-192]
	ldr	r3, [fp, #-208]
	str	r3, [fp, #-176]
	mov	r3, #0
	str	r3, [fp, #-88]
	sub	r3, fp, #192
	mov	r0, r3
	bl	aio_read
	str	r0, [fp, #-200]
	ldr	r3, [fp, #-200]
	cmn	r3, #1
	bne	.L9
	ldr	r0, .L18+32
	bl	perror
	b	.L1
.L9:
	sub	r3, fp, #192
	mov	r0, r3
	bl	aio_error
	str	r0, [fp, #-196]
	ldr	r3, [fp, #-196]
	cmp	r3, #0
	bne	.L10
	ldr	r0, .L18+36
	bl	puts
	nop
	sub	r3, fp, #192
	mov	r0, r3
	bl	aio_return
	str	r0, [fp, #-200]
	ldr	r3, [fp, #-200]
	cmn	r3, #1
	bne	.L14
	b	.L17
.L10:
	ldr	r3, [fp, #-196]
	cmn	r3, #1
	bne	.L12
	ldr	r0, .L18+40
	bl	perror
	b	.L1
.L12:
	ldr	r3, [fp, #-196]
	cmp	r3, #115
	bne	.L13
	ldr	r0, .L18+44
	bl	puts
	b	.L9
.L13:
	ldr	r0, .L18+40
	bl	perror
	b	.L1
.L17:
	ldr	r0, .L18+48
	bl	perror
	b	.L1
.L14:
	ldr	r1, [fp, #-200]
	ldr	r0, .L18+52
	bl	printf
	ldr	r3, [fp, #-180]
	mov	r1, r3
	ldr	r0, .L18+56
	bl	printf
	ldr	r0, [fp, #-204]
	bl	free
	ldr	r0, [fp, #-216]
	bl	close
	ldr	r0, .L18+16
	bl	remove
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC16
	.word	.LC4
	.word	438
	.word	1090
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	do1, .-do1
	.section	.rodata
	.align	2
.LC17:
	.ascii	"%s %s\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	genfile
	.syntax unified
	.arm
	.fpu softvfp
	.type	genfile, %function
genfile:
	@ args = 0, pretend = 0, frame = 192
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #200
	str	r0, [fp, #-192]
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L26+4
	sub	ip, fp, #176
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	str	r0, [ip]
	add	ip, ip, #4
	strb	r1, [ip]
	ldr	r2, .L26+8
	ldr	r1, .L26+12
	ldr	r0, [fp, #-192]
	bl	open
	str	r0, [fp, #-184]
	ldr	r3, [fp, #-184]
	cmn	r3, #1
	bne	.L21
	ldr	r0, .L26+16
	bl	perror
	b	.L20
.L21:
	sub	r2, fp, #176
	sub	r0, fp, #136
	ldr	r3, [fp, #-192]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L26+20
	mov	r1, #128
	bl	snprintf
	sub	r3, fp, #136
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #136
	mov	r1, r3
	ldr	r0, [fp, #-184]
	bl	write
	str	r0, [fp, #-180]
	ldr	r3, [fp, #-180]
	cmn	r3, #1
	bne	.L23
	ldr	r0, .L26+24
	bl	perror
	b	.L20
.L23:
	ldr	r0, [fp, #-184]
	bl	close
.L20:
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC18
	.word	.LC4
	.word	438
	.word	1090
	.word	.LC6
	.word	.LC17
	.word	.LC7
	.size	genfile, .-genfile
	.section	.rodata
	.align	2
.LC20:
	.ascii	"filenum:%d\012\000"
	.align	2
.LC21:
	.ascii	"faios[%d].aio_buf:%s\012\000"
	.align	2
.LC22:
	.ascii	"aio_read EINPROGRESS faios[%d]\012\000"
	.align	2
.LC23:
	.ascii	"aio_suspend starting\000"
	.align	2
.LC24:
	.ascii	"aio_suspend fail\000"
	.align	2
.LC25:
	.ascii	"aio_suspend end\000"
	.align	2
.LC19:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	do2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do2, %function
do2:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #80
	ldr	r3, .L58
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, sp
	mov	r6, r3
	ldr	r2, .L58+4
	sub	r3, fp, #36
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	mov	r3, #3
	str	r3, [fp, #-80]
	ldr	ip, [fp, #-80]
	sub	r3, ip, #1
	str	r3, [fp, #-76]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-72]
	ldr	r1, [fp, #-80]
	ldr	r0, .L58+8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L29
.L32:
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-16]
	mov	r0, r3
	bl	genfile
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-16]
	mov	r1, #0
	mov	r0, r3
	bl	open
	mov	r1, r0
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-84]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-84]
	ldr	r3, [r3, r2, lsl #2]
	cmn	r3, #1
	bne	.L30
	ldr	r0, .L58+12
	bl	perror
	b	.L31
.L30:
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L29:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L32
	ldr	ip, [fp, #-80]
	mov	r3, sp
	mov	r7, r3
	sub	r3, ip, #1
	str	r3, [fp, #-68]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #7
	orr	r1, r1, r2, lsr #25
	lsl	r0, r2, #7
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #7
	orr	r1, r1, r2, lsr #25
	lsl	r0, r2, #7
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-64]
	ldr	lr, [fp, #-80]
	sub	r3, lr, #1
	str	r3, [fp, #-60]
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, lr
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-56]
	mov	r3, #128
	str	r3, [fp, #-52]
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-64]
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-88]
	b	.L33
.L37:
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L34
	ldr	r0, .L58+16
	bl	perror
	b	.L35
.L34:
	ldr	r3, [fp, #-52]
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-40]
	bl	memset
	ldr	r1, [fp, #-64]
	ldr	r2, [fp, #-88]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #12
	ldr	r2, [fp, #-40]
	str	r2, [r3]
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-88]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r0, [fp, #-64]
	ldr	r2, [fp, #-88]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	str	r1, [r3]
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-64]
	ldr	r2, [fp, #-88]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r3, r3, #16
	str	r1, [r3]
	ldr	r1, [fp, #-64]
	ldr	r2, [fp, #-88]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #104
	mov	r2, #0
	str	r2, [r3]
	ldr	r2, [fp, #-88]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	mov	r0, r3
	bl	aio_read
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmn	r3, #1
	bne	.L36
	ldr	r0, .L58+20
	bl	perror
	b	.L35
.L36:
	ldr	r2, [fp, #-88]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, [fp, #-64]
	add	r1, r2, r3
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-88]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L33:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L37
	mov	r3, #0
	str	r3, [fp, #-92]
.L49:
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L38
.L45:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-96]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L56
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	mov	r0, r3
	bl	aio_error
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L41
	ldr	r0, .L58+24
	bl	puts
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	mov	r0, r3
	bl	aio_return
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmn	r3, #1
	bne	.L42
	ldr	r0, .L58+28
	bl	puts
	b	.L35
.L42:
	ldr	r1, [fp, #-48]
	ldr	r0, .L58+32
	bl	printf
	ldr	r1, [fp, #-64]
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-96]
	ldr	r0, .L58+36
	bl	printf
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-96]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
	b	.L40
.L41:
	ldr	r3, [fp, #-44]
	cmn	r3, #1
	bne	.L43
	ldr	r0, .L58+40
	bl	puts
	b	.L35
.L43:
	ldr	r3, [fp, #-44]
	cmp	r3, #115
	bne	.L44
	ldr	r1, [fp, #-96]
	ldr	r0, .L58+44
	bl	printf
	b	.L40
.L44:
	ldr	r0, .L58+40
	bl	puts
	b	.L35
.L56:
	nop
.L40:
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L38:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L45
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	bge	.L57
	ldr	r0, .L58+48
	bl	puts
	mov	r2, #0
	ldr	r1, [fp, #-80]
	ldr	r0, [fp, #-56]
	bl	aio_suspend
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmn	r3, #1
	bne	.L48
	ldr	r0, .L58+52
	bl	printf
	b	.L35
.L48:
	ldr	r0, .L58+56
	bl	puts
	b	.L49
.L57:
	nop
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L50
.L51:
	ldr	r1, [fp, #-64]
	ldr	r2, [fp, #-100]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-100]
	ldr	r3, [r3, r2, lsl #2]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-16]
	mov	r0, r3
	bl	remove
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L50:
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L51
	mov	sp, r7
	mov	sp, r6
	b	.L28
.L35:
	mov	sp, r7
.L31:
	mov	sp, r6
.L28:
	ldr	r3, .L58
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L54
	bl	__stack_chk_fail
.L54:
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L59:
	.align	2
.L58:
	.word	.LC26
	.word	.LC19
	.word	.LC20
	.word	.LC6
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC13
	.word	.LC14
	.word	.LC21
	.word	.LC11
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.size	do2, .-do2
	.section	.rodata
	.align	2
.LC27:
	.ascii	"read fail\000"
	.align	2
.LC28:
	.ascii	"%s:%s\012\000"
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	readfile
	.syntax unified
	.arm
	.fpu softvfp
	.type	readfile, %function
readfile:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	str	r0, [fp, #-152]
	ldr	r3, .L67
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r1, #0
	ldr	r0, [fp, #-152]
	bl	open
	str	r0, [fp, #-144]
	ldr	r3, [fp, #-144]
	cmn	r3, #1
	bne	.L61
	ldr	r0, .L67+4
	bl	perror
	b	.L60
.L61:
	sub	r3, fp, #136
	mov	r2, #128
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #136
	mov	r2, #128
	mov	r1, r3
	ldr	r0, [fp, #-144]
	bl	read
	str	r0, [fp, #-140]
	ldr	r3, [fp, #-140]
	cmn	r3, #1
	bne	.L63
	ldr	r0, .L67+8
	bl	perror
	b	.L60
.L63:
	ldr	r3, [fp, #-140]
	cmp	r3, #127
	bls	.L64
	mov	r3, #0
	strb	r3, [fp, #-9]
.L64:
	sub	r3, fp, #136
	mov	r2, r3
	ldr	r1, [fp, #-152]
	ldr	r0, .L67+12
	bl	printf
	ldr	r0, [fp, #-144]
	bl	close
.L60:
	ldr	r3, .L67
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L66
	bl	__stack_chk_fail
.L66:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L68:
	.align	2
.L67:
	.word	.LC29
	.word	.LC6
	.word	.LC27
	.word	.LC28
	.size	readfile, .-readfile
	.section	.rodata
	.align	2
.LC30:
	.ascii	"aio_write fail\000"
	.align	2
.LC31:
	.ascii	"aio_write done\000"
	.align	2
.LC32:
	.ascii	"aio_write EINPROGRESS\000"
	.align	2
.LC33:
	.ascii	"wraiocb.aio_nbytes:%ld, aio_return:%d\012\000"
	.align	2
.LC34:
	.ascii	"aio_fsync fail\000"
	.align	2
.LC35:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	do3
	.syntax unified
	.arm
	.fpu softvfp
	.type	do3, %function
do3:
	@ args = 0, pretend = 0, frame = 200
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #200
	ldr	r3, .L82
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L82+4
	ldr	r1, .L82+8
	ldr	r0, .L82+12
	bl	open
	str	r0, [fp, #-204]
	ldr	r3, [fp, #-204]
	cmn	r3, #1
	bne	.L70
	ldr	r0, .L82+16
	bl	perror
	b	.L69
.L70:
	sub	r3, fp, #192
	mov	r2, #144
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L82+20
	sub	ip, fp, #48
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	str	r0, [ip]
	add	ip, ip, #4
	strb	r1, [ip]
	sub	r3, fp, #48
	str	r3, [fp, #-180]
	ldr	r3, [fp, #-204]
	str	r3, [fp, #-192]
	sub	r3, fp, #48
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-176]
	mov	r3, #0
	str	r3, [fp, #-88]
	sub	r3, fp, #192
	mov	r0, r3
	bl	aio_write
	str	r0, [fp, #-200]
	ldr	r3, [fp, #-200]
	cmn	r3, #1
	bne	.L72
	ldr	r0, .L82+24
	bl	puts
	b	.L69
.L72:
	sub	r3, fp, #192
	mov	r0, r3
	bl	aio_error
	str	r0, [fp, #-196]
	ldr	r3, [fp, #-196]
	cmp	r3, #0
	bne	.L73
	ldr	r0, .L82+28
	bl	puts
	nop
	sub	r3, fp, #192
	mov	r0, r3
	bl	aio_return
	str	r0, [fp, #-200]
	ldr	r3, [fp, #-200]
	cmn	r3, #1
	bne	.L77
	b	.L81
.L73:
	ldr	r3, [fp, #-196]
	cmn	r3, #1
	bne	.L75
	ldr	r0, .L82+32
	bl	perror
	b	.L69
.L75:
	ldr	r3, [fp, #-196]
	cmp	r3, #115
	bne	.L76
	ldr	r0, .L82+36
	bl	puts
	b	.L72
.L76:
	ldr	r0, .L82+32
	bl	perror
	b	.L69
.L81:
	ldr	r0, .L82+40
	bl	perror
	b	.L69
.L77:
	ldr	r3, [fp, #-176]
	ldr	r2, [fp, #-200]
	mov	r1, r3
	ldr	r0, .L82+44
	bl	printf
	sub	r3, fp, #192
	mov	r1, r3
	ldr	r0, .L82+48
	bl	aio_fsync
	str	r0, [fp, #-200]
	ldr	r3, [fp, #-200]
	cmn	r3, #1
	bne	.L78
	ldr	r0, .L82+52
	bl	puts
	b	.L69
.L78:
	ldr	r0, [fp, #-204]
	bl	close
	ldr	r0, .L82+12
	bl	readfile
	ldr	r0, .L82+12
	bl	remove
.L69:
	ldr	r3, .L82
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L80
	bl	__stack_chk_fail
.L80:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L83:
	.align	2
.L82:
	.word	.LC35
	.word	438
	.word	1090
	.word	.LC5
	.word	.LC6
	.word	.LC4
	.word	.LC30
	.word	.LC31
	.word	.LC11
	.word	.LC32
	.word	.LC13
	.word	.LC33
	.word	1052672
	.word	.LC34
	.size	do3, .-do3
	.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]
	bl	do3
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
