	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function b43_phy_ht_poll_rssi
LCPI0_0:
	.long	63                              ## 0x3f
	.long	63                              ## 0x3f
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_b43_phy_ht_poll_rssi:                  ## @b43_phy_ht_poll_rssi
	.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, %r15d
	movq	%rdx, %r13
	movl	%esi, %r12d
	movq	%rdi, %r14
	movl	$133, %esi
	callq	_b43_phy_read
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	$132, %esi
	callq	_b43_phy_read
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	$2120, %esi                     ## imm = 0x848
	callq	_b43_phy_read
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	$2113, %esi                     ## imm = 0x841
	callq	_b43_phy_read
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	$131, %esi
	callq	_b43_phy_read
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	$130, %esi
	callq	_b43_phy_read
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	$2152, %esi                     ## imm = 0x868
	callq	_b43_phy_read
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	$2145, %esi                     ## imm = 0x861
	callq	_b43_phy_read
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	$129, %esi
	callq	_b43_phy_read
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	$128, %esi
	callq	_b43_phy_read
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	$2184, %esi                     ## imm = 0x888
	callq	_b43_phy_read
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	$2177, %esi                     ## imm = 0x881
	callq	_b43_phy_read
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	$5, %esi
	movl	%r12d, %edx
	callq	_b43_phy_ht_rssi_select
	pxor	%xmm0, %xmm0
	movdqu	%xmm0, (%r13)
	movdqu	%xmm0, 16(%r13)
	movdqu	%xmm0, 32(%r13)
	testl	%r15d, %r15d
	jle	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_B43_PHY_HT_RSSI_C1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_b43_phy_read
	movl	%eax, %ebx
	movq	_B43_PHY_HT_RSSI_C2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_b43_phy_read
	movl	%eax, %r12d
	movq	_B43_PHY_HT_RSSI_C3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_b43_phy_read
	movd	%ebx, %xmm0
	shrl	$8, %ebx
	pinsrd	$1, %ebx, %xmm0
	movdqa	LCPI0_0(%rip), %xmm3            ## xmm3 = <63,63,u,u>
	pand	%xmm3, %xmm0
	pmovzxdq	%xmm0, %xmm0                    ## xmm0 = xmm0[0],zero,xmm0[1],zero
	movdqu	(%r13), %xmm1
	paddq	%xmm0, %xmm1
	movdqu	16(%r13), %xmm0
	movdqu	32(%r13), %xmm2
	movdqu	%xmm1, (%r13)
	movd	%r12d, %xmm1
	shrl	$8, %r12d
	pinsrd	$1, %r12d, %xmm1
	pand	%xmm3, %xmm1
	pmovzxdq	%xmm1, %xmm1                    ## xmm1 = xmm1[0],zero,xmm1[1],zero
	paddq	%xmm0, %xmm1
	movdqu	%xmm1, 16(%r13)
	movd	%eax, %xmm0
	shrl	$8, %eax
	pinsrd	$1, %eax, %xmm0
	pand	%xmm3, %xmm0
	pmovzxdq	%xmm0, %xmm0                    ## xmm0 = xmm0[0],zero,xmm0[1],zero
	paddq	%xmm2, %xmm0
	movdqu	%xmm0, 32(%r13)
	decl	%r15d
	jne	LBB0_1
