	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_steno_chord_user          ## -- Begin function send_steno_chord_user
	.p2align	4, 0x90
_send_steno_chord_user:                 ## @send_steno_chord_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	_cChord@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movq	_PWR@GOTPCREL(%rip), %rcx
	movq	_FN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	(%rcx), %ecx
	orl	%edx, %ecx
	movq	_ST1@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	%ecx, %esi
	movq	_ST2@GOTPCREL(%rip), %rdi
	orl	(%rdi), %esi
	cmpl	%esi, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_uprintf
	movq	_QWERSTENO@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	$0, (%rax)
	sete	%cl
	movl	%ecx, (%rax)
LBB0_26:
	movl	$0, (%r14)
	movq	_inChord@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_chordIndex@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_clear_keyboard
	movq	_repEngaged@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_chordState@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.memset_pattern(%rip), %rsi
	movl	$128, %edx
	callq	_memset_pattern16
LBB0_27:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_RD@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	%ecx, %esi
	movq	_RZ@GOTPCREL(%rip), %rdi
	orl	(%rdi), %esi
	cmpl	%esi, %eax
	jne	LBB0_9
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_uprintf
	movq	_cMode@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_COMMAND@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_4
## %bb.5:
	movq	_pMode@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movq	_CMDLEN@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	movq	_CMDBUF@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_register_code
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_7
LBB0_8:
	xorl	%eax, %eax
	callq	_clear_keyboard
	jmp	LBB0_26
LBB0_9:
	movq	_ST4@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	%ecx, %esi
	movq	_ST3@GOTPCREL(%rip), %rdi
	orl	(%rdi), %esi
	cmpl	%esi, %eax
	jne	LBB0_12
## %bb.10:
	movq	_keymapsCount@GOTPCREL(%rip), %rsi
	cmpl	$2, (%rsi)
	jl	LBB0_12
## %bb.11:
	leaq	L_.str.2(%rip), %rdi
	callq	_uprintf
	movl	$1, %edi
	callq	_layer_on
	jmp	LBB0_26
LBB0_12:
	movq	_cMode@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rsi
	cmpl	%edx, %eax
	jne	LBB0_16
## %bb.13:
	movq	_STENO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rsi
	jne	LBB0_15
## %bb.14:
	movq	_QWERTY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_15:
	movq	%rax, (%rdi)
	jmp	LBB0_26
LBB0_4:
	movq	_CMDLEN@GOTPCREL(%rip), %rsi
	movl	$0, (%rsi)
	movq	_pMode@GOTPCREL(%rip), %rsi
	movq	%rcx, (%rsi)
	movq	%rdx, (%rax)
	jmp	LBB0_26
LBB0_16:
	movq	_QWERTY@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_18
## %bb.17:
	andl	%eax, %edx
	je	LBB0_18
LBB0_28:
	movq	_inChord@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_chordIndex@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movl	$0, (%r14)
	movl	$1, %ebx
	jmp	LBB0_27
LBB0_18:
	cmpq	%rdi, %rsi
	je	LBB0_21
## %bb.19:
	movq	_COMMAND@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rsi
	je	LBB0_21
## %bb.20:
	andl	%eax, %ecx
	jne	LBB0_21
## %bb.22:
	movq	_STENO@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_28
## %bb.23:
	movq	_QWERSTENO@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_28
## %bb.24:
	movl	$1, %edi
	jmp	LBB0_25
LBB0_21:
	xorl	%edi, %edi
LBB0_25:
	callq	_processChord
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_cChord,4,2                     ## @cChord
	.comm	_PWR,4,2                        ## @PWR
	.comm	_FN,4,2                         ## @FN
	.comm	_ST1,4,2                        ## @ST1
	.comm	_ST2,4,2                        ## @ST2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Fallback Toggle\n"

	.comm	_QWERSTENO,4,2                  ## @QWERSTENO
	.comm	_RD,4,2                         ## @RD
	.comm	_RZ,4,2                         ## @RZ
