	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_level
_set_level:                             ## @set_level
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %ebx
	movq	%rdi, %r15
	leal	-128(%rbx), %eax
	cmpl	$2, %eax
	ja	LBB0_2
## %bb.1:
	cltq
	leaq	l_switch.table.set_level(%rip), %rcx
	movq	(%rcx,%rax,8), %rcx
	leaq	l_switch.table.set_level.1(%rip), %rdx
	movl	(%rdx,%rax,4), %edx
	movl	(%rcx), %esi
	movq	%r15, %rdi
	movl	%r14d, %ecx
	callq	_set_code
LBB0_2:
	movq	(%r15), %rax
	movslq	%ebx, %rcx
	movl	%r14d, (%rax,%rcx,4)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCA6507_MAX_INTENSITY,4,2      ## @TCA6507_MAX_INTENSITY
	.comm	_TCA6507_MASTER_INTENSITY,4,2   ## @TCA6507_MASTER_INTENSITY
	.no_dead_strip	_set_level
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.set_level
l_switch.table.set_level:
	.quad	_TCA6507_MASTER_INTENSITY
	.quad	_TCA6507_MAX_INTENSITY
	.quad	_TCA6507_MAX_INTENSITY

	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.set_level.1
l_switch.table.set_level.1:
	.long	0                               ## 0x0
	.long	129                             ## 0x81
	.long	130                             ## 0x82

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_level
_set_level:                             ; @set_level
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	sub	w8, w1, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.set_level@PAGE
Lloh1:
	add	x9, x9, l_switch.table.set_level@PAGEOFF
	ldr	x9, [x9, w8, sxtw #3]
Lloh2:
	adrp	x10, l_switch.table.set_level.1@PAGE
Lloh3:
	add	x10, x10, l_switch.table.set_level.1@PAGEOFF
	ldr	w2, [x10, w8, sxtw #2]
	ldr	w1, [x9]
	mov	x0, x21
	mov	x3, x19
	bl	_set_code
LBB0_2:
	ldr	x8, [x21]
	str	w19, [x8, w20, sxtw #2]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TCA6507_MAX_INTENSITY,4,2      ; @TCA6507_MAX_INTENSITY
	.comm	_TCA6507_MASTER_INTENSITY,4,2   ; @TCA6507_MASTER_INTENSITY
	.no_dead_strip	_set_level
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.set_level
l_switch.table.set_level:
	.quad	_TCA6507_MASTER_INTENSITY
	.quad	_TCA6507_MAX_INTENSITY
	.quad	_TCA6507_MAX_INTENSITY

	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.set_level.1
l_switch.table.set_level.1:
	.long	0                               ; 0x0
	.long	129                             ; 0x81
	.long	130                             ; 0x82

.subsections_via_symbols
