	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_mac_itxq_xmit          ## -- Begin function iwl_mvm_mac_itxq_xmit
	.p2align	4, 0x90
_iwl_mvm_mac_itxq_xmit:                 ## @iwl_mvm_mac_itxq_xmit
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_IWL_MAC80211_GET_MVM
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_iwl_mvm_txq_from_mac80211
	movq	%rax, %r12
	leaq	4(%rax), %r13
	movq	%r13, %rdi
	movl	$1, %esi
	movl	$2, %edx
	callq	_atomic_fetch_add_unless
	testq	%rax, %rax
	je	LBB0_1
## %bb.14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_atomic_dec_return
	testq	%rax, %rax
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r12)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	_IWL_PLAT_PM_MODE_DISABLED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%al
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%al, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ieee80211_tx_dequeue
	movq	(%rbx), %rdx
	testq	%rax, %rax
	je	LBB0_7
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%rax, %rsi
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	callq	_iwl_mvm_tx_skb
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rdx), %edx
	movl	8(%rbx), %ecx
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_IWL_DEBUG_TX
	jmp	LBB0_9
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_iwl_mvm_tx_skb_non_sta
	jmp	LBB0_2
LBB0_10:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rcu_read_unlock                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_PLAT_PM_MODE_DISABLED,8,3  ## @IWL_PLAT_PM_MODE_DISABLED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TXQ of sta %pM tid %d is now empty\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_mac_itxq_xmit          ; -- Begin function iwl_mvm_mac_itxq_xmit
	.p2align	2
_iwl_mvm_mac_itxq_xmit:                 ; @iwl_mvm_mac_itxq_xmit
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_IWL_MAC80211_GET_MVM
	mov	x21, x0
	mov	x0, x19
	bl	_iwl_mvm_txq_from_mac80211
	mov	x22, x0
	add	x23, x0, #4
	mov	x0, x23
	mov	w1, #1
	mov	w2, #2
	bl	_atomic_fetch_add_unless
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	_rcu_read_lock
Lloh0:
	adrp	x25, _IWL_PLAT_PM_MODE_DISABLED@GOTPAGE
Lloh1:
	ldr	x25, [x25, _IWL_PLAT_PM_MODE_DISABLED@GOTPAGEOFF]
Lloh2:
	adrp	x24, l_.str@PAGE
Lloh3:
	add	x24, x24, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_atomic_dec_return
	cbz	x0, LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	cbz	w8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #0
	bl	_likely
	cbnz	x0, LBB0_7
	b	LBB0_3
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x9, [x25]
	cmp	x8, x9
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_ieee80211_tx_dequeue
	ldr	x2, [x19]
	cbz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x0
	mov	x0, x21
	cbz	x2, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_iwl_mvm_tx_skb
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x2, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x2]
	ldr	w3, [x19, #8]
	mov	x0, x21
	mov	x1, x24
	bl	_IWL_DEBUG_TX
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_iwl_mvm_tx_skb_non_sta
	b	LBB0_4
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_rcu_read_unlock
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_PLAT_PM_MODE_DISABLED,8,3  ; @IWL_PLAT_PM_MODE_DISABLED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TXQ of sta %pM tid %d is now empty\n"

.subsections_via_symbols
