	.file	"462200.c"
	.intel_syntax noprefix
	.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	r13
	push	r12
	sub	rsp, 48
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	mov	DWORD PTR -44[rbp], 1000
	mov	eax, DWORD PTR -44[rbp]
	imul	eax, eax
	mov	eax, eax
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	eax, DWORD PTR -44[rbp]
	mov	edx, eax
	sub	rdx, 1
	mov	QWORD PTR -32[rbp], rdx
	mov	edx, eax
	mov	r12, rdx
	mov	r13d, 0
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR -24[rbp], rdx
	mov	DWORD PTR -48[rbp], 0
	jmp	.L2
.L7:
	mov	DWORD PTR -52[rbp], 0
	jmp	.L3
.L6:
	mov	DWORD PTR -56[rbp], 0
	jmp	.L4
.L5:
	mov	edx, DWORD PTR -52[rbp]
	mov	ecx, eax
	imul	rdx, rcx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -24[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR -56[rbp]
	mov	edx, DWORD PTR [rcx+rdx*4]
	mov	ecx, DWORD PTR -52[rbp]
	mov	esi, eax
	imul	rcx, rsi
	lea	rsi, 0[0+rcx*4]
	mov	rcx, QWORD PTR -24[rbp]
	add	rcx, rsi
	lea	esi, 1[rdx]
	mov	edx, DWORD PTR -56[rbp]
	mov	DWORD PTR [rcx+rdx*4], esi
	add	DWORD PTR -56[rbp], 1
.L4:
	mov	edx, DWORD PTR -56[rbp]
	cmp	edx, DWORD PTR -44[rbp]
	jb	.L5
	add	DWORD PTR -52[rbp], 1
.L3:
	mov	edx, DWORD PTR -52[rbp]
	cmp	edx, DWORD PTR -44[rbp]
	jb	.L6
	add	DWORD PTR -48[rbp], 1
.L2:
	cmp	DWORD PTR -48[rbp], 99999
	jbe	.L7
	mov	eax, 0
	add	rsp, 48
	pop	r12
	pop	r13
	pop	rbp
	.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	"462200.c"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	mov	r3, #1000
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	ip, [fp, #-20]
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L2
.L7:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L3
.L6:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L4
.L5:
	ldr	r3, [fp, #-28]
	mul	r3, ip, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [fp, #-32]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-28]
	mul	r3, ip, r3
	lsl	r3, r3, #2
	ldr	r1, [fp, #-8]
	add	r3, r1, r3
	add	r1, r2, #1
	ldr	r2, [fp, #-32]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L4:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bcc	.L5
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L3:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bcc	.L6
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L2:
	ldr	r3, [fp, #-24]
	ldr	r2, .L9
	cmp	r3, r2
	bcc	.L7
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	100000
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
