	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_phy_restore_rssical_nphy
_wlc_phy_restore_rssical_nphy:          ## @wlc_phy_restore_rssical_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	52(%rdi), %edi
	callq	_CHSPEC_IS2G
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	cmpq	$0, (%r14)
	je	LBB0_12
## %bb.2:
	movl	48(%r14), %edi
	movl	$7, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_RADIO_2057_NB_MASTER_CORE0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RADIO_2057_VCM_MASK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	40(%r14), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_mod_radio_reg
	movq	_RADIO_2057_NB_MASTER_CORE1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_5
LBB0_6:
	cmpq	$0, 8(%r14)
	je	LBB0_12
## %bb.7:
	movl	48(%r14), %edi
	movl	$7, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_RADIO_2057_NB_MASTER_CORE0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RADIO_2057_VCM_MASK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	24(%r14), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_mod_radio_reg
	movq	_RADIO_2057_NB_MASTER_CORE1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_10
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_RADIO_2056_RX_RSSI_MISC@GOTPCREL(%rip), %r15
	movq	_RADIO_2056_RX0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%r15), %esi
	movq	_RADIO_2056_VCM_MASK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	40(%r14), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_mod_radio_reg
	movq	_RADIO_2056_RX1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%r15), %esi
LBB0_5:
	movl	(%rbx), %edx
	movq	40(%r14), %rax
	movl	4(%rax), %ecx
	movq	%r14, %rdi
	callq	_mod_radio_reg
	leaq	32(%r14), %rbx
	jmp	LBB0_11
LBB0_9:
	movq	_RADIO_2056_RX_RSSI_MISC@GOTPCREL(%rip), %r15
	movq	_RADIO_2056_RX0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%r15), %esi
	movq	_RADIO_2056_VCM_MASK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	24(%r14), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_mod_radio_reg
	movq	_RADIO_2056_RX1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%r15), %esi
LBB0_10:
	movl	(%rbx), %edx
	movq	24(%r14), %rax
	movl	4(%rax), %ecx
	movq	%r14, %rdi
	callq	_mod_radio_reg
	leaq	16(%r14), %rbx
LBB0_11:
	movq	(%rbx), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$422, %esi                      ## imm = 0x1A6
	callq	_write_phy_reg
	movq	(%rbx), %rax
	movl	4(%rax), %edx
	movq	%r14, %rdi
	movl	$428, %esi                      ## imm = 0x1AC
	callq	_write_phy_reg
	movq	(%rbx), %rax
	movl	8(%rax), %edx
	movq	%r14, %rdi
	movl	$434, %esi                      ## imm = 0x1B2
	callq	_write_phy_reg
	movq	(%rbx), %rax
	movl	12(%rax), %edx
	movq	%r14, %rdi
	movl	$440, %esi                      ## imm = 0x1B8
	callq	_write_phy_reg
	movq	(%rbx), %rax
	movl	16(%rax), %edx
	movq	%r14, %rdi
	movl	$420, %esi                      ## imm = 0x1A4
	callq	_write_phy_reg
	movq	(%rbx), %rax
	movl	20(%rax), %edx
	movq	%r14, %rdi
	movl	$426, %esi                      ## imm = 0x1AA
	callq	_write_phy_reg
	movq	(%rbx), %rax
	movl	24(%rax), %edx
	movq	%r14, %rdi
	movl	$432, %esi                      ## imm = 0x1B0
	callq	_write_phy_reg
	movq	(%rbx), %rax
	movl	28(%rax), %edx
	movq	%r14, %rdi
	movl	$438, %esi                      ## imm = 0x1B6
	callq	_write_phy_reg
	movq	(%rbx), %rax
	movl	32(%rax), %edx
	movq	%r14, %rdi
	movl	$421, %esi                      ## imm = 0x1A5
	callq	_write_phy_reg
	movq	(%rbx), %rax
	movl	36(%rax), %edx
	movq	%r14, %rdi
	movl	$427, %esi                      ## imm = 0x1AB
	callq	_write_phy_reg
	movq	(%rbx), %rax
	movl	40(%rax), %edx
	movq	%r14, %rdi
	movl	$433, %esi                      ## imm = 0x1B1
	callq	_write_phy_reg
	movq	(%rbx), %rax
	movl	44(%rax), %edx
	movq	%r14, %rdi
	movl	$439, %esi                      ## imm = 0x1B7
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write_phy_reg                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RADIO_2057_NB_MASTER_CORE0,4,2 ## @RADIO_2057_NB_MASTER_CORE0
	.comm	_RADIO_2057_VCM_MASK,4,2        ## @RADIO_2057_VCM_MASK
	.comm	_RADIO_2057_NB_MASTER_CORE1,4,2 ## @RADIO_2057_NB_MASTER_CORE1
	.comm	_RADIO_2056_RX_RSSI_MISC,4,2    ## @RADIO_2056_RX_RSSI_MISC
	.comm	_RADIO_2056_RX0,4,2             ## @RADIO_2056_RX0
	.comm	_RADIO_2056_VCM_MASK,4,2        ## @RADIO_2056_VCM_MASK
	.comm	_RADIO_2056_RX1,4,2             ## @RADIO_2056_RX1
	.no_dead_strip	_wlc_phy_restore_rssical_nphy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlc_phy_restore_rssical_nphy
