	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ast_probe
_ast_probe:                             ## @ast_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, %r14
	movq	(%rdi), %rdi
	callq	_AV_RL32
	movq	%rax, %rbx
	movl	$83, %edi
	movl	$84, %esi
	movl	$82, %edx
	movl	$77, %ecx
	callq	_MKTAG
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	%rcx, %rbx
	jne	LBB0_8
## %bb.1:
	movq	(%r14), %rdi
	addq	$10, %rdi
	callq	_AV_RB16
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movq	(%r14), %rdi
	addq	$12, %rdi
	callq	_AV_RB16
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	movq	(%r14), %rdi
	addq	$12, %rdi
	callq	_AV_RB16
	cmpl	$256, %eax                      ## imm = 0x100
	jg	LBB0_6
## %bb.4:
	movq	(%r14), %rdi
	addq	$16, %rdi
	callq	_AV_RB32
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	(%r14), %rdi
	addq	$16, %rdi
	callq	_AV_RB32
	cmpl	$384001, %eax                   ## imm = 0x5DC01
	jl	LBB0_7
LBB0_6:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	7(%rcx), %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$3, %eax
LBB0_8:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$1431655766, %rax, %rax         ## imm = 0x55555556
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	addl	%ecx, %eax
	addl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_AVPROBE_SCORE_MAX,4,2          ## @AVPROBE_SCORE_MAX
	.no_dead_strip	_ast_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ast_probe
_ast_probe:                             ; @ast_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]
	bl	_AV_RL32
	mov	x20, x0
	mov	w0, #83
	mov	w1, #84
	mov	w2, #82
	mov	w3, #77
	bl	_MKTAG
	cmp	x20, x0
	b.ne	LBB0_7
; %bb.1:
	ldr	x8, [x19]
	add	x0, x8, #10
	bl	_AV_RB16
	cbz	w0, LBB0_6
; %bb.2:
	ldr	x8, [x19]
	add	x0, x8, #12
	bl	_AV_RB16
	cbz	w0, LBB0_6
; %bb.3:
	ldr	x8, [x19]
	add	x0, x8, #12
	bl	_AV_RB16
	cmp	w0, #256
	b.gt	LBB0_6
; %bb.4:
	ldr	x8, [x19]
	add	x0, x8, #16
	bl	_AV_RB32
	cbz	w0, LBB0_6
; %bb.5:
	ldr	x8, [x19]
	add	x0, x8, #16
	bl	_AV_RB32
	mov	w8, #56321
	movk	w8, #5, lsl #16
	cmp	w0, w8
	b.lt	LBB0_9
LBB0_6:
Lloh0:
	adrp	x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #3
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh3:
	adrp	x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
	lsl	w0, w8, #1
	b	LBB0_8
	.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	_ast_probe
.subsections_via_symbols
