	.file	"7273.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"array a:"
.LC1:
	.string	"%5d"
.LC2:
	.string	"insert data:"
.LC3:
	.string	"%d"
.LC4:
	.string	"Now array a:"
	.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, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	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	DWORD PTR -64[rbp], 1
	mov	DWORD PTR -60[rbp], 4
	mov	DWORD PTR -56[rbp], 6
	mov	DWORD PTR -52[rbp], 9
	mov	DWORD PTR -48[rbp], 13
	mov	DWORD PTR -44[rbp], 16
	mov	DWORD PTR -40[rbp], 19
	mov	DWORD PTR -36[rbp], 28
	mov	DWORD PTR -32[rbp], 40
	mov	DWORD PTR -28[rbp], 100
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR -80[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -80[rbp], 1
.L2:
	cmp	DWORD PTR -80[rbp], 9
	jle	.L3
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -88[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -88[rbp]
	cmp	DWORD PTR -72[rbp], eax
	jge	.L4
	mov	eax, DWORD PTR -88[rbp]
	mov	DWORD PTR -24[rbp], eax
	jmp	.L5
.L4:
	mov	DWORD PTR -80[rbp], 0
	jmp	.L6
.L10:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	mov	edx, DWORD PTR -64[rbp+rax*4]
	mov	eax, DWORD PTR -88[rbp]
	cmp	edx, eax
	jle	.L7
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	mov	DWORD PTR -84[rbp], eax
	mov	edx, DWORD PTR -88[rbp]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	mov	DWORD PTR -64[rbp+rax*4], edx
	mov	eax, DWORD PTR -80[rbp]
	add	eax, 1
	mov	DWORD PTR -76[rbp], eax
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	edx, DWORD PTR -84[rbp]
	mov	DWORD PTR -64[rbp+rax*4], edx
	mov	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -84[rbp], eax
	add	DWORD PTR -76[rbp], 1
.L8:
	cmp	DWORD PTR -76[rbp], 10
	jle	.L9
	jmp	.L5
.L7:
	add	DWORD PTR -80[rbp], 1
.L6:
	cmp	DWORD PTR -80[rbp], 9
	jle	.L10
.L5:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	DWORD PTR -80[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -80[rbp], 1
.L11:
	cmp	DWORD PTR -80[rbp], 10
	jle	.L12
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"7273.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"array a:\000"
	.align	2
.LC1:
	.ascii	"%5d\000"
	.align	2
.LC2:
	.ascii	"insert data:\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"Now array a:\000"
	.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, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #52
	mov	r2, #44
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #1
	str	r3, [fp, #-52]
	mov	r3, #4
	str	r3, [fp, #-48]
	mov	r3, #6
	str	r3, [fp, #-44]
	mov	r3, #9
	str	r3, [fp, #-40]
	mov	r3, #13
	str	r3, [fp, #-36]
	mov	r3, #16
	str	r3, [fp, #-32]
	mov	r3, #19
	str	r3, [fp, #-28]
	mov	r3, #28
	str	r3, [fp, #-24]
	mov	r3, #40
	str	r3, [fp, #-20]
	mov	r3, #100
	str	r3, [fp, #-16]
	ldr	r0, .L15+4
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L2
.L3:
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-48]
	mov	r1, r3
	ldr	r0, .L15+8
	bl	printf
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L2:
	ldr	r3, [fp, #-68]
	cmp	r3, #9
	ble	.L3
	mov	r0, #10
	bl	putchar
	ldr	r0, .L15+12
	bl	printf
	sub	r3, fp, #76
	mov	r1, r3
	ldr	r0, .L15+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	bge	.L4
	ldr	r3, [fp, #-76]
	str	r3, [fp, #-12]
	b	.L5
.L4:
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L6
.L10:
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-48]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	ble	.L7
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-48]
	str	r3, [fp, #-72]
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-48]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-64]
	b	.L8
.L9:
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-48]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-72]
	str	r2, [r3, #-48]
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L8:
	ldr	r3, [fp, #-64]
	cmp	r3, #10
	ble	.L9
	b	.L5
.L7:
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L6:
	ldr	r3, [fp, #-68]
	cmp	r3, #9
	ble	.L10
.L5:
	ldr	r0, .L15+20
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L11
.L12:
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-48]
	mov	r1, r3
	ldr	r0, .L15+8
	bl	printf
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L11:
	ldr	r3, [fp, #-68]
	cmp	r3, #10
	ble	.L12
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
