	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv_read_seek
_mv_read_seek:                          ## @mv_read_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_AVSEEK_FLAG_FRAME@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_AVSEEK_FLAG_BYTE@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_4
LBB0_2:
	movq	_ENOSYS@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_4:
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	_AVIO_SEEKABLE_NORMAL@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	testl	%edi, (%rax)
	je	LBB0_5
## %bb.6:
	movq	16(%rbx), %rax
	movq	24(%rbx), %r14
	movslq	%esi, %rsi
	movq	(%rax,%rsi,8), %rdi
	movl	%edx, %esi
	movl	%ecx, %edx
	callq	_av_index_search_timestamp
	testl	%eax, %eax
	js	LBB0_9
## %bb.7:
	cmpl	$0, (%rbx)
	jle	LBB0_8
## %bb.10:
	movq	(%r14), %rdx
	xorl	%ecx, %ecx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, (%rdx,%rsi,4)
	incq	%rsi
	movslq	(%rbx), %rdi
	cmpq	%rdi, %rsi
	jl	LBB0_11
	jmp	LBB0_12
LBB0_5:
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_9:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_12
LBB0_8:
	xorl	%ecx, %ecx
LBB0_12:
	movl	%ecx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVSEEK_FLAG_FRAME,4,2          ## @AVSEEK_FLAG_FRAME
	.comm	_AVSEEK_FLAG_BYTE,4,2           ## @AVSEEK_FLAG_BYTE
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_AVIO_SEEKABLE_NORMAL,4,2       ## @AVIO_SEEKABLE_NORMAL
	.comm	_EIO,4,2                        ## @EIO
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_mv_read_seek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv_read_seek
_mv_read_seek:                          ; @mv_read_seek
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _AVSEEK_FLAG_FRAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVSEEK_FLAG_FRAME@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w3
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AVSEEK_FLAG_BYTE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVSEEK_FLAG_BYTE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w3
	b.eq	LBB0_4
LBB0_2:
Lloh6:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_4:
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _AVIO_SEEKABLE_NORMAL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AVIO_SEEKABLE_NORMAL@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.5:
	ldp	x8, x20, [x19, #16]
	ldr	x0, [x8, w1, sxtw #3]
	mov	x1, x2
	mov	x2, x3
	bl	_av_index_search_timestamp
	tbnz	w0, #31, LBB0_11
; %bb.6:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x8, #0
	ldr	x9, [x20]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	str	w0, [x9, x8, lsl #2]
	add	x8, x8, #1
	ldrsw	x10, [x19]
	cmp	x8, x10
	b.lt	LBB0_8
LBB0_9:
	mov	w0, #0
	b	LBB0_12
LBB0_10:
Lloh11:
	adrp	x8, _EIO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_3
LBB0_11:
Lloh13:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_AVSEEK_FLAG_FRAME,4,2          ; @AVSEEK_FLAG_FRAME
	.comm	_AVSEEK_FLAG_BYTE,4,2           ; @AVSEEK_FLAG_BYTE
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_AVIO_SEEKABLE_NORMAL,4,2       ; @AVIO_SEEKABLE_NORMAL
	.comm	_EIO,4,2                        ; @EIO
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_mv_read_seek
.subsections_via_symbols
