	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_rssisel_nphy           ## -- Begin function wlc_phy_rssisel_nphy
	.p2align	4, 0x90
_wlc_phy_rssisel_nphy:                  ## @wlc_phy_rssisel_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	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	16(%rdi), %edi
	movl	$3, %esi
	callq	_NREV_GE
	testq	%rax, %rax
	je	LBB0_23
## %bb.1:
	movq	_RADIO_MIMO_CORESEL_OFF@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_2
## %bb.37:
	movq	%r12, %rdi
	movl	$143, %esi
	movl	$512, %edx                      ## imm = 0x200
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r12, %rdi
	movl	$165, %esi
	movl	$512, %edx                      ## imm = 0x200
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r12, %rdi
	movl	$166, %esi
	movl	$768, %edx                      ## imm = 0x300
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r12, %rdi
	movl	$167, %esi
	movl	$768, %edx                      ## imm = 0x300
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r12, %rdi
	movl	$229, %esi
	movl	$32, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r12, %rdi
	movl	$230, %esi
	movl	$32, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r12, %rdi
	movl	$249, %esi
	movl	$60, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	%r12, %rdi
	movl	$251, %esi
	movl	$60, %edx
	jmp	LBB0_36
LBB0_23:
	movq	_NPHY_RSSI_SEL_W1@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	movq	_NPHY_RSSI_SEL_W2@GOTPCREL(%rip), %rax
	movq	_NPHY_RSSI_SEL_NB@GOTPCREL(%rip), %r13
	cmpq	%r15, (%rcx)
	je	LBB0_28
## %bb.24:
	cmpq	%r15, (%rax)
	je	LBB0_28
## %bb.25:
	cmpq	%r15, (%r13)
	je	LBB0_28
## %bb.26:
	movq	_NPHY_RSSI_SEL_TBD@GOTPCREL(%rip), %rax
	movl	$20480, %ebx                    ## imm = 0x5000
	cmpq	%r15, (%rax)
	je	LBB0_28
## %bb.27:
	movq	_NPHY_RSSI_SEL_IQ@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	movl	$40960, %eax                    ## imm = 0xA000
	movl	$61440, %ebx                    ## imm = 0xF000
	cmovel	%eax, %ebx
LBB0_28:
	movq	%r12, %rdi
	movl	$166, %esi
	movl	$61440, %edx                    ## imm = 0xF000
	movl	%ebx, %ecx
	callq	_mod_phy_reg
	movq	%r12, %rdi
	movl	$167, %esi
	movl	$61440, %edx                    ## imm = 0xF000
	movl	%ebx, %ecx
	callq	_mod_phy_reg
	movq	_NPHY_RSSI_SEL_W1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_NPHY_RSSI_SEL_W2@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	(%r13), %rax
	cmpq	%r15, %rdx
	je	LBB0_31
## %bb.29:
	cmpq	%r15, %rcx
	je	LBB0_31
## %bb.30:
	cmpq	%r15, %rax
	jne	LBB0_32
LBB0_31:
	shll	$4, %ebx
	cmpq	%r15, %rdx
	movl	$16, %edx
	cmovnel	%ebx, %edx
	cmpq	%r15, %rcx
	movl	$32, %ebx
	cmovnel	%edx, %ebx
	cmpq	%r15, %rax
	movl	$48, %eax
	cmovel	%eax, %ebx
	movq	%r12, %rdi
	movl	$122, %esi
	movl	$48, %edx
	movl	%ebx, %ecx
	callq	_mod_phy_reg
	movq	%r12, %rdi
	movl	$125, %esi
	movl	$48, %edx
	movl	%ebx, %ecx
	callq	_mod_phy_reg
LBB0_32:
	movq	_RADIO_MIMO_CORESEL_OFF@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	xorl	%r13d, %r13d
	cmpq	%r14, %rbx
	movl	$12288, %ecx                    ## imm = 0x3000
	cmovel	%r13d, %ecx
	movq	%r12, %rdi
	movl	$165, %esi
	movl	$12288, %edx                    ## imm = 0x3000
	callq	_mod_phy_reg
	movq	_NPHY_RSSI_SEL_W1@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	je	LBB0_35
