	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_tx_mpdu
_iwl_mvm_tx_mpdu:                       ## @iwl_mvm_tx_mpdu
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	8(%rsi), %r15
	movq	_IWL_MAX_TID_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rdi
	callq	_iwl_mvm_sta_from_mac80211
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	4(%r15), %ebx
	movl	%ebx, %edi
	callq	_ieee80211_hdrlen
	movl	%eax, %r13d
	movq	_IWL_MVM_NON_TRANSMITTING_AP@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	callq	_ieee80211_is_probe_resp
	movl	$-1, %r12d
	testl	%eax, %eax
	jne	LBB0_36
LBB0_2:
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	sete	%dil
	callq	_WARN_ON_ONCE
	movl	$-1, %r12d
	testq	%rax, %rax
	jne	LBB0_36
## %bb.3:
	movq	(%rbx), %rax
	movq	_IWL_MVM_INVALID_STA@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_36
## %bb.4:
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	callq	_ieee80211_is_probe_resp
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-112(%rbp), %r12                ## 8-byte Reload
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_iwl_mvm_probe_resp_set_noa
LBB0_6:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r9
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	%r13d, %ecx
	movq	%r14, %r8
	callq	_iwl_mvm_set_tx_params
	testq	%rax, %rax
	je	LBB0_35
