	.file	"608724.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"/"
	.text
	.globl	main
	.type	main, @function
main:
.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, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -64[rbp], 0
	mov	DWORD PTR -56[rbp], 0
	mov	DWORD PTR -60[rbp], 0
	jmp	.L2
.L10:
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	WORD PTR -20[rbp], 0
	call	fork@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	jns	.L3
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L3:
	cmp	DWORD PTR -52[rbp], 0
	jne	.L4
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 24
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	mov	rsi, QWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	ecx, 0
	mov	rdi, rax
	mov	eax, 0
	call	execl@PLT
	jmp	.L6
.L5:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	mov	rsi, QWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	ecx, 0
	lea	rdx, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	execl@PLT
	mov	DWORD PTR -64[rbp], eax
.L6:
	cmp	DWORD PTR -64[rbp], 0
	jns	.L7
	mov	DWORD PTR -56[rbp], 1
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR [rax]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -48[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 8250
	mov	BYTE PTR 2[rax], 0
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L7:
	cmp	DWORD PTR -64[rbp], 0
	jne	.L8
	mov	DWORD PTR -56[rbp], 1
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR [rax]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -48[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 8250
	mov	BYTE PTR 2[rax], 0
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L4:
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
.L8:
	add	DWORD PTR -60[rbp], 1
.L2:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	cmp	DWORD PTR -60[rbp], eax
	jge	.L9
	cmp	DWORD PTR -56[rbp], 0
	je	.L10
.L9:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"608724.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/\000"
	.align	2
.LC1:
	.ascii	": \000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L2
.L10:
	mov	r3, #0
	str	r3, [fp, #-40]
	sub	r3, fp, #36
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	str	r2, [r3, #20]
	strh	r2, [r3, #24]	@ movhi
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bge	.L3
	ldr	r3, [fp, #-68]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	mvn	r0, #0
	bl	exit
.L3:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-68]
	add	r3, r3, #12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-68]
	add	r3, r3, #8
	ldr	r0, [r3]
	ldr	r3, [fp, #-68]
	add	r3, r3, #8
	ldr	r1, [r3]
	ldr	r3, [fp, #-68]
	add	r3, r3, #12
	ldr	r2, [r3]
	mov	r3, #0
	bl	execl
	b	.L6
.L5:
	ldr	r3, [fp, #-68]
	add	r3, r3, #8
	ldr	r0, [r3]
	ldr	r3, [fp, #-68]
	add	r3, r3, #8
	ldr	r1, [r3]
	mov	r3, #0
	ldr	r2, .L13+4
	bl	execl
	mov	r3, r0
	str	r3, [fp, #-56]
.L6:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bge	.L7
	mov	r3, #1
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-68]
	ldr	r2, [r3]
	sub	r3, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #40
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #40
	add	r3, r3, r2
	ldr	r2, .L13+8
	mov	r0, r3
	mov	r1, r2
	mov	r3, #3
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-68]
	add	r3, r3, #8
	ldr	r2, [r3]
	sub	r3, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #40
	mov	r0, r3
	bl	perror
	mvn	r0, #0
	bl	exit
.L7:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L8
	mov	r3, #1
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-68]
	ldr	r2, [r3]
	sub	r3, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #40
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #40
	add	r3, r3, r2
	ldr	r2, .L13+8
	mov	r0, r3
	mov	r1, r2
	mov	r3, #3
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-68]
	add	r3, r3, #8
	ldr	r2, [r3]
	sub	r3, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #40
	mov	r0, r3
	bl	perror
	mvn	r0, #0
	bl	exit
.L4:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-44]
	bl	waitpid
.L8:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L2:
	ldr	r3, [fp, #-68]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-52]
	cmp	r3, r2
	bge	.L9
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L10
.L9:
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
