	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_action_function                ## -- Begin function action_function
	.p2align	4, 0x90
_action_function:                       ## @action_function
	.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
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$8, %esi
	ja	LBB0_28
## %bb.1:
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_18:
	xorl	%eax, %eax
	callq	_get_mods
	movq	_MODS_CTRL_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	cmpl	$0, (%rbx)
	je	LBB0_24
## %bb.19:
	testl	%eax, %eax
	je	LBB0_23
## %bb.20:
	movq	_KC_GRV@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_2:
	cmpl	$0, (%rbx)
	je	LBB0_28
## %bb.3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rgblight_toggle                ## TAILCALL
LBB0_16:
	cmpl	$0, (%rbx)
	je	LBB0_28
## %bb.17:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rgblight_step                  ## TAILCALL
LBB0_12:
	cmpl	$0, (%rbx)
	je	LBB0_28
## %bb.13:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rgblight_increase_val          ## TAILCALL
LBB0_8:
	cmpl	$0, (%rbx)
	je	LBB0_28
## %bb.9:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rgblight_increase_sat          ## TAILCALL
LBB0_4:
	cmpl	$0, (%rbx)
	je	LBB0_28
## %bb.5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rgblight_increase_hue          ## TAILCALL
LBB0_14:
	cmpl	$0, (%rbx)
	je	LBB0_28
## %bb.15:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rgblight_decrease_val          ## TAILCALL
LBB0_10:
	cmpl	$0, (%rbx)
	je	LBB0_28
## %bb.11:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rgblight_decrease_sat          ## TAILCALL
LBB0_6:
	cmpl	$0, (%rbx)
	je	LBB0_28
## %bb.7:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rgblight_decrease_hue          ## TAILCALL
LBB0_28:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_24:
	testl	%eax, %eax
	je	LBB0_27
## %bb.25:
	movq	_KC_GRV@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_23:
	movq	_KC_ESC@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %edi
	callq	_add_key
	jmp	LBB0_22
LBB0_27:
	movq	_KC_ESC@GOTPCREL(%rip), %rax
LBB0_26:
	movl	(%rax), %edi
	callq	_del_key
LBB0_22:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_send_keyboard_report           ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_18
	.long	L0_0_set_2
	.long	L0_0_set_16
	.long	L0_0_set_12
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_14
	.long	L0_0_set_10
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_MODS_CTRL_MASK,4,2             ## @MODS_CTRL_MASK
	.comm	_KC_GRV,4,2                     ## @KC_GRV
	.comm	_KC_ESC,4,2                     ## @KC_ESC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_action_function                ; -- Begin function action_function
	.p2align	2
_action_function:                       ; @action_function
	.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
	sub	w8, w1, #128
	cmp	w8, #8
	b.hi	LBB0_21
; %bb.1:
	mov	x19, x0
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	_get_mods
Lloh2:
	adrp	x8, _MODS_CTRL_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MODS_CTRL_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	and	w8, w8, w0
	ldr	w9, [x19]
	cbz	w9, LBB0_22
; %bb.3:
	cbz	w8, LBB0_24
; %bb.4:
Lloh5:
	adrp	x8, _KC_GRV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _KC_GRV@GOTPAGEOFF]
	b	LBB0_25
LBB0_5:
	ldr	w8, [x19]
	cbz	w8, LBB0_21
; %bb.6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rgblight_toggle
LBB0_7:
	ldr	w8, [x19]
	cbz	w8, LBB0_21
; %bb.8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rgblight_step
LBB0_9:
	ldr	w8, [x19]
	cbz	w8, LBB0_21
; %bb.10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rgblight_increase_val
LBB0_11:
	ldr	w8, [x19]
	cbz	w8, LBB0_21
; %bb.12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rgblight_increase_sat
LBB0_13:
	ldr	w8, [x19]
	cbz	w8, LBB0_21
; %bb.14:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rgblight_increase_hue
LBB0_15:
	ldr	w8, [x19]
	cbz	w8, LBB0_21
; %bb.16:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rgblight_decrease_val
LBB0_17:
	ldr	w8, [x19]
	cbz	w8, LBB0_21
; %bb.18:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rgblight_decrease_sat
LBB0_19:
	ldr	w8, [x19]
	cbz	w8, LBB0_21
; %bb.20:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rgblight_decrease_hue
LBB0_21:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_22:
	cbz	w8, LBB0_26
; %bb.23:
Lloh7:
	adrp	x8, _KC_GRV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _KC_GRV@GOTPAGEOFF]
	b	LBB0_27
LBB0_24:
Lloh9:
	adrp	x8, _KC_ESC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KC_ESC@GOTPAGEOFF]
LBB0_25:
	ldr	w0, [x8]
	bl	_add_key
	b	LBB0_28
LBB0_26:
Lloh11:
	adrp	x8, _KC_ESC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _KC_ESC@GOTPAGEOFF]
LBB0_27:
	ldr	w0, [x8]
	bl	_del_key
LBB0_28:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_send_keyboard_report
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_19-LBB0_2)>>2
                                        ; -- End function
	.comm	_MODS_CTRL_MASK,4,2             ; @MODS_CTRL_MASK
	.comm	_KC_GRV,4,2                     ; @KC_GRV
	.comm	_KC_ESC,4,2                     ; @KC_ESC
.subsections_via_symbols
