	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_te_handle_notify_csa
_iwl_mvm_te_handle_notify_csa:          ## @iwl_mvm_te_handle_notify_csa
	.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	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	(%rsi), %r13
	movq	%r13, %rdi
	callq	_iwl_mvm_vif_from_mac80211
	movq	%rax, %r15
	cmpl	$0, (%rbx)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_IWL_DEBUG_TE
LBB0_2:
	movq	(%r12), %rsi
	movl	(%rsi), %eax
	cmpl	$128, %eax
	je	LBB0_7
## %bb.3:
	cmpl	$129, %eax
	jne	LBB0_10
## %bb.4:
	cmpl	$0, (%rbx)
	jne	LBB0_6
## %bb.5:
	movl	$1, (%r15)
LBB0_6:
	movq	%r14, %rdi
	callq	_iwl_mvm_csa_noa_start
	jmp	LBB0_11
LBB0_7:
	cmpl	$0, (%rbx)
	je	LBB0_8
## %bb.9:
	movq	%r14, %rdi
	callq	_iwl_mvm_csa_client_absent
	addq	$4, %r15
	movq	%r15, %rdi
	callq	_cancel_delayed_work
	movq	(%r12), %rdi
	movl	$1, %esi
	callq	_ieee80211_chswitch_done
	jmp	LBB0_11
LBB0_10:
	movl	$1, %edi
	callq	_WARN_ON_ONCE
	jmp	LBB0_11
LBB0_8:
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_iwl_mvm_connection_loss
LBB0_11:
	movq	%r14, %rdi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iwl_mvm_te_clear_data          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CSA time event failed to start\n"

L_.str.1:                               ## @.str.1
	.asciz	"CSA TE failed to start"

	.no_dead_strip	_iwl_mvm_te_handle_notify_csa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_te_handle_notify_csa
_iwl_mvm_te_handle_notify_csa:          ; @iwl_mvm_te_handle_notify_csa
	.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	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x23, [x1]
	mov	x0, x23
	bl	_iwl_mvm_vif_from_mac80211
	mov	x21, x0
	ldr	w8, [x22]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_IWL_DEBUG_TE
LBB0_2:
	ldr	x1, [x19]
	ldr	w8, [x1]
	cmp	w8, #128
	b.eq	LBB0_7
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_9
; %bb.4:
	ldr	w8, [x22]
	cbnz	w8, LBB0_6
; %bb.5:
	mov	w8, #1
	str	w8, [x21]
LBB0_6:
	mov	x0, x20
	bl	_iwl_mvm_csa_noa_start
	b	LBB0_11
LBB0_7:
	ldr	w8, [x22]
	cbz	w8, LBB0_10
; %bb.8:
	mov	x0, x20
	bl	_iwl_mvm_csa_client_absent
	add	x0, x21, #4
	bl	_cancel_delayed_work
	ldr	x0, [x19]
	mov	w1, #1
	bl	_ieee80211_chswitch_done
	b	LBB0_11
LBB0_9:
	mov	w0, #1
	bl	_WARN_ON_ONCE
	b	LBB0_11
LBB0_10:
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	bl	_iwl_mvm_connection_loss
LBB0_11:
	mov	x0, x20
	mov	x1, x19
	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	_iwl_mvm_te_clear_data
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CSA time event failed to start\n"

l_.str.1:                               ; @.str.1
	.asciz	"CSA TE failed to start"

	.no_dead_strip	_iwl_mvm_te_handle_notify_csa
.subsections_via_symbols
