	.file	"968408.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%ld\n"
	.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, 192
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -80[rbp], 3
	mov	QWORD PTR -72[rbp], 9
	mov	QWORD PTR -64[rbp], 8
	mov	QWORD PTR -56[rbp], 2
	mov	QWORD PTR -48[rbp], 5
	mov	QWORD PTR -40[rbp], 4
	mov	QWORD PTR -32[rbp], 7
	mov	QWORD PTR -24[rbp], 1
	mov	QWORD PTR -16[rbp], 6
	mov	DWORD PTR -128[rbp], 7
	mov	DWORD PTR -124[rbp], 3
	mov	DWORD PTR -120[rbp], 0
	mov	DWORD PTR -116[rbp], 5
	mov	DWORD PTR -112[rbp], 4
	mov	DWORD PTR -108[rbp], 8
	mov	DWORD PTR -104[rbp], 6
	mov	DWORD PTR -100[rbp], 2
	mov	DWORD PTR -96[rbp], 1
	mov	QWORD PTR -184[rbp], 0
	jmp	.L2
.L5:
	cmp	QWORD PTR -184[rbp], 8
	jg	.L3
	mov	rax, QWORD PTR -184[rbp]
	mov	rsi, QWORD PTR -80[rbp+rax*8]
	jmp	.L4
.L3:
	mov	rax, QWORD PTR -184[rbp]
	lea	rsi, 1[rax]
.L4:
	mov	rax, QWORD PTR -184[rbp]
	lea	rcx, 1[rax]
	movabs	rdx, 4835703278458516699
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 18
	mov	rdx, rcx
	sar	rdx, 63
	sub	rax, rdx
	imul	rdx, rax, 1000000
	mov	rax, rcx
	sub	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, cups.0[rip]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -184[rbp]
	sal	rax, 4
	mov	rdx, rax
	lea	rax, cups.0[rip]
	mov	QWORD PTR [rdx+rax], rsi
	mov	rax, QWORD PTR -184[rbp]
	sal	rax, 4
	mov	rdx, rax
	lea	rax, cups.0[rip+8]
	mov	QWORD PTR [rdx+rax], rcx
	add	QWORD PTR -184[rbp], 1
.L2:
	cmp	QWORD PTR -184[rbp], 999999
	jle	.L5
	lea	rax, cups.0[rip]
	mov	QWORD PTR -176[rbp], rax
	mov	DWORD PTR -192[rbp], 0
	jmp	.L6
.L10:
	mov	rax, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -160[rbp], rax
	mov	rax, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -152[rbp], rax
	mov	rax, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -144[rbp], rax
	mov	rax, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR -188[rbp], eax
