	.file	"extr_ocb128.c_ocb_lookup_l.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ocb_lookup_l, @function
ocb_lookup_l:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbx, QWORD PTR [rdi]
	mov	rax, QWORD PTR 16[rdi]
	cmp	rbx, rsi
	jnb	.L12
	mov	rdx, QWORD PTR 8[rdi]
	mov	r12, rdi
	cmp	rdx, rsi
	ja	.L6
	lea	rsi, 4[rsi]
	sub	rsi, rdx
	and	rsi, -4
	add	rsi, rdx
	mov	QWORD PTR 8[rdi], rsi
	sal	esi, 2
	mov	rdi, rax
	call	OPENSSL_realloc@PLT
	test	rax, rax
	je	.L1
	mov	QWORD PTR 16[r12], rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rax, QWORD PTR 16[r12]
.L6:
	add	rbx, 1
	lea	rbp, 0[0+rbx*4]
	lea	rsi, [rax+rbp]
	lea	rdi, -4[rax+rbp]
	call	ocb_double@PLT
	cmp	rbx, r13
	jne	.L13
	mov	rax, QWORD PTR 16[r12]
	mov	QWORD PTR [r12], rbx
	add	rax, rbp
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 40
	lea	rax, [rax+rsi*4]
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ocb_lookup_l, .-ocb_lookup_l
	.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_ocb128.c_ocb_lookup_l.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocb_lookup_l, %function
ocb_lookup_l:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, [r0]
	mov	r5, r0
	cmp	r4, r1
	mov	r6, r1
	ldr	r0, [r0, #8]
	bcs	.L12
	ldr	r3, [r5, #4]
	cmp	r3, r1
	bhi	.L6
	add	r1, r1, #4
	sub	r1, r1, r3
	bic	r1, r1, #3
	add	r1, r1, r3
	str	r1, [r5, #4]
	lsl	r1, r1, #2
	bl	OPENSSL_realloc
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	str	r0, [r5, #8]
	b	.L6
.L13:
	ldr	r0, [r5, #8]
.L6:
	lsl	r3, r4, #2
	add	r1, r3, #4
	add	r1, r0, r1
	add	r4, r4, #1
	add	r0, r0, r3
	bl	ocb_double
	cmp	r4, r6
	bne	.L13
	ldr	r3, [r5, #8]
	str	r4, [r5]
	add	r0, r3, r4, lsl #2
	pop	{r4, r5, r6, pc}
.L12:
	add	r0, r0, r1, lsl #2
	pop	{r4, r5, r6, pc}
	.size	ocb_lookup_l, .-ocb_lookup_l
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
