	.file	"523826.c"
	.intel_syntax noprefix
	.text
	.globl	handle_sigchld_entered
	.bss
	.align 4
	.type	handle_sigchld_entered, @object
	.size	handle_sigchld_entered, 4
handle_sigchld_entered:
	.zero	4
	.text
	.globl	handle_sigchld
	.type	handle_sigchld, @function
handle_sigchld:
.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, 64
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 8313474953365053800
	movabs	rdx, 7286934613856053097
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	movabs	rax, 2925136640832622
	mov	QWORD PTR -16[rbp], rax
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -32[rbp]
	mov	rsi, rax
	mov	edi, 2
	call	write@PLT
	mov	DWORD PTR handle_sigchld_entered[rip], 1
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L2
	call	__stack_chk_fail@PLT
.L2:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	handle_sigchld, .-handle_sigchld
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: exec_target [parent_of_waitforchild | waitforchild | child]\n"
	.text
	.globl	usage
	.type	usage, @function
usage:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 67
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	usage, .-usage
	.section	.rodata
.LC1:
	.string	"/proc/self/exe"
	.align 8
.LC2:
	.string	"Couldn't readlink /proc/self/exe, %s\n"
.LC3:
	.string	"pid %d, %s is running\n"
.LC4:
	.string	"parent_of_waitforchild"
.LC5:
	.string	"%s:%d: %s: fork failed, %s\n"
.LC6:
	.string	"test complete, status 0x%x\n"
	.align 8
.LC7:
	.string	"%s:%d: %s: waitpid unexpected return value, rv %d, errno %d, status 0x%x\n"
.LC8:
	.string	"exec_target"
.LC9:
	.string	"waitforchild"
.LC10:
	.string	"execve() to %s failed, %s\n"
.LC11:
	.string	"sigaction failed, %s\n"
.LC12:
	.string	"epoll_create failed, %s\n"
.LC13:
	.string	"epoll_ctl failed, %s\n"
.LC14:
	.string	"epoll_wait() interrupted\n"
	.align 8
.LC15:
	.string	"handle_sigchld_entered is not expected to be 0, but is\n"
	.align 8
.LC16:
	.string	"handle_sigchld_entered is non-zero as expected\n"
	.align 8
.LC17:
	.string	"epoll_wait() returned %d, not expected!\n"
