	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function seek_subtitle
_seek_subtitle:                         ## @seek_subtitle
	.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
	movl	%edx, %ecx
	movq	8(%rsi), %r14
	movl	(%rdi), %eax
	movl	(%rsi), %edx
	movl	%ecx, %edi
	movl	%eax, %esi
	callq	_av_rescale_q
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_av_packet_unref
	movl	4(%r14), %edi
	movq	_INT64_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	movl	%ebx, %ecx
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	callq	_avformat_seek_file
	testq	%rax, %rax
	jns	LBB0_3
## %bb.1:
	movl	4(%r14), %edi
	movq	_INT64_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	movl	%ebx, %edx
	movl	%ebx, %ecx
	xorl	%r9d, %r9d
	callq	_avformat_seek_file
	testq	%rax, %rax
	js	LBB0_2
LBB0_3:
	movl	4(%r14), %edi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ff_read_packet                 ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT64_MIN,4,2                  ## @INT64_MIN
	.comm	_INT64_MAX,4,2                  ## @INT64_MAX
	.no_dead_strip	_seek_subtitle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function seek_subtitle
_seek_subtitle:                         ; @seek_subtitle
	.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
	mov	x9, x2
	ldr	x19, [x1, #8]
	ldr	w8, [x0]
	ldr	w2, [x1]
	mov	x0, x9
	mov	x1, x8
	bl	_av_rescale_q
	mov	x20, x0
	mov	x0, x19
	bl	_av_packet_unref
	ldr	w0, [x19, #4]
Lloh0:
	adrp	x8, _INT64_MIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT64_MIN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #0
	mov	x3, x20
	mov	x4, x20
	mov	w5, #0
	bl	_avformat_seek_file
	tbz	x0, #63, LBB0_2
; %bb.1:
	ldr	w0, [x19, #4]
Lloh3:
	adrp	x8, _INT64_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INT64_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	w1, #0
	mov	x2, x20
	mov	x3, x20
	mov	w5, #0
	bl	_avformat_seek_file
	tbnz	x0, #63, LBB0_3
LBB0_2:
	ldr	w0, [x19, #4]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ff_read_packet
LBB0_3:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_INT64_MIN,4,2                  ; @INT64_MIN
	.comm	_INT64_MAX,4,2                  ; @INT64_MAX
	.no_dead_strip	_seek_subtitle
.subsections_via_symbols
