	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetNextChar                    ## -- Begin function GetNextChar
	.p2align	4, 0x90
_GetNextChar:                           ## @GetNextChar
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_haveungetchar@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.3:
	movq	$0, (%rax)
	movq	_ungetchar@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, (%rdi)
	jmp	LBB0_7
LBB0_1:
	movq	_KeyMacro@GOTPCREL(%rip), %r8
	movq	(%r8), %r10
	movq	_MacroLvl@GOTPCREL(%rip), %r9
	movq	(%r9), %rax
	movq	(%r10,%rax,8), %rcx
	movq	(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.2:
	movq	%rax, %rdx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%rax), %rdx
	movq	%rdx, (%r9)
	movq	-8(%r10,%rax,8), %rcx
	movq	(%rcx), %rsi
	movq	%rdx, %rax
	testq	%rsi, %rsi
	je	LBB0_4
LBB0_5:
	addq	$8, %rcx
	movq	%rcx, (%r10,%rdx,8)
	movq	_CHAR@GOTPCREL(%rip), %rax
	andb	(%rax), %sil
	movb	%sil, (%rdi)
	movq	(%r8), %rcx
	movq	(%r9), %rax
	movq	(%rcx,%rax,8), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_7
## %bb.6:
	decq	%rax
	movq	%rax, (%r9)
LBB0_7:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MB_LEN_MAX,4,2                 ## @MB_LEN_MAX
	.comm	_haveungetchar,8,3              ## @haveungetchar
	.comm	_ungetchar,1,0                  ## @ungetchar
	.comm	_MacroLvl,8,3                   ## @MacroLvl
	.comm	_KeyMacro,8,3                   ## @KeyMacro
	.comm	_CHAR,1,0                       ## @CHAR
	.comm	_SHIN,4,2                       ## @SHIN
	.comm	_errno,4,2                      ## @errno
	.comm	_CurrentKeyMap,8,3              ## @CurrentKeyMap
	.comm	_F_XKEY,8,3                     ## @F_XKEY
	.comm	_MB_CUR_MAX,8,3                 ## @MB_CUR_MAX
	.comm	_INVALID_BYTE,1,0               ## @INVALID_BYTE
	.comm	_ERR_SYSTEM,4,2                 ## @ERR_SYSTEM
	.comm	___nt_vcode,1,0                 ## @__nt_vcode
	.comm	___nt_want_vcode,4,2            ## @__nt_want_vcode
	.comm	_progname,4,2                   ## @progname
	.comm	_windowchg,8,3                  ## @windowchg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetNextChar                    ; -- Begin function GetNextChar
	.p2align	2
_GetNextChar:                           ; @GetNextChar
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _haveungetchar@GOTPAGE
Lloh1:
	ldr	x8, [x8, _haveungetchar@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_2
; %bb.1:
	str	xzr, [x8]
Lloh2:
	adrp	x8, _ungetchar@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ungetchar@GOTPAGEOFF]
	ldrb	w8, [x8]
	strb	w8, [x0]
	mov	w0, #1
	ret
LBB0_2:
Lloh4:
	adrp	x9, _KeyMacro@GOTPAGE
Lloh5:
	ldr	x9, [x9, _KeyMacro@GOTPAGEOFF]
	ldr	x10, [x9]
Lloh6:
	adrp	x8, _MacroLvl@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MacroLvl@GOTPAGEOFF]
	ldr	x11, [x8]
	ldr	x13, [x10, x11, lsl #3]
	ldr	x12, [x13]
	cbnz	x12, LBB0_5
; %bb.3:
	sub	x14, x10, #8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x14, x11, lsl #3]
	sub	x11, x11, #1
	str	x11, [x8]
	ldr	x12, [x13]
	cbz	x12, LBB0_4
LBB0_5:
	add	x13, x13, #8
	str	x13, [x10, x11, lsl #3]
Lloh8:
	adrp	x10, _CHAR@GOTPAGE
Lloh9:
	ldr	x10, [x10, _CHAR@GOTPAGEOFF]
	ldrb	w10, [x10]
	and	w10, w10, w12
	strb	w10, [x0]
	ldr	x10, [x9]
	ldr	x9, [x8]
	ldr	x10, [x10, x9, lsl #3]
	ldr	x10, [x10]
	cbz	x10, LBB0_7
; %bb.6:
	mov	w0, #1
	ret
LBB0_7:
	sub	x9, x9, #1
	str	x9, [x8]
	mov	w0, #1
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MB_LEN_MAX,4,2                 ; @MB_LEN_MAX
	.comm	_haveungetchar,8,3              ; @haveungetchar
	.comm	_ungetchar,1,0                  ; @ungetchar
	.comm	_MacroLvl,8,3                   ; @MacroLvl
	.comm	_KeyMacro,8,3                   ; @KeyMacro
	.comm	_CHAR,1,0                       ; @CHAR
	.comm	_SHIN,4,2                       ; @SHIN
	.comm	_errno,4,2                      ; @errno
	.comm	_CurrentKeyMap,8,3              ; @CurrentKeyMap
	.comm	_F_XKEY,8,3                     ; @F_XKEY
	.comm	_MB_CUR_MAX,8,3                 ; @MB_CUR_MAX
	.comm	_INVALID_BYTE,1,0               ; @INVALID_BYTE
	.comm	_ERR_SYSTEM,4,2                 ; @ERR_SYSTEM
	.comm	___nt_vcode,1,0                 ; @__nt_vcode
	.comm	___nt_want_vcode,4,2            ; @__nt_want_vcode
	.comm	_progname,4,2                   ; @progname
	.comm	_windowchg,8,3                  ; @windowchg
.subsections_via_symbols
