	.file	"extr_txrx.c_wil_tx_desc_map.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wil_tx_desc_map, @function
wil_tx_desc_map:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, ecx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	lea	rdi, 56[rdi]
	call	wil_desc_addr_set@PLT
	mov	QWORD PTR 48[rbx], 0
	mov	edi, r12d
	mov	QWORD PTR 40[rbx], 0
	mov	QWORD PTR 32[rbx], 0
	mov	QWORD PTR 24[rbx], 0
	call	cpu_to_le16@PLT
	mov	ecx, DWORD PTR DMA_CFG_DESC_TX_0_QID_POS[rip]
	mov	DWORD PTR 20[rbx], eax
	mov	rax, QWORD PTR [rbx]
	sal	ebp, cl
	mov	DWORD PTR 16[rbx], ebp
	mov	QWORD PTR [rax], 0
	mov	edi, DWORD PTR MAC_CFG_DESC_TX_2_SNAP_HDR_INSERTION_EN_POS[rip]
	mov	DWORD PTR 8[rax], 0
	mov	QWORD PTR 8[rbx], 0
	call	BIT@PLT
	mov	ecx, DWORD PTR MAC_CFG_DESC_TX_2_L2_TRANSLATION_TYPE_POS[rip]
	mov	rdx, QWORD PTR [rbx]
	bts	eax, ecx
	mov	DWORD PTR 8[rdx], eax
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	wil_tx_desc_map, .-wil_tx_desc_map
	.comm	MAC_CFG_DESC_TX_2_SNAP_HDR_INSERTION_EN_POS,4,4
	.comm	MAC_CFG_DESC_TX_2_L2_TRANSLATION_TYPE_POS,4,4
	.comm	DMA_CFG_DESC_TX_0_QID_POS,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_txrx.c_wil_tx_desc_map.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wil_tx_desc_map, %function
wil_tx_desc_map:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r5, #0
	mov	r7, r2
	add	r0, r0, #32
	mov	r6, r3
	bl	wil_desc_addr_set
	mov	r0, r7
	str	r5, [r4, #28]
	str	r5, [r4, #24]
	str	r5, [r4, #20]
	str	r5, [r4, #16]
	bl	cpu_to_le16
	ldr	r3, .L4
	ldr	r2, [r4]
	ldr	r3, [r3]
	str	r0, [r4, #12]
	lsl	r6, r6, r3
	ldr	r3, .L4+4
	str	r6, [r4, #8]
	str	r5, [r2]
	str	r5, [r2, #4]
	str	r5, [r2, #8]
	ldr	r0, [r3]
	str	r5, [r4, #4]
	bl	BIT
	mov	ip, #1
	mov	r3, r0
	ldr	r1, .L4+8
	ldr	r2, [r4]
	ldr	r1, [r1]
	mov	r0, r5
	orr	r3, r3, ip, lsl r1
	str	r3, [r2, #8]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	DMA_CFG_DESC_TX_0_QID_POS
	.word	MAC_CFG_DESC_TX_2_SNAP_HDR_INSERTION_EN_POS
	.word	MAC_CFG_DESC_TX_2_L2_TRANSLATION_TYPE_POS
	.size	wil_tx_desc_map, .-wil_tx_desc_map
	.comm	MAC_CFG_DESC_TX_2_SNAP_HDR_INSERTION_EN_POS,4,4
	.comm	MAC_CFG_DESC_TX_2_L2_TRANSLATION_TYPE_POS,4,4
	.comm	DMA_CFG_DESC_TX_0_QID_POS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
