	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ffmpeg_seek_ts
_ffmpeg_seek_ts:                        ## @ffmpeg_seek_ts
	.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	%esi, %r15d
	movq	%rdi, %r12
	movq	24(%rdi), %rbx
	movq	32(%rdi), %rax
	movl	(%rax), %edi
	callq	_hb_list_count
	testl	%eax, %eax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_6
## %bb.1:
	movl	%eax, %r13d
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r12), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_hb_list_item
	movl	(%rax), %eax
	addl	%r14d, %eax
	cmpl	%r15d, %eax
	jg	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	movl	%eax, %r14d
	cmpl	%ebx, %r13d
	jne	LBB0_2
## %bb.4:
	movl	%r13d, %ebx
	movl	%eax, %r14d
LBB0_5:
	movl	%ebx, (%r12)
	jmp	LBB0_7
LBB0_6:
	movl	$0, (%r12)
	movq	_INT64_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_7:
	movl	%r14d, 4(%r12)
	movq	_AV_TIME_BASE@GOTPCREL(%rip), %r14
	imull	(%r14), %r15d
	movslq	%r15d, %rax
	imulq	$1563749871, %rax, %rbx         ## imm = 0x5D34EDEF
	movq	%rbx, %rax
	shrq	$63, %rax
	sarq	$47, %rbx
	addl	%eax, %ebx
	movq	%r12, %rdi
	callq	_ffmpeg_initial_timestamp
	addl	%eax, %ebx
	movq	8(%r12), %rax
	movq	24(%r12), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	8(%rax), %esi
	movl	(%r14), %edx
	imull	(%rax), %edx
	movl	%ebx, %edi
	callq	_av_rescale
	movl	$1, 16(%r12)
	movq	8(%r12), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%edx, %edx
	movl	%eax, %ecx
	movl	%eax, %r8d
	xorl	%r9d, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_avformat_seek_file             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_INT64_MAX,4,2                  ## @INT64_MAX
	.comm	_AV_TIME_BASE,4,2               ## @AV_TIME_BASE
	.no_dead_strip	_ffmpeg_seek_ts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ffmpeg_seek_ts
_ffmpeg_seek_ts:                        ; @ffmpeg_seek_ts
	.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, x1
	mov	x20, x0
	ldp	x19, x8, [x0, #24]
	ldr	w0, [x8]
	bl	_hb_list_count
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x22, x0
	mov	w24, #0
	mov	w23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #32]
	ldr	w0, [x8]
	mov	x1, x23
	bl	_hb_list_item
	ldr	w8, [x0]
	add	w8, w8, w24
	cmp	w8, w21
	b.gt	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w23, w23, #1
	mov	x24, x8
	cmp	w22, w23
	b.ne	LBB0_2
; %bb.4:
	mov	x23, x22
	mov	x24, x8
LBB0_5:
	str	w23, [x20]
	b	LBB0_7
LBB0_6:
	str	wzr, [x20]
Lloh0:
	adrp	x8, _INT64_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT64_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
LBB0_7:
	str	w24, [x20, #4]
Lloh3:
	adrp	x22, _AV_TIME_BASE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _AV_TIME_BASE@GOTPAGEOFF]
	ldr	w8, [x22]
	mul	w8, w8, w21
	mov	w9, #60911
	movk	w9, #23860, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #47
	add	w21, w8, w9
	mov	x0, x20
	bl	_ffmpeg_initial_timestamp
	add	w0, w21, w0
	ldr	x8, [x20, #24]
	ldr	x8, [x8]
	ldr	x9, [x20, #8]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w1, [x8, #8]
	ldr	w9, [x22]
	ldr	w8, [x8]
	mul	w2, w9, w8
	bl	_av_rescale
	mov	x3, x0
	mov	w8, #1
	str	w8, [x20, #16]
	ldr	x1, [x20, #8]
	mov	x0, x19
	mov	w2, #0
	mov	x4, x3
	mov	w5, #0
	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
	b	_avformat_seek_file
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_INT64_MAX,4,2                  ; @INT64_MAX
	.comm	_AV_TIME_BASE,4,2               ; @AV_TIME_BASE
	.no_dead_strip	_ffmpeg_seek_ts
.subsections_via_symbols
