	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_backlight_power
_read_backlight_power:                  ## @read_backlight_power
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	8(%rcx), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	cmpl	$0, (%rcx)
	sete	%al
	jmp	LBB0_3
LBB0_2:
	movq	_ASUS_WMI_DEVID_BACKLIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_asus_wmi_get_devstate_simple
LBB0_3:
	testl	%eax, %eax
	movq	_FB_BLANK_UNBLANK@GOTPCREL(%rip), %rcx
	cmoveq	_FB_BLANK_POWERDOWN@GOTPCREL(%rip), %rcx
	cmovnsl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASUS_WMI_DEVID_BACKLIGHT,4,2   ## @ASUS_WMI_DEVID_BACKLIGHT
	.comm	_FB_BLANK_UNBLANK,4,2           ## @FB_BLANK_UNBLANK
	.comm	_FB_BLANK_POWERDOWN,4,2         ## @FB_BLANK_POWERDOWN
	.no_dead_strip	_read_backlight_power
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_backlight_power
_read_backlight_power:                  ; @read_backlight_power
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
	ldr	x9, [x8, #8]
	ldr	x9, [x9]
	cbz	x9, LBB0_2
; %bb.1:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _ASUS_WMI_DEVID_BACKLIGHT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASUS_WMI_DEVID_BACKLIGHT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_asus_wmi_get_devstate_simple
LBB0_3:
Lloh3:
	adrp	x8, _FB_BLANK_UNBLANK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FB_BLANK_UNBLANK@GOTPAGEOFF]
Lloh5:
	adrp	x9, _FB_BLANK_POWERDOWN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _FB_BLANK_POWERDOWN@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	csel	w0, w0, w8, lt
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ASUS_WMI_DEVID_BACKLIGHT,4,2   ; @ASUS_WMI_DEVID_BACKLIGHT
	.comm	_FB_BLANK_UNBLANK,4,2           ; @FB_BLANK_UNBLANK
	.comm	_FB_BLANK_POWERDOWN,4,2         ; @FB_BLANK_POWERDOWN
	.no_dead_strip	_read_backlight_power
.subsections_via_symbols
