	.file	"extr_pci.c__rtl_pci_tx_isr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"new ring->idx:%d, free: skb_queue_len:%d, free: seq:%x\n"
	.align 8
.LC1:
	.string	"more desc left, wake skb_queue@%d, ring->idx = %d, skb_queue_len = 0x%x\n"
	.text
	.p2align 4
	.type	_rtl_pci_tx_isr, @function
_rtl_pci_tx_isr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movsx	rbx, esi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	DWORD PTR 16[rsp], ebx
	sal	rbx, 5
	call	rtl_priv@PLT
	mov	rdi, r15
	mov	r12, rax
	call	rtl_pcipriv@PLT
	mov	edi, eax
	call	rtl_pcidev@PLT
	mov	QWORD PTR 24[rsp], rax
	add	rbx, QWORD PTR 8[rax]
	lea	r14, 12[rbx]
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdi, r14
	call	skb_queue_len@PLT
	test	eax, eax
	je	.L32
.L16:
	mov	rdx, QWORD PTR [rbx]
	cmp	QWORD PTR 40[r12], 0
	lea	r13, 0[0+rdx*4]
	je	.L3
	add	r13, QWORD PTR 24[rbx]
.L4:
	mov	rax, QWORD PTR 32[r12]
	mov	esi, DWORD PTR 16[rsp]
	mov	rdi, r15
	mov	rax, QWORD PTR [rax]
	call	[QWORD PTR 8[rax]]
	test	eax, eax
	je	.L1
	mov	rax, QWORD PTR [rbx]
	movsx	rcx, DWORD PTR 8[rbx]
	xor	edx, edx
	mov	rdi, r14
	add	rax, 1
	div	rcx
	mov	QWORD PTR [rbx], rdx
	call	__skb_dequeue@PLT
	mov	edx, 1
	mov	rsi, r13
	mov	rdi, r15
	mov	r8d, DWORD PTR 8[rax]
	mov	rbp, rax
	mov	rax, QWORD PTR 32[r12]
	mov	r9d, DWORD PTR PCI_DMA_TODEVICE[rip]
	mov	ecx, DWORD PTR HW_DESC_TXBUFF_ADDR[rip]
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR 8[rsp], r8d
	mov	DWORD PTR 20[rsp], r9d
	call	[QWORD PTR [rax]]
	mov	r9d, DWORD PTR 20[rsp]
	mov	r8d, DWORD PTR 8[rsp]
	mov	esi, eax
	mov	rax, QWORD PTR 24[rsp]
	mov	ecx, r9d
	mov	edx, r8d
	mov	edi, DWORD PTR [rax]
	call	pci_unmap_single@PLT
	cmp	QWORD PTR 24[r12], 0
	jne	.L33
.L7:
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, r14
	mov	r13d, DWORD PTR 22[rax]
	call	skb_queue_len@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 104
	mov	r8, QWORD PTR [rbx]
	mov	rdi, r12
	push	r13
	.cfi_def_cfa_offset 112
	mov	edx, DWORD PTR DBG_TRACE[rip]
	mov	r9d, eax
	lea	rcx, .LC0[rip]
	mov	esi, DWORD PTR COMP_INTR[rip]
	or	esi, DWORD PTR COMP_SEND[rip]
	call	RT_TRACE@PLT
	pop	rcx
	.cfi_def_cfa_offset 104
	pop	rsi
	.cfi_def_cfa_offset 96
	mov	rdi, rbp
	mov	eax, DWORD PTR 16[rsp]
	cmp	DWORD PTR TXCMD_QUEUE[rip], eax
	je	.L30
	call	rtl_get_fc@PLT
	mov	edi, eax
	mov	r13d, eax
	call	ieee80211_is_nullfunc@PLT
	test	rax, rax
	jne	.L34
.L10:
	mov	edi, r13d
	call	ieee80211_is_action@PLT
	mov	rdi, rbp
	test	rax, rax
	je	.L12
	mov	rax, QWORD PTR 0[rbp]
	mov	rcx, QWORD PTR WLAN_HT_ACTION_SMPS[rip]
	cmp	QWORD PTR [rax], rcx
	je	.L30
.L12:
	call	rtl_get_tid@PLT
	cmp	eax, 7
	jg	.L13
	mov	rdx, QWORD PTR 8[r12]
	cdqe
	add	DWORD PTR [rdx+rax*4], 1
.L13:
	mov	rdi, rbp
	call	IEEE80211_SKB_CB@PLT
	mov	edi, r13d
	mov	QWORD PTR 8[rsp], rax
	call	ieee80211_is_nullfunc@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	likely@PLT
	test	rax, rax
	je	.L14
	mov	r13, QWORD PTR 8[rsp]
	mov	rdi, r13
	call	ieee80211_tx_info_clear_status@PLT
	mov	eax, DWORD PTR IEEE80211_TX_STAT_ACK[rip]
	or	DWORD PTR 0[r13], eax
	mov	rsi, rbp
	mov	rdi, r15
	call	ieee80211_tx_status_irqsafe@PLT
