	.file	"extr_if_bwn_phy_lp.c_bwn_phy_lp_txpctl_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bwn_phy_lp_txpctl_init, @function
bwn_phy_lp_txpctl_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	sub	rsp, 48
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	movabs	rax, 51539607556
	mov	QWORD PTR 8[rsp], 12
	mov	QWORD PTR [rsp], rax
	movabs	rax, 64424509447
	mov	QWORD PTR 16[rsp], rax
	mov	rax, QWORD PTR [rdi]
	mov	QWORD PTR 24[rsp], 14
	mov	edi, DWORD PTR [rax]
	call	IEEE80211_IS_CHAN_2GHZ@PLT
	mov	rsi, rsp
	mov	rdi, rbp
	mov	r8, rax
	lea	rax, 16[rsp]
	test	r8, r8
	cmove	rsi, rax
	call	bwn_phy_lp_set_txgain@PLT
	mov	esi, 150
	mov	rdi, rbp
	call	bwn_phy_lp_set_bbmult@PLT
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	bwn_phy_lp_txpctl_init, .-bwn_phy_lp_txpctl_init
	.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_if_bwn_phy_lp.c_bwn_phy_lp_txpctl_init.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bwn_phy_lp_txpctl_init, %function
bwn_phy_lp_txpctl_init:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L8
	sub	sp, sp, #40
	add	ip, r3, #16
	add	r6, sp, #4
	add	r5, sp, #20
	ldr	lr, [r0]
	mov	r4, r0
	ldm	r3, {r0, r1, r2, r3}
	stm	r6, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2, r3}
	stm	r5, {r0, r1, r2, r3}
	ldr	r3, .L8+4
	ldr	r0, [lr]
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	IEEE80211_IS_CHAN_2GHZ
	mov	r1, r0
	cmp	r1, #0
	movne	r1, r6
	moveq	r1, r5
	mov	r0, r4
	bl	bwn_phy_lp_set_txgain
	mov	r0, r4
	mov	r1, #150
	bl	bwn_phy_lp_set_bbmult
	ldr	r3, .L8+4
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LANCHOR0
	.word	.LC2
	.size	bwn_phy_lp_txpctl_init, .-bwn_phy_lp_txpctl_init
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
.LC0:
	.word	4
	.word	12
	.word	12
	.word	0
.LC1:
	.word	7
	.word	15
	.word	14
	.word	0
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
