	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_record_user            ## -- Begin function process_record_user
	.p2align	4, 0x90
_process_record_user:                   ## @process_record_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
                                        ## kill: def $edi killed $edi def $rdi
	addl	$-128, %edi
	cmpl	$10, %edi
	ja	LBB0_4
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	cmpl	$0, (%rsi)
	je	LBB0_31
## %bb.3:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_timer_read32
	movl	%eax, _process_record_user.key_timer(%rip)
	jmp	LBB0_28
LBB0_4:
	movl	$1, %ebx
	jmp	LBB0_28
LBB0_5:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	je	LBB0_28
## %bb.6:
	movl	$40, %edi
	jmp	LBB0_25
LBB0_7:
	cmpl	$0, (%rsi)
	je	LBB0_30
## %bb.8:
	xorl	%ebx, %ebx
	movl	$128, %edi
	xorl	%esi, %esi
	jmp	LBB0_26
LBB0_9:
	cmpl	$0, (%rsi)
	je	LBB0_30
## %bb.10:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	jmp	LBB0_25
LBB0_11:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	je	LBB0_28
## %bb.12:
	movl	$192, %edi
	movl	$112, %esi
	jmp	LBB0_26
LBB0_13:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	je	LBB0_28
## %bb.14:
	movl	$216, %edi
	jmp	LBB0_25
LBB0_15:
	cmpl	$0, (%rsi)
	je	LBB0_30
## %bb.16:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	jmp	LBB0_27
LBB0_30:
	xorl	%ebx, %ebx
	jmp	LBB0_28
LBB0_17:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	je	LBB0_28
## %bb.18:
	movl	$88, %edi
	jmp	LBB0_25
LBB0_19:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	je	LBB0_28
## %bb.20:
	movl	$128, %edi
	jmp	LBB0_25
LBB0_21:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	je	LBB0_28
## %bb.22:
	movl	$32, %edi
	movl	$160, %esi
	jmp	LBB0_26
LBB0_23:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	je	LBB0_28
## %bb.24:
	movl	$168, %edi
LBB0_25:
	movl	$255, %esi
LBB0_26:
	movl	$255, %edx
LBB0_27:
	callq	_rgb_matrix_sethsv
LBB0_28:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_31:
	movl	_process_record_user.key_timer(%rip), %edi
	callq	_timer_elapsed32
	cmpl	$500, %eax                      ## imm = 0x1F4
	jl	LBB0_34
## %bb.32:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rgb_matrix_enable_noeeprom
	movl	$1, %edi
	callq	_rgb_matrix_mode_noeeprom
	movl	$11, %edi
	movl	$11, %esi
	movl	$11, %edx
	callq	_rgb_matrix_sethsv_noeeprom
	movl	$150, %edi
	callq	_wait_ms
	xorl	%eax, %eax
	callq	_reset_keyboard
	jmp	LBB0_28
LBB0_34:
	movq	_KC_RCTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_register_code
	movq	_KC_B@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tap_code
	movl	(%rbx), %edi
	callq	_unregister_code
	xorl	%ebx, %ebx
	jmp	LBB0_28
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.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
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_5
	.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
	.long	L0_0_set_17
	.long	L0_0_set_19
	.long	L0_0_set_21
	.long	L0_0_set_23
	.end_data_region
                                        ## -- End function
.zerofill __DATA,__bss,_process_record_user.key_timer,4,2 ## @process_record_user.key_timer
	.comm	_KC_RCTL,4,2                    ## @KC_RCTL
	.comm	_KC_B,4,2                       ## @KC_B
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_record_user            ; -- Begin function process_record_user
	.p2align	2
_process_record_user:                   ; @process_record_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
	sub	w8, w0, #128
	cmp	w8, #10
	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:
	ldr	w8, [x1]
	cbz	w8, LBB0_30
; %bb.3:
	bl	_timer_read32
	mov	x8, x0
	mov	w0, #0
	adrp	x9, _process_record_user.key_timer@PAGE
	str	w8, [x9, _process_record_user.key_timer@PAGEOFF]
	b	LBB0_29
LBB0_4:
	mov	w0, #1
	b	LBB0_29
LBB0_5:
	ldr	w8, [x1]
	cbz	w8, LBB0_28
; %bb.6:
	mov	w0, #40
	b	LBB0_25
LBB0_7:
	ldr	w8, [x1]
	cbz	w8, LBB0_28
; %bb.8:
	mov	w0, #128
	mov	w1, #0
	b	LBB0_26
LBB0_9:
	ldr	w8, [x1]
	cbz	w8, LBB0_28
; %bb.10:
	mov	w0, #0
	b	LBB0_25
LBB0_11:
	ldr	w8, [x1]
	cbz	w8, LBB0_28
; %bb.12:
	mov	w0, #192
	mov	w1, #112
	b	LBB0_26
LBB0_13:
	ldr	w8, [x1]
	cbz	w8, LBB0_28
; %bb.14:
	mov	w0, #216
	b	LBB0_25
LBB0_15:
	ldr	w8, [x1]
	cbz	w8, LBB0_28
; %bb.16:
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	b	LBB0_27
LBB0_17:
	ldr	w8, [x1]
	cbz	w8, LBB0_28
; %bb.18:
	mov	w0, #88
	b	LBB0_25
LBB0_19:
	ldr	w8, [x1]
	cbz	w8, LBB0_28
; %bb.20:
	mov	w0, #128
	b	LBB0_25
LBB0_21:
	ldr	w8, [x1]
	cbz	w8, LBB0_28
; %bb.22:
	mov	w0, #32
	mov	w1, #160
	b	LBB0_26
LBB0_23:
	ldr	w8, [x1]
	cbz	w8, LBB0_28
; %bb.24:
	mov	w0, #168
LBB0_25:
	mov	w1, #255
LBB0_26:
	mov	w2, #255
LBB0_27:
	bl	_rgb_matrix_sethsv
LBB0_28:
	mov	w0, #0
LBB0_29:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_30:
Lloh2:
	adrp	x8, _process_record_user.key_timer@PAGE
Lloh3:
	ldr	w0, [x8, _process_record_user.key_timer@PAGEOFF]
	bl	_timer_elapsed32
	cmp	w0, #500
	b.lt	LBB0_32
; %bb.31:
	bl	_rgb_matrix_enable_noeeprom
	mov	w0, #1
	bl	_rgb_matrix_mode_noeeprom
	mov	w0, #11
	mov	w1, #11
	mov	w2, #11
	bl	_rgb_matrix_sethsv_noeeprom
	mov	w0, #150
	bl	_wait_ms
	bl	_reset_keyboard
	b	LBB0_28
LBB0_32:
Lloh4:
	adrp	x19, _KC_RCTL@GOTPAGE
Lloh5:
	ldr	x19, [x19, _KC_RCTL@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_register_code
Lloh6:
	adrp	x8, _KC_B@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KC_B@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_tap_code
	ldr	w0, [x19]
	bl	_unregister_code
	b	LBB0_28
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.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
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_23-LBB0_2)>>2
                                        ; -- End function
.zerofill __DATA,__bss,_process_record_user.key_timer,4,2 ; @process_record_user.key_timer
	.comm	_KC_RCTL,4,2                    ; @KC_RCTL
	.comm	_KC_B,4,2                       ; @KC_B
.subsections_via_symbols
