	.file	"391031.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
	.section	.data.rel.local,"aw"
	.align 8
	.type	radixN, @object
	.size	radixN, 8
radixN:
	.quad	.LC0
	.data
	.type	pad, @object
	.size	pad, 1
pad:
	.byte	61
	.section	.rodata
.LC1:
	.string	"=="
.LC2:
	.string	"="
	.text
	.globl	radix_encode
	.type	radix_encode, @function
radix_encode:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	DWORD PTR -60[rbp], ecx
	cmp	DWORD PTR -60[rbp], 0
	je	.L2
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L3
.L12:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR radixN[rip]
	mov	esi, edx
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L4
	mov	eax, 1
	jmp	.L5
.L4:
	mov	rdx, QWORD PTR radixN[rip]
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, rdx
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 3
	cmp	eax, 3
	je	.L6
	cmp	eax, 3
	jg	.L7
	cmp	eax, 2
	je	.L8
	cmp	eax, 2
	jg	.L7
	test	eax, eax
	je	.L9
	cmp	eax, 1
	je	.L10
	jmp	.L7
.L9:
	mov	eax, DWORD PTR -12[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	lea	edx, 0[0+rcx*4]
	mov	BYTE PTR [rax], dl
	jmp	.L7
.L10:
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -16[rbp], edx
	movsx	rcx, eax
	mov	rdx, QWORD PTR -48[rbp]
	add	rdx, rcx
	movzx	edx, BYTE PTR [rdx]
	mov	ecx, edx
	mov	edx, DWORD PTR -12[rbp]
	sar	edx, 4
	or	ecx, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -12[rbp]
	sal	eax, 4
	mov	ecx, eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -16[rbp], edx
	movsx	rcx, eax
	mov	rdx, QWORD PTR -48[rbp]
	add	rdx, rcx
	movzx	edx, BYTE PTR [rdx]
	mov	ecx, edx
	mov	edx, DWORD PTR -12[rbp]
	sar	edx, 2
	or	ecx, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -12[rbp]
	sal	eax, 6
	mov	ecx, eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	jmp	.L7
.L6:
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -16[rbp], edx
	movsx	rcx, eax
	mov	rdx, QWORD PTR -48[rbp]
	add	rdx, rcx
	movzx	edx, BYTE PTR [rdx]
	mov	ecx, edx
	mov	edx, DWORD PTR -12[rbp]
	or	ecx, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
.L7:
	add	DWORD PTR -20[rbp], 1
.L3:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L11
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	movzx	eax, BYTE PTR pad[rip]
	movsx	eax, al
	cmp	edx, eax
	jne	.L12
.L11:
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 3
	cmp	eax, 3
	je	.L13
	cmp	eax, 3
	jg	.L14
	cmp	eax, 1
	je	.L15
	cmp	eax, 2
	je	.L16
	jmp	.L14
.L15:
	mov	eax, 3
	jmp	.L5
.L16:
	mov	eax, DWORD PTR -12[rbp]
	and	eax, 15
	test	eax, eax
	je	.L17
	mov	eax, 3
	jmp	.L5
.L17:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L31
	mov	eax, 2
	jmp	.L5
.L13:
	mov	eax, DWORD PTR -12[rbp]
	and	eax, 3
	test	eax, eax
	je	.L19
	mov	eax, 3
	jmp	.L5
.L19:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L14
	mov	eax, 2
	jmp	.L5
.L31:
	nop
.L14:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L20
.L2:
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L21
.L26:
	mov	edx, DWORD PTR -20[rbp]
	movsx	rax, edx
	imul	rax, rax, 1431655766
	shr	rax, 32
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	ecx, eax
	add	ecx, ecx
	add	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	cmp	eax, 2
	je	.L22
	cmp	eax, 2
	jg	.L23
	test	eax, eax
	je	.L24
	cmp	eax, 1
	je	.L25
	jmp	.L23
.L24:
	mov	rdx, QWORD PTR radixN[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	shr	al, 2
	movzx	eax, al
	add	rax, rdx
	movzx	ecx, BYTE PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -16[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 4
	and	eax, 48
	mov	BYTE PTR -21[rbp], al
	jmp	.L23
.L25:
	mov	rdx, QWORD PTR radixN[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	shr	al, 4
	or	al, BYTE PTR -21[rbp]
	movzx	eax, al
	add	rax, rdx
	movzx	ecx, BYTE PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -16[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 2
	and	eax, 60
	mov	BYTE PTR -21[rbp], al
	jmp	.L23
.L22:
	mov	rdx, QWORD PTR radixN[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	shr	al, 6
	or	al, BYTE PTR -21[rbp]
	movzx	eax, al
	add	rax, rdx
	movzx	ecx, BYTE PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -16[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	rdx, QWORD PTR radixN[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	and	eax, 63
	add	rax, rdx
	movzx	ecx, BYTE PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -16[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	BYTE PTR -21[rbp], 0
.L23:
	add	DWORD PTR -20[rbp], 1
.L21:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L26
	mov	edx, DWORD PTR -20[rbp]
	movsx	rax, edx
	imul	rax, rax, 1431655766
	shr	rax, 32
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	ecx, eax
	add	ecx, ecx
	add	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	je	.L27
	mov	rdx, QWORD PTR radixN[rip]
	movzx	eax, BYTE PTR -21[rbp]
	add	rax, rdx
	movzx	ecx, BYTE PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -16[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
.L27:
	mov	edx, DWORD PTR -20[rbp]
	movsx	rax, edx
	imul	rax, rax, 1431655766
	shr	rax, 32
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	ecx, eax
	add	ecx, ecx
	add	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	cmp	eax, 1
	je	.L28
	cmp	eax, 2
	je	.L29
	jmp	.L30
.L28:
	movzx	ecx, BYTE PTR pad[rip]
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -16[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
.L29:
	movzx	ecx, BYTE PTR pad[rip]
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -16[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
.L30:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L20:
	mov	eax, 0
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	radix_encode, .-radix_encode
	.section	.rodata
.LC3:
	.string	"Success"
.LC4:
	.string	"Bad character in encoding"
.LC5:
	.string	"Encoding not properly padded"
	.align 8
.LC6:
	.string	"Decoded # of bits not a multiple of 8"
.LC7:
	.string	"Unknown error"
	.text
	.globl	radix_error
	.type	radix_error, @function
radix_error:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 3
	je	.L33
	cmp	DWORD PTR -4[rbp], 3
	jg	.L34
	cmp	DWORD PTR -4[rbp], 2
	je	.L35
	cmp	DWORD PTR -4[rbp], 2
	jg	.L34
	cmp	DWORD PTR -4[rbp], 0
	je	.L36
	cmp	DWORD PTR -4[rbp], 1
	je	.L37
	jmp	.L34
.L36:
	lea	rax, .LC3[rip]
	jmp	.L38
.L37:
	lea	rax, .LC4[rip]
	jmp	.L38
.L35:
	lea	rax, .LC5[rip]
	jmp	.L38
.L33:
	lea	rax, .LC6[rip]
	jmp	.L38
.L34:
	lea	rax, .LC7[rip]
.L38:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	radix_error, .-radix_error
	.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	"391031.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxy"
	.ascii	"z0123456789+/\000"
	.data
	.align	2
	.type	radixN, %object
	.size	radixN, 4
radixN:
	.word	.LC0
	.type	pad, %object
	.size	pad, 1
pad:
	.byte	61
	.section	.rodata
	.align	2
.LC1:
	.ascii	"==\000"
	.align	2
.LC2:
	.ascii	"=\000"
	.text
	.align	2
	.global	radix_encode
	.syntax unified
	.arm
	.fpu softvfp
	.type	radix_encode, %function
radix_encode:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L2
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L3
.L13:
	ldr	r3, .L33
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	bl	strchr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L4
	mov	r3, #1
	b	.L5
.L4:
	ldr	r3, .L33
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	and	r3, r3, #3
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L6
.L8:
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L7
.L11:
	ldr	r3, [fp, #-12]
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-36]
	add	r3, r1, r3
	lsl	r2, r2, #2
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L6
.L10:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r1, r3
	ldr	r2, [fp, #-36]
	add	r2, r2, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	lsl	r2, r2, #24
	asr	r1, r2, #24
	ldr	r2, [fp, #-12]
	asr	r2, r2, #4
	lsl	r2, r2, #24
	asr	r2, r2, #24
	orr	r2, r1, r2
	lsl	r2, r2, #24
	asr	r2, r2, #24
	mov	r1, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-36]
	add	r3, r1, r3
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L6
.L9:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r1, r3
	ldr	r2, [fp, #-36]
	add	r2, r2, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	lsl	r2, r2, #24
	asr	r1, r2, #24
	ldr	r2, [fp, #-12]
	asr	r2, r2, #2
	lsl	r2, r2, #24
	asr	r2, r2, #24
	orr	r2, r1, r2
	lsl	r2, r2, #24
	asr	r2, r2, #24
	mov	r1, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #6
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-36]
	add	r3, r1, r3
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L6
.L7:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r1, r3
	ldr	r2, [fp, #-36]
	add	r2, r2, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	lsl	r2, r2, #24
	asr	r1, r2, #24
	ldr	r2, [fp, #-12]
	lsl	r2, r2, #24
	asr	r2, r2, #24
	orr	r2, r1, r2
	lsl	r2, r2, #24
	asr	r2, r2, #24
	mov	r1, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r1
	and	r2, r2, #255
	strb	r2, [r3]
.L6:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L3:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L33+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L13
.L12:
	ldr	r3, [fp, #-20]
	and	r3, r3, #3
	cmp	r3, #3
	beq	.L14
	cmp	r3, #3
	bgt	.L15
	cmp	r3, #1
	beq	.L16
	cmp	r3, #2
	beq	.L17
	b	.L15
.L16:
	mov	r3, #3
	b	.L5
.L17:
	ldr	r3, [fp, #-12]
	and	r3, r3, #15
	cmp	r3, #0
	beq	.L18
	mov	r3, #3
	b	.L5
.L18:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r1, .L33+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L32
	mov	r3, #2
	b	.L5
.L14:
	ldr	r3, [fp, #-12]
	and	r3, r3, #3
	cmp	r3, #0
	beq	.L20
	mov	r3, #3
	b	.L5
.L20:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r1, .L33+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	mov	r3, #2
	b	.L5
.L32:
	nop
.L15:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	b	.L21
.L2:
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L22
.L27:
	ldr	r1, [fp, #-20]
	ldr	r3, .L33+16
	smull	r0, r2, r3, r1
	asr	r3, r1, #31
	sub	r3, r2, r3
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	sub	r3, r1, r2
	cmp	r3, #2
	beq	.L23
	cmp	r3, #2
	bgt	.L24
	cmp	r3, #0
	beq	.L25
	cmp	r3, #1
	beq	.L26
	b	.L24
.L25:
	ldr	r3, .L33
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-32]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	lsr	r2, r2, #2
	and	r2, r2, #255
	add	r2, r3, r2
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	str	r1, [fp, #-16]
	mov	r1, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #4
	and	r3, r3, #255
	and	r3, r3, #48
	strb	r3, [fp, #-21]
	b	.L24
.L26:
	ldr	r3, .L33
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-32]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	lsr	r2, r2, #4
	and	r1, r2, #255
	ldrb	r2, [fp, #-21]
	orr	r2, r1, r2
	and	r2, r2, #255
	add	r2, r3, r2
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	str	r1, [fp, #-16]
	mov	r1, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #2
	and	r3, r3, #255
	and	r3, r3, #60
	strb	r3, [fp, #-21]
	b	.L24
.L23:
	ldr	r3, .L33
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-32]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	lsr	r2, r2, #6
	and	r1, r2, #255
	ldrb	r2, [fp, #-21]
	orr	r2, r1, r2
	and	r2, r2, #255
	add	r2, r3, r2
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	str	r1, [fp, #-16]
	mov	r1, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, .L33
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #63
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	str	r1, [fp, #-16]
	mov	r1, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	mov	r3, #0
	strb	r3, [fp, #-21]
.L24:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L22:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L27
	ldr	r1, [fp, #-20]
	ldr	r3, .L33+16
	smull	r0, r2, r3, r1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, r1, r3
	cmp	r2, #0
	beq	.L28
	ldr	r3, .L33
	ldr	r2, [r3]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	str	r1, [fp, #-16]
	mov	r1, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L28:
	ldr	r1, [fp, #-20]
	ldr	r3, .L33+16
	smull	r0, r2, r3, r1
	asr	r3, r1, #31
	sub	r3, r2, r3
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	sub	r3, r1, r2
	cmp	r3, #1
	beq	.L29
	cmp	r3, #2
	beq	.L30
	b	.L31
.L29:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	ldr	r2, .L33+4
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L30:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	ldr	r2, .L33+4
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L31:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
.L21:
	mov	r3, #0
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	radixN
	.word	pad
	.word	.LC1
	.word	.LC2
	.word	1431655766
	.size	radix_encode, .-radix_encode
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Success\000"
	.align	2
.LC4:
	.ascii	"Bad character in encoding\000"
	.align	2
.LC5:
	.ascii	"Encoding not properly padded\000"
	.align	2
.LC6:
	.ascii	"Decoded # of bits not a multiple of 8\000"
	.align	2
.LC7:
	.ascii	"Unknown error\000"
	.text
	.align	2
	.global	radix_error
	.syntax unified
	.arm
	.fpu softvfp
	.type	radix_error, %function
radix_error:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L36
.L38:
	.word	.L41
	.word	.L40
	.word	.L39
	.word	.L37
.L41:
	ldr	r3, .L43
	b	.L42
.L40:
	ldr	r3, .L43+4
	b	.L42
.L39:
	ldr	r3, .L43+8
	b	.L42
.L37:
	ldr	r3, .L43+12
	b	.L42
.L36:
	ldr	r3, .L43+16
.L42:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L44:
	.align	2
.L43:
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	radix_error, .-radix_error
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