LBB0_2:
	movq	%r14, %rdi
	movl	$133, %esi
	movl	-88(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	%r14, %rdi
	movl	$132, %esi
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	%r14, %rdi
	movl	$2120, %esi                     ## imm = 0x848
	movl	-80(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	%r14, %rdi
	movl	$2113, %esi                     ## imm = 0x841
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	%r14, %rdi
	movl	$131, %esi
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	%r14, %rdi
	movl	$130, %esi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	%r14, %rdi
	movl	$2152, %esi                     ## imm = 0x868
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	%r14, %rdi
	movl	$2145, %esi                     ## imm = 0x861
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	%r14, %rdi
	movl	$129, %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	%r14, %rdi
	movl	$128, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	%r14, %rdi
	movl	$2184, %esi                     ## imm = 0x888
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_b43_phy_write
	movq	%r14, %rdi
	movl	$2177, %esi                     ## imm = 0x881
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_phy_write                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_PHY_HT_RSSI_C1,4,2         ## @B43_PHY_HT_RSSI_C1
	.comm	_B43_PHY_HT_RSSI_C2,4,2         ## @B43_PHY_HT_RSSI_C2
	.comm	_B43_PHY_HT_RSSI_C3,4,2         ## @B43_PHY_HT_RSSI_C3
	.no_dead_strip	_b43_phy_ht_poll_rssi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_phy_ht_poll_rssi
_b43_phy_ht_poll_rssi:                  ; @b43_phy_ht_poll_rssi
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x20, x3
	mov	x21, x2
	mov	x27, x1
	mov	x19, x0
	mov	w1, #133
	bl	_b43_phy_read
	str	w0, [sp, #44]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #132
	bl	_b43_phy_read
	str	w0, [sp, #40]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #2120
	bl	_b43_phy_read
	str	w0, [sp, #36]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #2113
	bl	_b43_phy_read
	str	w0, [sp, #32]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #131
	bl	_b43_phy_read
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #130
	bl	_b43_phy_read
	str	w0, [sp, #24]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #2152
	bl	_b43_phy_read
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #2145
	bl	_b43_phy_read
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #129
	bl	_b43_phy_read
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #128
	bl	_b43_phy_read
	str	w0, [sp, #8]                    ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #2184
	bl	_b43_phy_read
	mov	x25, x0
	mov	x0, x19
	mov	w1, #2177
	bl	_b43_phy_read
	mov	x26, x0
	mov	x0, x19
	mov	w1, #5
	mov	x2, x27
	bl	_b43_phy_ht_rssi_select
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x21]
	str	q0, [x21, #32]
	cmp	w20, #1
	b.lt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x22, _B43_PHY_HT_RSSI_C1@GOTPAGE
Lloh1:
	ldr	x22, [x22, _B43_PHY_HT_RSSI_C1@GOTPAGEOFF]
Lloh2:
	adrp	x23, _B43_PHY_HT_RSSI_C2@GOTPAGE
Lloh3:
	ldr	x23, [x23, _B43_PHY_HT_RSSI_C2@GOTPAGEOFF]
	movi.2s	v8, #63
Lloh4:
	adrp	x24, _B43_PHY_HT_RSSI_C3@GOTPAGE
Lloh5:
	ldr	x24, [x24, _B43_PHY_HT_RSSI_C3@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x19
	bl	_b43_phy_read
	mov	x27, x0
	ldr	w1, [x23]
	mov	x0, x19
	bl	_b43_phy_read
	mov	x28, x0
	ldr	w1, [x24]
	mov	x0, x19
	bl	_b43_phy_read
	lsr	w8, w27, #8
	fmov	s0, w27
	mov.s	v0[1], w8
	and.8b	v0, v0, v8
	ldp	q1, q2, [x21]
	uaddw.2d	v0, v1, v0
	lsr	w8, w28, #8
	fmov	s1, w28
	mov.s	v1[1], w8
	and.8b	v1, v1, v8
	uaddw.2d	v1, v2, v1
	lsr	w8, w0, #8
	fmov	s2, w0
	mov.s	v2[1], w8
	stp	q0, q1, [x21]
	and.8b	v0, v2, v8
	ldr	q1, [x21, #32]
	uaddw.2d	v0, v1, v0
	str	q0, [x21, #32]
	subs	w20, w20, #1
	b.ne	LBB0_2
LBB0_3:
	mov	x0, x19
	mov	w1, #133
	ldr	w2, [sp, #44]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #132
	ldr	w2, [sp, #40]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #2120
	ldr	w2, [sp, #36]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #2113
	ldr	w2, [sp, #32]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #131
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #130
	ldr	w2, [sp, #24]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #2152
	ldr	w2, [sp, #20]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #2145
	ldr	w2, [sp, #16]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #129
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #128
	ldr	w2, [sp, #8]                    ; 4-byte Folded Reload
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #2184
	mov	x2, x25
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #2177
	mov	x2, x26
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_b43_phy_write
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_PHY_HT_RSSI_C1,4,2         ; @B43_PHY_HT_RSSI_C1
	.comm	_B43_PHY_HT_RSSI_C2,4,2         ; @B43_PHY_HT_RSSI_C2
	.comm	_B43_PHY_HT_RSSI_C3,4,2         ; @B43_PHY_HT_RSSI_C3
	.no_dead_strip	_b43_phy_ht_poll_rssi
.subsections_via_symbols
