	.file	"991870.c"
	.intel_syntax noprefix
	.text
	.type	mg_b64idx, @function
mg_b64idx:
.LFB0:
	.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], 25
	jg	.L2
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 65
	jmp	.L3
.L2:
	cmp	DWORD PTR -4[rbp], 51
	jg	.L4
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 71
	jmp	.L3
.L4:
	cmp	DWORD PTR -4[rbp], 61
	jg	.L5
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 4
	jmp	.L3
.L5:
	cmp	DWORD PTR -4[rbp], 62
	jne	.L6
	mov	eax, 43
	jmp	.L3
.L6:
	mov	eax, 47
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	mg_b64idx, .-mg_b64idx
	.type	mg_b64rev, @function
mg_b64rev:
.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], 64
	jle	.L9
	cmp	DWORD PTR -4[rbp], 90
	jg	.L9
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 65
	jmp	.L10
.L9:
	cmp	DWORD PTR -4[rbp], 96
	jle	.L11
	cmp	DWORD PTR -4[rbp], 122
	jg	.L11
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 71
	jmp	.L10
.L11:
	cmp	DWORD PTR -4[rbp], 47
	jle	.L12
	cmp	DWORD PTR -4[rbp], 57
	jg	.L12
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 4
	jmp	.L10
.L12:
	cmp	DWORD PTR -4[rbp], 43
	jne	.L13
	mov	eax, 62
	jmp	.L10
.L13:
	cmp	DWORD PTR -4[rbp], 47
	jne	.L14
	mov	eax, 63
	jmp	.L10
.L14:
	cmp	DWORD PTR -4[rbp], 61
	jne	.L15
	mov	eax, 64
	jmp	.L10
.L15:
	mov	eax, -1
.L10:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	mg_b64rev, .-mg_b64rev
	.globl	mg_base64_update
	.type	mg_base64_update, @function
