	.file	"677237.c"
	.intel_syntax noprefix
	.text
	.local	multi
	.comm	multi,24480,32
	.globl	set_value
	.type	set_value, @function
set_value:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 2444[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 2440[rax], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	lea	ecx, -48[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	add	DWORD PTR -8[rbp], 1
.L2:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L3
	jmp	.L4
.L5:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], 0
	add	DWORD PTR -8[rbp], 1
.L4:
	cmp	DWORD PTR -8[rbp], 609
	jle	.L5
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	set_value, .-set_value
	.section	.rodata
.LC0:
	.string	"%d"
	.text
	.globl	print_value
	.type	print_value, @function
print_value:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, DWORD PTR 2460[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR 2456[rbp]
	test	eax, eax
	je	.L9
	mov	eax, DWORD PTR 2460[rbp]
	cmp	eax, 1
	jne	.L8
	mov	eax, DWORD PTR 16[rbp]
	test	eax, eax
	je	.L9
.L8:
	mov	edi, 45
	call	putchar@PLT
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR 16[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
.L9:
	sub	DWORD PTR -4[rbp], 1
	cmp	DWORD PTR -4[rbp], 0
	jns	.L10
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	print_value, .-print_value
	.globl	compare
	.type	compare, @function
compare:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 2444[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 2444[rax]
	cmp	edx, eax
	jle	.L12
	mov	eax, 1
	jmp	.L13
.L12:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 2444[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 2444[rax]
	cmp	edx, eax
	jge	.L14
	mov	eax, -1
	jmp	.L13
.L14:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 2444[rax]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L15
.L17:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	ecx, eax
	jle	.L16
	mov	eax, 1
	jmp	.L13
.L16:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	ecx, eax
	jge	.L15
	mov	eax, -1
	jmp	.L13
.L15:
	sub	DWORD PTR -4[rbp], 1
	cmp	DWORD PTR -4[rbp], 0
	jns	.L17
	mov	eax, 0
.L13:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	compare, .-compare
	.section	.rodata
.LC1:
	.string	""
	.text
	.globl	add
	.type	add, @function
add:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 2512
	mov	QWORD PTR -2488[rbp], rdi
	mov	QWORD PTR -2496[rbp], rsi
	mov	QWORD PTR -2504[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -2464[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	set_value
	mov	rax, QWORD PTR -2496[rbp]
	mov	edx, DWORD PTR 2444[rax]
	mov	rax, QWORD PTR -2504[rbp]
	mov	eax, DWORD PTR 2444[rax]
	cmp	edx, eax
	cmovge	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -2468[rbp], 0
	jmp	.L19
.L20:
	mov	rax, QWORD PTR -2496[rbp]
	mov	edx, DWORD PTR -2468[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -2504[rbp]
	mov	edx, DWORD PTR -2468[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	lea	edx, [rcx+rax]
	mov	eax, DWORD PTR -2468[rbp]
	cdqe
	mov	DWORD PTR -2464[rbp+rax*4], edx
	mov	eax, DWORD PTR -2468[rbp]
	cdqe
	mov	eax, DWORD PTR -2464[rbp+rax*4]
	mov	edx, DWORD PTR -2468[rbp]
	lea	ecx, 1[rdx]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	sub	edx, eax
	movsx	rax, ecx
	mov	DWORD PTR -2464[rbp+rax*4], edx
	mov	eax, DWORD PTR -2468[rbp]
	cdqe
	mov	ecx, DWORD PTR -2464[rbp+rax*4]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	mov	eax, DWORD PTR -2468[rbp]
	cdqe
	mov	DWORD PTR -2464[rbp+rax*4], edx
	add	DWORD PTR -2468[rbp], 1
.L19:
	mov	eax, DWORD PTR -20[rbp]
	cmp	DWORD PTR -2468[rbp], eax
	jl	.L20
	mov	eax, DWORD PTR -2468[rbp]
	cdqe
	mov	eax, DWORD PTR -2464[rbp+rax*4]
	test	eax, eax
	je	.L21
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	DWORD PTR -20[rbp], eax
.L21:
	mov	rax, QWORD PTR -2488[rbp]
	mov	rdx, rax
	lea	rax, -2464[rbp]
	mov	ecx, 2448
	mov	rsi, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rsi
	mov	esi, ecx
	add	rsi, rdx
	lea	rdi, 8[rsi]
	mov	esi, ecx
	add	rsi, rax
	add	rsi, 8
	mov	rsi, QWORD PTR -16[rsi]
	mov	QWORD PTR -16[rdi], rsi
	lea	rdi, 8[rdx]
	and	rdi, -8
	sub	rdx, rdi
	sub	rax, rdx
	add	ecx, edx
	and	ecx, -8
	shr	ecx, 3
	mov	edx, ecx
	mov	edx, edx
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	mov	rax, QWORD PTR -2488[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	add, .-add
	.globl	sub
	.type	sub, @function
sub:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 2512
	mov	QWORD PTR -2488[rbp], rdi
	mov	QWORD PTR -2496[rbp], rsi
	mov	QWORD PTR -2504[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -2504[rbp]
	mov	rax, QWORD PTR -2496[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	compare
	mov	DWORD PTR -2476[rbp], eax
	lea	rax, -2464[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	set_value
	cmp	DWORD PTR -2476[rbp], 0
	jne	.L25
	mov	DWORD PTR -20[rbp], 1
	mov	DWORD PTR -2464[rbp], 0
	mov	rax, QWORD PTR -2488[rbp]
	mov	rdx, rax
	lea	rax, -2464[rbp]
	mov	ecx, 2448
	mov	rsi, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rsi
	mov	esi, ecx
	add	rsi, rdx
	lea	rdi, 8[rsi]
	mov	esi, ecx
	add	rsi, rax
	add	rsi, 8
	mov	rsi, QWORD PTR -16[rsi]
	mov	QWORD PTR -16[rdi], rsi
	lea	rdi, 8[rdx]
	and	rdi, -8
	sub	rdx, rdi
	sub	rax, rdx
	add	ecx, edx
	and	ecx, -8
	shr	ecx, 3
	mov	edx, ecx
	mov	edx, edx
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	jmp	.L34
.L25:
	cmp	DWORD PTR -2476[rbp], 0
	jns	.L27
	mov	rax, QWORD PTR -2496[rbp]
	mov	QWORD PTR -2472[rbp], rax
	mov	rax, QWORD PTR -2504[rbp]
	mov	QWORD PTR -2496[rbp], rax
	mov	rax, QWORD PTR -2472[rbp]
	mov	QWORD PTR -2504[rbp], rax
	mov	DWORD PTR -24[rbp], 1
.L27:
	mov	rax, QWORD PTR -2496[rbp]
	mov	eax, DWORD PTR 2444[rax]
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -2476[rbp], 0
	jmp	.L28
.L29:
	mov	rax, QWORD PTR -2496[rbp]
	mov	edx, DWORD PTR -2476[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -2504[rbp]
	mov	edx, DWORD PTR -2476[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	sub	ecx, eax
	mov	edx, ecx
	mov	eax, DWORD PTR -2476[rbp]
	cdqe
	mov	DWORD PTR -2464[rbp+rax*4], edx
	add	DWORD PTR -2476[rbp], 1
.L28:
	mov	eax, DWORD PTR -20[rbp]
	cmp	DWORD PTR -2476[rbp], eax
	jl	.L29
	mov	DWORD PTR -2476[rbp], 0
	jmp	.L30
.L32:
	mov	eax, DWORD PTR -2476[rbp]
	cdqe
	mov	eax, DWORD PTR -2464[rbp+rax*4]
	test	eax, eax
	jns	.L31
	mov	eax, DWORD PTR -2476[rbp]
	cdqe
	mov	eax, DWORD PTR -2464[rbp+rax*4]
	lea	edx, 10[rax]
	mov	eax, DWORD PTR -2476[rbp]
	cdqe
	mov	DWORD PTR -2464[rbp+rax*4], edx
	mov	eax, DWORD PTR -2476[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	edx, DWORD PTR -2464[rbp+rdx*4]
	sub	edx, 1
	cdqe
	mov	DWORD PTR -2464[rbp+rax*4], edx
.L31:
	add	DWORD PTR -2476[rbp], 1
.L30:
	mov	eax, DWORD PTR -20[rbp]
	cmp	DWORD PTR -2476[rbp], eax
	jl	.L32
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -2464[rbp+rax*4]
	test	eax, eax
	jne	.L33
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	DWORD PTR -20[rbp], eax
.L33:
	mov	rax, QWORD PTR -2488[rbp]
	mov	rdx, rax
	lea	rax, -2464[rbp]
	mov	ecx, 2448
	mov	rsi, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rsi
	mov	esi, ecx
	add	rsi, rdx
	lea	rdi, 8[rsi]
	mov	esi, ecx
	add	rsi, rax
	add	rsi, 8
	mov	rsi, QWORD PTR -16[rsi]
	mov	QWORD PTR -16[rdi], rsi
	lea	rdi, 8[rdx]
	and	rdi, -8
	sub	rdx, rdi
	sub	rax, rdx
	add	ecx, edx
	and	ecx, -8
	shr	ecx, 3
	mov	edx, ecx
	mov	edx, edx
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
.L34:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	mov	rax, QWORD PTR -2488[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	sub, .-sub
	.globl	mul_10
	.type	mul_10, @function
mul_10:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 2444[rax]
	cmp	eax, 1
	jne	.L37
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L41
.L37:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 2444[rax]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L39
.L40:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	sub	DWORD PTR -4[rbp], 1
.L39:
	cmp	DWORD PTR -4[rbp], 0
	jg	.L40
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 2444[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 2444[rax], edx
	jmp	.L36
.L41:
	nop
.L36:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	mul_10, .-mul_10
	.globl	mul_scale
	.type	mul_scale, @function
mul_scale:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 2444[rax]
	test	eax, eax
	je	.L43
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	set_value
.L43:
	cmp	DWORD PTR -36[rbp], 1
	jne	.L44
	mov	DWORD PTR -4[rbp], 0
	jmp	.L45
.L46:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	add	DWORD PTR -4[rbp], 1
.L45:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 2444[rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L46
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 2444[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 2444[rax], edx
	jmp	.L42
.L44:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L48
.L49:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	imul	eax, DWORD PTR -36[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	add	DWORD PTR -4[rbp], 1
.L48:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 2444[rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L49
	cmp	DWORD PTR -40[rbp], 0
	je	.L50
	mov	DWORD PTR -4[rbp], 0
	jmp	.L51
.L52:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	esi, edx
	sub	esi, eax
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	add	ecx, esi
	mov	rax, QWORD PTR -32[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	mov	rax, QWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	movsx	rcx, ecx
	mov	DWORD PTR [rax+rcx*4], edx
	add	DWORD PTR -4[rbp], 1
.L51:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 2444[rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L52
.L50:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	test	eax, eax
	je	.L53
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	jmp	.L54
.L53:
	mov	eax, DWORD PTR -4[rbp]
.L54:
	mov	rdx, QWORD PTR -32[rbp]
	mov	DWORD PTR 2444[rdx], eax
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	mul_scale, .-mul_scale
	.globl	mul
	.type	mul, @function
mul:
.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, 2608
	mov	QWORD PTR -2584[rbp], rdi
	mov	QWORD PTR -2592[rbp], rsi
	mov	QWORD PTR -2600[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -2592[rbp]
	mov	eax, DWORD PTR 2444[rax]
	cmp	eax, 1
	jne	.L56
	mov	rax, QWORD PTR -2592[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L56
	mov	rdx, QWORD PTR -2584[rbp]
	mov	rax, QWORD PTR -2592[rbp]
	mov	ecx, 2448
	mov	rsi, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rsi
	mov	esi, ecx
	add	rsi, rdx
	lea	rdi, 8[rsi]
	mov	esi, ecx
	add	rsi, rax
	add	rsi, 8
	mov	rsi, QWORD PTR -16[rsi]
	mov	QWORD PTR -16[rdi], rsi
	lea	rdi, 8[rdx]
	and	rdi, -8
	sub	rdx, rdi
	sub	rax, rdx
	add	ecx, edx
	and	ecx, -8
	shr	ecx, 3
	mov	edx, ecx
	mov	edx, edx
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	jmp	.L74
.L56:
	mov	rax, QWORD PTR -2600[rbp]
	mov	eax, DWORD PTR 2444[rax]
	cmp	eax, 1
	jne	.L58
	mov	rax, QWORD PTR -2600[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L58
	mov	rdx, QWORD PTR -2584[rbp]
	mov	rax, QWORD PTR -2600[rbp]
	mov	ecx, 2448
	mov	rsi, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rsi
	mov	esi, ecx
	add	rsi, rdx
	lea	rdi, 8[rsi]
	mov	esi, ecx
	add	rsi, rax
	add	rsi, 8
	mov	rsi, QWORD PTR -16[rsi]
	mov	QWORD PTR -16[rdi], rsi
	lea	rdi, 8[rdx]
	and	rdi, -8
	sub	rdx, rdi
	sub	rax, rdx
	add	ecx, edx
	and	ecx, -8
	shr	ecx, 3
	mov	edx, ecx
	mov	edx, edx
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	jmp	.L74
.L58:
	mov	rax, QWORD PTR -2592[rbp]
	mov	eax, DWORD PTR 2444[rax]
	cmp	eax, 1
	jne	.L59
	mov	rax, QWORD PTR -2592[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L59
	mov	rdx, QWORD PTR -2584[rbp]
	mov	rax, QWORD PTR -2600[rbp]
	mov	ecx, 2448
	mov	rsi, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rsi
	mov	esi, ecx
	add	rsi, rdx
	lea	rdi, 8[rsi]
	mov	esi, ecx
	add	rsi, rax
	add	rsi, 8
	mov	rsi, QWORD PTR -16[rsi]
	mov	QWORD PTR -16[rdi], rsi
	lea	rdi, 8[rdx]
	and	rdi, -8
	sub	rdx, rdi
	sub	rax, rdx
	add	ecx, edx
	and	ecx, -8
	shr	ecx, 3
	mov	edx, ecx
	mov	edx, edx
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	jmp	.L74
.L59:
	mov	rax, QWORD PTR -2600[rbp]
	mov	eax, DWORD PTR 2444[rax]
	cmp	eax, 1
	jne	.L60
	mov	rax, QWORD PTR -2600[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L60
	mov	rdx, QWORD PTR -2584[rbp]
	mov	rax, QWORD PTR -2592[rbp]
	mov	ecx, 2448
	mov	rsi, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rsi
	mov	esi, ecx
	add	rsi, rdx
	lea	rdi, 8[rsi]
	mov	esi, ecx
	add	rsi, rax
	add	rsi, 8
	mov	rsi, QWORD PTR -16[rsi]
	mov	QWORD PTR -16[rdi], rsi
	lea	rdi, 8[rdx]
	and	rdi, -8
	sub	rdx, rdi
	sub	rax, rdx
	add	ecx, edx
	and	ecx, -8
	shr	ecx, 3
	mov	edx, ecx
	mov	edx, edx
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	jmp	.L74
.L60:
	lea	rax, -2464[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	set_value
	mov	rdx, QWORD PTR -2600[rbp]
	mov	rax, QWORD PTR -2592[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	compare
	test	eax, eax
	jns	.L61
	mov	rax, QWORD PTR -2592[rbp]
	mov	QWORD PTR -2552[rbp], rax
	mov	rax, QWORD PTR -2600[rbp]
	mov	QWORD PTR -2592[rbp], rax
	mov	rax, QWORD PTR -2552[rbp]
	mov	QWORD PTR -2600[rbp], rax
.L61:
	mov	DWORD PTR -2564[rbp], 0
	jmp	.L62
.L63:
	mov	eax, DWORD PTR -2564[rbp]
	cdqe
	mov	QWORD PTR -2544[rbp+rax*8], 0
	add	DWORD PTR -2564[rbp], 1
.L62:
	cmp	DWORD PTR -2564[rbp], 9
	jle	.L63
	mov	rax, QWORD PTR -2592[rbp]
	mov	QWORD PTR -2536[rbp], rax
	mov	DWORD PTR -2564[rbp], 0
	jmp	.L64
.L69:
	mov	rax, QWORD PTR -2600[rbp]
	mov	edx, DWORD PTR -2564[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR -2556[rbp], eax
	cmp	DWORD PTR -2556[rbp], 0
	je	.L65
	mov	eax, DWORD PTR -2556[rbp]
	cdqe
	mov	rax, QWORD PTR -2544[rbp+rax*8]
	test	rax, rax
	jne	.L66
	mov	eax, DWORD PTR -2556[rbp]
	cdqe
	imul	rax, rax, 2448
	lea	rdx, multi[rip]
	add	rax, rdx
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	set_value
	mov	eax, DWORD PTR -2556[rbp]
	cdqe
	imul	rax, rax, 2448
	lea	rdx, multi[rip]
	lea	rsi, [rax+rdx]
	mov	edx, DWORD PTR -2556[rbp]
	mov	rax, QWORD PTR -2592[rbp]
	mov	ecx, 0
	mov	rdi, rax
	call	mul_scale
	mov	eax, DWORD PTR -2556[rbp]
	cdqe
	imul	rax, rax, 2448
	lea	rdx, multi[rip]
	add	rdx, rax
	mov	eax, DWORD PTR -2556[rbp]
	cdqe
	mov	QWORD PTR -2544[rbp+rax*8], rdx
.L66:
	mov	DWORD PTR -2560[rbp], 0
	jmp	.L67
.L68:
	mov	edx, DWORD PTR -2560[rbp]
	mov	eax, DWORD PTR -2564[rbp]
	add	eax, edx
	cdqe
	mov	ecx, DWORD PTR -2464[rbp+rax*4]
	mov	eax, DWORD PTR -2556[rbp]
	cdqe
	mov	rax, QWORD PTR -2544[rbp+rax*8]
	mov	edx, DWORD PTR -2560[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	esi, DWORD PTR -2560[rbp]
	mov	eax, DWORD PTR -2564[rbp]
	add	eax, esi
	add	edx, ecx
	cdqe
	mov	DWORD PTR -2464[rbp+rax*4], edx
	add	DWORD PTR -2560[rbp], 1
.L67:
	mov	rax, QWORD PTR -2592[rbp]
	mov	eax, DWORD PTR 2444[rax]
	cmp	DWORD PTR -2560[rbp], eax
	jl	.L68
.L65:
	add	DWORD PTR -2564[rbp], 1
.L64:
	mov	rax, QWORD PTR -2600[rbp]
	mov	eax, DWORD PTR 2444[rax]
	cmp	DWORD PTR -2564[rbp], eax
	jl	.L69
	mov	rax, QWORD PTR -2592[rbp]
	mov	edx, DWORD PTR 2444[rax]
	mov	rax, QWORD PTR -2600[rbp]
	mov	eax, DWORD PTR 2444[rax]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -2564[rbp], 0
	jmp	.L70
.L71:
	mov	eax, DWORD PTR -2564[rbp]
	add	eax, 1
	cdqe
	mov	ecx, DWORD PTR -2464[rbp+rax*4]
	mov	eax, DWORD PTR -2564[rbp]
	cdqe
	mov	eax, DWORD PTR -2464[rbp+rax*4]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	sub	edx, eax
	mov	eax, DWORD PTR -2564[rbp]
	add	eax, 1
	add	edx, ecx
	cdqe
	mov	DWORD PTR -2464[rbp+rax*4], edx
	mov	eax, DWORD PTR -2564[rbp]
	cdqe
	mov	ecx, DWORD PTR -2464[rbp+rax*4]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	mov	eax, DWORD PTR -2564[rbp]
	cdqe
	mov	DWORD PTR -2464[rbp+rax*4], edx
	add	DWORD PTR -2564[rbp], 1
.L70:
	mov	eax, DWORD PTR -20[rbp]
	cmp	DWORD PTR -2564[rbp], eax
	jl	.L71
	mov	eax, DWORD PTR -2564[rbp]
	cdqe
	mov	eax, DWORD PTR -2464[rbp+rax*4]
	test	eax, eax
	je	.L72
	mov	eax, DWORD PTR -2564[rbp]
	add	eax, 1
	jmp	.L73
.L72:
	mov	eax, DWORD PTR -2564[rbp]
.L73:
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -2584[rbp]
	mov	rdx, rax
	lea	rax, -2464[rbp]
	mov	ecx, 2448
	mov	rsi, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rsi
	mov	esi, ecx
	add	rsi, rdx
	lea	rdi, 8[rsi]
	mov	esi, ecx
	add	rsi, rax
	add	rsi, 8
	mov	rsi, QWORD PTR -16[rsi]
	mov	QWORD PTR -16[rdi], rsi
	lea	rdi, 8[rdx]
	and	rdi, -8
	sub	rdx, rdi
	sub	rax, rdx
	add	ecx, edx
	and	ecx, -8
	shr	ecx, 3
	mov	edx, ecx
	mov	edx, edx
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
.L74:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L75
	call	__stack_chk_fail@PLT
.L75:
	mov	rax, QWORD PTR -2584[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	mul, .-mul
	.section	.rodata
.LC2:
	.string	"0"
	.text
	.globl	div
	.type	div, @function
div:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 1664
	mov	QWORD PTR -7384[rbp], rdi
	mov	QWORD PTR -7392[rbp], rsi
	mov	QWORD PTR -7400[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -7392[rbp]
	mov	eax, DWORD PTR 2444[rax]
	cmp	eax, 1
	jne	.L77
	mov	rax, QWORD PTR -7392[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L77
	mov	rdx, QWORD PTR -7384[rbp]
	mov	rax, QWORD PTR -7392[rbp]
	mov	ecx, 2448
	mov	rsi, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rsi
	mov	esi, ecx
	add	rsi, rdx
	lea	rdi, 8[rsi]
	mov	esi, ecx
	add	rsi, rax
	add	rsi, 8
	mov	rsi, QWORD PTR -16[rsi]
	mov	QWORD PTR -16[rdi], rsi
	lea	rdi, 8[rdx]
	and	rdi, -8
	sub	rdx, rdi
	sub	rax, rdx
	add	ecx, edx
	and	ecx, -8
	shr	ecx, 3
	mov	edx, ecx
	mov	edx, edx
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	jmp	.L91
.L77:
	mov	rax, QWORD PTR -7400[rbp]
	mov	eax, DWORD PTR 2444[rax]
	cmp	eax, 1
	jne	.L79
	mov	rax, QWORD PTR -7400[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L79
	mov	rdx, QWORD PTR -7384[rbp]
	mov	rax, QWORD PTR -7392[rbp]
	mov	ecx, 2448
	mov	rsi, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rsi
	mov	esi, ecx
	add	rsi, rdx
	lea	rdi, 8[rsi]
	mov	esi, ecx
	add	rsi, rax
	add	rsi, 8
	mov	rsi, QWORD PTR -16[rsi]
	mov	QWORD PTR -16[rdi], rsi
	lea	rdi, 8[rdx]
	and	rdi, -8
	sub	rdx, rdi
	sub	rax, rdx
	add	ecx, edx
	and	ecx, -8
	shr	ecx, 3
	mov	edx, ecx
	mov	edx, edx
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	jmp	.L91
.L79:
	lea	rax, -7360[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	set_value
	mov	rdx, QWORD PTR -7400[rbp]
	mov	rax, QWORD PTR -7392[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	compare
	mov	DWORD PTR -7368[rbp], eax
	cmp	DWORD PTR -7368[rbp], 0
	jne	.L80
	mov	DWORD PTR -4916[rbp], 1
	mov	DWORD PTR -7360[rbp], 1
	mov	rax, QWORD PTR -7384[rbp]
	mov	rdx, rax
	lea	rax, -7360[rbp]
	mov	ecx, 2448
	mov	rsi, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rsi
	mov	esi, ecx
	add	rsi, rdx
	lea	rdi, 8[rsi]
	mov	esi, ecx
	add	rsi, rax
	add	rsi, 8
	mov	rsi, QWORD PTR -16[rsi]
	mov	QWORD PTR -16[rdi], rsi
	lea	rdi, 8[rdx]
	and	rdi, -8
	sub	rdx, rdi
	sub	rax, rdx
	add	ecx, edx
	and	ecx, -8
	shr	ecx, 3
	mov	edx, ecx
	mov	edx, edx
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	jmp	.L91
.L80:
	cmp	DWORD PTR -7368[rbp], 0
	jns	.L81
	mov	DWORD PTR -4916[rbp], 1
	mov	rax, QWORD PTR -7384[rbp]
	mov	rdx, rax
	lea	rax, -7360[rbp]
	mov	ecx, 2448
	mov	rsi, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rsi
	mov	esi, ecx
	add	rsi, rdx
	lea	rdi, 8[rsi]
	mov	esi, ecx
	add	rsi, rax
	add	rsi, 8
	mov	rsi, QWORD PTR -16[rsi]
	mov	QWORD PTR -16[rdi], rsi
	lea	rdi, 8[rdx]
	and	rdi, -8
	sub	rdx, rdi
	sub	rax, rdx
	add	ecx, edx
	and	ecx, -8
	shr	ecx, 3
	mov	edx, ecx
	mov	edx, edx
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	jmp	.L91
.L81:
	lea	rax, -4912[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	set_value
	mov	rax, QWORD PTR -7392[rbp]
	mov	eax, DWORD PTR 2444[rax]
	sub	eax, 1
	mov	DWORD PTR -7368[rbp], eax
	jmp	.L82
.L88:
	lea	rax, -4912[rbp]
	mov	rdi, rax
	call	mul_10
	mov	rax, QWORD PTR -7392[rbp]
	mov	edx, DWORD PTR -7368[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR -4912[rbp], eax
	mov	edx, DWORD PTR -2468[rbp]
	mov	rax, QWORD PTR -7400[rbp]
	mov	eax, DWORD PTR 2444[rax]
	cmp	edx, eax
	jl	.L93
	mov	DWORD PTR -7364[rbp], 9
	jmp	.L85
.L87:
	mov	edx, DWORD PTR -7364[rbp]
	lea	rsi, -2464[rbp]
	mov	rax, QWORD PTR -7400[rbp]
	mov	ecx, 1
	mov	rdi, rax
	call	mul_scale
	lea	rdx, -2464[rbp]
	lea	rax, -4912[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	compare
	test	eax, eax
	js	.L86
	lea	rax, -9856[rbp]
	lea	rdx, -2464[rbp]
	lea	rcx, -4912[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	sub
	lea	rax, -4912[rbp]
	lea	rdx, -9856[rbp]
	mov	ecx, 306
	mov	rdi, rax
	mov	rsi, rdx
	rep movsq
	mov	eax, DWORD PTR -7368[rbp]
	cdqe
	mov	edx, DWORD PTR -7364[rbp]
	mov	DWORD PTR -7360[rbp+rax*4], edx
	jmp	.L84
.L86:
	sub	DWORD PTR -7364[rbp], 1
.L85:
	cmp	DWORD PTR -7364[rbp], 0
	jg	.L87
	jmp	.L84
.L93:
	nop
.L84:
	sub	DWORD PTR -7368[rbp], 1
.L82:
	cmp	DWORD PTR -7368[rbp], 0
	jns	.L88
	mov	rax, QWORD PTR -7392[rbp]
	mov	eax, DWORD PTR 2444[rax]
	sub	eax, 1
	mov	DWORD PTR -7368[rbp], eax
	jmp	.L89
.L90:
	sub	DWORD PTR -7368[rbp], 1
.L89:
	mov	eax, DWORD PTR -7368[rbp]
	cdqe
	mov	eax, DWORD PTR -7360[rbp+rax*4]
	test	eax, eax
	je	.L90
	mov	eax, DWORD PTR -7368[rbp]
	add	eax, 1
	mov	DWORD PTR -4916[rbp], eax
	mov	rax, QWORD PTR -7384[rbp]
	mov	rdx, rax
	lea	rax, -7360[rbp]
	mov	ecx, 2448
	mov	rsi, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rsi
	mov	esi, ecx
	add	rsi, rdx
	lea	rdi, 8[rsi]
	mov	esi, ecx
	add	rsi, rax
	add	rsi, 8
	mov	rsi, QWORD PTR -16[rsi]
	mov	QWORD PTR -16[rdi], rsi
	lea	rdi, 8[rdx]
	and	rdi, -8
	sub	rdx, rdi
	sub	rax, rdx
	add	ecx, edx
	and	ecx, -8
	shr	ecx, 3
	mov	edx, ecx
	mov	edx, edx
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
.L91:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L92
	call	__stack_chk_fail@PLT
.L92:
	mov	rax, QWORD PTR -7384[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	div, .-div
	.section	.rodata
.LC3:
	.string	"1"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 3888
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L95
.L103:
	mov	eax, DWORD PTR -5524[rbp]
	cmp	eax, 1
	jne	.L96
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L95
.L96:
	mov	eax, DWORD PTR -5524[rbp]
	add	eax, 1
	mov	DWORD PTR -5524[rbp], eax
	mov	eax, DWORD PTR -5524[rbp]
	cmp	eax, 9
	jg	.L97
	mov	eax, DWORD PTR -5524[rbp]
	add	eax, 48
	mov	BYTE PTR -624[rbp], al
	mov	BYTE PTR -623[rbp], 0
	jmp	.L98
.L97:
	mov	eax, DWORD PTR -5524[rbp]
	cmp	eax, 99
	jg	.L99
	mov	eax, DWORD PTR -5524[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	add	eax, 48
	mov	BYTE PTR -624[rbp], al
	mov	edx, DWORD PTR -5524[rbp]
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	mov	ecx, edx
	sub	ecx, eax
	mov	eax, ecx
	add	eax, 48
	mov	BYTE PTR -623[rbp], al
	mov	BYTE PTR -622[rbp], 0
	jmp	.L98
.L99:
	mov	eax, DWORD PTR -5524[rbp]
	cmp	eax, 999
	jg	.L100
	mov	eax, DWORD PTR -5524[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	add	eax, 48
	mov	BYTE PTR -624[rbp], al
	mov	edx, DWORD PTR -5524[rbp]
	movsx	rax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 5
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 100
	mov	eax, edx
	sub	eax, ecx
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	add	eax, 48
	mov	BYTE PTR -623[rbp], al
	mov	edx, DWORD PTR -5524[rbp]
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	mov	ecx, edx
	sub	ecx, eax
	mov	eax, ecx
	add	eax, 48
	mov	BYTE PTR -622[rbp], al
	mov	BYTE PTR -621[rbp], 0
	jmp	.L98
.L100:
	mov	eax, DWORD PTR -5524[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	add	eax, 48
	mov	BYTE PTR -624[rbp], al
	mov	edx, DWORD PTR -5524[rbp]
	movsx	rax, edx
	imul	rax, rax, 274877907
	shr	rax, 32
	sar	eax, 6
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 1000
	mov	eax, edx
	sub	eax, ecx
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	add	eax, 48
	mov	BYTE PTR -623[rbp], al
	mov	edx, DWORD PTR -5524[rbp]
	movsx	rax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 5
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 100
	mov	eax, edx
	sub	eax, ecx
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	add	eax, 48
	mov	BYTE PTR -622[rbp], al
	mov	edx, DWORD PTR -5524[rbp]
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	mov	ecx, edx
	sub	ecx, eax
	mov	eax, ecx
	add	eax, 48
	mov	BYTE PTR -621[rbp], al
	mov	BYTE PTR -620[rbp], 0
.L98:
	lea	rdx, -624[rbp]
	lea	rax, -5520[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	set_value
	mov	eax, DWORD PTR -5524[rbp]
	sub	eax, 3
	mov	DWORD PTR -5524[rbp], eax
	mov	BYTE PTR -624[rbp], 50
	mov	BYTE PTR -623[rbp], 0
	lea	rdx, -624[rbp]
	lea	rax, -3072[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	set_value
	jmp	.L101
.L102:
	lea	rax, -7984[rbp]
	lea	rdx, -3072[rbp]
	lea	rcx, -5520[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	mul
	lea	rax, -5520[rbp]
	lea	rdx, -7984[rbp]
	mov	ecx, 306
	mov	rdi, rax
	mov	rsi, rdx
	rep movsq
.L101:
	mov	eax, DWORD PTR -5524[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -5524[rbp], edx
	test	eax, eax
	jne	.L102
	sub	rsp, 2448
	mov	rax, rsp
	mov	rdi, rax
	lea	rax, -5520[rbp]
	mov	edx, 306
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	call	print_value
	add	rsp, 2448
.L95:
	lea	rax, -5524[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L103
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L105
	call	__stack_chk_fail@PLT
.L105:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"677237.c"
	.text
	.local	multi
	.comm	multi,24480,4
	.align	2
	.global	set_value
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_value, %function
set_value:
	@ 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, #-16]
	str	r1, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #2444]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #2440]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L3:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r1, r3, #48
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L3
	b	.L4
.L5:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L4:
	ldr	r3, [fp, #-12]
	ldr	r2, .L6
	cmp	r3, r2
	ble	.L5
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	609
	.size	set_value, .-set_value
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.text
	.align	2
	.global	print_value
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_value, %function
print_value:
	@ args = 2448, pretend = 16, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #2448]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #2444]
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #2448]
	cmp	r3, #1
	bne	.L10
	ldr	r3, [fp, #4]
	cmp	r3, #0
	beq	.L11
.L10:
	mov	r0, #45
	bl	putchar
	b	.L11
.L12:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, fp, r3
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L13
	bl	printf
.L11:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L12
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L14:
	.align	2
.L13:
	.word	.LC0
	.size	print_value, .-print_value
	.align	2
	.global	compare
	.syntax unified
	.arm
	.fpu softvfp
	.type	compare, %function
compare:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #2444]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #2444]
	cmp	r2, r3
	ble	.L16
	mov	r3, #1
	b	.L17
.L16:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #2444]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #2444]
	cmp	r2, r3
	bge	.L18
	mvn	r3, #0
	b	.L17
.L18:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #2444]
	str	r3, [fp, #-8]
	b	.L19
.L21:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-8]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	ble	.L20
	mov	r3, #1
	b	.L17
.L20:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-8]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bge	.L19
	mvn	r3, #0
	b	.L17
.L19:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L21
	mov	r3, #0
.L17:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	compare, .-compare
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	add
	.syntax unified
	.arm
	.fpu softvfp
	.type	add, %function
add:
	@ args = 0, pretend = 0, frame = 2472
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2464
	sub	sp, sp, #8
	str	r0, [fp, #-2464]
	str	r1, [fp, #-2468]
	str	r2, [fp, #-2472]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #2448
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L28+4
	mov	r0, r3
	bl	set_value
	ldr	r3, [fp, #-2468]
	ldr	r2, [r3, #2444]
	ldr	r3, [fp, #-2472]
	ldr	r3, [r3, #2444]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-2460]
	b	.L23
.L24:
	ldr	r3, [fp, #-2468]
	ldr	r2, [fp, #-2460]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-2472]
	ldr	r1, [fp, #-2460]
	ldr	r3, [r3, r1, lsl #2]
	add	r2, r2, r3
	ldr	r3, [fp, #-2460]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-2452]
	ldr	r3, [fp, #-2460]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-2452]
	ldr	r2, [fp, #-2460]
	add	r1, r2, #1
	ldr	r2, .L28+8
	smull	r0, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r2, r2, r3
	lsl	r3, r1, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-2452]
	ldr	r3, [fp, #-2460]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-2452]
	ldr	r3, .L28+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	ldr	r3, [fp, #-2460]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-2452]
	ldr	r3, [fp, #-2460]
	add	r3, r3, #1
	str	r3, [fp, #-2460]
.L23:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-2460]
	cmp	r2, r3
	blt	.L24
	ldr	r3, [fp, #-2460]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-2452]
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L25:
	ldr	r3, [fp, #-2464]
	mov	r0, r3
	sub	r3, fp, #2448
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #2448
	mov	r1, r3
	bl	memcpy
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	ldr	r0, [fp, #-2464]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC2
	.word	.LC1
	.word	1717986919
	.size	add, .-add
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sub
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub, %function
sub:
	@ args = 0, pretend = 0, frame = 2480
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2480
	str	r0, [fp, #-2472]
	str	r1, [fp, #-2476]
	str	r2, [fp, #-2480]
	ldr	r3, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, [fp, #-2480]
	ldr	r0, [fp, #-2476]
	bl	compare
	str	r0, [fp, #-2464]
	sub	r3, fp, #2448
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L42+4
	mov	r0, r3
	bl	set_value
	ldr	r3, [fp, #-2464]
	cmp	r3, #0
	bne	.L31
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-2456]
	ldr	r3, [fp, #-2472]
	mov	r0, r3
	sub	r3, fp, #2448
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #2448
	mov	r1, r3
	bl	memcpy
	b	.L30
.L31:
	ldr	r3, [fp, #-2464]
	cmp	r3, #0
	bge	.L33
	ldr	r3, [fp, #-2476]
	str	r3, [fp, #-2460]
	ldr	r3, [fp, #-2480]
	str	r3, [fp, #-2476]
	ldr	r3, [fp, #-2460]
	str	r3, [fp, #-2480]
	mov	r3, #1
	str	r3, [fp, #-16]
.L33:
	ldr	r3, [fp, #-2476]
	ldr	r3, [r3, #2444]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-2464]
	b	.L34
.L35:
	ldr	r3, [fp, #-2476]
	ldr	r2, [fp, #-2464]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-2480]
	ldr	r1, [fp, #-2464]
	ldr	r3, [r3, r1, lsl #2]
	sub	r2, r2, r3
	ldr	r3, [fp, #-2464]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-2452]
	ldr	r3, [fp, #-2464]
	add	r3, r3, #1
	str	r3, [fp, #-2464]
.L34:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-2464]
	cmp	r2, r3
	blt	.L35
	mov	r3, #0
	str	r3, [fp, #-2464]
	b	.L36
.L38:
	ldr	r3, [fp, #-2464]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-2452]
	cmp	r3, #0
	bge	.L37
	ldr	r3, [fp, #-2464]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-2452]
	add	r2, r3, #10
	ldr	r3, [fp, #-2464]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-2452]
	ldr	r3, [fp, #-2464]
	add	r2, r3, #1
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-2452]
	sub	r1, r3, #1
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-2452]
.L37:
	ldr	r3, [fp, #-2464]
	add	r3, r3, #1
	str	r3, [fp, #-2464]
.L36:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-2464]
	cmp	r2, r3
	blt	.L38
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-2452]
	cmp	r3, #0
	bne	.L39
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L39:
	ldr	r3, [fp, #-2472]
	mov	r0, r3
	sub	r3, fp, #2448
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #2448
	mov	r1, r3
	bl	memcpy
.L30:
	ldr	r3, .L42
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L41
	bl	__stack_chk_fail
.L41:
	ldr	r0, [fp, #-2472]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC3
	.word	.LC1
	.size	sub, .-sub
	.align	2
	.global	mul_10
	.syntax unified
	.arm
	.fpu softvfp
	.type	mul_10, %function
mul_10:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #2444]
	cmp	r3, #1
	bne	.L45
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L49
.L45:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #2444]
	str	r3, [fp, #-8]
	b	.L47
.L48:
	ldr	r3, [fp, #-8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L47:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L48
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #2444]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #2444]
	b	.L44
.L49:
	nop
.L44:
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	mul_10, .-mul_10
	.align	2
	.global	mul_scale
	.syntax unified
	.arm
	.fpu softvfp
	.type	mul_scale, %function
mul_scale:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #2444]
	cmp	r3, #0
	beq	.L51
	ldr	r1, .L63
	ldr	r0, [fp, #-20]
	bl	set_value
.L51:
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L52
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L53
.L54:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L53:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #2444]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L54
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #2444]
	ldr	r3, [fp, #-20]
	str	r2, [r3, #2444]
	b	.L50
.L52:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L56
.L57:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-24]
	mul	r1, r2, r3
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L56:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #2444]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L57
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L58
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L59
.L60:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	ldr	r3, [fp, #-20]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, .L63+4
	smull	r0, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	ldr	r2, [fp, #-8]
	add	r2, r2, #1
	add	r1, r1, r3
	ldr	r3, [fp, #-20]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, .L63+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-8]
	str	r2, [r3, r1, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L59:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #2444]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L60
.L58:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L61
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	b	.L62
.L61:
	ldr	r3, [fp, #-8]
.L62:
	ldr	r2, [fp, #-20]
	str	r3, [r2, #2444]
.L50:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L64:
	.align	2
.L63:
	.word	.LC1
	.word	1717986919
	.size	mul_scale, .-mul_scale
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mul
	.syntax unified
	.arm
	.fpu softvfp
	.type	mul, %function
mul:
	@ args = 0, pretend = 0, frame = 2528
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2528
	str	r0, [fp, #-2520]
	str	r1, [fp, #-2524]
	str	r2, [fp, #-2528]
	ldr	r3, .L86
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-2524]
	ldr	r3, [r3, #2444]
	cmp	r3, #1
	bne	.L66
	ldr	r3, [fp, #-2524]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L66
	ldr	r2, [fp, #-2520]
	ldr	r3, [fp, #-2524]
	mov	r0, r2
	mov	r1, r3
	mov	r3, #2448
	mov	r2, r3
	bl	memcpy
	b	.L65
.L66:
	ldr	r3, [fp, #-2528]
	ldr	r3, [r3, #2444]
	cmp	r3, #1
	bne	.L68
	ldr	r3, [fp, #-2528]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L68
	ldr	r2, [fp, #-2520]
	ldr	r3, [fp, #-2528]
	mov	r0, r2
	mov	r1, r3
	mov	r3, #2448
	mov	r2, r3
	bl	memcpy
	b	.L65
.L68:
	ldr	r3, [fp, #-2524]
	ldr	r3, [r3, #2444]
	cmp	r3, #1
	bne	.L69
	ldr	r3, [fp, #-2524]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L69
	ldr	r2, [fp, #-2520]
	ldr	r3, [fp, #-2528]
	mov	r0, r2
	mov	r1, r3
	mov	r3, #2448
	mov	r2, r3
	bl	memcpy
	b	.L65
.L69:
	ldr	r3, [fp, #-2528]
	ldr	r3, [r3, #2444]
	cmp	r3, #1
	bne	.L70
	ldr	r3, [fp, #-2528]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L70
	ldr	r2, [fp, #-2520]
	ldr	r3, [fp, #-2524]
	mov	r0, r2
	mov	r1, r3
	mov	r3, #2448
	mov	r2, r3
	bl	memcpy
	b	.L65
.L70:
	sub	r3, fp, #2448
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L86+4
	mov	r0, r3
	bl	set_value
	ldr	r1, [fp, #-2528]
	ldr	r0, [fp, #-2524]
	bl	compare
	mov	r3, r0
	cmp	r3, #0
	bge	.L71
	ldr	r3, [fp, #-2524]
	str	r3, [fp, #-2504]
	ldr	r3, [fp, #-2528]
	str	r3, [fp, #-2524]
	ldr	r3, [fp, #-2504]
	str	r3, [fp, #-2528]
.L71:
	mov	r3, #0
	str	r3, [fp, #-2512]
	b	.L72
.L73:
	ldr	r3, [fp, #-2512]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-2492]
	ldr	r3, [fp, #-2512]
	add	r3, r3, #1
	str	r3, [fp, #-2512]
.L72:
	ldr	r3, [fp, #-2512]
	cmp	r3, #9
	ble	.L73
	ldr	r3, [fp, #-2524]
	str	r3, [fp, #-2492]
	mov	r3, #0
	str	r3, [fp, #-2512]
	b	.L74
.L79:
	ldr	r3, [fp, #-2528]
	ldr	r2, [fp, #-2512]
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-2500]
	ldr	r3, [fp, #-2500]
	cmp	r3, #0
	beq	.L75
	ldr	r3, [fp, #-2500]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-2492]
	cmp	r3, #0
	bne	.L76
	ldr	r2, [fp, #-2500]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, .L86+8
	add	r3, r3, r2
	ldr	r1, .L86+4
	mov	r0, r3
	bl	set_value
	ldr	r2, [fp, #-2500]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, .L86+8
	add	r1, r3, r2
	mov	r3, #0
	ldr	r2, [fp, #-2500]
	ldr	r0, [fp, #-2524]
	bl	mul_scale
	ldr	r2, [fp, #-2500]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, .L86+8
	add	r2, r3, r2
	ldr	r3, [fp, #-2500]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-2492]
.L76:
	mov	r3, #0
	str	r3, [fp, #-2508]
	b	.L77
.L78:
	ldr	r2, [fp, #-2508]
	ldr	r3, [fp, #-2512]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-2452]
	ldr	r3, [fp, #-2500]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-2492]
	ldr	r2, [fp, #-2508]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r0, [fp, #-2508]
	ldr	r3, [fp, #-2512]
	add	r3, r0, r3
	add	r2, r1, r2
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-2452]
	ldr	r3, [fp, #-2508]
	add	r3, r3, #1
	str	r3, [fp, #-2508]
.L77:
	ldr	r3, [fp, #-2524]
	ldr	r3, [r3, #2444]
	ldr	r2, [fp, #-2508]
	cmp	r2, r3
	blt	.L78
.L75:
	ldr	r3, [fp, #-2512]
	add	r3, r3, #1
	str	r3, [fp, #-2512]
.L74:
	ldr	r3, [fp, #-2528]
	ldr	r3, [r3, #2444]
	ldr	r2, [fp, #-2512]
	cmp	r2, r3
	blt	.L79
	ldr	r3, [fp, #-2524]
	ldr	r2, [r3, #2444]
	ldr	r3, [fp, #-2528]
	ldr	r3, [r3, #2444]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-2512]
	b	.L80
.L81:
	ldr	r3, [fp, #-2512]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-2452]
	ldr	r3, [fp, #-2512]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-2452]
	ldr	r2, .L86+12
	smull	r0, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r2, r2, r3
	ldr	r3, [fp, #-2512]
	add	r3, r3, #1
	add	r2, r1, r2
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-2452]
	ldr	r3, [fp, #-2512]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-2452]
	ldr	r3, .L86+12
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	ldr	r3, [fp, #-2512]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-2452]
	ldr	r3, [fp, #-2512]
	add	r3, r3, #1
	str	r3, [fp, #-2512]
.L80:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-2512]
	cmp	r2, r3
	blt	.L81
	ldr	r3, [fp, #-2512]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-2452]
	cmp	r3, #0
	beq	.L82
	ldr	r3, [fp, #-2512]
	add	r3, r3, #1
	b	.L83
.L82:
	ldr	r3, [fp, #-2512]
.L83:
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-2520]
	mov	r0, r3
	sub	r3, fp, #2448
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #2448
	mov	r1, r3
	bl	memcpy
.L65:
	ldr	r3, .L86
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L85
	bl	__stack_chk_fail
.L85:
	ldr	r0, [fp, #-2520]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L87:
	.align	2
.L86:
	.word	.LC4
	.word	.LC1
	.word	multi
	.word	1717986919
	.size	mul, .-mul
	.section	.rodata
	.align	2
.LC5:
	.ascii	"0\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	div
	.syntax unified
	.arm
	.fpu softvfp
	.type	div, %function
div:
	@ args = 0, pretend = 0, frame = 9824
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #9792
	sub	sp, sp, #36
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-3268]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-3272]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r2, [r3, #-3276]
	ldr	r3, .L106
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3272]
	ldr	r3, [r3, #2444]
	cmp	r3, #1
	bne	.L89
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3272]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L89
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-3268]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3272]
	mov	r0, r2
	mov	r1, r3
	mov	r3, #2448
	mov	r2, r3
	bl	memcpy
	b	.L88
.L89:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3276]
	ldr	r3, [r3, #2444]
	cmp	r3, #1
	bne	.L91
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3276]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L91
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-3268]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3272]
	mov	r0, r2
	mov	r1, r3
	mov	r3, #2448
	mov	r2, r3
	bl	memcpy
	b	.L88
.L91:
	sub	r3, fp, #7296
	sub	r3, r3, #12
	sub	r3, r3, #52
	ldr	r1, .L106+4
	mov	r0, r3
	bl	set_value
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r2, #-3276]
	ldr	r0, [r3, #-3272]
	bl	compare
	str	r0, [r4, #-3260]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3260]
	cmp	r3, #0
	bne	.L92
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-808]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3252]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-3268]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r2
	sub	r3, r3, #3248
	sub	r3, r3, #4
	mov	r2, #2448
	mov	r1, r3
	bl	memcpy
	b	.L88
.L92:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3260]
	cmp	r3, #0
	bge	.L93
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-808]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-3268]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r2
	sub	r3, r3, #3248
	sub	r3, r3, #4
	mov	r2, #2448
	mov	r1, r3
	bl	memcpy
	b	.L88
.L93:
	sub	r3, fp, #4864
	sub	r3, r3, #12
	sub	r3, r3, #36
	ldr	r1, .L106+8
	mov	r0, r3
	bl	set_value
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3272]
	ldr	r3, [r3, #2444]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	sub	r3, r3, #1
	str	r3, [r2, #-3260]
	b	.L94
.L100:
	sub	r3, fp, #4864
	sub	r3, r3, #12
	sub	r3, r3, #36
	mov	r0, r3
	bl	mul_10
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3272]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-3260]
	ldr	r3, [r3, r2, lsl #2]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-804]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #1640]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3276]
	ldr	r3, [r3, #2444]
	cmp	r2, r3
	blt	.L105
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #9
	str	r3, [r2, #-3256]
	b	.L97
.L99:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r1, fp, #2448
	sub	r1, r1, #12
	sub	r1, r1, #4
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #1
	ldr	r2, [r2, #-3256]
	ldr	r0, [r0, #-3276]
	bl	mul_scale
	sub	r2, fp, #2448
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #4864
	sub	r3, r3, #12
	sub	r3, r3, #36
	mov	r1, r2
	mov	r0, r3
	bl	compare
	mov	r3, r0
	cmp	r3, #0
	blt	.L98
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #9792
	sub	r3, r3, #12
	sub	r3, r3, #32
	sub	r2, fp, #2448
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r1, fp, #4864
	sub	r1, r1, #12
	sub	r1, r1, #36
	mov	r0, r3
	bl	sub
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, r4, #804
	sub	r1, r2, #1632
	mov	r2, #2448
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3260]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-3256]
	str	r2, [r3, #-3252]
	b	.L96
.L98:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3256]
	sub	r3, r3, #1
	str	r3, [r2, #-3256]
.L97:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3256]
	cmp	r3, #0
	bgt	.L99
	b	.L96
.L105:
	nop
.L96:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3260]
	sub	r3, r3, #1
	str	r3, [r2, #-3260]
.L94:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3260]
	cmp	r3, #0
	bge	.L100
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3272]
	ldr	r3, [r3, #2444]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	sub	r3, r3, #1
	str	r3, [r2, #-3260]
	b	.L101
.L102:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3260]
	sub	r3, r3, #1
	str	r3, [r2, #-3260]
.L101:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3260]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-3252]
	cmp	r3, #0
	beq	.L102
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3260]
	add	r3, r3, #1
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-808]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-3268]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r2
	sub	r3, r3, #3248
	sub	r3, r3, #4
	mov	r2, #2448
	mov	r1, r3
	bl	memcpy
.L88:
	ldr	r3, .L106
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L104
	bl	__stack_chk_fail
.L104:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-3268]
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L107:
	.align	2
.L106:
	.word	.LC6
	.word	.LC1
	.word	.LC5
	.size	div, .-div
	.section	.rodata
	.align	2
.LC7:
	.ascii	"1\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 7968
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #10368
	sub	sp, sp, #36
	ldr	r3, .L120
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	b	.L109
.L117:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1420]
	cmp	r3, #1
	bne	.L110
	ldr	r0, .L120+4
	bl	puts
	b	.L109
.L110:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1420]
	add	r3, r3, #1
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-1420]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1420]
	cmp	r3, #9
	bgt	.L111
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1420]
	and	r3, r3, #255
	add	r3, r3, #48
	and	r3, r3, #255
	strb	r3, [fp, #-628]
	mov	r3, #0
	strb	r3, [fp, #-627]
	b	.L112
.L111:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1420]
	cmp	r3, #99
	bgt	.L113
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1420]
	ldr	r2, .L120+8
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	and	r3, r3, #255
	add	r3, r3, #48
	and	r3, r3, #255
	strb	r3, [fp, #-628]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-1420]
	ldr	r3, .L120+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	and	r3, r2, #255
	add	r3, r3, #48
	and	r3, r3, #255
	strb	r3, [fp, #-627]
	mov	r3, #0
	strb	r3, [fp, #-626]
	b	.L112
.L113:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1420]
	cmp	r3, #1000
	bge	.L114
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1420]
	ldr	r2, .L120+12
	smull	r1, r2, r3, r2
	asr	r2, r2, #5
	asr	r3, r3, #31
	sub	r3, r2, r3
	and	r3, r3, #255
	add	r3, r3, #48
	and	r3, r3, #255
	strb	r3, [fp, #-628]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-1420]
	ldr	r3, .L120+12
	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	r3, .L120+8
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r3, r1, r3
	and	r3, r3, #255
	add	r3, r3, #48
	and	r3, r3, #255
	strb	r3, [fp, #-627]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-1420]
	ldr	r3, .L120+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	and	r3, r2, #255
	add	r3, r3, #48
	and	r3, r3, #255
	strb	r3, [fp, #-626]
	mov	r3, #0
	strb	r3, [fp, #-625]
	b	.L112
.L114:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1420]
	ldr	r2, .L120+16
	smull	r1, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	and	r3, r3, #255
	add	r3, r3, #48
	and	r3, r3, #255
	strb	r3, [fp, #-628]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-1420]
	ldr	r3, .L120+16
	smull	r2, r3, r1, r3
	asr	r2, r3, #6
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	ldr	r3, .L120+12
	smull	r1, r3, r2, r3
	asr	r1, r3, #5
	asr	r3, r2, #31
	sub	r3, r1, r3
	and	r3, r3, #255
	add	r3, r3, #48
	and	r3, r3, #255
	strb	r3, [fp, #-627]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-1420]
	ldr	r3, .L120+12
	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	r3, .L120+8
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r3, r1, r3
	and	r3, r3, #255
	add	r3, r3, #48
	and	r3, r3, #255
	strb	r3, [fp, #-626]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-1420]
	ldr	r3, .L120+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	and	r3, r2, #255
	add	r3, r3, #48
	and	r3, r3, #255
	strb	r3, [fp, #-625]
	mov	r3, #0
	strb	r3, [fp, #-624]
.L112:
	sub	r2, fp, #628
	sub	r3, fp, #5504
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r1, r2
	mov	r0, r3
	bl	set_value
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1420]
	sub	r3, r3, #3
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-1420]
	mov	r3, #50
	strb	r3, [fp, #-628]
	mov	r3, #0
	strb	r3, [fp, #-627]
	sub	r2, fp, #628
	sub	r3, fp, #3056
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r1, r2
	mov	r0, r3
	bl	set_value
	b	.L115
.L116:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #7936
	sub	r3, r3, #12
	sub	r3, r3, #32
	sub	r2, fp, #3056
	sub	r2, r2, #12
	sub	r2, r2, #8
	sub	r1, fp, #5504
	sub	r1, r1, #12
	sub	r1, r1, #8
	mov	r0, r3
	bl	mul
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, r4, #1408
	sub	r3, r3, #8
	sub	r1, r2, #3872
	mov	r2, #2448
	mov	r0, r3
	bl	memcpy
.L115:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1420]
	sub	r2, r3, #1
	sub	r1, fp, #4096
	sub	r1, r1, #12
	str	r2, [r1, #-1420]
	cmp	r3, #0
	bne	.L116
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	mov	r0, sp
	sub	r3, r4, #1392
	sub	r3, r3, #8
	mov	r2, #2432
	mov	r1, r3
	bl	memcpy
	sub	r3, r4, #1408
	sub	r3, r3, #8
	ldm	r3, {r0, r1, r2, r3}
	bl	print_value
.L109:
	sub	r3, fp, #5504
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L120+20
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L117
	mov	r3, #0
	ldr	r2, .L120
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L119
	bl	__stack_chk_fail
.L119:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L121:
	.align	2
.L120:
	.word	.LC8
	.word	.LC7
	.word	1717986919
	.word	1374389535
	.word	274877907
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
