	.file	"extr_phy_g.c_b43_calc_nrssi_slope.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	b43_calc_nrssi_slope, @function
b43_calc_nrssi_slope:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR B43_PHYTYPE_G[rip]
	cmp	QWORD PTR [rdi], rax
	mov	r15, QWORD PTR 24[rdi]
	setne	dil
	movzx	edi, dil
	call	B43_WARN_ON@PLT
	cmp	DWORD PTR 8[rbp], 8
	jg	.L1
	je	.L38
.L3:
	mov	esi, DWORD PTR B43_PHY_G_CRS[rip]
	mov	edx, 32767
	mov	rdi, rbp
	call	b43_phy_mask@PLT
	mov	edx, 65532
	mov	esi, 2050
	mov	rdi, rbp
	call	b43_phy_mask@PLT
	mov	esi, 994
	mov	rdi, rbp
	call	b43_read16@PLT
	mov	esi, 994
	mov	rdi, rbp
	mov	DWORD PTR 4[rsp], eax
	call	b43_read16@PLT
	mov	esi, 994
	mov	rdi, rbp
	or	ah, -128
	mov	edx, eax
	call	b43_write16@PLT
	mov	esi, 122
	mov	rdi, rbp
	call	b43_radio_read16@PLT
	mov	esi, 82
	mov	rdi, rbp
	mov	r14d, eax
	call	b43_radio_read16@PLT
	mov	esi, 67
	mov	rdi, rbp
	mov	r13d, eax
	call	b43_radio_read16@PLT
	mov	esi, 21
	mov	rdi, rbp
	mov	r12d, eax
	call	b43_phy_read@PLT
	mov	esi, 90
	mov	rdi, rbp
	mov	DWORD PTR 8[rsp], eax
	call	b43_phy_read@PLT
	mov	esi, 89
	mov	rdi, rbp
	mov	DWORD PTR 12[rsp], eax
	call	b43_phy_read@PLT
	mov	esi, 88
	mov	rdi, rbp
	mov	DWORD PTR 16[rsp], eax
	call	b43_phy_read@PLT
	mov	esi, 998
	mov	rdi, rbp
	mov	DWORD PTR 20[rsp], eax
	call	b43_read16@PLT
	mov	esi, DWORD PTR B43_MMIO_CHANNEL_EXT[rip]
	mov	rdi, rbp
	mov	DWORD PTR 24[rsp], eax
	call	b43_read16@PLT
	cmp	DWORD PTR 12[rbp], 2
	mov	DWORD PTR 28[rsp], eax
	jg	.L39
	mov	DWORD PTR 60[rsp], 0
	mov	DWORD PTR 56[rsp], 0
	mov	DWORD PTR 52[rsp], 0
	mov	DWORD PTR 48[rsp], 0
	mov	DWORD PTR 44[rsp], 0
	mov	DWORD PTR 40[rsp], 0
	mov	DWORD PTR 36[rsp], 0
	mov	DWORD PTR 32[rsp], 0
.L4:
	mov	edx, 112
	mov	esi, 122
	mov	rdi, rbp
	call	b43_radio_set@PLT
	xor	ecx, ecx
	xor	esi, esi
	mov	edx, 8
	mov	rdi, rbp
	call	b43_set_all_gains@PLT
	mov	edx, 247
	mov	esi, 122
	mov	rdi, rbp
	call	b43_radio_mask@PLT
	cmp	DWORD PTR 12[rbp], 1
	jle	.L9
	mov	ecx, 48
	mov	edx, 65487
	mov	esi, 2065
	mov	rdi, rbp
	call	b43_phy_maskset@PLT
	mov	ecx, 16
	mov	edx, 65487
	mov	rdi, rbp
	mov	esi, 2066
	call	b43_phy_maskset@PLT
