	.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:
	cmpl	$3, %edi
	ja	LBB0_8
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_BACKLIGHT_ALPHAS@GOTPCREL(%rip), %rcx
	movq	_PORTB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	jmp	LBB0_3
LBB0_4:
	movq	_BACKLIGHT_ALPHAS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	_PORTB@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
LBB0_3:
	movq	_BACKLIGHT_MODNUM@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_7
LBB0_5:
	movq	_BACKLIGHT_ALPHAS@GOTPCREL(%rip), %rax
	movq	_PORTB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_BACKLIGHT_MODNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	jmp	LBB0_7
LBB0_6:
	movq	_BACKLIGHT_ALPHAS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_BACKLIGHT_MODNUM@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_PORTB@GOTPCREL(%rip), %rcx
	notl	%eax
	andl	(%rcx), %eax
LBB0_7:
	movq	_PORTB@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
LBB0_8:
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_BACKLIGHT_ALPHAS,4,2           ## @BACKLIGHT_ALPHAS
	.comm	_PORTB,4,2                      ## @PORTB
	.comm	_BACKLIGHT_MODNUM,4,2           ## @BACKLIGHT_MODNUM
.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:
	cmp	w0, #3
	b.hi	LBB0_8
; %bb.1:
	mov	w8, w0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
Lloh2:
	adrp	x8, _PORTB@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PORTB@GOTPAGEOFF]
	br	x10
LBB0_2:
Lloh4:
	adrp	x9, _BACKLIGHT_ALPHAS@GOTPAGE
Lloh5:
	ldr	x9, [x9, _BACKLIGHT_ALPHAS@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	ldr	w10, [x8]
	orr	w9, w10, w9
	b	LBB0_4
LBB0_3:
Lloh7:
	adrp	x9, _BACKLIGHT_ALPHAS@GOTPAGE
Lloh8:
	ldr	x9, [x9, _BACKLIGHT_ALPHAS@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	ldr	w10, [x8]
	bic	w9, w10, w9
LBB0_4:
Lloh10:
	adrp	x10, _BACKLIGHT_MODNUM@GOTPAGE
Lloh11:
	ldr	x10, [x10, _BACKLIGHT_MODNUM@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	orr	w9, w10, w9
	b	LBB0_7
LBB0_5:
Lloh13:
	adrp	x9, _BACKLIGHT_ALPHAS@GOTPAGE
Lloh14:
	ldr	x9, [x9, _BACKLIGHT_ALPHAS@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	ldr	w10, [x8]
	orr	w9, w10, w9
Lloh16:
	adrp	x10, _BACKLIGHT_MODNUM@GOTPAGE
Lloh17:
	ldr	x10, [x10, _BACKLIGHT_MODNUM@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	bic	w9, w9, w10
	b	LBB0_7
LBB0_6:
Lloh19:
	adrp	x9, _BACKLIGHT_ALPHAS@GOTPAGE
Lloh20:
	ldr	x9, [x9, _BACKLIGHT_ALPHAS@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	ldr	w10, [x8]
Lloh22:
	adrp	x11, _BACKLIGHT_MODNUM@GOTPAGE
Lloh23:
	ldr	x11, [x11, _BACKLIGHT_MODNUM@GOTPAGEOFF]
Lloh24:
	ldr	w11, [x11]
	orr	w9, w9, w11
	bic	w9, w10, w9
LBB0_7:
	str	w9, [x8]
LBB0_8:
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_BACKLIGHT_ALPHAS,4,2           ; @BACKLIGHT_ALPHAS
	.comm	_PORTB,4,2                      ; @PORTB
	.comm	_BACKLIGHT_MODNUM,4,2           ; @BACKLIGHT_MODNUM
.subsections_via_symbols
