	.file	"141846.c"
	.intel_syntax noprefix
	.text
	.globl	rng
	.type	rng, @function
rng:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR seed.2[rip]
	imul	eax, eax, 16807
	mov	DWORD PTR seed.2[rip], eax
	mov	eax, DWORD PTR seed.2[rip]
	mov	eax, eax
	test	rax, rax
	js	.L2
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L3
.L2:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L3:
	movsd	xmm1, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	rng, .-rng
	.globl	base_to_base
	.type	base_to_base, @function
base_to_base:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 168
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, rsi
	mov	r12, rdi
	mov	rsi, r12
	mov	rdi, r13
	mov	rdi, rax
	mov	QWORD PTR -176[rbp], rsi
	mov	QWORD PTR -168[rbp], rdi
	mov	DWORD PTR -180[rbp], edx
	mov	DWORD PTR -184[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	r12, rax
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -112[rbp], rdx
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	movsx	rdx, eax
	mov	r8, rdx
	mov	r9d, 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L6:
	cmp	rsp, rdx
	je	.L7
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L6
.L7:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L8
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L8:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -104[rbp], rax
	mov	DWORD PTR -124[rbp], 0
	jmp	.L9
.L10:
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, DWORD PTR -124[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	add	DWORD PTR -124[rbp], 1
.L9:
	mov	eax, DWORD PTR -164[rbp]
	cmp	DWORD PTR -124[rbp], eax
	jl	.L10
	mov	eax, DWORD PTR -164[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	QWORD PTR -192[rbp], xmm2
	pxor	xmm3, xmm3
	cvtsi2sd	xmm3, DWORD PTR -184[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	call	log@PLT
	movq	rbx, xmm0
	pxor	xmm4, xmm4
	cvtsi2sd	xmm4, DWORD PTR -180[rbp]
	movq	rax, xmm4
	movq	xmm0, rax
	call	log@PLT
	movq	xmm1, rbx
	divsd	xmm1, xmm0
	movsd	xmm2, QWORD PTR -192[rbp]
	divsd	xmm2, xmm1
	movq	rax, xmm2
	movq	xmm0, rax
	call	ceil@PLT
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -120[rbp], eax
	mov	eax, DWORD PTR -120[rbp]
	mov	rdx, rsp
	mov	rbx, rdx
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -96[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -208[rbp], rdx
	mov	QWORD PTR -200[rbp], 0
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L11:
	cmp	rsp, rdx
	je	.L12
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L11
.L12:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L13
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L13:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -88[rbp], rax
	mov	DWORD PTR -128[rbp], 0
.L21:
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -132[rbp], eax
	mov	DWORD PTR -136[rbp], 0
	jmp	.L14
.L16:
	mov	eax, DWORD PTR -132[rbp]
	cdq
	idiv	DWORD PTR -184[rbp]
	mov	DWORD PTR -116[rbp], eax
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, DWORD PTR -136[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR -116[rbp]
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	eax, DWORD PTR -116[rbp]
	imul	eax, DWORD PTR -184[rbp]
	sub	DWORD PTR -132[rbp], eax
	mov	eax, DWORD PTR -164[rbp]
	sub	eax, 1
	cmp	DWORD PTR -136[rbp], eax
	jge	.L15
	mov	eax, DWORD PTR -132[rbp]
	imul	eax, DWORD PTR -180[rbp]
	mov	DWORD PTR -132[rbp], eax
	mov	eax, DWORD PTR -136[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -104[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	add	DWORD PTR -132[rbp], eax
.L15:
	add	DWORD PTR -136[rbp], 1
.L14:
	mov	eax, DWORD PTR -164[rbp]
	cmp	DWORD PTR -136[rbp], eax
	jl	.L16
	mov	eax, DWORD PTR -128[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -128[rbp], edx
	mov	rdx, QWORD PTR -88[rbp]
	cdqe
	mov	ecx, DWORD PTR -132[rbp]
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	DWORD PTR -140[rbp], 0
	mov	DWORD PTR -144[rbp], 0
	jmp	.L17
.L18:
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, DWORD PTR -144[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	test	eax, eax
	sete	al
	movzx	eax, al
	add	DWORD PTR -140[rbp], eax
	add	DWORD PTR -144[rbp], 1
.L17:
	mov	eax, DWORD PTR -164[rbp]
	cmp	DWORD PTR -144[rbp], eax
	jl	.L18
	mov	eax, DWORD PTR -164[rbp]
	cmp	DWORD PTR -140[rbp], eax
	je	.L27
	jmp	.L21
.L27:
	nop
	mov	eax, DWORD PTR -128[rbp]
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -184[rbp]
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -128[rbp]
	sal	eax, 2
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -80[rbp], rax
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, 1
	mov	DWORD PTR -148[rbp], eax
	jmp	.L22
.L23:
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, 1
	sub	eax, DWORD PTR -148[rbp]
	cdqe
	sal	rax, 2
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -148[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR [rcx], eax
	sub	DWORD PTR -148[rbp], 1
.L22:
	cmp	DWORD PTR -148[rbp], 0
	jns	.L23
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	rsp, rbx
	mov	rsp, r12
	mov	rsi, QWORD PTR -56[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	base_to_base, .-base_to_base
	.section	.rodata
	.align 8
.LC1:
	.string	"Error: Cannot encode bases larger than 64"
	.text
	.globl	encode_number
	.type	encode_number, @function
encode_number:
.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, 32
	mov	rax, rdi
	mov	rcx, rsi
	mov	rdx, rcx
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 64
	jle	.L29
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L30
.L29:
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 16
	jg	.L31
	mov	DWORD PTR -16[rbp], 0
	jmp	.L32
.L33:
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -8[rbp]
	add	rdx, rcx
	cdqe
	lea	rcx, chars_hex.1[rip]
	movzx	eax, BYTE PTR [rax+rcx]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -16[rbp], 1
.L32:
	mov	eax, DWORD PTR -20[rbp]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L33
	jmp	.L34
.L31:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 64
	jg	.L34
	mov	DWORD PTR -12[rbp], 0
	jmp	.L35
.L36:
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -8[rbp]
	add	rdx, rcx
	cdqe
	lea	rcx, chars_base64.0[rip]
	movzx	eax, BYTE PTR [rax+rcx]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -12[rbp], 1
.L35:
	mov	eax, DWORD PTR -20[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L36
.L34:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	encode_number, .-encode_number
	.globl	compare_numbers
	.type	compare_numbers, @function
compare_numbers:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, rsi
	mov	r8, rdi
	mov	rsi, r8
	mov	rdi, r9
	mov	rdi, rax
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -48[rbp], rdx
	mov	QWORD PTR -40[rbp], rcx
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cmp	edx, eax
	jne	.L38
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -36[rbp]
	cmp	edx, eax
	je	.L39
.L38:
	mov	eax, 0
	jmp	.L40
.L39:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L41
.L43:
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	je	.L42
	mov	eax, 0
	jmp	.L40
.L42:
	add	DWORD PTR -4[rbp], 1
.L41:
	mov	eax, DWORD PTR -20[rbp]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L43
	mov	eax, 1
.L40:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	compare_numbers, .-compare_numbers
	.section	.rodata
	.align 8
.LC2:
	.string	"(%s)_%d = (%s)_%d \n               = (%s)_%d \n               = (%s)_%d \n               = (%s)_%d\n\n"
	.align 8
.LC3:
	.string	"(%s)_%d = (%s)_%d \n                                 = (%s)_%d \n                                 = (%s)_%d \n                                 = (%s)_%d\n\n"
.LC5:
	.string	"%s %s %s %s\n"
.LC6:
	.string	"OK"
.LC7:
	.string	"FAIL"
.LC8:
	.string	"Test: %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 216
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -116[rbp], 9
	mov	DWORD PTR -120[rbp], 10
	mov	eax, DWORD PTR -116[rbp]
	sal	eax, 2
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -128[rbp], rax
	mov	DWORD PTR -224[rbp], 0
	jmp	.L45
.L46:
	mov	edx, DWORD PTR -224[rbp]
	movsx	rax, edx
	imul	rax, rax, 954437177
	shr	rax, 32
	sar	eax
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	ecx, eax
	sal	ecx, 3
	add	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	rcx, QWORD PTR -128[rbp]
	mov	edx, DWORD PTR -224[rbp]
	movsx	rdx, edx
	sal	rdx, 2
	add	rdx, rcx
	add	eax, 1
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -224[rbp], 1
.L45:
	mov	eax, DWORD PTR -116[rbp]
	cmp	DWORD PTR -224[rbp], eax
	jl	.L46
	mov	rsi, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	ecx, 2
	mov	edx, 10
	mov	rdi, rsi
	mov	rsi, rax
	call	base_to_base
	mov	QWORD PTR -112[rbp], rax
	mov	QWORD PTR -104[rbp], rdx
	mov	rsi, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	ecx, 16
	mov	edx, 10
	mov	rdi, rsi
	mov	rsi, rax
	call	base_to_base
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -88[rbp], rdx
	mov	rsi, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	ecx, 8
	mov	edx, 10
	mov	rdi, rsi
	mov	rsi, rax
	call	base_to_base
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	mov	rsi, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	ecx, 64
	mov	edx, 10
	mov	rdi, rsi
	mov	rsi, rax
	call	base_to_base
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	eax, DWORD PTR -88[rbp]
	mov	DWORD PTR -228[rbp], eax
	mov	rdx, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rdx
	mov	rsi, rax
	call	encode_number
	mov	r13, rax
	mov	r15d, DWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rdx
	mov	rsi, rax
	call	encode_number
	mov	r12, rax
	mov	r14d, DWORD PTR -72[rbp]
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rdx
	mov	rsi, rax
	call	encode_number
	mov	QWORD PTR -240[rbp], rax
	mov	ebx, DWORD PTR -104[rbp]
	mov	DWORD PTR -232[rbp], ebx
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rdx
	mov	rsi, rax
	call	encode_number
	mov	QWORD PTR -248[rbp], rax
	mov	ebx, DWORD PTR -120[rbp]
	mov	rdx, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rdx
	mov	rsi, rax
	call	encode_number
	sub	rsp, 8
	mov	edi, DWORD PTR -228[rbp]
	push	rdi
	push	r13
	push	r15
	push	r12
	push	r14
	mov	r9, QWORD PTR -240[rbp]
	mov	r8d, DWORD PTR -232[rbp]
	mov	rcx, QWORD PTR -248[rbp]
	mov	edx, ebx
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 48
	mov	DWORD PTR -116[rbp], 27
	mov	DWORD PTR -120[rbp], 10
	mov	eax, DWORD PTR -116[rbp]
	sal	eax, 2
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -128[rbp], rax
	mov	DWORD PTR -220[rbp], 0
	jmp	.L47
.L48:
	mov	edx, DWORD PTR -220[rbp]
	movsx	rax, edx
	imul	rax, rax, 954437177
	shr	rax, 32
	sar	eax
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	ecx, eax
	sal	ecx, 3
	add	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	rcx, QWORD PTR -128[rbp]
	mov	edx, DWORD PTR -220[rbp]
	movsx	rdx, edx
	sal	rdx, 2
	add	rdx, rcx
	add	eax, 1
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -220[rbp], 1
.L47:
	mov	eax, DWORD PTR -116[rbp]
	cmp	DWORD PTR -220[rbp], eax
	jl	.L48
	mov	rsi, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	ecx, 2
	mov	edx, 10
	mov	rdi, rsi
	mov	rsi, rax
	call	base_to_base
	mov	QWORD PTR -112[rbp], rax
	mov	QWORD PTR -104[rbp], rdx
	mov	rsi, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	ecx, 16
	mov	edx, 10
	mov	rdi, rsi
	mov	rsi, rax
	call	base_to_base
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -88[rbp], rdx
	mov	rsi, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	ecx, 8
	mov	edx, 10
	mov	rdi, rsi
	mov	rsi, rax
	call	base_to_base
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	mov	rsi, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	ecx, 64
	mov	edx, 10
	mov	rdi, rsi
	mov	rsi, rax
	call	base_to_base
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	eax, DWORD PTR -88[rbp]
	mov	DWORD PTR -228[rbp], eax
	mov	rdx, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rdx
	mov	rsi, rax
	call	encode_number
	mov	r13, rax
	mov	r15d, DWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rdx
	mov	rsi, rax
	call	encode_number
	mov	r12, rax
	mov	r14d, DWORD PTR -72[rbp]
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rdx
	mov	rsi, rax
	call	encode_number
	mov	QWORD PTR -240[rbp], rax
	mov	ebx, DWORD PTR -104[rbp]
	mov	DWORD PTR -232[rbp], ebx
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rdx
	mov	rsi, rax
	call	encode_number
	mov	QWORD PTR -248[rbp], rax
	mov	ebx, DWORD PTR -120[rbp]
	mov	rdx, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rdx
	mov	rsi, rax
	call	encode_number
	sub	rsp, 8
	mov	edi, DWORD PTR -228[rbp]
	push	rdi
	push	r13
	push	r15
	push	r12
	push	r14
	mov	r9, QWORD PTR -240[rbp]
	mov	r8d, DWORD PTR -232[rbp]
	mov	rcx, QWORD PTR -248[rbp]
	mov	edx, ebx
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 48
	mov	DWORD PTR -216[rbp], 1
	mov	QWORD PTR -200[rbp], 1
	jmp	.L49
.L54:
	mov	DWORD PTR -184[rbp], 10
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, QWORD PTR -200[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	call	log10@PLT
	cvttsd2si	eax, xmm0
	add	eax, 1
	mov	DWORD PTR -180[rbp], eax
	mov	eax, DWORD PTR -180[rbp]
	sal	eax, 2
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -192[rbp], rax
	mov	rax, QWORD PTR -200[rbp]
	mov	DWORD PTR -212[rbp], eax
	mov	DWORD PTR -208[rbp], 0
	jmp	.L50
.L51:
	mov	eax, DWORD PTR -180[rbp]
	sub	eax, 1
	sub	eax, DWORD PTR -208[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	rax, QWORD PTR .LC4[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -204[rbp], eax
	mov	rdx, QWORD PTR -192[rbp]
	mov	eax, DWORD PTR -208[rbp]
	cdqe
	sal	rax, 2
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -212[rbp]
	cdq
	idiv	DWORD PTR -204[rbp]
	mov	DWORD PTR [rcx], eax
	mov	eax, DWORD PTR -212[rbp]
	cdq
	idiv	DWORD PTR -204[rbp]
	mov	DWORD PTR -212[rbp], edx
	add	DWORD PTR -208[rbp], 1
.L50:
	mov	eax, DWORD PTR -180[rbp]
	cmp	DWORD PTR -208[rbp], eax
	jl	.L51
	mov	rsi, QWORD PTR -192[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	ecx, 2
	mov	edx, 10
	mov	rdi, rsi
	mov	rsi, rax
	call	base_to_base
	mov	QWORD PTR -176[rbp], rax
	mov	QWORD PTR -168[rbp], rdx
	mov	rsi, QWORD PTR -192[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	ecx, 16
	mov	edx, 10
	mov	rdi, rsi
	mov	rsi, rax
	call	base_to_base
	mov	QWORD PTR -160[rbp], rax
	mov	QWORD PTR -152[rbp], rdx
	mov	rsi, QWORD PTR -192[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	ecx, 8
	mov	edx, 10
	mov	rdi, rsi
	mov	rsi, rax
	call	base_to_base
	mov	QWORD PTR -144[rbp], rax
	mov	QWORD PTR -136[rbp], rdx
	mov	rsi, QWORD PTR -192[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	ecx, 64
	mov	edx, 10
	mov	rdi, rsi
	mov	rsi, rax
	call	base_to_base
	mov	QWORD PTR -128[rbp], rax
	mov	QWORD PTR -120[rbp], rdx
	mov	rsi, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	ecx, 10
	mov	edx, 2
	mov	rdi, rsi
	mov	rsi, rax
	call	base_to_base
	mov	QWORD PTR -112[rbp], rax
	mov	QWORD PTR -104[rbp], rdx
	mov	rsi, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR -152[rbp]
	mov	ecx, 10
	mov	edx, 16
	mov	rdi, rsi
	mov	rsi, rax
	call	base_to_base
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -88[rbp], rdx
	mov	rsi, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	ecx, 10
	mov	edx, 8
	mov	rdi, rsi
	mov	rsi, rax
	call	base_to_base
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	mov	rsi, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	ecx, 10
	mov	edx, 64
	mov	rdi, rsi
	mov	rsi, rax
	call	base_to_base
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	rdi, QWORD PTR -192[rbp]
	mov	rsi, QWORD PTR -184[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	call	compare_numbers
	test	eax, eax
	je	.L52
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	mov	rdi, QWORD PTR -192[rbp]
	mov	rsi, QWORD PTR -184[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	call	compare_numbers
	test	eax, eax
	je	.L52
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	rdi, QWORD PTR -192[rbp]
	mov	rsi, QWORD PTR -184[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	call	compare_numbers
	test	eax, eax
	je	.L52
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rdi, QWORD PTR -192[rbp]
	mov	rsi, QWORD PTR -184[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	call	compare_numbers
	test	eax, eax
	jne	.L53
.L52:
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rdx
	mov	rsi, rax
	call	encode_number
	mov	r13, rax
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rdx
	mov	rsi, rax
	call	encode_number
	mov	r12, rax
	mov	rdx, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rdx
	mov	rsi, rax
	call	encode_number
	mov	rbx, rax
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rdx
	mov	rsi, rax
	call	encode_number
	mov	r8, r13
	mov	rcx, r12
	mov	rdx, rbx
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -216[rbp], 0
.L53:
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -160[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	free@PLT
	add	QWORD PTR -200[rbp], 1
.L49:
	cmp	QWORD PTR -200[rbp], 99999
	jle	.L54
	cmp	DWORD PTR -216[rbp], 0
	je	.L55
	lea	rax, .LC6[rip]
	jmp	.L56
.L55:
	lea	rax, .LC7[rip]
.L56:
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.data
	.align 4
	.type	seed.2, @object
	.size	seed.2, 4
seed.2:
	.long	2067261
	.align 16
	.type	chars_hex.1, @object
	.size	chars_hex.1, 17
chars_hex.1:
	.string	"0123456789ABCDEF"
	.align 32
	.type	chars_base64.0, @object
	.size	chars_base64.0, 65
chars_base64.0:
	.string	"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
	.section	.rodata
	.align 8
.LC0:
	.long	-2097152
	.long	1106247679
	.align 8
.LC4:
	.long	0
	.long	1076101120
	.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	"141846.c"
	.text
	.global	__aeabi_ui2d
	.global	__aeabi_ddiv
	.align	2
	.global	rng
	.syntax unified
	.arm
	.fpu softvfp
	.type	rng, %function
rng:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L3
	ldr	r1, [r3]
	mov	r2, r1
	lsl	r2, r2, #2
	add	r2, r2, r1
	lsl	r3, r2, #4
	sub	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r1
	lsl	r2, r3, #3
	sub	r3, r2, r3
	ldr	r2, .L3
	str	r3, [r2]
	ldr	r3, .L3
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_ui2d
	ldr	r2, .L3+4
	ldr	r3, .L3+8
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	seed.6155
	.word	-2097152
	.word	1106247679
	.size	rng, .-rng
	.global	__aeabi_i2d
	.global	__aeabi_d2iz
	.global	__aeabi_idiv
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	base_to_base
	.syntax unified
	.arm
	.fpu softvfp
	.type	base_to_base, %function
base_to_base:
	@ args = 8, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #92
	str	r0, [fp, #-104]
	sub	r0, fp, #116
	stm	r0, {r1, r2, r3}
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	ldr	ip, [fp, #-108]
	sub	r3, ip, #1
	str	r3, [fp, #-68]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L6
.L7:
	ldr	r2, [fp, #-116]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-72]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L6:
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	blt	.L7
	ldr	r3, [fp, #-108]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #8]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	log
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #4]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	log
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	ceil
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-60]
	ldr	ip, [fp, #-60]
	mov	r3, sp
	mov	r4, r3
	sub	r3, ip, #1
	str	r3, [fp, #-56]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-76]
.L15:
	ldr	r3, [fp, #-64]
	ldr	r3, [r3]
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L8
.L10:
	ldr	r1, [fp, #8]
	ldr	r0, [fp, #-80]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-84]
	ldr	r1, [fp, #-48]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #8]
	mul	r3, r2, r3
	ldr	r2, [fp, #-80]
	sub	r3, r2, r3
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-108]
	sub	r3, r3, #1
	ldr	r2, [fp, #-84]
	cmp	r2, r3
	bge	.L9
	ldr	r3, [fp, #-80]
	ldr	r2, [fp, #4]
	mul	r3, r2, r3
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-84]
	add	r2, r3, #1
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	str	r3, [fp, #-80]
.L9:
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L8:
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #-84]
	cmp	r2, r3
	blt	.L10
	ldr	r3, [fp, #-76]
	add	r2, r3, #1
	str	r2, [fp, #-76]
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-80]
	str	r1, [r2, r3, lsl #2]
	mov	r3, #0
	str	r3, [fp, #-88]
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L11
.L12:
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-92]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L11:
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #-92]
	cmp	r2, r3
	blt	.L12
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #-88]
	cmp	r2, r3
	beq	.L21
	b	.L15
.L21:
	nop
	ldr	r3, [fp, #-76]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-76]
	sub	r3, r3, #1
	str	r3, [fp, #-96]
	b	.L16
.L17:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-76]
	sub	r1, r3, #1
	ldr	r3, [fp, #-96]
	sub	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-96]
	ldr	r2, [r2, r1, lsl #2]
	str	r2, [r3]
	ldr	r3, [fp, #-96]
	sub	r3, r3, #1
	str	r3, [fp, #-96]
.L16:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bge	.L17
	ldr	r3, [fp, #-104]
	mov	ip, r3
	sub	r3, fp, #44
	ldm	r3, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	mov	sp, r4
	mov	sp, r8
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	ldr	r0, [fp, #-104]
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC0
	.size	base_to_base, .-base_to_base
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Error: Cannot encode bases larger than 64\000"
	.text
	.align	2
	.global	encode_number
	.syntax unified
	.arm
	.fpu softvfp
	.type	encode_number, %function
encode_number:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	sub	r3, fp, #32
	stm	r3, {r0, r1, r2}
	ldr	r3, [fp, #-28]
	cmp	r3, #64
	ble	.L25
	ldr	r0, .L33
	bl	puts
	mov	r3, #0
	b	.L26
.L25:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-28]
	cmp	r3, #16
	bgt	.L27
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L28
.L29:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-8]
	add	r3, r1, r3
	ldr	r1, .L33+4
	ldrb	r2, [r1, r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L28:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L29
	b	.L30
.L27:
	ldr	r3, [fp, #-28]
	cmp	r3, #64
	bgt	.L30
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L31
.L32:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-8]
	add	r3, r1, r3
	ldr	r1, .L33+8
	ldrb	r2, [r1, r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L31:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L32
.L30:
	ldr	r3, [fp, #-24]
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC1
	.word	chars_hex.6195
	.word	chars_base64.6196
	.size	encode_number, .-encode_number
	.align	2
	.global	compare_numbers
	.syntax unified
	.arm
	.fpu softvfp
	.type	compare_numbers, %function
compare_numbers:
	@ args = 16, pretend = 8, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	sub	sp, sp, #8
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	sub	ip, fp, #24
	stm	ip, {r0, r1, r2}
	str	r3, [fp, #8]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	bne	.L36
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #16]
	cmp	r2, r3
	beq	.L37
.L36:
	mov	r3, #0
	b	.L38
.L37:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L39
.L41:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r1, [fp, #8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L40
	mov	r3, #0
	b	.L38
.L40:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L39:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L41
	mov	r3, #1
.L38:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	add	sp, sp, #8
	bx	lr
	.size	compare_numbers, .-compare_numbers
	.section	.rodata
	.align	2
.LC2:
	.ascii	"(%s)_%d = (%s)_%d \012               = (%s)_%d \012"
	.ascii	"               = (%s)_%d \012               = (%s)_"
	.ascii	"%d\012\012\000"
	.align	2
.LC3:
	.ascii	"(%s)_%d = (%s)_%d \012                             "
	.ascii	"    = (%s)_%d \012                                 "
	.ascii	"= (%s)_%d \012                                 = (%"
	.ascii	"s)_%d\012\012\000"
	.global	__aeabi_idivmod
	.align	2
.LC4:
	.ascii	"%s %s %s %s\012\000"
	.align	2
.LC5:
	.ascii	"OK\000"
	.align	2
.LC6:
	.ascii	"FAIL\000"
	.align	2
.LC7:
	.ascii	"Test: %s\012\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 = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #188
	ldr	r3, .L57
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	mov	r3, #9
	str	r3, [fp, #-92]
	mov	r3, #10
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-100]
	mov	r3, #0
	str	r3, [fp, #-176]
	b	.L43
.L44:
	ldr	r1, [fp, #-176]
	ldr	r3, .L57+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	sub	r2, r1, r3
	ldr	r1, [fp, #-100]
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-176]
	add	r3, r3, #1
	str	r3, [fp, #-176]
.L43:
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-176]
	cmp	r2, r3
	blt	.L44
	sub	r0, fp, #88
	mov	r3, #2
	str	r3, [sp, #4]
	mov	r3, #10
	str	r3, [sp]
	sub	r3, fp, #100
	ldm	r3, {r1, r2, r3}
	bl	base_to_base
	sub	r0, fp, #76
	mov	r3, #16
	str	r3, [sp, #4]
	mov	r3, #10
	str	r3, [sp]
	sub	r3, fp, #100
	ldm	r3, {r1, r2, r3}
	bl	base_to_base
	sub	r0, fp, #64
	mov	r3, #8
	str	r3, [sp, #4]
	mov	r3, #10
	str	r3, [sp]
	sub	r3, fp, #100
	ldm	r3, {r1, r2, r3}
	bl	base_to_base
	sub	r0, fp, #52
	mov	r3, #64
	str	r3, [sp, #4]
	mov	r3, #10
	str	r3, [sp]
	sub	r3, fp, #100
	ldm	r3, {r1, r2, r3}
	bl	base_to_base
	sub	r3, fp, #100
	ldm	r3, {r0, r1, r2}
	bl	encode_number
	mov	r10, r0
	ldr	r7, [fp, #-96]
	sub	r3, fp, #88
	ldm	r3, {r0, r1, r2}
	bl	encode_number
	str	r0, [fp, #-184]
	ldr	r4, [fp, #-84]
	sub	r3, fp, #64
	ldm	r3, {r0, r1, r2}
	bl	encode_number
	mov	r8, r0
	ldr	r5, [fp, #-60]
	sub	r3, fp, #52
	ldm	r3, {r0, r1, r2}
	bl	encode_number
	mov	r9, r0
	ldr	r6, [fp, #-48]
	sub	r3, fp, #76
	ldm	r3, {r0, r1, r2}
	bl	encode_number
	mov	r2, r0
	ldr	r3, [fp, #-72]
	str	r3, [sp, #24]
	str	r2, [sp, #20]
	str	r6, [sp, #16]
	str	r9, [sp, #12]
	str	r5, [sp, #8]
	str	r8, [sp, #4]
	str	r4, [sp]
	ldr	r3, [fp, #-184]
	mov	r2, r7
	mov	r1, r10
	ldr	r0, .L57+8
	bl	printf
	mov	r3, #27
	str	r3, [fp, #-92]
	mov	r3, #10
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-100]
	mov	r3, #0
	str	r3, [fp, #-172]
	b	.L45
.L46:
	ldr	r1, [fp, #-172]
	ldr	r3, .L57+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	sub	r2, r1, r3
	ldr	r1, [fp, #-100]
	ldr	r3, [fp, #-172]
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-172]
	add	r3, r3, #1
	str	r3, [fp, #-172]
.L45:
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-172]
	cmp	r2, r3
	blt	.L46
	sub	r0, fp, #88
	mov	r3, #2
	str	r3, [sp, #4]
	mov	r3, #10
	str	r3, [sp]
	sub	r3, fp, #100
	ldm	r3, {r1, r2, r3}
	bl	base_to_base
	sub	r0, fp, #76
	mov	r3, #16
	str	r3, [sp, #4]
	mov	r3, #10
	str	r3, [sp]
	sub	r3, fp, #100
	ldm	r3, {r1, r2, r3}
	bl	base_to_base
	sub	r0, fp, #64
	mov	r3, #8
	str	r3, [sp, #4]
	mov	r3, #10
	str	r3, [sp]
	sub	r3, fp, #100
	ldm	r3, {r1, r2, r3}
	bl	base_to_base
	sub	r0, fp, #52
	mov	r3, #64
	str	r3, [sp, #4]
	mov	r3, #10
	str	r3, [sp]
	sub	r3, fp, #100
	ldm	r3, {r1, r2, r3}
	bl	base_to_base
	sub	r3, fp, #100
	ldm	r3, {r0, r1, r2}
	bl	encode_number
	mov	r10, r0
	ldr	r7, [fp, #-96]
	sub	r3, fp, #88
	ldm	r3, {r0, r1, r2}
	bl	encode_number
	str	r0, [fp, #-184]
	ldr	r4, [fp, #-84]
	sub	r3, fp, #64
	ldm	r3, {r0, r1, r2}
	bl	encode_number
	mov	r8, r0
	ldr	r5, [fp, #-60]
	sub	r3, fp, #52
	ldm	r3, {r0, r1, r2}
	bl	encode_number
	mov	r9, r0
	ldr	r6, [fp, #-48]
	sub	r3, fp, #76
	ldm	r3, {r0, r1, r2}
	bl	encode_number
	mov	r2, r0
	ldr	r3, [fp, #-72]
	str	r3, [sp, #24]
	str	r2, [sp, #20]
	str	r6, [sp, #16]
	str	r9, [sp, #12]
	str	r5, [sp, #8]
	str	r8, [sp, #4]
	str	r4, [sp]
	ldr	r3, [fp, #-184]
	mov	r2, r7
	mov	r1, r10
	ldr	r0, .L57+12
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-168]
	mov	r3, #1
	str	r3, [fp, #-164]
	b	.L47
.L52:
	mov	r3, #10
	str	r3, [fp, #-144]
	ldr	r0, [fp, #-164]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	log10
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-148]
	ldr	r3, [fp, #-164]
	str	r3, [fp, #-160]
	mov	r3, #0
	str	r3, [fp, #-156]
	b	.L48
.L49:
	ldr	r3, [fp, #-140]
	sub	r2, r3, #1
	ldr	r3, [fp, #-156]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L57+16
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-152]
	ldr	r2, [fp, #-148]
	ldr	r3, [fp, #-156]
	lsl	r3, r3, #2
	add	r4, r2, r3
	ldr	r1, [fp, #-152]
	ldr	r0, [fp, #-160]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-160]
	ldr	r1, [fp, #-152]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-160]
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	str	r3, [fp, #-156]
.L48:
	ldr	r3, [fp, #-140]
	ldr	r2, [fp, #-156]
	cmp	r2, r3
	blt	.L49
	sub	r0, fp, #136
	mov	r3, #2
	str	r3, [sp, #4]
	mov	r3, #10
	str	r3, [sp]
	sub	r3, fp, #148
	ldm	r3, {r1, r2, r3}
	bl	base_to_base
	sub	r0, fp, #124
	mov	r3, #16
	str	r3, [sp, #4]
	mov	r3, #10
	str	r3, [sp]
	sub	r3, fp, #148
	ldm	r3, {r1, r2, r3}
	bl	base_to_base
	sub	r0, fp, #112
	mov	r3, #8
	str	r3, [sp, #4]
	mov	r3, #10
	str	r3, [sp]
	sub	r3, fp, #148
	ldm	r3, {r1, r2, r3}
	bl	base_to_base
	sub	r0, fp, #100
	mov	r3, #64
	str	r3, [sp, #4]
	mov	r3, #10
	str	r3, [sp]
	sub	r3, fp, #148
	ldm	r3, {r1, r2, r3}
	bl	base_to_base
	sub	r0, fp, #88
	mov	r3, #10
	str	r3, [sp, #4]
	mov	r3, #2
	str	r3, [sp]
	sub	r3, fp, #136
	ldm	r3, {r1, r2, r3}
	bl	base_to_base
	sub	r0, fp, #76
	mov	r3, #10
	str	r3, [sp, #4]
	mov	r3, #16
	str	r3, [sp]
	sub	r3, fp, #124
	ldm	r3, {r1, r2, r3}
	bl	base_to_base
	sub	r0, fp, #64
	mov	r3, #10
	str	r3, [sp, #4]
	mov	r3, #8
	str	r3, [sp]
	sub	r3, fp, #112
	ldm	r3, {r1, r2, r3}
	bl	base_to_base
	sub	r0, fp, #52
	mov	r3, #10
	str	r3, [sp, #4]
	mov	r3, #64
	str	r3, [sp]
	sub	r3, fp, #100
	ldm	r3, {r1, r2, r3}
	bl	base_to_base
	mov	r2, sp
	sub	r3, fp, #84
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r3, [fp, #-88]
	sub	r2, fp, #148
	ldm	r2, {r0, r1, r2}
	bl	compare_numbers
	mov	r3, r0
	cmp	r3, #0
	beq	.L50
	mov	r2, sp
	sub	r3, fp, #72
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r3, [fp, #-76]
	sub	r2, fp, #148
	ldm	r2, {r0, r1, r2}
	bl	compare_numbers
	mov	r3, r0
	cmp	r3, #0
	beq	.L50
	mov	r2, sp
	sub	r3, fp, #60
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r3, [fp, #-64]
	sub	r2, fp, #148
	ldm	r2, {r0, r1, r2}
	bl	compare_numbers
	mov	r3, r0
	cmp	r3, #0
	beq	.L50
	mov	r2, sp
	sub	r3, fp, #48
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r3, [fp, #-52]
	sub	r2, fp, #148
	ldm	r2, {r0, r1, r2}
	bl	compare_numbers
	mov	r3, r0
	cmp	r3, #0
	bne	.L51
.L50:
	sub	r3, fp, #88
	ldm	r3, {r0, r1, r2}
	bl	encode_number
	mov	r4, r0
	sub	r3, fp, #76
	ldm	r3, {r0, r1, r2}
	bl	encode_number
	mov	r5, r0
	sub	r3, fp, #64
	ldm	r3, {r0, r1, r2}
	bl	encode_number
	mov	r6, r0
	sub	r3, fp, #52
	ldm	r3, {r0, r1, r2}
	bl	encode_number
	mov	r3, r0
	str	r3, [sp]
	mov	r3, r6
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L57+20
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-168]
.L51:
	ldr	r3, [fp, #-148]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-136]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-124]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-112]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-100]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-88]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-76]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-64]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
.L47:
	ldr	r3, [fp, #-164]
	ldr	r2, .L57+24
	cmp	r3, r2
	blt	.L52
	ldr	r3, [fp, #-168]
	cmp	r3, #0
	beq	.L53
	ldr	r3, .L57+28
	b	.L54
.L53:
	ldr	r3, .L57+32
.L54:
	mov	r1, r3
	ldr	r0, .L57+36
	bl	printf
	mov	r3, #0
	ldr	r2, .L57
	ldr	r1, [r2]
	ldr	r2, [fp, #-40]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L56
	bl	__stack_chk_fail
.L56:
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L58:
	.align	2
.L57:
	.word	.LC8
	.word	954437177
	.word	.LC2
	.word	.LC3
	.word	1076101120
	.word	.LC4
	.word	100000
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.data
	.align	2
	.type	seed.6155, %object
	.size	seed.6155, 4
seed.6155:
	.word	2067261
	.align	2
	.type	chars_hex.6195, %object
	.size	chars_hex.6195, 17
chars_hex.6195:
	.ascii	"0123456789ABCDEF\000"
	.align	2
	.type	chars_base64.6196, %object
	.size	chars_base64.6196, 65
chars_base64.6196:
	.ascii	"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxy"
	.ascii	"z0123456789+/\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
