	.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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	leal	-128(%rbx), %eax
	cmpl	$3, %eax
	ja	LBB0_14
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_12:
	cmpl	$0, (%r14)
	je	LBB0_17
## %bb.13:
	xorl	%eax, %eax
	callq	_timer_read
	movq	_neo3_state@GOTPCREL(%rip), %rcx
	orb	$4, (%rcx)
	movq	_neo3_timer@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_NEO_3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_on
	jmp	LBB0_14
LBB0_7:
	cmpl	$0, (%r14)
	je	LBB0_9
## %bb.8:
	movq	_NEO_3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_on
	movq	_neo3_state@GOTPCREL(%rip), %rax
	orb	$2, (%rax)
	jmp	LBB0_14
LBB0_5:
	movl	(%r14), %r15d
	movl	$130, %edi
	jmp	LBB0_3
LBB0_2:
	movl	(%r14), %r15d
	movl	$131, %edi
LBB0_3:
	callq	_MOD_BIT
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.4:
	movq	_capslock_state@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
	jmp	LBB0_14
LBB0_6:
	notl	%eax
	movq	_capslock_state@GOTPCREL(%rip), %rcx
	andl	%eax, (%rcx)
	jmp	LBB0_14
LBB0_17:
	movq	_neo3_state@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	andl	$-5, %eax
	jne	LBB0_19
## %bb.18:
	movq	_NEO_3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_off
	movl	(%r15), %eax
	andl	$-5, %eax
LBB0_19:
	movl	%eax, (%r15)
	movq	_neo3_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_timer_elapsed
	cmpl	$150, %eax
	jg	LBB0_14
## %bb.20:
	cmpl	$0, (%r15)
	jle	LBB0_23
## %bb.21:
	movq	_KC_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MOD_MASK_SHIFT@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_9:
	movq	_neo3_state@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	andl	$-3, %eax
	jne	LBB0_11
## %bb.10:
	movq	_NEO_3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_off
	movl	(%r15), %eax
	andl	$-3, %eax
LBB0_11:
	movl	%eax, (%r15)
LBB0_14:
	movq	_capslock_state@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MOD_MASK_SHIFT@GOTPCREL(%rip), %rcx
	notl	%eax
	testl	%eax, (%rcx)
	jne	LBB0_24
## %bb.15:
	xorl	%eax, %eax
	callq	_host_keyboard_leds
	movq	_USB_LED_CAPS_LOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	movq	_KC_LOCKING_CAPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jae	LBB0_25
## %bb.16:
	callq	_unregister_code
	jmp	LBB0_26
LBB0_24:
	movl	%ebx, %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_process_record_user_shifted    ## TAILCALL
LBB0_25:
	callq	_register_code
LBB0_26:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	_KC_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MOD_MASK_NONE@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %esi
	callq	_tap_with_modifiers
	jmp	LBB0_26
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_capslock_state,4,2             ## @capslock_state
	.comm	_NEO_3,4,2                      ## @NEO_3
	.comm	_neo3_state,4,2                 ## @neo3_state
	.comm	_neo3_timer,4,2                 ## @neo3_timer
	.comm	_KC_2,4,2                       ## @KC_2
	.comm	_MOD_MASK_SHIFT,4,2             ## @MOD_MASK_SHIFT
	.comm	_KC_Y,4,2                       ## @KC_Y
	.comm	_MOD_MASK_NONE,4,2              ## @MOD_MASK_NONE
	.comm	_USB_LED_CAPS_LOCK,4,2          ## @USB_LED_CAPS_LOCK
	.comm	_KC_LOCKING_CAPS,4,2            ## @KC_LOCKING_CAPS
.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	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	sub	w8, w0, #128
Lloh0:
	adrp	x21, _capslock_state@GOTPAGE
Lloh1:
	ldr	x21, [x21, _capslock_state@GOTPAGEOFF]
	cmp	w8, #3
	b.hi	LBB0_18
; %bb.1:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	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, [x19]
	cbz	w8, LBB0_10
; %bb.3:
	bl	_timer_read
Lloh4:
	adrp	x8, _neo3_timer@GOTPAGE
Lloh5:
	ldr	x8, [x8, _neo3_timer@GOTPAGEOFF]
Lloh6:
	str	w0, [x8]
Lloh7:
	adrp	x8, _neo3_state@GOTPAGE