mg_base64_update:
.LFB2:
	.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	eax, edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -24[rbp], edx
	mov	BYTE PTR -20[rbp], al
	mov	eax, DWORD PTR -24[rbp]
	and	eax, 3
	mov	edx, eax
	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
	mov	BYTE PTR -1[rbp], al
	cmp	BYTE PTR -1[rbp], 0
	jne	.L17
	movzx	eax, BYTE PTR -20[rbp]
	shr	al, 2
	movzx	eax, al
	mov	edi, eax
	call	mg_b64idx
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR -20[rbp]
	sal	eax, 4
	mov	ecx, eax
	add	DWORD PTR -24[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	and	ecx, 48
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	jmp	.L18
.L17:
	cmp	BYTE PTR -1[rbp], 1
	jne	.L19
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	movzx	eax, BYTE PTR -20[rbp]
	shr	al, 4
	movzx	eax, al
	or	eax, edx
	mov	edi, eax
	call	mg_b64idx
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR -20[rbp]
	sal	eax, 2
	mov	ecx, eax
	add	DWORD PTR -24[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	and	ecx, 60
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	movzx	eax, BYTE PTR -20[rbp]
	shr	al, 6
	movzx	eax, al
	or	eax, edx
	mov	edi, eax
	call	mg_b64idx
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR -20[rbp]
	and	eax, 63
	mov	edi, eax
	call	mg_b64idx
	mov	edx, eax
	add	DWORD PTR -24[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -24[rbp], 1
.L18:
	mov	eax, DWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	mg_base64_update, .-mg_base64_update
	.globl	mg_base64_final
	.type	mg_base64_final, @function
mg_base64_final:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	and	eax, 3
	test	eax, eax
	je	.L22
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	mg_base64_update
	mov	DWORD PTR -28[rbp], eax
.L22:
	mov	eax, DWORD PTR -4[rbp]
	and	eax, 3
	cmp	eax, 2
	jne	.L24
	sub	DWORD PTR -28[rbp], 1
	jmp	.L24
.L25:
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 61
.L24:
	mov	eax, DWORD PTR -28[rbp]
	and	eax, 3
	test	eax, eax
	jne	.L25
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -28[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	mg_base64_final, .-mg_base64_final
	.globl	mg_base64_encode
	.type	mg_base64_encode, @function
mg_base64_encode:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 40
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L28
.L29:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	edx, DWORD PTR -4[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	mg_base64_update
	mov	DWORD PTR -4[rbp], eax
	add	DWORD PTR -8[rbp], 1
.L28:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L29
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	mg_base64_final
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	mg_base64_encode, .-mg_base64_encode
	.globl	mg_base64_decode
	.type	mg_base64_decode, @function
mg_base64_decode:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 56
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	QWORD PTR -56[rbp], rdx
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L32
.L37:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	mg_b64rev
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	mg_b64rev
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	mg_b64rev
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	mg_b64rev
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -24[rbp], 64
	je	.L33
	cmp	DWORD PTR -24[rbp], 0
	js	.L33
	cmp	DWORD PTR -20[rbp], 64
	je	.L33
	cmp	DWORD PTR -20[rbp], 0
	js	.L33
	cmp	DWORD PTR -16[rbp], 0
	js	.L33
	cmp	DWORD PTR -12[rbp], 0
	jns	.L34
.L33:
	mov	eax, 0
	jmp	.L35
.L34:
	mov	eax, DWORD PTR -24[rbp]
	sal	eax, 2
	mov	esi, eax
	mov	eax, DWORD PTR -20[rbp]
	sar	eax, 4
	mov	ecx, eax
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	or	esi, ecx
	mov	edx, esi
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	cmp	al, 61
	je	.L36
	mov	eax, DWORD PTR -20[rbp]
	sal	eax, 4
	mov	esi, eax
	mov	eax, DWORD PTR -16[rbp]
	sar	eax, 2
	mov	ecx, eax
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	or	esi, ecx
	mov	edx, esi
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	cmp	al, 61
	je	.L36
	mov	eax, DWORD PTR -16[rbp]
	sal	eax, 6
	mov	esi, eax
	mov	eax, DWORD PTR -12[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	or	esi, ecx
	mov	edx, esi
	mov	BYTE PTR [rax], dl
.L36:
	add	QWORD PTR -40[rbp], 4
.L32:
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 3
	cmp	QWORD PTR -8[rbp], rax
	ja	.L37
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -28[rbp]
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	mg_base64_decode, .-mg_base64_decode
	.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	"991870.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mg_b64idx, %function
mg_b64idx:
	@ 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, #25
	bgt	.L2
	ldr	r3, [fp, #-8]
	add	r3, r3, #65
	b	.L3
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #51
	bgt	.L4
	ldr	r3, [fp, #-8]
	add	r3, r3, #71
	b	.L3
.L4:
	ldr	r3, [fp, #-8]
	cmp	r3, #61
	bgt	.L5
	ldr	r3, [fp, #-8]
	sub	r3, r3, #4
	b	.L3
.L5:
	ldr	r3, [fp, #-8]
	cmp	r3, #62
	bne	.L6
	mov	r3, #43
	b	.L3
.L6:
	mov	r3, #47
.L3:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	mg_b64idx, .-mg_b64idx
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mg_b64rev, %function
mg_b64rev:
	@ 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, #64
	ble	.L9
	ldr	r3, [fp, #-8]
	cmp	r3, #90
	bgt	.L9
	ldr	r3, [fp, #-8]
	sub	r3, r3, #65
	b	.L10
.L9:
	ldr	r3, [fp, #-8]
	cmp	r3, #96
	ble	.L11
	ldr	r3, [fp, #-8]
	cmp	r3, #122
	bgt	.L11
	ldr	r3, [fp, #-8]
	sub	r3, r3, #71
	b	.L10
.L11:
	ldr	r3, [fp, #-8]
	cmp	r3, #47
	ble	.L12
	ldr	r3, [fp, #-8]
	cmp	r3, #57
	bgt	.L12
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	b	.L10
.L12:
	ldr	r3, [fp, #-8]
	cmp	r3, #43
	bne	.L13
	mov	r3, #62
	b	.L10
.L13:
	ldr	r3, [fp, #-8]
	cmp	r3, #47
	bne	.L14
	mov	r3, #63
	b	.L10
.L14:
	ldr	r3, [fp, #-8]
	cmp	r3, #61
	bne	.L15
	mov	r3, #64
	b	.L10
.L15:
	mvn	r3, #0
.L10:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	mg_b64rev, .-mg_b64rev
	.align	2
	.global	mg_base64_update
	.syntax unified
	.arm
	.fpu softvfp
	.type	mg_base64_update, %function
mg_base64_update:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r3, r0
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	strb	r3, [fp, #-13]
	ldr	r3, [fp, #-24]
	and	r2, r3, #3
	ldr	r3, .L21
	smull	r0, r1, r3, r2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	sub	r1, r2, r3
	mov	r3, r1
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L17
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	lsr	r3, r3, #2
	and	r3, r3, #255
	mov	r0, r3
	bl	mg_b64idx
	mov	r1, r0
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	and	r2, r1, #255
	strb	r2, [r3]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	lsl	r3, r3, #4
	and	r2, r3, #255
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	and	r2, r2, #48
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L18
.L17:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L19
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	orr	r3, r2, r3
	and	r3, r3, #255
	mov	r0, r3
	bl	mg_b64idx
	mov	r1, r0
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	and	r2, r1, #255
	strb	r2, [r3]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	lsl	r3, r3, #2
	and	r2, r3, #255
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	and	r2, r2, #60
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L18
.L19:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	lsr	r3, r3, #6
	and	r3, r3, #255
	orr	r3, r2, r3
	and	r3, r3, #255
	mov	r0, r3
	bl	mg_b64idx
	mov	r1, r0
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	and	r2, r1, #255
	strb	r2, [r3]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	and	r3, r3, #63
	mov	r0, r3
	bl	mg_b64idx
	mov	r1, r0
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	and	r2, r1, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L18:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	1431655766
	.size	mg_base64_update, .-mg_base64_update
	.align	2
	.global	mg_base64_final
	.syntax unified
	.arm
	.fpu softvfp
	.type	mg_base64_final, %function
mg_base64_final:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	and	r3, r3, #3
	cmp	r3, #0
	beq	.L24
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, #0
	bl	mg_base64_update
	str	r0, [fp, #-20]
.L24:
	ldr	r3, [fp, #-8]
	and	r3, r3, #3
	cmp	r3, #2
	bne	.L26
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L26
.L27:
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	mov	r2, #61
	strb	r2, [r3]
.L26:
	ldr	r3, [fp, #-20]
	and	r3, r3, #3
	cmp	r3, #0
	bne	.L27
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	mg_base64_final, .-mg_base64_final
	.align	2
	.global	mg_base64_encode
	.syntax unified
	.arm
	.fpu softvfp
	.type	mg_base64_encode, %function
mg_base64_encode:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L30
.L31:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	mg_base64_update
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L30:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L31
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-24]
	bl	mg_base64_final
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	mg_base64_encode, .-mg_base64_encode
	.align	2
	.global	mg_base64_decode
	.syntax unified
	.arm
	.fpu softvfp
	.type	mg_base64_decode, %function
mg_base64_decode:
	@ 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]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L34
.L39:
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	mg_b64rev
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	mg_b64rev
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	mg_b64rev
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-32]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	mg_b64rev
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r3, #64
	beq	.L35
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L35
	ldr	r3, [fp, #-16]
	cmp	r3, #64
	beq	.L35
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L35
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L35
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L36
.L35:
	mov	r3, #0
	b	.L37
.L36:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-16]
	asr	r3, r3, #4
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-28]
	add	r1, r3, #1
	str	r1, [fp, #-28]
	mov	r1, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #61
	beq	.L38
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-12]
	asr	r3, r3, #2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-28]
	add	r1, r3, #1
	str	r1, [fp, #-28]
	mov	r1, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #61
	beq	.L38
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #6
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-28]
	add	r1, r3, #1
	str	r1, [fp, #-28]
	mov	r1, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r1
	and	r2, r2, #255
	strb	r2, [r3]
.L38:
	ldr	r3, [fp, #-32]
	add	r3, r3, #4
	str	r3, [fp, #-32]
.L34:
	ldr	r3, [fp, #-32]
	add	r3, r3, #3
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bhi	.L39
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
.L37:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	mg_base64_decode, .-mg_base64_decode
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
