	.file	"extr_trx.c_rtl92cu_fill_fake_txdesc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	rtl92cu_fill_fake_txdesc
	.type	rtl92cu_fill_fake_txdesc, @function
rtl92cu_fill_fake_txdesc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edx
	mov	edx, DWORD PTR RTL_TX_HEADER_SIZE[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	xor	esi, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rdi, rbp
	mov	ebx, ecx
	call	memset@PLT
	mov	esi, 1
	mov	rdi, rbp
	call	set_tx_desc_first_seg@PLT
	mov	esi, 1
	mov	rdi, rbp
	call	set_tx_desc_last_seg@PLT
	mov	esi, DWORD PTR RTL_TX_HEADER_SIZE[rip]
	mov	rdi, rbp
	call	set_tx_desc_offset@PLT
	mov	esi, r12d
	mov	rdi, rbp
	call	set_tx_desc_pkt_size@PLT
	mov	esi, DWORD PTR QSLT_MGNT[rip]
	mov	rdi, rbp
	call	set_tx_desc_queue_sel@PLT
	mov	esi, 1
	mov	rdi, rbp
	test	ebx, ebx
	je	.L2
	call	set_tx_desc_nav_use_hdr@PLT
.L3:
	mov	rdi, rbp
	mov	esi, 1
	call	set_tx_desc_use_rate@PLT
	mov	rdi, rbp
	mov	esi, 1
	call	set_tx_desc_own@PLT
	mov	esi, DWORD PTR DESC_RATE1M[rip]
	mov	rdi, rbp
	call	set_tx_desc_tx_rate@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	_rtl_tx_desc_checksum@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	set_tx_desc_hwseq_en@PLT
	mov	edi, 3
	call	BIT@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	set_tx_desc_pkt_id@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	rtl92cu_fill_fake_txdesc, .-rtl92cu_fill_fake_txdesc
	.comm	RTL_TX_HEADER_SIZE,4,4
	.comm	QSLT_MGNT,4,4
	.comm	DESC_RATE1M,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_trx.c_rtl92cu_fill_fake_txdesc.c"
	.text
	.align	2
	.global	rtl92cu_fill_fake_txdesc
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtl92cu_fill_fake_txdesc, %function
rtl92cu_fill_fake_txdesc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	mov	r6, r2
	mov	r5, r3
	ldr	r7, .L6
	mov	r0, r1
	ldr	r2, [r7]
	mov	r1, #0
	bl	memset
	mov	r1, #1
	mov	r0, r4
	bl	set_tx_desc_first_seg
	mov	r1, #1
	mov	r0, r4
	bl	set_tx_desc_last_seg
	ldr	r1, [r7]
	mov	r0, r4
	bl	set_tx_desc_offset
	mov	r1, r6
	mov	r0, r4
	bl	set_tx_desc_pkt_size
	ldr	r3, .L6+4
	mov	r0, r4
	ldr	r1, [r3]
	bl	set_tx_desc_queue_sel
	cmp	r5, #0
	mov	r1, #1
	mov	r0, r4
	beq	.L2
	bl	set_tx_desc_nav_use_hdr
.L3:
	mov	r1, #1
	mov	r0, r4
	bl	set_tx_desc_use_rate
	mov	r1, #1
	mov	r0, r4
	bl	set_tx_desc_own
	ldr	r3, .L6+8
	mov	r0, r4
	ldr	r1, [r3]
	bl	set_tx_desc_tx_rate
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	_rtl_tx_desc_checksum
.L2:
	bl	set_tx_desc_hwseq_en
	mov	r0, #3
	bl	BIT
	mov	r1, r0
	mov	r0, r4
	bl	set_tx_desc_pkt_id
	b	.L3
.L7:
	.align	2
.L6:
	.word	RTL_TX_HEADER_SIZE
	.word	QSLT_MGNT
	.word	DESC_RATE1M
	.size	rtl92cu_fill_fake_txdesc, .-rtl92cu_fill_fake_txdesc
	.comm	RTL_TX_HEADER_SIZE,4,4
	.comm	QSLT_MGNT,4,4
	.comm	DESC_RATE1M,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
