	.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
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$7, %esi
	ja	LBB0_10
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	_MODE_SINGLE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_3:
	movq	_MODE_PAGE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	cmpl	$0, (%rdi)
	je	LBB0_10
## %bb.5:
	movq	_led_mode_global@GOTPCREL(%rip), %rax
	movq	_GAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, (%rax)
	jne	LBB0_7
## %bb.6:
	movq	_MODE_SINGLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_7:
	movq	_DISPLAY_PAGE@GOTPCREL(%rip), %rdx
	movl	$1024, %esi                     ## imm = 0x400
	orl	(%rdx), %esi
	movl	%ecx, (%rax)
	jmp	LBB0_23
LBB0_8:
	movq	_MODE_FLASH@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	movq	_led_mode_global@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_10:
	popq	%rbp
	retq
LBB0_11:
	cmpl	$0, (%rdi)
	je	LBB0_10
## %bb.12:
	movq	_STEP_BRIGHTNESS@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_13:
	cmpl	$0, (%rdi)
	je	LBB0_10
## %bb.14:
	movq	_STEP_BRIGHTNESS@GOTPCREL(%rip), %rax
	movl	$256, %esi                      ## imm = 0x100
	jmp	LBB0_17
LBB0_15:
	cmpl	$0, (%rdi)
	je	LBB0_10
## %bb.16:
	movq	_backlight_status_global@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	$1, %esi
	movl	%esi, (%rax)
	shll	$8, %esi
	movq	_TOGGLE_BACKLIGHT@GOTPCREL(%rip), %rax
LBB0_17:
	orl	(%rax), %esi
	jmp	LBB0_23
LBB0_18:
	cmpl	$0, (%rdi)
	je	LBB0_10
## %bb.19:
	movq	_led_mode_global@GOTPCREL(%rip), %rax
	movq	_ALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, (%rax)
	jne	LBB0_21
## %bb.20:
	movq	_MODE_SINGLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_21:
	movl	%ecx, (%rax)
	movq	_TOGGLE_ALL@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %esi
LBB0_23:
	movq	_TIME_IMMEDIATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_led_mailbox@GOTPCREL(%rip), %rdi
	popq	%rbp
	jmp	_chMBPost                       ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-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
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_13
	.long	L0_0_set_15
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.comm	_led_mode_global,4,2            ## @led_mode_global
	.comm	_ALL,4,2                        ## @ALL
	.comm	_MODE_SINGLE,4,2                ## @MODE_SINGLE
	.comm	_TOGGLE_ALL,4,2                 ## @TOGGLE_ALL
	.comm	_led_mailbox,4,2                ## @led_mailbox
	.comm	_TIME_IMMEDIATE,4,2             ## @TIME_IMMEDIATE
	.comm	_backlight_status_global,4,2    ## @backlight_status_global
	.comm	_TOGGLE_BACKLIGHT,4,2           ## @TOGGLE_BACKLIGHT
	.comm	_GAME,4,2                       ## @GAME
	.comm	_DISPLAY_PAGE,4,2               ## @DISPLAY_PAGE
	.comm	_STEP_BRIGHTNESS,4,2            ## @STEP_BRIGHTNESS
	.comm	_MODE_PAGE,4,2                  ## @MODE_PAGE
	.comm	_MODE_FLASH,4,2                 ## @MODE_FLASH
.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:
	sub	w8, w1, #128
	cmp	w8, #7
	b.hi	LBB0_8
; %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:
Lloh2:
	adrp	x8, _MODE_SINGLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MODE_SINGLE@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
Lloh4:
	adrp	x8, _MODE_PAGE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MODE_PAGE@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	ldr	w8, [x0]
	cbz	w8, LBB0_8
; %bb.5:
Lloh6:
	adrp	x8, _led_mode_global@GOTPAGE
Lloh7:
	ldr	x8, [x8, _led_mode_global@GOTPAGEOFF]
	ldr	w9, [x8]
Lloh8:
	adrp	x10, _GAME@GOTPAGE
