	.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
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	movq	_F_ROW_MASK@GOTPCREL(%rip), %rax
	movq	_B1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	callq	_writePinHigh
	jmp	LBB0_3
LBB0_2:
	callq	_writePinLow
LBB0_3:
	movq	_WASD_MASK@GOTPCREL(%rip), %rax
	movq	_B2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testl	%ebx, (%rax)
	je	LBB0_5
## %bb.4:
	callq	_writePinLow
	movq	_B3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_writePinLow
	movq	_B4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_writePinLow
	movq	_D7@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_writePinLow                    ## TAILCALL
LBB0_5:
	callq	_writePinHigh
	movq	_B3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_writePinHigh
	movq	_B4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_writePinHigh
	movq	_D7@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_writePinHigh                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_F_ROW_MASK,4,2                 ## @F_ROW_MASK
	.comm	_B1,4,2                         ## @B1
	.comm	_WASD_MASK,4,2                  ## @WASD_MASK
	.comm	_B2,4,2                         ## @B2
	.comm	_B3,4,2                         ## @B3
	.comm	_B4,4,2                         ## @B4
	.comm	_D7,4,2                         ## @D7
.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:
	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
	mov	x19, x0
Lloh0:
	adrp	x8, _F_ROW_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _F_ROW_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _B1@GOTPAGE
Lloh4:
	ldr	x9, [x9, _B1@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x9]
	tst	w8, w19
	b.eq	LBB0_2
; %bb.1:
	bl	_writePinHigh
	b	LBB0_3
LBB0_2:
	bl	_writePinLow
LBB0_3:
Lloh6:
	adrp	x8, _WASD_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WASD_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _B2@GOTPAGE
Lloh10:
	ldr	x9, [x9, _B2@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x9]
	tst	w8, w19
	b.eq	LBB0_5
; %bb.4:
	bl	_writePinLow
Lloh12:
	adrp	x8, _B3@GOTPAGE
Lloh13:
	ldr	x8, [x8, _B3@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_writePinLow
Lloh15:
	adrp	x8, _B4@GOTPAGE
Lloh16:
	ldr	x8, [x8, _B4@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_writePinLow
Lloh18:
	adrp	x8, _D7@GOTPAGE
Lloh19:
	ldr	x8, [x8, _D7@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writePinLow
LBB0_5:
	bl	_writePinHigh
Lloh21:
	adrp	x8, _B3@GOTPAGE
Lloh22:
	ldr	x8, [x8, _B3@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_writePinHigh
Lloh24:
	adrp	x8, _B4@GOTPAGE
Lloh25:
	ldr	x8, [x8, _B4@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_writePinHigh
Lloh27:
	adrp	x8, _D7@GOTPAGE
Lloh28:
	ldr	x8, [x8, _D7@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writePinHigh
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_F_ROW_MASK,4,2                 ; @F_ROW_MASK
	.comm	_B1,4,2                         ; @B1
	.comm	_WASD_MASK,4,2                  ; @WASD_MASK
	.comm	_B2,4,2                         ; @B2
	.comm	_B3,4,2                         ; @B3
	.comm	_B4,4,2                         ; @B4
	.comm	_D7,4,2                         ; @D7
.subsections_via_symbols
