	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nsv_probe
_nsv_probe:                             ## @nsv_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
	movq	%rdi, %r15
	movq	(%rdi), %rax
	cmpb	$78, (%rax)
	jne	LBB0_6
## %bb.1:
	cmpb	$83, 1(%rax)
	jne	LBB0_6
## %bb.2:
	cmpb	$86, 2(%rax)
	jne	LBB0_6
## %bb.3:
	movb	3(%rax), %cl
	cmpb	$115, %cl
	je	LBB0_5
## %bb.4:
	cmpb	$102, %cl
	jne	LBB0_6
LBB0_5:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_6:
	xorl	%r12d, %r12d
	cmpl	$5, 8(%r15)
	jl	LBB0_14
## %bb.7:
	xorl	%r12d, %r12d
	movl	$20, %r13d
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rax,%r13), %rdi
	addq	$-19, %rdi
	callq	_AV_RL32
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_AV_RL32
	cmpq	%rax, %rbx
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r15), %rdi
	addq	%r13, %rdi
	callq	_AV_RL24
	movl	%eax, %ebx
	sarl	$4, %ebx
	movq	(%r15), %rax
	leaq	(%rax,%r13), %rdi
	addq	$3, %rdi
	callq	_AV_RL16
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %eax
	leal	(%rax,%r13), %ecx
	addl	$4, %ecx
	movl	8(%r15), %edx
	addl	$-2, %edx
	cmpl	%edx, %ecx
	jge	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	addl	%r13d, %eax
	addl	$5, %eax
	movslq	%eax, %rdi
	addq	(%r15), %rdi
	callq	_AV_RL16
	cmpl	$48879, %eax                    ## imm = 0xBEEF
	je	LBB0_18
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$1717986919, %rax, %r12         ## imm = 0x66666667
	movq	%r12, %rax
	shrq	$63, %rax
	sarq	$33, %r12
	addl	%eax, %r12d
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	leaq	-18(%r13), %rax
	movslq	8(%r15), %rcx
	addq	$-3, %rcx
	cmpq	%rcx, %rax
	jge	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r15), %rax
	incq	%r13
	jmp	LBB0_8
LBB0_14:
	movl	12(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_av_match_ext
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movq	_AVPROBE_SCORE_EXTENSION@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %r12d
LBB0_17:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$2, %eax
	cltq
	imulq	$1717986919, %rax, %r12         ## imm = 0x66666667
	movq	%r12, %rax
	shrq	$63, %rax
	sarq	$33, %r12
	addl	%eax, %r12d
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_AVPROBE_SCORE_MAX,4,2          ## @AVPROBE_SCORE_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NSVs"

L_.str.1:                               ## @.str.1
	.asciz	"nsv"

	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ## @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_nsv_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nsv_probe
_nsv_probe:                             ; @nsv_probe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	x8, [x0]
	ldrb	w9, [x8]
	cmp	w9, #78
	b.ne	LBB0_6
; %bb.1:
	ldrb	w9, [x8, #1]
	cmp	w9, #83
	b.ne	LBB0_6
; %bb.2:
	ldrb	w9, [x8, #2]
	cmp	w9, #86
	b.ne	LBB0_6
; %bb.3:
	ldrb	w9, [x8, #3]
	cmp	w9, #115
	b.eq	LBB0_5
; %bb.4:
	cmp	w9, #102
	b.ne	LBB0_6
LBB0_5:
Lloh0:
	adrp	x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_16
LBB0_6:
	ldr	w9, [x19, #8]
	cmp	w9, #5
	b.lt	LBB0_14
; %bb.7:
	mov	w26, #0
	mov	w22, #20
	mov	w24, #48879
Lloh3:
	adrp	x23, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh4:
	ldr	x23, [x23, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
	mov	w25, #26215
	movk	w25, #26214, lsl #16
Lloh5:
	adrp	x20, l_.str@PAGE
Lloh6:
	add	x20, x20, l_.str@PAGEOFF
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x22
	sub	x0, x8, #19
	bl	_AV_RL32
	mov	x21, x0
	mov	x0, x20
	bl	_AV_RL32
	cmp	x21, x0
	b.ne	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19]
	add	x0, x8, x22
	bl	_AV_RL24
	asr	w21, w0, #4
	ldr	x8, [x19]
	add	x8, x8, x22
	add	x0, x8, #3
	bl	_AV_RL16
	add	w8, w0, w21
	add	w9, w22, w8
	add	w9, w9, #4
	ldr	w10, [x19, #8]
	sub	w10, w10, #2
	cmp	w9, w10
	b.ge	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	w8, w22, w8
	add	w8, w8, #5
	ldr	x9, [x19]
	add	x0, x9, w8, sxtw
	bl	_AV_RL16
	cmp	w0, w24
	b.eq	LBB0_17
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrsw	x8, [x23]
	mul	x8, x8, x25
	lsr	x9, x8, #63
	asr	x8, x8, #33
	add	w26, w8, w9
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	sub	x8, x22, #18
	ldrsw	x9, [x19, #8]
	sub	x9, x9, #3
	cmp	x8, x9
	b.ge	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19]
	add	x22, x22, #1
	b	LBB0_8
LBB0_14:
	mov	w26, #0
LBB0_15:
	ldr	w0, [x19, #12]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_av_match_ext
Lloh9:
	adrp	x8, _AVPROBE_SCORE_EXTENSION@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AVPROBE_SCORE_EXTENSION@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w0, w26, w8, eq
LBB0_16:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_17:
	ldr	w8, [x23]
	lsl	w8, w8, #2
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #33
	add	w0, w8, w9
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AVPROBE_SCORE_MAX,4,2          ; @AVPROBE_SCORE_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NSVs"

l_.str.1:                               ; @.str.1
	.asciz	"nsv"

	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ; @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_nsv_probe
.subsections_via_symbols
