	.file	"726571.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%ld\n"
	.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -28[rbp], 1
	jmp	.L2
.L10:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtoll@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -16[rbp], 0
	call	fork@PLT
	test	eax, eax
	jne	.L3
	jmp	.L4
.L7:
	cmp	QWORD PTR -24[rbp], 0
	jns	.L5
	mov	rax, QWORD PTR -24[rbp]
	cqo
	shr	rdx, 62
	add	rax, rdx
	and	eax, 3
	sub	rax, rdx
	sub	QWORD PTR -16[rbp], rax
	jmp	.L6
.L5:
	mov	rax, QWORD PTR -24[rbp]
	cqo
	shr	rdx, 62
	add	rax, rdx
	and	eax, 3
	sub	rax, rdx
	add	QWORD PTR -16[rbp], rax
.L6:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 3[rax]
	test	rax, rax
	cmovs	rax, rdx
	sar	rax, 2
	mov	QWORD PTR -24[rbp], rax
.L4:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L7
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, 0
	jmp	.L8
.L3:
	mov	DWORD PTR -32[rbp], 0
	nop
.L9:
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	wait@PLT
	test	eax, eax
	jg	.L9
	add	DWORD PTR -28[rbp], 1
.L2:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L10
	mov	eax, 0
.L8:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	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	"726571.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%ld\012\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #120
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #1
	str	r3, [fp, #-48]
	b	.L2
.L10:
	ldr	r3, [fp, #-48]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-68]
	add	r3, r3, r2
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtoll
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-52]
	bl	fork
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	b	.L4
.L7:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	cmp	r2, #0
	sbcs	r3, r3, #0
	bge	.L5
	ldr	ip, [fp, #-52]
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	asr	r3, r1, #31
	mov	r2, r3
	asr	r3, r2, #31
	eor	lr, r0, r2
	str	lr, [fp, #-76]
	eor	r1, r1, r3
	str	r1, [fp, #-72]
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	mov	lr, r0
	subs	lr, lr, r2
	str	lr, [fp, #-84]
	sbc	r1, r1, r3
	str	r1, [fp, #-80]
	mov	r0, #3
	mov	r1, #0
	sub	r5, fp, #84
	ldmia	r5, {r4-r5}
	mov	lr, r4
	and	lr, lr, r0
	str	lr, [fp, #-92]
	mov	lr, r5
	and	r1, lr, r1
	str	r1, [fp, #-88]
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	mov	lr, r0
	eor	r8, lr, r2
	eor	r9, r1, r3
	subs	r1, r8, r2
	str	r1, [fp, #-100]
	sbc	r3, r9, r3
	str	r3, [fp, #-96]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	mov	r3, r2
	sub	r3, ip, r3
	str	r3, [fp, #-52]
	b	.L6
.L5:
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	asr	r3, r1, #31
	mov	r2, r3
	asr	r3, r2, #31
	eor	ip, r0, r2
	str	ip, [fp, #-108]
	eor	r1, r1, r3
	str	r1, [fp, #-104]
	sub	r1, fp, #108
	ldmia	r1, {r0-r1}
	mov	ip, r0
	subs	ip, ip, r2
	str	ip, [fp, #-116]
	sbc	r1, r1, r3
	str	r1, [fp, #-112]
	mov	r0, #3
	mov	r1, #0
	sub	r5, fp, #116
	ldmia	r5, {r4-r5}
	mov	ip, r4
	and	ip, ip, r0
	str	ip, [fp, #-124]
	mov	ip, r5
	and	r1, ip, r1
	str	r1, [fp, #-120]
	sub	r1, fp, #124
	ldmia	r1, {r0-r1}
	mov	ip, r0
	eor	ip, ip, r2
	str	ip, [fp, #-132]
	eor	r1, r1, r3
	str	r1, [fp, #-128]
	sub	r1, fp, #132
	ldmia	r1, {r0-r1}
	mov	ip, r0
	subs	ip, ip, r2
	str	ip, [fp, #-140]
	sbc	r3, r1, r3
	str	r3, [fp, #-136]
	sub	r3, fp, #140
	ldmia	r3, {r2-r3}
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
.L6:
	sub	r5, fp, #44
	ldmia	r5, {r4-r5}
	asr	r3, r5, #31
	mov	r0, r3
	asr	r1, r0, #31
	mov	r2, #3
	mov	r3, #0
	and	ip, r0, r2
	str	ip, [fp, #-148]
	and	r3, r1, r3
	str	r3, [fp, #-144]
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	mov	r1, r2
	adds	r6, r1, r4
	adc	r7, r3, r5
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r6, #2
	orr	r2, r2, r7, lsl #30
	asr	r3, r7, #2
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
.L4:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L7
	ldr	r1, [fp, #-52]
	ldr	r0, .L12+4
	bl	printf
	ldr	r3, .L12+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r3, #0
	b	.L8
.L3:
	mov	r3, #0
	str	r3, [fp, #-56]
	nop
.L9:
	sub	r3, fp, #56
	mov	r0, r3
	bl	wait
	mov	r3, r0
	cmp	r3, #0
	bgt	.L9
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L2:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L10
	mov	r3, #0
.L8:
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC1
	.word	.LC0
	.word	stdout
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