.L15:
	mov	r13d, DWORD PTR 8[rbx]
	mov	rdi, r14
	call	skb_queue_len@PLT
	sub	r13d, eax
	cmp	r13d, 4
	jg	.L2
	mov	rdi, r14
	call	skb_queue_len@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 104
	mov	r9, QWORD PTR [rbx]
	mov	rdi, r12
	push	rax
	.cfi_def_cfa_offset 112
	mov	edx, DWORD PTR DBG_DMESG[rip]
	lea	rcx, .LC1[rip]
	mov	r8d, DWORD PTR 32[rsp]
	mov	esi, DWORD PTR COMP_ERR[rip]
	call	RT_TRACE@PLT
	mov	rdi, rbp
	call	skb_get_queue_mapping@PLT
	mov	rdi, r15
	mov	esi, eax
	call	ieee80211_wake_queue@PLT
	pop	rax
	.cfi_def_cfa_offset 104
	mov	rdi, r14
	pop	rdx
	.cfi_def_cfa_offset 96
	call	skb_queue_len@PLT
	test	eax, eax
	jne	.L16
.L32:
	mov	eax, DWORD PTR [r12]
	mov	edx, DWORD PTR 4[r12]
	add	edx, eax
	cmp	edx, 8
	jg	.L19
	cmp	eax, 2
	jg	.L19
.L1:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	add	r13, QWORD PTR 16[rbx]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rsi, rbp
	mov	rdi, r15
	call	rtl_tx_ackqueue@PLT
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L33:
	mov	esi, DWORD PTR EM_HDR_LEN[rip]
	mov	rdi, rbp
	call	skb_pull@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L30:
	call	dev_kfree_skb@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L34:
	mov	edi, r13d
	call	ieee80211_has_pm@PLT
	test	rax, rax
	je	.L11
	movabs	rax, 4294967297
	mov	QWORD PTR 16[r12], rax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L11:
	mov	DWORD PTR 16[r12], 0
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L19:
	add	rsp, 40
	.cfi_def_cfa_offset 56
	mov	rdi, r15
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	rtl_lps_leave@PLT
	.cfi_endproc
.LFE0:
	.size	_rtl_pci_tx_isr, .-_rtl_pci_tx_isr
	.comm	WLAN_HT_ACTION_SMPS,8,8
	.comm	TXCMD_QUEUE,4,4
	.comm	PCI_DMA_TODEVICE,4,4
	.comm	IEEE80211_TX_STAT_ACK,4,4
	.comm	HW_DESC_TXBUFF_ADDR,4,4
	.comm	EM_HDR_LEN,4,4
	.comm	DBG_TRACE,4,4
	.comm	DBG_DMESG,4,4
	.comm	COMP_SEND,4,4
	.comm	COMP_INTR,4,4
	.comm	COMP_ERR,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_pci.c__rtl_pci_tx_isr.c"
	.text
	.global	__aeabi_uidivmod
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"new ring->idx:%d, free: skb_queue_len:%d, free: seq"
	.ascii	":%x\012\000"
	.align	2
.LC1:
	.ascii	"more desc left, wake skb_queue@%d, ring->idx = %d, "
	.ascii	"skb_queue_len = 0x%x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_rtl_pci_tx_isr, %function
