	.file	"115840.c"
	.intel_syntax noprefix
	.text
	.globl	lfind
	.type	lfind, @function
lfind:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 16
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	mov	r13, rdi
	mov	rbx, rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	r12d, ecx
	mov	QWORD PTR -48[rbp], r8
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	imul	eax, r12d
	mov	eax, eax
	lea	r14, [rbx+rax]
	jmp	.L2
.L5:
	mov	rdx, QWORD PTR -48[rbp]
	mov	rsi, rbx
	mov	rdi, r13
	mov	eax, 0
	call	rdx
	test	eax, eax
	jne	.L3
	mov	rax, rbx
	jmp	.L4
.L3:
	mov	eax, r12d
	add	rbx, rax
.L2:
	cmp	rbx, r14
	jb	.L5
	mov	rax, -1
.L4:
	add	rsp, 16
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	lfind, .-lfind
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"115840.c"
	.text
	.align	2
	.global	lfind
	.syntax unified
	.arm
	.fpu softvfp
	.type	lfind, %function
lfind:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #8
	mov	r7, r0
	mov	r4, r1
	str	r2, [fp, #-24]
	mov	r5, r3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mul	r3, r5, r3
	add	r6, r4, r3
	b	.L2
.L5:
	ldr	r3, [fp, #4]
	mov	r1, r4
	mov	r0, r7
	blx	r3
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	mov	r3, r4
	b	.L4
.L3:
	add	r4, r4, r5
.L2:
	cmp	r4, r6
	bcc	.L5
	mvn	r3, #0
.L4:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	lfind, .-lfind
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
