	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl92se_rf_onoff_detect
__rtl92se_rf_onoff_detect:              ## @_rtl92se_rf_onoff_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_rtl_priv
	movq	%rax, %rbx
	movq	_MAC_PINMUX_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GPIOMUX_EN@GOTPCREL(%rip), %rax
	movq	_GPIOSEL_GPIO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rtl_write_byte
	movq	_GPIO_IO_SEL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_rtl_read_byte
	movq	_HAL_8192S_HW_GPIO_OFF_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_rtl_write_byte
	movl	$10, %edi
	callq	_mdelay
	movq	_GPIO_IN_SE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rtl_read_byte
	movq	_HAL_8192S_HW_GPIO_OFF_BIT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_1
## %bb.2:
	movq	_ERFOFF@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ERFON@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERFON,4,2                      ## @ERFON
	.comm	_MAC_PINMUX_CFG,4,2             ## @MAC_PINMUX_CFG
	.comm	_GPIOMUX_EN,4,2                 ## @GPIOMUX_EN
	.comm	_GPIOSEL_GPIO,4,2               ## @GPIOSEL_GPIO
	.comm	_GPIO_IO_SEL,4,2                ## @GPIO_IO_SEL
	.comm	_HAL_8192S_HW_GPIO_OFF_MASK,4,2 ## @HAL_8192S_HW_GPIO_OFF_MASK
	.comm	_GPIO_IN_SE,4,2                 ## @GPIO_IN_SE
	.comm	_HAL_8192S_HW_GPIO_OFF_BIT,4,2  ## @HAL_8192S_HW_GPIO_OFF_BIT
	.comm	_ERFOFF,4,2                     ## @ERFOFF
	.no_dead_strip	__rtl92se_rf_onoff_detect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl92se_rf_onoff_detect
__rtl92se_rf_onoff_detect:              ; @_rtl92se_rf_onoff_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
	bl	_rtl_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _MAC_PINMUX_CFG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAC_PINMUX_CFG@GOTPAGEOFF]
Lloh2:
	adrp	x9, _GPIOMUX_EN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _GPIOMUX_EN@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _GPIOSEL_GPIO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GPIOSEL_GPIO@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_rtl_write_byte
Lloh9:
	adrp	x20, _GPIO_IO_SEL@GOTPAGE
Lloh10:
	ldr	x20, [x20, _GPIO_IO_SEL@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rtl_read_byte
Lloh11:
	adrp	x8, _HAL_8192S_HW_GPIO_OFF_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HAL_8192S_HW_GPIO_OFF_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	and	w2, w8, w0
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rtl_write_byte
	mov	w0, #10
	bl	_mdelay
Lloh14:
	adrp	x8, _GPIO_IN_SE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GPIO_IN_SE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rtl_read_byte
Lloh17:
	adrp	x8, _HAL_8192S_HW_GPIO_OFF_BIT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _HAL_8192S_HW_GPIO_OFF_BIT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _ERFON@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ERFON@GOTPAGEOFF]
Lloh22:
	adrp	x10, _ERFOFF@GOTPAGE
Lloh23:
	ldr	x10, [x10, _ERFOFF@GOTPAGEOFF]
	tst	w8, w0
	csel	x8, x10, x9, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ERFON,4,2                      ; @ERFON
	.comm	_MAC_PINMUX_CFG,4,2             ; @MAC_PINMUX_CFG
	.comm	_GPIOMUX_EN,4,2                 ; @GPIOMUX_EN
	.comm	_GPIOSEL_GPIO,4,2               ; @GPIOSEL_GPIO
	.comm	_GPIO_IO_SEL,4,2                ; @GPIO_IO_SEL
	.comm	_HAL_8192S_HW_GPIO_OFF_MASK,4,2 ; @HAL_8192S_HW_GPIO_OFF_MASK
	.comm	_GPIO_IN_SE,4,2                 ; @GPIO_IN_SE
	.comm	_HAL_8192S_HW_GPIO_OFF_BIT,4,2  ; @HAL_8192S_HW_GPIO_OFF_BIT
	.comm	_ERFOFF,4,2                     ; @ERFOFF
	.no_dead_strip	__rtl92se_rf_onoff_detect
.subsections_via_symbols
