	.file	"extr_sparse_array.c_OPENSSL_SA_get.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	OPENSSL_SA_get
	.type	OPENSSL_SA_get, @function
OPENSSL_SA_get:
.LFB0:
	.cfi_startproc
	endbr64
	xor	r8d, r8d
	test	rdi, rdi
	je	.L1
	cmp	DWORD PTR [rdi], esi
	jl	.L1
	mov	edx, DWORD PTR 16[rdi]
	mov	r8, QWORD PTR 8[rdi]
	sub	edx, 1
	test	edx, edx
	jle	.L3
	test	r8, r8
	je	.L1
	mov	edi, DWORD PTR OPENSSL_SA_BLOCK_BITS[rip]
	mov	r9d, DWORD PTR SA_BLOCK_MASK[rip]
	mov	ecx, edi
	imul	ecx, edx
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, esi
	sub	edx, 1
	sar	eax, cl
	sub	ecx, edi
	and	eax, r9d
	cdqe
	mov	r8, QWORD PTR [r8+rax*8]
	test	r8, r8
	je	.L1
	test	edx, edx
	jg	.L4
.L3:
	test	r8, r8
	je	.L1
	and	esi, DWORD PTR SA_BLOCK_MASK[rip]
	movsx	rsi, esi
	mov	r8, QWORD PTR [r8+rsi*8]
.L1:
	mov	rax, r8
	ret
	.cfi_endproc
.LFE0:
	.size	OPENSSL_SA_get, .-OPENSSL_SA_get
	.comm	SA_BLOCK_MASK,4,4
	.comm	OPENSSL_SA_BLOCK_BITS,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_sparse_array.c_OPENSSL_SA_get.c"
	.text
	.align	2
	.global	OPENSSL_SA_get
	.syntax unified
	.arm
	.fpu softvfp
	.type	OPENSSL_SA_get, %function
OPENSSL_SA_get:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r0, #0
	bxeq	lr
	ldr	r3, [r0]
	cmp	r3, r1
	blt	.L6
	ldmib	r0, {r0, r3}
	sub	r3, r3, #1
	cmp	r0, #0
	cmpne	r3, #0
	push	{r4, lr}
	ble	.L3
	ldr	ip, .L19
	ldr	r2, .L19+4
	ldr	lr, [ip]
	ldr	r4, [r2]
	mul	r2, r3, lr
.L4:
	and	ip, r4, r1, asr r2
	ldr	r0, [r0, ip, lsl #2]
	sub	r3, r3, #1
	cmp	r0, #0
	cmpne	r3, #0
	sub	r2, r2, lr
	bgt	.L4
.L3:
	cmp	r0, #0
	ldrne	r3, .L19+4
	ldrne	r3, [r3]
	andne	r1, r1, r3
	ldrne	r0, [r0, r1, lsl #2]
	pop	{r4, pc}
.L6:
	mov	r0, #0
	bx	lr
.L20:
	.align	2
.L19:
	.word	OPENSSL_SA_BLOCK_BITS
	.word	SA_BLOCK_MASK
	.size	OPENSSL_SA_get, .-OPENSSL_SA_get
	.comm	SA_BLOCK_MASK,4,4
	.comm	OPENSSL_SA_BLOCK_BITS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
