	.file	"extr_lo.c_lo_measure_setup.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lo_measure_setup, @function
lo_measure_setup:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR 32[rdi]
	mov	r13, QWORD PTR [rax]
	mov	rax, QWORD PTR 24[rdi]
	mov	r12, QWORD PTR [rax]
	call	b43_has_hardware_pctl@PLT
	test	rax, rax
	jne	.L34
.L2:
	mov	rax, QWORD PTR B43_PHYTYPE_B[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L35
.L3:
	cmp	DWORD PTR 16[rbp], 1
	jg	.L36
.L4:
	mov	esi, 1012
	mov	rdi, rbp
	call	b43_read16@PLT
	mov	esi, 994
	mov	rdi, rbp
	mov	DWORD PTR [rbx], eax
	call	b43_read16@PLT
	mov	esi, 67
	mov	rdi, rbp
	mov	DWORD PTR 4[rbx], eax
	call	b43_radio_read16@PLT
	mov	esi, 122
	mov	rdi, rbp
	mov	QWORD PTR 64[rbx], rax
	call	b43_radio_read16@PLT
	mov	esi, DWORD PTR B43_PHY_PGACTL[rip]
	mov	rdi, rbp
	mov	DWORD PTR 8[rbx], eax
	call	b43_phy_read@PLT
	mov	edi, 42
	mov	QWORD PTR 56[rbx], rax
	call	B43_PHY_CCK@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	b43_phy_read@PLT
	mov	esi, DWORD PTR B43_PHY_SYNCCTL[rip]
	mov	rdi, rbp
	mov	QWORD PTR 48[rbx], rax
	call	b43_phy_read@PLT
	mov	esi, DWORD PTR B43_PHY_DACCTL[rip]
	mov	rdi, rbp
	mov	DWORD PTR 12[rbx], eax
	call	b43_phy_read@PLT
	mov	rdi, rbp
	mov	QWORD PTR 40[rbx], rax
	call	has_tx_magnification@PLT
	test	eax, eax
	je	.L37
.L8:
	mov	rax, QWORD PTR B43_PHYTYPE_B[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L38
	mov	esi, 994
	mov	rdi, rbp
	call	b43_read16@PLT
	mov	esi, 994
	mov	rdi, rbp
	or	ah, -128
	mov	edx, eax
	call	b43_write16@PLT
.L10:
	mov	esi, 1012
	mov	rdi, rbp
	call	b43_read16@PLT
	mov	esi, 1012
	mov	rdi, rbp
	and	eax, 61440
	mov	edx, eax
	call	b43_write16@PLT
	mov	esi, DWORD PTR B43_PHY_LO_MASK[rip]
	mov	rax, QWORD PTR B43_PHYTYPE_G[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L12
	mov	edi, 46
	call	B43_PHY_CCK@PLT
	mov	esi, eax
.L12:
	mov	edx, 127
	mov	rdi, rbp
	call	b43_phy_write@PLT
	mov	edx, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR B43_PHY_SYNCCTL[rip]
	mov	rdi, rbp
	and	edx, 65407
	call	b43_phy_write@PLT
	mov	edx, DWORD PTR 8[rbx]
	mov	esi, 122
	mov	rdi, rbp
	and	edx, 65520
	call	b43_radio_write16@PLT
	mov	edi, 42
	call	B43_PHY_CCK@PLT
	mov	edx, 2211
	mov	rdi, rbp
	mov	esi, eax
	call	b43_phy_write@PLT
	mov	rax, QWORD PTR 0[rbp]
	cmp	rax, QWORD PTR B43_PHYTYPE_G[rip]
	je	.L13
	cmp	rax, QWORD PTR B43_PHYTYPE_B[rip]
	jne	.L14
	cmp	DWORD PTR 8[rbp], 8272
	je	.L39
.L14:
	mov	edi, 43
	call	B43_PHY_CCK@PLT
	mov	edx, 2050
	mov	rdi, rbp
	mov	esi, eax
	call	b43_phy_write@PLT
.L15:
	cmp	DWORD PTR 16[rbp], 1
	jle	.L16
	mov	edx, 1
	xor	esi, esi
	mov	rdi, rbp
	call	b43_dummy_transmission@PLT
.L16:
	xor	edx, edx
	mov	esi, 6
	mov	rdi, rbp
	call	b43_gphy_channel_switch@PLT
	mov	esi, 81
	mov	rdi, rbp
	call	b43_radio_read16@PLT
	mov	rax, QWORD PTR B43_PHYTYPE_G[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L40
.L17:
	mov	edi, DWORD PTR [r12]
	mov	rsi, QWORD PTR jiffies[rip]
	sub	rsi, QWORD PTR B43_LO_TXCTL_EXPIRE[rip]
	call	time_before@PLT
	test	rax, rax
	jne	.L41
.L18:
	mov	rax, QWORD PTR 0[rbp]
	cmp	rax, QWORD PTR B43_PHYTYPE_G[rip]
	je	.L42
	cmp	rax, QWORD PTR B43_PHYTYPE_B[rip]
	mov	edx, 32888
	je	.L43
.L31:
	mov	esi, DWORD PTR B43_PHY_LO_MASK[rip]
.L32:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	b43_phy_write@PLT
	.p2align 4,,10
	.p2align 3
.L36:
	.cfi_restore_state
	mov	esi, DWORD PTR B43_PHY_ANALOGOVER[rip]
	mov	rdi, rbp
	call	b43_phy_read@PLT
	mov	esi, DWORD PTR B43_PHY_ANALOGOVERVAL[rip]
	mov	rdi, rbp
	mov	QWORD PTR 120[rbx], rax
	call	b43_phy_read@PLT
	mov	esi, DWORD PTR B43_PHY_RFOVER[rip]
	mov	rdi, rbp
	mov	QWORD PTR 112[rbx], rax
	call	b43_phy_read@PLT
	mov	esi, DWORD PTR B43_PHY_RFOVERVAL[rip]
	mov	rdi, rbp
	mov	QWORD PTR 104[rbx], rax
	call	b43_phy_read@PLT
	mov	esi, DWORD PTR B43_PHY_CLASSCTL[rip]
	mov	rdi, rbp
	mov	QWORD PTR 96[rbx], rax
	call	b43_phy_read@PLT
	mov	edi, 62
	mov	QWORD PTR 88[rbx], rax
	call	B43_PHY_CCK@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	b43_phy_read@PLT
	mov	esi, DWORD PTR B43_PHY_CRS0[rip]
	mov	rdi, rbp
	mov	QWORD PTR 80[rbx], rax
	call	b43_phy_read@PLT
	mov	esi, DWORD PTR B43_PHY_CLASSCTL[rip]
	mov	edx, 65532
	mov	rdi, rbp
	mov	QWORD PTR 72[rbx], rax
	call	b43_phy_mask@PLT
	mov	esi, DWORD PTR B43_PHY_CRS0[rip]
	mov	edx, 32767
	mov	rdi, rbp
	call	b43_phy_mask@PLT
	mov	esi, DWORD PTR B43_PHY_ANALOGOVER[rip]
	mov	edx, 3
	mov	rdi, rbp
	call	b43_phy_set@PLT
	mov	esi, DWORD PTR B43_PHY_ANALOGOVERVAL[rip]
	mov	edx, 65532
	mov	rdi, rbp
	call	b43_phy_mask@PLT
	mov	rax, QWORD PTR B43_PHYTYPE_G[rip]
	cmp	QWORD PTR 0[rbp], rax
	jne	.L5
	cmp	DWORD PTR 16[rbp], 6
	mov	esi, DWORD PTR B43_PHY_RFOVER[rip]
	jle	.L6
	mov	eax, DWORD PTR 0[r13]
	test	DWORD PTR B43_BFL_EXTLNA[rip], eax
	jne	.L44
.L6:
	mov	edx, 307
	mov	rdi, rbp
	call	b43_phy_write@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L42:
	cmp	DWORD PTR 16[rbp], 2
	mov	edx, 49272
	jg	.L31
	cmp	rax, QWORD PTR B43_PHYTYPE_B[rip]
	mov	edx, 32888
	jne	.L31
.L43:
	mov	edi, 46
	call	B43_PHY_CCK@PLT
	mov	edx, 32888
	mov	esi, eax
	jmp	.L32
	.p2align 4,,10
	.p2align 3
.L38:
	mov	edi, 48
	call	B43_PHY_CCK@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	b43_phy_read@PLT
	mov	edi, 6
	mov	QWORD PTR 32[rbx], rax
	call	B43_PHY_CCK@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	b43_phy_read@PLT
	mov	edi, 48
	mov	QWORD PTR 24[rbx], rax
	call	B43_PHY_CCK@PLT
	mov	edx, 255
	mov	rdi, rbp
	mov	esi, eax
	call	b43_phy_write@PLT
	mov	edi, 6
	call	B43_PHY_CCK@PLT
	mov	edx, 16191
	mov	rdi, rbp
	mov	esi, eax
	call	b43_phy_write@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L35:
	cmp	DWORD PTR 8[rbp], 8272
	jne	.L3
	cmp	DWORD PTR 12[rbp], 5
	jg	.L3
	mov	edi, 22
	call	B43_PHY_CCK@PLT
	mov	edx, 1040
	mov	rdi, rbp
	mov	esi, eax
	call	b43_phy_write@PLT
	mov	edi, 23
	call	B43_PHY_CCK@PLT
	mov	edx, 2080
	mov	rdi, rbp
	mov	esi, eax
	call	b43_phy_write@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L34:
	mov	esi, DWORD PTR B43_PHY_LO_MASK[rip]
	mov	rdi, rbp
	call	b43_phy_read@PLT
	mov	edi, 1
	mov	QWORD PTR 160[rbx], rax
	call	B43_PHY_EXTG@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	b43_phy_read@PLT
	mov	esi, DWORD PTR B43_PHY_DACCTL[rip]
	mov	rdi, rbp
	mov	QWORD PTR 152[rbx], rax
	call	b43_phy_read@PLT
	mov	edi, 20
	mov	QWORD PTR 144[rbx], rax
	call	B43_PHY_CCK@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	b43_phy_read@PLT
	mov	esi, DWORD PTR B43_PHY_HPWR_TSSICTL[rip]
	mov	rdi, rbp
	mov	QWORD PTR 136[rbx], rax
	call	b43_phy_read@PLT
	mov	esi, DWORD PTR B43_PHY_HPWR_TSSICTL[rip]
	mov	edx, 256
	mov	rdi, rbp
	mov	QWORD PTR 128[rbx], rax
	call	b43_phy_set@PLT
	mov	edi, 1
	call	B43_PHY_EXTG@PLT
	mov	rdi, rbp
	mov	edx, 64
	mov	esi, eax
	call	b43_phy_set@PLT
	mov	esi, DWORD PTR B43_PHY_DACCTL[rip]
	mov	edx, 64
	mov	rdi, rbp
	call	b43_phy_set@PLT
	mov	edi, 20
	call	B43_PHY_CCK@PLT
	mov	edx, 512
	mov	rdi, rbp
	mov	esi, eax
	call	b43_phy_set@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L37:
	mov	esi, 82
	mov	rdi, rbp
	call	b43_radio_read16@PLT
	and	eax, 240
	mov	DWORD PTR 16[rbx], eax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L41:
	mov	rdi, rbp
	call	lo_measure_txctl_values@PLT
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L39:
	cmp	DWORD PTR 12[rbp], 5
	jle	.L14
.L13:
	mov	edi, 43
	call	B43_PHY_CCK@PLT
	mov	edx, 4099
	mov	rdi, rbp
	mov	esi, eax
	call	b43_phy_write@PLT
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, DWORD PTR B43_PHY_RFOVER[rip]
	xor	edx, edx
	mov	rdi, rbp
	call	b43_phy_write@PLT
.L7:
	mov	edi, 62
	call	B43_PHY_CCK@PLT
	xor	edx, edx
	mov	rdi, rbp
	mov	esi, eax
	call	b43_phy_write@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L40:
	mov	edi, 47
	call	B43_PHY_CCK@PLT
	xor	edx, edx
	mov	rdi, rbp
	mov	esi, eax
	call	b43_phy_write@PLT
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L44:
	mov	edx, 2355
	mov	rdi, rbp
	call	b43_phy_write@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	lo_measure_setup, .-lo_measure_setup
	.comm	jiffies,8,8
	.comm	B43_PHY_SYNCCTL,4,4
	.comm	B43_PHY_RFOVERVAL,4,4
	.comm	B43_PHY_RFOVER,4,4
	.comm	B43_PHY_PGACTL,4,4
	.comm	B43_PHY_LO_MASK,4,4
	.comm	B43_PHY_HPWR_TSSICTL,4,4
	.comm	B43_PHY_DACCTL,4,4
	.comm	B43_PHY_CRS0,4,4
	.comm	B43_PHY_CLASSCTL,4,4
	.comm	B43_PHY_ANALOGOVERVAL,4,4
	.comm	B43_PHY_ANALOGOVER,4,4
	.comm	B43_PHYTYPE_G,8,8
	.comm	B43_PHYTYPE_B,8,8
	.comm	B43_LO_TXCTL_EXPIRE,8,8
	.comm	B43_BFL_EXTLNA,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_lo.c_lo_measure_setup.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lo_measure_setup, %function
lo_measure_setup:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r2, [r0, #20]
	ldr	r3, [r0, #16]
	ldr	r2, [r2]
	sub	sp, sp, #12
	mov	r4, r0
	mov	r5, r1
	ldr	r9, [r3]
	str	r2, [sp, #4]
	bl	b43_has_hardware_pctl
	cmp	r0, #0
	bne	.L30
	ldr	r8, .L45
.L2:
	ldr	r7, .L45+4
	ldr	r2, [r4]
	ldr	r3, [r7]
	cmp	r2, r3
	beq	.L35
.L3:
	ldr	r3, [r4, #12]
	cmp	r3, #1
	bgt	.L31
	ldr	r6, .L45+8
.L4:
	mov	r1, #1012
	mov	r0, r4
	bl	b43_read16
	ldr	r1, .L45+12
	str	r0, [r5]
	mov	r0, r4
	bl	b43_read16
	mov	r1, #67
	str	r0, [r5, #4]
	mov	r0, r4
	bl	b43_radio_read16
	mov	r1, #122
	str	r0, [r5, #40]
	mov	r0, r4
	bl	b43_radio_read16
	ldr	r3, .L45+16
	str	r0, [r5, #8]
	ldr	r1, [r3]
	mov	r0, r4
	bl	b43_phy_read
	mov	r3, r0
	mov	r0, #42
	str	r3, [r5, #36]
	bl	B43_PHY_CCK
	mov	r1, r0
	mov	r0, r4
	bl	b43_phy_read
	ldr	r10, .L45+20
	str	r0, [r5, #32]
	ldr	r1, [r10]
	mov	r0, r4
	bl	b43_phy_read
	ldr	r1, [r8]
	str	r0, [r5, #12]
	mov	r0, r4
	bl	b43_phy_read
	mov	r3, r0
	mov	r0, r4
	str	r3, [r5, #28]
	bl	has_tx_magnification
	cmp	r0, #0
	beq	.L36
.L8:
	ldr	r2, [r4]
	ldr	r3, [r7]
	cmp	r2, r3
	beq	.L37
	ldr	r1, .L45+12
	mov	r0, r4
	bl	b43_read16
	ldr	r1, .L45+12
	orr	r2, r0, #32768
	mov	r0, r4
	bl	b43_write16
.L10:
	mov	r1, #1012
	mov	r0, r4
	bl	b43_read16
	mov	r1, #1012
	and	r2, r0, #61440
	mov	r0, r4
	bl	b43_write16
	ldr	r2, [r4]
	ldr	r3, [r6]
	cmp	r2, r3
	bne	.L38
	ldr	r3, .L45+24
	ldr	r1, [r3]
.L12:
	mov	r2, #127
	mov	r0, r4
	bl	b43_phy_write
	ldr	r3, [r5, #12]
	ldr	r2, .L45+28
	ldr	r1, [r10]
	and	r2, r2, r3
	mov	r0, r4
	bl	b43_phy_write
	ldr	r3, [r5, #8]
	ldr	r2, .L45+32
	mov	r1, #122
	and	r2, r2, r3
	mov	r0, r4
	bl	b43_radio_write16
	mov	r0, #42
	bl	B43_PHY_CCK
	ldr	r2, .L45+36
	mov	r1, r0
	mov	r0, r4
	bl	b43_phy_write
	ldr	r3, [r4]
	ldr	r2, [r6]
	cmp	r3, r2
	beq	.L13
	ldr	r2, [r7]
	cmp	r3, r2
	bne	.L14
	ldr	r3, .L45+40
	ldr	r2, [r4, #4]
	cmp	r2, r3
	beq	.L39
.L14:
	mov	r0, #43
	bl	B43_PHY_CCK
	ldr	r2, .L45+44
	mov	r1, r0
	mov	r0, r4
	bl	b43_phy_write
.L15:
	ldr	r3, [r4, #12]
	cmp	r3, #1
	ble	.L16
	mov	r2, #1
	mov	r1, #0
	mov	r0, r4
	bl	b43_dummy_transmission
.L16:
	mov	r2, #0
	mov	r1, #6
	mov	r0, r4
	bl	b43_gphy_channel_switch
	mov	r1, #81
	mov	r0, r4
	bl	b43_radio_read16
	ldr	r2, [r4]
	ldr	r3, [r6]
	cmp	r2, r3
	beq	.L40
.L17:
	ldr	r2, .L45+48
	ldr	r3, .L45+52
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r0, [r9]
	sub	r1, r1, r3
	bl	time_before
	cmp	r0, #0
	bne	.L41
.L18:
	ldr	r2, [r6]
	ldr	r3, [r4]
	cmp	r3, r2
	beq	.L42
.L19:
	ldr	r2, [r7]
	cmp	r3, r2
	beq	.L43
	mov	r0, r4
	ldr	r3, .L45+24
	ldr	r2, .L45+56
	ldr	r1, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	b43_phy_write
.L38:
	mov	r0, #46
	bl	B43_PHY_CCK
	mov	r1, r0
	b	.L12
.L31:
	ldr	r3, .L45+60
	mov	r0, r4
	ldr	r1, [r3]
	bl	b43_phy_read
	ldr	fp, .L45+64
	str	r0, [r5, #68]
	ldr	r1, [fp]
	mov	r0, r4
	bl	b43_phy_read
	ldr	r10, .L45+68
	str	r0, [r5, #64]
	ldr	r1, [r10]
	mov	r0, r4
	bl	b43_phy_read
	ldr	r2, .L45+72
	str	r0, [r5, #60]
	ldr	r1, [r2]
	mov	r0, r4
	bl	b43_phy_read
	ldr	r2, .L45+76
	str	r0, [r5, #56]
	ldr	r1, [r2]
	mov	r0, r4
	bl	b43_phy_read
	mov	r1, r0
	mov	r0, #62
	str	r1, [r5, #52]
	bl	B43_PHY_CCK
	mov	r1, r0
	mov	r0, r4
	bl	b43_phy_read
	ldr	r6, .L45+80
	str	r0, [r5, #48]
	ldr	r1, [r6]
	mov	r0, r4
	bl	b43_phy_read
	ldr	r2, .L45+76
	str	r0, [r5, #44]
	ldr	r1, [r2]
	mov	r0, r4
	ldr	r2, .L45+84
	bl	b43_phy_mask
	ldr	r1, [r6]
	ldr	r2, .L45+88
	mov	r0, r4
	bl	b43_phy_mask
	ldr	r3, .L45+60
	mov	r2, #3
	ldr	r1, [r3]
	mov	r0, r4
	ldr	r6, .L45+8
	bl	b43_phy_set
	ldr	r2, .L45+84
	mov	r0, r4
	ldr	r1, [fp]
	bl	b43_phy_mask
	ldr	r3, [r6]
	ldr	r2, [r4]
	cmp	r2, r3
	bne	.L5
	ldr	r3, [r4, #12]
	ldr	r1, [r10]
	cmp	r3, #6
	ble	.L6
	ldr	r3, .L45+92
	ldr	r2, [sp, #4]
	ldr	r3, [r3]
	ldr	r2, [r2]
	tst	r2, r3
	bne	.L44
.L6:
	mov	r0, r4
	ldr	r2, .L45+96
	bl	b43_phy_write
	b	.L7
.L37:
	mov	r0, #48
	bl	B43_PHY_CCK
	mov	r1, r0
	mov	r0, r4
	bl	b43_phy_read
	mov	r3, r0
	mov	r0, #6
	str	r3, [r5, #24]
	bl	B43_PHY_CCK
	mov	r1, r0
	mov	r0, r4
	bl	b43_phy_read
	mov	r3, r0
	mov	r0, #48
	str	r3, [r5, #20]
	bl	B43_PHY_CCK
	mov	r2, #255
	mov	r1, r0
	mov	r0, r4
	bl	b43_phy_write
	mov	r0, #6
	bl	B43_PHY_CCK
	ldr	r2, .L45+100
	mov	r1, r0
	mov	r0, r4
	bl	b43_phy_write
	b	.L10
.L42:
	ldr	r2, [r4, #12]
	cmp	r2, #2
	ble	.L19
	mov	r0, r4
	ldr	r3, .L45+24
	ldr	r2, .L45+104
	ldr	r1, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	b43_phy_write
.L35:
	ldr	r3, .L45+40
	ldr	r2, [r4, #4]
	cmp	r2, r3
	bne	.L3
	ldr	r3, [r4, #8]
	cmp	r3, #5
	bgt	.L3
	mov	r0, #22
	bl	B43_PHY_CCK
	mov	r2, #1040
	mov	r1, r0
	mov	r0, r4
	bl	b43_phy_write
	mov	r0, #23
	bl	B43_PHY_CCK
	mov	r2, #2080
	mov	r1, r0
	mov	r0, r4
	bl	b43_phy_write
	b	.L3
.L30:
	ldr	r3, .L45+24
	mov	r0, r4
	ldr	r1, [r3]
	bl	b43_phy_read
	mov	r3, r0
	mov	r0, #1
	str	r3, [r5, #88]
	bl	B43_PHY_EXTG
	mov	r1, r0
	mov	r0, r4
	bl	b43_phy_read
	ldr	r8, .L45
	str	r0, [r5, #84]
	ldr	r1, [r8]
	mov	r0, r4
	bl	b43_phy_read
	mov	r3, r0
	mov	r0, #20
	str	r3, [r5, #80]
	bl	B43_PHY_CCK
	mov	r1, r0
	mov	r0, r4
	bl	b43_phy_read
	ldr	r6, .L45+108
	str	r0, [r5, #76]
	ldr	r1, [r6]
	mov	r0, r4
	bl	b43_phy_read
	ldr	r1, [r6]
	mov	r2, #256
	str	r0, [r5, #72]
	mov	r0, r4
	bl	b43_phy_set
	mov	r0, #1
	bl	B43_PHY_EXTG
	mov	r2, #64
	mov	r1, r0
	mov	r0, r4
	bl	b43_phy_set
	ldr	r1, [r8]
	mov	r2, #64
	mov	r0, r4
	bl	b43_phy_set
	mov	r0, #20
	bl	B43_PHY_CCK
	mov	r2, #512
	mov	r1, r0
	mov	r0, r4
	bl	b43_phy_set
	b	.L2
.L36:
	mov	r1, #82
	mov	r0, r4
	bl	b43_radio_read16
	and	r0, r0, #240
	str	r0, [r5, #16]
	b	.L8
.L41:
	mov	r0, r4
	bl	lo_measure_txctl_values
	b	.L18
.L43:
	mov	r0, #46
	bl	B43_PHY_CCK
	mov	r1, r0
	mov	r0, r4
	ldr	r2, .L45+56
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	b43_phy_write
.L39:
	ldr	r3, [r4, #8]
	cmp	r3, #5
	ble	.L14
.L13:
	mov	r0, #43
	bl	B43_PHY_CCK
	ldr	r2, .L45+112
	mov	r1, r0
	mov	r0, r4
	bl	b43_phy_write
	b	.L15
.L5:
	mov	r2, #0
	mov	r0, r4
	ldr	r1, [r10]
	bl	b43_phy_write
.L7:
	mov	r0, #62
	bl	B43_PHY_CCK
	mov	r2, #0
	mov	r1, r0
	mov	r0, r4
	bl	b43_phy_write
	b	.L4
.L40:
	mov	r0, #47
	bl	B43_PHY_CCK
	mov	r2, #0
	mov	r1, r0
	mov	r0, r4
	bl	b43_phy_write
	b	.L17
.L44:
	mov	r0, r4
	ldr	r2, .L45+116
	bl	b43_phy_write
	b	.L7
.L46:
	.align	2
.L45:
	.word	B43_PHY_DACCTL
	.word	B43_PHYTYPE_B
	.word	B43_PHYTYPE_G
	.word	994
	.word	B43_PHY_PGACTL
	.word	B43_PHY_SYNCCTL
	.word	B43_PHY_LO_MASK
	.word	65407
	.word	65520
	.word	2211
	.word	8272
	.word	2050
	.word	jiffies
	.word	B43_LO_TXCTL_EXPIRE
	.word	32888
	.word	B43_PHY_ANALOGOVER
	.word	B43_PHY_ANALOGOVERVAL
	.word	B43_PHY_RFOVER
	.word	B43_PHY_RFOVERVAL
	.word	B43_PHY_CLASSCTL
	.word	B43_PHY_CRS0
	.word	65532
	.word	32767
	.word	B43_BFL_EXTLNA
	.word	307
	.word	16191
	.word	49272
	.word	B43_PHY_HPWR_TSSICTL
	.word	4099
	.word	2355
	.size	lo_measure_setup, .-lo_measure_setup
	.comm	jiffies,4,4
	.comm	B43_PHY_SYNCCTL,4,4
	.comm	B43_PHY_RFOVERVAL,4,4
	.comm	B43_PHY_RFOVER,4,4
	.comm	B43_PHY_PGACTL,4,4
	.comm	B43_PHY_LO_MASK,4,4
	.comm	B43_PHY_HPWR_TSSICTL,4,4
	.comm	B43_PHY_DACCTL,4,4
	.comm	B43_PHY_CRS0,4,4
	.comm	B43_PHY_CLASSCTL,4,4
	.comm	B43_PHY_ANALOGOVERVAL,4,4
	.comm	B43_PHY_ANALOGOVER,4,4
	.comm	B43_PHYTYPE_G,4,4
	.comm	B43_PHYTYPE_B,4,4
	.comm	B43_LO_TXCTL_EXPIRE,4,4
	.comm	B43_BFL_EXTLNA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
