	.file	"extr_sshkey.c_fingerprint_b64.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	":"
.LC1:
	.string	"="
	.text
	.p2align 4
	.type	fingerprint_b64, @function
fingerprint_b64:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR 8[rsp], rsi
	call	strlen@PLT
	cmp	rbp, 65536
	ja	.L13
	add	eax, 1
	lea	rdx, 2[rbp]
	mov	edi, 1
	movabs	rcx, -6148914691236517205
	movsx	rbx, eax
	mov	rax, rdx
	mul	rcx
	shr	rdx
	lea	r15, 1[0+rdx*4]
	lea	r14, [rbx+r15]
	mov	rsi, r14
	call	calloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L13
	mov	rdx, r14
	mov	rsi, r13
	mov	rdi, rax
	call	strlcpy@PLT
	mov	rdx, r14
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	strlcat@PLT
	test	rbp, rbp
	jne	.L15
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rsp]
	lea	rdx, [r12+rbx]
	mov	rcx, r15
	mov	rsi, rbp
	call	b64_ntop@PLT
	cmp	eax, -1
	je	.L16
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	call	strcspn@PLT
	mov	BYTE PTR [r12+rax], 0
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rsi, r14
	mov	rdi, r12
	call	freezero@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	xor	r12d, r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	fingerprint_b64, .-fingerprint_b64
	.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_sshkey.c_fingerprint_b64.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	":\000"
	.align	2
.LC1:
	.ascii	"=\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fingerprint_b64, %function
fingerprint_b64:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #65536
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	bhi	.L13
	mov	r6, r2
	mov	r7, r1
	mov	r8, r0
	bl	strlen
	ldr	r3, .L17
	add	r4, r6, #2
	umull	r2, r4, r3, r4
	lsr	r4, r4, #1
	lsl	r4, r4, #2
	add	r9, r0, #1
	add	r4, r4, #1
	add	r10, r9, r4
	mov	r1, r10
	mov	r0, #1
	bl	calloc
	subs	r5, r0, #0
	beq	.L13
	mov	r1, r8
	mov	r2, r10
	bl	strlcpy
	mov	r2, r10
	mov	r0, r5
	ldr	r1, .L17+4
	bl	strlcat
	cmp	r6, #0
	bne	.L15
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
	mov	r3, r4
	mov	r1, r6
	mov	r0, r7
	add	r2, r5, r9
	bl	b64_ntop
	cmn	r0, #1
	beq	.L16
	mov	r0, r5
	ldr	r1, .L17+8
	bl	strcspn
	mov	r3, #0
	strb	r3, [r5, r0]
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
	mov	r1, r10
	mov	r0, r5
	bl	freezero
.L13:
	mov	r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L18:
	.align	2
.L17:
	.word	-1431655765
	.word	.LC0
	.word	.LC1
	.size	fingerprint_b64, .-fingerprint_b64
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
