	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function microdvd_probe
_microdvd_probe:                        ## @microdvd_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	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_AV_RB24
	leaq	12(%rbx), %r14
	cmpl	$15711167, %eax                 ## imm = 0xEFBBBF
	cmovneq	%rbx, %r14
	leaq	L_.str(%rip), %rsi
	leaq	-17(%rbp), %rdx
	movq	%r14, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	je	LBB0_3
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	leaq	-17(%rbp), %rdx
	movq	%r14, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	je	LBB0_3
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	leaq	-17(%rbp), %rdx
	movq	%r14, %rdi
	callq	_sscanf
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$1, %ecx
	jne	LBB0_10
LBB0_3:
	movq	%r14, %rdi
	callq	_ff_subtitles_next_line
	cltq
	leaq	(%r14,%rax,4), %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-17(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	je	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	leaq	-17(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	leaq	-17(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sscanf
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$1, %ecx
	jne	LBB0_10
LBB0_6:
	movq	%rbx, %rdi
	callq	_ff_subtitles_next_line
	cltq
	leaq	(%rbx,%rax,4), %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-17(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	je	LBB0_9
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
	leaq	-17(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
	leaq	-17(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sscanf
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$1, %ecx
	jne	LBB0_10
LBB0_9:
	movq	%rbx, %rdi
	callq	_ff_subtitles_next_line
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"{%*d}{}%c"

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

L_.str.2:                               ## @.str.2
	.asciz	"{DEFAULT}{}%c"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function microdvd_probe
_microdvd_probe:                        ; @microdvd_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
	mov	x0, x19
	bl	_AV_RB24
	sub	w8, w0, #3835, lsl #12          ; =15708160
	cmp	w8, #3007
	mov	w8, #12
	csel	x8, x8, xzr, eq
	add	x19, x19, x8
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #15
	mov	x0, x19
	bl	_sscanf
	cmp	w0, #1
	b.eq	LBB0_3
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #15
	mov	x0, x19
	bl	_sscanf
	cmp	w0, #1
	b.eq	LBB0_3
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #15
	mov	x0, x19
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_10
LBB0_3:
	mov	x0, x19
	bl	_ff_subtitles_next_line
	add	x19, x19, w0, sxtw #2
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #15
	mov	x0, x19
	bl	_sscanf
	cmp	w0, #1
	b.eq	LBB0_6
; %bb.4:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #15
	mov	x0, x19
	bl	_sscanf
	cmp	w0, #1
	b.eq	LBB0_6
; %bb.5:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #15
	mov	x0, x19
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_10
LBB0_6:
	mov	x0, x19
	bl	_ff_subtitles_next_line
	add	x19, x19, w0, sxtw #2
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #15
	mov	x0, x19
	bl	_sscanf
	cmp	w0, #1
	b.eq	LBB0_9
; %bb.7:
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #15
	mov	x0, x19
	bl	_sscanf
	cmp	w0, #1
	b.eq	LBB0_9
; %bb.8:
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #15
	mov	x0, x19
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_ff_subtitles_next_line
Lloh18:
	adrp	x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	b	LBB0_11
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"{%*d}{}%c"

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

l_.str.2:                               ; @.str.2
	.asciz	"{DEFAULT}{}%c"

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