	.file	"extr_phy_g.c_b43_hardware_pctl_init_gphy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	b43_hardware_pctl_init_gphy, @function
b43_hardware_pctl_init_gphy:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbx, QWORD PTR 8[rdi]
	call	b43_has_hardware_pctl@PLT
	test	eax, eax
	je	.L6
	mov	rcx, QWORD PTR 8[rbx]
	mov	rdi, rbp
	sub	rcx, QWORD PTR [rbx]
	mov	edx, 65472
	mov	esi, 54
	call	b43_phy_maskset@PLT
	mov	edx, 65280
	mov	esi, 1144
	mov	rdi, rbp
	mov	rcx, QWORD PTR 8[rbx]
	sub	rcx, QWORD PTR [rbx]
	call	b43_phy_maskset@PLT
	mov	rdi, rbp
	call	b43_gphy_tssi_power_lt_init@PLT
	mov	rdi, rbp
	call	b43_gphy_gain_lt_init@PLT
	mov	rdi, rbp
	mov	edx, 65471
	mov	esi, 96
	call	b43_phy_mask@PLT
	xor	edx, edx
	mov	esi, 20
	mov	rdi, rbp
	call	b43_phy_write@PLT
	xor	edi, edi
	cmp	DWORD PTR 0[rbp], 5
	setle	dil
	call	B43_WARN_ON@PLT
	mov	rdi, rbp
	mov	edx, 2048
	mov	esi, 1144
	call	b43_phy_set@PLT
	mov	rdi, rbp
	mov	edx, 65279
	mov	esi, 1144
	call	b43_phy_mask@PLT
	mov	edx, 65471
	mov	rdi, rbp
	mov	esi, 2049
	call	b43_phy_mask@PLT
	mov	esi, 1
	mov	rdi, rbp
	call	b43_gphy_dc_lt_init@PLT
	mov	rdi, rbp
	call	b43_hf_read@PLT
	or	eax, DWORD PTR B43_HF_HWPCTL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	mov	esi, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	b43_hf_write@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, rbp
	call	b43_hf_read@PLT
	mov	esi, DWORD PTR B43_HF_HWPCTL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	not	esi
	and	esi, eax
	jmp	b43_hf_write@PLT
	.cfi_endproc
.LFE0:
	.size	b43_hardware_pctl_init_gphy, .-b43_hardware_pctl_init_gphy
	.comm	B43_HF_HWPCTL,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_hardware_pctl_init_gphy.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	b43_hardware_pctl_init_gphy, %function
b43_hardware_pctl_init_gphy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r5, [r0, #4]
	bl	b43_has_hardware_pctl
	cmp	r0, #0
	beq	.L5
	ldr	r1, [r5, #4]
	ldr	r3, [r5]
	mov	r0, r4
	sub	r3, r1, r3
	ldr	r2, .L6
	mov	r1, #54
	bl	b43_phy_maskset
	ldr	r1, [r5, #4]
	ldr	r3, [r5]
	mov	r2, #65280
	sub	r3, r1, r3
	mov	r0, r4
	ldr	r1, .L6+4
	bl	b43_phy_maskset
	mov	r0, r4
	bl	b43_gphy_tssi_power_lt_init
	mov	r0, r4
	bl	b43_gphy_gain_lt_init
	mov	r1, #96
	mov	r0, r4
	ldr	r2, .L6+8
	bl	b43_phy_mask
	mov	r2, #0
	mov	r1, #20
	mov	r0, r4
	bl	b43_phy_write
	ldr	r0, [r4]
	cmp	r0, #5
	movgt	r0, #0
	movle	r0, #1
	bl	B43_WARN_ON
	mov	r2, #2048
	mov	r0, r4
	ldr	r1, .L6+4
	bl	b43_phy_set
	mov	r0, r4
	ldr	r2, .L6+12
	ldr	r1, .L6+4
	bl	b43_phy_mask
	ldr	r2, .L6+8
	mov	r0, r4
	ldr	r1, .L6+16
	bl	b43_phy_mask
	mov	r1, #1
	mov	r0, r4
	bl	b43_gphy_dc_lt_init
	mov	r0, r4
	bl	b43_hf_read
	mov	r1, r0
	ldr	r3, .L6+20
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r3, [r3]
	orr	r1, r1, r3
	b	b43_hf_write
.L5:
	mov	r0, r4
	bl	b43_hf_read
	mov	r3, r0
	ldr	r2, .L6+20
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r2]
	bic	r1, r3, r1
	b	b43_hf_write
.L7:
	.align	2
.L6:
	.word	65472
	.word	1144
	.word	65471
	.word	65279
	.word	2049
	.word	B43_HF_HWPCTL
	.size	b43_hardware_pctl_init_gphy, .-b43_hardware_pctl_init_gphy
	.comm	B43_HF_HWPCTL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
