	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_nphy_rev2_rssi_select
_b43_nphy_rev2_rssi_select:             ## @b43_nphy_rev2_rssi_select
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r14d
	movq	%rdi, %r15
	leal	-128(%rbx), %eax
	cmpl	$4, %eax
	ja	LBB0_1
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:
	movq	_B43_NPHY_AFECTL_C1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$4095, %edx                     ## imm = 0xFFF
	xorl	%ecx, %ecx
	callq	_b43_phy_maskset
	movq	_B43_NPHY_AFECTL_C2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$4095, %edx                     ## imm = 0xFFF
	xorl	%ecx, %ecx
	callq	_b43_phy_maskset
	movq	_B43_NPHY_RFCTL_RSSIO1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$4, %ebx
	addl	$16, %ebx
	movq	%r15, %rdi
	movl	$65487, %edx                    ## imm = 0xFFCF
	movl	%ebx, %ecx
	callq	_b43_phy_maskset
	movq	_B43_NPHY_RFCTL_RSSIO2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$65487, %edx                    ## imm = 0xFFCF
	movl	%ebx, %ecx
	callq	_b43_phy_maskset
	movq	_B43_NPHY_AFECTL_OVER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	testl	%r14d, %r14d
	je	LBB0_8
## %bb.12:
	movl	$12288, %edx                    ## imm = 0x3000
	callq	_b43_phy_set
	movq	_B43_NPHY_RFCTL_CMD@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_B43_NPHY_RFCTL_CMD_RXEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_B43_NPHY_RFCTL_CMD_CORESEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	%eax, %edx
	notl	%edx
	movq	_B43_NPHY_RFCTL_CMD_CORESEL_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r14d
	orl	%eax, %r14d
	movq	%r15, %rdi
	movl	%r14d, %ecx
	callq	_b43_phy_maskset
	movq	_B43_NPHY_RFCTL_OVER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$4131, %edx                     ## imm = 0x1023
	callq	_b43_phy_set
	movl	(%r12), %esi
	movq	_B43_NPHY_RFCTL_CMD_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_b43_phy_set
	movl	$20, %edi
	callq	_udelay
	movl	(%rbx), %esi
	jmp	LBB0_9
LBB0_8:
	movl	$-12289, %edx                   ## imm = 0xCFFF
	callq	_b43_phy_mask
	movq	_B43_NPHY_RFCTL_CMD@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_B43_NPHY_RFCTL_CMD_RXEN@GOTPCREL(%rip), %rax
	movq	_B43_NPHY_RFCTL_CMD_CORESEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	notl	%edx
	movq	%r15, %rdi
	callq	_b43_phy_mask
	movq	_B43_NPHY_RFCTL_OVER@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r15, %rdi
	movl	$-4132, %edx                    ## imm = 0xEFDC
	callq	_b43_phy_mask
	movl	(%rbx), %esi
	movq	_B43_NPHY_RFCTL_CMD_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	movq	%r15, %rdi
	callq	_b43_phy_mask
	movl	$20, %edi
	callq	_udelay
	movl	(%r14), %esi
LBB0_9:
	movq	%r15, %rdi
	movl	$-2, %edx
	jmp	LBB0_7
LBB0_1:
	movl	$61440, %ebx                    ## imm = 0xF000
	jmp	LBB0_5
LBB0_4:
	movl	$20480, %ebx                    ## imm = 0x5000
	jmp	LBB0_5
LBB0_3:
	movl	$40960, %ebx                    ## imm = 0xA000
