	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function srt_probe
_srt_probe:                             ## @srt_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	%r14
	pushq	%rbx
	subq	$112, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movl	(%rdi), %edx
	movl	4(%rdi), %esi
	leaq	-100(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ff_text_init_buf
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_ff_text_r8
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_ff_text_peek_r8
	cmpb	$13, %al
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_ff_text_peek_r8
	cmpb	$10, %al
	je	LBB0_3
## %bb.4:
	leaq	-100(%rbp), %rdi
	leaq	-96(%rbp), %rbx
	movq	%rbx, %rsi
	movl	$64, %edx
	callq	_ff_subtitles_read_line
	xorl	%r14d, %r14d
	testq	%rax, %rax
	js	LBB0_14
## %bb.5:
	leaq	-112(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
	callq	_strtol
	testq	%rax, %rax
	js	LBB0_14
## %bb.6:
	cmpq	%rbx, -112(%rbp)
	je	LBB0_14
## %bb.7:
	leaq	-100(%rbp), %rdi
	leaq	-96(%rbp), %rsi
	movl	$64, %edx
	callq	_ff_subtitles_read_line
	testq	%rax, %rax
	js	LBB0_14
## %bb.8:
	movb	-96(%rbp), %al
	cmpb	$45, %al
	jne	LBB0_10
## %bb.9:
	leaq	-95(%rbp), %rax
	movq	%rax, -112(%rbp)
	movb	-95(%rbp), %al
LBB0_10:
	addb	$-48, %al
	cmpb	$9, %al
	ja	LBB0_14
## %bb.11:
	leaq	L_.str(%rip), %rsi
	leaq	-96(%rbp), %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	leaq	L_.str.1(%rip), %rsi
	leaq	-96(%rbp), %rdi
	leaq	-116(%rbp), %rdx
	callq	_sscanf
	xorl	%r14d, %r14d
	cmpl	$1, %eax
	jne	LBB0_14
## %bb.13:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movl	%r14d, %eax
	addq	$112, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" --> "

L_.str.1:                               ## @.str.1
	.asciz	"%*d:%*d:%*d%*1[,.]%*d --> %*d:%*d:%*d%*1[,.]%d"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function srt_probe
_srt_probe:                             ; @srt_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	ldp	w2, w1, [x0]
	add	x0, sp, #4
	bl	_ff_text_init_buf
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #4
	bl	_ff_text_r8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #4
	bl	_ff_text_peek_r8
	cmp	w0, #13
	b.eq	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #4
	bl	_ff_text_peek_r8
	cmp	w0, #10
	b.eq	LBB0_1
; %bb.4:
	add	x0, sp, #4
	add	x1, sp, #24
	mov	w2, #64
	bl	_ff_subtitles_read_line
	tbnz	x0, #63, LBB0_13
; %bb.5:
	add	x19, sp, #24
	add	x0, sp, #24
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtol
	mov	x8, x0
	mov	w0, #0
	tbnz	x8, #63, LBB0_14
; %bb.6:
	ldr	x8, [sp, #8]
	cmp	x8, x19
	b.eq	LBB0_14
; %bb.7:
	add	x0, sp, #4
	add	x1, sp, #24
	mov	w2, #64
	bl	_ff_subtitles_read_line
	tbnz	x0, #63, LBB0_13
; %bb.8:
	ldrb	w8, [sp, #24]
	cmp	w8, #45
	b.ne	LBB0_10
; %bb.9:
	add	x8, sp, #24
	add	x8, x8, #1
	str	x8, [sp, #8]
	ldrb	w8, [sp, #25]
LBB0_10:
	sub	w8, w8, #48
	cmp	w8, #9
	b.hi	LBB0_13
; %bb.11:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #24
	bl	_strstr
	cbz	x0, LBB0_14
; %bb.12:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #24
	add	x2, sp, #20
	bl	_sscanf
Lloh7:
	adrp	x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w0, #1
	csel	w0, w8, wzr, eq
	b	LBB0_14
LBB0_13:
	mov	w0, #0
LBB0_14:
	ldur	x8, [x29, #-24]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" --> "

l_.str.1:                               ; @.str.1
	.asciz	"%*d:%*d:%*d%*1[,.]%*d --> %*d:%*d:%*d%*1[,.]%d"

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