## %bb.7:
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_IEEE80211_TX_STATUS_EOSP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rbx
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_spin_lock
	movl	-68(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	callq	_ieee80211_is_data_qos
	testq	%rax, %rax
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_16
## %bb.8:
	movl	%r14d, %edi
	callq	_ieee80211_is_qos_nullfunc
	testl	%eax, %eax
	je	LBB0_9
LBB0_16:
	movl	%r14d, %edi
	callq	_ieee80211_is_data
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movl	%r14d, %edi
	callq	_ieee80211_is_data_qos
	testq	%rax, %rax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_20
## %bb.19:
	movq	_IWL_TID_NON_QOS@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_20:
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_21
LBB0_17:
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_21:
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
LBB0_22:
	movq	16(%r12), %rax
	leaq	(%r14,%r14,2), %r13
	movq	16(%rax,%r13,8), %r15
	movq	_IEEE80211_TX_CTL_SEND_AFTER_DTIM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	(%rbx), %edi
	callq	_WARN_ON_ONCE
	movq	_IWL_MVM_INVALID_QUEUE@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %r15
	sete	%dil
	leaq	L_.str.2(%rip), %rsi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_WARN_ONCE
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_iwl_trans_free_tx_cmd
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock
	jmp	LBB0_36
LBB0_24:
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_iwl_mvm_has_new_tx_api
	testl	%eax, %eax
	jne	LBB0_29
## %bb.25:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r12), %rcx
	movq	%r15, %rdx
	shlq	$4, %rdx
	movq	8(%rcx,%rdx), %rsi
	movl	%eax, (%rsi,%r14,4)
	movq	(%rcx,%rdx), %rax
	movq	_IWL_MVM_QUEUE_SHARED@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	jne	LBB0_27
## %bb.26:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_iwl_mvm_txq_should_update
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
LBB0_27:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	leaq	4(%r12), %rdi
	callq	_schedule_work
LBB0_29:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_IEEE80211_SEQ_TO_SN
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movl	(%r13), %ecx
	movl	%ecx, (%rsp)
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rcx
	movq	%r15, %r8
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_IWL_DEBUG_TX
	movq	%r13, %rdi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_iwl_mvm_skb_prepare_status
	movl	(%r12), %edi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_iwl_trans_tx
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_9:
	movq	%r15, %rdi
	callq	_ieee80211_get_tid
	movq	%rax, %r14
	xorl	%edi, %edi
	movq	_IWL_MAX_TID_COUNT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	setae	%dil
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_WARN_ONCE
	testq	%rax, %rax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_10
## %bb.12:
	movq	_IEEE80211_TX_CTL_AMPDU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	andl	(%rbx), %eax
	setne	%dil
	movq	16(%r12), %rdx
	movq	%r14, %rcx
	leaq	(%r14,%r14,2), %r14
	movq	(%rdx,%r14,8), %rdx
	movq	_IWL_AGG_ON@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	setne	%al
	andb	%dil, %al
	movzbl	%al, %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_WARN_ONCE
	testq	%rax, %rax
	je	LBB0_13
LBB0_10:
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_11:
	movl	(%r12), %edi
	callq	_iwl_trans_free_tx_cmd
	movq	%rbx, %rdi
	callq	_spin_unlock
LBB0_35:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_IWL_DEBUG_TX
	movl	$-1, %r12d
LBB0_36:
	movl	%r12d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	movq	_IWL_MAX_TID_COUNT@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %r14
	jae	LBB0_34
## %bb.32:
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	callq	_ieee80211_has_morefrags
	testl	%eax, %eax
	jne	LBB0_34
## %bb.33:
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	addq	$16, %rcx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	%rcx, 8(%rax,%rdx,8)
LBB0_34:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock
	xorl	%r12d, %r12d
	cmpq	(%rbx), %r14
	movl	$0, %edx
	cmovneq	%r14, %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_iwl_mvm_tx_pkt_queued
	testq	%rax, %rax
	jne	LBB0_35
	jmp	LBB0_36
LBB0_13:
	movq	16(%r12), %rax
	movq	_IEEE80211_SCTL_SEQ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r13
	andq	8(%rax,%r14,8), %r13
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_iwl_mvm_has_new_tx_api
	testl	%eax, %eax
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	je	LBB0_15
## %bb.14:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_22
LBB0_15:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	movq	_IEEE80211_SCTL_FRAG@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_cpu_to_le16
	andl	%eax, (%r15)
	movq	%r13, %rdi
	callq	_cpu_to_le16
	orl	(%r15), %eax
	movl	%eax, (%r15)
	movq	(%r14), %rcx
	movl	%eax, (%rcx)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_MAX_TID_COUNT,8,3          ## @IWL_MAX_TID_COUNT
	.comm	_IWL_MVM_NON_TRANSMITTING_AP,8,3 ## @IWL_MVM_NON_TRANSMITTING_AP
	.comm	_IWL_MVM_INVALID_STA,8,3        ## @IWL_MVM_INVALID_STA
	.comm	_IEEE80211_TX_STATUS_EOSP,4,2   ## @IEEE80211_TX_STATUS_EOSP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid TID %d"

	.comm	_IEEE80211_TX_CTL_AMPDU,4,2     ## @IEEE80211_TX_CTL_AMPDU
	.comm	_IWL_AGG_ON,8,3                 ## @IWL_AGG_ON
L_.str.1:                               ## @.str.1
	.asciz	"Invalid internal agg state %d for TID %d"

	.comm	_IEEE80211_SCTL_SEQ,8,3         ## @IEEE80211_SCTL_SEQ
	.comm	_IEEE80211_SCTL_FRAG,8,3        ## @IEEE80211_SCTL_FRAG
	.comm	_IWL_TID_NON_QOS,8,3            ## @IWL_TID_NON_QOS
	.comm	_IEEE80211_TX_CTL_SEND_AFTER_DTIM,4,2 ## @IEEE80211_TX_CTL_SEND_AFTER_DTIM
	.comm	_IWL_MVM_INVALID_QUEUE,8,3      ## @IWL_MVM_INVALID_QUEUE
L_.str.2:                               ## @.str.2
	.asciz	"Invalid TXQ id"

	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_IWL_MVM_QUEUE_SHARED,8,3       ## @IWL_MVM_QUEUE_SHARED
L_.str.3:                               ## @.str.3
	.asciz	"TX to [%d|%d] Q:%d - seq: 0x%x len %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"TX to [%d|%d] dropped\n"

	.no_dead_strip	_iwl_mvm_tx_mpdu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_tx_mpdu
_iwl_mvm_tx_mpdu:                       ; @iwl_mvm_tx_mpdu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x3
	mov	x26, x2
	mov	x23, x1
	mov	x19, x0
	ldr	x27, [x1, #8]
Lloh0:
	adrp	x28, _IWL_MAX_TID_COUNT@GOTPAGE
Lloh1:
	ldr	x28, [x28, _IWL_MAX_TID_COUNT@GOTPAGEOFF]
	ldr	x20, [x28]
	mov	x0, x3
	bl	_iwl_mvm_sta_from_mac80211
	mov	x21, x0
	ldr	w22, [x27, #4]
	mov	x0, x22
	bl	_ieee80211_hdrlen
	mov	x25, x0
Lloh2:
	adrp	x8, _IWL_MVM_NON_TRANSMITTING_AP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IWL_MVM_NON_TRANSMITTING_AP@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_ieee80211_is_probe_resp
	cbnz	w0, LBB0_27
LBB0_2:
	cmp	x21, #0
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_27
; %bb.3:
	ldr	x8, [x21]
Lloh5:
	adrp	x9, _IWL_MVM_INVALID_STA@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IWL_MVM_INVALID_STA@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_27
; %bb.4:
	mov	x0, x22
	bl	_ieee80211_is_probe_resp
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	x1, x23
	bl	_iwl_mvm_probe_resp_set_noa
LBB0_6:
	ldr	x5, [x21]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x26
	mov	x3, x25
	mov	x4, x24
	bl	_iwl_mvm_set_tx_params
	cbz	x0, LBB0_26
; %bb.7:
	mov	x25, x0
Lloh8:
	adrp	x8, _IEEE80211_TX_STATUS_EOSP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IEEE80211_TX_STATUS_EOSP@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x26]
	bic	w8, w9, w8
	str	w8, [x26]
	add	x24, x21, #8
	mov	x0, x24
	bl	_spin_lock
	mov	x0, x22
	bl	_ieee80211_is_data_qos
	cbz	x0, LBB0_9
; %bb.8:
	mov	x0, x22
	bl	_ieee80211_is_qos_nullfunc
	cbz	w0, LBB0_17
LBB0_9:
	mov	x0, x22
	bl	_ieee80211_is_data
	cbz	x0, LBB0_11
; %bb.10:
	mov	x0, x22
	bl	_ieee80211_is_data_qos
	str	xzr, [sp, #40]                  ; 8-byte Folded Spill
Lloh11:
	adrp	x8, _IWL_TID_NON_QOS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IWL_TID_NON_QOS@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x20, x8, x20, eq
	b	LBB0_12
LBB0_11:
	str	xzr, [sp, #40]                  ; 8-byte Folded Spill
LBB0_12:
	ldr	x8, [x21, #16]
	mov	w9, #24
	madd	x8, x20, x9, x8
	ldr	x27, [x8, #16]
	ldr	w8, [x26]
Lloh14:
	adrp	x9, _IEEE80211_TX_CTL_SEND_AFTER_DTIM@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IEEE80211_TX_CTL_SEND_AFTER_DTIM@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_WARN_ON_ONCE
Lloh17:
	adrp	x8, _IWL_MVM_INVALID_QUEUE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IWL_MVM_INVALID_QUEUE@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x27, x8
	cset	w0, eq
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_WARN_ONCE
	cbz	x0, LBB0_14
; %bb.13:
	ldr	w0, [x19]
	mov	x1, x25
	bl	_iwl_trans_free_tx_cmd
	mov	x0, x24
	bl	_spin_unlock
	mov	w0, #0
	b	LBB0_28
LBB0_14:
	mov	x0, x19
	bl	_iwl_mvm_has_new_tx_api
	cbnz	w0, LBB0_24
; %bb.15:
Lloh22:
	adrp	x8, _jiffies@GOTPAGE
Lloh23:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	ldr	x9, [x19, #8]
	add	x9, x9, x27, lsl #4
	ldp	x9, x10, [x9]
	str	w8, [x10, x20, lsl #2]
Lloh25:
	adrp	x8, _IWL_MVM_QUEUE_SHARED@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IWL_MVM_QUEUE_SHARED@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.16:
	mov	x0, x19
	mov	x1, x27
	bl	_iwl_mvm_txq_should_update
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_22
LBB0_17:
	mov	x0, x27
	bl	_ieee80211_get_tid
	mov	x20, x0
	ldr	x8, [x28]
	cmp	x0, x8
	cset	w0, hs
	str	x20, [sp]
Lloh28:
	adrp	x1, l_.str@PAGE
Lloh29:
	add	x1, x1, l_.str@PAGEOFF
	bl	_WARN_ONCE
	cbnz	x0, LBB0_25
; %bb.18:
	ldr	w8, [x26]
Lloh30:
	adrp	x9, _IEEE80211_TX_CTL_AMPDU@GOTPAGE
Lloh31:
	ldr	x9, [x9, _IEEE80211_TX_CTL_AMPDU@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	ldr	x10, [x21, #16]
	mov	w11, #24
	mul	x11, x20, x11
	ldr	x10, [x10, x11]
	tst	w9, w8
Lloh33:
	adrp	x8, _IWL_AGG_ON@GOTPAGE
Lloh34:
	ldr	x8, [x8, _IWL_AGG_ON@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	ccmp	x10, x8, #4, ne
	cset	w0, ne
	stp	x10, x20, [sp]
Lloh36:
	adrp	x1, l_.str.1@PAGE
Lloh37:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_WARN_ONCE
	cbnz	x0, LBB0_25
; %bb.19:
	ldr	x8, [x21, #16]
	mov	w9, #24
	madd	x8, x20, x9, x8
	ldr	x8, [x8, #8]
Lloh38:
	adrp	x9, _IEEE80211_SCTL_SEQ@GOTPAGE
Lloh39:
	ldr	x9, [x9, _IEEE80211_SCTL_SEQ@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	and	x8, x9, x8
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	mov	x0, x19
	bl	_iwl_mvm_has_new_tx_api
	cbnz	w0, LBB0_12
; %bb.20:
	ldr	x8, [x25]
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
Lloh41:
	adrp	x8, _IEEE80211_SCTL_FRAG@GOTPAGE
Lloh42:
	ldr	x8, [x8, _IEEE80211_SCTL_FRAG@GOTPAGEOFF]
Lloh43:
	ldr	x0, [x8]
	bl	_cpu_to_le16
	ldr	w8, [x27]
	and	w8, w8, w0
	str	w8, [x27]
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_cpu_to_le16
	ldr	w8, [x27]
	orr	w8, w8, w0
	str	w8, [x27]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	x9, [x9]
	str	w8, [x9]
	b	LBB0_12
LBB0_21:
	mov	w0, #0
LBB0_22:
	bl	_unlikely
	cbz	x0, LBB0_24
; %bb.23:
	add	x0, x19, #4
	bl	_schedule_work
LBB0_24:
	ldr	x26, [x21]
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_IEEE80211_SEQ_TO_SN
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x23]
	stp	x0, x8, [sp, #8]
	str	x27, [sp]
Lloh44:
	adrp	x1, l_.str.3@PAGE
Lloh45:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x26
	mov	x3, x20
	bl	_IWL_DEBUG_TX
	mov	x0, x23
	mov	x1, x25
	bl	_iwl_mvm_skb_prepare_status
	ldr	w0, [x19]
	mov	x1, x23
	mov	x2, x25
	mov	x3, x27
	bl	_iwl_trans_tx
	cbz	x0, LBB0_29
LBB0_25:
	ldr	w0, [x19]
	mov	x1, x25
	bl	_iwl_trans_free_tx_cmd
	mov	x0, x24
	bl	_spin_unlock
LBB0_26:
	ldr	x2, [x21]
Lloh46:
	adrp	x1, l_.str.4@PAGE
Lloh47:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x3, x20
	bl	_IWL_DEBUG_TX
LBB0_27:
	mov	w0, #-1
LBB0_28:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_29:
	ldr	x8, [x28]
	cmp	x20, x8
	b.hs	LBB0_32
; %bb.30:
	mov	x0, x22
	bl	_ieee80211_has_morefrags
	cbnz	w0, LBB0_32
; %bb.31:
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x8, x8, #16
	ldr	x9, [x21, #16]
	mov	w10, #24
	madd	x9, x20, x10, x9
	str	x8, [x9, #8]
LBB0_32:
	mov	x0, x24
	bl	_spin_unlock
	ldr	x8, [x28]
	cmp	x20, x8
	csel	x2, xzr, x20, eq
	mov	x0, x19
	mov	x1, x21
	bl	_iwl_mvm_tx_pkt_queued
	cbnz	x0, LBB0_26
	b	LBB0_28
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_MAX_TID_COUNT,8,3          ; @IWL_MAX_TID_COUNT
	.comm	_IWL_MVM_NON_TRANSMITTING_AP,8,3 ; @IWL_MVM_NON_TRANSMITTING_AP
	.comm	_IWL_MVM_INVALID_STA,8,3        ; @IWL_MVM_INVALID_STA
	.comm	_IEEE80211_TX_STATUS_EOSP,4,2   ; @IEEE80211_TX_STATUS_EOSP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid TID %d"

	.comm	_IEEE80211_TX_CTL_AMPDU,4,2     ; @IEEE80211_TX_CTL_AMPDU
	.comm	_IWL_AGG_ON,8,3                 ; @IWL_AGG_ON
l_.str.1:                               ; @.str.1
	.asciz	"Invalid internal agg state %d for TID %d"

	.comm	_IEEE80211_SCTL_SEQ,8,3         ; @IEEE80211_SCTL_SEQ
	.comm	_IEEE80211_SCTL_FRAG,8,3        ; @IEEE80211_SCTL_FRAG
	.comm	_IWL_TID_NON_QOS,8,3            ; @IWL_TID_NON_QOS
	.comm	_IEEE80211_TX_CTL_SEND_AFTER_DTIM,4,2 ; @IEEE80211_TX_CTL_SEND_AFTER_DTIM
	.comm	_IWL_MVM_INVALID_QUEUE,8,3      ; @IWL_MVM_INVALID_QUEUE
l_.str.2:                               ; @.str.2
	.asciz	"Invalid TXQ id"

	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_IWL_MVM_QUEUE_SHARED,8,3       ; @IWL_MVM_QUEUE_SHARED
l_.str.3:                               ; @.str.3
	.asciz	"TX to [%d|%d] Q:%d - seq: 0x%x len %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"TX to [%d|%d] dropped\n"

	.no_dead_strip	_iwl_mvm_tx_mpdu
.subsections_via_symbols