## %bb.33:
	movq	_NPHY_RSSI_SEL_W2@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	je	LBB0_35
## %bb.34:
	movq	_NPHY_RSSI_SEL_NB@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_22
LBB0_35:
	movl	%r14d, %ecx
	orl	$32, %ecx
	shll	$3, %ecx
	xorl	%r15d, %r15d
	cmpq	%r14, %rbx
	setne	%r15b
	cmovel	%r13d, %ecx
	movl	$4130, %ebx                     ## imm = 0x1022
	cmovel	%r13d, %ebx
	orl	%r15d, %ebx
	movq	%r12, %rdi
	movl	$120, %esi
	movl	$312, %edx                      ## imm = 0x138
	callq	_mod_phy_reg
	movq	%r12, %rdi
	movl	$236, %esi
	movl	$4131, %edx                     ## imm = 0x1023
	movl	%ebx, %ecx
	callq	_mod_phy_reg
	movq	%r12, %rdi
	movl	$120, %esi
	movl	$1, %edx
	movl	%r15d, %ecx
	callq	_mod_phy_reg
	movl	$20, %edi
	callq	_udelay
	movq	%r12, %rdi
	movl	$236, %esi
	movl	$1, %edx
LBB0_36:
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mod_phy_reg                    ## TAILCALL
LBB0_2:
	cmpq	$0, 8(%r12)
	jle	LBB0_22
## %bb.3:
	xorl	%ebx, %ebx
	movq	_RADIO_MIMO_CORESEL_CORE1@GOTPCREL(%rip), %rcx
	movq	_PHY_CORE_1@GOTPCREL(%rip), %rdx
	movq	_RADIO_MIMO_CORESEL_CORE2@GOTPCREL(%rip), %rsi
	movq	_PHY_CORE_0@GOTPCREL(%rip), %r13
	jmp	LBB0_4
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%esi, %esi
	cmpq	(%r13), %rbx
	sete	%sil
	xorl	$167, %esi
	movq	%r12, %rdi
	movl	$768, %edx                      ## imm = 0x300
	movl	$256, %ecx                      ## imm = 0x100
	callq	_mod_phy_reg
	xorl	%esi, %esi
	cmpq	(%r13), %rbx
	sete	%sil
	xorl	$167, %esi
	movq	%r12, %rdi
	movl	$3072, %edx                     ## imm = 0xC00
	movl	$1024, %ecx                     ## imm = 0x400
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	callq	_mod_phy_reg
	movq	_RADIO_MIMO_CORESEL_CORE1@GOTPCREL(%rip), %rcx
	movq	_PHY_CORE_1@GOTPCREL(%rip), %rdx
	movq	_RADIO_MIMO_CORESEL_CORE2@GOTPCREL(%rip), %rsi
