	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dv_probe
_dv_probe:                              ## @dv_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ecx, %ecx
	cmpl	$5, (%rdi)
	jl	LBB0_20
## %bb.1:
	movq	%rdi, %r13
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %r15d
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	$-12646655, %eax                ## imm = 0xFF3F0701
	leal	80(%r15), %ecx
	movl	%ebx, %edx
	xorl	%ecx, %edx
	xorl	%ecx, %ecx
	orl	%eax, %edx
	sete	%cl
	addl	%ecx, %r12d
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r13), %rsi
	leaq	-4(%rsi), %rax
	cmpq	%rax, %rbx
	jge	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rdi
	addq	%rbx, %rdi
	callq	_AV_RB32
	movl	%eax, %ecx
	andl	$522304, %ecx                   ## imm = 0x7F840
	cmpl	$458752, %ecx                   ## imm = 0x70000
	jne	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %ecx
	andl	$-16253057, %ecx                ## imm = 0xFF07FF7F
	cmpl	$520552511, %ecx                ## imm = 0x1F07003F
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%r14d
	movl	%eax, %ecx
	andl	$-129, %ecx
	cmpl	$520552511, %ecx                ## imm = 0x1F07003F
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	testq	%rbx, %rbx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	$1, %edx
	cmovel	%edx, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$4130560, %eax                  ## imm = 0x3F0700
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-12646656, %eax                ## imm = 0xFF3F0700
	je	LBB0_8
	jmp	LBB0_9
LBB0_11:
	xorl	%ecx, %ecx
	testl	%r12d, %r12d
	je	LBB0_20
## %bb.12:
	movl	%esi, %eax
	cltd
	idivl	%r12d
	cmpl	$1048575, %eax                  ## imm = 0xFFFFF
	jg	LBB0_20
## %bb.13:
	cmpl	$4, %r12d
	jg	LBB0_17
## %bb.14:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_17
## %bb.15:
	cmpl	$10, %r14d
	jl	LBB0_18
## %bb.16:
	movl	%esi, %eax
	cltd
	idivl	%r14d
	cmpl	$23999, %eax                    ## imm = 0x5DBF
	jg	LBB0_18
LBB0_17:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,2), %edx
	leal	(%rax,%rax,2), %ecx
	addl	$3, %ecx
	testl	%edx, %edx
	cmovnsl	%edx, %ecx
	jmp	LBB0_19
LBB0_18:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
LBB0_19:
	sarl	$2, %ecx
LBB0_20:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVPROBE_SCORE_MAX,4,2          ## @AVPROBE_SCORE_MAX
	.no_dead_strip	_dv_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dv_probe
_dv_probe:                              ; @dv_probe
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	w8, [x0]
	cmp	w8, #5
	b.lt	LBB0_10
; %bb.1:
	mov	x19, x0
	mov	x23, #0
	mov	w20, #0
	mov	w21, #0
	mov	w22, #0
	mov	w24, #0
	mov	w25, #63
	movk	w25, #7943, lsl #16
	mov	w28, #1792
	movk	w28, #63, lsl #16
	mov	w26, #1792
	movk	w26, #65343, lsl #16
	mov	w27, #1793
	movk	w27, #65343, lsl #16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x23, x8
	bl	_AV_RB32
	mov	w8, #63552
	movk	w8, #7, lsl #16
	and	w8, w0, w8
	mov	w9, #65407
	movk	w9, #65287, lsl #16
	and	w9, w0, w9
	and	w10, w0, #0xffffff7f
	cmp	x23, #0
	csinc	w11, w21, wzr, ne
	cmp	w10, w25
	csel	w10, w21, w11, ne
	cinc	w11, w22, eq
	cmp	w9, w25
	csel	w9, w22, w11, ne
	csel	w10, w21, w10, ne
	cinc	w11, w20, eq
	cmp	w0, w28
	ccmp	w0, w26, #4, ne
	csel	w12, w24, w23, ne
	cmp	w0, w27
	add	w13, w12, #80
	ccmp	w13, w23, #0, eq
	cinc	w9, w9, eq
	cmp	w8, #112, lsl #12               ; =458752
	csel	w24, w24, w12, ne
	csel	w22, w22, w9, ne
	csel	w21, w21, w10, ne
	csel	w20, w20, w11, ne
	add	x23, x23, #1
	ldrsw	x8, [x19]
	sub	x9, x8, #4
	cmp	x23, x9
	b.lt	LBB0_2
; %bb.3:
	cbz	w22, LBB0_10
; %bb.4:
	sdiv	w9, w8, w22
	cmp	w9, #256, lsl #12               ; =1048576
	b.ge	LBB0_10
; %bb.5:
	cmp	w22, #4
	b.gt	LBB0_9
; %bb.6:
	cbnz	w21, LBB0_9
; %bb.7:
	cmp	w20, #10
	b.lt	LBB0_12
; %bb.8:
	sdiv	w8, w8, w20
	mov	w9, #23999
	cmp	w8, w9
	b.gt	LBB0_12
LBB0_9:
Lloh0:
	adrp	x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w8, w8, w8, lsl #1
	b	LBB0_13
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh3:
	adrp	x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
LBB0_13:
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #2
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AVPROBE_SCORE_MAX,4,2          ; @AVPROBE_SCORE_MAX
	.no_dead_strip	_dv_probe
.subsections_via_symbols
