	.file	"extr_dvd.c_hb_dvdread_seek.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hb_dvdread_seek, @function
hb_dvdread_seek:
.LFB0:
	.cfi_startproc
	endbr64
	movsx	rax, DWORD PTR 4[rdi]
	mov	esi, DWORD PTR 8[rdi]
	mulss	xmm0, DWORD PTR [rdi]
	cmp	esi, eax
	jl	.L14
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	cvttss2si	ebx, xmm0
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rdx, QWORD PTR 32[rdi]
	mov	rcx, QWORD PTR [rdx]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	add	rax, 1
	sub	ebx, edx
	cmp	esi, eax
	jl	.L5
.L7:
	mov	edi, DWORD PTR [rcx+rax*8]
	mov	r12d, eax
	lea	r13, 0[0+rax*8]
	lea	edx, 1[rdi]
	sub	edx, DWORD PTR 4[rcx+rax*8]
	cmp	ebx, edx
	jge	.L4
	mov	DWORD PTR 12[rbp], eax
	mov	rdi, rbp
	mov	QWORD PTR 40[rbp], 0
	call	FindNextCell@PLT
	mov	rax, QWORD PTR 32[rbp]
	mov	rax, QWORD PTR [rax]
	add	ebx, DWORD PTR 4[rax+r13]
	mov	QWORD PTR 24[rbp], 0
	mov	DWORD PTR 16[rbp], ebx
	cmp	DWORD PTR 8[rbp], r12d
	jl	.L5
	mov	DWORD PTR 20[rbp], 2
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	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
.L5:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
.L14:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	hb_dvdread_seek, .-hb_dvdread_seek
	.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_dvd.c_hb_dvdread_seek.c"
	.text
	.global	__aeabi_fmul
	.global	__aeabi_f2iz
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hb_dvdread_seek, %function
hb_dvdread_seek:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	mov	r0, r1
	ldr	r1, [r6]	@ float
	bl	__aeabi_fmul
	bl	__aeabi_f2iz
	ldmib	r6, {r4, ip}
	cmp	ip, r4
	blt	.L5
	ldr	r3, [r6, #28]
	mov	r5, r0
	ldr	r1, [r3]
	add	r0, r1, #4
	b	.L7
.L4:
	add	r4, r4, #1
	cmp	ip, r4
	sub	r5, r5, r3
	blt	.L5
.L7:
	ldr	r3, [r1, r4, lsl #3]
	ldr	r2, [r0, r4, lsl #3]
	add	r3, r3, #1
	sub	r3, r3, r2
	cmp	r5, r3
	lsl	r7, r4, #3
	bge	.L4
	mov	r8, #0
	mov	r0, r6
	str	r4, [r6, #12]
	str	r8, [r6, #32]
	bl	FindNextCell
	ldr	r3, [r6, #28]
	ldr	r2, [r6, #8]
	ldr	r3, [r3]
	cmp	r2, r4
	add	r7, r3, r7
	ldr	r0, [r7, #4]
	str	r8, [r6, #24]
	add	r5, r0, r5
	str	r5, [r6, #16]
	blt	.L5
	mov	r3, #2
	mov	r0, #1
	str	r3, [r6, #20]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
	.size	hb_dvdread_seek, .-hb_dvdread_seek
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
