	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_switch_radio_nphy      ## -- Begin function wlc_phy_switch_radio_nphy
	.p2align	4, 0x90
_wlc_phy_switch_radio_nphy:             ## @wlc_phy_switch_radio_nphy
	.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
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	testl	%esi, %esi
	je	LBB0_4
## %bb.1:
	movl	$7, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	cmpl	$0, (%rbx)
	jne	LBB0_11
## %bb.3:
	movq	%rbx, %rdi
	callq	_wlc_phy_radio_preinit_205x
	movq	%rbx, %rdi
	callq	_wlc_phy_radio_init_2057
	movq	%rbx, %rdi
	callq	_wlc_phy_radio_postinit_2057
	jmp	LBB0_11
LBB0_4:
	movl	$3, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movl	4(%rbx), %edi
	movl	$7, %esi
	callq	_NREV_LT
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_RFCC_CHIP0_PU@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	movq	%rbx, %rdi
	movl	$120, %esi
	callq	_and_phy_reg
	movq	_RADIO_2056_SYN_COM_PU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	xorl	%ecx, %ecx
	callq	_mod_radio_reg
	movq	_RADIO_2056_TX_PADA_BOOST_TUNE@GOTPCREL(%rip), %rax
	movq	_RADIO_2056_TX0@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_write_radio_reg
	movq	_RADIO_2056_TX_PADG_BOOST_TUNE@GOTPCREL(%rip), %rax
	movl	(%r12), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_write_radio_reg
	movq	_RADIO_2056_TX_PGAA_BOOST_TUNE@GOTPCREL(%rip), %rax
	movl	(%r12), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_write_radio_reg
	movq	_RADIO_2056_TX_PGAG_BOOST_TUNE@GOTPCREL(%rip), %r13
	movl	(%r12), %esi
	orl	(%r13), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_write_radio_reg
	movq	_RADIO_2056_TX_MIXA_BOOST_TUNE@GOTPCREL(%rip), %r14
	movl	(%r12), %esi
	orl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$240, %edx
	xorl	%ecx, %ecx
	callq	_mod_radio_reg
	movq	_RADIO_2056_TX_MIXG_BOOST_TUNE@GOTPCREL(%rip), %r15
	movl	(%r12), %esi
	orl	(%r15), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_write_radio_reg
	movq	_RADIO_2056_TX1@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_RADIO_2056_TX_PADA_BOOST_TUNE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_write_radio_reg
	movl	(%r12), %esi
	movq	_RADIO_2056_TX_PADG_BOOST_TUNE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_write_radio_reg
	movl	(%r12), %esi
	movq	_RADIO_2056_TX_PGAA_BOOST_TUNE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_write_radio_reg
	movl	(%r12), %esi
	orl	(%r13), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_write_radio_reg
	movl	(%r12), %esi
	orl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$240, %edx
	xorl	%ecx, %ecx
	callq	_mod_radio_reg
	movl	(%r12), %esi
	orl	(%r15), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_write_radio_reg
	movl	$0, (%rbx)
LBB0_7:
	movl	4(%rbx), %edi
	movl	$8, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	movq	_RFCC_CHIP0_PU@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	movq	%rbx, %rdi
	movl	$120, %esi
	callq	_and_phy_reg
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_9:
	movl	4(%rbx), %edi
	movl	$3, %esi
	callq	_NREV_GE
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_15
## %bb.10:
	callq	_wlc_phy_radio_preinit_205x
	movq	%rbx, %rdi
	callq	_wlc_phy_radio_init_2056
	movq	%rbx, %rdi
	callq	_wlc_phy_radio_postinit_2056
LBB0_11:
	movl	8(%rbx), %esi
	movq	%rbx, %rdi
	callq	_wlc_phy_chanspec_set
LBB0_12:
	movl	$1, %eax
