	.file	"extr_acx.c_wl1271_acx_tx_power.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"acx dot11_cur_tx_pwr %d"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"configure of tx power failed: %d"
	.text
	.p2align 4
	.globl	wl1271_acx_tx_power
	.type	wl1271_acx_tx_power, @function
wl1271_acx_tx_power:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	lea	rsi, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, edx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR DEBUG_ACX[rip]
	call	wl1271_debug@PLT
	cmp	ebx, 25
	jbe	.L2
	mov	r12d, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 8
	call	kzalloc@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L8
	mov	eax, DWORD PTR 0[r13]
	mov	esi, DWORD PTR DOT11_CUR_TX_PWR[rip]
	mov	rdi, r12
	mov	rdx, rbp
	mov	ecx, 8
	mov	DWORD PTR 4[rbp], eax
	lea	eax, [rbx+rbx*4]
	add	eax, eax
	mov	DWORD PTR 0[rbp], eax
	call	wl1271_cmd_configure@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L9
.L5:
	mov	rdi, rbp
	call	kfree@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L9:
	mov	esi, eax
	lea	rdi, .LC1[rip]
	call	wl1271_warning@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	wl1271_acx_tx_power, .-wl1271_acx_tx_power
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	DOT11_CUR_TX_PWR,4,4
	.comm	DEBUG_ACX,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_acx.c_wl1271_acx_tx_power.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"acx dot11_cur_tx_pwr %d\000"
	.align	2
.LC1:
	.ascii	"configure of tx power failed: %d\000"
	.text
	.align	2
	.global	wl1271_acx_tx_power
	.syntax unified
	.arm
	.fpu softvfp
	.type	wl1271_acx_tx_power, %function
wl1271_acx_tx_power:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	mov	r7, r0
	ldr	r0, .L10
	mov	r6, r1
	ldr	r0, [r0]
	ldr	r1, .L10+4
	bl	wl1271_debug
	cmp	r4, #25
	bls	.L2
	ldr	r3, .L10+8
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L10+12
	mov	r0, #8
	ldr	r1, [r3]
	bl	kzalloc
	subs	r5, r0, #0
	beq	.L8
	ldr	r2, [r6]
	ldr	r3, .L10+16
	add	r4, r4, r4, lsl #2
	lsl	r4, r4, #1
	ldr	r1, [r3]
	str	r4, [r5]
	str	r2, [r5, #4]
	mov	r0, r7
	mov	r3, #8
	mov	r2, r5
	bl	wl1271_cmd_configure
	subs	r4, r0, #0
	blt	.L9
.L5:
	mov	r0, r5
	bl	kfree
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r3, .L10+20
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L5
.L9:
	mov	r1, r4
	ldr	r0, .L10+24
	bl	wl1271_warning
	b	.L5
.L11:
	.align	2
.L10:
	.word	DEBUG_ACX
	.word	.LC0
	.word	EINVAL
	.word	GFP_KERNEL
	.word	DOT11_CUR_TX_PWR
	.word	ENOMEM
	.word	.LC1
	.size	wl1271_acx_tx_power, .-wl1271_acx_tx_power
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	DOT11_CUR_TX_PWR,4,4
	.comm	DEBUG_ACX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
