	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_backlight_level                ## -- Begin function backlight_level
	.p2align	4, 0x90
_backlight_level:                       ## @backlight_level
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_BACKLIGHT_LEVELS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rdi, %rax
	cmovlq	%rax, %rdi
	movq	_backlight_config@GOTPCREL(%rip), %rbx
	movq	%rdi, 8(%rbx)
	xorl	%eax, %eax
	testq	%rdi, %rdi
	setne	%al
	movl	%eax, (%rbx)
	movl	16(%rbx), %edi
	callq	_eeconfig_update_backlight
	movq	8(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_backlight_set                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BACKLIGHT_LEVELS,8,3           ## @BACKLIGHT_LEVELS
	.comm	_backlight_config,24,3          ## @backlight_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_backlight_level                ; -- Begin function backlight_level
	.p2align	2
_backlight_level:                       ; @backlight_level
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _BACKLIGHT_LEVELS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BACKLIGHT_LEVELS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x19, _backlight_config@GOTPAGE
Lloh4:
	ldr	x19, [x19, _backlight_config@GOTPAGEOFF]
	cmp	x8, x0
	csel	x8, x8, x0, lt
	str	x8, [x19, #8]
	cmp	x8, #0
	cset	w8, ne
	str	w8, [x19]
	ldr	w0, [x19, #16]
	bl	_eeconfig_update_backlight
	ldr	x0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_backlight_set
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BACKLIGHT_LEVELS,8,3           ; @BACKLIGHT_LEVELS
	.comm	_backlight_config,24,3          ; @backlight_config
.subsections_via_symbols