LBB0_13:
	movl	%eax, (%rbx)
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	_wlc_phy_radio_preinit_2055
	movq	%rbx, %rdi
	callq	_wlc_phy_radio_init_2055
	movq	%rbx, %rdi
	callq	_wlc_phy_radio_postinit_2055
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_RFCC_CHIP0_PU,4,2              ## @RFCC_CHIP0_PU
	.comm	_RADIO_2056_SYN_COM_PU,4,2      ## @RADIO_2056_SYN_COM_PU
	.comm	_RADIO_2056_TX_PADA_BOOST_TUNE,4,2 ## @RADIO_2056_TX_PADA_BOOST_TUNE
	.comm	_RADIO_2056_TX0,4,2             ## @RADIO_2056_TX0
	.comm	_RADIO_2056_TX_PADG_BOOST_TUNE,4,2 ## @RADIO_2056_TX_PADG_BOOST_TUNE
	.comm	_RADIO_2056_TX_PGAA_BOOST_TUNE,4,2 ## @RADIO_2056_TX_PGAA_BOOST_TUNE
	.comm	_RADIO_2056_TX_PGAG_BOOST_TUNE,4,2 ## @RADIO_2056_TX_PGAG_BOOST_TUNE
	.comm	_RADIO_2056_TX_MIXA_BOOST_TUNE,4,2 ## @RADIO_2056_TX_MIXA_BOOST_TUNE
	.comm	_RADIO_2056_TX_MIXG_BOOST_TUNE,4,2 ## @RADIO_2056_TX_MIXG_BOOST_TUNE
	.comm	_RADIO_2056_TX1,4,2             ## @RADIO_2056_TX1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_switch_radio_nphy      ; -- Begin function wlc_phy_switch_radio_nphy
	.p2align	2
