	.file	"extr_bn_ctx.c_BN_CTX_get.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	BN_CTX_get
	.type	BN_CTX_get, @function
BN_CTX_get:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR BN_CTX_NUM_POS[rip]
	cmp	QWORD PTR [rdi], rax
	jg	.L2
	mov	rax, QWORD PTR 8[rdi]
	cmp	rax, QWORD PTR BN_CTX_NUM[rip]
	jge	.L2
	lea	rdx, 1[rax]
	mov	QWORD PTR 8[rdi], rdx
	mov	rdx, QWORD PTR 24[rdi]
	lea	rax, [rdx+rax*4]
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	ecx, DWORD PTR 16[rdi]
	xor	eax, eax
	test	ecx, ecx
	jne	.L1
	mov	DWORD PTR 16[rdi], 1
	ret
	.cfi_endproc
.LFE0:
	.size	BN_CTX_get, .-BN_CTX_get
	.comm	BN_CTX_NUM_POS,8,8
	.comm	BN_CTX_NUM,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_get.c"
	.text
	.align	2
	.global	BN_CTX_get
	.syntax unified
	.arm
	.fpu softvfp
	.type	BN_CTX_get, %function
BN_CTX_get:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r2, .L7
	ldr	r1, [r0]
	ldr	r2, [r2]
	mov	r3, r0
	cmp	r1, r2
	bgt	.L2
	ldr	r1, .L7+4
	ldr	r2, [r0, #4]
	ldr	r1, [r1]
	cmp	r2, r1
	bge	.L2
	ldr	r0, [r0, #12]
	add	r1, r2, #1
	add	r0, r0, r2, lsl #2
	str	r1, [r3, #4]
	bx	lr
.L2:
	ldr	r0, [r3, #8]
	cmp	r0, #0
	bne	.L5
	mov	r2, #1
	str	r2, [r3, #8]
	bx	lr
.L5:
	mov	r0, #0
	bx	lr
.L8:
	.align	2
.L7:
	.word	BN_CTX_NUM_POS
	.word	BN_CTX_NUM
	.size	BN_CTX_get, .-BN_CTX_get
	.comm	BN_CTX_NUM_POS,4,4
	.comm	BN_CTX_NUM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
