	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_te_handle_notif
_iwl_mvm_te_handle_notif:               ## @iwl_mvm_te_handle_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	addq	$8, %rdi
	callq	_lockdep_assert_held
	movl	(%r12), %edi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	movl	4(%r12), %edi
	callq	_le32_to_cpu
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_IWL_DEBUG_TE
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_iwl_mvm_te_check_trigger
	movl	8(%r12), %edi
	callq	_le32_to_cpu
	testl	%eax, %eax
	je	LBB0_1
LBB0_2:
	movl	4(%r12), %edi
	callq	_le32_to_cpu
	movq	_TE_V2_NOTIF_HOST_EVENT_END@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.3:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r14), %ecx
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_IWL_DEBUG_TE
	movq	16(%r14), %rsi
	movl	(%rsi), %eax
	cmpl	$128, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.5:
	movl	(%r15), %edi
	callq	_ieee80211_remain_on_channel_expired
	movq	_IWL_MVM_STATUS_NEED_FLUSH_P2P@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r15), %rsi
	callq	_set_bit
	movq	%r15, %rdi
	callq	_iwl_mvm_roc_finished
	jmp	LBB0_7
LBB0_1:
	movl	4(%r12), %ebx
	movq	_TE_V2_NOTIF_HOST_EVENT_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	testl	%ebx, %eax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rbx
	cmoveq	%rax, %rbx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_IWL_DEBUG_TE
	movq	16(%r14), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_iwl_mvm_te_check_disconnect
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_2
LBB0_8:
	movl	4(%r12), %edi
	callq	_le32_to_cpu
	movq	_TE_V2_NOTIF_HOST_EVENT_START@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.9:
	movl	$1, 4(%r14)
	movl	24(%r14), %edi
	callq	_TU_TO_EXP_TIME
	movl	%eax, (%r14)
	movq	16(%r14), %rax
	cmpl	$129, (%rax)
	jne	LBB0_10
## %bb.14:
	movq	_IWL_MVM_STATUS_ROC_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r15), %rsi
	callq	_set_bit
	movl	(%r15), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_ready_on_channel     ## TAILCALL
LBB0_6:
	leaq	L_.str.5(%rip), %rdx
	movq	%r15, %rdi
	callq	_iwl_mvm_te_check_disconnect
LBB0_7:
	movq	%r15, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iwl_mvm_te_clear_data          ## TAILCALL
LBB0_12:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IWL_WARN                       ## TAILCALL
LBB0_10:
	movq	8(%r14), %rax
	movq	_TE_CHANNEL_SWITCH_PERIOD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.11:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iwl_mvm_te_handle_notify_csa   ## TAILCALL
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Handle time event notif - UID = 0x%x action %d\n"

	.comm	_TE_V2_NOTIF_HOST_EVENT_START,4,2 ## @TE_V2_NOTIF_HOST_EVENT_START
L_.str.1:                               ## @.str.1
	.asciz	"Time Event start notification failure"

L_.str.2:                               ## @.str.2
	.asciz	"Time Event end notification failure"

L_.str.3:                               ## @.str.3
	.asciz	"%s\n"

	.comm	_TE_V2_NOTIF_HOST_EVENT_END,4,2 ## @TE_V2_NOTIF_HOST_EVENT_END
L_.str.4:                               ## @.str.4
	.asciz	"TE ended - current time %lu, estimated end %lu\n"

	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_IWL_MVM_STATUS_NEED_FLUSH_P2P,4,2 ## @IWL_MVM_STATUS_NEED_FLUSH_P2P
L_.str.5:                               ## @.str.5
	.asciz	"No beacon heard and the time event is over already..."

	.comm	_IWL_MVM_STATUS_ROC_RUNNING,4,2 ## @IWL_MVM_STATUS_ROC_RUNNING
	.comm	_TE_CHANNEL_SWITCH_PERIOD,8,3   ## @TE_CHANNEL_SWITCH_PERIOD
L_.str.6:                               ## @.str.6
	.asciz	"Got TE with unknown action\n"

	.no_dead_strip	_iwl_mvm_te_handle_notif