LBB0_5:
	movq	_B43_NPHY_AFECTL_C1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$4095, %edx                     ## imm = 0xFFF
	movl	%ebx, %ecx
	callq	_b43_phy_maskset
	movq	_B43_NPHY_AFECTL_C2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$4095, %edx                     ## imm = 0xFFF
	movl	%ebx, %ecx
	callq	_b43_phy_maskset
	movq	_B43_NPHY_AFECTL_OVER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.10:
	movl	$12288, %edx                    ## imm = 0x3000
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_phy_set                    ## TAILCALL
LBB0_6:
	movl	$-12289, %edx                   ## imm = 0xCFFF
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_phy_mask                   ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_4
	.long	L0_0_set_11
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_B43_NPHY_AFECTL_C1,4,2         ## @B43_NPHY_AFECTL_C1
	.comm	_B43_NPHY_AFECTL_C2,4,2         ## @B43_NPHY_AFECTL_C2
	.comm	_B43_NPHY_RFCTL_RSSIO1,4,2      ## @B43_NPHY_RFCTL_RSSIO1
	.comm	_B43_NPHY_RFCTL_RSSIO2,4,2      ## @B43_NPHY_RFCTL_RSSIO2
	.comm	_B43_NPHY_AFECTL_OVER,4,2       ## @B43_NPHY_AFECTL_OVER
	.comm	_B43_NPHY_RFCTL_CMD,4,2         ## @B43_NPHY_RFCTL_CMD
	.comm	_B43_NPHY_RFCTL_CMD_RXEN,4,2    ## @B43_NPHY_RFCTL_CMD_RXEN
	.comm	_B43_NPHY_RFCTL_CMD_CORESEL,4,2 ## @B43_NPHY_RFCTL_CMD_CORESEL
	.comm	_B43_NPHY_RFCTL_OVER,4,2        ## @B43_NPHY_RFCTL_OVER
	.comm	_B43_NPHY_RFCTL_CMD_START,4,2   ## @B43_NPHY_RFCTL_CMD_START
	.comm	_B43_NPHY_RFCTL_CMD_CORESEL_SHIFT,4,2 ## @B43_NPHY_RFCTL_CMD_CORESEL_SHIFT
	.no_dead_strip	_b43_nphy_rev2_rssi_select
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_nphy_rev2_rssi_select
_b43_nphy_rev2_rssi_select:             ; @b43_nphy_rev2_rssi_select
	.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	x20, x1
	mov	x19, x0
	sub	w8, w2, #128
	cmp	w8, #4
	b.hi	LBB0_6
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x21, x2
Lloh2:
	adrp	x8, _B43_NPHY_AFECTL_C1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _B43_NPHY_AFECTL_C1@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4095
	mov	w3, #0
	bl	_b43_phy_maskset
Lloh5:
	adrp	x8, _B43_NPHY_AFECTL_C2@GOTPAGE
