	.file	"extr_mongoose.c_cs_base64_emit_code.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cs_base64_emit_code, @function
cs_base64_emit_code:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR NUM_UPPERCASES[rip]
	mov	rdx, QWORD PTR 8[rdi]
	mov	r8d, DWORD PTR [rdi]
	cmp	eax, esi
	jle	.L2
	add	esi, 65
	movsx	edi, sil
	mov	esi, r8d
	jmp	rdx
	.p2align 4,,10
	.p2align 3
.L2:
	mov	ecx, DWORD PTR NUM_LETTERS[rip]
	cmp	ecx, esi
	jle	.L3
	sub	esi, eax
	lea	edi, 97[rsi]
	mov	esi, r8d
	movsx	edi, dil
	jmp	rdx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, DWORD PTR NUM_DIGITS[rip]
	lea	edi, [rcx+rax]
	cmp	edi, esi
	jle	.L4
	sub	esi, ecx
	lea	edi, 48[rsi]
	mov	esi, r8d
	movsx	edi, dil
	jmp	rdx
	.p2align 4,,10
	.p2align 3
.L4:
	sub	esi, ecx
	xor	edi, edi
	cmp	eax, esi
	mov	esi, r8d
	setne	dil
	lea	edi, 43[0+rdi*4]
	jmp	rdx
	.cfi_endproc
.LFE0:
	.size	cs_base64_emit_code, .-cs_base64_emit_code
	.comm	NUM_UPPERCASES,4,4
	.comm	NUM_LETTERS,4,4
	.comm	NUM_DIGITS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_mongoose.c_cs_base64_emit_code.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cs_base64_emit_code, %function
cs_base64_emit_code:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r1
	ldr	r2, .L10
	str	lr, [sp, #-4]!
	ldr	r2, [r2]
	ldr	lr, [r0, #4]
	cmp	r2, r3
	ldr	r1, [r0]
	ble	.L2
	add	r0, r3, #65
	and	r0, r0, #255
	mov	r3, lr
	ldr	lr, [sp], #4
	bx	r3
.L2:
	ldr	r0, .L10+4
	ldr	r0, [r0]
	cmp	r0, r3
	rsbgt	r0, r2, #97
	bgt	.L8
	ldr	r2, .L10+8
	ldr	r2, [r2]
	add	ip, r0, r2
	cmp	ip, r3
	ble	.L4
	rsb	r0, r0, #48
.L8:
	add	r0, r0, r3
	and	r0, r0, #255
	mov	r3, lr
	ldr	lr, [sp], #4
	bx	r3
.L4:
	sub	r0, r3, r0
	cmp	r2, r0
	mov	r3, lr
	moveq	r0, #43
	movne	r0, #47
	ldr	lr, [sp], #4
	bx	r3
.L11:
	.align	2
.L10:
	.word	NUM_UPPERCASES
	.word	NUM_LETTERS
	.word	NUM_DIGITS
	.size	cs_base64_emit_code, .-cs_base64_emit_code
	.comm	NUM_UPPERCASES,4,4
	.comm	NUM_LETTERS,4,4
	.comm	NUM_DIGITS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