.L9:
	mov	edx, 128
	mov	esi, 122
	mov	rdi, rbp
	call	b43_radio_set@PLT
	mov	edi, 20
	call	udelay@PLT
	mov	esi, 1151
	mov	rdi, rbp
	call	b43_phy_read@PLT
	mov	esi, 122
	mov	rdi, rbp
	sar	eax, 8
	mov	ebx, eax
	mov	edx, eax
	or	edx, -64
	and	ebx, 63
	test	al, 32
	cmovne	ebx, edx
	mov	edx, 127
	call	b43_radio_mask@PLT
	cmp	DWORD PTR 12[rbp], 1
	jle	.L11
	mov	ecx, 64
	mov	edx, 65439
	mov	esi, 3
	mov	rdi, rbp
	call	b43_phy_maskset@PLT
.L11:
	mov	esi, DWORD PTR B43_MMIO_CHANNEL_EXT[rip]
	mov	rdi, rbp
	call	b43_read16@PLT
	mov	esi, DWORD PTR B43_MMIO_CHANNEL_EXT[rip]
	mov	rdi, rbp
	or	ah, 32
	mov	edx, eax
	call	b43_write16@PLT
	mov	edx, 15
	mov	esi, 122
	mov	rdi, rbp
	call	b43_radio_set@PLT
	mov	edx, 62256
	mov	esi, 21
	mov	rdi, rbp
	call	b43_phy_write@PLT
	cmp	DWORD PTR 12[rbp], 1
	jle	.L12
	mov	ecx, 32
	mov	edx, 65487
	mov	esi, 2066
	mov	rdi, rbp
	call	b43_phy_maskset@PLT
	mov	ecx, 32
	mov	edx, 65487
	mov	rdi, rbp
	mov	esi, 2065
	call	b43_phy_maskset@PLT
.L12:
	xor	edx, edx
	mov	ecx, 1
	mov	esi, 3
	mov	rdi, rbp
	call	b43_set_all_gains@PLT
	cmp	DWORD PTR 8[rbp], 8
	je	.L40
	mov	esi, 82
	mov	rdi, rbp
	call	b43_radio_read16@PLT
	mov	esi, 82
	mov	rdi, rbp
	and	eax, 65295
	mov	edx, eax
	or	edx, 96
	call	b43_radio_write16@PLT
	mov	esi, 67
	mov	rdi, rbp
	call	b43_radio_read16@PLT
	mov	esi, 67
	mov	rdi, rbp
	and	eax, 65520
	mov	edx, eax
	or	edx, 9
	call	b43_radio_write16@PLT
.L14:
	mov	edx, 1152
	mov	esi, 90
	mov	rdi, rbp
	call	b43_phy_write@PLT
	mov	edx, 2064
	mov	esi, 89
	mov	rdi, rbp
	call	b43_phy_write@PLT
	mov	edx, 13
	mov	esi, 88
	mov	rdi, rbp
	call	b43_phy_write@PLT
	mov	edi, 20
	call	udelay@PLT
	mov	esi, 1151
	mov	rdi, rbp
	call	b43_phy_read@PLT
	sar	eax, 8
	mov	ecx, eax
	mov	edx, eax
	and	ecx, 63
	or	edx, -64
	test	al, 32
	mov	eax, 65536
	cmovne	ecx, edx
	cmp	ebx, ecx
	je	.L16
	mov	eax, 4194304
	mov	esi, ebx
	sub	esi, ecx
	cdq
	idiv	esi
.L16:
	mov	DWORD PTR [r15], eax
	cmp	ebx, -4
	jl	.L17
	mov	rax, QWORD PTR 8[r15]
	mov	DWORD PTR [rax], ecx
	mov	DWORD PTR 4[rax], ebx
.L17:
	mov	eax, DWORD PTR 12[rbp]
	cmp	eax, 2
	jg	.L41
.L18:
	cmp	eax, 1
	jle	.L19
	mov	edx, 65487
	mov	esi, 2066
	mov	rdi, rbp
	call	b43_phy_mask@PLT
	mov	edx, 65487
	mov	esi, 2065
	mov	rdi, rbp
	call	b43_phy_mask@PLT
