	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function dvbsub_probe
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_dvbsub_probe:                          ## @dvbsub_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	8(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movq	(%rdi), %rcx
	leaq	(%rcx,%rax,4), %rdx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	xorl	%edx, %edx
	xorl	%esi, %esi
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	cmpl	$15, (%rcx,%rdx,4)
	jne	LBB0_16
	.p2align	4, 0x90
LBB0_4:
	movl	%esi, -84(%rbp)                 ## 4-byte Spill
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	leaq	(%rcx,%rdx,4), %r15
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	$0, -64(%rbp)
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	subq	%r15, %r12
	xorl	%eax, %eax
	movl	$0, %ebx
	movl	$0, %r14d
	movl	$0, %esi
	movl	$0, %r13d
	cmpq	$25, %r12
	jl	LBB0_15
## %bb.5:
	xorl	%r13d, %r13d
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r15), %r14d
	leaq	16(%r15), %rdi
	callq	_AV_RB16
	cmpl	$128, %r14d
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	addl	$-16, %r14d
	cmpl	$4, %r14d
	ja	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%r14d, %ecx
	incl	-80(%rbp,%rcx,4)
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	shrq	$2, %r12
	addl	$6, %eax
	cltq
	cmpq	%rax, %r12
	jl	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%r15,%rax,4), %r15
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	subq	%r15, %r12
	cmpq	$25, %r12
	jl	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	incl	%ebx
	incl	%r13d
	cmpl	$15, (%r15)
	je	LBB0_6
	jmp	LBB0_14
LBB0_12:
	decl	%ebx
LBB0_13:
	movl	%ebx, %r13d
LBB0_14:
	movl	-80(%rbp), %esi
	movl	-76(%rbp), %r14d
	movl	-72(%rbp), %ebx
	movl	-68(%rbp), %eax
LBB0_15:
	movl	$255, %edi
	movl	%eax, %r15d
	callq	_FFMIN
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_FFMIN
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_FFMIN
	movl	%eax, %edi
	movl	%r15d, %esi
	callq	_FFMIN
	movl	-84(%rbp), %esi                 ## 4-byte Reload
	cmpl	%esi, %r13d
	cmovlel	%esi, %r13d
	testl	%eax, %eax
	cmovnel	%r13d, %esi
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	8(%rdi), %eax
	movq	-112(%rbp), %rdx                ## 8-byte Reload
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	incq	%rdx
	movslq	%eax, %rcx
	cmpq	%rcx, %rdx
	jge	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	(%rdi), %rcx
	cmpl	$15, (%rcx,%rdx,4)
	je	LBB0_4
	jmp	LBB0_16
LBB0_18:
	xorl	%eax, %eax
	cmpl	$6, %esi
	jl	LBB0_20
## %bb.19:
	movq	_AVPROBE_SCORE_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_20
LBB0_1:
	xorl	%eax, %eax
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_22
## %bb.21:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ## @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_dvbsub_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dvbsub_probe
_dvbsub_probe:                          ; @dvbsub_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	w8, [x0, #8]
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.1:
	mov	x19, x0
	mov	x24, #0
	mov	w23, #0
	ldr	x9, [x0]
	add	x25, x9, x8, lsl #2
	mov	x26, sp
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	add	x20, x9, x24, lsl #2
	ldr	w9, [x20]
	cmp	w9, #15
	b.ne	LBB0_16
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	stp	xzr, xzr, [sp]
	str	xzr, [sp, #16]
	sub	x22, x25, x20
	cmp	x22, #25
	b.lt	LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w27, #0
	mov	w21, #1
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w28, [x20, #4]
	add	x0, x20, #16
	bl	_AV_RB16
	cmp	w28, #128
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	sub	w8, w28, #16
	cmp	w8, #4
	b.hi	LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=2
	lsl	x8, x8, #2
	ldr	w9, [x26, x8]
	add	w9, w9, #1
	str	w9, [x26, x8]
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=2
	lsr	x9, x22, #2
	add	w8, w0, #6
	sxtw	x8, w8
	cmp	x9, x8
	b.lt	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x20, x20, x8, lsl #2
	sub	x22, x25, x20
	cmp	x22, #25
	b.lt	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=2
	ldr	w8, [x20]
	add	w21, w21, #1
	add	w27, w27, #1
	cmp	w8, #15
	b.eq	LBB0_5
	b	LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w20, #0
	mov	w21, #0
	mov	w22, #0
	mov	w1, #0
	mov	w27, #0
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w27, w21, #1
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x27, x21
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	w1, w22, [sp]
	ldp	w21, w20, [sp, #8]
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #255
	bl	_FFMIN
	mov	x1, x22
	bl	_FFMIN
	mov	x1, x21
	bl	_FFMIN
	mov	x1, x20
	bl	_FFMIN
	cmp	w27, w23
	ccmp	w0, #0, #4, gt
	csel	w23, w27, w23, ne
	ldr	w8, [x19, #8]
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x24, x24, #1
	cmp	x24, w8, sxtw
	b.ge	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x19]
	b	LBB0_2
LBB0_18:
Lloh3:
	adrp	x8, _AVPROBE_SCORE_EXTENSION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVPROBE_SCORE_EXTENSION@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w23, #5
	csel	w0, w8, wzr, gt
	b	LBB0_20
LBB0_19:
	mov	w0, #0
LBB0_20:
	ldr	x8, [sp, #24]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.21:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ; @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_dvbsub_probe
.subsections_via_symbols
