	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_backlight_step                 ## -- Begin function backlight_step
	.p2align	4, 0x90
_backlight_step:                        ## @backlight_step
	.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_config@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	leaq	1(%rax), %rcx
	movq	_BACKLIGHT_LEVELS@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	cmpq	(%rdx), %rax
	cmovlq	%rcx, %rsi
	movq	%rsi, (%rbx)
	xorl	%eax, %eax
	testq	%rsi, %rsi
	setne	%al
	movl	%eax, 8(%rbx)
	movl	12(%rbx), %edi
	callq	_eeconfig_update_backlight
	movq	(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_dprintf
	movq	(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_backlight_set                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_backlight_config,16,3          ## @backlight_config
	.comm	_BACKLIGHT_LEVELS,8,3           ## @BACKLIGHT_LEVELS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"backlight step: %u\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_backlight_step                 ; -- Begin function backlight_step
	.p2align	2
_backlight_step:                        ; @backlight_step
	.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	x19, _backlight_config@GOTPAGE
Lloh1:
	ldr	x19, [x19, _backlight_config@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _BACKLIGHT_LEVELS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BACKLIGHT_LEVELS@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	csinc	x8, xzr, x8, ge
	str	x8, [x19]
	cmp	x8, #0
	cset	w8, ne
	str	w8, [x19, #8]
	ldr	w0, [x19, #12]
	bl	_eeconfig_update_backlight
	ldr	x1, [x19]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintf
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_backlight_set
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_backlight_config,16,3          ; @backlight_config
	.comm	_BACKLIGHT_LEVELS,8,3           ; @BACKLIGHT_LEVELS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"backlight step: %u\n"

.subsections_via_symbols