.L19:
	mov	edx, r14d
	mov	esi, 122
	mov	rdi, rbp
	call	b43_radio_write16@PLT
	mov	edx, r13d
	mov	esi, 82
	mov	rdi, rbp
	call	b43_radio_write16@PLT
	mov	edx, r12d
	mov	esi, 67
	mov	rdi, rbp
	call	b43_radio_write16@PLT
	mov	edx, DWORD PTR 4[rsp]
	mov	esi, 994
	mov	rdi, rbp
	call	b43_write16@PLT
	mov	edx, DWORD PTR 24[rsp]
	mov	esi, 998
	mov	rdi, rbp
	call	b43_write16@PLT
	mov	edx, DWORD PTR 28[rsp]
	mov	esi, DWORD PTR B43_MMIO_CHANNEL_EXT[rip]
	mov	rdi, rbp
	call	b43_write16@PLT
	mov	edx, DWORD PTR 8[rsp]
	mov	esi, 21
	mov	rdi, rbp
	call	b43_phy_write@PLT
	mov	edx, DWORD PTR 12[rsp]
	mov	esi, 90
	mov	rdi, rbp
	call	b43_phy_write@PLT
	mov	edx, DWORD PTR 16[rsp]
	mov	esi, 89
	mov	rdi, rbp
	call	b43_phy_write@PLT
	mov	edx, DWORD PTR 20[rsp]
	mov	esi, 88
	mov	rdi, rbp
	call	b43_phy_write@PLT
	mov	esi, DWORD PTR 16[rbp]
	mov	rdi, rbp
	call	b43_synth_pu_workaround@PLT
	mov	edx, 3
	mov	esi, 2050
	mov	rdi, rbp
	call	b43_phy_set@PLT
	mov	rdi, rbp
	call	b43_set_original_gains@PLT
	mov	esi, DWORD PTR B43_PHY_G_CRS[rip]
	mov	edx, 32768
	mov	rdi, rbp
	call	b43_phy_set@PLT
	cmp	DWORD PTR 12[rbp], 2
	jg	.L42
.L20:
	mov	rdi, rbp
	call	b43_nrssi_mem_update@PLT
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	b43_calc_nrssi_threshold@PLT
	.p2align 4,,10
	.p2align 3
.L39:
	.cfi_restore_state
	mov	esi, 46
	mov	rdi, rbp
	call	b43_phy_read@PLT
	mov	esi, 47
	mov	rdi, rbp
	mov	DWORD PTR 32[rsp], eax
	call	b43_phy_read@PLT
	mov	esi, 2063
	mov	rdi, rbp
	mov	DWORD PTR 36[rsp], eax
	call	b43_phy_read@PLT
	mov	esi, DWORD PTR B43_PHY_G_LO_CONTROL[rip]
	mov	rdi, rbp
	mov	DWORD PTR 40[rsp], eax
	call	b43_phy_read@PLT
	mov	esi, 2049
	mov	rdi, rbp
	mov	DWORD PTR 44[rsp], eax
	call	b43_phy_read@PLT
	mov	esi, 96
	mov	rdi, rbp
	mov	DWORD PTR 48[rsp], eax
	call	b43_phy_read@PLT
	mov	esi, 20
	mov	rdi, rbp
	mov	DWORD PTR 52[rsp], eax
	call	b43_phy_read@PLT
	mov	esi, 1144
	mov	rdi, rbp
	mov	DWORD PTR 56[rsp], eax
	call	b43_phy_read@PLT
	xor	edx, edx
	mov	esi, 46
	mov	rdi, rbp
	mov	DWORD PTR 60[rsp], eax
	call	b43_phy_write@PLT
	mov	esi, DWORD PTR B43_PHY_G_LO_CONTROL[rip]
	xor	edx, edx
	mov	rdi, rbp
	call	b43_phy_write@PLT
	mov	eax, DWORD PTR 12[rbp]
	cmp	eax, 5
	je	.L5
	jg	.L6
	cmp	eax, 3
	je	.L5
	cmp	eax, 4
	jne	.L8
