	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asus_wmi_dev_is_present
_asus_wmi_dev_is_present:               ## @asus_wmi_dev_is_present
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	leaq	-4(%rbp), %rdx
	callq	_asus_wmi_get_devstate
	testl	%eax, %eax
	sete	%al
	movq	_ASUS_WMI_DSTS_PRESENCE_BIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	-4(%rbp), %ecx
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASUS_WMI_DSTS_PRESENCE_BIT,4,2 ## @ASUS_WMI_DSTS_PRESENCE_BIT
	.no_dead_strip	_asus_wmi_dev_is_present
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asus_wmi_dev_is_present
_asus_wmi_dev_is_present:               ; @asus_wmi_dev_is_present
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	sub	x2, x29, #4
	bl	_asus_wmi_get_devstate
Lloh0:
	adrp	x8, _ASUS_WMI_DSTS_PRESENCE_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASUS_WMI_DSTS_PRESENCE_BIT@GOTPAGEOFF]
	ldur	w9, [x29, #-4]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w9
	ccmp	w0, #0, #0, ne
	cset	w0, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ASUS_WMI_DSTS_PRESENCE_BIT,4,2 ; @ASUS_WMI_DSTS_PRESENCE_BIT
	.no_dead_strip	_asus_wmi_dev_is_present
.subsections_via_symbols
