	.file	"extr_cryptnet_main.c_decode_base64_blob.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	decode_base64_blob, @function
decode_base64_blob:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebp, DWORD PTR [rdi]
	mov	rbx, rsi
	mov	rdi, QWORD PTR 8[rdi]
	test	ebp, ebp
	je	.L2
	movsx	rax, ebp
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	sub	rax, 1
	mov	ebp, eax
	test	eax, eax
	je	.L2
.L3:
	mov	r8d, DWORD PTR -4[rdi+rax*4]
	mov	ebp, eax
	test	r8d, r8d
	je	.L4
.L2:
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	mov	edx, DWORD PTR CRYPT_STRING_BASE64_ANY[rip]
	xor	ecx, ecx
	mov	esi, ebp
	push	0
	.cfi_def_cfa_offset 48
	xor	r9d, r9d
	mov	r8, rbx
	call	CryptStringToBinaryA@PLT
	pop	rcx
	.cfi_def_cfa_offset 40
	pop	rsi
	.cfi_def_cfa_offset 32
	test	rax, rax
	jne	.L5
.L12:
	mov	r12, QWORD PTR FALSE[rip]
.L1:
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	call	CryptMemAlloc@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rcx, rax
	test	rax, rax
	je	.L12
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, QWORD PTR 8[r12]
	xor	r9d, r9d
	mov	r8, rbx
	push	0
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR CRYPT_STRING_BASE64_ANY[rip]
	mov	esi, ebp
	call	CryptStringToBinaryA@PLT
	mov	r12, rax
	pop	rax
	.cfi_def_cfa_offset 40
	pop	rdx
	.cfi_def_cfa_offset 32
	test	r12, r12
	jne	.L1
	mov	rdi, QWORD PTR 8[rbx]
	call	CryptMemFree@PLT
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	decode_base64_blob, .-decode_base64_blob
	.comm	FALSE,8,8
	.comm	CRYPT_STRING_BASE64_ANY,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_cryptnet_main.c_decode_base64_blob.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	decode_base64_blob, %function
decode_base64_blob:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [r0]
	mov	r6, r0
	cmp	r4, #0
	mov	r5, r1
	ldr	r0, [r0, #4]
	sub	sp, sp, #16
	beq	.L2
	add	r3, r0, r4, lsl #2
	b	.L3
.L4:
	subs	r4, r4, #1
	beq	.L2
.L3:
	ldr	r2, [r3, #-4]!
	cmp	r2, #0
	beq	.L4
.L2:
	mov	r7, #0
	ldr	r8, .L18
	mov	r3, r7
	mov	r1, r4
	ldr	r2, [r8]
	str	r5, [sp]
	str	r7, [sp, #8]
	str	r7, [sp, #4]
	bl	CryptStringToBinaryA
	cmp	r0, r7
	bne	.L5
.L16:
	ldr	r3, .L18+4
	ldr	r4, [r3]
.L1:
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	ldr	r0, [r5]
	bl	CryptMemAlloc
	cmp	r0, #0
	mov	r3, r0
	str	r0, [r5, #4]
	beq	.L16
	stm	sp, {r5, r7}
	str	r7, [sp, #8]
	mov	r1, r4
	ldr	r2, [r8]
	ldr	r0, [r6, #4]
	bl	CryptStringToBinaryA
	subs	r4, r0, #0
	bne	.L1
	ldr	r0, [r5, #4]
	bl	CryptMemFree
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	.align	2
.L18:
	.word	CRYPT_STRING_BASE64_ANY
	.word	FALSE
	.size	decode_base64_blob, .-decode_base64_blob
	.comm	FALSE,4,4
	.comm	CRYPT_STRING_BASE64_ANY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
