	.file	"14200240.c"
	.intel_syntax noprefix
	.text
	.data
	.align 32
	.type	encoding_table, @object
	.size	encoding_table, 64
encoding_table:
	.ascii	"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01234567"
	.ascii	"89+/"
	.local	decoding_table
	.comm	decoding_table,8,8
	.align 8
	.type	mod_table, @object
	.size	mod_table, 12
mod_table:
	.long	0
	.long	2
	.long	1
	.text
	.globl	base64_encode
	.type	base64_encode, @function
base64_encode:
.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, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 2
	movabs	rdx, -6148914691236517205
	mul	rdx
	mov	rax, rdx
	shr	rax
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	mov	eax, 0
	jmp	.L3
.L2:
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	jmp	.L4
.L11:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	cmp	QWORD PTR -64[rbp], rax
	jbe	.L5
	mov	eax, DWORD PTR -36[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -36[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	jmp	.L6
.L5:
	mov	eax, 0
.L6:
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	cmp	QWORD PTR -64[rbp], rax
	jbe	.L7
	mov	eax, DWORD PTR -36[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -36[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	jmp	.L8
.L7:
	mov	eax, 0
.L8:
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	cmp	QWORD PTR -64[rbp], rax
	jbe	.L9
	mov	eax, DWORD PTR -36[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -36[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	jmp	.L10
.L9:
	mov	eax, 0
.L10:
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	sal	eax, 16
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	sal	eax, 8
	add	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	shr	eax, 18
	and	eax, 63
	mov	ecx, eax
	mov	eax, DWORD PTR -32[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -32[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	ecx, ecx
	lea	rax, encoding_table[rip]
	movzx	eax, BYTE PTR [rcx+rax]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -12[rbp]
	shr	eax, 12
	and	eax, 63
	mov	ecx, eax
	mov	eax, DWORD PTR -32[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -32[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	ecx, ecx
	lea	rax, encoding_table[rip]
	movzx	eax, BYTE PTR [rcx+rax]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -12[rbp]
	shr	eax, 6
	and	eax, 63
	mov	ecx, eax
	mov	eax, DWORD PTR -32[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -32[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	ecx, ecx
	lea	rax, encoding_table[rip]
	movzx	eax, BYTE PTR [rcx+rax]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -12[rbp]
	and	eax, 63
	mov	ecx, eax
	mov	eax, DWORD PTR -32[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -32[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	ecx, ecx
	lea	rax, encoding_table[rip]
	movzx	eax, BYTE PTR [rcx+rax]
	mov	BYTE PTR [rdx], al
.L4:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	cmp	QWORD PTR -64[rbp], rax
	ja	.L11
	mov	DWORD PTR -28[rbp], 0
	jmp	.L12
.L13:
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -28[rbp]
	movsx	rdx, edx
	sub	rax, rdx
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 61
	add	DWORD PTR -28[rbp], 1
.L12:
	mov	rcx, QWORD PTR -64[rbp]
	movabs	rdx, -6148914691236517205
	mov	rax, rcx
	mul	rdx
	mov	rax, rdx
	shr	rax
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	mov	rax, rcx
	sub	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, mod_table[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -28[rbp], eax
	jl	.L13
	mov	rax, QWORD PTR -8[rbp]
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	base64_encode, .-base64_encode
	.globl	base64_decode
	.type	base64_decode, @function
base64_decode:
.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, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR decoding_table[rip]
	test	rax, rax
	jne	.L15
	mov	eax, 0
	call	build_decoding_table
.L15:
	mov	rax, QWORD PTR -64[rbp]
	and	eax, 3
	test	rax, rax
	je	.L16
	mov	eax, 0
	jmp	.L17
.L16:
	mov	rax, QWORD PTR -64[rbp]
	shr	rax, 2
	mov	rdx, rax
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 61
	jne	.L18
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR [rax], rdx
.L18:
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, -2[rax]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 61
	jne	.L19
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR [rax], rdx
.L19:
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L20
	mov	eax, 0
	jmp	.L17
.L20:
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	jmp	.L21
.L32:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 61
	jne	.L22
	add	DWORD PTR -36[rbp], 1
	mov	eax, 0
	jmp	.L23
.L22:
	mov	rcx, QWORD PTR decoding_table[rip]
	mov	eax, DWORD PTR -36[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -36[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
.L23:
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 61
	jne	.L24
	add	DWORD PTR -36[rbp], 1
	mov	eax, 0
	jmp	.L25
.L24:
	mov	rcx, QWORD PTR decoding_table[rip]
	mov	eax, DWORD PTR -36[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -36[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
.L25:
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 61
	jne	.L26
	add	DWORD PTR -36[rbp], 1
	mov	eax, 0
	jmp	.L27
.L26:
	mov	rcx, QWORD PTR decoding_table[rip]
	mov	eax, DWORD PTR -36[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -36[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
.L27:
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 61
	jne	.L28
	add	DWORD PTR -36[rbp], 1
	mov	eax, 0
	jmp	.L29
.L28:
	mov	rcx, QWORD PTR decoding_table[rip]
	mov	eax, DWORD PTR -36[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -36[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
.L29:
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	sal	eax, 18
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	sal	eax, 12
	add	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	sal	eax, 6
	add	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	jnb	.L30
	mov	eax, DWORD PTR -12[rbp]
	shr	eax, 16
	mov	ecx, eax
	mov	eax, DWORD PTR -32[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -32[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
.L30:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	jnb	.L31
	mov	eax, DWORD PTR -12[rbp]
	shr	eax, 8
	mov	ecx, eax
	mov	eax, DWORD PTR -32[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -32[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
.L31:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	jnb	.L21
	mov	eax, DWORD PTR -32[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -32[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -12[rbp]
	mov	BYTE PTR [rax], dl
.L21:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	cmp	QWORD PTR -64[rbp], rax
	ja	.L32
	mov	rax, QWORD PTR -8[rbp]
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	base64_decode, .-base64_decode
	.globl	build_decoding_table
	.type	build_decoding_table, @function
build_decoding_table:
.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, 16
	mov	edi, 256
	call	malloc@PLT
	mov	QWORD PTR decoding_table[rip], rax
	mov	DWORD PTR -4[rbp], 0
	jmp	.L34
.L35:
	mov	rcx, QWORD PTR decoding_table[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, encoding_table[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	add	rax, rcx
	mov	edx, DWORD PTR -4[rbp]
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -4[rbp], 1
.L34:
	cmp	DWORD PTR -4[rbp], 63
	jle	.L35
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	build_decoding_table, .-build_decoding_table
	.globl	base64_cleanup
	.type	base64_cleanup, @function
base64_cleanup:
.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, QWORD PTR decoding_table[rip]
	mov	rdi, rax
	call	free@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	base64_cleanup, .-base64_cleanup
	.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	"14200240.c"
	.text
	.data
	.align	2
	.type	encoding_table, %object
	.size	encoding_table, 64
encoding_table:
	.ascii	"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxy"
	.ascii	"z0123456789+/"
	.local	decoding_table
	.comm	decoding_table,4,4
	.align	2
	.type	mod_table, %object
	.size	mod_table, 12
mod_table:
	.word	0
	.word	2
	.word	1
	.text
	.align	2
	.global	base64_encode
	.syntax unified
	.arm
	.fpu softvfp
	.type	base64_encode, %function
base64_encode:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	ldr	r3, [fp, #-44]
	add	r3, r3, #2
	ldr	r2, .L14
	umull	r1, r3, r2, r3
	lsr	r3, r3, #1
	lsl	r2, r3, #2
	ldr	r3, [fp, #-48]
	str	r2, [r3]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L2
	mov	r3, #0
	b	.L3
.L2:
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L4
.L11:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	bls	.L5
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L6
.L5:
	mov	r3, #0
.L6:
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	bls	.L7
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L8
.L7:
	mov	r3, #0
.L8:
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	bls	.L9
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L10
.L9:
	mov	r3, #0
.L10:
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	lsl	r2, r3, #16
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #8
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #18
	and	r2, r3, #63
	ldr	r3, [fp, #-32]
	add	r1, r3, #1
	str	r1, [fp, #-32]
	mov	r1, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r1
	ldr	r1, .L14+4
	ldrb	r2, [r1, r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #12
	and	r2, r3, #63
	ldr	r3, [fp, #-32]
	add	r1, r3, #1
	str	r1, [fp, #-32]
	mov	r1, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r1
	ldr	r1, .L14+4
	ldrb	r2, [r1, r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #6
	and	r2, r3, #63
	ldr	r3, [fp, #-32]
	add	r1, r3, #1
	str	r1, [fp, #-32]
	mov	r1, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r1
	ldr	r1, .L14+4
	ldrb	r2, [r1, r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	and	r2, r3, #63
	ldr	r3, [fp, #-32]
	add	r1, r3, #1
	str	r1, [fp, #-32]
	mov	r1, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r1
	ldr	r1, .L14+4
	ldrb	r2, [r1, r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L4:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	bhi	.L11
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L12
.L13:
	ldr	r3, [fp, #-48]
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #61
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L12:
	ldr	r1, [fp, #-44]
	ldr	r3, .L14
	umull	r2, r3, r1, r3
	lsr	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, r1, r3
	ldr	r3, .L14+8
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L13
	ldr	r3, [fp, #-24]
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	-1431655765
	.word	encoding_table
	.word	mod_table
	.size	base64_encode, .-base64_encode
	.align	2
	.global	base64_decode
	.syntax unified
	.arm
	.fpu softvfp
	.type	base64_decode, %function
base64_decode:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	ldr	r3, .L35
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L17
	bl	build_decoding_table
.L17:
	ldr	r3, [fp, #-44]
	and	r3, r3, #3
	cmp	r3, #0
	beq	.L18
	mov	r3, #0
	b	.L19
.L18:
	ldr	r3, [fp, #-44]
	lsr	r2, r3, #2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	ldr	r3, [fp, #-48]
	str	r2, [r3]
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #61
	bne	.L20
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, [fp, #-48]
	str	r2, [r3]
.L20:
	ldr	r3, [fp, #-44]
	sub	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #61
	bne	.L21
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, [fp, #-48]
	str	r2, [r3]
.L21:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L22
	mov	r3, #0
	b	.L19
.L22:
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L23
.L34:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #61
	bne	.L24
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	mov	r3, #0
	b	.L25
.L24:
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r1, r3, #1
	str	r1, [fp, #-36]
	mov	r1, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
.L25:
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #61
	bne	.L26
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	mov	r3, #0
	b	.L27
.L26:
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r1, r3, #1
	str	r1, [fp, #-36]
	mov	r1, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
.L27:
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #61
	bne	.L28
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	mov	r3, #0
	b	.L29
.L28:
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r1, r3, #1
	str	r1, [fp, #-36]
	mov	r1, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
.L29:
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #61
	bne	.L30
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	mov	r3, #0
	b	.L31
.L30:
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r1, r3, #1
	str	r1, [fp, #-36]
	mov	r1, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
.L31:
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	lsl	r2, r3, #18
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #12
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #6
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bls	.L32
	ldr	r3, [fp, #-8]
	lsr	r2, r3, #16
	ldr	r3, [fp, #-32]
	add	r1, r3, #1
	str	r1, [fp, #-32]
	mov	r1, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r1
	and	r2, r2, #255
	strb	r2, [r3]
.L32:
	ldr	r3, [fp, #-48]
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bls	.L33
	ldr	r3, [fp, #-8]
	lsr	r2, r3, #8
	ldr	r3, [fp, #-32]
	add	r1, r3, #1
	str	r1, [fp, #-32]
	mov	r1, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r1
	and	r2, r2, #255
	strb	r2, [r3]
.L33:
	ldr	r3, [fp, #-48]
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bls	.L23
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	and	r2, r2, #255
	strb	r2, [r3]
.L23:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	bhi	.L34
	ldr	r3, [fp, #-28]
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	decoding_table
	.size	base64_decode, .-base64_decode
	.align	2
	.global	build_decoding_table
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_decoding_table, %function
build_decoding_table:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r0, #256
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L40
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L38
.L39:
	ldr	r3, .L40
	ldr	r3, [r3]
	ldr	r1, .L40+4
	ldr	r2, [fp, #-8]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L38:
	ldr	r3, [fp, #-8]
	cmp	r3, #63
	ble	.L39
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	decoding_table
	.word	encoding_table
	.size	build_decoding_table, .-build_decoding_table
	.align	2
	.global	base64_cleanup
	.syntax unified
	.arm
	.fpu softvfp
	.type	base64_cleanup, %function
base64_cleanup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L43
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	nop
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	decoding_table
	.size	base64_cleanup, .-base64_cleanup
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
