	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl92c_phy_set_rfpath_switch
__rtl92c_phy_set_rfpath_switch:         ## @_rtl92c_phy_set_rfpath_switch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %r13
	callq	_rtl_priv
	movl	%eax, %edi
	callq	_rtl_hal
	movq	%rax, %rdi
	callq	_is_hal_stop
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_REG_LEDCFG0@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	$23, %edi
	callq	_BIT
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	movl	$1, %ecx
	callq	_rtl_set_bbreg
	movq	_RFPGA0_XAB_RFPARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$13, %edi
	callq	_BIT
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	$1, %ecx
	callq	_rtl_set_bbreg
LBB0_2:
	testl	%r15d, %r15d
	je	LBB0_5
## %bb.3:
	movq	_RFPGA0_XB_RFINTERFACEOE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	$5, %edi
	callq	_BIT
	movl	%eax, %ebx
	movl	$6, %edi
	callq	_BIT
	orl	%ebx, %eax
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	testl	%r14d, %r14d
	je	LBB0_6
LBB0_4:
	movl	$1, %ecx
	jmp	LBB0_7
LBB0_5:
	movq	_RFPGA0_XA_RFINTERFACEOE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$768, %edx                      ## imm = 0x300
	testl	%r14d, %r14d
	je	LBB0_4
LBB0_6:
	movl	$2, %ecx
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_set_bbreg                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_LEDCFG0,4,2                ## @REG_LEDCFG0
	.comm	_RFPGA0_XAB_RFPARAMETER,4,2     ## @RFPGA0_XAB_RFPARAMETER
	.comm	_RFPGA0_XB_RFINTERFACEOE,4,2    ## @RFPGA0_XB_RFINTERFACEOE
	.comm	_RFPGA0_XA_RFINTERFACEOE,4,2    ## @RFPGA0_XA_RFINTERFACEOE
	.no_dead_strip	__rtl92c_phy_set_rfpath_switch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl92c_phy_set_rfpath_switch
__rtl92c_phy_set_rfpath_switch:         ; @_rtl92c_phy_set_rfpath_switch
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_rtl_priv
	bl	_rtl_hal
	bl	_is_hal_stop
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _REG_LEDCFG0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_LEDCFG0@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	mov	w0, #23
	bl	_BIT
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	mov	w3, #1
	bl	_rtl_set_bbreg
Lloh3:
	adrp	x8, _RFPGA0_XAB_RFPARAMETER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RFPGA0_XAB_RFPARAMETER@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	w0, #13
	bl	_BIT
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	mov	w3, #1
	bl	_rtl_set_bbreg
LBB0_2:
	cbz	w21, LBB0_5
; %bb.3:
Lloh6:
	adrp	x8, _RFPGA0_XB_RFINTERFACEOE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RFPGA0_XB_RFINTERFACEOE@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
	mov	w0, #5
	bl	_BIT
	mov	x22, x0
	mov	w0, #6
	bl	_BIT
	orr	w2, w0, w22
	mov	x0, x19
	mov	x1, x21
	cbz	w20, LBB0_6
LBB0_4:
	mov	w3, #1
	b	LBB0_7
LBB0_5:
Lloh9:
	adrp	x8, _RFPGA0_XA_RFINTERFACEOE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RFPGA0_XA_RFINTERFACEOE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #768
	cbz	w20, LBB0_4
LBB0_6:
	mov	w3, #2
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rtl_set_bbreg
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_LEDCFG0,4,2                ; @REG_LEDCFG0
	.comm	_RFPGA0_XAB_RFPARAMETER,4,2     ; @RFPGA0_XAB_RFPARAMETER
	.comm	_RFPGA0_XB_RFINTERFACEOE,4,2    ; @RFPGA0_XB_RFINTERFACEOE
	.comm	_RFPGA0_XA_RFINTERFACEOE,4,2    ; @RFPGA0_XA_RFINTERFACEOE
	.no_dead_strip	__rtl92c_phy_set_rfpath_switch
.subsections_via_symbols