Lloh6:
	ldr	x8, [x8, _B43_NPHY_AFECTL_C2@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4095
	mov	w3, #0
	bl	_b43_phy_maskset
Lloh8:
	adrp	x8, _B43_NPHY_RFCTL_RSSIO1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _B43_NPHY_RFCTL_RSSIO1@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	lsl	w8, w21, #4
	add	w21, w8, #16
	mov	x0, x19
	mov	w2, #65487
	mov	x3, x21
	bl	_b43_phy_maskset
Lloh11:
	adrp	x8, _B43_NPHY_RFCTL_RSSIO2@GOTPAGE
Lloh12:
	ldr	x8, [x8, _B43_NPHY_RFCTL_RSSIO2@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #65487
	mov	x3, x21
	bl	_b43_phy_maskset
Lloh14:
	adrp	x8, _B43_NPHY_AFECTL_OVER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _B43_NPHY_AFECTL_OVER@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	cbz	w20, LBB0_4
; %bb.3:
	mov	w2, #12288
	bl	_b43_phy_set
Lloh17:
	adrp	x21, _B43_NPHY_RFCTL_CMD@GOTPAGE
Lloh18:
	ldr	x21, [x21, _B43_NPHY_RFCTL_CMD@GOTPAGEOFF]
Lloh19:
	adrp	x8, _B43_NPHY_RFCTL_CMD_RXEN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _B43_NPHY_RFCTL_CMD_RXEN@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _B43_NPHY_RFCTL_CMD_CORESEL@GOTPAGE
Lloh23:
	ldr	x9, [x9, _B43_NPHY_RFCTL_CMD_CORESEL@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w9, w9, w8
	mvn	w2, w9
Lloh25:
	adrp	x9, _B43_NPHY_RFCTL_CMD_CORESEL_SHIFT@GOTPAGE
Lloh26:
	ldr	x9, [x9, _B43_NPHY_RFCTL_CMD_CORESEL_SHIFT@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	lsl	w9, w20, w9
	orr	w3, w9, w8
	mov	x0, x19
	bl	_b43_phy_maskset
Lloh28:
	adrp	x20, _B43_NPHY_RFCTL_OVER@GOTPAGE
Lloh29:
	ldr	x20, [x20, _B43_NPHY_RFCTL_OVER@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #4131
	bl	_b43_phy_set
	ldr	w1, [x21]
Lloh30:
	adrp	x8, _B43_NPHY_RFCTL_CMD_START@GOTPAGE
Lloh31:
	ldr	x8, [x8, _B43_NPHY_RFCTL_CMD_START@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_b43_phy_set
	mov	w0, #20
	bl	_udelay
	ldr	w1, [x20]
	b	LBB0_5
LBB0_4:
	mov	w2, #-12289
	bl	_b43_phy_mask
Lloh33:
	adrp	x20, _B43_NPHY_RFCTL_CMD@GOTPAGE
Lloh34:
	ldr	x20, [x20, _B43_NPHY_RFCTL_CMD@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh35:
	adrp	x8, _B43_NPHY_RFCTL_CMD_RXEN@GOTPAGE
Lloh36:
	ldr	x8, [x8, _B43_NPHY_RFCTL_CMD_RXEN@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
Lloh38:
	adrp	x9, _B43_NPHY_RFCTL_CMD_CORESEL@GOTPAGE
Lloh39:
	ldr	x9, [x9, _B43_NPHY_RFCTL_CMD_CORESEL@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w8, w9, w8
	mvn	w2, w8
	mov	x0, x19
	bl	_b43_phy_mask
Lloh41:
	adrp	x21, _B43_NPHY_RFCTL_OVER@GOTPAGE
Lloh42:
	ldr	x21, [x21, _B43_NPHY_RFCTL_OVER@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #-4132
	bl	_b43_phy_mask
	ldr	w1, [x20]
Lloh43:
	adrp	x8, _B43_NPHY_RFCTL_CMD_START@GOTPAGE
Lloh44:
	ldr	x8, [x8, _B43_NPHY_RFCTL_CMD_START@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	mvn	w2, w8
	mov	x0, x19
	bl	_b43_phy_mask
	mov	w0, #20
	bl	_udelay
	ldr	w1, [x21]
LBB0_5:
	mov	x0, x19
	mov	w2, #-2
	b	LBB0_12
LBB0_6:
	mov	w21, #61440
	b	LBB0_9
LBB0_7:
	mov	w21, #20480
	b	LBB0_9
LBB0_8:
	mov	w21, #40960
LBB0_9:
Lloh46:
	adrp	x8, _B43_NPHY_AFECTL_C1@GOTPAGE
Lloh47:
	ldr	x8, [x8, _B43_NPHY_AFECTL_C1@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4095
	mov	x3, x21
	bl	_b43_phy_maskset
Lloh49:
	adrp	x8, _B43_NPHY_AFECTL_C2@GOTPAGE
Lloh50:
	ldr	x8, [x8, _B43_NPHY_AFECTL_C2@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4095
	mov	x3, x21
	bl	_b43_phy_maskset
Lloh52:
	adrp	x8, _B43_NPHY_AFECTL_OVER@GOTPAGE
Lloh53:
	ldr	x8, [x8, _B43_NPHY_AFECTL_OVER@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	mov	x0, x19
	cbz	w20, LBB0_11
; %bb.10:
	mov	w2, #12288
	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	_b43_phy_set
LBB0_11:
	mov	w2, #-12289
LBB0_12:
	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	_b43_phy_mask
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_B43_NPHY_AFECTL_C1,4,2         ; @B43_NPHY_AFECTL_C1
	.comm	_B43_NPHY_AFECTL_C2,4,2         ; @B43_NPHY_AFECTL_C2
	.comm	_B43_NPHY_RFCTL_RSSIO1,4,2      ; @B43_NPHY_RFCTL_RSSIO1
	.comm	_B43_NPHY_RFCTL_RSSIO2,4,2      ; @B43_NPHY_RFCTL_RSSIO2
	.comm	_B43_NPHY_AFECTL_OVER,4,2       ; @B43_NPHY_AFECTL_OVER
	.comm	_B43_NPHY_RFCTL_CMD,4,2         ; @B43_NPHY_RFCTL_CMD
	.comm	_B43_NPHY_RFCTL_CMD_RXEN,4,2    ; @B43_NPHY_RFCTL_CMD_RXEN
	.comm	_B43_NPHY_RFCTL_CMD_CORESEL,4,2 ; @B43_NPHY_RFCTL_CMD_CORESEL
	.comm	_B43_NPHY_RFCTL_OVER,4,2        ; @B43_NPHY_RFCTL_OVER
	.comm	_B43_NPHY_RFCTL_CMD_START,4,2   ; @B43_NPHY_RFCTL_CMD_START
	.comm	_B43_NPHY_RFCTL_CMD_CORESEL_SHIFT,4,2 ; @B43_NPHY_RFCTL_CMD_CORESEL_SHIFT
	.no_dead_strip	_b43_nphy_rev2_rssi_select
.subsections_via_symbols
