	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %ebx
	movq	__ADJUST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MO
	movl	%ebx, %edi
	cmpl	%ebx, %eax
	jne	LBB0_2
## %bb.1:
	movq	_DYN_REC_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_2:
	movq	%r15, %rsi
	callq	_process_record_dynamic_macro
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_13
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_println
	leaq	L_.str.1(%rip), %rdi
	callq	_print
	cmpl	$128, %ebx
	je	LBB0_10
## %bb.4:
	cmpl	$129, %ebx
	je	LBB0_8
## %bb.5:
	cmpl	$130, %ebx
	jne	LBB0_12
## %bb.6:
	cmpl	$0, (%r15)
	je	LBB0_13
## %bb.7:
	movq	_KC_RSFT@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_register_code
	movq	_KC_RCTL@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_register_code
	movq	_KC_POWER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_register_code
	movl	(%rbx), %edi
	callq	_unregister_code
	movl	(%r12), %edi
	callq	_unregister_code
	movl	(%r15), %edi
	callq	_unregister_code
	jmp	LBB0_13
LBB0_10:
	cmpl	$0, (%r15)
	je	LBB0_13
## %bb.11:
	movq	__QWERTYNUMMODS@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %edi
	shlq	%cl, %rdi
	callq	_persistent_default_layer_set
	leaq	L_.str.3(%rip), %rdi
	callq	_print
	jmp	LBB0_13
LBB0_8:
	cmpl	$0, (%r15)
	je	LBB0_13
## %bb.9:
	movq	__QWERTY@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %edi
	shlq	%cl, %rdi
	callq	_persistent_default_layer_set
	leaq	L_.str.2(%rip), %rdi
	callq	_print
	jmp	LBB0_13
LBB0_12:
	movq	_singular_key@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movl	$1, %r14d
LBB0_13:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__ADJUST,4,2                    ## @_ADJUST
	.comm	_DYN_REC_STOP,4,2               ## @DYN_REC_STOP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

L_.str.1:                               ## @.str.1
	.asciz	"process record"

	.comm	_KC_RSFT,4,2                    ## @KC_RSFT
	.comm	_KC_RCTL,4,2                    ## @KC_RCTL
	.comm	_KC_POWER,4,2                   ## @KC_POWER
	.comm	__QWERTY,8,3                    ## @_QWERTY
L_.str.2:                               ## @.str.2
	.asciz	"Space-FN"

	.comm	__QWERTYNUMMODS,8,3             ## @_QWERTYNUMMODS
L_.str.3:                               ## @.str.3
	.asciz	"Space-Numpad"

	.comm	_singular_key,4,2               ## @singular_key
	.comm	_tone_fnmac,4,2                 ## @tone_fnmac
	.comm	_tone_fnpc,4,2                  ## @tone_fnpc
.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
Lloh0:
	adrp	x8, __ADJUST@GOTPAGE
Lloh1:
	ldr	x8, [x8, __ADJUST@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_MO
Lloh3:
	adrp	x8, _DYN_REC_STOP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DYN_REC_STOP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w20
	csel	w0, w8, w20, eq
	mov	x1, x19
	bl	_process_record_dynamic_macro
	cbz	w0, LBB0_13
; %bb.1:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_println
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_print
	cmp	w20, #128
	b.eq	LBB0_6
; %bb.2:
	cmp	w20, #129
	b.eq	LBB0_8
; %bb.3:
	cmp	w20, #130
	b.ne	LBB0_12
; %bb.4:
	ldr	w8, [x19]
	cbz	w8, LBB0_11
; %bb.5:
Lloh10:
	adrp	x19, _KC_RSFT@GOTPAGE
Lloh11:
	ldr	x19, [x19, _KC_RSFT@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_register_code
Lloh12:
	adrp	x20, _KC_RCTL@GOTPAGE
Lloh13:
	ldr	x20, [x20, _KC_RCTL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_register_code
Lloh14:
	adrp	x21, _KC_POWER@GOTPAGE
Lloh15:
	ldr	x21, [x21, _KC_POWER@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_register_code
	ldr	w0, [x21]
	bl	_unregister_code
	ldr	w0, [x20]
	bl	_unregister_code
	ldr	w0, [x19]
	bl	_unregister_code
	b	LBB0_11
LBB0_6:
	ldr	w8, [x19]
	cbz	w8, LBB0_11
; %bb.7:
Lloh16:
	adrp	x8, __QWERTYNUMMODS@GOTPAGE
Lloh17:
	ldr	x8, [x8, __QWERTYNUMMODS@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	mov	w9, #1
	lsl	x0, x9, x8
	bl	_persistent_default_layer_set
Lloh19:
	adrp	x0, l_.str.3@PAGE
Lloh20:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_10
LBB0_8:
	ldr	w8, [x19]
	cbz	w8, LBB0_11
; %bb.9:
Lloh21:
	adrp	x8, __QWERTY@GOTPAGE
Lloh22:
	ldr	x8, [x8, __QWERTY@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	mov	w9, #1
	lsl	x0, x9, x8
	bl	_persistent_default_layer_set
Lloh24:
	adrp	x0, l_.str.2@PAGE
Lloh25:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_10:
	bl	_print
LBB0_11:
	mov	w0, #0
	b	LBB0_13
LBB0_12:
Lloh26:
	adrp	x8, _singular_key@GOTPAGE
Lloh27:
	ldr	x8, [x8, _singular_key@GOTPAGEOFF]
Lloh28:
	str	wzr, [x8]
	mov	w0, #1
LBB0_13:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	__ADJUST,4,2                    ; @_ADJUST
	.comm	_DYN_REC_STOP,4,2               ; @DYN_REC_STOP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

l_.str.1:                               ; @.str.1
	.asciz	"process record"

	.comm	_KC_RSFT,4,2                    ; @KC_RSFT
	.comm	_KC_RCTL,4,2                    ; @KC_RCTL
	.comm	_KC_POWER,4,2                   ; @KC_POWER
	.comm	__QWERTY,8,3                    ; @_QWERTY
l_.str.2:                               ; @.str.2
	.asciz	"Space-FN"

	.comm	__QWERTYNUMMODS,8,3             ; @_QWERTYNUMMODS
l_.str.3:                               ; @.str.3
	.asciz	"Space-Numpad"

	.comm	_singular_key,4,2               ; @singular_key
	.comm	_tone_fnmac,4,2                 ; @tone_fnmac
	.comm	_tone_fnpc,4,2                  ; @tone_fnpc
.subsections_via_symbols