LBB0_21:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	cmpq	8(%r12), %rbx
	jge	LBB0_22
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, (%rcx)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	(%rdx), %rbx
	je	LBB0_21
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r13), %rax
	cmpq	%r14, (%rsi)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rax, %rbx
	je	LBB0_21
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rax, %rbx
	movl	$165, %esi
	movl	$143, %eax
	cmovel	%eax, %esi
	movq	%r12, %rdi
	movl	$512, %edx                      ## imm = 0x200
	movl	$512, %ecx                      ## imm = 0x200
	callq	_mod_phy_reg
	movq	_NPHY_RSSI_SEL_W1@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_NPHY_RSSI_SEL_W2@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_NPHY_RSSI_SEL_NB@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	je	LBB0_11
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_NPHY_RSSI_SEL_TBD@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	xorl	%esi, %esi
	cmpq	(%r13), %rbx
	sete	%sil
	xorl	$167, %esi
	movq	_NPHY_RSSI_SEL_IQ@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movl	$768, %edx                      ## imm = 0x300
	movl	$512, %ecx                      ## imm = 0x200
	callq	_mod_phy_reg
	xorl	%esi, %esi
	cmpq	(%r13), %rbx
	sete	%sil
	xorl	$167, %esi
	movq	%r12, %rdi
	movl	$3072, %edx                     ## imm = 0xC00
	movl	$2048, %ecx                     ## imm = 0x800
	jmp	LBB0_20
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%esi, %esi
	cmpq	(%r13), %rbx
	sete	%sil
	xorl	$167, %esi
	movq	%r12, %rdi
	movl	$768, %edx                      ## imm = 0x300
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	xorl	%eax, %eax
	cmpq	(%r13), %rbx
	setne	%al
	leal	(%rax,%rax), %esi
	addl	$249, %esi
	movq	%r12, %rdi
	movl	$60, %edx
	xorl	%ecx, %ecx
	callq	_mod_phy_reg
	movq	_NPHY_RSSI_SEL_W1@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r12), %edi
	callq	_CHSPEC_IS5G
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	leal	4(,%rcx,4), %ecx
	jmp	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ecx, %ecx
	movq	_NPHY_RSSI_SEL_W2@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	setne	%cl
	shll	$4, %ecx
	addl	$16, %ecx
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	cmpq	(%r13), %rbx
	setne	%al
	leal	(%rax,%rax), %esi
	addl	$249, %esi
	movq	%r12, %rdi
	movl	%ecx, %edx
	callq	_mod_phy_reg
	xorl	%eax, %eax
	cmpq	(%r13), %rbx
	sete	%al
	movl	$230, %esi
	subl	%eax, %esi
	movq	%r12, %rdi
	movl	$32, %edx
	movl	$32, %ecx
	jmp	LBB0_20
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movl	$768, %edx                      ## imm = 0x300
	movl	$768, %ecx                      ## imm = 0x300
	callq	_mod_phy_reg
	xorl	%esi, %esi
	cmpq	(%r13), %rbx
	sete	%sil
	xorl	$167, %esi
	movq	%r12, %rdi
	movl	$3072, %edx                     ## imm = 0xC00
	movl	$3072, %ecx                     ## imm = 0xC00
	callq	_mod_phy_reg
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_brcms_phy_wr_tx_mux
	cmpq	(%r13), %rbx
	movl	$165, %esi
	movl	$143, %eax
	cmovel	%eax, %esi
	movq	%r12, %rdi
	movl	$512, %edx                      ## imm = 0x200
	movl	$512, %ecx                      ## imm = 0x200
	jmp	LBB0_20
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RADIO_MIMO_CORESEL_OFF,8,3     ## @RADIO_MIMO_CORESEL_OFF
	.comm	_RADIO_MIMO_CORESEL_CORE1,8,3   ## @RADIO_MIMO_CORESEL_CORE1
	.comm	_PHY_CORE_1,8,3                 ## @PHY_CORE_1
	.comm	_RADIO_MIMO_CORESEL_CORE2,8,3   ## @RADIO_MIMO_CORESEL_CORE2
	.comm	_PHY_CORE_0,8,3                 ## @PHY_CORE_0
	.comm	_NPHY_RSSI_SEL_W1,8,3           ## @NPHY_RSSI_SEL_W1
	.comm	_NPHY_RSSI_SEL_W2,8,3           ## @NPHY_RSSI_SEL_W2
	.comm	_NPHY_RSSI_SEL_NB,8,3           ## @NPHY_RSSI_SEL_NB
	.comm	_NPHY_RSSI_SEL_TBD,8,3          ## @NPHY_RSSI_SEL_TBD
	.comm	_NPHY_RSSI_SEL_IQ,8,3           ## @NPHY_RSSI_SEL_IQ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_rssisel_nphy           ; -- Begin function wlc_phy_rssisel_nphy
	.p2align	2
