	.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
	callq	_biton32
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_3
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movl	$1, %edi
	callq	_rgblight_mode
	xorl	%edi, %edi
	movl	$255, %esi
	jmp	LBB0_8
LBB0_3:
	movl	$1, %edi
	callq	_rgblight_mode
	movq	_bnumlock@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_KC_NLCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tap_code
LBB0_5:
	movl	$255, %edi
	movl	$255, %esi
	jmp	LBB0_14
LBB0_6:
	movq	_workmode@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_24
## %bb.7:
	movl	$1, %edi
	callq	_rgblight_mode
	xorl	%edi, %edi
	xorl	%esi, %esi
LBB0_8:
	xorl	%edx, %edx
	jmp	LBB0_20
LBB0_9:
	movl	$1, %edi
	callq	_rgblight_mode
	xorl	%edi, %edi
	jmp	LBB0_18
LBB0_10:
	movl	$1, %edi
	callq	_rgblight_mode
	movq	_bnumlock@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_12
## %bb.11:
	movq	_KC_NLCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tap_code
LBB0_12:
	movl	$255, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	jmp	LBB0_15
LBB0_13:
	movl	$1, %edi
	callq	_rgblight_mode
	movl	$255, %edi
	xorl	%esi, %esi
LBB0_14:
	movl	$255, %edx
LBB0_15:
	callq	_rgbflag
	jmp	LBB0_23
LBB0_16:
	movl	$1, %edi
	callq	_rgblight_mode
	xorl	%edi, %edi
	xorl	%esi, %esi
	jmp	LBB0_19
LBB0_17:
	movl	$1, %edi
	callq	_rgblight_mode
	movl	$255, %edi
LBB0_18:
	movl	$255, %esi
LBB0_19:
	movl	$255, %edx
LBB0_20:
	callq	_rgbflag
LBB0_21:
	movq	_bnumlock@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_23
## %bb.22:
	movq	_KC_NLCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tap_code
LBB0_23:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_24:
	movl	$9, %edi
	callq	_rgblight_mode
	jmp	LBB0_21
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_16
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.comm	_workmode,4,2                   ## @workmode
	.comm	_bnumlock,4,2                   ## @bnumlock
	.comm	_KC_NLCK,4,2                    ## @KC_NLCK
.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	_biton32
	sub	w8, w0, #128
	cmp	w8, #6
	b.hi	LBB0_3
; %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:
	mov	w0, #1
	bl	_rgblight_mode
	mov	w0, #0
	mov	w1, #255
	b	LBB0_8
LBB0_3:
	mov	w0, #1
	bl	_rgblight_mode
Lloh2:
	adrp	x8, _bnumlock@GOTPAGE
Lloh3:
	ldr	x8, [x8, _bnumlock@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _KC_NLCK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _KC_NLCK@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_tap_code
LBB0_5:
	mov	w0, #255
	mov	w1, #255
	b	LBB0_14
LBB0_6:
Lloh8:
	adrp	x8, _workmode@GOTPAGE
Lloh9:
	ldr	x8, [x8, _workmode@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cbz	w8, LBB0_24
; %bb.7:
	mov	w0, #1
	bl	_rgblight_mode
	mov	w0, #0
	mov	w1, #0
LBB0_8:
	mov	w2, #0
	b	LBB0_20
LBB0_9:
	mov	w0, #1
	bl	_rgblight_mode
	mov	w0, #0
	b	LBB0_18
LBB0_10:
	mov	w0, #1
	bl	_rgblight_mode
Lloh11:
	adrp	x8, _bnumlock@GOTPAGE
Lloh12:
	ldr	x8, [x8, _bnumlock@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cbnz	w8, LBB0_12
; %bb.11:
Lloh14:
	adrp	x8, _KC_NLCK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _KC_NLCK@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_tap_code
LBB0_12:
	mov	w0, #255
	mov	w1, #0
	mov	w2, #0
	b	LBB0_15
LBB0_13:
	mov	w0, #1
	bl	_rgblight_mode
	mov	w0, #255
	mov	w1, #0
LBB0_14:
	mov	w2, #255
LBB0_15:
	bl	_rgbflag
	b	LBB0_23
LBB0_16:
	mov	w0, #1
	bl	_rgblight_mode
	mov	w0, #0
	mov	w1, #0
	b	LBB0_19
LBB0_17:
	mov	w0, #1
	bl	_rgblight_mode
	mov	w0, #255
LBB0_18:
	mov	w1, #255
LBB0_19:
	mov	w2, #255
LBB0_20:
	bl	_rgbflag
LBB0_21:
Lloh17:
	adrp	x8, _bnumlock@GOTPAGE
Lloh18:
	ldr	x8, [x8, _bnumlock@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cbz	w8, LBB0_23
; %bb.22:
Lloh20:
	adrp	x8, _KC_NLCK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _KC_NLCK@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_tap_code
LBB0_23:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_24:
	mov	w0, #9
	bl	_rgblight_mode
	b	LBB0_21
	.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
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
                                        ; -- End function
	.comm	_workmode,4,2                   ; @workmode
	.comm	_bnumlock,4,2                   ; @bnumlock
	.comm	_KC_NLCK,4,2                    ; @KC_NLCK
.subsections_via_symbols
