	.file	"extr_raw_video_reader.c_rawvideo_reader_seek.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rawvideo_reader_seek, @function
rawvideo_reader_seek:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	edi, edx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rax, QWORD PTR 8[rbp]
	mov	rbx, QWORD PTR [rax]
	call	VC_CONTAINER_PARAM_UNUSED@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	edi, 1000000
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR [r12]
	imul	eax, DWORD PTR [rcx]
	cdq
	idiv	DWORD PTR 4[rcx]
	mov	r13d, eax
	call	INT64_C@PLT
	mov	QWORD PTR 32[rbx], 0
	mov	r8d, eax
	mov	eax, r13d
	cdq
	idiv	r8d
	mov	DWORD PTR [rbx], eax
	mov	r13d, eax
	test	DWORD PTR VC_CONTAINER_SEEK_FLAG_FORWARD[rip], r14d
	jne	.L9
.L2:
	mov	ecx, DWORD PTR 8[rbx]
	add	ecx, DWORD PTR 4[rbx]
	mov	QWORD PTR 24[rbx], 0
	mov	rdi, rbp
	mov	eax, ecx
	imul	eax, r13d
	movsx	rsi, eax
	add	rsi, QWORD PTR 16[rbx]
	call	SEEK@PLT
	mov	DWORD PTR 12[rbx], eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, 1000000
	call	INT64_C@PLT
	mov	rdx, QWORD PTR 0[rbp]
	imul	eax, r13d
	mov	rdx, QWORD PTR [rdx]
	mov	rdx, QWORD PTR [rdx]
	mov	rdi, QWORD PTR [rdx]
	imul	eax, DWORD PTR 4[rdi]
	cdq
	idiv	DWORD PTR [rdi]
	cmp	eax, DWORD PTR [r12]
	jge	.L10
	mov	eax, DWORD PTR [rbx]
	lea	r13d, 1[rax]
	mov	DWORD PTR [rbx], r13d
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L10:
	mov	r13d, DWORD PTR [rbx]
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	rawvideo_reader_seek, .-rawvideo_reader_seek
	.comm	VC_CONTAINER_SEEK_FLAG_FORWARD,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_raw_video_reader.c_rawvideo_reader_seek.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rawvideo_reader_seek, %function
rawvideo_reader_seek:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r7, r1
	ldr	r1, [r0, #4]
	mov	r0, r2
	ldr	r4, [r1]
	mov	r8, r3
	bl	VC_CONTAINER_PARAM_UNUSED
	ldr	r3, [r5]
	ldr	r2, [r7]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldm	r3, {r0, r1}
	mul	r0, r2, r0
	bl	__aeabi_idiv
	mov	r6, r0
	ldr	r0, .L10
	bl	INT64_C
	mov	r1, r0
	mov	r0, r6
	bl	__aeabi_idiv
	mov	r2, #0
	ldr	r3, .L10+4
	mov	r6, r0
	ldr	r3, [r3]
	str	r0, [r4]
	tst	r8, r3
	str	r2, [r4, #24]
	bne	.L9
.L2:
	mov	r2, #0
	ldr	r1, [r4, #8]
	ldr	r3, [r4, #4]
	mov	r0, r5
	add	r3, r3, r1
	ldr	r1, [r4, #16]
	str	r2, [r4, #20]
	mla	r1, r6, r3, r1
	bl	SEEK
	str	r0, [r4, #12]
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	ldr	r0, .L10
	bl	INT64_C
	ldr	r3, [r5]
	mul	r0, r6, r0
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldm	r3, {r1, r2}
	mul	r0, r2, r0
	bl	__aeabi_idiv
	ldr	r3, [r7]
	ldr	r6, [r4]
	cmp	r0, r3
	addlt	r6, r6, #1
	strlt	r6, [r4]
	b	.L2
.L11:
	.align	2
.L10:
	.word	1000000
	.word	VC_CONTAINER_SEEK_FLAG_FORWARD
	.size	rawvideo_reader_seek, .-rawvideo_reader_seek
	.comm	VC_CONTAINER_SEEK_FLAG_FORWARD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
