	.file	"613922.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"usage: recursor_ng <string> <depth> <waitp>"
.LC1:
	.string	"Greater than MAX_SPAWN"
.LC2:
	.string	"recursor_ng %s %d %s"
.LC3:
	.string	"YOU HAVE FAILED"
	.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
	push	rbx
	sub	rsp, 584
	.cfi_offset 3, -24
	mov	DWORD PTR -580[rbp], edi
	mov	QWORD PTR -592[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -568[rbp], 0
	mov	DWORD PTR -572[rbp], 0
	cmp	DWORD PTR -580[rbp], 4
	je	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	edi, 43
	call	putchar@PLT
	mov	rax, QWORD PTR -592[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -564[rbp], eax
	cmp	DWORD PTR -564[rbp], 100
	jle	.L3
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L3:
	cmp	DWORD PTR -564[rbp], 0
	je	.L4
	mov	DWORD PTR -576[rbp], 0
	jmp	.L5
.L6:
	mov	rax, QWORD PTR -592[rbp]
	add	rax, 24
	mov	rbx, QWORD PTR [rax]
	mov	rax, QWORD PTR -592[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR -592[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -160[rbp]
	mov	r9, rbx
	mov	r8d, ecx
	mov	rcx, rdx
	lea	rdx, .LC2[rip]
	mov	esi, 128
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -160[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	exec@PLT
	mov	edx, DWORD PTR -576[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -560[rbp+rdx*4], eax
	add	DWORD PTR -576[rbp], 1
.L5:
	mov	eax, DWORD PTR -576[rbp]
	cmp	eax, DWORD PTR -564[rbp]
	jl	.L6
	mov	rax, QWORD PTR -592[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	test	eax, eax
	je	.L7
	mov	DWORD PTR -576[rbp], 0
	jmp	.L8
.L10:
	mov	eax, DWORD PTR -576[rbp]
	cdqe
	mov	eax, DWORD PTR -560[rbp+rax*4]
	mov	edi, eax
	mov	eax, 0
	call	wait@PLT
	mov	DWORD PTR -568[rbp], eax
	cmp	DWORD PTR -568[rbp], 0
	jns	.L9
	mov	DWORD PTR -572[rbp], 1
.L9:
	add	DWORD PTR -576[rbp], 1
.L8:
	mov	eax, DWORD PTR -576[rbp]
	cmp	eax, DWORD PTR -564[rbp]
	jl	.L10
.L7:
	cmp	DWORD PTR -572[rbp], 0
	je	.L4
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L4:
	mov	eax, DWORD PTR -572[rbp]
	mov	edi, eax
	call	exit@PLT
	.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	"613922.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage: recursor_ng <string> <depth> <waitp>\000"
	.align	2
.LC1:
	.ascii	"Greater than MAX_SPAWN\000"
	.align	2
.LC2:
	.ascii	"recursor_ng %s %d %s\000"
	.align	2
.LC3:
	.ascii	"YOU HAVE FAILED\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 560
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #572
	str	r0, [fp, #-568]
	str	r1, [fp, #-572]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-552]
	mov	r3, #0
	str	r3, [fp, #-556]
	ldr	r3, [fp, #-568]
	cmp	r3, #4
	beq	.L2
	ldr	r0, .L12+4
	bl	puts
	mov	r0, #1
	bl	exit
.L2:
	mov	r0, #43
	bl	putchar
	ldr	r3, [fp, #-572]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-548]
	ldr	r3, [fp, #-548]
	cmp	r3, #100
	ble	.L3
	ldr	r0, .L12+8
	bl	puts
	mvn	r0, #0
	bl	exit
.L3:
	ldr	r3, [fp, #-548]
	cmp	r3, #0
	beq	.L4
	mov	r3, #0
	str	r3, [fp, #-560]
	b	.L5
.L6:
	ldr	r3, [fp, #-572]
	add	r3, r3, #4
	ldr	r4, [r3]
	ldr	r3, [fp, #-572]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	sub	r3, r3, #1
	ldr	r2, [fp, #-572]
	add	r2, r2, #12
	ldr	r2, [r2]
	sub	r0, fp, #144
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r4
	ldr	r2, .L12+12
	mov	r1, #128
	bl	snprintf
	sub	r3, fp, #144
	mov	r0, r3
	bl	exec
	mov	r2, r0
	ldr	r3, [fp, #-560]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-532]
	ldr	r3, [fp, #-560]
	add	r3, r3, #1
	str	r3, [fp, #-560]
.L5:
	ldr	r2, [fp, #-560]
	ldr	r3, [fp, #-548]
	cmp	r2, r3
	blt	.L6
	ldr	r3, [fp, #-572]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	mov	r3, #0
	str	r3, [fp, #-560]
	b	.L8
.L10:
	ldr	r3, [fp, #-560]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-532]
	mov	r0, r3
	bl	wait
	str	r0, [fp, #-552]
	ldr	r3, [fp, #-552]
	cmp	r3, #0
	bge	.L9
	mov	r3, #1
	str	r3, [fp, #-556]
.L9:
	ldr	r3, [fp, #-560]
	add	r3, r3, #1
	str	r3, [fp, #-560]
.L8:
	ldr	r2, [fp, #-560]
	ldr	r3, [fp, #-548]
	cmp	r2, r3
	blt	.L10
.L7:
	ldr	r3, [fp, #-556]
	cmp	r3, #0
	beq	.L4
	ldr	r0, .L12+16
	bl	puts
.L4:
	ldr	r0, [fp, #-556]
	bl	exit
.L13:
	.align	2
.L12:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
