	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v_event_get                    ## -- Begin function v_event_get
	.p2align	4, 0x90
_v_event_get:                           ## @v_event_get
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	(%rdi), %r12
	testq	%rsi, %rsi
	leaq	-152(%rbp), %rax
	movq	%rsi, %r14
	cmoveq	%rax, %r14
	movq	_G_SCRWIN@GOTPCREL(%rip), %r15
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%r12)
	je	LBB0_4
LBB0_1:
	movq	_EC_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LF_ISSET
	testl	%eax, %eax
	jne	LBB0_56
## %bb.2:
	cmpq	$0, (%r12)
	je	LBB0_4
## %bb.3:
	movq	_EC_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EC_INTERRUPT@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_LF_ISSET
	testl	%eax, %eax
	je	LBB0_33
LBB0_4:
	movl	(%r15), %esi
	movq	%r12, %rdi
	callq	_F_ISSET
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r13, %rdi
	callq	_sscr_input
	testq	%rax, %rax
	jne	LBB0_55
LBB0_6:
	movq	24(%r12), %r15
	movq	_EC_QUOTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EC_INTERRUPT@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_EC_RAW@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_LF_ISSET
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	callq	*%r15
	movl	$1, %r15d
	testq	%rax, %rax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_57
	.p2align	4, 0x90
## %bb.7:
	movl	(%r14), %eax
	leal	-128(%rax), %ecx
	cmpl	$4, %ecx
	ja	LBB0_10
## %bb.8:
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_9:
	movq	(%r13), %rdi
	movq	_G_INTERRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_F_SET
	movq	_EC_INTERRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LF_ISSET
	testl	%eax, %eax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_56
LBB0_10:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_v_event_append
	movb	$1, %cl
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jne	LBB0_57
LBB0_11:
	movq	_EC_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EC_INTERRUPT@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_LF_ISSET
	xorl	%r15d, %r15d
	testl	%eax, %eax
	jne	LBB0_57
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %r15
	movq	16(%r12), %rbx
	imulq	$56, 8(%r12), %r13
	leaq	(%rbx,%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%rbx,%r13), %eax
	movq	_E_CHARACTER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_46
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpb	$0, -64(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_45
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	leaq	(%rbx,%r13), %rdi
	addq	$16, %rdi
	movq	_CH_NOMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_F_ISSET
	testq	%rax, %rax
	jne	LBB0_45
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_EC_MAPINPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EC_MAPCOMMAND@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_LF_ISSET
	testl	%eax, %eax
	je	LBB0_45
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	4(%rbx,%r13), %esi
	movq	_MAX_BIT_SEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	testl	%eax, %esi
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	32(%r12), %edi
	callq	_bit_test
	testl	%eax, %eax
	je	LBB0_45
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r12), %r14
	movq	_EC_MAPCOMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LF_ISSET
	movq	_SEQ_COMMAND@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_SEQ_INPUT@GOTPCREL(%rip), %rcx
LBB0_20:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	(%rcx), %r9d
	leaq	-84(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_seq_find
	cmpl	$0, -84(%rbp)
	jne	LBB0_34
## %bb.21:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_45
## %bb.22:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_EC_MAPNODIGIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LF_ISSET
	testl	%eax, %eax
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	(%rax), %edi
	callq	_ISDIGIT
	testl	%eax, %eax
	je	LBB0_48
LBB0_25:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	imulq	$56, 8(%rax), %rsi
	movq	(%r12), %rdi
	addq	16(%rax), %rsi
	movl	8(%r12), %edx
	callq	_e_memcmp
	movl	%eax, %r14d
	movl	8(%r12), %edi
	callq	_QREM
	cmpq	$0, (%r12)
	je	LBB0_38
## %bb.26:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_O_REMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %r13
	movq	%r15, %rdi
	callq	_O_ISSET
	testq	%rax, %rax
	je	LBB0_41
## %bb.27:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	leal	1(%rdx), %ebx
	testl	%edx, %edx
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_12 Depth=1
	movslq	%ebx, %rax
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$34, %rax
	addl	%ecx, %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	negl	%eax
	addl	%edx, %eax
	incl	%eax
	testl	%eax, %eax
	jne	LBB0_31
LBB0_29:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_EC_INTERRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	leaq	-152(%rbp), %rsi
	xorl	%ecx, %ecx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	callq	*24(%rax)
	testq	%rax, %rax
	jne	LBB0_50
## %bb.30:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpl	$131, -152(%rbp)
	je	LBB0_50
LBB0_31:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r12), %rdx
	testl	%r14d, %r14d
	je	LBB0_42
