	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_switch_to_d3
_iwl_mvm_switch_to_d3:                  ## @iwl_mvm_switch_to_d3
	.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
	movq	_IWL_MVM_SCAN_REGULAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_iwl_mvm_scan_stop
	movq	%rbx, %rdi
	callq	_iwl_mvm_stop_device
	movq	_IWL_MVM_STATUS_IN_HW_RESTART@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	20(%rbx), %rsi
	callq	_set_bit
	movl	16(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_iwl_mvm_load_d3_fw             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_MVM_SCAN_REGULAR,4,2       ## @IWL_MVM_SCAN_REGULAR
	.comm	_IWL_MVM_STATUS_IN_HW_RESTART,4,2 ## @IWL_MVM_STATUS_IN_HW_RESTART
	.no_dead_strip	_iwl_mvm_switch_to_d3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_switch_to_d3
_iwl_mvm_switch_to_d3:                  ; @iwl_mvm_switch_to_d3
	.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
Lloh0:
	adrp	x8, _IWL_MVM_SCAN_REGULAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_MVM_SCAN_REGULAR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_iwl_mvm_scan_stop
	mov	x0, x19
	bl	_iwl_mvm_stop_device
Lloh3:
	adrp	x8, _IWL_MVM_STATUS_IN_HW_RESTART@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IWL_MVM_STATUS_IN_HW_RESTART@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, x19, #20
	bl	_set_bit
	ldr	w0, [x19, #16]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	stp	xzr, xzr, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_iwl_mvm_load_d3_fw
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_MVM_SCAN_REGULAR,4,2       ; @IWL_MVM_SCAN_REGULAR
	.comm	_IWL_MVM_STATUS_IN_HW_RESTART,4,2 ; @IWL_MVM_STATUS_IN_HW_RESTART
	.no_dead_strip	_iwl_mvm_switch_to_d3
.subsections_via_symbols
