	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stl_probe
_stl_probe:                             ## @stl_probe
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r14
	movq	%r14, %rdi
	callq	_AV_RB24
	xorl	%ecx, %ecx
	cmpl	$15711167, %eax                 ## imm = 0xEFBBBF
	sete	%cl
	leaq	(%rcx,%rcx,2), %rbx
	addq	%r14, %rbx
	leaq	L_.str(%rip), %r14
	movabsq	$68719485952, %r15              ## imm = 0x1000002400
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$2, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_5
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_ff_subtitles_next_line
	cltq
	addq	%rax, %rbx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	cmpq	$36, %rax
	ja	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	btq	%rax, %r15
	jb	LBB0_4
	jmp	LBB0_3
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	leaq	-25(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sscanf
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$1, %ecx
	jne	LBB0_7
## %bb.6:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"//"

L_.str.1:                               ## @.str.1
	.asciz	"%*d:%*d:%*d:%*d , %*d:%*d:%*d:%*d , %c"

	.comm	_AVPROBE_SCORE_MAX,4,2          ## @AVPROBE_SCORE_MAX
	.no_dead_strip	_stl_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stl_probe
_stl_probe:                             ; @stl_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x19, [x0]
	mov	x0, x19
	bl	_AV_RB24
	sub	w8, w0, #3835, lsl #12          ; =15708160
	cmp	w8, #3007
	mov	w8, #3
	csel	x8, x8, xzr, eq
	add	x19, x19, x8
	mov	w21, #1
	mov	x22, #9216
	movk	x22, #16, lsl #32
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_ff_subtitles_next_line
	add	x19, x19, w0, sxtw
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x19]
	cmp	w8, #36
	lsl	x8, x21, x8
	and	x8, x8, x22
	ccmp	x8, #0, #4, ls
	b.ne	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	w2, #2
	bl	_strncmp
	cbz	w0, LBB0_1
; %bb.4:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #15
	mov	x0, x19
	bl	_sscanf
Lloh4:
	adrp	x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w0, #1
	csel	w0, w8, wzr, eq
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"//"

l_.str.1:                               ; @.str.1
	.asciz	"%*d:%*d:%*d:%*d , %*d:%*d:%*d:%*d , %c"

	.comm	_AVPROBE_SCORE_MAX,4,2          ; @AVPROBE_SCORE_MAX
	.no_dead_strip	_stl_probe
.subsections_via_symbols