## %bb.32:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	12(%r12), %ecx
	movq	_CH_MAPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_v_event_push
                                        ## kill: def $ebx killed $ebx def $rbx
	testq	%rax, %rax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_12
	jmp	LBB0_55
LBB0_33:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movb	$1, %al
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	jmp	LBB0_11
LBB0_34:
	movq	_O_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_O_ISSET
	testq	%rax, %rax
	je	LBB0_39
## %bb.35:
	movq	8(%rbx,%r13), %rcx
	movq	_O_KEYTIME@GOTPCREL(%rip), %rax
	movq	_K_ESCAPE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_37
## %bb.36:
	movq	_O_ESCAPETIME@GOTPCREL(%rip), %rax
LBB0_37:
	movl	(%rax), %esi
	movq	%r15, %r13
	movq	%r15, %rdi
	callq	_O_VAL
	imull	$100, %eax, %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_40
LBB0_38:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r15, %r13
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	_G_SCRWIN@GOTPCREL(%rip), %r15
	cmpq	$0, (%r12)
	jne	LBB0_1
	jmp	LBB0_4
LBB0_39:
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r15, %r13
LBB0_40:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_6
LBB0_55:
	movl	$1, %r15d
	jmp	LBB0_57
LBB0_41:
	movq	(%r12), %rdx
	movl	12(%r12), %ecx
	movq	_CH_NOMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_CH_MAPPED@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_v_event_push
	movl	$1, %r15d
	testq	%rax, %rax
	jne	LBB0_57
	jmp	LBB0_45
LBB0_42:
	movslq	8(%r12), %rax
	leaq	(%rdx,%rax,4), %rdx
	movl	12(%r12), %ecx
	subl	%eax, %ecx
	movq	_CH_MAPPED@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r8d
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_v_event_push
	movl	$1, %r15d
	testq	%rax, %rax
	jne	LBB0_57
## %bb.43:
	movq	(%r12), %rdx
	movl	8(%r12), %ecx
	movl	(%rbx), %r8d
	movq	_CH_NOMAP@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_v_event_push
	testq	%rax, %rax
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	jne	LBB0_57
## %bb.44:
	imulq	$56, 8(%rax), %rcx
	addq	16(%rax), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
LBB0_45:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	callq	_ISDIGIT
	testl	%eax, %eax
	je	LBB0_47
LBB0_46:
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	48(%rdx), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 48(%rcx)
	movups	(%rdx), %xmm0
	movups	16(%rdx), %xmm1
	movups	32(%rdx), %xmm2
	movups	%xmm2, 32(%rcx)
	movups	%xmm1, 16(%rcx)
	movups	%xmm0, (%rcx)
	movl	$1, %edi
	callq	_QREM
LBB0_56:
	xorl	%r15d, %r15d
	jmp	LBB0_57
LBB0_47:
	movq	_EC_MAPNODIGIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LF_ISSET
	testl	%eax, %eax
	je	LBB0_46
LBB0_48:
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	leaq	16(%rdx), %rax
	testq	%rdx, %rdx
	movq	_CH_NOT_DIGIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-152(%rbp), %rsi
	cmovneq	%rdx, %rsi
	movl	%ecx, 4(%rsi)
	movq	_K_NOTUSED@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 8(%rsi)
	movq	_E_CHARACTER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%ecx, (%rdx)
	leaq	-136(%rbp), %rdi
	cmovneq	%rax, %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_F_INIT
LBB0_57:
	movl	%r15d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_50:
	movq	(%r13), %rdi
	movq	_G_INTERRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_F_SET
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$131, (%rax)
	jmp	LBB0_56
LBB0_51:
	movq	_RCV_ENDSESSION@GOTPCREL(%rip), %rcx
	movq	_RCV_PRESERVE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	xorl	%ecx, %ecx
	cmpl	$129, %eax
	je	LBB0_53