.L7:
	mov	edx, 256
	mov	esi, 1144
	mov	rdi, rbp
	call	b43_phy_set@PLT
	mov	edx, 64
	mov	esi, 2049
	mov	rdi, rbp
	call	b43_phy_set@PLT
.L8:
	mov	rdi, rbp
	mov	edx, 64
	mov	esi, 96
	call	b43_phy_set@PLT
	mov	edx, 512
	mov	esi, 20
	mov	rdi, rbp
	call	b43_phy_set@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	sub	eax, 6
	cmp	eax, 1
	ja	.L8
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L1:
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L40:
	.cfi_restore_state
	mov	edx, 31
	mov	esi, 67
	mov	rdi, rbp
	call	b43_radio_write16@PLT
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L42:
	mov	edx, DWORD PTR 48[rsp]
	mov	rdi, rbp
	mov	esi, 2049
	call	b43_phy_write@PLT
	mov	edx, DWORD PTR 52[rsp]
	mov	rdi, rbp
	mov	esi, 96
	call	b43_phy_write@PLT
	mov	edx, DWORD PTR 56[rsp]
	mov	rdi, rbp
	mov	esi, 20
	call	b43_phy_write@PLT
	mov	edx, DWORD PTR 60[rsp]
	mov	esi, 1144
	mov	rdi, rbp
	call	b43_phy_write@PLT
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L41:
	mov	edx, DWORD PTR 32[rsp]
	mov	esi, 46
	mov	rdi, rbp
	call	b43_phy_write@PLT
	mov	edx, DWORD PTR 36[rsp]
	mov	esi, 47
	mov	rdi, rbp
	call	b43_phy_write@PLT
	mov	edx, DWORD PTR 40[rsp]
	mov	esi, 2063
	mov	rdi, rbp
	call	b43_phy_write@PLT
	mov	edx, DWORD PTR 44[rsp]
	mov	esi, DWORD PTR B43_PHY_G_LO_CONTROL[rip]
	mov	rdi, rbp
	call	b43_phy_write@PLT
	mov	eax, DWORD PTR 12[rbp]
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edx, 65471
	mov	esi, 2049
	mov	rdi, rbp
	call	b43_phy_mask@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L38:
	mov	rdi, rbp
	call	b43_calc_nrssi_offset@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	b43_calc_nrssi_slope, .-b43_calc_nrssi_slope
	.comm	B43_PHY_G_LO_CONTROL,4,4
	.comm	B43_PHY_G_CRS,4,4
	.comm	B43_PHYTYPE_G,8,8
	.comm	B43_MMIO_CHANNEL_EXT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_phy_g.c_b43_calc_nrssi_slope.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	b43_calc_nrssi_slope, %function