L_.str.1:                               ## @.str.1
	.asciz	"COMMAND Toggle\n"

	.comm	_cMode,8,3                      ## @cMode
	.comm	_COMMAND,8,3                    ## @COMMAND
	.comm	_CMDLEN,4,2                     ## @CMDLEN
	.comm	_pMode,8,3                      ## @pMode
	.comm	_CMDBUF,8,3                     ## @CMDBUF
	.comm	_ST4,4,2                        ## @ST4
	.comm	_ST3,4,2                        ## @ST3
	.comm	_keymapsCount,4,2               ## @keymapsCount
L_.str.2:                               ## @.str.2
	.asciz	"Switching to QMK\n"

	.comm	_STENO,8,3                      ## @STENO
	.comm	_QWERTY,8,3                     ## @QWERTY
	.comm	_inChord,4,2                    ## @inChord
	.comm	_chordIndex,8,3                 ## @chordIndex
	.comm	_repEngaged,4,2                 ## @repEngaged
	.comm	_chordState,8,3                 ## @chordState
	.comm	_inMouse,4,2                    ## @inMouse
	.comm	_mousePress,4,2                 ## @mousePress
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @.memset_pattern
L_.memset_pattern:
	.long	65535                           ## 0xffff
	.long	65535                           ## 0xffff
	.long	65535                           ## 0xffff
	.long	65535                           ## 0xffff

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_steno_chord_user          ; -- Begin function send_steno_chord_user
	.p2align	2
_send_steno_chord_user:                 ; @send_steno_chord_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
Lloh0:
	adrp	x19, _cChord@GOTPAGE
Lloh1:
	ldr	x19, [x19, _cChord@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _PWR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PWR@GOTPAGEOFF]
Lloh4:
	adrp	x10, _FN@GOTPAGE
