	.file	"extr_tx.c_iwl_mvm_tx_skb.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	iwl_mvm_tx_skb
	.type	iwl_mvm_tx_skb, @function
iwl_mvm_tx_skb:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	mov	rdi, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	iwl_mvm_sta_from_mac80211@PLT
	xor	edi, edi
	test	rax, rax
	mov	rbx, rax
	sete	dil
	call	WARN_ON_ONCE@PLT
	test	rax, rax
	jne	.L4
	xor	edi, edi
	mov	rax, QWORD PTR IWL_MVM_INVALID_STA[rip]
	cmp	QWORD PTR [rbx], rax
	sete	dil
	call	WARN_ON_ONCE@PLT
	test	rax, rax
	jne	.L4
	mov	esi, DWORD PTR 4[rbp]
	mov	r14, rsp
	mov	edx, 4
	mov	rdi, r14
	call	memcpy@PLT
	mov	rdi, rbp
	call	skb_is_gso@PLT
	test	eax, eax
	je	.L17
	mov	rdi, rbp
	call	skb_tail_pointer@PLT
	mov	rdi, rbp
	mov	ebx, eax
	call	skb_transport_header@PLT
	mov	rdi, rbp
	mov	r15d, eax
	call	tcp_hdrlen@PLT
	add	ebx, DWORD PTR 0[rbp]
	mov	rdi, rbp
	sub	ebx, r15d
	sub	ebx, eax
	call	skb_shinfo@PLT
	cmp	DWORD PTR [rax], ebx
	jnb	.L17
	lea	rbx, 4[rsp]
	mov	rdi, rbx
	call	__skb_queue_head_init@PLT
	mov	r8, rbx
	mov	rcx, r12
	mov	rdx, r14
	mov	rsi, rbp
	mov	rdi, r13
	call	iwl_mvm_tx_tso@PLT
	mov	r15d, eax
	test	eax, eax
	jne	.L1
	mov	rdi, rbx
	call	skb_queue_empty@PLT
	mov	edi, eax
	call	WARN_ON@PLT
	test	rax, rax
	jne	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, rbx
	call	skb_queue_empty@PLT
	test	eax, eax
	jne	.L1
	mov	rdi, rbx
	call	__skb_dequeue@PLT
	mov	rcx, r12
	mov	rdx, r14
	mov	rdi, r13
	mov	rsi, rax
	call	iwl_mvm_tx_mpdu@PLT
	mov	ebp, eax
	test	eax, eax
	je	.L7
	mov	rdi, rbx
	mov	r15d, ebp
	call	__skb_queue_purge@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rcx, r12
	mov	rdx, r14
	mov	rsi, rbp
	mov	rdi, r13
	call	iwl_mvm_tx_mpdu@PLT
	mov	r15d, eax
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	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
.L4:
	.cfi_restore_state
	mov	r15d, -1
	jmp	.L1
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	iwl_mvm_tx_skb, .-iwl_mvm_tx_skb
	.comm	IWL_MVM_INVALID_STA,8,8
	.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_tx.c_iwl_mvm_tx_skb.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	iwl_mvm_tx_skb
	.syntax unified
	.arm
	.fpu softvfp
	.type	iwl_mvm_tx_skb, %function
iwl_mvm_tx_skb:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L19
	sub	sp, sp, #28
	mov	r8, r0
	mov	r0, r2
	mov	r7, r2
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	iwl_mvm_sta_from_mac80211
	mov	r5, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	WARN_ON_ONCE
	cmp	r0, #0
	bne	.L4
	ldr	r3, .L19+4
	ldr	r0, [r5]
	ldr	r3, [r3]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	WARN_ON_ONCE
	cmp	r0, #0
	bne	.L4
	mov	r2, #4
	ldr	r1, [r4, #4]
	add	r0, sp, #12
	bl	memcpy
	mov	r0, r4
	bl	skb_is_gso
	cmp	r0, #0
	beq	.L16
	mov	r0, r4
	bl	skb_tail_pointer
	mov	r6, r0
	mov	r0, r4
	bl	skb_transport_header
	mov	r9, r0
	mov	r0, r4
	bl	tcp_hdrlen
	mov	r3, r0
	ldr	r5, [r4]
	mov	r0, r4
	add	r5, r6, r5
	sub	r5, r5, r9
	sub	r5, r5, r3
	bl	skb_shinfo
	ldr	r3, [r0]
	cmp	r3, r5
	bcs	.L16
	add	r6, sp, #16
	mov	r0, r6
	bl	__skb_queue_head_init
	mov	r1, r4
	mov	r3, r7
	mov	r0, r8
	str	r6, [sp]
	add	r2, sp, #12
	bl	iwl_mvm_tx_tso
	subs	r5, r0, #0
	bne	.L1
	mov	r0, r6
	bl	skb_queue_empty
	bl	WARN_ON
	cmp	r0, #0
	bne	.L1
.L7:
	mov	r0, r6
	bl	skb_queue_empty
	cmp	r0, #0
	bne	.L1
	mov	r0, r6
	bl	__skb_dequeue
	mov	r3, r7
	mov	r1, r0
	add	r2, sp, #12
	mov	r0, r8
	bl	iwl_mvm_tx_mpdu
	subs	r4, r0, #0
	beq	.L7
	mov	r0, r6
	bl	__skb_queue_purge
	mov	r5, r4
	b	.L1
.L16:
	mov	r3, r7
	mov	r1, r4
	mov	r0, r8
	add	r2, sp, #12
	bl	iwl_mvm_tx_mpdu
	mov	r5, r0
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	mov	r0, r5
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L4:
	mvn	r5, #0
	b	.L1
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC0
	.word	IWL_MVM_INVALID_STA
	.size	iwl_mvm_tx_skb, .-iwl_mvm_tx_skb
	.comm	IWL_MVM_INVALID_STA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
