	.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
	cmpl	$128, %edi
	je	LBB0_9
## %bb.1:
	cmpl	$130, %edi
	je	LBB0_5
## %bb.2:
	movl	$1, %ebx
	cmpl	$129, %edi
	jne	LBB0_14
## %bb.3:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	je	LBB0_14
## %bb.4:
	movq	__QWERTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_set_single_persistent_default_layer
	jmp	LBB0_14
LBB0_9:
	cmpl	$0, (%rsi)
	movq	__RAISE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	je	LBB0_11
## %bb.10:
	callq	_layer_on
	jmp	LBB0_12
LBB0_5:
	cmpl	$0, (%rsi)
	movq	__LOWER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	je	LBB0_8
## %bb.6:
	callq	_layer_on
	jmp	LBB0_7
LBB0_11:
	callq	_layer_off
LBB0_12:
	movq	__LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	jmp	LBB0_13
LBB0_8:
	callq	_layer_off
LBB0_7:
	movl	(%rbx), %edi
	movq	__RAISE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_13:
	movq	__ADJUST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_update_tri_layer
	xorl	%ebx, %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__QWERTY,4,2                    ## @_QWERTY
	.comm	__LOWER,4,2                     ## @_LOWER
	.comm	__RAISE,4,2                     ## @_RAISE
	.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
	cmp	w0, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w0, #130
	b.eq	LBB0_7
; %bb.2:
	cmp	w0, #129
	b.ne	LBB0_9
; %bb.3:
	ldr	w8, [x1]
	cbz	w8, LBB0_15
; %bb.4:
Lloh0:
	adrp	x8, __QWERTY@GOTPAGE
Lloh1:
	ldr	x8, [x8, __QWERTY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_set_single_persistent_default_layer
	b	LBB0_15
LBB0_5:
	ldr	w8, [x1]
Lloh3:
	adrp	x19, __RAISE@GOTPAGE
Lloh4:
	ldr	x19, [x19, __RAISE@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	w8, LBB0_10
; %bb.6:
	bl	_layer_on
	b	LBB0_11
LBB0_7:
	ldr	w8, [x1]
Lloh5:
	adrp	x19, __LOWER@GOTPAGE
Lloh6:
	ldr	x19, [x19, __LOWER@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	w8, LBB0_12
; %bb.8:
	bl	_layer_on
	b	LBB0_13
LBB0_9:
	mov	w0, #1
	b	LBB0_16
LBB0_10:
	bl	_layer_off
LBB0_11:
Lloh7:
	adrp	x8, __LOWER@GOTPAGE
Lloh8:
	ldr	x8, [x8, __LOWER@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	w1, [x19]
	b	LBB0_14
LBB0_12:
	bl	_layer_off
LBB0_13:
	ldr	w0, [x19]
Lloh10:
	adrp	x8, __RAISE@GOTPAGE
Lloh11:
	ldr	x8, [x8, __RAISE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
LBB0_14:
Lloh13:
	adrp	x8, __ADJUST@GOTPAGE
Lloh14:
	ldr	x8, [x8, __ADJUST@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	bl	_update_tri_layer
LBB0_15:
	mov	w0, #0
LBB0_16:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	__QWERTY,4,2                    ; @_QWERTY
	.comm	__LOWER,4,2                     ; @_LOWER
	.comm	__RAISE,4,2                     ; @_RAISE
	.comm	__ADJUST,4,2                    ; @_ADJUST
.subsections_via_symbols