Lloh5:
	ldr	x10, [x10, _FN@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
Lloh7:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh8:
	adrp	x11, _ST1@GOTPAGE
Lloh9:
	ldr	x11, [x11, _ST1@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x11]
	orr	w11, w9, w11
Lloh11:
	adrp	x12, _ST2@GOTPAGE
Lloh12:
	ldr	x12, [x12, _ST2@GOTPAGEOFF]
Lloh13:
	ldr	w12, [x12]
	orr	w11, w11, w12
	cmp	w8, w11
	b.ne	LBB0_2
; %bb.1:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_uprintf
Lloh16:
	adrp	x8, _QWERSTENO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _QWERSTENO@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #0
	cset	w9, eq
	str	w9, [x8]
	b	LBB0_15
LBB0_2:
Lloh18:
	adrp	x11, _RD@GOTPAGE
Lloh19:
	ldr	x11, [x11, _RD@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	orr	w11, w11, w9
Lloh21:
	adrp	x12, _RZ@GOTPAGE
Lloh22:
	ldr	x12, [x12, _RZ@GOTPAGEOFF]
Lloh23:
	ldr	w12, [x12]
	orr	w11, w11, w12
	cmp	w8, w11
	b.ne	LBB0_8
; %bb.3:
Lloh24:
	adrp	x0, l_.str.1@PAGE
Lloh25:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_uprintf
Lloh26:
	adrp	x8, _cMode@GOTPAGE
Lloh27:
	ldr	x8, [x8, _cMode@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh28:
	adrp	x10, _COMMAND@GOTPAGE
Lloh29:
	ldr	x10, [x10, _COMMAND@GOTPAGEOFF]
Lloh30:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_13
; %bb.4:
Lloh31:
	adrp	x9, _pMode@GOTPAGE
Lloh32:
	ldr	x9, [x9, _pMode@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	str	x9, [x8]
Lloh34:
	adrp	x20, _CMDLEN@GOTPAGE
Lloh35:
	ldr	x20, [x20, _CMDLEN@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x21, #0
Lloh36:
	adrp	x22, _CMDBUF@GOTPAGE
Lloh37:
	ldr	x22, [x22, _CMDBUF@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w0, [x8, x21, lsl #2]
	bl	_register_code
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_6
LBB0_7:
	bl	_clear_keyboard
	b	LBB0_15
LBB0_8:
Lloh38:
	adrp	x11, _ST4@GOTPAGE
Lloh39:
	ldr	x11, [x11, _ST4@GOTPAGEOFF]
Lloh40:
	ldr	w11, [x11]
	orr	w11, w11, w9
Lloh41:
	adrp	x12, _ST3@GOTPAGE
Lloh42:
	ldr	x12, [x12, _ST3@GOTPAGEOFF]
Lloh43:
	ldr	w12, [x12]
	orr	w11, w11, w12
Lloh44:
	adrp	x12, _keymapsCount@GOTPAGE
Lloh45:
	ldr	x12, [x12, _keymapsCount@GOTPAGEOFF]
Lloh46:
	ldr	w12, [x12]
	cmp	w8, w11
	ccmp	w12, #2, #8, eq
	b.ge	LBB0_14
; %bb.9:
Lloh47:
	adrp	x12, _cMode@GOTPAGE
Lloh48:
	ldr	x12, [x12, _cMode@GOTPAGEOFF]
	ldr	x11, [x12]
	cmp	w8, w10
	b.ne	LBB0_17
; %bb.10:
Lloh49:
	adrp	x8, _STENO@GOTPAGE
Lloh50:
	ldr	x8, [x8, _STENO@GOTPAGEOFF]
Lloh51:
	ldr	x8, [x8]
	cmp	x11, x8
	b.ne	LBB0_12
; %bb.11:
Lloh52:
	adrp	x8, _QWERTY@GOTPAGE
Lloh53:
	ldr	x8, [x8, _QWERTY@GOTPAGEOFF]
Lloh54:
	ldr	x8, [x8]
LBB0_12:
	str	x8, [x12]
	b	LBB0_15
LBB0_13:
Lloh55:
	adrp	x11, _CMDLEN@GOTPAGE
Lloh56:
	ldr	x11, [x11, _CMDLEN@GOTPAGEOFF]
Lloh57:
	str	wzr, [x11]
Lloh58:
	adrp	x11, _pMode@GOTPAGE
Lloh59:
	ldr	x11, [x11, _pMode@GOTPAGEOFF]
Lloh60:
	str	x9, [x11]
	str	x10, [x8]
	b	LBB0_15
LBB0_14:
Lloh61:
	adrp	x0, l_.str.2@PAGE
Lloh62:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_uprintf
	mov	w0, #1
	bl	_layer_on
LBB0_15:
	str	wzr, [x19]
Lloh63:
	adrp	x8, _inChord@GOTPAGE
Lloh64:
	ldr	x8, [x8, _inChord@GOTPAGEOFF]
Lloh65:
	str	wzr, [x8]
Lloh66:
	adrp	x8, _chordIndex@GOTPAGE
Lloh67:
	ldr	x8, [x8, _chordIndex@GOTPAGEOFF]
Lloh68:
	str	xzr, [x8]
	bl	_clear_keyboard
Lloh69:
	adrp	x8, _repEngaged@GOTPAGE
Lloh70:
	ldr	x8, [x8, _repEngaged@GOTPAGEOFF]
Lloh71:
	str	wzr, [x8]
Lloh72:
	adrp	x8, _chordState@GOTPAGE
Lloh73:
	ldr	x8, [x8, _chordState@GOTPAGEOFF]
Lloh74:
	ldr	x0, [x8]
Lloh75:
	adrp	x1, l_.memset_pattern@PAGE
Lloh76:
	add	x1, x1, l_.memset_pattern@PAGEOFF
	mov	w2, #128
	bl	_memset_pattern16
	mov	w0, #0
LBB0_16:
	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_17:
Lloh77:
	adrp	x12, _QWERTY@GOTPAGE
Lloh78:
	ldr	x12, [x12, _QWERTY@GOTPAGEOFF]
Lloh79:
	ldr	x12, [x12]
	cmp	x11, x12
	b.ne	LBB0_20
; %bb.18:
	and	w10, w10, w8
	cbz	w10, LBB0_20
LBB0_19:
Lloh80:
	adrp	x8, _inChord@GOTPAGE
Lloh81:
	ldr	x8, [x8, _inChord@GOTPAGEOFF]
Lloh82:
	str	wzr, [x8]
Lloh83:
	adrp	x8, _chordIndex@GOTPAGE
Lloh84:
	ldr	x8, [x8, _chordIndex@GOTPAGEOFF]
Lloh85:
	str	xzr, [x8]
	str	wzr, [x19]
	mov	w0, #1
	b	LBB0_16
LBB0_20:
	cmp	x11, x12
	b.eq	LBB0_26
; %bb.21:
Lloh86:
	adrp	x10, _COMMAND@GOTPAGE
Lloh87:
	ldr	x10, [x10, _COMMAND@GOTPAGEOFF]
Lloh88:
	ldr	x10, [x10]
	cmp	x11, x10
	b.eq	LBB0_26
; %bb.22:
	and	w8, w9, w8
	cbnz	w8, LBB0_26
; %bb.23:
Lloh89:
	adrp	x8, _STENO@GOTPAGE
Lloh90:
	ldr	x8, [x8, _STENO@GOTPAGEOFF]
Lloh91:
	ldr	x8, [x8]
	cmp	x11, x8
	b.ne	LBB0_19
; %bb.24:
Lloh92:
	adrp	x8, _QWERSTENO@GOTPAGE
Lloh93:
	ldr	x8, [x8, _QWERSTENO@GOTPAGEOFF]
Lloh94:
	ldr	w8, [x8]
	cbz	w8, LBB0_19
; %bb.25:
	mov	w0, #1
	b	LBB0_27
LBB0_26:
	mov	w0, #0
LBB0_27:
	bl	_processChord
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotStr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotStr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotStr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotStr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotStr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotStr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotStr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.cfi_endproc
                                        ; -- End function
	.comm	_cChord,4,2                     ; @cChord
	.comm	_PWR,4,2                        ; @PWR
	.comm	_FN,4,2                         ; @FN
	.comm	_ST1,4,2                        ; @ST1
	.comm	_ST2,4,2                        ; @ST2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Fallback Toggle\n"

	.comm	_QWERSTENO,4,2                  ; @QWERSTENO
	.comm	_RD,4,2                         ; @RD
	.comm	_RZ,4,2                         ; @RZ
l_.str.1:                               ; @.str.1
	.asciz	"COMMAND Toggle\n"

	.comm	_cMode,8,3                      ; @cMode
	.comm	_COMMAND,8,3                    ; @COMMAND
	.comm	_CMDLEN,4,2                     ; @CMDLEN
	.comm	_pMode,8,3                      ; @pMode
	.comm	_CMDBUF,8,3                     ; @CMDBUF
	.comm	_ST4,4,2                        ; @ST4
	.comm	_ST3,4,2                        ; @ST3
	.comm	_keymapsCount,4,2               ; @keymapsCount
l_.str.2:                               ; @.str.2
	.asciz	"Switching to QMK\n"

	.comm	_STENO,8,3                      ; @STENO
	.comm	_QWERTY,8,3                     ; @QWERTY
	.comm	_inChord,4,2                    ; @inChord
	.comm	_chordIndex,8,3                 ; @chordIndex
	.comm	_repEngaged,4,2                 ; @repEngaged
	.comm	_chordState,8,3                 ; @chordState
	.comm	_inMouse,4,2                    ; @inMouse
	.comm	_mousePress,4,2                 ; @mousePress
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; @.memset_pattern
l_.memset_pattern:
	.long	65535                           ; 0xffff
	.long	65535                           ; 0xffff
	.long	65535                           ; 0xffff
	.long	65535                           ; 0xffff

.subsections_via_symbols
