	.file	"extr_bn_lib.c_BN_bin2bn.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	BN_bin2bn
	.type	BN_bin2bn, @function
BN_bin2bn:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	r15d, r15d
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, esi
	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
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	test	rdx, rdx
	je	.L25
.L2:
	mov	rdi, rbp
	call	bn_check_top@PLT
	test	r13d, r13d
	jle	.L5
.L4:
	cmp	BYTE PTR [rbx], 0
	je	.L7
.L5:
	test	r13d, r13d
	je	.L6
	sub	r13d, 1
	xor	edx, edx
	mov	rdi, rbp
	mov	eax, r13d
	div	DWORD PTR BN_BYTES[rip]
	lea	r14d, 1[rax]
	mov	r12d, edx
	mov	esi, r14d
	call	bn_wexpand@PLT
	test	rax, rax
	je	.L26
	mov	eax, DWORD PTR BN_BYTES[rip]
	mov	DWORD PTR 0[rbp], r14d
	lea	rdx, 1[rbx+r13]
	xor	ecx, ecx
	mov	QWORD PTR 16[rbp], 0
	lea	edi, -1[rax]
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L28:
	sub	r12d, 1
	cmp	rdx, rbx
	je	.L27
.L12:
	movzx	eax, BYTE PTR [rbx]
	sal	rcx, 8
	add	rbx, 1
	or	rcx, rax
	test	r12d, r12d
	jne	.L28
	mov	rax, QWORD PTR 8[rbp]
	lea	esi, -1[r14]
	mov	r12d, edi
	mov	r14, rsi
	mov	QWORD PTR [rax+rsi*8], rcx
	xor	ecx, ecx
	cmp	rdx, rbx
	jne	.L12
.L27:
	mov	rdi, rbp
	mov	r15, rbp
	call	bn_correct_top@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	add	rbx, 1
	sub	r13d, 1
	jne	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	mov	DWORD PTR 0[rbp], 0
	mov	r15, rbp
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r15
	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
.L25:
	.cfi_restore_state
	xor	eax, eax
	call	BN_new@PLT
	mov	r15, rax
	mov	rbp, rax
	test	rax, rax
	je	.L1
	jmp	.L2
.L26:
	mov	rdi, r15
	xor	r15d, r15d
	call	BN_free@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	BN_bin2bn, .-BN_bin2bn
	.comm	BN_BYTES,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_bn_lib.c_BN_bin2bn.c"
	.text
	.global	__aeabi_uidivmod
	.align	2
	.global	BN_bin2bn
	.syntax unified
	.arm
	.fpu softvfp
	.type	BN_bin2bn, %function
BN_bin2bn:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	subs	r6, r2, #0
	mov	r4, r0
	mov	r5, r1
	movne	r9, #0
	beq	.L24
.L2:
	mov	r0, r6
	bl	bn_check_top
	cmp	r5, #0
	ble	.L4
	mov	r3, r4
.L5:
	ldrb	r2, [r3]	@ zero_extendqisi2
	mov	r4, r3
	cmp	r2, #0
	add	r3, r3, #1
	beq	.L7
.L4:
	cmp	r5, #0
	beq	.L6
	ldr	fp, .L26
	sub	r0, r5, #1
	ldr	r1, [fp]
	bl	__aeabi_uidivmod
	add	r8, r0, #1
	mov	r7, r1
	mov	r0, r6
	mov	r1, r8
	bl	bn_wexpand
	subs	r10, r0, #0
	beq	.L25
	mov	r2, #0
	mov	r3, r2
	ldr	r1, [fp]
	add	r5, r4, r5
	str	r8, [r6]
	sub	r1, r1, #1
	str	r2, [r6, #8]
.L12:
	ldrb	r2, [r4], #1	@ zero_extendqisi2
	cmp	r7, #0
	orr	r3, r2, r3, lsl #8
	ldreq	r2, [r6, #4]
	subeq	r8, r8, #1
	streq	r3, [r2, r8, lsl #2]
	moveq	r7, r1
	moveq	r3, #0
	subne	r7, r7, #1
	cmp	r5, r4
	bne	.L12
	mov	r9, r6
	mov	r0, r6
	bl	bn_correct_top
	mov	r0, r9
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	subs	r5, r5, #1
	bne	.L5
.L6:
	mov	r3, #0
	mov	r9, r6
	str	r3, [r6]
.L1:
	mov	r0, r9
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L24:
	bl	BN_new
	subs	r9, r0, #0
	movne	r6, r9
	bne	.L2
	mov	r0, r9
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L25:
	mov	r0, r9
	bl	BN_free
	mov	r9, r10
	b	.L1
.L27:
	.align	2
.L26:
	.word	BN_BYTES
	.size	BN_bin2bn, .-BN_bin2bn
	.comm	BN_BYTES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