_wlc_phy_restore_rssical_nphy:          ; @wlc_phy_restore_rssical_nphy
	.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	x19, x0
	ldr	w0, [x0, #52]
	bl	_CHSPEC_IS2G
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	w0, [x19, #48]
	mov	w1, #7
	bl	_NREV_GE
	cbz	x0, LBB0_8
; %bb.3:
Lloh0:
	adrp	x8, _RADIO_2057_NB_MASTER_CORE0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RADIO_2057_NB_MASTER_CORE0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x20, _RADIO_2057_VCM_MASK@GOTPAGE
Lloh4:
	ldr	x20, [x20, _RADIO_2057_VCM_MASK@GOTPAGEOFF]
	ldr	w2, [x20]
	ldr	x8, [x19, #40]
	ldr	w3, [x8]
	mov	x0, x19
	bl	_mod_radio_reg
Lloh5:
	adrp	x8, _RADIO_2057_NB_MASTER_CORE1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RADIO_2057_NB_MASTER_CORE1@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	b	LBB0_9
LBB0_4:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	w0, [x19, #48]
	mov	w1, #7
	bl	_NREV_GE
	cbz	x0, LBB0_10
; %bb.6:
Lloh8:
	adrp	x8, _RADIO_2057_NB_MASTER_CORE0@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RADIO_2057_NB_MASTER_CORE0@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x20, _RADIO_2057_VCM_MASK@GOTPAGE
Lloh12:
	ldr	x20, [x20, _RADIO_2057_VCM_MASK@GOTPAGEOFF]
	ldr	w2, [x20]
	ldr	x8, [x19, #24]
	ldr	w3, [x8]
	mov	x0, x19
	bl	_mod_radio_reg
Lloh13:
	adrp	x8, _RADIO_2057_NB_MASTER_CORE1@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RADIO_2057_NB_MASTER_CORE1@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	b	LBB0_11
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
	ret
LBB0_8:
Lloh16:
	adrp	x21, _RADIO_2056_RX_RSSI_MISC@GOTPAGE
Lloh17:
	ldr	x21, [x21, _RADIO_2056_RX_RSSI_MISC@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh18:
	adrp	x9, _RADIO_2056_RX0@GOTPAGE
Lloh19:
	ldr	x9, [x9, _RADIO_2056_RX0@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh21:
	adrp	x20, _RADIO_2056_VCM_MASK@GOTPAGE
Lloh22:
	ldr	x20, [x20, _RADIO_2056_VCM_MASK@GOTPAGEOFF]
	ldr	w2, [x20]
	ldr	x8, [x19, #40]
	ldr	w3, [x8]
	mov	x0, x19
	bl	_mod_radio_reg
	ldr	w8, [x21]
Lloh23:
	adrp	x9, _RADIO_2056_RX1@GOTPAGE
Lloh24:
	ldr	x9, [x9, _RADIO_2056_RX1@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w1, w9, w8
LBB0_9:
	ldr	w2, [x20]
	ldr	x8, [x19, #40]
	ldr	w3, [x8, #4]
	mov	x0, x19
	bl	_mod_radio_reg
	add	x20, x19, #32
	b	LBB0_12
LBB0_10:
Lloh26:
	adrp	x21, _RADIO_2056_RX_RSSI_MISC@GOTPAGE
Lloh27:
	ldr	x21, [x21, _RADIO_2056_RX_RSSI_MISC@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh28:
	adrp	x9, _RADIO_2056_RX0@GOTPAGE
Lloh29:
	ldr	x9, [x9, _RADIO_2056_RX0@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh31:
	adrp	x20, _RADIO_2056_VCM_MASK@GOTPAGE
Lloh32:
	ldr	x20, [x20, _RADIO_2056_VCM_MASK@GOTPAGEOFF]
	ldr	w2, [x20]
	ldr	x8, [x19, #24]
	ldr	w3, [x8]
	mov	x0, x19
	bl	_mod_radio_reg
	ldr	w8, [x21]
Lloh33:
	adrp	x9, _RADIO_2056_RX1@GOTPAGE
Lloh34:
	ldr	x9, [x9, _RADIO_2056_RX1@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w1, w9, w8
LBB0_11:
	ldr	w2, [x20]
	ldr	x8, [x19, #24]
	ldr	w3, [x8, #4]
	mov	x0, x19
	bl	_mod_radio_reg
	add	x20, x19, #16
LBB0_12:
	ldr	x8, [x20]
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #422
	bl	_write_phy_reg
	ldr	x8, [x20]
	ldr	w2, [x8, #4]
	mov	x0, x19
	mov	w1, #428
	bl	_write_phy_reg
	ldr	x8, [x20]
	ldr	w2, [x8, #8]
	mov	x0, x19
	mov	w1, #434
	bl	_write_phy_reg
	ldr	x8, [x20]
	ldr	w2, [x8, #12]
	mov	x0, x19
	mov	w1, #440
	bl	_write_phy_reg
	ldr	x8, [x20]
	ldr	w2, [x8, #16]
	mov	x0, x19
	mov	w1, #420
	bl	_write_phy_reg
	ldr	x8, [x20]
	ldr	w2, [x8, #20]
	mov	x0, x19
	mov	w1, #426
	bl	_write_phy_reg
	ldr	x8, [x20]
	ldr	w2, [x8, #24]
	mov	x0, x19
	mov	w1, #432
	bl	_write_phy_reg
	ldr	x8, [x20]
	ldr	w2, [x8, #28]
	mov	x0, x19
	mov	w1, #438
	bl	_write_phy_reg
	ldr	x8, [x20]
	ldr	w2, [x8, #32]
	mov	x0, x19
	mov	w1, #421
	bl	_write_phy_reg
	ldr	x8, [x20]
	ldr	w2, [x8, #36]
	mov	x0, x19
	mov	w1, #427
	bl	_write_phy_reg
	ldr	x8, [x20]
	ldr	w2, [x8, #40]
	mov	x0, x19
	mov	w1, #433
	bl	_write_phy_reg
	ldr	x8, [x20]
	ldr	w2, [x8, #44]
	mov	x0, x19
	mov	w1, #439
	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	_write_phy_reg
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_RADIO_2057_NB_MASTER_CORE0,4,2 ; @RADIO_2057_NB_MASTER_CORE0
	.comm	_RADIO_2057_VCM_MASK,4,2        ; @RADIO_2057_VCM_MASK
	.comm	_RADIO_2057_NB_MASTER_CORE1,4,2 ; @RADIO_2057_NB_MASTER_CORE1
	.comm	_RADIO_2056_RX_RSSI_MISC,4,2    ; @RADIO_2056_RX_RSSI_MISC
	.comm	_RADIO_2056_RX0,4,2             ; @RADIO_2056_RX0
	.comm	_RADIO_2056_VCM_MASK,4,2        ; @RADIO_2056_VCM_MASK
	.comm	_RADIO_2056_RX1,4,2             ; @RADIO_2056_RX1
	.no_dead_strip	_wlc_phy_restore_rssical_nphy
.subsections_via_symbols