_wlc_phy_switch_radio_nphy:             ; @wlc_phy_switch_radio_nphy
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	w0, [x0, #4]
	cbz	w1, LBB0_4
; %bb.1:
	mov	w1, #7
	bl	_NREV_GE
	cbz	x0, LBB0_9
; %bb.2:
	ldr	w8, [x19]
	cbnz	w8, LBB0_11
; %bb.3:
	mov	x0, x19
	bl	_wlc_phy_radio_preinit_205x
	mov	x0, x19
	bl	_wlc_phy_radio_init_2057
	mov	x0, x19
	bl	_wlc_phy_radio_postinit_2057
	b	LBB0_11
LBB0_4:
	mov	w1, #3
	bl	_NREV_GE
Lloh0:
	adrp	x20, _RFCC_CHIP0_PU@GOTPAGE
Lloh1:
	ldr	x20, [x20, _RFCC_CHIP0_PU@GOTPAGEOFF]
	cbz	x0, LBB0_7
; %bb.5:
	ldr	w0, [x19, #4]
	mov	w1, #7
	bl	_NREV_LT
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w8, [x20]
	mvn	w2, w8
	mov	x0, x19
	mov	w1, #120
	bl	_and_phy_reg
Lloh2:
	adrp	x8, _RADIO_2056_SYN_COM_PU@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RADIO_2056_SYN_COM_PU@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2
	mov	w3, #0
	bl	_mod_radio_reg
Lloh5:
	adrp	x21, _RADIO_2056_TX_PADA_BOOST_TUNE@GOTPAGE
Lloh6:
	ldr	x21, [x21, _RADIO_2056_TX_PADA_BOOST_TUNE@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh7:
	adrp	x26, _RADIO_2056_TX0@GOTPAGE
Lloh8:
	ldr	x26, [x26, _RADIO_2056_TX0@GOTPAGEOFF]
	ldr	w9, [x26]
	orr	w1, w9, w8
	mov	x0, x19
	mov	w2, #0
	bl	_write_radio_reg
Lloh9:
	adrp	x22, _RADIO_2056_TX_PADG_BOOST_TUNE@GOTPAGE
Lloh10:
	ldr	x22, [x22, _RADIO_2056_TX_PADG_BOOST_TUNE@GOTPAGEOFF]
	ldr	w8, [x22]
	ldr	w9, [x26]
	orr	w1, w9, w8
	mov	x0, x19
	mov	w2, #0
	bl	_write_radio_reg
Lloh11:
	adrp	x23, _RADIO_2056_TX_PGAA_BOOST_TUNE@GOTPAGE
Lloh12:
	ldr	x23, [x23, _RADIO_2056_TX_PGAA_BOOST_TUNE@GOTPAGEOFF]
	ldr	w8, [x23]
	ldr	w9, [x26]
	orr	w1, w9, w8
	mov	x0, x19
	mov	w2, #0
	bl	_write_radio_reg
Lloh13:
	adrp	x24, _RADIO_2056_TX_PGAG_BOOST_TUNE@GOTPAGE
Lloh14:
	ldr	x24, [x24, _RADIO_2056_TX_PGAG_BOOST_TUNE@GOTPAGEOFF]
	ldr	w8, [x24]
	ldr	w9, [x26]
	orr	w1, w9, w8
	mov	x0, x19
	mov	w2, #0
	bl	_write_radio_reg
Lloh15:
	adrp	x25, _RADIO_2056_TX_MIXA_BOOST_TUNE@GOTPAGE
Lloh16:
	ldr	x25, [x25, _RADIO_2056_TX_MIXA_BOOST_TUNE@GOTPAGEOFF]
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w1, w9, w8
	mov	x0, x19
	mov	w2, #240
	mov	w3, #0
	bl	_mod_radio_reg
Lloh17:
	adrp	x27, _RADIO_2056_TX_MIXG_BOOST_TUNE@GOTPAGE
Lloh18:
	ldr	x27, [x27, _RADIO_2056_TX_MIXG_BOOST_TUNE@GOTPAGEOFF]
	ldr	w8, [x27]
	ldr	w9, [x26]
	orr	w1, w9, w8
	mov	x0, x19
	mov	w2, #0
	bl	_write_radio_reg
	ldr	w8, [x21]
Lloh19:
	adrp	x21, _RADIO_2056_TX1@GOTPAGE
Lloh20:
	ldr	x21, [x21, _RADIO_2056_TX1@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w1, w9, w8
	mov	x0, x19
	mov	w2, #0
	bl	_write_radio_reg
	ldr	w8, [x22]
	ldr	w9, [x21]
	orr	w1, w9, w8
	mov	x0, x19
	mov	w2, #0
	bl	_write_radio_reg
	ldr	w8, [x23]
	ldr	w9, [x21]
	orr	w1, w9, w8
	mov	x0, x19
	mov	w2, #0
	bl	_write_radio_reg
	ldr	w8, [x24]
	ldr	w9, [x21]
	orr	w1, w9, w8
	mov	x0, x19
	mov	w2, #0
	bl	_write_radio_reg
	ldr	w8, [x25]
	ldr	w9, [x21]
	orr	w1, w9, w8
	mov	x0, x19
	mov	w2, #240
	mov	w3, #0
	bl	_mod_radio_reg
	ldr	w8, [x27]
	ldr	w9, [x21]
	orr	w1, w9, w8
	mov	x0, x19
	mov	w2, #0
	bl	_write_radio_reg
	str	wzr, [x19]
LBB0_7:
	ldr	w0, [x19, #4]
	mov	w1, #8
	bl	_NREV_GE
	cbz	x0, LBB0_14
; %bb.8:
	ldr	w8, [x20]
	mvn	w2, w8
	mov	x0, x19
	mov	w1, #120
	bl	_and_phy_reg
	mov	w8, #0
	b	LBB0_13
LBB0_9:
	ldr	w0, [x19, #4]
	mov	w1, #3
	bl	_NREV_GE
	cbz	x0, LBB0_15
; %bb.10:
	mov	x0, x19
	bl	_wlc_phy_radio_preinit_205x
	mov	x0, x19
	bl	_wlc_phy_radio_init_2056
	mov	x0, x19
	bl	_wlc_phy_radio_postinit_2056
LBB0_11:
	ldr	w1, [x19, #8]
	mov	x0, x19
	bl	_wlc_phy_chanspec_set
LBB0_12:
	mov	w8, #1
LBB0_13:
	str	w8, [x19]
LBB0_14:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_15:
	mov	x0, x19
	bl	_wlc_phy_radio_preinit_2055
	mov	x0, x19
	bl	_wlc_phy_radio_init_2055
	mov	x0, x19
	bl	_wlc_phy_radio_postinit_2055
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RFCC_CHIP0_PU,4,2              ; @RFCC_CHIP0_PU
	.comm	_RADIO_2056_SYN_COM_PU,4,2      ; @RADIO_2056_SYN_COM_PU
	.comm	_RADIO_2056_TX_PADA_BOOST_TUNE,4,2 ; @RADIO_2056_TX_PADA_BOOST_TUNE
	.comm	_RADIO_2056_TX0,4,2             ; @RADIO_2056_TX0
	.comm	_RADIO_2056_TX_PADG_BOOST_TUNE,4,2 ; @RADIO_2056_TX_PADG_BOOST_TUNE
	.comm	_RADIO_2056_TX_PGAA_BOOST_TUNE,4,2 ; @RADIO_2056_TX_PGAA_BOOST_TUNE
	.comm	_RADIO_2056_TX_PGAG_BOOST_TUNE,4,2 ; @RADIO_2056_TX_PGAG_BOOST_TUNE
	.comm	_RADIO_2056_TX_MIXA_BOOST_TUNE,4,2 ; @RADIO_2056_TX_MIXA_BOOST_TUNE
	.comm	_RADIO_2056_TX_MIXG_BOOST_TUNE,4,2 ; @RADIO_2056_TX_MIXG_BOOST_TUNE
	.comm	_RADIO_2056_TX1,4,2             ; @RADIO_2056_TX1
.subsections_via_symbols
