	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_auto_brightness
_get_auto_brightness:                   ## @get_auto_brightness
	.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
	movl	$4, -8(%rbp)
	movq	_MSI_EC_COMMAND_LCD_LEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-8(%rbp), %rsi
	leaq	-4(%rbp), %rcx
	movl	$1, %edx
	movl	$1, %r8d
	callq	_ec_transaction
	movl	-4(%rbp), %ecx
	shrl	$3, %ecx
	andl	$1, %ecx
	testl	%eax, %eax
	cmovnsl	%ecx, %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSI_EC_COMMAND_LCD_LEVEL,4,2   ## @MSI_EC_COMMAND_LCD_LEVEL
	.no_dead_strip	_get_auto_brightness
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_auto_brightness
_get_auto_brightness:                   ; @get_auto_brightness
	.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
	mov	w8, #4
	stur	w8, [x29, #-4]
Lloh0:
	adrp	x8, _MSI_EC_COMMAND_LCD_LEVEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSI_EC_COMMAND_LCD_LEVEL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	sub	x1, x29, #4
	add	x3, sp, #8
	mov	w2, #1
	mov	w4, #1
	bl	_ec_transaction
	ldr	w8, [sp, #8]
	ubfx	w8, w8, #3, #1
	cmp	w0, #0
	csel	w0, w0, w8, lt
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSI_EC_COMMAND_LCD_LEVEL,4,2   ; @MSI_EC_COMMAND_LCD_LEVEL
	.no_dead_strip	_get_auto_brightness
.subsections_via_symbols
