	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adx_probe
_adx_probe:                             ## @adx_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	8(%rdi), %rdi
	callq	_AV_RB16
	xorl	%r14d, %r14d
	cmpl	$32768, %eax                    ## imm = 0x8000
	jne	LBB0_5
## %bb.1:
	movq	8(%rbx), %rdi
	addq	$8, %rdi
	callq	_AV_RB16
	cmpl	$8, %eax
	jl	LBB0_5
## %bb.2:
	movl	(%rbx), %ecx
	addl	$-4, %ecx
	cmpl	%ecx, %eax
	jg	LBB0_5
## %bb.3:
	movq	8(%rbx), %rcx
	movl	%eax, %eax
	leaq	(%rcx,%rax,4), %rdi
	addq	$-8, %rdi
	leaq	L_.str(%rip), %rsi
	movl	$6, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,2), %ecx
	leal	(%rax,%rax,2), %r14d
	addl	$3, %r14d
	testl	%ecx, %ecx
	cmovnsl	%ecx, %r14d
	sarl	$2, %r14d
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(c)CRI"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adx_probe
_adx_probe:                             ; @adx_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, #8]
	bl	_AV_RB16
	cmp	w0, #8, lsl #12                 ; =32768
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x19, #8]
	add	x0, x8, #8
	bl	_AV_RB16
	cmp	w0, #8
	b.lt	LBB0_4
; %bb.2:
	ldr	w8, [x19]
	sub	w8, w8, #4
	cmp	w0, w8
	b.gt	LBB0_4
; %bb.3:
	ldr	x8, [x19, #8]
	add	x8, x8, w0, uxtw #2
	sub	x0, x8, #8
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #6
	bl	_memcmp
	cbz	x0, LBB0_6
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh2:
	adrp	x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	add	w8, w8, w8, lsl #1
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #2
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(c)CRI"

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