	.file	"588192.c"
	.intel_syntax noprefix
	.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, 208
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	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	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -196[rbp], 0
	mov	eax, DWORD PTR -196[rbp]
	not	eax
	mov	edx, eax
	mov	eax, 2290649225
	imul	rax, rdx
	shr	rax, 32
	shr	eax, 3
	mov	DWORD PTR -192[rbp], eax
	mov	eax, DWORD PTR -192[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -192[rbp]
	imul	eax, edx
	mov	DWORD PTR -188[rbp], eax
	mov	eax, DWORD PTR -188[rbp]
	xor	eax, DWORD PTR -192[rbp]
	mov	DWORD PTR -184[rbp], eax
	mov	edx, DWORD PTR -192[rbp]
	mov	eax, edx
	sal	eax, 3
	add	eax, edx
	xor	eax, DWORD PTR -188[rbp]
	mov	DWORD PTR -180[rbp], eax
	mov	eax, DWORD PTR -184[rbp]
	not	eax
	mov	DWORD PTR -176[rbp], eax
	mov	eax, DWORD PTR -180[rbp]
	not	eax
	mov	DWORD PTR -172[rbp], eax
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	mov	QWORD PTR -128[rbp], 566548
	mov	QWORD PTR -120[rbp], 585873
	mov	QWORD PTR -112[rbp], 882346
	mov	QWORD PTR -104[rbp], 64336
	jmp	.L2
.L19:
	mov	QWORD PTR -136[rbp], 64
	jmp	.L3
.L10:
	cmp	QWORD PTR -168[rbp], 0
	js	.L4
	call	getchar@PLT
	cdqe
	mov	QWORD PTR -168[rbp], rax
	cmp	QWORD PTR -168[rbp], 0
	js	.L5
	add	QWORD PTR -160[rbp], 8
	mov	rax, QWORD PTR -168[rbp]
	sal	rax, 24
	mov	edx, eax
	jmp	.L7
.L5:
	mov	edx, -2147483648
	jmp	.L7
.L4:
	mov	edx, 0
.L7:
	mov	eax, DWORD PTR -192[rbp]
	shr	eax, 8
	or	eax, edx
	mov	DWORD PTR -192[rbp], eax
	sub	QWORD PTR -136[rbp], 1
	mov	rax, QWORD PTR -136[rbp]
	lea	rdx, 3[rax]
	test	rax, rax
	cmovs	rax, rdx
	sar	rax, 2
	lea	rdx, 4[rax]
	mov	eax, DWORD PTR -192[rbp]
	mov	DWORD PTR -96[rbp+rdx*4], eax
.L3:
	cmp	QWORD PTR -136[rbp], 8
	jne	.L8
	mov	rax, QWORD PTR -160[rbp]
	sar	rax, 32
	mov	rdx, rax
	mov	rax, QWORD PTR -160[rbp]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, edx
	mov	DWORD PTR -80[rbp], eax
	mov	rax, QWORD PTR -168[rbp]
	not	rax
	shr	rax, 63
	movzx	eax, al
	mov	DWORD PTR -188[rbp], eax
	cmp	DWORD PTR -188[rbp], 0
	setne	al
	jmp	.L9
.L8:
	cmp	QWORD PTR -136[rbp], 0
	setne	al
.L9:
	test	al, al
	jne	.L10
	mov	QWORD PTR -152[rbp], 0
	mov	rax, QWORD PTR -152[rbp]
	not	rax
	sal	rax, 40
	mov	QWORD PTR -144[rbp], rax
	jmp	.L11
.L18:
	mov	rax, QWORD PTR -152[rbp]
	imul	rax, QWORD PTR -104[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -144[rbp]
	imul	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	sar	rax, 21
	mov	rdx, rax
	mov	rax, QWORD PTR -152[rbp]
	imul	rax, QWORD PTR -128[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -144[rbp]
	imul	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	QWORD PTR -136[rbp], rax
	mov	rax, QWORD PTR -144[rbp]
	imul	rax, QWORD PTR -104[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -152[rbp]
	imul	rax, QWORD PTR -120[rbp]
	mov	rcx, rax
	mov	rax, rdx
	sub	rax, rcx
	sar	rax, 21
	mov	rdx, rax
	mov	rax, QWORD PTR -144[rbp]
	imul	rax, QWORD PTR -128[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -152[rbp]
	imul	rax, QWORD PTR -112[rbp]
	mov	rcx, rax
	mov	rax, rdx
	sub	rax, rcx
	sar	rax, 20
	mov	QWORD PTR -144[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	sar	rax, 20
	mov	QWORD PTR -152[rbp], rax
	mov	eax, DWORD PTR -196[rbp]
	or	eax, 12
	imul	edx, eax, 152
	mov	ecx, edx
	mov	eax, 4049766585
	imul	rax, rcx
	shr	rax, 32
	shr	eax, 9
	imul	ecx, eax, 543
	mov	eax, edx
	sub	eax, ecx
	mov	ecx, eax
	mov	edx, 3352169597
	imul	rdx, rcx
	shr	rdx, 32
	shr	edx, 6
	imul	ecx, edx, 82
	sub	eax, ecx
	mov	edx, eax
	and	edx, 3
	mov	eax, DWORD PTR -196[rbp]
	and	eax, 3
	imul	eax, eax, 43
	shr	eax, 3
	add	eax, edx
	add	eax, 4
	mov	eax, eax
	mov	QWORD PTR -136[rbp], rax
	cmp	DWORD PTR -192[rbp], 2
	jbe	.L12
	mov	eax, DWORD PTR -172[rbp]
	not	eax
	or	eax, DWORD PTR -180[rbp]
	jmp	.L13
.L12:
	cmp	DWORD PTR -192[rbp], 1
	jbe	.L14
	mov	eax, DWORD PTR -180[rbp]
	xor	eax, DWORD PTR -172[rbp]
	jmp	.L13
.L14:
	cmp	DWORD PTR -192[rbp], 0
	je	.L16
	mov	eax, DWORD PTR -180[rbp]
	xor	eax, DWORD PTR -176[rbp]
	and	eax, DWORD PTR -172[rbp]
	jmp	.L13
.L16:
	mov	eax, DWORD PTR -176[rbp]
	xor	eax, DWORD PTR -172[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -180[rbp]
	not	eax
	and	eax, edx
.L13:
	xor	eax, DWORD PTR -176[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -184[rbp]
	lea	edi, [rdx+rax]
	mov	edx, DWORD PTR -192[rbp]
	mov	eax, edx
	sal	eax, 3
	sub	eax, edx
	shr	eax
	and	eax, 5
	mov	ecx, eax
	mov	edx, DWORD PTR -192[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	and	eax, 6
	not	eax
	mov	esi, eax
	mov	eax, DWORD PTR -196[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -196[rbp], edx
	imul	esi, eax
	mov	edx, esi
	mov	eax, ecx
	sub	eax, edx
	and	eax, 15
	mov	edx, eax
	mov	eax, 19
	sub	eax, edx
	mov	eax, eax
	mov	eax, DWORD PTR -96[rbp+rax*4]
	lea	edx, [rdi+rax]
	mov	rax, QWORD PTR -152[rbp]
	sar	rax, 40
	mov	ecx, eax
	mov	rax, QWORD PTR -152[rbp]
	sar	rax, 8
	xor	eax, ecx
	add	eax, edx
	mov	DWORD PTR -192[rbp], eax
	mov	eax, DWORD PTR -172[rbp]
	mov	DWORD PTR -184[rbp], eax
	mov	eax, DWORD PTR -176[rbp]
	mov	DWORD PTR -172[rbp], eax
	mov	eax, DWORD PTR -180[rbp]
	mov	DWORD PTR -176[rbp], eax
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -192[rbp]
	mov	ecx, edx
	rol	eax, cl
	add	DWORD PTR -180[rbp], eax
.L11:
	mov	eax, DWORD PTR -196[rbp]
	shr	eax, 4
	mov	DWORD PTR -192[rbp], eax
	cmp	DWORD PTR -192[rbp], 3
	jbe	.L18
.L2:
	mov	DWORD PTR -196[rbp], 0
	mov	eax, DWORD PTR -196[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -96[rbp+rdx*4]
	mov	edx, DWORD PTR -184[rbp]
	add	edx, ecx
	mov	ecx, eax
	mov	DWORD PTR -96[rbp+rcx*4], edx
	mov	eax, eax
	mov	eax, DWORD PTR -96[rbp+rax*4]
	mov	DWORD PTR -184[rbp], eax
	mov	eax, 1
	movsx	rdx, eax
	mov	ecx, DWORD PTR -96[rbp+rdx*4]
	mov	edx, DWORD PTR -180[rbp]
	add	ecx, edx
	movsx	rdx, eax
	mov	DWORD PTR -96[rbp+rdx*4], ecx
	cdqe
	mov	eax, DWORD PTR -96[rbp+rax*4]
	mov	DWORD PTR -180[rbp], eax
	mov	eax, 2
	movsx	rdx, eax
	mov	ecx, DWORD PTR -96[rbp+rdx*4]
	mov	edx, DWORD PTR -176[rbp]
	add	ecx, edx
	movsx	rdx, eax
	mov	DWORD PTR -96[rbp+rdx*4], ecx
	cdqe
	mov	eax, DWORD PTR -96[rbp+rax*4]
	mov	DWORD PTR -176[rbp], eax
	mov	eax, 3
	movsx	rdx, eax
	mov	ecx, DWORD PTR -96[rbp+rdx*4]
	mov	edx, DWORD PTR -172[rbp]
	add	ecx, edx
	movsx	rdx, eax
	mov	DWORD PTR -96[rbp+rdx*4], ecx
	cdqe
	mov	eax, DWORD PTR -96[rbp+rax*4]
	mov	DWORD PTR -172[rbp], eax
	cmp	DWORD PTR -188[rbp], 0
	jne	.L19
	jmp	.L20
.L25:
	mov	eax, DWORD PTR -196[rbp]
	shr	eax, 3
	mov	eax, eax
	mov	edx, DWORD PTR -96[rbp+rax*4]
	mov	eax, DWORD PTR -196[rbp]
	and	eax, 7
	sal	eax, 2
	xor	eax, 4
	mov	ecx, eax
	shr	edx, cl
	mov	eax, edx
	and	eax, 15
	mov	DWORD PTR -184[rbp], eax
	mov	eax, DWORD PTR -196[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -196[rbp], edx
	cmp	eax, 31
	ja	.L21
	cmp	DWORD PTR -184[rbp], 9
	jbe	.L22
	mov	eax, 87
	jmp	.L23
.L22:
	mov	eax, 48
.L23:
	add	DWORD PTR -184[rbp], eax
	mov	eax, DWORD PTR -184[rbp]
	jmp	.L24
.L21:
	mov	eax, 10
.L24:
	mov	edi, eax
	call	putchar@PLT
.L20:
	cmp	DWORD PTR -196[rbp], 32
	jbe	.L25
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	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	"588192.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 = 280
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #280
	ldr	r3, .L28+36
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	sub	r0, fp, #112
	mov	r3, #80
	mov	r2, r3
	mov	r1, #0
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-216]
	ldr	r3, [fp, #-216]
	mvn	r2, r3
	ldr	r3, .L28+16
	umull	r1, r3, r2, r3
	lsr	r3, r3, #3
	str	r3, [fp, #-212]
	ldr	r3, [fp, #-212]
	sub	r2, r3, #1
	ldr	r3, [fp, #-212]
	mul	r3, r2, r3
	str	r3, [fp, #-208]
	ldr	r2, [fp, #-208]
	ldr	r3, [fp, #-212]
	eor	r3, r3, r2
	str	r3, [fp, #-204]
	ldr	r2, [fp, #-212]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r2, r3, r2
	ldr	r3, [fp, #-208]
	eor	r3, r3, r2
	str	r3, [fp, #-200]
	ldr	r3, [fp, #-204]
	mvn	r3, r3
	str	r3, [fp, #-196]
	ldr	r3, [fp, #-200]
	mvn	r3, r3
	str	r3, [fp, #-192]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-188]
	str	r3, [fp, #-184]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-180]
	str	r3, [fp, #-176]
	adr	r3, .L28
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-148]
	str	r3, [fp, #-144]
	ldr	r2, .L28+20
	mov	r3, #0
	str	r2, [fp, #-140]
	str	r3, [fp, #-136]
	adr	r3, .L28+8
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-132]
	str	r3, [fp, #-128]
	ldr	r2, .L28+24
	mov	r3, #0
	str	r2, [fp, #-124]
	str	r3, [fp, #-120]
	b	.L2
.L19:
	mov	r2, #64
	mov	r3, #0
	str	r2, [fp, #-156]
	str	r3, [fp, #-152]
	b	.L3
.L10:
	sub	r3, fp, #188
	ldmia	r3, {r2-r3}
	cmp	r2, #0
	sbcs	r3, r3, #0
	blt	.L4
	bl	getchar
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-188]
	str	r3, [fp, #-184]
	sub	r3, fp, #188
	ldmia	r3, {r2-r3}
	cmp	r2, #0
	sbcs	r3, r3, #0
	blt	.L5
	sub	r3, fp, #180
	ldmia	r3, {r2-r3}
	adds	r1, r2, #8
	str	r1, [fp, #-284]
	adc	r3, r3, #0
	str	r3, [fp, #-280]
	sub	r4, fp, #284
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-180]
	str	r4, [fp, #-176]
	ldr	r3, [fp, #-188]
	asr	r3, r3, #8
	str	r3, [fp, #-224]
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #24
	str	r3, [fp, #-228]
	ldr	r2, [fp, #-228]
	b	.L7
.L5:
	mov	r2, #-2147483648
	b	.L7
.L4:
	mov	r2, #0
.L7:
	ldr	r3, [fp, #-212]
	lsr	r3, r3, #8
	orr	r3, r2, r3
	str	r3, [fp, #-212]
	sub	r3, fp, #156
	ldmia	r3, {r2-r3}
	subs	r1, r2, #1
	str	r1, [fp, #-292]
	sbc	r3, r3, #0
	str	r3, [fp, #-288]
	sub	r4, fp, #292
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-156]
	str	r4, [fp, #-152]
	sub	r5, fp, #156
	ldmia	r5, {r4-r5}
	asr	r3, r5, #31
	mov	r0, r3
	asr	r1, r0, #31
	mov	r2, #3
	mov	r3, #0
	and	ip, r0, r2
	str	ip, [fp, #-300]
	and	r3, r1, r3
	str	r3, [fp, #-296]
	sub	r3, fp, #300
	ldmia	r3, {r2-r3}
	mov	r1, r2
	adds	r6, r1, r4
	adc	r7, r3, r5
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r6, #2
	orr	r2, r2, r7, lsl #30
	asr	r3, r7, #2
	adds	r1, r2, #4
	str	r1, [fp, #-236]
	adc	r3, r3, #0
	str	r3, [fp, #-232]
	ldr	r3, [fp, #-236]
	lsl	r2, r3, #2
	sub	r3, fp, #28
	add	r2, r3, r2
	ldr	r3, [fp, #-212]
	str	r3, [r2, #-84]
.L3:
	sub	r3, fp, #156
	ldmia	r3, {r2-r3}
	cmp	r3, #0
	cmpeq	r2, #8
	bne	.L8
	sub	r3, fp, #180
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	mov	r0, r3
	asr	r1, r3, #31
	ldr	r3, [fp, #-180]
	str	r3, [fp, #-92]
	mov	r3, r0
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-184]
	mvn	r3, r3
	lsr	r3, r3, #31
	and	r3, r3, #255
	str	r3, [fp, #-208]
	ldr	r3, [fp, #-208]
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	b	.L9
.L8:
	ldr	r2, [fp, #-156]
	ldr	r3, [fp, #-152]
	orr	r3, r2, r3
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
.L9:
	cmp	r3, #0
	bne	.L10
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-172]
	str	r3, [fp, #-168]
	sub	r3, fp, #172
	ldmia	r3, {r2-r3}
	mvn	r1, r2
	str	r1, [fp, #-244]
	mvn	r3, r3
	str	r3, [fp, #-240]
	mov	r2, #0
	mov	r3, #0
	ldr	r1, [fp, #-244]
	lsl	r3, r1, #8
	mov	r2, #0
	str	r2, [fp, #-164]
	str	r3, [fp, #-160]
	b	.L11
.L29:
	.align	3
.L28:
	.word	566548
	.word	0
	.word	882346
	.word	0
	.word	-2004318071
	.word	585873
	.word	64336
	.word	-245200711
	.word	-942797699
	.word	.LC0
.L18:
	ldr	r2, [fp, #-168]
	ldr	r3, [fp, #-124]
	mul	r1, r3, r2
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-172]
	mul	r3, r2, r3
	add	r1, r1, r3
	ldr	r2, [fp, #-172]
	ldr	r3, [fp, #-124]
	umull	r4, r5, r2, r3
	add	r3, r1, r5
	mov	r5, r3
	ldr	r2, [fp, #-160]
	ldr	r3, [fp, #-140]
	mul	r1, r3, r2
	ldr	r2, [fp, #-136]
	ldr	r3, [fp, #-164]
	mul	r3, r2, r3
	add	ip, r1, r3
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-140]
	umull	r0, r1, r2, r3
	add	r3, ip, r1
	mov	r1, r3
	adds	r3, r4, r0
	str	r3, [fp, #-252]
	adc	r3, r5, r1
	str	r3, [fp, #-248]
	mov	r0, #0
	mov	r1, #0
	sub	r4, fp, #252
	ldmia	r4, {r3-r4}
	mov	r2, r3
	lsr	r0, r2, #21
	mov	r2, r4
	orr	r0, r0, r2, lsl #11
	mov	r3, r4
	asr	r1, r3, #21
	ldr	r2, [fp, #-168]
	ldr	r3, [fp, #-148]
	mul	ip, r3, r2
	ldr	r2, [fp, #-144]
	ldr	r3, [fp, #-172]
	mul	r3, r2, r3
	add	ip, ip, r3
	ldr	r2, [fp, #-172]
	ldr	r3, [fp, #-148]
	umull	r4, r5, r2, r3
	add	r3, ip, r5
	mov	r5, r3
	adds	r3, r0, r4
	str	r3, [fp, #-260]
	adc	r3, r1, r5
	str	r3, [fp, #-256]
	ldr	r2, [fp, #-160]
	ldr	r3, [fp, #-132]
	mul	r1, r3, r2
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-164]
	mul	r3, r2, r3
	add	ip, r1, r3
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-132]
	umull	r0, r1, r2, r3
	add	r3, ip, r1
	mov	r1, r3
	sub	r4, fp, #260
	ldmia	r4, {r3-r4}
	mov	r2, r3
	adds	r2, r2, r0
	str	r2, [fp, #-308]
	mov	r3, r4
	adc	r3, r3, r1
	str	r3, [fp, #-304]
	sub	r4, fp, #308
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-156]
	str	r4, [fp, #-152]
	ldr	r2, [fp, #-160]
	ldr	r3, [fp, #-124]
	mul	r1, r3, r2
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-164]
	mul	r3, r2, r3
	add	r1, r1, r3
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-124]
	umull	r4, r5, r2, r3
	add	r3, r1, r5
	mov	r5, r3
	ldr	r2, [fp, #-168]
	ldr	r3, [fp, #-140]
	mul	r1, r3, r2
	ldr	r2, [fp, #-136]
	ldr	r3, [fp, #-172]
	mul	r3, r2, r3
	add	ip, r1, r3
	ldr	r2, [fp, #-172]
	ldr	r3, [fp, #-140]
	umull	r0, r1, r2, r3
	add	r3, ip, r1
	mov	r1, r3
	subs	r3, r4, r0
	str	r3, [fp, #-268]
	sbc	r3, r5, r1
	str	r3, [fp, #-264]
	mov	r0, #0
	mov	r1, #0
	sub	r4, fp, #268
	ldmia	r4, {r3-r4}
	mov	r2, r3
	lsr	r0, r2, #21
	mov	r2, r4
	orr	r0, r0, r2, lsl #11
	mov	r3, r4
	asr	r1, r3, #21
	ldr	r2, [fp, #-160]
	ldr	r3, [fp, #-148]
	mul	ip, r3, r2
	ldr	r2, [fp, #-144]
	ldr	r3, [fp, #-164]
	mul	r3, r2, r3
	add	ip, ip, r3
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-148]
	umull	r4, r5, r2, r3
	add	r3, ip, r5
	mov	r5, r3
	adds	r3, r0, r4
	str	r3, [fp, #-276]
	adc	r3, r1, r5
	str	r3, [fp, #-272]
	ldr	r2, [fp, #-168]
	ldr	r3, [fp, #-132]
	mul	r1, r3, r2
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-172]
	mul	r3, r2, r3
	add	ip, r1, r3
	ldr	r2, [fp, #-172]
	ldr	r3, [fp, #-132]
	umull	r0, r1, r2, r3
	add	r3, ip, r1
	mov	r1, r3
	sub	r4, fp, #276
	ldmia	r4, {r3-r4}
	mov	r2, r3
	subs	r8, r2, r0
	mov	r3, r4
	sbc	r9, r3, r1
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r8, #20
	orr	r2, r2, r9, lsl #12
	asr	r3, r9, #20
	str	r2, [fp, #-164]
	str	r3, [fp, #-160]
	sub	r3, fp, #156
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r2, #20
	orr	r0, r0, r3, lsl #12
	asr	r1, r3, #20
	str	r0, [fp, #-172]
	str	r1, [fp, #-168]
	ldr	r3, [fp, #-216]
	orr	r2, r3, #12
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, .L28+28
	umull	r1, r3, r2, r3
	lsr	r1, r3, #9
	mov	r3, r1
	lsl	r3, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #5
	sub	r3, r3, r1
	sub	r1, r2, r3
	ldr	r3, .L28+32
	umull	r2, r3, r1, r3
	lsr	r3, r3, #6
	mov	r2, r3
	lsl	r2, r2, #2
	add	r2, r2, r3
	lsl	r2, r2, #3
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	sub	r3, r1, r2
	and	r0, r3, #3
	ldr	r3, [fp, #-216]
	and	r1, r3, #3
	mov	r2, r1
	lsl	r2, r2, #1
	add	r2, r2, r1
	lsl	r3, r2, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsr	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r2, [fp, #-156]
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-212]
	cmp	r3, #2
	bls	.L12
	ldr	r3, [fp, #-192]
	mvn	r2, r3
	ldr	r3, [fp, #-200]
	orr	r2, r2, r3
	b	.L13
.L12:
	ldr	r3, [fp, #-212]
	cmp	r3, #1
	bls	.L14
	ldr	r2, [fp, #-200]
	ldr	r3, [fp, #-192]
	eor	r2, r2, r3
	b	.L13
.L14:
	ldr	r3, [fp, #-212]
	cmp	r3, #0
	beq	.L16
	ldr	r2, [fp, #-200]
	ldr	r3, [fp, #-196]
	eor	r2, r2, r3
	ldr	r3, [fp, #-192]
	and	r2, r2, r3
	b	.L13
.L16:
	ldr	r2, [fp, #-196]
	ldr	r3, [fp, #-192]
	eor	r2, r2, r3
	ldr	r3, [fp, #-200]
	mvn	r3, r3
	and	r2, r2, r3
.L13:
	ldr	r3, [fp, #-196]
	eor	r2, r2, r3
	ldr	r3, [fp, #-204]
	add	ip, r2, r3
	ldr	r2, [fp, #-212]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsr	r3, r3, #1
	and	r0, r3, #5
	ldr	r2, [fp, #-212]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	and	r3, r3, #6
	mvn	r1, r3
	ldr	r2, [fp, #-216]
	add	r3, r2, #1
	str	r3, [fp, #-216]
	mul	r3, r2, r1
	sub	r3, r0, r3
	and	r3, r3, #15
	rsb	r3, r3, #19
	lsl	r3, r3, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r3, [r3, #-84]
	add	lr, ip, r3
	sub	r3, fp, #172
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	asr	r0, r3, #8
	asr	r1, r3, #31
	mov	ip, r0
	sub	r3, fp, #172
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r2, #8
	orr	r0, r0, r3, lsl #24
	asr	r1, r3, #8
	mov	r3, r0
	eor	r3, r3, ip
	add	r3, lr, r3
	str	r3, [fp, #-212]
	ldr	r3, [fp, #-192]
	str	r3, [fp, #-204]
	ldr	r3, [fp, #-196]
	str	r3, [fp, #-192]
	ldr	r3, [fp, #-200]
	str	r3, [fp, #-196]
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-212]
	rsb	r3, r3, #32
	ror	r2, r2, r3
	ldr	r3, [fp, #-200]
	add	r3, r3, r2
	str	r3, [fp, #-200]
.L11:
	ldr	r3, [fp, #-216]
	lsr	r3, r3, #4
	str	r3, [fp, #-212]
	ldr	r3, [fp, #-212]
	cmp	r3, #3
	bls	.L18
.L2:
	mov	r3, #0
	str	r3, [fp, #-216]
	ldr	r1, [fp, #-216]
	lsl	r3, r1, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r2, [r3, #-84]
	ldr	r3, [fp, #-204]
	add	r2, r2, r3
	lsl	r3, r1, #2
	sub	r0, fp, #28
	add	r3, r0, r3
	str	r2, [r3, #-84]
	lsl	r3, r1, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r3, [r3, #-84]
	str	r3, [fp, #-204]
	mov	r1, #1
	lsl	r3, r1, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r2, [r3, #-84]
	ldr	r3, [fp, #-200]
	add	r2, r2, r3
	lsl	r3, r1, #2
	sub	r0, fp, #28
	add	r3, r0, r3
	str	r2, [r3, #-84]
	lsl	r3, r1, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r3, [r3, #-84]
	str	r3, [fp, #-200]
	mov	r1, #2
	lsl	r3, r1, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r2, [r3, #-84]
	ldr	r3, [fp, #-196]
	add	r2, r2, r3
	lsl	r3, r1, #2
	sub	r0, fp, #28
	add	r3, r0, r3
	str	r2, [r3, #-84]
	lsl	r3, r1, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r3, [r3, #-84]
	str	r3, [fp, #-196]
	mov	r1, #3
	lsl	r3, r1, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r2, [r3, #-84]
	ldr	r3, [fp, #-192]
	add	r2, r2, r3
	lsl	r3, r1, #2
	sub	r0, fp, #28
	add	r3, r0, r3
	str	r2, [r3, #-84]
	lsl	r3, r1, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r3, [r3, #-84]
	str	r3, [fp, #-192]
	ldr	r3, [fp, #-208]
	cmp	r3, #0
	bne	.L19
	b	.L20
.L25:
	ldr	r3, [fp, #-216]
	lsr	r3, r3, #3
	lsl	r3, r3, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r2, [r3, #-84]
	ldr	r3, [fp, #-216]
	and	r3, r3, #7
	lsl	r3, r3, #2
	eor	r3, r3, #4
	lsr	r3, r2, r3
	and	r3, r3, #15
	str	r3, [fp, #-204]
	ldr	r3, [fp, #-216]
	add	r2, r3, #1
	str	r2, [fp, #-216]
	cmp	r3, #31
	bhi	.L21
	ldr	r3, [fp, #-204]
	cmp	r3, #9
	bls	.L22
	mov	r3, #87
	b	.L23
.L22:
	mov	r3, #48
.L23:
	ldr	r2, [fp, #-204]
	add	r3, r2, r3
	str	r3, [fp, #-204]
	ldr	r3, [fp, #-204]
	b	.L24
.L21:
	mov	r3, #10
.L24:
	mov	r0, r3
	bl	putchar
.L20:
	ldr	r3, [fp, #-216]
	cmp	r3, #32
	bls	.L25
	mov	r3, #0
	ldr	r2, .L28+36
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
