	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fiji_is_hw_avfs_present
_fiji_is_hw_avfs_present:               ## @fiji_is_hw_avfs_present
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	$0, -4(%rbp)
	cmpl	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	_AVFS_EN_MSB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_AVFS_EN_LSB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	incb	%cl
	movl	$-1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	notl	%eax
	leaq	-4(%rbp), %r8
	movl	%eax, %ecx
	callq	_atomctrl_read_efuse
	testl	%eax, %eax
	sete	%al
	cmpl	$0, -4(%rbp)
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVFS_EN_MSB,4,2                ## @AVFS_EN_MSB
	.comm	_AVFS_EN_LSB,4,2                ## @AVFS_EN_LSB
	.no_dead_strip	_fiji_is_hw_avfs_present
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fiji_is_hw_avfs_present
_fiji_is_hw_avfs_present:               ; @fiji_is_hw_avfs_present
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	stur	wzr, [x29, #-4]
	ldr	w8, [x0]
	cbz	w8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _AVFS_EN_MSB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVFS_EN_MSB@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _AVFS_EN_LSB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVFS_EN_LSB@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	sub	w8, w2, w1
	add	w8, w8, #1
	mov	w9, #-1
	lsl	w8, w9, w8
	mvn	w3, w8
	sub	x4, x29, #4
	bl	_atomctrl_read_efuse
	cmp	w0, #0
	ldur	w8, [x29, #-4]
	ccmp	w8, #0, #4, eq
	cset	w0, ne
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AVFS_EN_MSB,4,2                ; @AVFS_EN_MSB
	.comm	_AVFS_EN_LSB,4,2                ; @AVFS_EN_LSB
	.no_dead_strip	_fiji_is_hw_avfs_present
.subsections_via_symbols