## %bb.52:
	movq	_RCV_EMAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_53:
	orl	%ecx, %esi
	movq	%r13, %rdi
	callq	_v_sync
	jmp	LBB0_57
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_51, LBB0_51-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_51
	.long	L0_0_set_51
	.long	L0_0_set_9
	.long	L0_0_set_51
	.end_data_region
                                        ## -- End function
	.comm	_EC_TIMEOUT,4,2                 ## @EC_TIMEOUT
	.comm	_EC_INTERRUPT,4,2               ## @EC_INTERRUPT
	.comm	_G_SCRWIN,4,2                   ## @G_SCRWIN
	.comm	_EC_QUOTED,4,2                  ## @EC_QUOTED
	.comm	_EC_RAW,4,2                     ## @EC_RAW
	.comm	_RCV_ENDSESSION,4,2             ## @RCV_ENDSESSION
	.comm	_RCV_PRESERVE,4,2               ## @RCV_PRESERVE
	.comm	_RCV_EMAIL,4,2                  ## @RCV_EMAIL
	.comm	_G_INTERRUPTED,4,2              ## @G_INTERRUPTED
	.comm	_E_CHARACTER,4,2                ## @E_CHARACTER
	.comm	_CH_NOMAP,4,2                   ## @CH_NOMAP
	.comm	_EC_MAPCOMMAND,4,2              ## @EC_MAPCOMMAND
	.comm	_EC_MAPINPUT,4,2                ## @EC_MAPINPUT
	.comm	_MAX_BIT_SEQ,4,2                ## @MAX_BIT_SEQ
	.comm	_SEQ_COMMAND,4,2                ## @SEQ_COMMAND
	.comm	_SEQ_INPUT,4,2                  ## @SEQ_INPUT
	.comm	_O_TIMEOUT,4,2                  ## @O_TIMEOUT
	.comm	_K_ESCAPE,8,3                   ## @K_ESCAPE
	.comm	_O_ESCAPETIME,4,2               ## @O_ESCAPETIME
	.comm	_O_KEYTIME,4,2                  ## @O_KEYTIME
	.comm	_EC_MAPNODIGIT,4,2              ## @EC_MAPNODIGIT
	.comm	_CH_NOT_DIGIT,4,2               ## @CH_NOT_DIGIT
	.comm	_K_NOTUSED,8,3                  ## @K_NOTUSED
	.comm	_O_REMAP,4,2                    ## @O_REMAP
	.comm	_CH_MAPPED,4,2                  ## @CH_MAPPED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v_event_get                    ; -- Begin function v_event_get
	.p2align	2