b43_calc_nrssi_slope:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	ldr	r3, .L36
	ldr	r0, [r0]
	ldr	r3, [r3]
	sub	sp, sp, #68
	subs	r0, r0, r3
	movne	r0, #1
	ldr	fp, [r4, #16]
	bl	B43_WARN_ON
	ldr	r3, [r4, #4]
	cmp	r3, #8
	bgt	.L1
	beq	.L31
.L3:
	ldr	r3, .L36+4
	ldr	r2, .L36+8
	ldr	r1, [r3]
	mov	r0, r4
	bl	b43_phy_mask
	ldr	r2, .L36+12
	ldr	r1, .L36+16
	mov	r0, r4
	bl	b43_phy_mask
	ldr	r1, .L36+20
	mov	r0, r4
	bl	b43_read16
	mov	r3, r0
	ldr	r1, .L36+20
	mov	r0, r4
	str	r3, [sp, #4]
	bl	b43_read16
	ldr	r1, .L36+20
	orr	r2, r0, #32768
	mov	r0, r4
	bl	b43_write16
	mov	r1, #122
	mov	r0, r4
	bl	b43_radio_read16
	mov	r1, #82
	mov	r10, r0
	mov	r0, r4
	bl	b43_radio_read16
	mov	r1, #67
	mov	r9, r0
	mov	r0, r4
	bl	b43_radio_read16
	mov	r1, #21
	mov	r8, r0
	mov	r0, r4
	bl	b43_phy_read
	mov	r3, r0
	mov	r1, #90
	mov	r0, r4
	str	r3, [sp, #8]
	bl	b43_phy_read
	mov	r3, r0
	mov	r1, #89
	mov	r0, r4
	str	r3, [sp, #12]
	bl	b43_phy_read
	mov	r3, r0
	mov	r1, #88
	mov	r0, r4
	str	r3, [sp, #16]
	bl	b43_phy_read
	mov	r3, r0
	ldr	r1, .L36+24
	mov	r0, r4
	str	r3, [sp, #20]
	bl	b43_read16
	mov	r3, r0
	ldr	r7, .L36+28
	mov	r0, r4
	ldr	r1, [r7]
	str	r3, [sp, #24]
	bl	b43_read16
	ldr	r3, [r4, #8]
	str	r0, [sp, #28]
	cmp	r3, #2
	bgt	.L32
	mov	r6, #0
	str	r6, [sp, #60]
	str	r6, [sp, #56]
	str	r6, [sp, #52]
	str	r6, [sp, #48]
	str	r6, [sp, #44]
	str	r6, [sp, #40]
	str	r6, [sp, #36]
.L4:
	mov	r2, #112
	mov	r1, #122
	mov	r0, r4
	bl	b43_radio_set
	mov	r3, #0
	mov	r2, #8
	mov	r1, r3
	mov	r0, r4
	bl	b43_set_all_gains
	mov	r2, #247
	mov	r1, #122
	mov	r0, r4
	bl	b43_radio_mask
	ldr	r3, [r4, #8]
	cmp	r3, #1
	ble	.L9
	mov	r3, #48
	ldr	r2, .L36+32
	ldr	r1, .L36+36
	mov	r0, r4
	bl	b43_phy_maskset
	mov	r3, #16
	mov	r0, r4
	ldr	r2, .L36+32
	ldr	r1, .L36+40
	bl	b43_phy_maskset
.L9:
	mov	r2, #128
	mov	r1, #122
	mov	r0, r4
	bl	b43_radio_set
	mov	r0, #20
	bl	udelay
	ldr	r1, .L36+44
	mov	r0, r4
	bl	b43_phy_read
	asr	r5, r0, #8
	tst	r5, #32
	mov	r2, #127
	mov	r1, #122
	mov	r0, r4
	and	r5, r5, #63
	subne	r5, r5, #64
	bl	b43_radio_mask
	ldr	r3, [r4, #8]
	cmp	r3, #1
	ble	.L11
	mov	r3, #64
	mov	r1, #3
	mov	r0, r4
	ldr	r2, .L36+48
	bl	b43_phy_maskset
.L11:
	ldr	r1, [r7]
	mov	r0, r4
	str	r1, [sp, #32]
	bl	b43_read16
	ldr	r1, [sp, #32]
	orr	r2, r0, #8192
	mov	r0, r4
	bl	b43_write16
	mov	r2, #15
	mov	r1, #122
	mov	r0, r4
	bl	b43_radio_set
	mov	r1, #21
	mov	r0, r4
	ldr	r2, .L36+52
	bl	b43_phy_write
	ldr	r3, [r4, #8]
	cmp	r3, #1
	ble	.L12
	mov	r3, #32
	ldr	r2, .L36+32
	ldr	r1, .L36+40
	mov	r0, r4
	bl	b43_phy_maskset
	mov	r3, #32
	mov	r0, r4
	ldr	r2, .L36+32
	ldr	r1, .L36+36
	bl	b43_phy_maskset
.L12:
	mov	r3, #1
	mov	r2, #0
	mov	r1, #3
	mov	r0, r4
	bl	b43_set_all_gains
	ldr	r3, [r4, #4]
	cmp	r3, #8
	beq	.L33
	mov	r1, #82
	mov	r0, r4
	bl	b43_radio_read16
	ldr	r2, .L36+56
	mov	r1, #82
	and	r2, r2, r0
	orr	r2, r2, #96
	mov	r0, r4
	bl	b43_radio_write16
	mov	r1, #67
	mov	r0, r4
	bl	b43_radio_read16
	ldr	r2, .L36+60
	mov	r1, #67
	and	r2, r2, r0
	orr	r2, r2, #9
	mov	r0, r4
	bl	b43_radio_write16
.L14:
	mov	r2, #1152
	mov	r1, #90
	mov	r0, r4
	bl	b43_phy_write
	mov	r2, #2064
	mov	r1, #89
	mov	r0, r4
	bl	b43_phy_write
	mov	r2, #13
	mov	r1, #88
	mov	r0, r4
	bl	b43_phy_write
	mov	r0, #20
	bl	udelay
	mov	r0, r4
	ldr	r1, .L36+44
	bl	b43_phy_read
	asr	r3, r0, #8
	tst	r3, #32
	and	r3, r3, #63
	subne	r3, r3, #64
	cmp	r5, r3
	moveq	r0, #65536
	beq	.L16
	sub	r1, r5, r3
	mov	r0, #4194304
	str	r3, [sp, #32]
	bl	__aeabi_idiv
	ldr	r3, [sp, #32]
.L16:
	cmn	r5, #4
	ldrge	r2, [fp, #4]
	str	r0, [fp]
	stmge	r2, {r3, r5}
	ldr	r3, [r4, #8]
	cmp	r3, #2
	bgt	.L34
.L18:
	cmp	r3, #1
	ble	.L19
	ldr	r2, .L36+32
	ldr	r1, .L36+40
	mov	r0, r4
	bl	b43_phy_mask
	mov	r0, r4
	ldr	r2, .L36+32
	ldr	r1, .L36+36
	bl	b43_phy_mask
.L19:
	mov	r2, r10
	mov	r1, #122
	mov	r0, r4
	bl	b43_radio_write16
	mov	r2, r9
	mov	r1, #82
	mov	r0, r4
	bl	b43_radio_write16
	mov	r2, r8
	mov	r1, #67
	mov	r0, r4
	bl	b43_radio_write16
	ldr	r2, [sp, #4]
	ldr	r1, .L36+20
	mov	r0, r4
	bl	b43_write16
	ldr	r2, [sp, #24]
	ldr	r1, .L36+24
	mov	r0, r4
	bl	b43_write16
	ldr	r2, [sp, #28]
	ldr	r1, [r7]
	mov	r0, r4
	bl	b43_write16
	mov	r1, #21
	ldr	r2, [sp, #8]
	mov	r0, r4
	bl	b43_phy_write
	mov	r1, #90
	ldr	r2, [sp, #12]
	mov	r0, r4
	bl	b43_phy_write
	mov	r1, #89
	ldr	r2, [sp, #16]
	mov	r0, r4
	bl	b43_phy_write
	ldr	r2, [sp, #20]
	mov	r1, #88
	mov	r0, r4
	bl	b43_phy_write
	ldr	r1, [r4, #12]
	mov	r0, r4
	bl	b43_synth_pu_workaround
	mov	r2, #3
	ldr	r1, .L36+16
	mov	r0, r4
	bl	b43_phy_set
	mov	r0, r4
	bl	b43_set_original_gains
	ldr	r3, .L36+4
	mov	r2, #32768
	ldr	r1, [r3]
	mov	r0, r4
	bl	b43_phy_set
	ldr	r3, [r4, #8]
	cmp	r3, #2
	bgt	.L35
.L20:
	mov	r0, r4
	bl	b43_nrssi_mem_update
	mov	r0, r4
	add	sp, sp, #68
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	b43_calc_nrssi_threshold
.L32:
	mov	r1, #46
	mov	r0, r4
	bl	b43_phy_read
	mov	r3, r0
	mov	r1, #47
	mov	r0, r4
	str	r3, [sp, #36]
	bl	b43_phy_read
	mov	r3, r0
	ldr	r1, .L36+64
	mov	r0, r4
	str	r3, [sp, #40]
	bl	b43_phy_read
	mov	r3, r0
	ldr	r5, .L36+68
	mov	r0, r4
	ldr	r1, [r5]
	str	r3, [sp, #44]
	bl	b43_phy_read
	mov	r3, r0
	ldr	r1, .L36+72
	mov	r0, r4
	str	r3, [sp, #48]
	bl	b43_phy_read
	mov	r3, r0
	mov	r1, #96
	mov	r0, r4
	str	r3, [sp, #52]
	bl	b43_phy_read
	mov	r3, r0
	mov	r1, #20
	mov	r0, r4
	str	r3, [sp, #56]
	bl	b43_phy_read
	mov	r3, r0
	ldr	r1, .L36+76
	mov	r0, r4
	str	r3, [sp, #60]
	bl	b43_phy_read
	mov	r2, #0
	mov	r1, #46
	mov	r6, r0
	mov	r0, r4
	bl	b43_phy_write
	mov	r2, #0
	mov	r0, r4
	ldr	r1, [r5]
	bl	b43_phy_write
	ldr	r3, [r4, #8]
	sub	r3, r3, #3
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L5
.L7:
	.word	.L8
	.word	.L6
	.word	.L8
	.word	.L6
	.word	.L6
.L1:
	add	sp, sp, #68
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L33:
	mov	r2, #31
	mov	r1, #67
	mov	r0, r4
	bl	b43_radio_write16
	b	.L14
.L34:
	mov	r1, #46
	ldr	r2, [sp, #36]
	mov	r0, r4
	bl	b43_phy_write
	mov	r1, #47
	ldr	r2, [sp, #40]
	mov	r0, r4
	bl	b43_phy_write
	ldr	r2, [sp, #44]
	ldr	r1, .L36+64
	mov	r0, r4
	bl	b43_phy_write
	ldr	r3, .L36+68
	mov	r0, r4
	ldr	r1, [r3]
	ldr	r2, [sp, #48]
	bl	b43_phy_write
	ldr	r3, [r4, #8]
	b	.L18
.L35:
	ldr	r2, [sp, #52]
	mov	r0, r4
	ldr	r1, .L36+72
	bl	b43_phy_write
	ldr	r2, [sp, #56]
	mov	r1, #96
	mov	r0, r4
	bl	b43_phy_write
	ldr	r2, [sp, #60]
	mov	r1, #20
	mov	r0, r4
	bl	b43_phy_write
	mov	r2, r6
	mov	r0, r4
	ldr	r1, .L36+76
	bl	b43_phy_write
	b	.L20
.L8:
	mov	r0, r4
	ldr	r2, .L36+80
	ldr	r1, .L36+72
	bl	b43_phy_mask
.L5:
	mov	r2, #64
	mov	r1, #96
	mov	r0, r4
	bl	b43_phy_set
	mov	r2, #512
	mov	r1, #20
	mov	r0, r4
	bl	b43_phy_set
	b	.L4
.L6:
	mov	r2, #256
	mov	r0, r4
	ldr	r1, .L36+76
	bl	b43_phy_set
	mov	r2, #64
	mov	r0, r4
	ldr	r1, .L36+72
	bl	b43_phy_set
	b	.L5
.L31:
	mov	r0, r4
	bl	b43_calc_nrssi_offset
	b	.L3
.L37:
	.align	2
.L36:
	.word	B43_PHYTYPE_G
	.word	B43_PHY_G_CRS
	.word	32767
	.word	65532
	.word	2050
	.word	994
	.word	998
	.word	B43_MMIO_CHANNEL_EXT
	.word	65487
	.word	2065
	.word	2066
	.word	1151
	.word	65439
	.word	62256
	.word	65295
	.word	65520
	.word	2063
	.word	B43_PHY_G_LO_CONTROL
	.word	2049
	.word	1144
	.word	65471
	.size	b43_calc_nrssi_slope, .-b43_calc_nrssi_slope
	.comm	B43_PHY_G_LO_CONTROL,4,4
	.comm	B43_PHY_G_CRS,4,4
	.comm	B43_PHYTYPE_G,4,4
	.comm	B43_MMIO_CHANNEL_EXT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
