	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_sys_wmi
_store_sys_wmi:                         ## @store_sys_wmi
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, %ebx
	callq	_asus_wmi_get_devstate_simple
	movl	%eax, -28(%rbp)
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	leaq	-28(%rbp), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_kstrtoint
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movl	-28(%rbp), %esi
	leaq	-32(%rbp), %rdx
	movl	%ebx, %edi
	callq	_asus_wmi_set_devstate
	testl	%eax, %eax
	cmovsl	%eax, %r14d
	movl	%r14d, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_store_sys_wmi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_sys_wmi
_store_sys_wmi:                         ; @store_sys_wmi
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	bl	_asus_wmi_get_devstate_simple
	str	w0, [sp, #8]
	tbnz	w0, #31, LBB0_3
; %bb.1:
	add	x2, sp, #8
	mov	x0, x21
	mov	w1, #0
	bl	_kstrtoint
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	w1, [sp, #8]
	add	x2, sp, #12
	mov	x0, x20
	bl	_asus_wmi_set_devstate
	cmp	w0, #0
	csel	w0, w0, w19, lt
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_store_sys_wmi
.subsections_via_symbols
