	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msf_probe
_msf_probe:                             ## @msf_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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$3, %edx
	callq	_memcmp
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_1
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	(%rbx), %rdi
	addq	$8, %rdi
	callq	_AV_RB32
	testl	%eax, %eax
	jle	LBB0_6
## %bb.2:
	movq	(%rbx), %rdi
	addq	$16, %rdi
	callq	_AV_RB32
	testl	%eax, %eax
	jle	LBB0_6
## %bb.3:
	movq	(%rbx), %rdi
	addq	$4, %rdi
	callq	_AV_RB32
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	$17, %eax
	jl	LBB0_5
## %bb.4:
	movslq	%ecx, %rax
	imulq	$1717986919, %rax, %r14         ## imm = 0x66666667
	movq	%r14, %rax
	shrq	$63, %rax
	sarq	$33, %r14
	addl	%eax, %r14d
	jmp	LBB0_6
LBB0_5:
	movslq	%ecx, %rax
	imulq	$1431655766, %rax, %r14         ## imm = 0x55555556
	movq	%r14, %rax
	shrq	$63, %rax
	shrq	$32, %r14
	addl	%eax, %r14d
	addl	%r14d, %r14d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MSF"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msf_probe
_msf_probe:                             ; @msf_probe
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #3
	bl	_memcmp
	cbz	x0, LBB0_3
LBB0_1:
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x8, [x19]
	add	x0, x8, #8
	bl	_AV_RB32
	cmp	w0, #1
	b.lt	LBB0_1
; %bb.4:
	ldr	x8, [x19]
	add	x0, x8, #16
	bl	_AV_RB32
	cmp	w0, #1
	b.lt	LBB0_1
; %bb.5:
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_AV_RB32
Lloh2:
	adrp	x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, #17
	b.lt	LBB0_7
; %bb.6:
	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_2
LBB0_7:
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
	lsl	w0, w8, #1
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MSF"

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