	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function iwl_mvm_restart_cleanup
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_iwl_mvm_restart_cleanup:               ## @iwl_mvm_restart_cleanup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_iwl_mvm_stop_device
	movq	$0, (%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 64(%rbx)
	movq	%rbx, %rdi
	callq	_iwl_mvm_cleanup_roc_te
	movl	32(%rbx), %edi
	callq	_ieee80211_remain_on_channel_expired
	movq	%rbx, %rdi
	callq	_iwl_mvm_ftm_restart
	movl	32(%rbx), %edi
	movq	_iwl_mvm_cleanup_iterator@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	movq	%rbx, %rcx
	callq	_ieee80211_iterate_interfaces
	movq	$0, 56(%rbx)
	movq	%rbx, %rdi
	callq	_iwl_mvm_reset_phy_ctxts
	movq	48(%rbx), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	leaq	40(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	36(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	32(%rbx), %edi
	callq	_ieee80211_wake_queues
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movq	_FW_DBG_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movl	$0, 8(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_iwl_mvm_accu_radio_stats       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_iwl_mvm_cleanup_iterator,4,2   ## @iwl_mvm_cleanup_iterator
	.comm	_FW_DBG_INVALID,4,2             ## @FW_DBG_INVALID
	.no_dead_strip	_iwl_mvm_restart_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_restart_cleanup
_iwl_mvm_restart_cleanup:               ; @iwl_mvm_restart_cleanup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_iwl_mvm_stop_device
	str	xzr, [x19]
	stp	xzr, xzr, [x19, #64]
	mov	x0, x19
	bl	_iwl_mvm_cleanup_roc_te
	ldr	w0, [x19, #32]
	bl	_ieee80211_remain_on_channel_expired
	mov	x0, x19
	bl	_iwl_mvm_ftm_restart
	ldr	w0, [x19, #32]
Lloh0:
	adrp	x8, _iwl_mvm_cleanup_iterator@GOTPAGE
Lloh1:
	ldr	x8, [x8, _iwl_mvm_cleanup_iterator@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #0
	mov	x3, x19
	bl	_ieee80211_iterate_interfaces
	str	xzr, [x19, #56]
	mov	x0, x19
	bl	_iwl_mvm_reset_phy_ctxts
	ldr	x0, [x19, #48]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	add	x0, x19, #40
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x0, x19, #36
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x19, #32]
	bl	_ieee80211_wake_queues
	stp	xzr, xzr, [x19, #16]
Lloh3:
	adrp	x8, _FW_DBG_INVALID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FW_DBG_INVALID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	wzr, w8, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_iwl_mvm_accu_radio_stats
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_iwl_mvm_cleanup_iterator,4,2   ; @iwl_mvm_cleanup_iterator
	.comm	_FW_DBG_INVALID,4,2             ; @FW_DBG_INVALID
	.no_dead_strip	_iwl_mvm_restart_cleanup
.subsections_via_symbols
