	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function avr_probe
_avr_probe:                             ## @avr_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	$50, %edi
	movl	$66, %esi
	movl	$73, %edx
	movl	$84, %ecx
	callq	_MKTAG
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	%rcx, %rbx
	jne	LBB0_6
## %bb.1:
	movq	(%r14), %rdi
	addq	$12, %rdi
	callq	_AV_RB16
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	(%r14), %rdi
	addq	$12, %rdi
	callq	_AV_RB16
	cmpl	$257, %eax                      ## imm = 0x101
	jl	LBB0_4
LBB0_3:
	movq	_AVPROBE_SCORE_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	(%r14), %rdi
	addq	$14, %rdi
	callq	_AV_RB16
	movl	%eax, %ecx
	movq	_AVPROBE_SCORE_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$257, %ecx                      ## imm = 0x101
	jl	LBB0_6
## %bb.5:
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%ecx, %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ## @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_avr_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function avr_probe
_avr_probe:                             ; @avr_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, #50
	mov	w1, #66
	mov	w2, #73
	mov	w3, #84
	bl	_MKTAG
	cmp	x20, x0
	b.ne	LBB0_5
; %bb.1:
	ldr	x8, [x19]
	add	x0, x8, #12
	bl	_AV_RB16
	cbz	w0, LBB0_3
; %bb.2:
	ldr	x8, [x19]
	add	x0, x8, #12
	bl	_AV_RB16
	cmp	w0, #257
	b.lt	LBB0_7
LBB0_3:
Lloh0:
	adrp	x8, _AVPROBE_SCORE_EXTENSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVPROBE_SCORE_EXTENSION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
LBB0_4:
	asr	w0, w8, #1
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	x8, [x19]
	add	x0, x8, #14
	bl	_AV_RB16
	mov	x8, x0
Lloh3:
	adrp	x9, _AVPROBE_SCORE_EXTENSION@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AVPROBE_SCORE_EXTENSION@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x9]
	cmp	w8, #257
	b.lt	LBB0_6
; %bb.8:
	cmp	w0, #0
	cinc	w8, w0, lt
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ; @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_avr_probe
.subsections_via_symbols