Lloh8:
	ldr	x8, [x8, _neo3_state@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, #0x4
	str	w9, [x8]
Lloh9:
	adrp	x8, _NEO_3@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NEO_3@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_layer_on
	b	LBB0_18
LBB0_4:
	ldr	w8, [x19]
	cbz	w8, LBB0_15
; %bb.5:
Lloh12:
	adrp	x8, _NEO_3@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NEO_3@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_layer_on
Lloh15:
	adrp	x8, _neo3_state@GOTPAGE
Lloh16:
	ldr	x8, [x8, _neo3_state@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, #0x2
	str	w9, [x8]
	b	LBB0_18
LBB0_6:
	ldr	w22, [x19]
	mov	w0, #130
	bl	_MOD_BIT
	cbz	w22, LBB0_9
LBB0_7:
	ldr	w8, [x21]
	orr	w8, w8, w0
	str	w8, [x21]
	b	LBB0_18
LBB0_8:
	ldr	w22, [x19]
	mov	w0, #131
	bl	_MOD_BIT
	cbnz	w22, LBB0_7
LBB0_9:
	ldr	w8, [x21]
	bic	w8, w8, w0
	str	w8, [x21]
	b	LBB0_18
LBB0_10:
Lloh17:
	adrp	x22, _neo3_state@GOTPAGE
Lloh18:
	ldr	x22, [x22, _neo3_state@GOTPAGEOFF]
	ldr	w8, [x22]
	ands	w8, w8, #0xfffffffb
	b.ne	LBB0_12
; %bb.11:
Lloh19:
	adrp	x8, _NEO_3@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NEO_3@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_layer_off
	ldr	w8, [x22]
	and	w8, w8, #0xfffffffb
LBB0_12:
	str	w8, [x22]
Lloh22:
	adrp	x8, _neo3_timer@GOTPAGE
Lloh23:
	ldr	x8, [x8, _neo3_timer@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_timer_elapsed
	cmp	w0, #150
	b.gt	LBB0_18
; %bb.13:
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.14:
Lloh25:
	adrp	x8, _KC_2@GOTPAGE
Lloh26:
	ldr	x8, [x8, _KC_2@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x8, _MOD_MASK_SHIFT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MOD_MASK_SHIFT@GOTPAGEOFF]
	b	LBB0_25
LBB0_15:
Lloh30:
	adrp	x22, _neo3_state@GOTPAGE
Lloh31:
	ldr	x22, [x22, _neo3_state@GOTPAGEOFF]
	ldr	w8, [x22]
	ands	w8, w8, #0xfffffffd
	b.ne	LBB0_17
; %bb.16:
Lloh32:
	adrp	x8, _NEO_3@GOTPAGE
Lloh33:
	ldr	x8, [x8, _NEO_3@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	bl	_layer_off
	ldr	w8, [x22]
	and	w8, w8, #0xfffffffd
LBB0_17:
	str	w8, [x22]
LBB0_18:
	ldr	w8, [x21]
Lloh35:
	adrp	x9, _MOD_MASK_SHIFT@GOTPAGE
Lloh36:
	ldr	x9, [x9, _MOD_MASK_SHIFT@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	bics	wzr, w9, w8
	b.ne	LBB0_21
; %bb.19:
	bl	_host_keyboard_leds
	mov	x8, x0
Lloh38:
	adrp	x9, _USB_LED_CAPS_LOCK@GOTPAGE
Lloh39:
	ldr	x9, [x9, _USB_LED_CAPS_LOCK@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
Lloh41:
	adrp	x10, _KC_LOCKING_CAPS@GOTPAGE
Lloh42:
	ldr	x10, [x10, _KC_LOCKING_CAPS@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x10]
	lsr	w8, w8, w9
	tbz	w8, #0, LBB0_22
; %bb.20:
	bl	_unregister_code
	b	LBB0_23
LBB0_21:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_process_record_user_shifted
LBB0_22:
	bl	_register_code
LBB0_23:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_24:
Lloh44:
	adrp	x8, _KC_Y@GOTPAGE
Lloh45:
	ldr	x8, [x8, _KC_Y@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
Lloh47:
	adrp	x8, _MOD_MASK_NONE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _MOD_MASK_NONE@GOTPAGEOFF]
LBB0_25:
	ldr	w1, [x8]
	bl	_tap_with_modifiers
	b	LBB0_23
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_capslock_state,4,2             ; @capslock_state
	.comm	_NEO_3,4,2                      ; @NEO_3
	.comm	_neo3_state,4,2                 ; @neo3_state
	.comm	_neo3_timer,4,2                 ; @neo3_timer
	.comm	_KC_2,4,2                       ; @KC_2
	.comm	_MOD_MASK_SHIFT,4,2             ; @MOD_MASK_SHIFT
	.comm	_KC_Y,4,2                       ; @KC_Y
	.comm	_MOD_MASK_NONE,4,2              ; @MOD_MASK_NONE
	.comm	_USB_LED_CAPS_LOCK,4,2          ; @USB_LED_CAPS_LOCK
	.comm	_KC_LOCKING_CAPS,4,2            ; @KC_LOCKING_CAPS
.subsections_via_symbols
