	.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:
	movl	%edi, %esi
	cmpl	$6, %edi
	ja	LBB0_12
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_BL_RED@GOTPCREL(%rip), %rax
	movl	$65535, (%rax)                  ## imm = 0xFFFF
	jmp	LBB0_3
LBB0_12:
	leaq	L_.str(%rip), %rdi
	jmp	_xprintf                        ## TAILCALL
LBB0_5:
	movq	_BL_RED@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_3:
	movq	_BL_GREEN@GOTPCREL(%rip), %rax
	movl	$65535, (%rax)                  ## imm = 0xFFFF
	jmp	LBB0_4
LBB0_6:
	movq	_BL_RED@GOTPCREL(%rip), %rax
	movl	$65535, (%rax)                  ## imm = 0xFFFF
	jmp	LBB0_7
LBB0_8:
	movq	_BL_RED@GOTPCREL(%rip), %rax
	movl	$65535, (%rax)                  ## imm = 0xFFFF
	jmp	LBB0_9
LBB0_13:
	movq	_BL_RED@GOTPCREL(%rip), %rax
	movl	$16384, (%rax)                  ## imm = 0x4000
	movq	_BL_GREEN@GOTPCREL(%rip), %rax
	movl	$16384, (%rax)                  ## imm = 0x4000
	movq	_BL_BLUE@GOTPCREL(%rip), %rax
	movl	$16384, (%rax)                  ## imm = 0x4000
	popq	%rbp
	retq
LBB0_10:
	movq	_BL_RED@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_9:
	movq	_BL_GREEN@GOTPCREL(%rip), %rax
	movl	$65535, (%rax)                  ## imm = 0xFFFF
	movq	_BL_BLUE@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	popq	%rbp
	retq
LBB0_11:
	movq	_BL_RED@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_7:
	movq	_BL_GREEN@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_4:
	movq	_BL_BLUE@GOTPCREL(%rip), %rax
	movl	$65535, (%rax)                  ## imm = 0xFFFF
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_13
	.long	L0_0_set_10
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_BL_RED,4,2                     ## @BL_RED
	.comm	_BL_GREEN,4,2                   ## @BL_GREEN
	.comm	_BL_BLUE,4,2                    ## @BL_BLUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown level: %d\n"

.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:
	mov	x1, x0
	cmp	w0, #6
	b.hi	LBB0_3
; %bb.1:
	mov	w8, w1
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
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _BL_RED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BL_RED@GOTPAGEOFF]
	mov	w9, #65535
	b	LBB0_8
LBB0_3:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	b	_xprintf
LBB0_4:
Lloh6:
	adrp	x8, _BL_RED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BL_RED@GOTPAGEOFF]
Lloh8:
	adrp	x9, _BL_GREEN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BL_GREEN@GOTPAGEOFF]
Lloh10:
	str	wzr, [x8]
	mov	w8, #65535
Lloh11:
	str	w8, [x9]
Lloh12:
	adrp	x9, _BL_BLUE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BL_BLUE@GOTPAGEOFF]
Lloh14:
	str	w8, [x9]
	ret
LBB0_5:
Lloh15:
	adrp	x8, _BL_RED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BL_RED@GOTPAGEOFF]
	mov	w9, #65535
Lloh17:
	str	w9, [x8]
Lloh18:
	adrp	x8, _BL_GREEN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BL_GREEN@GOTPAGEOFF]
Lloh20:
	str	wzr, [x8]
	b	LBB0_9
LBB0_6:
Lloh21:
	adrp	x8, _BL_RED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BL_RED@GOTPAGEOFF]
	mov	w9, #65535
Lloh23:
	str	w9, [x8]
Lloh24:
	adrp	x8, _BL_GREEN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BL_GREEN@GOTPAGEOFF]
Lloh26:
	str	w9, [x8]
	b	LBB0_11
LBB0_7:
Lloh27:
	adrp	x8, _BL_RED@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BL_RED@GOTPAGEOFF]
	mov	w9, #16384
LBB0_8:
	str	w9, [x8]
Lloh29:
	adrp	x8, _BL_GREEN@GOTPAGE
Lloh30:
	ldr	x8, [x8, _BL_GREEN@GOTPAGEOFF]
Lloh31:
	str	w9, [x8]
LBB0_9:
Lloh32:
	adrp	x8, _BL_BLUE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _BL_BLUE@GOTPAGEOFF]
Lloh34:
	str	w9, [x8]
	ret
LBB0_10:
Lloh35:
	adrp	x8, _BL_RED@GOTPAGE
Lloh36:
	ldr	x8, [x8, _BL_RED@GOTPAGEOFF]
Lloh37:
	adrp	x9, _BL_GREEN@GOTPAGE
Lloh38:
	ldr	x9, [x9, _BL_GREEN@GOTPAGEOFF]
Lloh39:
	str	wzr, [x8]
	mov	w8, #65535
Lloh40:
	str	w8, [x9]
LBB0_11:
Lloh41:
	adrp	x8, _BL_BLUE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _BL_BLUE@GOTPAGEOFF]
Lloh43:
	str	wzr, [x8]
	ret
LBB0_12:
Lloh44:
	adrp	x8, _BL_RED@GOTPAGE
Lloh45:
	ldr	x8, [x8, _BL_RED@GOTPAGEOFF]
Lloh46:
	adrp	x9, _BL_GREEN@GOTPAGE
Lloh47:
	ldr	x9, [x9, _BL_GREEN@GOTPAGEOFF]
Lloh48:
	str	wzr, [x8]
Lloh49:
	str	wzr, [x9]
Lloh50:
	adrp	x8, _BL_BLUE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _BL_BLUE@GOTPAGEOFF]
	mov	w9, #65535
Lloh52:
	str	w9, [x8]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotStr	Lloh37, Lloh38, Lloh40
	.loh AdrpLdrGotStr	Lloh35, Lloh36, Lloh39
	.loh AdrpLdrGotStr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotStr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotStr	Lloh46, Lloh47, Lloh49
	.loh AdrpLdrGotStr	Lloh44, Lloh45, Lloh48
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
                                        ; -- End function
	.comm	_BL_RED,4,2                     ; @BL_RED
	.comm	_BL_GREEN,4,2                   ; @BL_GREEN
	.comm	_BL_BLUE,4,2                    ; @BL_BLUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown level: %d\n"

.subsections_via_symbols
