	.file	"58479.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
	sub	rsp, 1248
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -416[rbp]
	mov	eax, 0
	mov	ecx, 50
	mov	rdi, rdx
	rep stosq
	mov	DWORD PTR -1232[rbp], 10
	mov	DWORD PTR -1228[rbp], 10
	mov	DWORD PTR -1224[rbp], 10
	mov	DWORD PTR -1220[rbp], 10
	mov	DWORD PTR -1240[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -1236[rbp], 0
	jmp	.L3
.L4:
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 100
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR -1236[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1240[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	add	rax, rsi
	mov	DWORD PTR -1216[rbp+rax*4], edx
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 100
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR -1236[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1240[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	add	rax, rsi
	mov	DWORD PTR -816[rbp+rax*4], edx
	add	DWORD PTR -1236[rbp], 1
.L3:
	mov	eax, DWORD PTR -1236[rbp]
	cmp	eax, DWORD PTR -1228[rbp]
	jl	.L4
	add	DWORD PTR -1240[rbp], 1
.L2:
	mov	eax, DWORD PTR -1240[rbp]
	cmp	eax, DWORD PTR -1232[rbp]
	jl	.L5
	lea	r9, -816[rbp]
	mov	r8d, DWORD PTR -1220[rbp]
	mov	ecx, DWORD PTR -1224[rbp]
	lea	rdx, -1216[rbp]
	mov	esi, DWORD PTR -1228[rbp]
	mov	eax, DWORD PTR -1232[rbp]
	sub	rsp, 8
	lea	rdi, -416[rbp]
	push	rdi
	mov	edi, eax
	call	multiply
	add	rsp, 16
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	multiply
	.type	multiply, @function
multiply:
.LFB7:
	.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 -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	QWORD PTR -16[rbp], rdx
	mov	DWORD PTR -20[rbp], ecx
	mov	DWORD PTR -24[rbp], r8d
	mov	QWORD PTR -32[rbp], r9
	mov	eax, DWORD PTR i.2[rip]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L13
	mov	eax, DWORD PTR i.2[rip]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L8
	mov	eax, DWORD PTR j.1[rip]
	cmp	DWORD PTR -24[rbp], eax
	jle	.L11
	mov	eax, DWORD PTR k.0[rip]
	cmp	DWORD PTR -8[rbp], eax
	jle	.L12
	mov	eax, DWORD PTR i.2[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR 16[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR j.1[rip]
	cdqe
	mov	esi, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR i.2[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR k.0[rip]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR k.0[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR j.1[rip]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	imul	ecx, eax
	mov	eax, DWORD PTR i.2[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR 16[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR j.1[rip]
	add	ecx, esi
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	eax, DWORD PTR k.0[rip]
	add	eax, 1
	mov	DWORD PTR k.0[rip], eax
	mov	r8, QWORD PTR -32[rbp]
	mov	edi, DWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	esi, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -4[rbp]
	sub	rsp, 8
	push	QWORD PTR 16[rbp]
	mov	r9, r8
	mov	r8d, edi
	mov	edi, eax
	call	multiply
	add	rsp, 16
.L12:
	mov	DWORD PTR k.0[rip], 0
	mov	eax, DWORD PTR j.1[rip]
	add	eax, 1
	mov	DWORD PTR j.1[rip], eax
	mov	r8, QWORD PTR -32[rbp]
	mov	edi, DWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	esi, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -4[rbp]
	sub	rsp, 8
	push	QWORD PTR 16[rbp]
	mov	r9, r8
	mov	r8d, edi
	mov	edi, eax
	call	multiply
	add	rsp, 16
.L11:
	mov	DWORD PTR j.1[rip], 0
	mov	eax, DWORD PTR i.2[rip]
	add	eax, 1
	mov	DWORD PTR i.2[rip], eax
	mov	r8, QWORD PTR -32[rbp]
	mov	edi, DWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	esi, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -4[rbp]
	sub	rsp, 8
	push	QWORD PTR 16[rbp]
	mov	r9, r8
	mov	r8d, edi
	mov	edi, eax
	call	multiply
	add	rsp, 16
	jmp	.L8
.L13:
	nop
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	multiply, .-multiply
	.local	i.2
	.comm	i.2,4,4
	.local	j.1
	.comm	j.1,4,4
	.local	k.0
	.comm	k.0,4,4
	.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	"58479.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1248
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #408
	mov	r2, #400
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #10
	str	r3, [fp, #-1224]
	mov	r3, #10
	str	r3, [fp, #-1220]
	mov	r3, #10
	str	r3, [fp, #-1216]
	mov	r3, #10
	str	r3, [fp, #-1212]
	mov	r3, #0
	str	r3, [fp, #-1232]
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-1228]
	b	.L3
.L4:
	bl	rand
	mov	r1, r0
	ldr	r3, .L8+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	ldr	r1, [fp, #-1232]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	ldr	r1, [fp, #-1228]
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-1204]
	bl	rand
	mov	r1, r0
	ldr	r3, .L8+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	ldr	r1, [fp, #-1232]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	ldr	r1, [fp, #-1228]
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-804]
	ldr	r3, [fp, #-1228]
	add	r3, r3, #1
	str	r3, [fp, #-1228]
.L3:
	ldr	r2, [fp, #-1228]
	ldr	r3, [fp, #-1220]
	cmp	r2, r3
	blt	.L4
	ldr	r3, [fp, #-1232]
	add	r3, r3, #1
	str	r3, [fp, #-1232]
.L2:
	ldr	r2, [fp, #-1232]
	ldr	r3, [fp, #-1224]
	cmp	r2, r3
	blt	.L5
	sub	r2, fp, #1200
	sub	r2, r2, #4
	sub	r2, r2, #4
	sub	r3, fp, #408
	str	r3, [sp, #8]
	sub	r3, fp, #808
	str	r3, [sp, #4]
	ldr	r3, [fp, #-1212]
	str	r3, [sp]
	ldr	r3, [fp, #-1216]
	ldr	r1, [fp, #-1220]
	ldr	r0, [fp, #-1224]
	bl	multiply
	mov	r3, #0
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	1374389535
	.size	main, .-main
	.align	2
	.global	multiply
	.syntax unified
	.arm
	.fpu softvfp
	.type	multiply, %function
multiply:
	@ args = 12, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, .L16
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L15
	ldr	r3, .L16
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L10
	ldr	r3, .L16+4
	ldr	r3, [r3]
	ldr	r2, [fp, #4]
	cmp	r2, r3
	ble	.L13
	ldr	r3, .L16+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L14
	ldr	r3, .L16
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #12]
	add	r3, r3, r2
	ldr	r2, .L16+4
	ldr	r2, [r2]
	ldr	r0, [r3, r2, lsl #2]
	ldr	r3, .L16
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, .L16+8
	ldr	r2, [r2]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, .L16+8
	ldr	r3, [r3]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #3
	mov	r1, r3
	ldr	r3, [fp, #8]
	add	r3, r3, r1
	ldr	r1, .L16+4
	ldr	r1, [r1]
	ldr	r3, [r3, r1, lsl #2]
	mul	r1, r3, r2
	ldr	r3, .L16
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #12]
	add	r3, r3, r2
	ldr	r2, .L16+4
	ldr	r2, [r2]
	add	r1, r0, r1
	str	r1, [r3, r2, lsl #2]
	ldr	r3, .L16+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L16+8
	str	r3, [r2]
	ldr	r3, [fp, #12]
	str	r3, [sp, #8]
	ldr	r3, [fp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	multiply
.L14:
	ldr	r3, .L16+8
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L16+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L16+4
	str	r3, [r2]
	ldr	r3, [fp, #12]
	str	r3, [sp, #8]
	ldr	r3, [fp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	multiply
.L13:
	ldr	r3, .L16+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L16
	str	r3, [r2]
	ldr	r3, [fp, #12]
	str	r3, [sp, #8]
	ldr	r3, [fp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	multiply
	b	.L10
.L15:
	nop
.L10:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	i.5150
	.word	j.5151
	.word	k.5152
	.size	multiply, .-multiply
	.local	i.5150
	.comm	i.5150,4,4
	.local	j.5151
	.comm	j.5151,4,4
	.local	k.5152
	.comm	k.5152,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
