	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_backlight_state
_set_backlight_state:                   ## @set_backlight_state
	.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
	testl	%edi, %edi
	jne	LBB0_1
## %bb.2:
	movq	_BACKLIGHT_STATE_OFF_DATA@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_BACKLIGHT_STATE_ON_DATA@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	movq	_BACKLIGHT_STATE_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-4(%rbp), %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_ec_transaction
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BACKLIGHT_STATE_ON_DATA,4,2    ## @BACKLIGHT_STATE_ON_DATA
	.comm	_BACKLIGHT_STATE_OFF_DATA,4,2   ## @BACKLIGHT_STATE_OFF_DATA
	.comm	_BACKLIGHT_STATE_ADDR,4,2       ## @BACKLIGHT_STATE_ADDR
	.no_dead_strip	_set_backlight_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_backlight_state
_set_backlight_state:                   ; @set_backlight_state
	.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
Lloh0:
	adrp	x8, _BACKLIGHT_STATE_ON_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BACKLIGHT_STATE_ON_DATA@GOTPAGEOFF]
Lloh2:
	adrp	x9, _BACKLIGHT_STATE_OFF_DATA@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BACKLIGHT_STATE_OFF_DATA@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	stur	w8, [x29, #-4]
Lloh4:
	adrp	x8, _BACKLIGHT_STATE_ADDR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BACKLIGHT_STATE_ADDR@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	sub	x1, x29, #4
	mov	w2, #1
	mov	x3, #0
	mov	w4, #0
	bl	_ec_transaction
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BACKLIGHT_STATE_ON_DATA,4,2    ; @BACKLIGHT_STATE_ON_DATA
	.comm	_BACKLIGHT_STATE_OFF_DATA,4,2   ; @BACKLIGHT_STATE_OFF_DATA
	.comm	_BACKLIGHT_STATE_ADDR,4,2       ; @BACKLIGHT_STATE_ADDR
	.no_dead_strip	_set_backlight_state
.subsections_via_symbols