_rtl_pci_tx_isr:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #28
	mov	r9, r1
	mov	r8, r0
	bl	rtl_priv
	mov	r6, r0
	mov	r0, r8
	bl	rtl_pcipriv
	bl	rtl_pcidev
	ldr	r5, [r0, #4]
	add	r3, r9, r9, lsl #2
	add	r5, r5, r3, lsl #2
	str	r0, [sp, #20]
	add	r7, r5, #8
.L2:
	mov	r0, r7
	bl	skb_queue_len
	cmp	r0, #0
	beq	.L33
.L16:
	ldr	r3, [r6, #28]
	ldr	r2, [r5]
	cmp	r3, #0
	ldrne	r3, [r5, #16]
	ldreq	r3, [r5, #12]
	lsl	r10, r2, #2
	add	r10, r3, r10
	ldr	r3, [r6, #24]
	mov	r1, r9
	ldr	r3, [r3]
	mov	r0, r8
	ldr	r3, [r3, #4]
	blx	r3
	cmp	r0, #0
	beq	.L1
	ldm	r5, {r0, r1}
	add	r0, r0, #1
	bl	__aeabi_uidivmod
	mov	r0, r7
	str	r1, [r5]
	bl	__skb_dequeue
	ldr	r3, [r6, #24]
	ldr	ip, [sp, #20]
	ldr	r2, [r3]
	ldr	r3, .L36
	mov	r1, r10
	mov	r4, r0
	ldr	r3, [r3]
	ldr	fp, [r2]
	mov	r0, r8
	mov	r2, #1
	ldr	r10, [ip]
	blx	fp
	ldr	r3, .L36+4
	mov	r1, r0
	ldr	r3, [r3]
	mov	r0, r10
	ldr	r2, [r4, #4]
	bl	pci_unmap_single
	ldr	r3, [r6, #20]
	cmp	r3, #0
	bne	.L34
.L7:
	ldr	r3, .L36+8
	mov	r0, r7
	ldr	r10, [r3]
	ldr	r3, .L36+12
	ldr	fp, [r5]
	ldr	r1, [r3]
	ldr	r3, .L36+16
	orr	r10, r10, r1
	ldr	r2, [r3]
	str	r2, [sp, #16]
	bl	skb_queue_len
	ldr	r3, [r4]
	mov	r1, r10
	ldr	r3, [r3, #22]
	ldr	r2, [sp, #16]
	stmib	sp, {r0, r3}
	str	fp, [sp]
	ldr	r3, .L36+20
	mov	r0, r6
	bl	RT_TRACE
	ldr	r3, .L36+24
	mov	r0, r4
	ldr	r3, [r3]
	cmp	r3, r9
	beq	.L31
	bl	rtl_get_fc
	mov	r10, r0
	bl	ieee80211_is_nullfunc
	cmp	r0, #0
	bne	.L35
.L10:
	mov	r0, r10
	bl	ieee80211_is_action
	cmp	r0, #0
	mov	r0, r4
	beq	.L12
	ldr	r2, [r4]
	ldr	r3, .L36+28
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L31
.L12:
	bl	rtl_get_tid
	cmp	r0, #7
	ldrle	r2, [r6, #8]
	ldrle	r3, [r2, r0, lsl #2]
	addle	r3, r3, #1
	strle	r3, [r2, r0, lsl #2]
	mov	r0, r4
	bl	IEEE80211_SKB_CB
	mov	r3, r0
	mov	r0, r10
	mov	r10, r3
	bl	ieee80211_is_nullfunc
	clz	r0, r0
	lsr	r0, r0, #5
	bl	likely
	cmp	r0, #0
	beq	.L14
	mov	r0, r10
	bl	ieee80211_tx_info_clear_status
	ldr	r2, .L36+32
	ldr	r3, [r10]
	ldr	r2, [r2]
	mov	r1, r4
	orr	r3, r3, r2
	mov	r0, r8
	str	r3, [r10]
	bl	ieee80211_tx_status_irqsafe
.L15:
	mov	r0, r7
	ldr	r10, [r5, #4]
	bl	skb_queue_len
	sub	r10, r10, r0
	cmp	r10, #4
	bgt	.L2
	ldr	r3, .L36+36
	ldr	r2, .L36+40
	mov	r0, r7
	ldr	fp, [r2]
	ldr	r2, [r3]
	ldr	r10, [r5]
	str	r2, [sp, #16]
	bl	skb_queue_len
	ldr	r2, [sp, #16]
	ldr	r3, .L36+44
	mov	r1, fp
	str	r0, [sp, #8]
	str	r10, [sp, #4]
	mov	r0, r6
	str	r9, [sp]
	bl	RT_TRACE
	mov	r0, r4
	bl	skb_get_queue_mapping
	mov	r1, r0
	mov	r0, r8
	bl	ieee80211_wake_queue
	mov	r0, r7
	bl	skb_queue_len
	cmp	r0, #0
	bne	.L16
.L33:
	ldm	r6, {r2, r3}
	add	r3, r2, r3
	cmp	r2, #2
	cmple	r3, #8
	ble	.L1
	mov	r0, r8
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	rtl_lps_leave
.L14:
	mov	r1, r4
	mov	r0, r8
	bl	rtl_tx_ackqueue
	b	.L15
.L34:
	ldr	r3, .L36+48
	mov	r0, r4
	ldr	r1, [r3]
	bl	skb_pull
	b	.L7
.L31:
	bl	dev_kfree_skb
	b	.L2
.L35:
	mov	r0, r10
	bl	ieee80211_has_pm
	cmp	r0, #0
	movne	r3, #1
	streq	r0, [r6, #12]
	strne	r3, [r6, #16]
	strne	r3, [r6, #12]
	b	.L10
.L1:
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L37:
	.align	2
.L36:
	.word	HW_DESC_TXBUFF_ADDR
	.word	PCI_DMA_TODEVICE
	.word	COMP_INTR
	.word	COMP_SEND
	.word	DBG_TRACE
	.word	.LC0
	.word	TXCMD_QUEUE
	.word	WLAN_HT_ACTION_SMPS
	.word	IEEE80211_TX_STAT_ACK
	.word	DBG_DMESG
	.word	COMP_ERR
	.word	.LC1
	.word	EM_HDR_LEN
	.size	_rtl_pci_tx_isr, .-_rtl_pci_tx_isr
	.comm	WLAN_HT_ACTION_SMPS,4,4
	.comm	TXCMD_QUEUE,4,4
	.comm	PCI_DMA_TODEVICE,4,4
	.comm	IEEE80211_TX_STAT_ACK,4,4
	.comm	HW_DESC_TXBUFF_ADDR,4,4
	.comm	EM_HDR_LEN,4,4
	.comm	DBG_TRACE,4,4
	.comm	DBG_DMESG,4,4
	.comm	COMP_SEND,4,4
	.comm	COMP_INTR,4,4
	.comm	COMP_ERR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
