	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_rx_missed_beacons_notif ## -- Begin function iwl_mvm_rx_missed_beacons_notif
	.p2align	4, 0x90
_iwl_mvm_rx_missed_beacons_notif:       ## @iwl_mvm_rx_missed_beacons_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_rxb_addr
	movq	(%rax), %r14
	movl	16(%r14), %edi
	callq	_le32_to_cpu
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	16(%r14), %edi
	callq	_le32_to_cpu
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	4(%r14), %edi
	callq	_le32_to_cpu
	movq	%rax, %r13
	movl	(%r14), %edi
	callq	_le32_to_cpu
	movq	%rax, %rbx
	movl	12(%r14), %edi
	callq	_le32_to_cpu
	movq	%rax, %r12
	movl	8(%r14), %edi
	callq	_le32_to_cpu
	movq	%rax, (%rsp)
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rcx
	movq	%rbx, %r8
	movq	%r12, %r9
	callq	_IWL_DEBUG_INFO
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	%r15, %r12
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	$1, %edx
	callq	_iwl_mvm_rcu_dereference_vif_id
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %r13
	movl	4(%r14), %edi
	callq	_le32_to_cpu
	movq	%rax, %r15
	movl	(%r14), %edi
	callq	_le32_to_cpu
	movq	_IWL_MVM_MISSED_BEACONS_THRESHOLD_LONG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r15
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_iwl_mvm_connection_loss
	jmp	LBB0_5
LBB0_3:
	movq	_IWL_MVM_MISSED_BEACONS_THRESHOLD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_5
## %bb.4:
	movq	%r13, %rdi
	callq	_ieee80211_beacon_loss
LBB0_5:
	movq	_IWL_FW_INI_TIME_POINT_MISSED_BEACONS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rbx
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_iwl_dbg_tlv_time_point
	movq	%r13, %rdi
	callq	_ieee80211_vif_to_wdev
	movq	_FW_DBG_TRIGGER_MISSED_BEACONS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_iwl_fw_dbg_trigger_on
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	%rax, %r14
	movq	(%rax), %rbx
	movl	4(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, %r13
	movl	(%rbx), %edi
	callq	_le32_to_cpu
	cmpq	%rax, -48(%rbp)                 ## 8-byte Folded Reload
	jge	LBB0_8
## %bb.7:
	cmpq	%r13, %r15
	jl	LBB0_9
LBB0_8:
	movq	%r12, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_iwl_fw_dbg_collect_trig
LBB0_9:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rcu_read_unlock                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"missed bcn mac_id=%u, consecutive=%u (%u, %u, %u)\n"

	.comm	_IWL_MVM_MISSED_BEACONS_THRESHOLD_LONG,8,3 ## @IWL_MVM_MISSED_BEACONS_THRESHOLD_LONG
L_.str.1:                               ## @.str.1
	.asciz	"missed beacons"

	.comm	_IWL_MVM_MISSED_BEACONS_THRESHOLD,8,3 ## @IWL_MVM_MISSED_BEACONS_THRESHOLD
	.comm	_IWL_FW_INI_TIME_POINT_MISSED_BEACONS,4,2 ## @IWL_FW_INI_TIME_POINT_MISSED_BEACONS
	.comm	_FW_DBG_TRIGGER_MISSED_BEACONS,4,2 ## @FW_DBG_TRIGGER_MISSED_BEACONS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_rx_missed_beacons_notif ; -- Begin function iwl_mvm_rx_missed_beacons_notif
	.p2align	2
_iwl_mvm_rx_missed_beacons_notif:       ; @iwl_mvm_rx_missed_beacons_notif
	.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, x0
	mov	x0, x1
	bl	_rxb_addr
	ldr	x25, [x0]
	ldr	w0, [x25, #16]
	bl	_le32_to_cpu
	mov	x20, x0
	ldr	w0, [x25, #16]
	bl	_le32_to_cpu
	mov	x21, x0
	ldr	w0, [x25, #4]
	bl	_le32_to_cpu
	mov	x22, x0
	ldr	w0, [x25]
	bl	_le32_to_cpu
	mov	x23, x0
	ldr	w0, [x25, #12]
	bl	_le32_to_cpu
	mov	x24, x0
	ldr	w0, [x25, #8]
	bl	_le32_to_cpu
	mov	x6, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	bl	_IWL_DEBUG_INFO
	bl	_rcu_read_lock
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	bl	_iwl_mvm_rcu_dereference_vif_id
	cbz	x0, LBB0_8
; %bb.1:
	mov	x22, x0
	ldr	w0, [x25, #4]
	bl	_le32_to_cpu
	mov	x20, x0
	ldr	w0, [x25]
	bl	_le32_to_cpu
	mov	x21, x0
Lloh2:
	adrp	x8, _IWL_MVM_MISSED_BEACONS_THRESHOLD_LONG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IWL_MVM_MISSED_BEACONS_THRESHOLD_LONG@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x20, x8
	b.le	LBB0_3
; %bb.2:
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	bl	_iwl_mvm_connection_loss
	b	LBB0_5
LBB0_3:
Lloh7:
	adrp	x8, _IWL_MVM_MISSED_BEACONS_THRESHOLD@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IWL_MVM_MISSED_BEACONS_THRESHOLD@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x21, x8
	b.le	LBB0_5
; %bb.4:
	mov	x0, x22
	bl	_ieee80211_beacon_loss
LBB0_5:
Lloh10:
	adrp	x8, _IWL_FW_INI_TIME_POINT_MISSED_BEACONS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IWL_FW_INI_TIME_POINT_MISSED_BEACONS@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_iwl_dbg_tlv_time_point
	mov	x0, x22
	bl	_ieee80211_vif_to_wdev
	mov	x1, x0
Lloh13:
	adrp	x8, _FW_DBG_TRIGGER_MISSED_BEACONS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FW_DBG_TRIGGER_MISSED_BEACONS@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_iwl_fw_dbg_trigger_on
	cbz	x0, LBB0_8
; %bb.6:
	mov	x22, x0
	ldr	x24, [x0]
	ldr	w0, [x24, #4]
	bl	_le32_to_cpu
	mov	x23, x0
	ldr	w0, [x24]
	bl	_le32_to_cpu
	cmp	x21, x0
	ccmp	x20, x23, #0, lt
	b.lt	LBB0_8
; %bb.7:
	mov	x0, x19
	mov	x1, x22
	mov	x2, #0
	bl	_iwl_fw_dbg_collect_trig
LBB0_8:
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"missed bcn mac_id=%u, consecutive=%u (%u, %u, %u)\n"

	.comm	_IWL_MVM_MISSED_BEACONS_THRESHOLD_LONG,8,3 ; @IWL_MVM_MISSED_BEACONS_THRESHOLD_LONG
l_.str.1:                               ; @.str.1
	.asciz	"missed beacons"

	.comm	_IWL_MVM_MISSED_BEACONS_THRESHOLD,8,3 ; @IWL_MVM_MISSED_BEACONS_THRESHOLD
	.comm	_IWL_FW_INI_TIME_POINT_MISSED_BEACONS,4,2 ; @IWL_FW_INI_TIME_POINT_MISSED_BEACONS
	.comm	_FW_DBG_TRIGGER_MISSED_BEACONS,4,2 ; @FW_DBG_TRIGGER_MISSED_BEACONS
.subsections_via_symbols
