	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_layer_state_set_user           ## -- Begin function layer_state_set_user
	.p2align	4, 0x90
_layer_state_set_user:                  ## @layer_state_set_user
	.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
	xorl	%eax, %eax
	callq	_ergodox_board_led_off
	xorl	%eax, %eax
	callq	_ergodox_right_led_1_off
	xorl	%eax, %eax
	callq	_ergodox_right_led_2_off
	xorl	%eax, %eax
	callq	_ergodox_right_led_3_off
	movl	%ebx, %edi
	callq	_biton32
                                        ## kill: def $eax killed $eax def $rax
	leal	-3(%rax), %ecx
	cmpl	$4, %ecx
	ja	LBB0_1
## %bb.21:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_7:
	xorl	%eax, %eax
	callq	_ergodox_right_led_3_on
	movq	_user_config@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_20
## %bb.8:
	xorl	%eax, %eax
	callq	_rgblight_sethsv_noeeprom_blue
	jmp	LBB0_19
LBB0_1:
	cmpl	$129, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_17
## %bb.3:
	xorl	%eax, %eax
	callq	_ergodox_right_led_1_on
	movq	_user_config@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_20
## %bb.4:
	xorl	%eax, %eax
	callq	_rgblight_sethsv_noeeprom_red
	jmp	LBB0_19
LBB0_9:
	xorl	%eax, %eax
	callq	_ergodox_right_led_1_on
	xorl	%eax, %eax
	callq	_ergodox_right_led_2_on
	movq	_user_config@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_20
## %bb.10:
	xorl	%eax, %eax
	callq	_rgblight_sethsv_noeeprom_orange
	jmp	LBB0_19
LBB0_11:
	xorl	%eax, %eax
	callq	_ergodox_right_led_1_on
	xorl	%eax, %eax
	callq	_ergodox_right_led_3_on
	movq	_user_config@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_20
## %bb.12:
	xorl	%eax, %eax
	callq	_rgblight_sethsv_noeeprom_yellow
	jmp	LBB0_19
LBB0_13:
	xorl	%eax, %eax
	callq	_ergodox_right_led_2_on
	xorl	%eax, %eax
	callq	_ergodox_right_led_3_on
	movq	_user_config@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_20
## %bb.14:
	xorl	%eax, %eax
	callq	_rgblight_sethsv_noeeprom_pink
	jmp	LBB0_19
LBB0_15:
	xorl	%eax, %eax
	callq	_ergodox_right_led_1_on
	xorl	%eax, %eax
	callq	_ergodox_right_led_2_on
	xorl	%eax, %eax
	callq	_ergodox_right_led_3_on
	movq	_user_config@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_20
## %bb.16:
	xorl	%eax, %eax
	callq	_rgblight_sethsv_noeeprom_white
	jmp	LBB0_19
LBB0_5:
	xorl	%eax, %eax
	callq	_ergodox_right_led_2_on
	movq	_user_config@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_20
## %bb.6:
	xorl	%eax, %eax
	callq	_rgblight_sethsv_noeeprom_green
	jmp	LBB0_19
LBB0_17:
	movq	_user_config@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_20
## %bb.18:
	xorl	%eax, %eax
	callq	_rgblight_sethsv_noeeprom_cyan
LBB0_19:
	movl	$1, %edi
	callq	_rgblight_mode_noeeprom
LBB0_20:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_11
	.long	L0_0_set_13
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_user_config,4,2                ## @user_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_layer_state_set_user           ; -- Begin function layer_state_set_user
	.p2align	2
_layer_state_set_user:                  ; @layer_state_set_user
	.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
	bl	_ergodox_board_led_off
	bl	_ergodox_right_led_1_off
	bl	_ergodox_right_led_2_off
	bl	_ergodox_right_led_3_off
	mov	x0, x19
	bl	_biton32
	sub	w8, w0, #3
	cmp	w8, #4
	b.hi	LBB0_4
; %bb.1:
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:
	bl	_ergodox_right_led_3_on
Lloh2:
	adrp	x8, _user_config@GOTPAGE
Lloh3:
	ldr	x8, [x8, _user_config@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cbz	w8, LBB0_21
; %bb.3:
	bl	_rgblight_sethsv_noeeprom_blue
	b	LBB0_20
LBB0_4:
	cmp	w0, #129
	b.eq	LBB0_16
; %bb.5:
	cmp	w0, #128
	b.ne	LBB0_18
; %bb.6:
	bl	_ergodox_right_led_1_on
Lloh5:
	adrp	x8, _user_config@GOTPAGE
Lloh6:
	ldr	x8, [x8, _user_config@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cbz	w8, LBB0_21
; %bb.7:
	bl	_rgblight_sethsv_noeeprom_red
	b	LBB0_20
LBB0_8:
	bl	_ergodox_right_led_1_on
	bl	_ergodox_right_led_2_on
Lloh8:
	adrp	x8, _user_config@GOTPAGE
Lloh9:
	ldr	x8, [x8, _user_config@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cbz	w8, LBB0_21
; %bb.9:
	bl	_rgblight_sethsv_noeeprom_orange
	b	LBB0_20
LBB0_10:
	bl	_ergodox_right_led_1_on
	bl	_ergodox_right_led_3_on
Lloh11:
	adrp	x8, _user_config@GOTPAGE
Lloh12:
	ldr	x8, [x8, _user_config@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cbz	w8, LBB0_21
; %bb.11:
	bl	_rgblight_sethsv_noeeprom_yellow
	b	LBB0_20
LBB0_12:
	bl	_ergodox_right_led_2_on
	bl	_ergodox_right_led_3_on
Lloh14:
	adrp	x8, _user_config@GOTPAGE
Lloh15:
	ldr	x8, [x8, _user_config@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cbz	w8, LBB0_21
; %bb.13:
	bl	_rgblight_sethsv_noeeprom_pink
	b	LBB0_20
LBB0_14:
	bl	_ergodox_right_led_1_on
	bl	_ergodox_right_led_2_on
	bl	_ergodox_right_led_3_on
Lloh17:
	adrp	x8, _user_config@GOTPAGE
Lloh18:
	ldr	x8, [x8, _user_config@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cbz	w8, LBB0_21
; %bb.15:
	bl	_rgblight_sethsv_noeeprom_white
	b	LBB0_20
LBB0_16:
	bl	_ergodox_right_led_2_on
Lloh20:
	adrp	x8, _user_config@GOTPAGE
Lloh21:
	ldr	x8, [x8, _user_config@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cbz	w8, LBB0_21
; %bb.17:
	bl	_rgblight_sethsv_noeeprom_green
	b	LBB0_20
LBB0_18:
Lloh23:
	adrp	x8, _user_config@GOTPAGE
Lloh24:
	ldr	x8, [x8, _user_config@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	cbz	w8, LBB0_21
; %bb.19:
	bl	_rgblight_sethsv_noeeprom_cyan
LBB0_20:
	mov	w0, #1
	bl	_rgblight_mode_noeeprom
LBB0_21:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
                                        ; -- End function
	.comm	_user_config,4,2                ; @user_config
.subsections_via_symbols
