	.file	"202523.c"
	.intel_syntax noprefix
	.text
	.globl	check_stack
	.type	check_stack, @function
check_stack:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	mov	DWORD PTR -16[rbp], ecx
	mov	DWORD PTR -20[rbp], r8d
	mov	DWORD PTR -24[rbp], r9d
	mov	eax, 111
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	check_stack, .-check_stack
	.globl	bubble_loop
	.type	bubble_loop, @function
bubble_loop:
.LFB1:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -48[rbp], 9
	mov	DWORD PTR -44[rbp], 8
	mov	DWORD PTR -40[rbp], 7
	mov	DWORD PTR -36[rbp], 6
	mov	DWORD PTR -32[rbp], 5
	mov	DWORD PTR -28[rbp], 4
	mov	DWORD PTR -24[rbp], 3
	mov	DWORD PTR -20[rbp], 2
	mov	DWORD PTR -16[rbp], 1
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -60[rbp], 0
	jmp	.L4
.L8:
	mov	eax, DWORD PTR -68[rbp]
	sub	eax, 1
	mov	DWORD PTR -56[rbp], eax
	jmp	.L5
.L7:
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	cdqe
	mov	edx, DWORD PTR -48[rbp+rax*4]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	cmp	edx, eax
	jle	.L6
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	lea	ecx, -1[rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	edx, DWORD PTR -48[rbp+rax*4]
	movsx	rax, ecx
	mov	DWORD PTR -48[rbp+rax*4], edx
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	edx, DWORD PTR -52[rbp]
	mov	DWORD PTR -48[rbp+rax*4], edx
.L6:
	sub	DWORD PTR -56[rbp], 1
.L5:
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jg	.L7
	add	DWORD PTR -60[rbp], 1
.L4:
	mov	eax, DWORD PTR -68[rbp]
	sub	eax, 1
	cmp	DWORD PTR -60[rbp], eax
	jl	.L8
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	bubble_loop, .-bubble_loop
	.globl	quick_loop
	.type	quick_loop, @function
quick_loop:
.LFB2:
	.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, 152
	.cfi_offset 3, -24
	mov	DWORD PTR -148[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -112[rbp], 9
	mov	DWORD PTR -108[rbp], 10
	mov	DWORD PTR -104[rbp], 7
	mov	DWORD PTR -100[rbp], 8
	mov	DWORD PTR -96[rbp], 5
	mov	DWORD PTR -92[rbp], 0
	mov	DWORD PTR -88[rbp], 3
	mov	DWORD PTR -84[rbp], 22
	mov	DWORD PTR -80[rbp], 1
	mov	DWORD PTR -76[rbp], 6
	mov	DWORD PTR -132[rbp], 0
	mov	eax, DWORD PTR -132[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -132[rbp], edx
	cdqe
	mov	DWORD PTR -64[rbp+rax*4], 0
	mov	eax, DWORD PTR -132[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -132[rbp], edx
	mov	edx, DWORD PTR -148[rbp]
	sub	edx, 1
	cdqe
	mov	DWORD PTR -64[rbp+rax*4], edx
	jmp	.L11
.L20:
	sub	DWORD PTR -132[rbp], 1
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	mov	DWORD PTR -128[rbp], eax
	sub	DWORD PTR -132[rbp], 1
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	mov	DWORD PTR -124[rbp], eax
	mov	eax, DWORD PTR -124[rbp]
	mov	DWORD PTR -140[rbp], eax
	mov	eax, DWORD PTR -128[rbp]
	mov	DWORD PTR -136[rbp], eax
	mov	edx, DWORD PTR -136[rbp]
	mov	eax, DWORD PTR -140[rbp]
	add	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cdqe
	mov	eax, DWORD PTR -112[rbp+rax*4]
	mov	DWORD PTR -120[rbp], eax
	jmp	.L12
.L13:
	add	DWORD PTR -140[rbp], 1
.L12:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	mov	eax, DWORD PTR -112[rbp+rax*4]
	cmp	DWORD PTR -120[rbp], eax
	jg	.L13
	jmp	.L14
.L15:
	sub	DWORD PTR -136[rbp], 1
.L14:
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	mov	eax, DWORD PTR -112[rbp+rax*4]
	cmp	DWORD PTR -120[rbp], eax
	jl	.L15
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, DWORD PTR -136[rbp]
	jge	.L23
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	mov	eax, DWORD PTR -112[rbp+rax*4]
	mov	DWORD PTR -116[rbp], eax
	mov	eax, DWORD PTR -140[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -140[rbp], edx
	mov	edx, DWORD PTR -136[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR -112[rbp+rdx*4]
	cdqe
	mov	DWORD PTR -112[rbp+rax*4], edx
	mov	eax, DWORD PTR -136[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -136[rbp], edx
	cdqe
	mov	edx, DWORD PTR -116[rbp]
	mov	DWORD PTR -112[rbp+rax*4], edx
	jmp	.L12
.L23:
	nop
	mov	eax, DWORD PTR -136[rbp]
	add	eax, 1
	cmp	DWORD PTR -128[rbp], eax
	jle	.L19
	mov	eax, DWORD PTR -132[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -132[rbp], edx
	mov	edx, DWORD PTR -136[rbp]
	add	edx, 1
	cdqe
	mov	DWORD PTR -64[rbp+rax*4], edx
	mov	eax, DWORD PTR -132[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -132[rbp], edx
	cdqe
	mov	edx, DWORD PTR -128[rbp]
	mov	DWORD PTR -64[rbp+rax*4], edx
.L19:
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, 1
	cmp	DWORD PTR -124[rbp], eax
	jge	.L11
	mov	eax, DWORD PTR -132[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -132[rbp], edx
	cdqe
	mov	edx, DWORD PTR -124[rbp]
	mov	DWORD PTR -64[rbp+rax*4], edx
	mov	eax, DWORD PTR -132[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -132[rbp], edx
	mov	edx, DWORD PTR -140[rbp]
	sub	edx, 1
	cdqe
	mov	DWORD PTR -64[rbp+rax*4], edx
.L11:
	cmp	DWORD PTR -132[rbp], 0
	jne	.L20
	mov	r10d, DWORD PTR -76[rbp]
	mov	r9d, DWORD PTR -80[rbp]
	mov	r8d, DWORD PTR -84[rbp]
	mov	edi, DWORD PTR -88[rbp]
	mov	ebx, DWORD PTR -92[rbp]
	mov	r11d, DWORD PTR -96[rbp]
	mov	ecx, DWORD PTR -100[rbp]
	mov	edx, DWORD PTR -104[rbp]
	mov	esi, DWORD PTR -108[rbp]
	mov	eax, DWORD PTR -112[rbp]
	push	r10
	push	r9
	push	r8
	push	rdi
	mov	r9d, ebx
	mov	r8d, r11d
	mov	edi, eax
	call	check_stack
	add	rsp, 32
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	quick_loop, .-quick_loop
	.globl	quick_rec
	.type	quick_rec, @function
quick_rec:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L25
.L26:
	add	DWORD PTR -16[rbp], 1
.L25:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -8[rbp], eax
	jg	.L26
	jmp	.L27
.L28:
	sub	DWORD PTR -12[rbp], 1
.L27:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L28
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jge	.L35
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -16[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR [rcx]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -12[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rdx], eax
	jmp	.L25
.L35:
	nop
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, 1
	cmp	DWORD PTR -28[rbp], eax
	jge	.L32
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, -1[rax]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	quick_rec
.L32:
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	cmp	DWORD PTR -32[rbp], eax
	jle	.L36
	mov	eax, DWORD PTR -12[rbp]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	quick_rec
.L36:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	quick_rec, .-quick_rec
	.globl	main
	.type	main, @function
main:
.LFB4:
	.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, 72
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -68[rbp], 10
	mov	DWORD PTR -64[rbp], 9
	mov	DWORD PTR -60[rbp], 10
	mov	DWORD PTR -56[rbp], 7
	mov	DWORD PTR -52[rbp], 8
	mov	DWORD PTR -48[rbp], 5
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -40[rbp], 3
	mov	DWORD PTR -36[rbp], 22
	mov	DWORD PTR -32[rbp], 1
	mov	DWORD PTR -28[rbp], 6
	mov	eax, DWORD PTR -68[rbp]
	mov	edi, eax
	call	bubble_loop
	mov	eax, DWORD PTR -68[rbp]
	mov	edi, eax
	call	quick_loop
	mov	eax, DWORD PTR -68[rbp]
	lea	edx, -1[rax]
	lea	rax, -64[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	quick_rec
	mov	r10d, DWORD PTR -28[rbp]
	mov	r9d, DWORD PTR -32[rbp]
	mov	r8d, DWORD PTR -36[rbp]
	mov	edi, DWORD PTR -40[rbp]
	mov	ebx, DWORD PTR -44[rbp]
	mov	r11d, DWORD PTR -48[rbp]
	mov	ecx, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR -56[rbp]
	mov	esi, DWORD PTR -60[rbp]
	mov	eax, DWORD PTR -64[rbp]
	push	r10
	push	r9
	push	r8
	push	rdi
	mov	r9d, ebx
	mov	r8d, r11d
	mov	edi, eax
	call	check_stack
	add	rsp, 32
	mov	eax, 10101
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.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	"202523.c"
	.text
	.align	2
	.global	check_stack
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_stack, %function
check_stack:
	@ args = 24, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	mov	r3, #111
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	check_stack, .-check_stack
	.section	.rodata
	.align	2
.LC0:
	.word	9
	.word	8
	.word	7
	.word	6
	.word	5
	.word	4
	.word	3
	.word	2
	.word	1
	.word	0
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	bubble_loop
	.syntax unified
	.arm
	.fpu softvfp
	.type	bubble_loop, %function
bubble_loop:
	@ 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]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L10+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}
	stm	ip, {r0, r1}
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L4
.L8:
	ldr	r3, [fp, #-64]
	sub	r3, r3, #1
	str	r3, [fp, #-56]
	b	.L5
.L7:
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-44]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-44]
	cmp	r2, r3
	ble	.L6
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-56]
	sub	r1, r3, #1
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-44]
	lsl	r3, r1, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-44]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-52]
	str	r2, [r3, #-44]
.L6:
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	str	r3, [fp, #-56]
.L5:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	bgt	.L7
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L4:
	ldr	r3, [fp, #-64]
	sub	r3, r3, #1
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	blt	.L8
	nop
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC2
	.word	.LC0
	.size	bubble_loop, .-bubble_loop
	.section	.rodata
	.align	2
.LC1:
	.word	9
	.word	10
	.word	7
	.word	8
	.word	5
	.word	0
	.word	3
	.word	22
	.word	1
	.word	6
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	quick_loop
	.syntax unified
	.arm
	.fpu softvfp
	.type	quick_loop, %function
quick_loop:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #144
	str	r0, [fp, #-136]
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r3, .L26+4
	sub	ip, fp, #104
	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}
	stm	ip, {r0, r1}
	mov	r3, #0
	str	r3, [fp, #-124]
	ldr	r3, [fp, #-124]
	add	r2, r3, #1
	str	r2, [fp, #-124]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-44]
	ldr	r3, [fp, #-124]
	add	r2, r3, #1
	str	r2, [fp, #-124]
	ldr	r2, [fp, #-136]
	sub	r2, r2, #1
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	str	r2, [r3, #-44]
	b	.L13
.L22:
	ldr	r3, [fp, #-124]
	sub	r3, r3, #1
	str	r3, [fp, #-124]
	ldr	r3, [fp, #-124]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-124]
	sub	r3, r3, #1
	str	r3, [fp, #-124]
	ldr	r3, [fp, #-124]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-116]
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-120]
	str	r3, [fp, #-128]
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-132]
	add	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-84]
	str	r3, [fp, #-112]
	b	.L14
.L15:
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L14:
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-84]
	ldr	r2, [fp, #-112]
	cmp	r2, r3
	bgt	.L15
	b	.L16
.L17:
	ldr	r3, [fp, #-128]
	sub	r3, r3, #1
	str	r3, [fp, #-128]
.L16:
	ldr	r3, [fp, #-128]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-84]
	ldr	r2, [fp, #-112]
	cmp	r2, r3
	blt	.L17
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-128]
	cmp	r2, r3
	bge	.L25
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-84]
	str	r3, [fp, #-108]
	ldr	r2, [fp, #-132]
	add	r3, r2, #1
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-128]
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	ldr	r1, [r3, #-84]
	lsl	r3, r2, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	str	r1, [r3, #-84]
	ldr	r3, [fp, #-128]
	sub	r2, r3, #1
	str	r2, [fp, #-128]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [fp, #-108]
	str	r2, [r3, #-84]
	b	.L14
.L25:
	nop
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	ldr	r2, [fp, #-120]
	cmp	r2, r3
	ble	.L21
	ldr	r3, [fp, #-124]
	add	r2, r3, #1
	str	r2, [fp, #-124]
	ldr	r2, [fp, #-128]
	add	r2, r2, #1
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	str	r2, [r3, #-44]
	ldr	r3, [fp, #-124]
	add	r2, r3, #1
	str	r2, [fp, #-124]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [fp, #-120]
	str	r2, [r3, #-44]
.L21:
	ldr	r3, [fp, #-132]
	sub	r3, r3, #1
	ldr	r2, [fp, #-116]
	cmp	r2, r3
	bge	.L13
	ldr	r3, [fp, #-124]
	add	r2, r3, #1
	str	r2, [fp, #-124]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [fp, #-116]
	str	r2, [r3, #-44]
	ldr	r3, [fp, #-124]
	add	r2, r3, #1
	str	r2, [fp, #-124]
	ldr	r2, [fp, #-132]
	sub	r2, r2, #1
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	str	r2, [r3, #-44]
.L13:
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bne	.L22
	ldr	r4, [fp, #-104]
	ldr	r5, [fp, #-100]
	ldr	r6, [fp, #-96]
	ldr	r7, [fp, #-92]
	ldr	r3, [fp, #-88]
	ldr	r2, [fp, #-84]
	ldr	r1, [fp, #-80]
	ldr	r0, [fp, #-76]
	ldr	ip, [fp, #-72]
	ldr	lr, [fp, #-68]
	str	lr, [sp, #20]
	str	ip, [sp, #16]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r7
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	bl	check_stack
	nop
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC3
	.word	.LC1
	.size	quick_loop, .-quick_loop
	.align	2
	.global	quick_rec
	.syntax unified
	.arm
	.fpu softvfp
	.type	quick_rec, %function
quick_rec:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L29
.L30:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L29:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bgt	.L30
	b	.L31
.L32:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
.L31:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L32
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bge	.L39
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	add	r1, r3, #1
	str	r1, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	sub	r2, r3, #1
	str	r2, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	b	.L29
.L39:
	nop
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bge	.L36
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	quick_rec
.L36:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	ble	.L40
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r2, [fp, #-32]
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	quick_rec
.L40:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	quick_rec, .-quick_rec
	.section	.rodata
	.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 = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #72
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, #10
	str	r3, [fp, #-68]
	ldr	r3, .L44+4
	sub	ip, fp, #64
	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}
	stm	ip, {r0, r1}
	ldr	r0, [fp, #-68]
	bl	bubble_loop
	ldr	r0, [fp, #-68]
	bl	quick_loop
	ldr	r3, [fp, #-68]
	sub	r2, r3, #1
	sub	r3, fp, #64
	mov	r1, #0
	mov	r0, r3
	bl	quick_rec
	ldr	r4, [fp, #-64]
	ldr	r5, [fp, #-60]
	ldr	r6, [fp, #-56]
	ldr	r7, [fp, #-52]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-36]
	ldr	ip, [fp, #-32]
	ldr	lr, [fp, #-28]
	str	lr, [sp, #20]
	str	ip, [sp, #16]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r7
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	bl	check_stack
	ldr	r3, .L44+8
	ldr	r2, .L44
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC4
	.word	.LC1
	.word	10101
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