Lloh9:
	ldr	x10, [x10, _GAME@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
Lloh11:
	adrp	x11, _MODE_SINGLE@GOTPAGE
Lloh12:
	ldr	x11, [x11, _MODE_SINGLE@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
	cmp	w9, w10
	csel	w9, w11, w10, eq
	str	w9, [x8]
Lloh14:
	adrp	x8, _DISPLAY_PAGE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DISPLAY_PAGE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	orr	w1, w8, #0x400
	b	LBB0_18
LBB0_6:
Lloh17:
	adrp	x8, _MODE_FLASH@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MODE_FLASH@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _led_mode_global@GOTPAGE
Lloh20:
	ldr	x9, [x9, _led_mode_global@GOTPAGEOFF]
Lloh21:
	str	w8, [x9]
LBB0_8:
	ret
LBB0_9:
	ldr	w8, [x0]
	cbz	w8, LBB0_8
; %bb.10:
Lloh22:
	adrp	x8, _STEP_BRIGHTNESS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _STEP_BRIGHTNESS@GOTPAGEOFF]
	b	LBB0_17
LBB0_11:
	ldr	w8, [x0]
	cbz	w8, LBB0_8
; %bb.12:
Lloh24:
	adrp	x8, _STEP_BRIGHTNESS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _STEP_BRIGHTNESS@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	orr	w1, w8, #0x100
	b	LBB0_18
LBB0_13:
	ldr	w8, [x0]
	cbz	w8, LBB0_8
; %bb.14:
Lloh27:
	adrp	x8, _backlight_status_global@GOTPAGE
Lloh28:
	ldr	x8, [x8, _backlight_status_global@GOTPAGEOFF]
	ldr	w9, [x8]
	eor	w9, w9, #0x1
	str	w9, [x8]
Lloh29:
	adrp	x8, _TOGGLE_BACKLIGHT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _TOGGLE_BACKLIGHT@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	orr	w1, w8, w9, lsl #8
	b	LBB0_18
LBB0_15:
	ldr	w8, [x0]
	cbz	w8, LBB0_8
; %bb.16:
Lloh32:
	adrp	x8, _led_mode_global@GOTPAGE
Lloh33:
	ldr	x8, [x8, _led_mode_global@GOTPAGEOFF]
	ldr	w9, [x8]
Lloh34:
	adrp	x10, _ALL@GOTPAGE
Lloh35:
	ldr	x10, [x10, _ALL@GOTPAGEOFF]
Lloh36:
	ldr	w10, [x10]
Lloh37:
	adrp	x11, _MODE_SINGLE@GOTPAGE
Lloh38:
	ldr	x11, [x11, _MODE_SINGLE@GOTPAGEOFF]
Lloh39:
	ldr	w11, [x11]
	cmp	w9, w10
	csel	w9, w11, w10, eq
	str	w9, [x8]
Lloh40:
	adrp	x8, _TOGGLE_ALL@GOTPAGE
Lloh41:
	ldr	x8, [x8, _TOGGLE_ALL@GOTPAGEOFF]
LBB0_17:
	ldr	w1, [x8]
LBB0_18:
Lloh42:
	adrp	x8, _TIME_IMMEDIATE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _TIME_IMMEDIATE@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
Lloh45:
	adrp	x0, _led_mailbox@GOTPAGE
Lloh46:
	ldr	x0, [x0, _led_mailbox@GOTPAGEOFF]
	b	_chMBPost
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-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
                                        ; -- End function
	.comm	_led_mode_global,4,2            ; @led_mode_global
	.comm	_ALL,4,2                        ; @ALL
	.comm	_MODE_SINGLE,4,2                ; @MODE_SINGLE
	.comm	_TOGGLE_ALL,4,2                 ; @TOGGLE_ALL
	.comm	_led_mailbox,4,2                ; @led_mailbox
	.comm	_TIME_IMMEDIATE,4,2             ; @TIME_IMMEDIATE
	.comm	_backlight_status_global,4,2    ; @backlight_status_global
	.comm	_TOGGLE_BACKLIGHT,4,2           ; @TOGGLE_BACKLIGHT
	.comm	_GAME,4,2                       ; @GAME
	.comm	_DISPLAY_PAGE,4,2               ; @DISPLAY_PAGE
	.comm	_STEP_BRIGHTNESS,4,2            ; @STEP_BRIGHTNESS
	.comm	_MODE_PAGE,4,2                  ; @MODE_PAGE
	.comm	_MODE_FLASH,4,2                 ; @MODE_FLASH
.subsections_via_symbols
