	.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	$5, %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)
	movq	__RAISE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	je	LBB0_15
## %bb.3:
	callq	_layer_on
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_16
LBB0_4:
	movl	$1, %ebx
	jmp	LBB0_27
LBB0_5:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	je	LBB0_27
## %bb.6:
	movq	__QWERTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_set_single_persistent_default_layer
	jmp	LBB0_27
LBB0_7:
	cmpl	$0, (%rsi)
	movq	__MOUSE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	je	LBB0_17
## %bb.8:
	callq	_layer_on
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_18
LBB0_9:
	cmpl	$0, (%rsi)
	movq	__LOWER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	je	LBB0_19
## %bb.10:
	callq	_layer_on
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_20
LBB0_11:
	cmpl	$0, (%rsi)
	movq	__HWCT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	je	LBB0_21
## %bb.12:
	callq	_layer_on
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_22
LBB0_13:
	cmpl	$0, (%rsi)
	movq	__ADJUST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	je	LBB0_28
## %bb.14:
	callq	_layer_on
	jmp	LBB0_26
LBB0_15:
	callq	_layer_off
	leaq	L_.str.1(%rip), %rdi
LBB0_16:
	movl	$128, %esi
	callq	_dprintf
	movq	__LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	jmp	LBB0_24
LBB0_17:
	callq	_layer_off
	leaq	L_.str.1(%rip), %rdi
LBB0_18:
	movl	$130, %esi
	callq	_dprintf
	movq	__LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	__RAISE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	jmp	LBB0_25
LBB0_19:
	callq	_layer_off
	leaq	L_.str.1(%rip), %rdi
LBB0_20:
	movl	$131, %esi
	callq	_dprintf
	movl	(%rbx), %edi
	jmp	LBB0_23
LBB0_21:
	callq	_layer_off
	leaq	L_.str.1(%rip), %rdi
LBB0_22:
	movl	$132, %esi
	callq	_dprintf
	movq	__LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_23:
	movq	__RAISE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_24:
	movq	__MOUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_25:
	callq	_update_tri_layer
LBB0_26:
	xorl	%ebx, %ebx
LBB0_27:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_28:
	callq	_layer_off
	jmp	LBB0_26
	.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
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
	.end_data_region
                                        ## -- End function
	.comm	__QWERTY,4,2                    ## @_QWERTY
	.comm	__LOWER,4,2                     ## @_LOWER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Got on layer %s "

	.comm	__RAISE,4,2                     ## @_RAISE
	.comm	__MOUSE,4,2                     ## @_MOUSE
L_.str.1:                               ## @.str.1
	.asciz	"Got off layer %s "

	.comm	__HWCT,4,2                      ## @_HWCT
	.comm	__ADJUST,4,2                    ## @_ADJUST
.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, #5
	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]
Lloh2:
	adrp	x19, __RAISE@GOTPAGE
Lloh3:
	ldr	x19, [x19, __RAISE@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	w8, LBB0_15
; %bb.3:
	bl	_layer_on
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_16
LBB0_4:
	mov	w0, #1
	b	LBB0_27
LBB0_5:
	ldr	w8, [x1]
	cbz	w8, LBB0_26
; %bb.6:
Lloh6:
	adrp	x8, __QWERTY@GOTPAGE
Lloh7:
	ldr	x8, [x8, __QWERTY@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_set_single_persistent_default_layer
	b	LBB0_26
LBB0_7:
	ldr	w8, [x1]
Lloh9:
	adrp	x19, __MOUSE@GOTPAGE
Lloh10:
	ldr	x19, [x19, __MOUSE@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	w8, LBB0_17
; %bb.8:
	bl	_layer_on
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_18
LBB0_9:
	ldr	w8, [x1]
Lloh13:
	adrp	x19, __LOWER@GOTPAGE
Lloh14:
	ldr	x19, [x19, __LOWER@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	w8, LBB0_19
; %bb.10:
	bl	_layer_on
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_20
LBB0_11:
	ldr	w8, [x1]
Lloh17:
	adrp	x9, __HWCT@GOTPAGE
Lloh18:
	ldr	x9, [x9, __HWCT@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x9]
	cbz	w8, LBB0_21
; %bb.12:
	bl	_layer_on
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_22
LBB0_13:
	ldr	w8, [x1]
Lloh22:
	adrp	x9, __ADJUST@GOTPAGE
Lloh23:
	ldr	x9, [x9, __ADJUST@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x9]
	cbz	w8, LBB0_28
; %bb.14:
	bl	_layer_on
	b	LBB0_26
LBB0_15:
	bl	_layer_off
Lloh25:
	adrp	x0, l_.str.1@PAGE
Lloh26:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_16:
	mov	w1, #128
	bl	_dprintf
Lloh27:
	adrp	x8, __LOWER@GOTPAGE
Lloh28:
	ldr	x8, [x8, __LOWER@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	ldr	w1, [x19]
	b	LBB0_24
LBB0_17:
	bl	_layer_off
Lloh30:
	adrp	x0, l_.str.1@PAGE
Lloh31:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_18:
	mov	w1, #130
	bl	_dprintf
Lloh32:
	adrp	x8, __LOWER@GOTPAGE
Lloh33:
	ldr	x8, [x8, __LOWER@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x8, __RAISE@GOTPAGE
Lloh36:
	ldr	x8, [x8, __RAISE@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	ldr	w2, [x19]
	b	LBB0_25
LBB0_19:
	bl	_layer_off
Lloh38:
	adrp	x0, l_.str.1@PAGE
Lloh39:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_20:
	mov	w1, #131
	bl	_dprintf
	ldr	w0, [x19]
	b	LBB0_23
LBB0_21:
	bl	_layer_off
Lloh40:
	adrp	x0, l_.str.1@PAGE
Lloh41:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_22:
	mov	w1, #132
	bl	_dprintf
Lloh42:
	adrp	x8, __LOWER@GOTPAGE
Lloh43:
	ldr	x8, [x8, __LOWER@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
LBB0_23:
Lloh45:
	adrp	x8, __RAISE@GOTPAGE
Lloh46:
	ldr	x8, [x8, __RAISE@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
LBB0_24:
Lloh48:
	adrp	x8, __MOUSE@GOTPAGE
Lloh49:
	ldr	x8, [x8, __MOUSE@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x8]
LBB0_25:
	bl	_update_tri_layer
LBB0_26:
	mov	w0, #0
LBB0_27:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_28:
	bl	_layer_off
	b	LBB0_26
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.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
                                        ; -- End function
	.comm	__QWERTY,4,2                    ; @_QWERTY
	.comm	__LOWER,4,2                     ; @_LOWER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Got on layer %s "

	.comm	__RAISE,4,2                     ; @_RAISE
	.comm	__MOUSE,4,2                     ; @_MOUSE
l_.str.1:                               ; @.str.1
	.asciz	"Got off layer %s "

	.comm	__HWCT,4,2                      ; @_HWCT
	.comm	__ADJUST,4,2                    ; @_ADJUST
.subsections_via_symbols
