	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_channel_switch_noa_notif ## -- Begin function iwl_mvm_channel_switch_noa_notif
	.p2align	4, 0x90
_iwl_mvm_channel_switch_noa_notif:      ## @iwl_mvm_channel_switch_noa_notif
	.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	%rdi, %r14
	movq	%rsi, %rdi
	callq	_rxb_addr
	movq	(%rax), %rbx
	movq	%rax, %rdi
	callq	_iwl_rx_packet_payload_len
	xorl	%edi, %edi
	cmpl	$4, %eax
	setb	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_15
## %bb.1:
	movl	(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, %r15
	movq	_FW_CTXT_ID_MSK@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	andq	%r15, %rbx
	movq	_NUM_MAC_INDEX_DRIVER@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %rbx
	setae	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	je	LBB0_2
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	16(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_rcu_dereference
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_iwl_mvm_vif_from_mac80211
	movq	%rax, %r12
	movl	(%r13), %eax
	cmpl	$128, %eax
	je	LBB0_10
## %bb.3:
	cmpl	$129, %eax
	jne	LBB0_13
## %bb.4:
	movl	8(%r14), %edi
	callq	_rcu_dereference
	movq	%rax, %rbx
	movl	$1, %edi
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	cmpl	$0, 8(%rbx)
	je	LBB0_7
## %bb.6:
	xorl	%edi, %edi
	cmpq	%r13, %rbx
	setne	%dil
LBB0_7:
	callq	_WARN_ON
	testl	%eax, %eax
	jne	LBB0_14
## %bb.8:
	movl	4(%r12), %esi
	movl	8(%r12), %edi
	callq	_FW_CMD_ID_AND_COLOR
	xorl	%edi, %edi
	cmpq	%r15, %rax
	setne	%dil
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdx
	movq	%r15, %rcx
	callq	_WARN
	testl	%eax, %eax
	jne	LBB0_14
## %bb.9:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_IWL_DEBUG_INFO
	leaq	12(%r14), %r15
	movq	_IWL_MVM_CS_UNBLOCK_TX_TIMEOUT@GOTPCREL(%rip), %rax
	movl	4(%rbx), %edi
	imull	(%rax), %edi
	callq	_msecs_to_jiffies
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_schedule_delayed_work
	movq	%rbx, %rdi
	callq	_ieee80211_csa_finish
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movl	8(%r14), %edi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RCU_INIT_POINTER               ## TAILCALL
LBB0_10:
	movq	(%r14), %rdi
	movq	_IWL_UCODE_TLV_CAPA_CHANNEL_SWITCH_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_fw_has_capa
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_iwl_mvm_csa_client_absent
LBB0_12:
	movq	%r12, %rdi
	callq	_cancel_delayed_work
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_ieee80211_chswitch_done
	jmp	LBB0_14
LBB0_13:
	movl	$1, %edi
	callq	_WARN_ON_ONCE
LBB0_14:
	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	_FW_CTXT_ID_MSK,8,3             ## @FW_CTXT_ID_MSK
	.comm	_NUM_MAC_INDEX_DRIVER,8,3       ## @NUM_MAC_INDEX_DRIVER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"channel switch noa notification on unexpected vif (csa_vif=%d, notif=%d)"

L_.str.1:                               ## @.str.1
	.asciz	"Channel Switch Started Notification\n"

	.comm	_IWL_MVM_CS_UNBLOCK_TX_TIMEOUT,4,2 ## @IWL_MVM_CS_UNBLOCK_TX_TIMEOUT
	.comm	_IWL_UCODE_TLV_CAPA_CHANNEL_SWITCH_CMD,4,2 ## @IWL_UCODE_TLV_CAPA_CHANNEL_SWITCH_CMD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_channel_switch_noa_notif ; -- Begin function iwl_mvm_channel_switch_noa_notif
	.p2align	2
_iwl_mvm_channel_switch_noa_notif:      ; @iwl_mvm_channel_switch_noa_notif
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	mov	x0, x1
	bl	_rxb_addr
	ldr	x20, [x0]
	bl	_iwl_rx_packet_payload_len
	cmp	w0, #4
	cset	w0, lo
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x20]
	bl	_le32_to_cpu
	mov	x20, x0
Lloh0:
	adrp	x8, _FW_CTXT_ID_MSK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_CTXT_ID_MSK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	and	x21, x8, x0
Lloh3:
	adrp	x8, _NUM_MAC_INDEX_DRIVER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NUM_MAC_INDEX_DRIVER@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x21, x8
	cset	w0, hs
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	bl	_rcu_read_lock
	ldr	x8, [x19, #16]
	ldr	w0, [x8, x21, lsl #2]
	bl	_rcu_dereference
	mov	x23, x0
	bl	_iwl_mvm_vif_from_mac80211
	mov	x22, x0
	ldr	w8, [x23]
	cmp	w8, #128
	b.eq	LBB0_8
; %bb.4:
	cmp	w8, #129
	b.ne	LBB0_11
; %bb.5:
	ldr	w0, [x19, #8]
	bl	_rcu_dereference
	mov	x21, x0
	cbz	x0, LBB0_12
; %bb.6:
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_12
; %bb.7:
	cmp	x21, x23
	cset	w0, ne
	b	LBB0_13
LBB0_8:
	ldr	x0, [x19]
Lloh6:
	adrp	x8, _IWL_UCODE_TLV_CAPA_CHANNEL_SWITCH_CMD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IWL_UCODE_TLV_CAPA_CHANNEL_SWITCH_CMD@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_fw_has_capa
	cbnz	w0, LBB0_10
; %bb.9:
	mov	x0, x19
	mov	x1, x23
	bl	_iwl_mvm_csa_client_absent
LBB0_10:
	mov	x0, x22
	bl	_cancel_delayed_work
	mov	x0, x23
	mov	w1, #1
	bl	_ieee80211_chswitch_done
	b	LBB0_15
LBB0_11:
	mov	w0, #1
	bl	_WARN_ON_ONCE
	b	LBB0_15
LBB0_12:
	mov	w0, #1
LBB0_13:
	bl	_WARN_ON
	cbnz	w0, LBB0_15
; %bb.14:
	ldp	w1, w0, [x22, #4]
	bl	_FW_CMD_ID_AND_COLOR
	mov	x2, x0
	cmp	x0, x20
	cset	w0, ne
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x20
	bl	_WARN
	cbz	w0, LBB0_16
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rcu_read_unlock
LBB0_16:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_INFO
	add	x20, x19, #12
Lloh13:
	adrp	x8, _IWL_MVM_CS_UNBLOCK_TX_TIMEOUT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IWL_MVM_CS_UNBLOCK_TX_TIMEOUT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x21, #4]
	mul	w0, w9, w8
	bl	_msecs_to_jiffies
	mov	x1, x0
	mov	x0, x20
	bl	_schedule_delayed_work
	mov	x0, x21
	bl	_ieee80211_csa_finish
	bl	_rcu_read_unlock
	ldr	w0, [x19, #8]
	mov	x1, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_RCU_INIT_POINTER
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_CTXT_ID_MSK,8,3             ; @FW_CTXT_ID_MSK
	.comm	_NUM_MAC_INDEX_DRIVER,8,3       ; @NUM_MAC_INDEX_DRIVER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"channel switch noa notification on unexpected vif (csa_vif=%d, notif=%d)"

l_.str.1:                               ; @.str.1
	.asciz	"Channel Switch Started Notification\n"

	.comm	_IWL_MVM_CS_UNBLOCK_TX_TIMEOUT,4,2 ; @IWL_MVM_CS_UNBLOCK_TX_TIMEOUT
	.comm	_IWL_UCODE_TLV_CAPA_CHANNEL_SWITCH_CMD,4,2 ; @IWL_UCODE_TLV_CAPA_CHANNEL_SWITCH_CMD
.subsections_via_symbols