.L7:
	mov	eax, DWORD PTR -188[rbp]
	lea	edx, 999998[rax]
	movsx	rax, edx
	imul	rax, rax, 1125899907
	shr	rax, 32
	sar	eax, 18
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 1000000
	mov	eax, edx
	sub	eax, ecx
	add	eax, 1
	mov	DWORD PTR -188[rbp], eax
	mov	eax, DWORD PTR -188[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	je	.L7
	mov	eax, DWORD PTR -188[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	je	.L7
	mov	eax, DWORD PTR -188[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	je	.L7
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -176[rbp]
	mov	QWORD PTR 8[rax], rdx
	cmp	DWORD PTR -188[rbp], 9
	jg	.L8
	mov	eax, DWORD PTR -188[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -128[rbp+rax*4]
	jmp	.L9
.L8:
	mov	eax, DWORD PTR -188[rbp]
	sub	eax, 1
.L9:
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, cups.0[rip]
	add	rax, rdx
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR -168[rbp]
	mov	rdx, QWORD PTR 8[rdx]
	mov	QWORD PTR 8[rax], rdx
	mov	rdx, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -176[rbp], rax
	add	DWORD PTR -192[rbp], 1
.L6:
	cmp	DWORD PTR -192[rbp], 9999999
	jle	.L10
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, cups.0[rip+8]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	lea	rax, cups.0[rip+8]
	mov	rax, QWORD PTR [rcx+rax]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR [rax]
	imul	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.local	cups.0
	.comm	cups.0,16000000,32
	.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	"968408.c"
	.text
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%ld\012\000"
	.align	2
.LC0:
	.word	3
	.word	9
	.word	8
	.word	2
	.word	5
	.word	4
	.word	7
	.word	1
	.word	6
	.align	2
.LC1:
	.word	7
	.word	3
	.word	0
	.word	5
	.word	4
	.word	8
	.word	6
	.word	2
	.word	1
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L13+4
	sub	ip, fp, #80
	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}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r3, .L13+8
	sub	ip, fp, #44
	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}
	ldr	r3, [lr]
	str	r3, [ip]
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L2
.L5:
	ldr	r3, [fp, #-120]
	cmp	r3, #8
	bgt	.L3
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	ip, [r3, #-76]
	b	.L4
.L3:
	ldr	r3, [fp, #-120]
	add	ip, r3, #1
.L4:
	ldr	r3, [fp, #-120]
	add	r0, r3, #1
	ldr	r3, .L13+12
	smull	r2, r3, r0, r3
	asr	r2, r3, #18
	asr	r3, r0, #31
	sub	r1, r2, r3
	mov	r2, r1
	lsl	r2, r2, #5
	sub	r2, r2, r1
	lsl	r3, r2, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #6
	sub	r1, r0, r3
	mov	r3, r1
	lsl	r3, r3, #3
	ldr	r2, .L13+16
	add	r2, r3, r2
	ldr	r1, .L13+16
	ldr	r3, [fp, #-120]
	str	ip, [r1, r3, lsl #3]
	ldr	r1, .L13+16
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L2:
	ldr	r3, [fp, #-120]
	ldr	r2, .L13+20
	cmp	r3, r2
	blt	.L5
	ldr	r3, .L13+16
	str	r3, [fp, #-116]
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L6
.L10:
	ldr	r3, [fp, #-116]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-116]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-116]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	str	r3, [fp, #-108]
.L7:
	ldr	r3, [fp, #-108]
	ldr	r1, .L13+24
	add	r1, r3, r1
	ldr	r3, .L13+12
	smull	r2, r3, r1, r3
	asr	r2, r3, #18
	asr	r3, r1, #31
	sub	r0, r2, r3
	mov	r2, r0
	lsl	r2, r2, #5
	sub	r2, r2, r0
	lsl	r3, r2, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r0
	lsl	r3, r3, #6
	sub	r0, r1, r3
	add	r3, r0, #1
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-92]
	ldr	r3, [r3]
	ldr	r2, [fp, #-108]
	cmp	r2, r3
	beq	.L7
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	ldr	r2, [fp, #-108]
	cmp	r2, r3
	beq	.L7
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	ldr	r2, [fp, #-108]
	cmp	r2, r3
	beq	.L7
	ldr	r3, [fp, #-84]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-116]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-108]
	cmp	r3, #9
	bgt	.L8
	ldr	r3, [fp, #-108]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-40]
	b	.L9
.L8:
	ldr	r3, [fp, #-108]
	sub	r3, r3, #1
.L9:
	lsl	r3, r3, #3
	ldr	r2, .L13+16
	add	r3, r3, r2
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-104]
	ldr	r2, [r2, #4]
	str	r2, [r3, #4]
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-104]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-116]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L6:
	ldr	r3, [fp, #-112]
	ldr	r2, .L13+28
	cmp	r3, r2
	ble	.L10
	ldr	r3, [fp, #-44]
	ldr	r2, .L13+16
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, [r3]
	ldr	r3, [fp, #-44]
	ldr	r1, .L13+16
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #4]
	ldr	r3, [r3]
	mul	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L13+32
	bl	printf
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	1125899907
	.word	cups.4605
	.word	1000000
	.word	999998
	.word	9999999
	.word	.LC2
	.size	main, .-main
	.local	cups.4605
	.comm	cups.4605,8000000,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
