	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_handle_encoder_press           ## -- Begin function handle_encoder_press
	.p2align	4, 0x90
_handle_encoder_press:                  ## @handle_encoder_press
	.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
	movq	_encoder_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$8, %eax
	ja	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_KC_MUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_9
LBB0_4:
	movq	_KC_BTN3@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_9
LBB0_3:
	movq	_KC_MEDIA_PLAY_PAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_9
LBB0_8:
	movq	_time_config_idx@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %edx
	incl	%edx
	movslq	%edx, %rdx
	imulq	$1717986919, %rdx, %rdx         ## imm = 0x66666667
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$33, %rdx
	addl	%esi, %edx
	leal	(%rdx,%rdx,4), %edx
	negl	%edx
	addl	%edx, %ecx
	incl	%ecx
	movl	%ecx, (%rax)
	jmp	LBB0_9
LBB0_5:
	movq	_kb_backlight_config@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	$0, (%rax)
	sete	%cl
	movl	%ecx, (%rax)
	je	LBB0_7
## %bb.6:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_breathing_disable
	jmp	LBB0_9
LBB0_7:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_breathing_enable
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_encoder_mode,4,2               ## @encoder_mode
	.comm	_KC_MUTE,4,2                    ## @KC_MUTE
	.comm	_KC_MEDIA_PLAY_PAUSE,4,2        ## @KC_MEDIA_PLAY_PAUSE
	.comm	_KC_BTN3,4,2                    ## @KC_BTN3
	.comm	_kb_backlight_config,4,2        ## @kb_backlight_config
	.comm	_time_config_idx,4,2            ## @time_config_idx
	.comm	_ENC_CUSTOM_PRESS,4,2           ## @ENC_CUSTOM_PRESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_handle_encoder_press           ; -- Begin function handle_encoder_press
	.p2align	2
_handle_encoder_press:                  ; @handle_encoder_press
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _encoder_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _encoder_mode@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #8
	b.hi	LBB0_4
; %bb.1:
	mov	w0, #0
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh5:
	adrp	x8, _KC_MUTE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _KC_MUTE@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh7:
	adrp	x8, _KC_BTN3@GOTPAGE
Lloh8:
	ldr	x8, [x8, _KC_BTN3@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x8, _KC_MEDIA_PLAY_PAUSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KC_MEDIA_PLAY_PAUSE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	w0, #0
Lloh11:
	adrp	x8, _time_config_idx@GOTPAGE
Lloh12:
	ldr	x8, [x8, _time_config_idx@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	smull	x10, w9, w10
	lsr	x11, x10, #63
	asr	x10, x10, #33
	add	w10, w10, w11
	add	w10, w10, w10, lsl #2
	sub	w9, w9, w10
	str	w9, [x8]
LBB0_7:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh13:
	adrp	x8, _kb_backlight_config@GOTPAGE
Lloh14:
	ldr	x8, [x8, _kb_backlight_config@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #0
	cset	w10, eq
	str	w10, [x8]
	cbz	w9, LBB0_10
; %bb.9:
	bl	_breathing_disable
	b	LBB0_11
LBB0_10:
	bl	_breathing_enable
LBB0_11:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.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_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_encoder_mode,4,2               ; @encoder_mode
	.comm	_KC_MUTE,4,2                    ; @KC_MUTE
	.comm	_KC_MEDIA_PLAY_PAUSE,4,2        ; @KC_MEDIA_PLAY_PAUSE
	.comm	_KC_BTN3,4,2                    ; @KC_BTN3
	.comm	_kb_backlight_config,4,2        ; @kb_backlight_config
	.comm	_time_config_idx,4,2            ; @time_config_idx
	.comm	_ENC_CUSTOM_PRESS,4,2           ; @ENC_CUSTOM_PRESS
.subsections_via_symbols
