	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_mac_tx
_iwl_mvm_mac_tx:                        ## @iwl_mvm_mac_tx
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	callq	_IWL_MAC80211_GET_MVM
	movq	%rax, %r15
	movq	%rax, %r13
	movq	(%r14), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_IEEE80211_SKB_CB
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %r12
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_IEEE80211_SKB_CB
	movl	(%rax), %r14d
	movq	_IEEE80211_TX_CTL_TX_OFFCHAN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_iwl_mvm_is_radio_killed
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_IWL_DEBUG_DROP
	jmp	LBB0_2
LBB0_3:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	andl	%r14d, %ebx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_6
## %bb.4:
	movq	_IWL_MVM_STATUS_ROC_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %r15
	movq	%r15, %rsi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	_IWL_MVM_STATUS_ROC_AUX_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_2
LBB0_6:
	movl	%ebx, %r15d
	movq	8(%r12), %rax
	movq	(%rax), %rax
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_8
## %bb.7:
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
LBB0_8:
	movl	(%rbx), %edi
	callq	_ieee80211_is_mgmt
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	(%rbx), %edi
	callq	_ieee80211_is_bufferable_mmpdu
	testl	%eax, %eax
	je	LBB0_11
LBB0_10:
	testq	%r14, %r14
	je	LBB0_11
LBB0_16:
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_iwl_mvm_tx_skb
	testq	%rax, %rax
	jne	LBB0_2
	jmp	LBB0_19
LBB0_11:
	movq	8(%r12), %rdi
	movq	(%rdi), %rax
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.12:
	testl	%r15d, %r15d
	jne	LBB0_17
## %bb.13:
	callq	_iwl_mvm_vif_from_mac80211
	movl	(%rax), %edi
	callq	_READ_ONCE
	movq	_IWL_MVM_STATION_COUNT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_17
## %bb.14:
	movq	(%r13), %rcx
	movl	(%rcx,%rax,4), %edi
	callq	_rcu_dereference
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	jne	LBB0_2
## %bb.15:
	testq	%r14, %r14
	jne	LBB0_16
LBB0_17:
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_iwl_mvm_tx_skb_non_sta
	testq	%rax, %rax
	je	LBB0_19
LBB0_2:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_free_txskb           ## TAILCALL
LBB0_19:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_TX_CTL_TX_OFFCHAN,4,2 ## @IEEE80211_TX_CTL_TX_OFFCHAN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Dropping - RF/CT KILL\n"

	.comm	_IWL_MVM_STATUS_ROC_RUNNING,4,2 ## @IWL_MVM_STATUS_ROC_RUNNING
	.comm	_IWL_MVM_STATUS_ROC_AUX_RUNNING,4,2 ## @IWL_MVM_STATUS_ROC_AUX_RUNNING
	.comm	_NL80211_IFTYPE_AP,8,3          ## @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ## @NL80211_IFTYPE_ADHOC
	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.comm	_IWL_MVM_STATION_COUNT,8,3      ## @IWL_MVM_STATION_COUNT
	.no_dead_strip	_iwl_mvm_mac_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_mac_tx
_iwl_mvm_mac_tx:                        ; @iwl_mvm_mac_tx
	.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, x2
	mov	x22, x1
	mov	x20, x0
	bl	_IWL_MAC80211_GET_MVM
	mov	x21, x0
	ldr	x22, [x22]
	mov	x0, x19
	bl	_IEEE80211_SKB_CB
	mov	x23, x0
	ldr	x26, [x19]
	mov	x0, x19
	bl	_IEEE80211_SKB_CB
	ldr	w24, [x0]
Lloh0:
	adrp	x8, _IEEE80211_TX_CTL_TX_OFFCHAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_TX_CTL_TX_OFFCHAN@GOTPAGEOFF]
Lloh2:
	ldr	w25, [x8]
	mov	x0, x21
	bl	_iwl_mvm_is_radio_killed
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_IWL_DEBUG_DROP
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	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	_ieee80211_free_txskb
LBB0_3:
	ands	w25, w25, w24
	b.eq	LBB0_6
; %bb.4:
Lloh5:
	adrp	x8, _IWL_MVM_STATUS_ROC_RUNNING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IWL_MVM_STATUS_ROC_RUNNING@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x24, x21, #8
	mov	x1, x24
	bl	_test_bit
	cbnz	w0, LBB0_6
; %bb.5:
Lloh8:
	adrp	x8, _IWL_MVM_STATUS_ROC_AUX_RUNNING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IWL_MVM_STATUS_ROC_AUX_RUNNING@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_test_bit
	cbz	w0, LBB0_2
LBB0_6:
	ldr	x8, [x23, #8]
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _NL80211_IFTYPE_AP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
Lloh14:
	adrp	x10, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh15:
	ldr	x10, [x10, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_9
; %bb.7:
	ldr	w0, [x26]
	bl	_ieee80211_is_mgmt
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w0, [x26]
	bl	_ieee80211_is_bufferable_mmpdu
	cmp	w0, #0
	ccmp	x22, #0, #4, ne
	b.ne	LBB0_10
	b	LBB0_11
LBB0_9:
	cbz	x22, LBB0_11
LBB0_10:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_iwl_mvm_tx_skb
	cbnz	x0, LBB0_2
	b	LBB0_16
LBB0_11:
	ldr	x0, [x23, #8]
	ldr	x8, [x0]
Lloh17:
	adrp	x9, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh18:
	ldr	x9, [x9, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	ccmp	w25, #0, #0, eq
	b.ne	LBB0_15
; %bb.12:
	bl	_iwl_mvm_vif_from_mac80211
	ldr	w0, [x0]
	bl	_READ_ONCE
Lloh20:
	adrp	x8, _IWL_MVM_STATION_COUNT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IWL_MVM_STATION_COUNT@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x0, x8
	b.hs	LBB0_15
; %bb.13:
	ldr	x8, [x21]
	ldr	w0, [x8, x0, lsl #2]
	bl	_rcu_dereference
	mov	x22, x0
	bl	_IS_ERR_OR_NULL
	cbnz	x0, LBB0_2
; %bb.14:
	cbnz	x22, LBB0_10
LBB0_15:
	mov	x0, x21
	mov	x1, x19
	bl	_iwl_mvm_tx_skb_non_sta
	cbnz	x0, LBB0_2
LBB0_16:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_TX_CTL_TX_OFFCHAN,4,2 ; @IEEE80211_TX_CTL_TX_OFFCHAN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Dropping - RF/CT KILL\n"

	.comm	_IWL_MVM_STATUS_ROC_RUNNING,4,2 ; @IWL_MVM_STATUS_ROC_RUNNING
	.comm	_IWL_MVM_STATUS_ROC_AUX_RUNNING,4,2 ; @IWL_MVM_STATUS_ROC_AUX_RUNNING
	.comm	_NL80211_IFTYPE_AP,8,3          ; @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ; @NL80211_IFTYPE_ADHOC
	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.comm	_IWL_MVM_STATION_COUNT,8,3      ; @IWL_MVM_STATION_COUNT
	.no_dead_strip	_iwl_mvm_mac_tx
.subsections_via_symbols
