	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_check_rt_status
_iwl_mvm_check_rt_status:               ## @iwl_mvm_check_rt_status
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	(%rdi), %rdi
	movq	(%rdi), %rax
	movq	(%rax), %rsi
	leaq	-32(%rbp), %rdx
	movl	$16, %ecx
	callq	_iwl_trans_read_mem_bytes
	movq	-32(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	-24(%rbp), %rcx
	movq	_RF_KILL_INDICATOR_FOR_WOWLAN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.3:
	movl	$1, -16(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-16(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ieee80211_report_wowlan_wakeup
	movq	-32(%rbp), %rax
	jmp	LBB0_4
LBB0_1:
	xorl	%eax, %eax
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RF_KILL_INDICATOR_FOR_WOWLAN,8,3 ## @RF_KILL_INDICATOR_FOR_WOWLAN
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_iwl_mvm_check_rt_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_check_rt_status
_iwl_mvm_check_rt_status:               ; @iwl_mvm_check_rt_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	ldr	x0, [x0]
	ldr	x8, [x0]
	ldr	x1, [x8]
	add	x2, sp, #16
	mov	w3, #16
	bl	_iwl_trans_read_mem_bytes
	ldr	x0, [sp, #16]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [sp, #24]
Lloh0:
	adrp	x9, _RF_KILL_INDICATOR_FOR_WOWLAN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RF_KILL_INDICATOR_FOR_WOWLAN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [sp, #8]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_ieee80211_report_wowlan_wakeup
	ldr	x0, [sp, #16]
LBB0_3:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RF_KILL_INDICATOR_FOR_WOWLAN,8,3 ; @RF_KILL_INDICATOR_FOR_WOWLAN
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_iwl_mvm_check_rt_status
.subsections_via_symbols