.LC18:
	.string	"child"
	.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 248
	.cfi_offset 3, -24
	mov	DWORD PTR -4340[rbp], edi
	mov	QWORD PTR -4352[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -4340[rbp], 1
	jg	.L5
	call	usage
	mov	eax, 1
	jmp	.L24
.L5:
	lea	rax, -4128[rbp]
	mov	edx, 4096
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	call	readlink@PLT
	mov	DWORD PTR -4336[rbp], eax
	cmp	DWORD PTR -4336[rbp], 0
	jns	.L7
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L24
.L7:
	mov	eax, DWORD PTR -4336[rbp]
	cdqe
	mov	BYTE PTR -4128[rbp+rax], 0
	mov	rax, QWORD PTR -4352[rbp]
	add	rax, 8
	mov	rbx, QWORD PTR [rax]
	call	getpid@PLT
	mov	edx, eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rbx
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -4352[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	call	fork@PLT
	mov	DWORD PTR -4332[rbp], eax
	cmp	DWORD PTR -4332[rbp], 0
	jns	.L9
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -4352[rbp]
	add	rax, 8
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	r9, rdx
	mov	r8, rcx
	mov	ecx, 87
	lea	rdx, __FUNCTION__.0[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L24
.L9:
	cmp	DWORD PTR -4332[rbp], 0
	je	.L11
	lea	rcx, -4308[rbp]
	mov	eax, DWORD PTR -4332[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	mov	DWORD PTR -4324[rbp], eax
	mov	eax, DWORD PTR -4324[rbp]
	cmp	eax, DWORD PTR -4332[rbp]
	jne	.L12
	mov	edx, DWORD PTR -4308[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L24
.L12:
	mov	ebx, DWORD PTR -4308[rbp]
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -4352[rbp]
	add	rax, 8
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	esi, DWORD PTR -4324[rbp]
	push	rbx
	push	rdx
	mov	r9d, esi
	mov	r8, rcx
	mov	ecx, 101
	lea	rdx, __FUNCTION__.0[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	eax, 1
	jmp	.L24
.L11:
	lea	rax, .LC8[rip]
	mov	QWORD PTR -4288[rbp], rax
	lea	rax, .LC9[rip]
	mov	QWORD PTR -4280[rbp], rax
	mov	QWORD PTR -4272[rbp], 0
	mov	QWORD PTR -4296[rbp], 0
	lea	rdx, -4296[rbp]
	lea	rcx, -4288[rbp]
	lea	rax, -4128[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	execve@PLT
	mov	DWORD PTR -4336[rbp], eax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -4128[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L24
.L8:
	mov	rax, QWORD PTR -4352[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L13
	call	fork@PLT
	mov	DWORD PTR -4332[rbp], eax
	cmp	DWORD PTR -4332[rbp], 0
	jns	.L14
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -4352[rbp]
	add	rax, 8
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	r9, rdx
	mov	r8, rcx
	mov	ecx, 122
	lea	rdx, __FUNCTION__.0[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L24
.L14:
	cmp	DWORD PTR -4332[rbp], 0
	je	.L16
	lea	rdx, -4288[rbp]
	mov	eax, 0
	mov	ecx, 19
	mov	rdi, rdx
	rep stosq
	lea	rax, handle_sigchld[rip]
	mov	QWORD PTR -4288[rbp], rax
	mov	DWORD PTR -4152[rbp], 4
	lea	rax, -4288[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 17
	call	sigaction@PLT
	mov	DWORD PTR -4336[rbp], eax
	cmp	DWORD PTR -4336[rbp], 0
	jns	.L17
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L24
.L17:
	mov	edi, 1
	call	epoll_create@PLT
	mov	DWORD PTR -4328[rbp], eax
	cmp	DWORD PTR -4328[rbp], 0
	jns	.L19
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L24
.L19:
	lea	rax, -4296[rbp]
	mov	rdi, rax
	call	pipe@PLT
	mov	DWORD PTR -4336[rbp], eax
	mov	QWORD PTR -4320[rbp], 0
	mov	DWORD PTR -4312[rbp], 0
	mov	DWORD PTR -4320[rbp], 1
	mov	eax, DWORD PTR -4296[rbp]
	mov	DWORD PTR -4316[rbp], eax
	mov	edx, DWORD PTR -4296[rbp]
	lea	rcx, -4320[rbp]
	mov	eax, DWORD PTR -4328[rbp]
	mov	esi, 1
	mov	edi, eax
	call	epoll_ctl@PLT
	mov	DWORD PTR -4336[rbp], eax
	cmp	DWORD PTR -4336[rbp], 0
	jns	.L20
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L24
.L20:
	lea	rsi, -4308[rbp]
	mov	eax, DWORD PTR -4328[rbp]
	mov	r8d, 0
	mov	ecx, -1
	mov	edx, 1
	mov	edi, eax
	call	epoll_pwait@PLT
	mov	DWORD PTR -4336[rbp], eax
	cmp	DWORD PTR -4336[rbp], 0
	jns	.L21
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	jne	.L21
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR handle_sigchld_entered[rip]
	test	eax, eax
	jne	.L22
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 55
	mov	esi, 1
	lea	rdi, .LC15[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L24
.L22:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 47
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L24
.L21:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -4336[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L24
.L16:
	lea	rax, .LC8[rip]
	mov	QWORD PTR -4288[rbp], rax
	lea	rax, .LC18[rip]
	mov	QWORD PTR -4280[rbp], rax
	mov	QWORD PTR -4272[rbp], 0
	mov	QWORD PTR -4296[rbp], 0
	lea	rdx, -4296[rbp]
	lea	rcx, -4288[rbp]
	lea	rax, -4128[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	execve@PLT
	mov	DWORD PTR -4336[rbp], eax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -4128[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L24
.L13:
	mov	rax, QWORD PTR -4352[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L23
	mov	edi, 1
	call	sleep@PLT
	mov	eax, 0
	jmp	.L24
.L23:
	call	usage
	mov	eax, 1
.L24:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.section	.rodata
	.type	__FUNCTION__.0, @object
	.size	__FUNCTION__.0, 5
__FUNCTION__.0:
	.string	"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	"523826.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"exec_target\000"
	.align	2
.LC1:
	.ascii	"waitforchild\000"
	.align	2
.LC3:
	.ascii	"child\000"
	.text
	.global	handle_sigchld_entered
	.bss
	.align	2
	.type	handle_sigchld_entered, %object
	.size	handle_sigchld_entered, 4
handle_sigchld_entered:
	.space	4
	.section	.rodata
	.align	2
.LC5:
	.ascii	"handle_sigchld entered\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	handle_sigchld
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_sigchld, %function
handle_sigchld:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	ldr	r3, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L3+4
	sub	ip, fp, #32
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	sub	r3, fp, #32
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #32
	mov	r1, r3
	mov	r0, #2
	bl	write
	ldr	r3, .L3+8
	mov	r2, #1
	str	r2, [r3]
	nop
	ldr	r3, .L3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L2
	bl	__stack_chk_fail
.L2:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC6
	.word	.LC5
	.word	handle_sigchld_entered
	.size	handle_sigchld, .-handle_sigchld
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Usage: exec_target [parent_of_waitforchild | waitfo"
	.ascii	"rchild | child]\012\000"
	.text
	.align	2
	.global	usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L6
	ldr	r3, [r3]
	mov	r2, #67
	mov	r1, #1
	ldr	r0, .L6+4
	bl	fwrite
	nop
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	stderr
	.word	.LC7
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC8:
	.ascii	"/proc/self/exe\000"
	.align	2
.LC9:
	.ascii	"Couldn't readlink /proc/self/exe, %s\012\000"
	.align	2
.LC10:
	.ascii	"pid %d, %s is running\012\000"
	.align	2
.LC11:
	.ascii	"parent_of_waitforchild\000"
	.align	2
.LC12:
	.ascii	"%s:%d: %s: fork failed, %s\012\000"
	.align	2
.LC13:
	.ascii	"test complete, status 0x%x\012\000"
	.align	2
.LC14:
	.ascii	"%s:%d: %s: waitpid unexpected return value, rv %d, "
	.ascii	"errno %d, status 0x%x\012\000"
	.align	2
.LC16:
	.ascii	"execve() to %s failed, %s\012\000"
	.align	2
.LC17:
	.ascii	"sigaction failed, %s\012\000"
	.align	2
.LC18:
	.ascii	"epoll_create failed, %s\012\000"
	.align	2
.LC19:
	.ascii	"epoll_ctl failed, %s\012\000"
	.align	2
.LC20:
	.ascii	"epoll_wait() interrupted\012\000"
	.align	2
.LC21:
	.ascii	"handle_sigchld_entered is not expected to be 0, but"
	.ascii	" is\012\000"
	.align	2
.LC22:
	.ascii	"handle_sigchld_entered is non-zero as expected\012\000"
	.align	2
.LC23:
	.ascii	"epoll_wait() returned %d, not expected!\012\000"
	.align	2
.LC15:
	.word	.LC0
	.word	.LC1
	.word	0
	.align	2
.LC24:
	.word	.LC0
	.word	.LC3
	.word	0
	.align	2
.LC25:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4304
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #4288
	sub	sp, sp, #32
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-204]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-208]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-204]
	cmp	r3, #1
	bgt	.L9
	bl	usage
	mov	r3, #1
	b	.L28
.L9:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #4096
	mov	r1, r3
	ldr	r0, .L30+4
	bl	readlink
	str	r0, [r4, #-200]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-200]
	cmp	r3, #0
	bge	.L11
	ldr	r3, .L30+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L30+12
	mov	r0, r4
	bl	fprintf
	mov	r3, #1
	b	.L28
.L11:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-200]
	add	r3, r2, r3
	sub	r3, r3, #4
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L30+8
	ldr	r4, [r3]
	bl	getpid
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-208]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L30+16
	mov	r0, r4
	bl	fprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-208]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L30+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	bl	fork
	mov	r3, r0
	str	r3, [r4, #-196]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-196]
	cmp	r3, #0
	bge	.L13
	ldr	r3, .L30+8
	ldr	r5, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-208]
	add	r3, r3, #4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp, #4]
	str	r4, [sp]
	mov	r3, #87
	ldr	r2, .L30+24
	ldr	r1, .L30+28
	mov	r0, r5
	bl	fprintf
	mov	r3, #1
	b	.L28
.L13:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-196]
	cmp	r3, #0
	beq	.L15
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4224
	sub	r3, r3, #12
	sub	r3, r3, #40
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [r0, #-196]
	bl	waitpid
	str	r0, [r4, #-188]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-188]
	ldr	r3, [r3, #-196]
	cmp	r2, r3
	bne	.L16
	ldr	r3, .L30+8
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-168]
	ldr	r1, .L30+32
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	b	.L28
.L16:
	ldr	r3, .L30+8
	ldr	r5, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-208]
	add	r3, r3, #4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-168]
	str	r2, [sp, #12]
	str	r3, [sp, #8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-188]
	str	r3, [sp, #4]
	str	r4, [sp]
	mov	r3, #101
	ldr	r2, .L30+24
	ldr	r1, .L30+36
	mov	r0, r5
	bl	fprintf
	mov	r3, #1
	b	.L28
.L15:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, .L30+40
	sub	r3, r3, #144
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-152]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r2, fp, #4224
	sub	r2, r2, #12
	sub	r2, r2, #24
	sub	r1, fp, #4224
	sub	r1, r1, #12
	sub	r1, r1, #16
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	execve
	mov	r3, r0
	str	r3, [r4, #-200]
	ldr	r3, .L30+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	sub	r2, r2, #4
	ldr	r1, .L30+44
	mov	r0, r4
	bl	fprintf
	mov	r3, #1
	b	.L28
.L12:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-208]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L30+48
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	bl	fork
	mov	r3, r0
	str	r3, [r4, #-196]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-196]
	cmp	r3, #0
	bge	.L18
	ldr	r3, .L30+8
	ldr	r5, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-208]
	add	r3, r3, #4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp, #4]
	str	r4, [sp]
	mov	r3, #122
	ldr	r2, .L30+24
	ldr	r1, .L30+28
	mov	r0, r5
	bl	fprintf
	mov	r3, #1
	b	.L28
.L18:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-196]
	cmp	r3, #0
	beq	.L20
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #144
	mov	r2, #140
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L30+52
	str	r3, [r2, #-144]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #4
	str	r3, [r2, #-12]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4224
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r2, #0
	mov	r1, r3
	mov	r0, #17
	bl	sigaction
	str	r0, [r4, #-200]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-200]
	cmp	r3, #0
	bge	.L21
	ldr	r3, .L30+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L30+56
	mov	r0, r4
	bl	fprintf
	mov	r3, #1
	b	.L28
.L21:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	mov	r0, #1
	bl	epoll_create
	str	r0, [r4, #-192]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-192]
	cmp	r3, #0
	bge	.L23
	ldr	r3, .L30+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L30+60
	mov	r0, r4
	bl	fprintf
	mov	r3, #1
	b	.L28
.L23:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4224
	sub	r3, r3, #12
	sub	r3, r3, #24
	mov	r0, r3
	bl	pipe
	str	r0, [r4, #-200]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #184
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-184]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-152]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-176]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-152]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4224
	sub	r3, r3, #12
	sub	r3, r3, #56
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, #1
	ldr	r0, [r0, #-192]
	bl	epoll_ctl
	str	r0, [r4, #-200]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-200]
	cmp	r3, #0
	bge	.L24
	ldr	r3, .L30+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L30+64
	mov	r0, r4
	bl	fprintf
	mov	r3, #1
	b	.L28
.L24:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #4224
	sub	r1, r1, #12
	sub	r1, r1, #40
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	str	r3, [sp]
	mvn	r3, #0
	mov	r2, #1
	ldr	r0, [r0, #-192]
	bl	epoll_pwait
	str	r0, [r4, #-200]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-200]
	cmp	r3, #0
	bge	.L25
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L25
	ldr	r3, .L30+8
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L30+68
	bl	fwrite
	ldr	r3, .L30+72
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L26
	ldr	r3, .L30+8
	ldr	r3, [r3]
	mov	r2, #55
	mov	r1, #1
	ldr	r0, .L30+76
	bl	fwrite
	mov	r3, #1
	b	.L28
.L26:
	ldr	r3, .L30+8
	ldr	r3, [r3]
	mov	r2, #47
	mov	r1, #1
	ldr	r0, .L30+80
	bl	fwrite
	mov	r3, #0
	b	.L28
.L25:
	ldr	r3, .L30+8
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-200]
	ldr	r1, .L30+84
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L28
.L20:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, .L30+88
	sub	r3, r3, #144
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-152]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r2, fp, #4224
	sub	r2, r2, #12
	sub	r2, r2, #24
	sub	r1, fp, #4224
	sub	r1, r1, #12
	sub	r1, r1, #16
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	execve
	mov	r3, r0
	str	r3, [r4, #-200]
	ldr	r3, .L30+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	sub	r2, r2, #4
	ldr	r1, .L30+44
	mov	r0, r4
	bl	fprintf
	mov	r3, #1
	b	.L28
.L17:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-208]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L30+92
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L27
	mov	r0, #1
	bl	sleep
	mov	r3, #0
	b	.L28
.L27:
	bl	usage
	mov	r3, #1
.L28:
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC25
	.word	.LC8
	.word	stderr
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	__FUNCTION__.6204
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC1
	.word	handle_sigchld
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	handle_sigchld_entered
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC3
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__FUNCTION__.6204, %object
	.size	__FUNCTION__.6204, 5
__FUNCTION__.6204:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