_wlc_phy_rssisel_nphy:                  ; @wlc_phy_rssisel_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	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #16]
	mov	w1, #3
	bl	_NREV_GE
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _RADIO_MIMO_CORESEL_OFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RADIO_MIMO_CORESEL_OFF@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x19
	mov	w1, #143
	mov	w2, #512
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #165
	mov	w2, #512
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #166
	mov	w2, #768
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #167
	mov	w2, #768
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #229
	mov	w2, #32
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #230
	mov	w2, #32
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #249
	mov	w2, #60
	mov	w3, #0
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #251
	mov	w2, #60
	b	LBB0_31
LBB0_3:
Lloh3:
	adrp	x25, _NPHY_RSSI_SEL_W1@GOTPAGE
Lloh4:
	ldr	x25, [x25, _NPHY_RSSI_SEL_W1@GOTPAGEOFF]
	ldr	x8, [x25]
Lloh5:
	adrp	x24, _NPHY_RSSI_SEL_W2@GOTPAGE
Lloh6:
	ldr	x24, [x24, _NPHY_RSSI_SEL_W2@GOTPAGEOFF]
	ldr	x9, [x24]
Lloh7:
	adrp	x23, _NPHY_RSSI_SEL_NB@GOTPAGE
Lloh8:
	ldr	x23, [x23, _NPHY_RSSI_SEL_NB@GOTPAGEOFF]
	ldr	x10, [x23]
	cmp	x8, x21
	ccmp	x9, x21, #4, ne
	ccmp	x10, x21, #4, ne
	b.ne	LBB0_21
; %bb.4:
	mov	w22, #0
	b	LBB0_24
