	.file	"extr_bn_ctx.c_BN_CTX_end.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	BN_CTX_end
	.type	BN_CTX_end, @function
BN_CTX_end:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L7
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	xor	edi, edi
	cmp	QWORD PTR [rbx], 0
	setg	dil
	call	assert@PLT
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	je	.L11
.L4:
	sub	rax, 1
	cmp	rax, QWORD PTR BN_CTX_NUM_POS[rip]
	mov	QWORD PTR 24[rbx], 0
	mov	QWORD PTR [rbx], rax
	jge	.L1
	mov	rdx, QWORD PTR 8[rbx]
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	DWORD PTR 16[rbx], eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, rbx
	call	BN_CTX_start@PLT
	mov	rax, QWORD PTR [rbx]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	ret
	.cfi_endproc
.LFE0:
	.size	BN_CTX_end, .-BN_CTX_end
	.comm	BN_CTX_NUM_POS,8,8
	.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_ctx.c_BN_CTX_end.c"
	.text
	.align	2
	.global	BN_CTX_end
	.syntax unified
	.arm
	.fpu softvfp
	.type	BN_CTX_end, %function
BN_CTX_end:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	subs	r4, r0, #0
	popeq	{r4, pc}
	ldr	r0, [r4]
	cmp	r0, #0
	movle	r0, #0
	movgt	r0, #1
	bl	assert
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L8
.L4:
	mov	r2, #0
	ldr	r1, .L9
	sub	r3, r3, #1
	ldr	r1, [r1]
	str	r2, [r4, #12]
	cmp	r3, r1
	ldrlt	r2, [r4, #4]
	str	r3, [r4]
	ldrlt	r3, [r2, r3, lsl #2]
	strlt	r3, [r4, #8]
	pop	{r4, pc}
.L8:
	mov	r0, r4
	bl	BN_CTX_start
	ldr	r3, [r4]
	b	.L4
.L10:
	.align	2
.L9:
	.word	BN_CTX_NUM_POS
	.size	BN_CTX_end, .-BN_CTX_end
	.comm	BN_CTX_NUM_POS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
