	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_backlight_set                  ## -- Begin function backlight_set
	.p2align	4, 0x90
_backlight_set:                         ## @backlight_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PORTD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_PORTB@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	andl	$-129, %esi
	movl	%esi, (%rdx)
	andl	$-81, %ecx
	jmp	LBB0_3
LBB0_1:
	orl	$128, %esi
	movl	%esi, (%rdx)
	orl	$80, %ecx
LBB0_3:
	movl	%ecx, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PORTD,4,2                      ## @PORTD
	.comm	_PORTB,4,2                      ## @PORTB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_backlight_set                  ; -- Begin function backlight_set
	.p2align	2
_backlight_set:                         ; @backlight_set
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PORTD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PORTD@GOTPAGEOFF]
	ldr	w9, [x8]
Lloh2:
	adrp	x10, _PORTB@GOTPAGE
Lloh3:
	ldr	x10, [x10, _PORTB@GOTPAGEOFF]
	ldr	w11, [x10]
	cbz	x0, LBB0_2
; %bb.1:
	and	w11, w11, #0xffffff7f
	str	w11, [x10]
	mov	w10, #-81
	and	w9, w9, w10
	str	w9, [x8]
	ret
LBB0_2:
	orr	w11, w11, #0x80
	str	w11, [x10]
	mov	w10, #80
	orr	w9, w9, w10
	str	w9, [x8]
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PORTD,4,2                      ; @PORTD
	.comm	_PORTB,4,2                      ; @PORTB
.subsections_via_symbols