LBB0_5:
	ldr	x8, [x19, #8]
	cmp	x8, #1
	b.lt	LBB0_29
; %bb.6:
	mov	x22, #0
Lloh9:
	adrp	x23, _RADIO_MIMO_CORESEL_CORE1@GOTPAGE
Lloh10:
	ldr	x23, [x23, _RADIO_MIMO_CORESEL_CORE1@GOTPAGEOFF]
Lloh11:
	adrp	x24, _PHY_CORE_1@GOTPAGE
Lloh12:
	ldr	x24, [x24, _PHY_CORE_1@GOTPAGEOFF]
Lloh13:
	adrp	x26, _RADIO_MIMO_CORESEL_CORE2@GOTPAGE
Lloh14:
	ldr	x26, [x26, _RADIO_MIMO_CORESEL_CORE2@GOTPAGEOFF]
Lloh15:
	adrp	x28, _PHY_CORE_0@GOTPAGE
Lloh16:
	ldr	x28, [x28, _PHY_CORE_0@GOTPAGEOFF]
	mov	w25, #166
Lloh17:
	adrp	x27, _NPHY_RSSI_SEL_W1@GOTPAGE
Lloh18:
	ldr	x27, [x27, _NPHY_RSSI_SEL_W1@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x28]
	cmp	x22, x8
	cinc	w1, w25, ne
	mov	x0, x19
	mov	w2, #768
	mov	w3, #256
	bl	_mod_phy_reg
	ldr	x8, [x28]
	cmp	x22, x8
	cinc	w1, w25, ne
	mov	x0, x19
	mov	w2, #3072
	mov	w3, #1024
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	bl	_mod_phy_reg
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x22, x22, #1
	ldr	x8, [x19, #8]
	cmp	x22, x8
	b.ge	LBB0_29
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x9, [x24]
	cmp	x8, x20
	ccmp	x22, x9, #0, eq
	b.eq	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x9, [x26]
	ldr	x8, [x28]
	cmp	x9, x20
	ccmp	x22, x8, #0, eq
	b.eq	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	cmp	x22, x8
	mov	w8, #165
	mov	w9, #143
	csel	w1, w9, w8, eq
	mov	x0, x19
	mov	w2, #512
	mov	w3, #512
	bl	_mod_phy_reg
	ldr	x8, [x27]
Lloh19:
	adrp	x9, _NPHY_RSSI_SEL_W2@GOTPAGE
Lloh20:
	ldr	x9, [x9, _NPHY_RSSI_SEL_W2@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
Lloh22:
	adrp	x10, _NPHY_RSSI_SEL_NB@GOTPAGE
Lloh23:
	ldr	x10, [x10, _NPHY_RSSI_SEL_NB@GOTPAGEOFF]
Lloh24:
	ldr	x10, [x10]
	cmp	x8, x21
	ccmp	x9, x21, #4, ne
	ccmp	x10, x21, #4, ne
	b.ne	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x28]
	cmp	x22, x8
	cinc	w1, w25, ne
	mov	x0, x19
	mov	w2, #768
	mov	w3, #0
	bl	_mod_phy_reg
	ldr	x8, [x28]
	cmp	x22, x8
	mov	w8, #251
	mov	w9, #249
	csel	w1, w9, w8, eq
	mov	x0, x19
	mov	w2, #60
	mov	w3, #0
	bl	_mod_phy_reg
	ldr	x8, [x27]
	cmp	x8, x21
	b.ne	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x19]
	bl	_CHSPEC_IS5G
	cmp	x0, #0
	mov	w8, #4
	mov	w9, #8
	b	LBB0_19
LBB0_15:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh25:
	adrp	x8, _NPHY_RSSI_SEL_TBD@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NPHY_RSSI_SEL_TBD@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cmp	x8, x21
	b.eq	LBB0_7
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh28:
	adrp	x8, _NPHY_RSSI_SEL_IQ@GOTPAGE
Lloh29:
	ldr	x8, [x8, _NPHY_RSSI_SEL_IQ@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	ldr	x9, [x28]
	cmp	x22, x9
	cinc	w1, w25, ne
	mov	x0, x19
	mov	w2, #768
	cmp	x8, x21
	b.ne	LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w3, #512
	bl	_mod_phy_reg
	ldr	x8, [x28]
	cmp	x22, x8
	cinc	w1, w25, ne
	mov	x0, x19
	mov	w2, #3072
	mov	w3, #2048
	b	LBB0_8
LBB0_18:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh31:
	adrp	x8, _NPHY_RSSI_SEL_W2@GOTPAGE
Lloh32:
	ldr	x8, [x8, _NPHY_RSSI_SEL_W2@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	cmp	x8, x21
	mov	w8, #32
	mov	w9, #16
LBB0_19:                                ;   in Loop: Header=BB0_10 Depth=1
	csel	w2, w9, w8, eq
	ldr	x8, [x28]
	cmp	x22, x8
	mov	w8, #251
	mov	w9, #249
	csel	w1, w9, w8, eq
	mov	x0, x19
	mov	x3, x2
	bl	_mod_phy_reg
	ldr	x8, [x28]
	cmp	x22, x8
	mov	w8, #229
	cinc	w1, w8, ne
	mov	x0, x19
	mov	w2, #32
	mov	w3, #32
	b	LBB0_8
LBB0_20:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w3, #768
	bl	_mod_phy_reg
	ldr	x8, [x28]
	cmp	x22, x8
	cinc	w1, w25, ne
	mov	x0, x19
	mov	w2, #3072
	mov	w3, #3072
	bl	_mod_phy_reg
	mov	x0, x19
	mov	x1, x22
	bl	_brcms_phy_wr_tx_mux
	ldr	x8, [x28]
	cmp	x22, x8
	mov	w8, #165
	mov	w9, #143
	csel	w1, w9, w8, eq
	mov	x0, x19
	mov	w2, #512
	mov	w3, #512
	b	LBB0_8
LBB0_21:
Lloh34:
	adrp	x8, _NPHY_RSSI_SEL_TBD@GOTPAGE
Lloh35:
	ldr	x8, [x8, _NPHY_RSSI_SEL_TBD@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_23
; %bb.22:
	mov	w22, #20480
	b	LBB0_24
LBB0_23:
Lloh37:
	adrp	x8, _NPHY_RSSI_SEL_IQ@GOTPAGE
Lloh38:
	ldr	x8, [x8, _NPHY_RSSI_SEL_IQ@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	cmp	x8, x21
	mov	w8, #61440
	mov	w9, #40960
	csel	w22, w9, w8, eq
LBB0_24:
	mov	x0, x19
	mov	w1, #166
	mov	w2, #61440
	mov	x3, x22
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #167
	mov	w2, #61440
	mov	x3, x22
	bl	_mod_phy_reg
	ldr	x10, [x25]
	ldr	x9, [x24]
	ldr	x8, [x23]
	cmp	x10, x21
	ccmp	x9, x21, #4, ne
	ccmp	x8, x21, #4, ne
	b.ne	LBB0_26
; %bb.25:
	lsl	w11, w22, #4
	cmp	x10, x21
	mov	w10, #16
	csel	w10, w10, w11, eq
	cmp	x9, x21
	mov	w9, #32
	csel	w9, w9, w10, eq
	cmp	x8, x21
	mov	w8, #48
	csel	w22, w8, w9, eq
	mov	x0, x19
	mov	w1, #122
	mov	w2, #48
	mov	x3, x22
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #125
	mov	w2, #48
	mov	x3, x22
	bl	_mod_phy_reg
LBB0_26:
Lloh40:
	adrp	x8, _RADIO_MIMO_CORESEL_OFF@GOTPAGE
Lloh41:
	ldr	x8, [x8, _RADIO_MIMO_CORESEL_OFF@GOTPAGEOFF]
Lloh42:
	ldr	x22, [x8]
	cmp	x22, x20
	mov	w8, #12288
	csel	w3, wzr, w8, eq
	mov	x0, x19
	mov	w1, #165
	mov	w2, #12288
	bl	_mod_phy_reg
	ldr	x8, [x25]
	cmp	x8, x21
	b.eq	LBB0_30
; %bb.27:
	ldr	x8, [x24]
	cmp	x8, x21
	b.eq	LBB0_30
; %bb.28:
	ldr	x8, [x23]
	cmp	x8, x21
	b.eq	LBB0_30
LBB0_29:
	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_30:
	cmp	x22, x20
	cset	w21, ne
	lsl	w8, w20, #3
	orr	w8, w8, #0x100
	csel	w3, wzr, w8, eq
	mov	w8, #4130
	csel	w8, wzr, w8, eq
	orr	w20, w8, w21
	mov	x0, x19
	mov	w1, #120
	mov	w2, #312
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #236
	mov	w2, #4131
	mov	x3, x20
	bl	_mod_phy_reg
	mov	x0, x19
	mov	w1, #120
	mov	w2, #1
	mov	x3, x21
	bl	_mod_phy_reg
	mov	w0, #20
	bl	_udelay
	mov	x0, x19
	mov	w1, #236
	mov	w2, #1
LBB0_31:
	mov	w3, #0
	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
	b	_mod_phy_reg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_RADIO_MIMO_CORESEL_OFF,8,3     ; @RADIO_MIMO_CORESEL_OFF
	.comm	_RADIO_MIMO_CORESEL_CORE1,8,3   ; @RADIO_MIMO_CORESEL_CORE1
	.comm	_PHY_CORE_1,8,3                 ; @PHY_CORE_1
	.comm	_RADIO_MIMO_CORESEL_CORE2,8,3   ; @RADIO_MIMO_CORESEL_CORE2
	.comm	_PHY_CORE_0,8,3                 ; @PHY_CORE_0
	.comm	_NPHY_RSSI_SEL_W1,8,3           ; @NPHY_RSSI_SEL_W1
	.comm	_NPHY_RSSI_SEL_W2,8,3           ; @NPHY_RSSI_SEL_W2
	.comm	_NPHY_RSSI_SEL_NB,8,3           ; @NPHY_RSSI_SEL_NB
	.comm	_NPHY_RSSI_SEL_TBD,8,3          ; @NPHY_RSSI_SEL_TBD
	.comm	_NPHY_RSSI_SEL_IQ,8,3           ; @NPHY_RSSI_SEL_IQ
.subsections_via_symbols