_v_event_get:                           ; @v_event_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	str	w2, [sp, #20]                   ; 4-byte Folded Spill
	mov	x23, x1
	mov	x21, x0
Lloh0:
	adrp	x20, _G_SCRWIN@GOTPAGE
Lloh1:
	ldr	x20, [x20, _G_SCRWIN@GOTPAGEOFF]
	ldr	x22, [x0]
Lloh2:
	adrp	x26, _EC_INTERRUPT@GOTPAGE
Lloh3:
	ldr	x26, [x26, _EC_INTERRUPT@GOTPAGEOFF]
	add	x8, sp, #40
Lloh4:
	adrp	x24, _EC_QUOTED@GOTPAGE
Lloh5:
	ldr	x24, [x24, _EC_QUOTED@GOTPAGEOFF]
	cmp	x1, #0
	csel	x25, x8, x1, eq
Lloh6:
	adrp	x27, _G_INTERRUPTED@GOTPAGE
Lloh7:
	ldr	x27, [x27, _G_INTERRUPTED@GOTPAGEOFF]
	mov	w28, #56
Lloh8:
	adrp	x19, _CH_MAPPED@GOTPAGE
Lloh9:
	ldr	x19, [x19, _CH_MAPPED@GOTPAGEOFF]
	str	x25, [sp, #24]                  ; 8-byte Folded Spill
	ldr	x8, [x22]
	cbz	x8, LBB0_4
LBB0_1:
Lloh10:
	adrp	x8, _EC_TIMEOUT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EC_TIMEOUT@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_LF_ISSET
	cbnz	w0, LBB0_46
; %bb.2:
	ldr	x8, [x22]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w8, [x26]
Lloh13:
	adrp	x9, _EC_TIMEOUT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _EC_TIMEOUT@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_LF_ISSET
	cbz	w0, LBB0_32
LBB0_4:
	ldr	w1, [x20]
	mov	x0, x22
	bl	_F_ISSET
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x21
	bl	_sscr_input
	cbnz	x0, LBB0_49
LBB0_6:
	mov	w20, #0
LBB0_7:
	str	x23, [sp, #8]                   ; 8-byte Folded Spill
	ldr	x23, [x22, #24]
	ldr	w8, [x26]
	ldr	w9, [x24]
	orr	w8, w9, w8
Lloh16:
	adrp	x9, _EC_RAW@GOTPAGE
Lloh17:
	ldr	x9, [x9, _EC_RAW@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w0, w8, w9
	bl	_LF_ISSET
	mov	x2, x0
	mov	x0, x21
	mov	x1, x25
	ldr	w3, [sp, #20]                   ; 4-byte Folded Reload
	blr	x23
	cbnz	x0, LBB0_49
; %bb.8:
	ldr	w8, [x25]
	sub	w9, w8, #128
	cmp	w9, #4
	b.hi	LBB0_11
; %bb.9:
	mov	w24, #0
Lloh19:
	adrp	x12, lJTI0_0@PAGE
Lloh20:
	add	x12, x12, lJTI0_0@PAGEOFF
	adr	x10, LBB0_10
	ldrh	w11, [x12, x9, lsl #1]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_10:
	ldr	x0, [x21]
	ldr	w1, [x27]
	bl	_F_SET
	ldr	w0, [x26]
	bl	_LF_ISSET
	cbnz	w0, LBB0_46
LBB0_11:
	mov	x0, x21
	mov	x1, x25
	bl	_v_event_append
	mov	w24, #1
	cbnz	w0, LBB0_50
LBB0_12:
	ldr	w8, [x26]
Lloh21:
	adrp	x9, _EC_TIMEOUT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _EC_TIMEOUT@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_LF_ISSET
	cbnz	w0, LBB0_46
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldp	x23, x27, [x22, #8]
	madd	x25, x23, x28, x27
	ldr	w8, [x25]
Lloh24:
	adrp	x9, _E_CHARACTER@GOTPAGE
Lloh25:
	ldr	x9, [x9, _E_CHARACTER@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_43
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	cbz	w24, LBB0_42
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	madd	x8, x23, x28, x27
	add	x0, x8, #16
Lloh27:
	adrp	x8, _CH_NOMAP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CH_NOMAP@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	bl	_F_ISSET
	cbnz	x0, LBB0_42
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
Lloh30:
	adrp	x8, _EC_MAPCOMMAND@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EC_MAPCOMMAND@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _EC_MAPINPUT@GOTPAGE
Lloh34:
	ldr	x9, [x9, _EC_MAPINPUT@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_LF_ISSET
	cbz	w0, LBB0_42
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	madd	x8, x23, x28, x27
	ldr	w1, [x8, #4]
Lloh36:
	adrp	x8, _MAX_BIT_SEQ@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MAX_BIT_SEQ@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	bics	wzr, w1, w8
	b.ne	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x22, #32]
	bl	_bit_test
	cbz	w0, LBB0_42
LBB0_19:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x26, [x22]
Lloh39:
	adrp	x8, _EC_MAPCOMMAND@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EC_MAPCOMMAND@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	bl	_LF_ISSET
	cmp	w0, #0
Lloh42:
	adrp	x8, _SEQ_COMMAND@GOTPAGE
Lloh43:
	ldr	x8, [x8, _SEQ_COMMAND@GOTPAGEOFF]
Lloh44:
	adrp	x9, _SEQ_INPUT@GOTPAGE
Lloh45:
	ldr	x9, [x9, _SEQ_INPUT@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w5, [x8]
	add	x6, sp, #36
	mov	x0, x21
	mov	x1, #0
	mov	x2, x25
	mov	x3, #0
	mov	x4, x26
	bl	_seq_find
	ldr	w8, [sp, #36]
	cbnz	w8, LBB0_33
; %bb.20:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x26, x0
	cbz	x0, LBB0_42
; %bb.21:                               ;   in Loop: Header=BB0_13 Depth=1
Lloh46:
	adrp	x8, _EC_MAPNODIGIT@GOTPAGE
Lloh47:
	ldr	x8, [x8, _EC_MAPNODIGIT@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	bl	_LF_ISSET
	cbz	w0, LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x26]
	cbz	x8, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x8]
	bl	_ISDIGIT
	cbz	w0, LBB0_45
LBB0_24:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x0, [x26]
	ldp	x9, x8, [x22, #8]
	madd	x1, x9, x28, x8
	ldr	w2, [x26, #8]
	bl	_e_memcmp
	mov	x27, x0
	ldr	w0, [x26, #8]
	bl	_QREM
	ldr	x8, [x26]
	cbz	x8, LBB0_35
; %bb.25:                               ;   in Loop: Header=BB0_13 Depth=1
Lloh49:
	adrp	x8, _O_REMAP@GOTPAGE
Lloh50:
	ldr	x8, [x8, _O_REMAP@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_O_ISSET
	cbz	x0, LBB0_38
; %bb.26:                               ;   in Loop: Header=BB0_13 Depth=1
	cbz	w20, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_13 Depth=1
	add	w8, w20, #1
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	smull	x9, w8, w9
	lsr	x10, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w10
	mov	w10, #10
	msub	w8, w9, w10, w8
	cbnz	w8, LBB0_30
LBB0_28:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x22, #24]
Lloh52:
	adrp	x9, _EC_INTERRUPT@GOTPAGE
Lloh53:
	ldr	x9, [x9, _EC_INTERRUPT@GOTPAGEOFF]
Lloh54:
	ldr	w2, [x9]
	add	x1, sp, #40
	mov	x0, x21
	mov	w3, #0
	blr	x8
	cbnz	x0, LBB0_47
; %bb.29:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [sp, #40]
	cmp	w8, #131
	b.eq	LBB0_47
LBB0_30:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x2, [x26]
	cbz	w27, LBB0_39
; %bb.31:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w3, [x26, #12]
	ldr	w4, [x19]
	mov	x0, x21
	mov	x1, #0
	bl	_v_event_push
	add	w20, w20, #1
	cbz	x0, LBB0_13
	b	LBB0_49
LBB0_32:
	str	x23, [sp, #8]                   ; 8-byte Folded Spill
	mov	w20, #0
	mov	w24, #1
	b	LBB0_12
LBB0_33:
Lloh55:
	adrp	x8, _O_TIMEOUT@GOTPAGE
Lloh56:
	ldr	x8, [x8, _O_TIMEOUT@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_O_ISSET
	cbz	x0, LBB0_36
; %bb.34:
	madd	x8, x23, x28, x27
	ldr	x8, [x8, #8]
Lloh58:
	adrp	x9, _K_ESCAPE@GOTPAGE
Lloh59:
	ldr	x9, [x9, _K_ESCAPE@GOTPAGEOFF]
Lloh60:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh61:
	adrp	x8, _O_ESCAPETIME@GOTPAGE
Lloh62:
	ldr	x8, [x8, _O_ESCAPETIME@GOTPAGEOFF]
Lloh63:
	adrp	x9, _O_KEYTIME@GOTPAGE
Lloh64:
	ldr	x9, [x9, _O_KEYTIME@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	mov	x0, x21
	bl	_O_VAL
	mov	w8, #100
	mul	w8, w0, w8
	b	LBB0_37
LBB0_35:
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x25, [sp, #24]                  ; 8-byte Folded Reload
Lloh65:
	adrp	x20, _G_SCRWIN@GOTPAGE
Lloh66:
	ldr	x20, [x20, _G_SCRWIN@GOTPAGEOFF]
Lloh67:
	adrp	x26, _EC_INTERRUPT@GOTPAGE
Lloh68:
	ldr	x26, [x26, _EC_INTERRUPT@GOTPAGEOFF]
Lloh69:
	adrp	x24, _EC_QUOTED@GOTPAGE
Lloh70:
	ldr	x24, [x24, _EC_QUOTED@GOTPAGEOFF]
Lloh71:
	adrp	x27, _G_INTERRUPTED@GOTPAGE
Lloh72:
	ldr	x27, [x27, _G_INTERRUPTED@GOTPAGEOFF]
	ldr	x8, [x22]
	cbnz	x8, LBB0_1
	b	LBB0_4
LBB0_36:
	mov	w8, #0
LBB0_37:
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x25, [sp, #24]                  ; 8-byte Folded Reload
Lloh73:
	adrp	x26, _EC_INTERRUPT@GOTPAGE
Lloh74:
	ldr	x26, [x26, _EC_INTERRUPT@GOTPAGEOFF]
Lloh75:
	adrp	x24, _EC_QUOTED@GOTPAGE
Lloh76:
	ldr	x24, [x24, _EC_QUOTED@GOTPAGEOFF]
Lloh77:
	adrp	x27, _G_INTERRUPTED@GOTPAGE
Lloh78:
	ldr	x27, [x27, _G_INTERRUPTED@GOTPAGEOFF]
	b	LBB0_7
LBB0_38:
	ldr	x2, [x26]
	ldr	w3, [x26, #12]
	ldr	w8, [x19]
Lloh79:
	adrp	x9, _CH_NOMAP@GOTPAGE
Lloh80:
	ldr	x9, [x9, _CH_NOMAP@GOTPAGEOFF]
Lloh81:
	ldr	w9, [x9]
	orr	w4, w9, w8
	mov	x0, x21
	mov	x1, #0
	bl	_v_event_push
	cbnz	x0, LBB0_49
	b	LBB0_42
LBB0_39:
	ldp	w8, w9, [x26, #8]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	x2, x2, x8, lsl #2
	sub	w3, w9, w8
	ldr	w4, [x19]
	mov	x0, x21
	mov	x1, #0
	bl	_v_event_push
	cbnz	x0, LBB0_49
; %bb.40:
	ldr	x2, [x26]
	ldr	w3, [x26, #8]
Lloh82:
	adrp	x8, _CH_NOMAP@GOTPAGE
Lloh83:
	ldr	x8, [x8, _CH_NOMAP@GOTPAGEOFF]
Lloh84:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w4, w9, w8
	mov	x0, x21
	mov	x1, #0
	bl	_v_event_push
	cbnz	x0, LBB0_49
; %bb.41:
	ldp	x9, x8, [x22, #8]
	mov	w10, #56
	madd	x25, x9, x10, x8
LBB0_42:
	ldr	w0, [x25, #4]
	bl	_ISDIGIT
	cbz	w0, LBB0_44
LBB0_43:
	ldp	q0, q1, [x25]
	ldr	q2, [x25, #32]
	ldr	x8, [x25, #48]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	str	x8, [x9, #48]
	stp	q1, q2, [x9, #16]
	str	q0, [x9]
	mov	w0, #1
	bl	_QREM
	mov	w24, #0
	b	LBB0_50
LBB0_44:
Lloh85:
	adrp	x8, _EC_MAPNODIGIT@GOTPAGE
Lloh86:
	ldr	x8, [x8, _EC_MAPNODIGIT@GOTPAGEOFF]
Lloh87:
	ldr	w0, [x8]
	bl	_LF_ISSET
	cbz	w0, LBB0_43
LBB0_45:
Lloh88:
	adrp	x8, _CH_NOT_DIGIT@GOTPAGE
Lloh89:
	ldr	x8, [x8, _CH_NOT_DIGIT@GOTPAGEOFF]
Lloh90:
	ldr	w8, [x8]
	add	x9, sp, #40
	ldr	x11, [sp, #8]                   ; 8-byte Folded Reload
	cmp	x11, #0
	csel	x10, x9, x11, eq
	str	w8, [x10, #4]
Lloh91:
	adrp	x8, _K_NOTUSED@GOTPAGE
Lloh92:
	ldr	x8, [x8, _K_NOTUSED@GOTPAGEOFF]
Lloh93:
	ldr	x8, [x8]
	str	x8, [x10, #8]
Lloh94:
	adrp	x8, _E_CHARACTER@GOTPAGE
Lloh95:
	ldr	x8, [x8, _E_CHARACTER@GOTPAGEOFF]
Lloh96:
	ldr	w8, [x8]
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	str	w8, [x10]
	add	x8, x9, #16
	add	x9, x11, #16
	csel	x0, x8, x9, eq
	mov	w1, #0
	bl	_F_INIT
	mov	w24, #0
	b	LBB0_50
LBB0_46:
	mov	w24, #0
	b	LBB0_50
LBB0_47:
	ldr	x0, [x21]
Lloh97:
	adrp	x8, _G_INTERRUPTED@GOTPAGE
Lloh98:
	ldr	x8, [x8, _G_INTERRUPTED@GOTPAGEOFF]
Lloh99:
	ldr	w1, [x8]
	bl	_F_SET
	mov	w24, #0
	mov	w8, #131
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	str	w8, [x9]
	b	LBB0_50
LBB0_48:
Lloh100:
	adrp	x9, _RCV_ENDSESSION@GOTPAGE
Lloh101:
	ldr	x9, [x9, _RCV_ENDSESSION@GOTPAGEOFF]
Lloh102:
	ldr	w9, [x9]
Lloh103:
	adrp	x10, _RCV_PRESERVE@GOTPAGE
Lloh104:
	ldr	x10, [x10, _RCV_PRESERVE@GOTPAGEOFF]
Lloh105:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh106:
	adrp	x10, _RCV_EMAIL@GOTPAGE
Lloh107:
	ldr	x10, [x10, _RCV_EMAIL@GOTPAGEOFF]
Lloh108:
	ldr	w10, [x10]
	cmp	w8, #129
	csel	w8, wzr, w10, eq
	orr	w1, w9, w8
	mov	x0, x21
	bl	_v_sync
LBB0_49:
	mov	w24, #1
LBB0_50:
	mov	x0, x24
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.cfi_endproc
	.section	__TEXT,__const
	.p2align	1
lJTI0_0:
	.short	(LBB0_12-LBB0_10)>>2
	.short	(LBB0_48-LBB0_10)>>2
	.short	(LBB0_48-LBB0_10)>>2
	.short	(LBB0_10-LBB0_10)>>2
	.short	(LBB0_48-LBB0_10)>>2
                                        ; -- End function
	.comm	_EC_TIMEOUT,4,2                 ; @EC_TIMEOUT
	.comm	_EC_INTERRUPT,4,2               ; @EC_INTERRUPT
	.comm	_G_SCRWIN,4,2                   ; @G_SCRWIN
	.comm	_EC_QUOTED,4,2                  ; @EC_QUOTED
	.comm	_EC_RAW,4,2                     ; @EC_RAW
	.comm	_RCV_ENDSESSION,4,2             ; @RCV_ENDSESSION
	.comm	_RCV_PRESERVE,4,2               ; @RCV_PRESERVE
	.comm	_RCV_EMAIL,4,2                  ; @RCV_EMAIL
	.comm	_G_INTERRUPTED,4,2              ; @G_INTERRUPTED
	.comm	_E_CHARACTER,4,2                ; @E_CHARACTER
	.comm	_CH_NOMAP,4,2                   ; @CH_NOMAP
	.comm	_EC_MAPCOMMAND,4,2              ; @EC_MAPCOMMAND
	.comm	_EC_MAPINPUT,4,2                ; @EC_MAPINPUT
	.comm	_MAX_BIT_SEQ,4,2                ; @MAX_BIT_SEQ
	.comm	_SEQ_COMMAND,4,2                ; @SEQ_COMMAND
	.comm	_SEQ_INPUT,4,2                  ; @SEQ_INPUT
	.comm	_O_TIMEOUT,4,2                  ; @O_TIMEOUT
	.comm	_K_ESCAPE,8,3                   ; @K_ESCAPE
	.comm	_O_ESCAPETIME,4,2               ; @O_ESCAPETIME
	.comm	_O_KEYTIME,4,2                  ; @O_KEYTIME
	.comm	_EC_MAPNODIGIT,4,2              ; @EC_MAPNODIGIT
	.comm	_CH_NOT_DIGIT,4,2               ; @CH_NOT_DIGIT
	.comm	_K_NOTUSED,8,3                  ; @K_NOTUSED
	.comm	_O_REMAP,4,2                    ; @O_REMAP
	.comm	_CH_MAPPED,4,2                  ; @CH_MAPPED
.subsections_via_symbols
