	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_deepsleep_status
_show_deepsleep_status:                 ## @show_deepsleep_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movl	$0, -24(%rbp)
	movq	_WMAX_METHOD_DEEP_SLEEP_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdi
	leaq	-28(%rbp), %rdx
	callq	_alienware_wmax_command
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movslq	-28(%rbp), %rax
	cmpq	$3, %rax
	jae	LBB0_2
## %bb.3:
	leaq	l_reltable.show_deepsleep_status(%rip), %rcx
	movslq	(%rcx,%rax,4), %rdx
	addq	%rcx, %rdx
	jmp	LBB0_4
LBB0_2:
	leaq	L_.str.3(%rip), %rdi
	movl	%ebx, %esi
	callq	_pr_err
	leaq	L_.str.4(%rip), %rdx
LBB0_4:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_scnprintf
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WMAX_METHOD_DEEP_SLEEP_STATUS,4,2 ## @WMAX_METHOD_DEEP_SLEEP_STATUS
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[disabled] s5 s5_s4\n"

L_.str.1:                               ## @.str.1
	.asciz	"disabled [s5] s5_s4\n"

L_.str.2:                               ## @.str.2
	.asciz	"disabled s5 [s5_s4]\n"

L_.str.3:                               ## @.str.3
	.asciz	"alienware-wmi: unknown deep sleep status: %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"disabled s5 s5_s4 [unknown]\n"

	.no_dead_strip	_show_deepsleep_status
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.show_deepsleep_status
l_reltable.show_deepsleep_status:
	.long	L_.str-l_reltable.show_deepsleep_status
	.long	L_.str.1-l_reltable.show_deepsleep_status
	.long	L_.str.2-l_reltable.show_deepsleep_status

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_deepsleep_status
_show_deepsleep_status:                 ; @show_deepsleep_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	str	wzr, [sp, #8]
Lloh0:
	adrp	x8, _WMAX_METHOD_DEEP_SLEEP_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WMAX_METHOD_DEEP_SLEEP_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	add	x2, sp, #12
	bl	_alienware_wmax_command
	mov	x20, x0
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_3
; %bb.1:
	ldrsw	x8, [sp, #12]
	cmp	w8, #3
	b.hs	LBB0_3
; %bb.2:
Lloh3:
	adrp	x9, l_switch.table.show_deepsleep_status@PAGE
Lloh4:
	add	x9, x9, l_switch.table.show_deepsleep_status@PAGEOFF
	ldr	x2, [x9, x8, lsl #3]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x0, l_.str.3@PAGE
Lloh6:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	bl	_pr_err
Lloh7:
	adrp	x2, l_.str.4@PAGE
Lloh8:
	add	x2, x2, l_.str.4@PAGEOFF
LBB0_4:
Lloh9:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_scnprintf
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_WMAX_METHOD_DEEP_SLEEP_STATUS,4,2 ; @WMAX_METHOD_DEEP_SLEEP_STATUS
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[disabled] s5 s5_s4\n"

l_.str.1:                               ; @.str.1
	.asciz	"disabled [s5] s5_s4\n"

l_.str.2:                               ; @.str.2
	.asciz	"disabled s5 [s5_s4]\n"

l_.str.3:                               ; @.str.3
	.asciz	"alienware-wmi: unknown deep sleep status: %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"disabled s5 s5_s4 [unknown]\n"

	.no_dead_strip	_show_deepsleep_status
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.show_deepsleep_status
l_switch.table.show_deepsleep_status:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2

.subsections_via_symbols
