	.file	"150716.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	","
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	lea	r11, -20480[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 552
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -5024[rbp]
	mov	esi, 5000
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -21024[rbp]
	mov	edx, 16000
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -21036[rbp], 0
	lea	rax, -5024[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -21032[rbp], rax
	jmp	.L2
.L3:
	mov	ebx, DWORD PTR -21036[rbp]
	lea	eax, 1[rbx]
	mov	DWORD PTR -21036[rbp], eax
	mov	rax, QWORD PTR -21032[rbp]
	mov	rdi, rax
	call	atoll@PLT
	movsx	rdx, ebx
	mov	QWORD PTR -21024[rbp+rdx*8], rax
	lea	rsi, .LC0[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -21032[rbp], rax
.L2:
	cmp	QWORD PTR -21032[rbp], 0
	jne	.L3
	lea	rax, -21024[rbp]
	mov	esi, 2000
	mov	rdi, rax
	call	int_code
	mov	eax, 0
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC1:
	.string	"%lld"
.LC2:
	.string	"%lld\n"
	.text
	.globl	int_code
	.type	int_code, @function
int_code:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -44[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	nop
	jmp	.L13
.L28:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	movabs	rdx, -6640827866535438581
	mov	rax, rcx
	imul	rdx
	lea	rax, [rdx+rcx]
	sar	rax, 6
	mov	rdx, rcx
	sar	rdx, 63
	sub	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	sub	rcx, rax
	mov	rdx, rcx
	mov	QWORD PTR -8[rbp], rdx
	cmp	QWORD PTR -8[rbp], 99
	je	.L29
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 1
	cdqe
	cmp	QWORD PTR -64[rbp], rax
	jbe	.L10
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	movabs	rdx, -6640827866535438581
	mov	rax, rcx
	imul	rdx
	lea	rax, [rdx+rcx]
	sar	rax, 6
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	rdi, rax
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	call	mode
	mov	QWORD PTR -32[rbp], rax
.L10:
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 2
	cdqe
	cmp	QWORD PTR -64[rbp], rax
	jbe	.L11
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	add	rax, 2
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	movabs	rdx, 2361183241434822607
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 7
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	rdi, rax
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	call	mode
	mov	QWORD PTR -24[rbp], rax
.L11:
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 3
	cdqe
	cmp	QWORD PTR -64[rbp], rax
	jbe	.L12
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	add	rax, 3
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	movabs	rdx, 3777893186295716171
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 11
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	rdi, rax
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	call	mode
	mov	QWORD PTR -16[rbp], rax
.L12:
	cmp	QWORD PTR -8[rbp], 9
	ja	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L15[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L15[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L15:
	.long	.L13-.L15
	.long	.L23-.L15
	.long	.L22-.L15
	.long	.L21-.L15
	.long	.L20-.L15
	.long	.L19-.L15
	.long	.L18-.L15
	.long	.L17-.L15
	.long	.L16-.L15
	.long	.L14-.L15
	.text
.L23:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	add	DWORD PTR -44[rbp], 4
	jmp	.L13
.L22:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	imul	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	add	DWORD PTR -44[rbp], 4
	jmp	.L13
.L21:
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -44[rbp], 2
	jmp	.L13
.L20:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -44[rbp], 2
	jmp	.L13
.L19:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L24
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR -44[rbp], eax
	jmp	.L13
.L24:
	add	DWORD PTR -44[rbp], 3
	jmp	.L13
.L18:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L26
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR -44[rbp], eax
	jmp	.L13
.L26:
	add	DWORD PTR -44[rbp], 3
	jmp	.L13
.L17:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	setl	al
	movzx	edx, al
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	add	DWORD PTR -44[rbp], 4
	jmp	.L13
.L16:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	sete	al
	movzx	edx, al
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	add	DWORD PTR -44[rbp], 4
	jmp	.L13
.L14:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	add	QWORD PTR -40[rbp], rax
	add	DWORD PTR -44[rbp], 2
	nop
.L13:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	cmp	QWORD PTR -64[rbp], rax
	ja	.L28
	jmp	.L30
.L29:
	nop
.L30:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	int_code, .-int_code
	.globl	mode
	.type	mode, @function
mode:
.LFB8:
	.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 -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	QWORD PTR -32[rbp], rcx
	mov	rcx, QWORD PTR -8[rbp]
	movabs	rdx, 7378697629483820647
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 2
	mov	rsi, rcx
	sar	rsi, 63
	sub	rax, rsi
	mov	rdx, rax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	sub	rcx, rax
	mov	rdx, rcx
	test	rdx, rdx
	jne	.L32
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	jmp	.L33
.L32:
	mov	rcx, QWORD PTR -8[rbp]
	movabs	rdx, 7378697629483820647
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 2
	mov	rsi, rcx
	sar	rsi, 63
	sub	rax, rsi
	mov	rdx, rax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	sub	rcx, rax
	mov	rdx, rcx
	cmp	rdx, 1
	jne	.L34
	mov	rax, QWORD PTR -16[rbp]
	jmp	.L33
.L34:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
.L33:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	mode, .-mode
	.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	"150716.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	",\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 21016
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20992
	sub	sp, sp, #28
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L6+4
	ldr	r2, [r3]
	sub	r3, fp, #4992
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r1, .L6+8
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #20480
	sub	r3, r3, #12
	sub	r3, r3, #528
	mov	r2, #16000
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #20480
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-536]
	sub	r3, fp, #20480
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4992
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r1, .L6+12
	mov	r0, r3
	bl	strtok
	str	r0, [r4, #-532]
	b	.L2
.L3:
	sub	r3, fp, #20480
	sub	r3, r3, #12
	ldr	r4, [r3, #-536]
	sub	r3, fp, #20480
	sub	r3, r3, #12
	mov	r2, r3
	add	r3, r4, #1
	str	r3, [r2, #-536]
	sub	r3, fp, #20480
	sub	r3, r3, #12
	ldr	r0, [r3, #-532]
	bl	atoll
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #20480
	sub	r1, r1, #12
	mov	r0, r1
	lsl	r1, r4, #3
	add	r1, r0, r1
	sub	r1, r1, #528
	stm	r1, {r2-r3}
	sub	r3, fp, #20480
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L6+12
	mov	r0, #0
	bl	strtok
	str	r0, [r4, #-532]
.L2:
	sub	r3, fp, #20480
	sub	r3, r3, #12
	ldr	r3, [r3, #-532]
	cmp	r3, #0
	bne	.L3
	sub	r3, fp, #20992
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r1, #2000
	mov	r0, r3
	bl	int_code
	mov	r3, #0
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC1
	.word	stdin
	.word	5000
	.word	.LC0
	.size	main, .-main
	.global	__aeabi_ldivmod
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%lld\000"
	.align	2
.LC3:
	.ascii	"%lld\012\000"
	.text
	.align	2
	.global	int_code
	.syntax unified
	.arm
	.fpu softvfp
	.type	int_code, %function
int_code:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	nop
	b	.L15
.L30:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #100
	mov	r3, #0
	bl	__aeabi_ldivmod
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r3, #0
	cmpeq	r2, #99
	beq	.L31
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-68]
	cmp	r3, r2
	bls	.L12
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #100
	mov	r3, #0
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	ip, r2, r3
	ldr	r3, [fp, #-64]
	str	r3, [sp, #8]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, ip
	bl	mode
	str	r0, [fp, #-56]
.L12:
	ldr	r3, [fp, #-60]
	add	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-68]
	cmp	r3, r2
	bls	.L13
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #1000
	mov	r3, #0
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-60]
	add	r3, r3, #2
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	ip, r2, r3
	ldr	r3, [fp, #-64]
	str	r3, [sp, #8]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, ip
	bl	mode
	str	r0, [fp, #-52]
.L13:
	ldr	r3, [fp, #-60]
	add	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-68]
	cmp	r3, r2
	bls	.L14
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r2, .L33
	mov	r3, #0
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-60]
	add	r3, r3, #3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	ip, r2, r3
	ldr	r3, [fp, #-64]
	str	r3, [sp, #8]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, ip
	bl	mode
	str	r0, [fp, #-48]
.L14:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	subs	r4, r2, #1
	sbc	r5, r3, #0
	cmp	r5, #0
	cmpeq	r4, #8
	bhi	.L15
	cmp	r4, #8
	ldrls	pc, [pc, r4, asl #2]
	b	.L15
.L17:
	.word	.L25
	.word	.L24
	.word	.L23
	.word	.L22
	.word	.L21
	.word	.L20
	.word	.L19
	.word	.L18
	.word	.L16
.L25:
	ldr	r3, [fp, #-56]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-52]
	ldmia	r3, {r2-r3}
	adds	r8, r0, r2
	adc	r9, r1, r3
	ldr	r3, [fp, #-48]
	stm	r3, {r8-r9}
	ldr	r3, [fp, #-60]
	add	r3, r3, #4
	str	r3, [fp, #-60]
	b	.L15
.L24:
	ldr	r3, [fp, #-56]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-52]
	ldmia	r3, {r2-r3}
	mul	lr, r2, r1
	mul	ip, r0, r3
	add	ip, lr, ip
	umull	r6, r7, r0, r2
	add	r3, ip, r7
	mov	r7, r3
	ldr	r3, [fp, #-48]
	stm	r3, {r6-r7}
	ldr	r3, [fp, #-60]
	add	r3, r3, #4
	str	r3, [fp, #-60]
	b	.L15
.L23:
	ldr	r1, [fp, #-56]
	ldr	r0, .L33+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-60]
	add	r3, r3, #2
	str	r3, [fp, #-60]
	b	.L15
.L22:
	ldr	r3, [fp, #-56]
	ldmia	r3, {r2-r3}
	ldr	r0, .L33+8
	bl	printf
	ldr	r3, [fp, #-60]
	add	r3, r3, #2
	str	r3, [fp, #-60]
	b	.L15
.L21:
	ldr	r3, [fp, #-56]
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L26
	ldr	r3, [fp, #-52]
	ldmia	r3, {r2-r3}
	mov	r3, r2
	str	r3, [fp, #-60]
	b	.L15
.L26:
	ldr	r3, [fp, #-60]
	add	r3, r3, #3
	str	r3, [fp, #-60]
	b	.L15
.L20:
	ldr	r3, [fp, #-56]
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L28
	ldr	r3, [fp, #-52]
	ldmia	r3, {r2-r3}
	mov	r3, r2
	str	r3, [fp, #-60]
	b	.L15
.L28:
	ldr	r3, [fp, #-60]
	add	r3, r3, #3
	str	r3, [fp, #-60]
	b	.L15
.L19:
	ldr	r3, [fp, #-56]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-52]
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	movlt	r3, #1
	movge	r3, #0
	and	r3, r3, #255
	and	r2, r3, #255
	mov	r3, #0
	ldr	r1, [fp, #-48]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-60]
	add	r3, r3, #4
	str	r3, [fp, #-60]
	b	.L15
.L18:
	ldr	r3, [fp, #-56]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-52]
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	and	r2, r3, #255
	mov	r3, #0
	ldr	r1, [fp, #-48]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-60]
	add	r3, r3, #4
	str	r3, [fp, #-60]
	b	.L15
.L16:
	ldr	r3, [fp, #-56]
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	adds	ip, r0, r2
	str	ip, [fp, #-76]
	adc	r3, r1, r3
	str	r3, [fp, #-72]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-60]
	add	r3, r3, #2
	str	r3, [fp, #-60]
	nop
.L15:
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	bhi	.L30
	b	.L32
.L31:
	nop
.L32:
	nop
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L34:
	.align	2
.L33:
	.word	10000
	.word	.LC2
	.word	.LC3
	.size	int_code, .-int_code
	.align	2
	.global	mode
	.syntax unified
	.arm
	.fpu softvfp
	.type	mode, %function
mode:
	@ args = 12, 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, #-12]
	str	r1, [fp, #-8]
	str	r2, [fp, #-16]
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	mov	r2, #10
	mov	r3, #0
	bl	__aeabi_ldivmod
	orrs	r3, r2, r3
	bne	.L36
	ldr	r3, [fp, #-16]
	ldmia	r3, {r2-r3}
	mov	r3, r2
	lsl	r3, r3, #3
	ldr	r2, [fp, #12]
	add	r3, r2, r3
	b	.L37
.L36:
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	mov	r2, #10
	mov	r3, #0
	bl	__aeabi_ldivmod
	cmp	r3, #0
	cmpeq	r2, #1
	bne	.L38
	ldr	r3, [fp, #-16]
	b	.L37
.L38:
	ldr	r3, [fp, #-16]
	ldmia	r3, {r2-r3}
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #12]
	add	r3, r2, r3
.L37:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	mode, .-mode
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
