	.file	"extr_mp4.c_FragSeekToPos.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	FragSeekToPos, @function
FragSeekToPos:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rbx, QWORD PTR [rdi]
	mov	ecx, DWORD PTR 16[rbx]
	test	ecx, ecx
	je	.L7
	mov	edx, DWORD PTR [rbx]
	test	edx, edx
	jne	.L3
.L7:
	mov	eax, DWORD PTR VLC_EGENERIC[rip]
.L1:
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rbp, rdi
	mov	r12d, esi
	mov	edi, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR 4[rbx]
	movsd	QWORD PTR 8[rsp], xmm0
	call	__MAX@PLT
	movsd	xmm1, QWORD PTR 8[rsp]
	test	rax, rax
	jne	.L5
	mov	eax, DWORD PTR 12[rbx]
	test	eax, eax
	jne	.L7
	mov	rdi, rbp
	movsd	QWORD PTR 8[rsp], xmm1
	call	ProbeFragmentsChecked@PLT
	cmp	DWORD PTR VLC_SUCCESS[rip], eax
	jne	.L1
	mov	esi, DWORD PTR 4[rbx]
	mov	edi, DWORD PTR 8[rbx]
	call	__MAX@PLT
	movsd	xmm1, QWORD PTR 8[rsp]
	test	rax, rax
	je	.L7
.L5:
	mov	esi, DWORD PTR [rbx]
	mov	rdi, rax
	movsd	QWORD PTR 8[rsp], xmm1
	call	MP4_rescale_mtime@PLT
	movsd	xmm1, QWORD PTR 8[rsp]
	add	rsp, 16
	.cfi_def_cfa_offset 32
	mov	edx, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	mulsd	xmm0, xmm1
	pop	r12
	.cfi_def_cfa_offset 8
	cvttsd2si	esi, xmm0
	jmp	FragSeekToTime@PLT
	.cfi_endproc
.LFE0:
	.size	FragSeekToPos, .-FragSeekToPos
	.comm	VLC_SUCCESS,4,4
	.comm	VLC_EGENERIC,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_mp4.c_FragSeekToPos.c"
	.text
	.global	__aeabi_dmul
	.global	__aeabi_d2iz
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	FragSeekToPos, %function
FragSeekToPos:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, [r0]
	mov	r7, r3
	ldr	r3, [r5, #16]
	ldr	r8, [sp, #24]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [r5]
	cmp	r3, #0
	bne	.L3
.L7:
	ldr	r3, .L16
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	mov	r4, r0
	ldr	r1, [r5, #4]
	ldr	r0, [r5, #8]
	mov	r6, r2
	bl	__MAX
	cmp	r0, #0
	bne	.L5
	ldr	r3, [r5, #12]
	cmp	r3, #0
	bne	.L7
	mov	r0, r4
	bl	ProbeFragmentsChecked
	ldr	r3, .L16+4
	ldr	r3, [r3]
	cmp	r3, r0
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r1, [r5, #4]
	ldr	r0, [r5, #8]
	bl	__MAX
	cmp	r0, #0
	beq	.L7
.L5:
	ldr	r1, [r5]
	bl	MP4_rescale_mtime
	mov	r2, r6
	mov	r3, r7
	bl	__aeabi_dmul
	bl	__aeabi_d2iz
	mov	r2, r8
	mov	r1, r0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	FragSeekToTime
.L17:
	.align	2
.L16:
	.word	VLC_EGENERIC
	.word	VLC_SUCCESS
	.size	FragSeekToPos, .-FragSeekToPos
	.comm	VLC_SUCCESS,4,4
	.comm	VLC_EGENERIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