.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_notif
_iwl_mvm_te_handle_notif:               ; @iwl_mvm_te_handle_notif
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	add	x0, x0, #8
	bl	_lockdep_assert_held
	ldr	w0, [x21]
	bl	_le32_to_cpu
	mov	x22, x0
	ldr	w0, [x21, #4]
	bl	_le32_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_TE
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_iwl_mvm_te_check_trigger
	ldr	w0, [x21, #8]
	bl	_le32_to_cpu
	cbz	w0, LBB0_5
LBB0_1:
	ldr	w0, [x21, #4]
	bl	_le32_to_cpu
Lloh2:
	adrp	x8, _TE_V2_NOTIF_HOST_EVENT_END@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TE_V2_NOTIF_HOST_EVENT_END@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.2:
Lloh5:
	adrp	x8, _jiffies@GOTPAGE
Lloh6:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x20]
	stp	x8, x9, [sp]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_TE
	ldr	x1, [x20, #16]
	ldr	w8, [x1]
	cmp	w8, #128
	b.eq	LBB0_9
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_10
; %bb.4:
	mov	x21, x19
	ldr	w0, [x21], #4
	bl	_ieee80211_remain_on_channel_expired
Lloh10:
	adrp	x8, _IWL_MVM_STATUS_NEED_FLUSH_P2P@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IWL_MVM_STATUS_NEED_FLUSH_P2P@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_set_bit
	mov	x0, x19
	bl	_iwl_mvm_roc_finished
	b	LBB0_10
LBB0_5:
	ldr	w22, [x21, #4]
Lloh13:
	adrp	x8, _TE_V2_NOTIF_HOST_EVENT_START@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TE_V2_NOTIF_HOST_EVENT_START@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_cpu_to_le32
Lloh16:
	adrp	x8, l_.str.1@PAGE
Lloh17:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh18:
	adrp	x9, l_.str.2@PAGE
Lloh19:
	add	x9, x9, l_.str.2@PAGEOFF
	tst	w0, w22
	csel	x22, x9, x8, eq
	str	x22, [sp]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_TE
	ldr	x1, [x20, #16]
	mov	x0, x19
	mov	x2, x22
	bl	_iwl_mvm_te_check_disconnect
	cbnz	x0, LBB0_10
	b	LBB0_1
LBB0_6:
	ldr	w0, [x21, #4]
	bl	_le32_to_cpu
Lloh22:
	adrp	x8, _TE_V2_NOTIF_HOST_EVENT_START@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TE_V2_NOTIF_HOST_EVENT_START@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.7:
	mov	w8, #1
	str	w8, [x20, #4]
	ldr	w0, [x20, #24]
	bl	_TU_TO_EXP_TIME
	str	w0, [x20]
	ldr	x8, [x20, #16]
	ldr	w8, [x8]
	cmp	w8, #129
	b.ne	LBB0_12
; %bb.8:
Lloh25:
	adrp	x8, _IWL_MVM_STATUS_ROC_RUNNING@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IWL_MVM_STATUS_ROC_RUNNING@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_set_bit
	ldr	w0, [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
	add	sp, sp, #64
	b	_ieee80211_ready_on_channel
LBB0_9:
Lloh28:
	adrp	x2, l_.str.5@PAGE
Lloh29:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_iwl_mvm_te_check_disconnect
LBB0_10:
	mov	x0, x19
	mov	x1, x20
	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
	add	sp, sp, #64
	b	_iwl_mvm_te_clear_data
LBB0_11:
Lloh30:
	adrp	x1, l_.str.6@PAGE
Lloh31:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, 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
	add	sp, sp, #64
	b	_IWL_WARN
LBB0_12:
	ldr	x8, [x20, #8]
Lloh32:
	adrp	x9, _TE_CHANNEL_SWITCH_PERIOD@GOTPAGE
Lloh33:
	ldr	x9, [x9, _TE_CHANNEL_SWITCH_PERIOD@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	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
	add	sp, sp, #64
	b	_iwl_mvm_te_handle_notify_csa
LBB0_14:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Handle time event notif - UID = 0x%x action %d\n"

	.comm	_TE_V2_NOTIF_HOST_EVENT_START,4,2 ; @TE_V2_NOTIF_HOST_EVENT_START
l_.str.1:                               ; @.str.1
	.asciz	"Time Event start notification failure"

l_.str.2:                               ; @.str.2
	.asciz	"Time Event end notification failure"

l_.str.3:                               ; @.str.3
	.asciz	"%s\n"

	.comm	_TE_V2_NOTIF_HOST_EVENT_END,4,2 ; @TE_V2_NOTIF_HOST_EVENT_END
l_.str.4:                               ; @.str.4
	.asciz	"TE ended - current time %lu, estimated end %lu\n"

	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_IWL_MVM_STATUS_NEED_FLUSH_P2P,4,2 ; @IWL_MVM_STATUS_NEED_FLUSH_P2P
l_.str.5:                               ; @.str.5
	.asciz	"No beacon heard and the time event is over already..."

	.comm	_IWL_MVM_STATUS_ROC_RUNNING,4,2 ; @IWL_MVM_STATUS_ROC_RUNNING
	.comm	_TE_CHANNEL_SWITCH_PERIOD,8,3   ; @TE_CHANNEL_SWITCH_PERIOD
l_.str.6:                               ; @.str.6
	.asciz	"Got TE with unknown action\n"

	.no_dead_strip	_iwl_mvm_te_handle_notif
.subsections_via_symbols
