	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function wlc_phy_poll_rssi_nphy
LCPI0_0:
	.long	63                              ## 0x3f
	.long	63                              ## 0x3f
	.long	63                              ## 0x3f
	.long	63                              ## 0x3f
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_wlc_phy_poll_rssi_nphy
	.p2align	4, 0x90
_wlc_phy_poll_rssi_nphy:                ## @wlc_phy_poll_rssi_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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	$166, %esi
	callq	_read_phy_reg
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$167, %esi
	callq	_read_phy_reg
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %edi
	movl	$3, %esi
	callq	_NREV_GE
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$249, %esi
	callq	_read_phy_reg
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$251, %esi
	callq	_read_phy_reg
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$143, %esi
	callq	_read_phy_reg
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$165, %esi
	callq	_read_phy_reg
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$229, %esi
	callq	_read_phy_reg
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$230, %esi
	callq	_read_phy_reg
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_2:
	movl	$165, %esi
	callq	_read_phy_reg
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$120, %esi
	callq	_read_phy_reg
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$236, %esi
	callq	_read_phy_reg
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$122, %esi
	callq	_read_phy_reg
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$125, %esi
	callq	_read_phy_reg
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	$0, -80(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -72(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -76(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
LBB0_3:
	movq	_RADIO_MIMO_CORESEL_ALLRX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_wlc_phy_rssisel_nphy
	movq	%rbx, %rdi
	movl	$202, %esi
	callq	_read_phy_reg
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %edi
	movl	$2, %esi
	callq	_NREV_LT
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movl	$202, %esi
	movl	$5, %edx
	callq	_write_phy_reg
LBB0_5:
	pxor	%xmm0, %xmm0
	movdqu	%xmm0, (%r14)
	testl	%r13d, %r13d
	jle	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movl	$2, %esi
	callq	_NREV_LT
	testq	%rax, %rax
	movl	$457, %esi                      ## imm = 0x1C9
	movl	$537, %eax                      ## imm = 0x219
	cmovel	%eax, %esi
	movl	$458, %r12d                     ## imm = 0x1CA
	movl	$538, %eax                      ## imm = 0x21A
	cmovel	%eax, %r12d
	movq	%rbx, %rdi
	callq	_read_phy_reg
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_read_phy_reg
	movd	%r15d, %xmm1
	shrl	$8, %r15d
	pinsrd	$1, %r15d, %xmm1
	pinsrd	$2, %eax, %xmm1
	shrl	$8, %eax
	pinsrd	$3, %eax, %xmm1
	pand	LCPI0_0(%rip), %xmm1
	movdqu	(%r14), %xmm0
	paddd	%xmm1, %xmm0
	movdqu	%xmm0, (%r14)
	decl	%r13d
	jne	LBB0_7
## %bb.8:
	pextrd	$3, %xmm0, %eax
	movzbl	%al, %r15d
	pextrd	$2, %xmm0, %eax
	shll	$8, %eax
	movzwl	%ax, %r14d
	pextrd	$1, %xmm0, %eax
	movzbl	%al, %r13d
	shll	$16, %r13d
	movd	%xmm0, %r12d
	shll	$24, %r12d
	jmp	LBB0_9
LBB0_6:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
LBB0_9:
	movl	(%rbx), %edi
	movl	$2, %esi
	callq	_NREV_LT
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	movl	$202, %esi
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	callq	_write_phy_reg
LBB0_11:
	movq	%rbx, %rdi
	movl	$166, %esi
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$167, %esi
	movl	-88(%rbp), %edx                 ## 4-byte Reload
	callq	_write_phy_reg
	movl	(%rbx), %edi
	movl	$3, %esi
	callq	_NREV_GE
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movl	$249, %esi
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$251, %esi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$143, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$165, %esi
	movl	-80(%rbp), %edx                 ## 4-byte Reload
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$229, %esi
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$230, %esi
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_14
LBB0_13:
	movl	$165, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$120, %esi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$236, %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$122, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_write_phy_reg
	movq	%rbx, %rdi
	movl	$125, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
LBB0_14:
	callq	_write_phy_reg
	orl	%r15d, %r14d
	orl	%r13d, %r14d
	orl	%r12d, %r14d
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RADIO_MIMO_CORESEL_ALLRX,4,2   ## @RADIO_MIMO_CORESEL_ALLRX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_poll_rssi_nphy         ; -- Begin function wlc_phy_poll_rssi_nphy
	.p2align	2
_wlc_phy_poll_rssi_nphy:                ; @wlc_phy_poll_rssi_nphy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x23, x3
	mov	x24, x2
	mov	x26, x1
	mov	x19, x0
	mov	w1, #166
	bl	_read_phy_reg
	mov	x20, x0
	mov	x0, x19
	mov	w1, #167
	bl	_read_phy_reg
	mov	x21, x0
	ldr	w0, [x19]
	mov	w1, #3
	bl	_NREV_GE
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #249
	bl	_read_phy_reg
	str	w0, [sp, #44]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #251
	bl	_read_phy_reg
	str	w0, [sp, #36]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #143
	bl	_read_phy_reg
	mov	x22, x0
	mov	x0, x19
	mov	w1, #165
	bl	_read_phy_reg
	mov	x25, x0
	mov	x0, x19
	mov	w1, #229
	bl	_read_phy_reg
	str	w0, [sp, #40]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #230
	bl	_read_phy_reg
	str	w0, [sp, #32]                   ; 4-byte Folded Spill
	stp	xzr, xzr, [sp, #16]             ; 16-byte Folded Spill
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	w1, #165
	bl	_read_phy_reg
	mov	x22, x0
	mov	x0, x19
	mov	w1, #120
	bl	_read_phy_reg
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #236
	bl	_read_phy_reg
	str	w0, [sp, #24]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #122
	bl	_read_phy_reg
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #125
	bl	_read_phy_reg
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
	mov	w25, #0
	stp	xzr, xzr, [sp, #32]             ; 16-byte Folded Spill
LBB0_3:
Lloh0:
	adrp	x8, _RADIO_MIMO_CORESEL_ALLRX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RADIO_MIMO_CORESEL_ALLRX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x26
	bl	_wlc_phy_rssisel_nphy
	mov	x0, x19
	mov	w1, #202
	bl	_read_phy_reg
	mov	x26, x0
	ldr	w0, [x19]
	mov	w1, #2
	bl	_NREV_LT
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	mov	w1, #202
	mov	w2, #5
	bl	_write_phy_reg
LBB0_5:
	stp	xzr, xzr, [x24]
	cmp	w23, #1
	b.lt	LBB0_9
; %bb.6:
	stp	w26, w25, [sp]                  ; 8-byte Folded Spill
	stp	w22, w21, [sp, #8]              ; 8-byte Folded Spill
	mov	x26, x20
	mov	w25, #457
	mov	w20, #537
	mov	w21, #458
	mov	w22, #538
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	mov	w1, #2
	bl	_NREV_LT
	cmp	x0, #0
	csel	w1, w20, w25, eq
	csel	w27, w22, w21, eq
	mov	x0, x19
	bl	_read_phy_reg
	mov	x28, x0
	mov	x0, x19
	mov	x1, x27
	bl	_read_phy_reg
	and	w8, w28, #0x3f
	ubfx	w9, w28, #8, #6
	and	w10, w0, #0x3f
	ldp	w11, w12, [x24]
	add	w8, w11, w8
	add	w9, w12, w9
	ldp	w11, w12, [x24, #8]
	add	w10, w11, w10
	ubfx	w11, w0, #8, #6
	stp	w8, w9, [x24]
	add	w11, w12, w11
	stp	w10, w11, [x24, #8]
	subs	w23, w23, #1
	b.ne	LBB0_7
; %bb.8:
	ubfiz	w27, w10, #8, #8
	and	w28, w11, #0xff
	ubfiz	w24, w9, #16, #8
	lsl	w23, w8, #24
	mov	x20, x26
	ldp	w22, w21, [sp, #8]              ; 8-byte Folded Reload
	ldp	w26, w25, [sp]                  ; 8-byte Folded Reload
	b	LBB0_10
LBB0_9:
	mov	w23, #0
	mov	w24, #0
	mov	w27, #0
	mov	w28, #0
LBB0_10:
	ldr	w0, [x19]
	mov	w1, #2
	bl	_NREV_LT
	cbz	x0, LBB0_12
; %bb.11:
	mov	x0, x19
	mov	w1, #202
	mov	x2, x26
	bl	_write_phy_reg
LBB0_12:
	mov	x0, x19
	mov	w1, #166
	mov	x2, x20
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #167
	mov	x2, x21
	bl	_write_phy_reg
	ldr	w0, [x19]
	mov	w1, #3
	bl	_NREV_GE
	cbz	x0, LBB0_14
; %bb.13:
	mov	x0, x19
	mov	w1, #249
	ldr	w2, [sp, #44]                   ; 4-byte Folded Reload
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #251
	ldr	w2, [sp, #36]                   ; 4-byte Folded Reload
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #143
	mov	x2, x22
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #165
	mov	x2, x25
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #229
	ldr	w2, [sp, #40]                   ; 4-byte Folded Reload
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #230
	ldr	w2, [sp, #32]                   ; 4-byte Folded Reload
	b	LBB0_15
LBB0_14:
	mov	x0, x19
	mov	w1, #165
	mov	x2, x22
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #120
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #236
	ldr	w2, [sp, #24]                   ; 4-byte Folded Reload
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #122
	ldr	w2, [sp, #20]                   ; 4-byte Folded Reload
	bl	_write_phy_reg
	mov	x0, x19
	mov	w1, #125
	ldr	w2, [sp, #16]                   ; 4-byte Folded Reload
LBB0_15:
	bl	_write_phy_reg
	orr	w8, w27, w28
	orr	w8, w8, w24
	orr	w0, w8, w23
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RADIO_MIMO_CORESEL_ALLRX,4,2   ; @RADIO_MIMO_CORESEL_ALLRX
.subsections_via_symbols
