	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_custom_backlight_level         ## -- Begin function custom_backlight_level
	.p2align	4, 0x90
_custom_backlight_level:                ## @custom_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
	movq	_BACKLIGHT_LEVELS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rdi, %rax
	cmovlq	%rax, %rdi
	movq	_backlight_config@GOTPCREL(%rip), %rax
	movq	%rdi, 8(%rax)
	xorl	%ecx, %ecx
	testq	%rdi, %rdi
	setne	%cl
	movl	%ecx, (%rax)
	popq	%rbp
	jmp	_backlight_set                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BACKLIGHT_LEVELS,8,3           ## @BACKLIGHT_LEVELS
	.comm	_backlight_config,16,3          ## @backlight_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_custom_backlight_level         ; -- Begin function custom_backlight_level
	.p2align	2
_custom_backlight_level:                ; @custom_backlight_level
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _BACKLIGHT_LEVELS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BACKLIGHT_LEVELS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _backlight_config@GOTPAGE
Lloh4:
	ldr	x9, [x9, _backlight_config@GOTPAGEOFF]
	cmp	x8, x0
	csel	x0, x8, x0, lt
	str	x0, [x9, #8]
	cmp	x0, #0
	cset	w8, ne
	str	w8, [x9]
	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,16,3          ; @backlight_config
.subsections_via_symbols
