	.file	"22413.c"
	.intel_syntax noprefix
	.text
	.globl	Seed
	.bss
	.align 4
	.type	Seed, @object
	.size	Seed, 4
Seed:
	.zero	4
	.globl	ArrayA
	.align 32
	.type	ArrayA, @object
	.size	ArrayA, 1600
ArrayA:
	.zero	1600
	.globl	ArrayB
	.align 32
	.type	ArrayB, @object
	.size	ArrayB, 1600
ArrayB:
	.zero	1600
	.globl	ResultArray
	.align 32
	.type	ResultArray, @object
	.size	ResultArray, 1600
ResultArray:
	.zero	1600
	.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
	call	InitSeed
	lea	rdx, ResultArray[rip]
	lea	rsi, ArrayB[rip]
	lea	rdi, ArrayA[rip]
	call	Test
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	InitSeed
	.type	InitSeed, @function
InitSeed:
.LFB1:
	.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 Seed[rip], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	InitSeed, .-InitSeed
	.globl	Test
	.type	Test, @function
Test:
.LFB2:
	.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 -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	Initialize
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	Initialize
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	Multiply
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	Test, .-Test
	.globl	Initialize
	.type	Initialize, @function
Initialize:
.LFB3:
	.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, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -24[rbp], 0
	jmp	.L5
.L8:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rbx, [rdx+rax]
	call	RandomInteger
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rbx+rdx*4], eax
	add	DWORD PTR -20[rbp], 1
.L6:
	cmp	DWORD PTR -20[rbp], 19
	jle	.L7
	add	DWORD PTR -24[rbp], 1
.L5:
	cmp	DWORD PTR -24[rbp], 19
	jle	.L8
	nop
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	Initialize, .-Initialize
	.globl	RandomInteger
	.type	RandomInteger, @function
RandomInteger:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR Seed[rip]
	imul	eax, eax, 133
	lea	edx, 81[rax]
	movsx	rax, edx
	imul	rax, rax, 271652039
	shr	rax, 32
	sar	eax, 9
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 8095
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR Seed[rip], eax
	mov	eax, DWORD PTR Seed[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	RandomInteger, .-RandomInteger
	.globl	Multiply
	.type	Multiply, @function
Multiply:
.LFB5:
	.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
	push	rbx
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	QWORD PTR -32[rbp], rdi
	mov	QWORD PTR -40[rbp], rsi
	mov	QWORD PTR -48[rbp], rdx
	mov	ebx, 0
	jmp	.L12
.L17:
	mov	r12d, 0
	jmp	.L13
.L16:
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	movsx	rax, r12d
	mov	DWORD PTR [rdx+rax*4], 0
	mov	r13d, 0
	jmp	.L14
.L15:
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	movsx	rax, r12d
	mov	esi, DWORD PTR [rdx+rax*4]
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	movsx	rax, r13d
	mov	ecx, DWORD PTR [rdx+rax*4]
	movsx	rdx, r13d
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	movsx	rax, r12d
	mov	eax, DWORD PTR [rdx+rax*4]
	imul	ecx, eax
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	add	ecx, esi
	movsx	rax, r12d
	mov	DWORD PTR [rdx+rax*4], ecx
	add	r13d, 1
.L14:
	cmp	r13d, 19
	jle	.L15
	add	r12d, 1
.L13:
	cmp	r12d, 19
	jle	.L16
	add	ebx, 1
.L12:
	cmp	ebx, 19
	jle	.L17
	nop
	nop
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	Multiply, .-Multiply
	.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	"22413.c"
	.text
	.comm	Seed,4,4
	.comm	ArrayA,1600,4
	.comm	ArrayB,1600,4
	.comm	ResultArray,1600,4
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	InitSeed
	ldr	r2, .L2
	ldr	r1, .L2+4
	ldr	r0, .L2+8
	bl	Test
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	ResultArray
	.word	ArrayB
	.word	ArrayA
	.size	main, .-main
	.align	2
	.global	InitSeed
	.syntax unified
	.arm
	.fpu softvfp
	.type	InitSeed, %function
InitSeed:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L5
	mov	r2, #0
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L6:
	.align	2
.L5:
	.word	Seed
	.size	InitSeed, .-InitSeed
	.align	2
	.global	Test
	.syntax unified
	.arm
	.fpu softvfp
	.type	Test, %function
Test:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	Initialize
	ldr	r0, [fp, #-12]
	bl	Initialize
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	Multiply
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	Test, .-Test
	.align	2
	.global	Initialize
	.syntax unified
	.arm
	.fpu softvfp
	.type	Initialize, %function
Initialize:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L9
.L12:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L10
.L11:
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r4, r3, r2
	bl	RandomInteger
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r4, r3, lsl #2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L10:
	ldr	r3, [fp, #-16]
	cmp	r3, #19
	ble	.L11
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L9:
	ldr	r3, [fp, #-20]
	cmp	r3, #19
	ble	.L12
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	Initialize, .-Initialize
	.align	2
	.global	RandomInteger
	.syntax unified
	.arm
	.fpu softvfp
	.type	RandomInteger, %function
RandomInteger:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L15
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	add	r1, r3, #81
	ldr	r3, .L15+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #9
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	sub	r2, r1, r3
	ldr	r3, .L15
	str	r2, [r3]
	ldr	r3, .L15
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L16:
	.align	2
.L15:
	.word	Seed
	.word	271652039
	.size	RandomInteger, .-RandomInteger
	.align	2
	.global	Multiply
	.syntax unified
	.arm
	.fpu softvfp
	.type	Multiply, %function
Multiply:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, r6, fp}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r5, #0
	b	.L18
.L23:
	mov	r4, #0
	b	.L19
.L22:
	mov	r2, r5
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	mov	r2, #0
	str	r2, [r3, r4, lsl #2]
	mov	r6, #0
	b	.L20
.L21:
	mov	r2, r5
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r1, [r3, r4, lsl #2]
	mov	r2, r5
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, [r3, r6, lsl #2]
	mov	r0, r6
	mov	r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #4
	mov	r0, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r0
	ldr	r3, [r3, r4, lsl #2]
	mul	r2, r3, r2
	mov	r0, r5
	mov	r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #4
	mov	r0, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r0
	add	r2, r1, r2
	str	r2, [r3, r4, lsl #2]
	add	r6, r6, #1
.L20:
	cmp	r6, #19
	ble	.L21
	add	r4, r4, #1
.L19:
	cmp	r4, #19
	ble	.L22
	add	r5, r5, #1
.L18:
	cmp	r5, #19
	ble	.L23
	nop
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, r6, fp}
	bx	lr
	.size	Multiply, .-Multiply
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
