	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rawvideo_reader_seek
_rawvideo_reader_seek:                  ## @rawvideo_reader_seek
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	(%rax), %r13
	movl	%edx, %edi
	callq	_VC_CONTAINER_PARAM_UNUSED
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rcx
	movl	(%rcx), %eax
	imull	(%r14), %eax
	cltd
	idivl	4(%rcx)
	movl	%eax, %ebx
	movl	$1000000, %edi                  ## imm = 0xF4240
	callq	_INT64_C
	movl	%eax, %ecx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	movl	%eax, %ebx
	movl	%eax, (%r13)
	movq	$0, 32(%r13)
	movq	_VC_CONTAINER_SEEK_FLAG_FORWARD@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_3
## %bb.1:
	movl	$1000000, %edi                  ## imm = 0xF4240
	callq	_INT64_C
	imull	%ebx, %eax
	movq	(%r15), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	imull	4(%rcx), %eax
	cltd
	idivl	(%rcx)
	movl	(%r13), %ebx
	cmpl	(%r14), %eax
	jge	LBB0_3
## %bb.2:
	incl	%ebx
	movl	%ebx, (%r13)
LBB0_3:
	movq	$0, 24(%r13)
	movl	8(%r13), %eax
	addl	4(%r13), %eax
	imull	%ebx, %eax
	movslq	%eax, %rsi
	addq	16(%r13), %rsi
	movq	%r15, %rdi
	callq	_SEEK
	movl	%eax, 12(%r13)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_SEEK_FLAG_FORWARD,4,2 ## @VC_CONTAINER_SEEK_FLAG_FORWARD
	.no_dead_strip	_rawvideo_reader_seek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rawvideo_reader_seek
_rawvideo_reader_seek:                  ; @rawvideo_reader_seek
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x3
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x22, [x8]
	mov	x0, x2
	bl	_VC_CONTAINER_PARAM_UNUSED
	ldr	w8, [x20]
	ldr	x9, [x19]
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldp	w10, w9, [x9]
	mul	w8, w10, w8
	sdiv	w23, w8, w9
	mov	w0, #16960
	movk	w0, #15, lsl #16
	bl	_INT64_C
	sdiv	w23, w23, w0
	str	w23, [x22]
	str	xzr, [x22, #32]
Lloh0:
	adrp	x8, _VC_CONTAINER_SEEK_FLAG_FORWARD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VC_CONTAINER_SEEK_FLAG_FORWARD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_3
; %bb.1:
	mov	w0, #16960
	movk	w0, #15, lsl #16
	bl	_INT64_C
	mul	w8, w0, w23
	ldr	x9, [x19]
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldp	w9, w10, [x9]
	mul	w8, w8, w10
	sdiv	w8, w8, w9
	ldr	w9, [x20]
	ldr	w23, [x22]
	cmp	w8, w9
	b.ge	LBB0_3
; %bb.2:
	add	w23, w23, #1
	str	w23, [x22]
LBB0_3:
	str	xzr, [x22, #24]
	ldr	x8, [x22, #16]
	ldp	w9, w10, [x22, #4]
	add	w9, w10, w9
	mul	w9, w9, w23
	add	x1, x8, w9, sxtw
	mov	x0, x19
	bl	_SEEK
	str	w0, [x22, #12]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_SEEK_FLAG_FORWARD,4,2 ; @VC_CONTAINER_SEEK_FLAG_FORWARD
	.no_dead_strip	_rawvideo_reader_seek
.subsections_via_symbols
