	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dvbtxt_probe
_dvbtxt_probe:                          ## @dvbtxt_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movslq	8(%rdi), %r15
	imull	$-373475417, %r15d, %eax        ## imm = 0xE9BD37A7
	addl	$466844267, %eax                ## imm = 0x1BD37A6B
	rorl	$3, %eax
	xorl	%r14d, %r14d
	cmpl	$23342212, %eax                 ## imm = 0x1642C84
	ja	LBB0_9
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	movl	(%r12), %edi
	callq	_ff_data_identifier_is_teletext
	testl	%eax, %eax
	je	LBB0_9
## %bb.2:
	leaq	(%r12,%r15,4), %r15
	movq	(%rbx), %rbx
	addq	$4, %rbx
	cmpq	%r15, %rbx
	jae	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	callq	_ff_data_unit_id_is_teletext
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$255, (%rbx)
	jne	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$44, 4(%rbx)
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	addq	$184, %rbx
	cmpq	%r15, %rbx
	jb	LBB0_6
LBB0_4:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %r14d
	shrl	$31, %r14d
	addl	%eax, %r14d
	sarl	%r14d
LBB0_9:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVPROBE_SCORE_MAX,4,2          ## @AVPROBE_SCORE_MAX
	.no_dead_strip	_dvbtxt_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dvbtxt_probe
_dvbtxt_probe:                          ; @dvbtxt_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldrsw	x20, [x0, #8]
	add	w8, w20, #45
	mov	w9, #14247
	movk	w9, #59837, lsl #16
	mov	w10, #45584
	movk	w10, #1424, lsl #16
	madd	w8, w8, w9, w10
	ror	w8, w8, #3
	mov	w9, #11396
	movk	w9, #356, lsl #16
	cmp	w8, w9
	b.ls	LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_9
LBB0_2:
	mov	x19, x0
	ldr	x21, [x0]
	ldr	w0, [x21]
	bl	_ff_data_identifier_is_teletext
	cbz	w0, LBB0_9
; %bb.3:
	add	x20, x21, x20, lsl #2
	ldr	x8, [x19]
	add	x19, x8, #4
	cmp	x19, x20
	b.hs	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	bl	_ff_data_unit_id_is_teletext
	cbnz	w0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19]
	cmp	w8, #255
	b.ne	LBB0_1
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #4]
	cmp	w8, #44
	b.ne	LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, #184
	cmp	x19, x20
	b.lo	LBB0_4
LBB0_8:
Lloh0:
	adrp	x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w0, w8, #1
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AVPROBE_SCORE_MAX,4,2          ; @AVPROBE_SCORE_MAX
	.no_dead_strip	_dvbtxt_probe
.subsections_via_symbols
