	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2800_efuse_detect            ## -- Begin function rt2800_efuse_detect
	.p2align	4, 0x90
_rt2800_efuse_detect:                   ## @rt2800_efuse_detect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_RT3290@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rt2x00_rt
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_EFUSE_CTRL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_EFUSE_CTRL_3290@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rt2800_register_read
	movq	_EFUSE_CTRL_PRESENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rt2x00_get_field32             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RT3290,4,2                     ## @RT3290
	.comm	_EFUSE_CTRL_3290,4,2            ## @EFUSE_CTRL_3290
	.comm	_EFUSE_CTRL,4,2                 ## @EFUSE_CTRL
	.comm	_EFUSE_CTRL_PRESENT,4,2         ## @EFUSE_CTRL_PRESENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2800_efuse_detect            ; -- Begin function rt2800_efuse_detect
	.p2align	2
_rt2800_efuse_detect:                   ; @rt2800_efuse_detect
	.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
Lloh0:
	adrp	x8, _RT3290@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RT3290@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_rt2x00_rt
Lloh3:
	adrp	x8, _EFUSE_CTRL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EFUSE_CTRL@GOTPAGEOFF]
Lloh5:
	adrp	x9, _EFUSE_CTRL_3290@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EFUSE_CTRL_3290@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rt2800_register_read
Lloh7:
	adrp	x8, _EFUSE_CTRL_PRESENT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EFUSE_CTRL_PRESENT@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rt2x00_get_field32
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RT3290,4,2                     ; @RT3290
	.comm	_EFUSE_CTRL_3290,4,2            ; @EFUSE_CTRL_3290
	.comm	_EFUSE_CTRL,4,2                 ; @EFUSE_CTRL
	.comm	_EFUSE_CTRL_PRESENT,4,2         ; @EFUSE_CTRL_PRESENT
.subsections_via_symbols
