	.file	"extr_alienware-wmi.c_show_deepsleep_status.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"[disabled] s5 s5_s4\n"
.LC1:
	.string	"disabled [s5] s5_s4\n"
.LC2:
	.string	"disabled s5 [s5_s4]\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"alienware-wmi: unknown deep sleep status: %d\n"
	.section	.rodata.str1.1
.LC4:
	.string	"disabled s5 s5_s4 [unknown]\n"
	.text
	.p2align 4
	.type	show_deepsleep_status, @function
show_deepsleep_status:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR WMAX_METHOD_DEEP_SLEEP_STATUS[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rdi, 4[rsp]
	mov	rdx, rsp
	mov	DWORD PTR 4[rsp], 0
	call	alienware_wmax_command@PLT
	mov	edi, eax
	mov	ebp, eax
	call	ACPI_SUCCESS@PLT
	test	rax, rax
	je	.L2
	mov	eax, DWORD PTR [rsp]
	test	eax, eax
	je	.L12
	cmp	eax, 1
	je	.L13
	cmp	eax, 2
	je	.L14
.L2:
	mov	esi, ebp
	lea	rdi, .LC3[rip]
	call	pr_err@PLT
	mov	esi, DWORD PTR PAGE_SIZE[rip]
	lea	rdx, .LC4[rip]
	mov	rdi, r12
	call	scnprintf@PLT
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L15
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	esi, DWORD PTR PAGE_SIZE[rip]
	lea	rdx, .LC1[rip]
	mov	rdi, r12
	call	scnprintf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	esi, DWORD PTR PAGE_SIZE[rip]
	lea	rdx, .LC2[rip]
	mov	rdi, r12
	call	scnprintf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	esi, DWORD PTR PAGE_SIZE[rip]
	lea	rdx, .LC0[rip]
	mov	rdi, r12
	call	scnprintf@PLT
	jmp	.L1
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	show_deepsleep_status, .-show_deepsleep_status
	.comm	WMAX_METHOD_DEEP_SLEEP_STATUS,4,4
	.comm	PAGE_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_alienware-wmi.c_show_deepsleep_status.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"[disabled] s5 s5_s4\012\000"
	.align	2
.LC1:
	.ascii	"disabled [s5] s5_s4\012\000"
	.align	2
.LC2:
	.ascii	"disabled s5 [s5_s4]\012\000"
	.align	2
.LC3:
	.ascii	"alienware-wmi: unknown deep sleep status: %d\012\000"
	.align	2
.LC4:
	.ascii	"disabled s5 s5_s4 [unknown]\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_deepsleep_status, %function
show_deepsleep_status:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, lr}
	ldr	r1, .L16
	sub	sp, sp, #20
	ldr	ip, .L16+4
	ldr	r1, [r1]
	mov	r5, r2
	add	r0, sp, #8
	add	r2, sp, #4
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	str	r3, [sp, #8]
	bl	alienware_wmax_command
	mov	r4, r0
	bl	ACPI_SUCCESS
	cmp	r0, #0
	beq	.L2
	ldr	r3, [sp, #4]
	cmp	r3, #0
	beq	.L12
	cmp	r3, #1
	beq	.L13
	cmp	r3, #2
	beq	.L14
.L2:
	mov	r1, r4
	ldr	r0, .L16+8
	bl	pr_err
	ldr	r3, .L16+12
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L16+16
	bl	scnprintf
.L1:
	ldr	r3, .L16+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L13:
	ldr	r3, .L16+12
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L16+20
	bl	scnprintf
	b	.L1
.L14:
	ldr	r3, .L16+12
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L16+24
	bl	scnprintf
	b	.L1
.L12:
	ldr	r3, .L16+12
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L16+28
	bl	scnprintf
	b	.L1
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	WMAX_METHOD_DEEP_SLEEP_STATUS
	.word	.LC5
	.word	.LC3
	.word	PAGE_SIZE
	.word	.LC4
	.word	.LC1
	.word	.LC2
	.word	.LC0
	.size	show_deepsleep_status, .-show_deepsleep_status
	.comm	WMAX_METHOD_DEEP_SLEEP_STATUS,4,4
	.comm	PAGE_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
