	.file	"91548.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"at the start the array = "
	.align 8
.LC1:
	.string	"on i = %i bigger = %i while length-i = %i\n"
.LC2:
	.string	"on i = %i array = "
.LC3:
	.string	"after the end the array = "
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -56[rbp], 10
	mov	DWORD PTR -48[rbp], 6
	mov	DWORD PTR -44[rbp], 3
	mov	DWORD PTR -40[rbp], 3
	mov	DWORD PTR -36[rbp], 8
	mov	DWORD PTR -32[rbp], 5
	mov	DWORD PTR -28[rbp], 2
	mov	DWORD PTR -24[rbp], 7
	mov	DWORD PTR -20[rbp], 4
	mov	DWORD PTR -16[rbp], 1
	mov	DWORD PTR -12[rbp], 3
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	print_array
	mov	DWORD PTR -76[rbp], 0
	jmp	.L2
.L8:
	mov	DWORD PTR -72[rbp], 2147483647
	mov	DWORD PTR -68[rbp], -1
	mov	DWORD PTR -64[rbp], 0
	mov	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -60[rbp], eax
	jmp	.L3
.L7:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jge	.L4
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	mov	DWORD PTR -68[rbp], eax
.L4:
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	cmp	DWORD PTR -52[rbp], eax
	jl	.L5
	add	DWORD PTR -64[rbp], 1
.L5:
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	cmp	DWORD PTR -60[rbp], eax
	jne	.L6
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	edx, DWORD PTR -48[rbp+rax*4]
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], edx
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	edx, DWORD PTR -72[rbp]
	mov	DWORD PTR -48[rbp+rax*4], edx
.L6:
	add	DWORD PTR -60[rbp], 1
.L3:
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jl	.L7
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, DWORD PTR -76[rbp]
	mov	ecx, eax
	mov	edx, DWORD PTR -64[rbp]
	mov	eax, DWORD PTR -76[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -76[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	print_array
	add	DWORD PTR -76[rbp], 1
.L2:
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jl	.L8
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	print_array
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC4:
	.string	"[ "
.LC5:
	.string	"%i, "
.LC6:
	.string	"%i"
.LC7:
	.string	" ]"
	.text
	.globl	print_array
	.type	print_array, @function
print_array:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L12
.L15:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	je	.L13
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L14
.L13:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L14:
	add	DWORD PTR -4[rbp], 1
.L12:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L15
	lea	rdi, .LC7[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	print_array, .-print_array
	.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	"91548.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"at the start the array = \000"
	.align	2
.LC2:
	.ascii	"on i = %i bigger = %i while length-i = %i\012\000"
	.align	2
.LC3:
	.ascii	"on i = %i array = \000"
	.align	2
.LC4:
	.ascii	"after the end the array = \000"
	.align	2
.LC0:
	.word	6
	.word	3
	.word	3
	.word	8
	.word	5
	.word	2
	.word	7
	.word	4
	.word	1
	.word	3
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #10
	str	r3, [fp, #-56]
	ldr	r3, .L11+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}
	ldr	r0, .L11+8
	bl	printf
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, [fp, #-56]
	bl	print_array
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L2
.L8:
	mvn	r3, #-2147483648
	str	r3, [fp, #-72]
	mvn	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-76]
	str	r3, [fp, #-60]
	b	.L3
.L7:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	str	r3, [fp, #-52]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	bge	.L4
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-68]
.L4:
	ldr	r3, [fp, #-60]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	blt	.L5
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L5:
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	bne	.L6
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-44]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-44]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-72]
	str	r2, [r3, #-44]
.L6:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L3:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L7
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-76]
	sub	r3, r2, r3
	ldr	r2, [fp, #-64]
	ldr	r1, [fp, #-76]
	ldr	r0, .L11+12
	bl	printf
	ldr	r1, [fp, #-76]
	ldr	r0, .L11+16
	bl	printf
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, [fp, #-56]
	bl	print_array
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L2:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L8
	ldr	r0, .L11+20
	bl	printf
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, [fp, #-56]
	bl	print_array
	mov	r3, #0
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.section	.rodata
	.align	2
.LC6:
	.ascii	"[ \000"
	.align	2
.LC7:
	.ascii	"%i, \000"
	.align	2
.LC8:
	.ascii	"%i\000"
	.align	2
.LC9:
	.ascii	" ]\000"
	.text
	.align	2
	.global	print_array
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_array, %function
print_array:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r0, .L18
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L14
.L17:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	beq	.L15
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L18+4
	bl	printf
	b	.L16
.L15:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L18+8
	bl	printf
.L16:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L14:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L17
	ldr	r0, .L18+12
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	print_array, .-print_array
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
