	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GetNextCommand
_GetNextCommand:                        ## @GetNextCommand
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_MetaNext@GOTPCREL(%rip), %r14
	movq	_F_XKEY@GOTPCREL(%rip), %r15
	movq	_AltKeyMap@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_GetNextChar
	cmpl	$1, %eax
	jne	LBB0_18
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, (%r14)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	$0, (%r14)
	movl	(%r13), %edi
	movq	_META@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movl	%edi, (%r13)
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r13), %edi
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	callq	_GetCmdChar
	movq	%rax, %rbx
	cmpq	(%r15), %rax
	jne	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, -80(%rbp)
	movl	$1, -72(%rbp)
	leaq	-80(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_GetXkey
	cmpl	$128, %eax
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$129, %eax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$130, %eax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rbx
	cmpl	$0, (%r12)
	jne	LBB0_15
	jmp	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-56(%rbp), %edi
	callq	_PushMacro
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, (%r12)
	je	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	testq	%rbx, %rbx
	jne	LBB0_16
	jmp	LBB0_1
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-56(%rbp), %edi
	callq	_RunCommand
	cmpl	$0, (%r12)
	jne	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_CcKeyMap@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_CurrentKeyMap@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testq	%rbx, %rbx
	je	LBB0_1
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpq	(%r15), %rbx
	je	LBB0_1
## %bb.17:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	movq	_OKCMD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_18:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_F_XKEY,8,3                     ## @F_XKEY
	.comm	_MetaNext,8,3                   ## @MetaNext
	.comm	_META,4,2                       ## @META
	.comm	_AltKeyMap,4,2                  ## @AltKeyMap
	.comm	_CcKeyMap,4,2                   ## @CcKeyMap
	.comm	_CurrentKeyMap,4,2              ## @CurrentKeyMap
	.comm	_OKCMD,4,2                      ## @OKCMD
	.comm	_F_INSERT,8,3                   ## @F_INSERT
	.comm	_MB_LEN_MAX,4,2                 ## @MB_LEN_MAX
	.comm	_STRnokanji,4,2                 ## @STRnokanji
	.comm	__enable_mbdisp,8,3             ## @_enable_mbdisp
	.no_dead_strip	_GetNextCommand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GetNextCommand
_GetNextCommand:                        ; @GetNextCommand
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _MetaNext@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MetaNext@GOTPAGEOFF]
Lloh2:
	adrp	x23, _F_XKEY@GOTPAGE
Lloh3:
	ldr	x23, [x23, _F_XKEY@GOTPAGEOFF]
	mov	w24, #1
Lloh4:
	adrp	x25, _AltKeyMap@GOTPAGE
Lloh5:
	ldr	x25, [x25, _AltKeyMap@GOTPAGEOFF]
Lloh6:
	adrp	x26, _CcKeyMap@GOTPAGE
Lloh7:
	ldr	x26, [x26, _CcKeyMap@GOTPAGEOFF]
Lloh8:
	adrp	x27, _CurrentKeyMap@GOTPAGE
Lloh9:
	ldr	x27, [x27, _CurrentKeyMap@GOTPAGEOFF]
Lloh10:
	adrp	x28, _META@GOTPAGE
Lloh11:
	ldr	x28, [x28, _META@GOTPAGEOFF]
	b	LBB0_4
LBB0_1:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [sp, #24]
	bl	_PushMacro
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x25]
	cbz	w8, LBB0_13
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	cmp	x21, #0
	ccmp	x21, x8, #4, ne
	b.ne	LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_GetNextChar
	cmp	w0, #1
	b.ne	LBB0_16
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22]
	cbz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x22]
	ldr	w8, [x28]
	ldr	w9, [x20]
	orr	w0, w9, w8
	str	w0, [x20]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x20]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_GetCmdChar
	mov	x21, x0
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x20, [sp]
	str	w24, [sp, #8]
	mov	x0, sp
	add	x1, sp, #16
	bl	_GetXkey
	cmp	w0, #128
	b.eq	LBB0_1
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #129
	b.eq	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #130
	b.ne	LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [sp, #16]
	b	LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x26]
	str	w8, [x27]
	b	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [sp, #24]
	bl	_RunCommand
	b	LBB0_2
LBB0_15:
	str	x21, [x19]
Lloh12:
	adrp	x8, _OKCMD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OKCMD@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
LBB0_16:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_17:
	bl	_abort
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_F_XKEY,8,3                     ; @F_XKEY
	.comm	_MetaNext,8,3                   ; @MetaNext
	.comm	_META,4,2                       ; @META
	.comm	_AltKeyMap,4,2                  ; @AltKeyMap
	.comm	_CcKeyMap,4,2                   ; @CcKeyMap
	.comm	_CurrentKeyMap,4,2              ; @CurrentKeyMap
	.comm	_OKCMD,4,2                      ; @OKCMD
	.comm	_F_INSERT,8,3                   ; @F_INSERT
	.comm	_MB_LEN_MAX,4,2                 ; @MB_LEN_MAX
	.comm	_STRnokanji,4,2                 ; @STRnokanji
	.comm	__enable_mbdisp,8,3             ; @_enable_mbdisp
	.no_dead_strip	_GetNextCommand
.subsections_via_symbols
