// File: /workspace/github_c_makefile_star2_O2/odknt[P]st/st.c
// Function: tputc
void
tputc(Rune u)
{
	char c[UTF_SIZ];
	int control;
	int width, len;
	Glyph *gp;

	control = ISCONTROL(u);
	if (u < 127 || !IS_SET(MODE_UTF8)) {
		c[0] = u;
		width = len = 1;
	} else {
		len = utf8encode(u, c);
		if (!control && (width = wcwidth(u)) == -1)
			width = 1;
	}

	if (IS_SET(MODE_PRINT))
		tprinter(c, len);

	/*
	 * STR sequence must be checked before anything else
	 * because it uses all following characters until it
	 * receives a ESC, a SUB, a ST or any other C1 control
	 * character.
	 */
	if (term.esc & ESC_STR) {
		if (u == '\a' || u == 030 || u == 032 || u == 033 ||
		   ISCONTROLC1(u)) {
			term.esc &= ~(ESC_START|ESC_STR);
			term.esc |= ESC_STR_END;
			goto check_control_code;
		}

		if (strescseq.len+len >= strescseq.siz) {
			/*
			 * Here is a bug in terminals. If the user never sends
			 * some code to stop the str or esc command, then st
			 * will stop responding. But this is better than
			 * silently failing with unknown characters. At least
			 * then users will report back.
			 *
			 * In the case users ever get fixed, here is the code:
			 */
			/*
			 * term.esc = 0;
			 * strhandle();
			 */
			if (strescseq.siz > (SIZE_MAX - UTF_SIZ) / 2)
				return;
			strescseq.siz *= 2;
			strescseq.buf = xrealloc(strescseq.buf, strescseq.siz);
		}

		memmove(&strescseq.buf[strescseq.len], c, len);
		strescseq.len += len;
		return;
	}

check_control_code:
	/*
	 * Actions of control codes must be performed as soon they arrive
	 * because they can be embedded inside a control sequence, and
	 * they must not cause conflicts with sequences.
	 */
	if (control) {
		/* in UTF-8 mode ignore handling C1 control characters */
		if (IS_SET(MODE_UTF8) && ISCONTROLC1(u))
			return;
		tcontrolcode(u);
		/*
		 * control codes are not shown ever
		 */
		if (!term.esc)
			term.lastc = 0;
		return;
	} else if (term.esc & ESC_START) {
		if (term.esc & ESC_CSI) {
			csiescseq.buf[csiescseq.len++] = u;
			if (BETWEEN(u, 0x40, 0x7E)
					|| csiescseq.len >= \
					sizeof(csiescseq.buf)-1) {
				term.esc = 0;
				csiparse();
				csihandle();
			}
			return;
		} else if (term.esc & ESC_UTF8) {
			tdefutf8(u);
		} else if (term.esc & ESC_ALTCHARSET) {
			tdeftran(u);
		} else if (term.esc & ESC_TEST) {
			tdectest(u);
		} else {
			if (!eschandle(u))
				return;
			/* sequence already finished */
		}
		term.esc = 0;
		/*
		 * All characters which form part of a sequence are not
		 * printed
		 */
		return;
	}
	if (selected(term.c.x, term.c.y))
		selclear();

	gp = &term.line[term.c.y][term.c.x];
	if (IS_SET(MODE_WRAP) && (term.c.state & CURSOR_WRAPNEXT)) {
		gp->mode |= ATTR_WRAP;
		tnewline(1);
		gp = &term.line[term.c.y][term.c.x];
	}

	if (IS_SET(MODE_INSERT) && term.c.x+width < term.col) {
		memmove(gp+width, gp, (term.col - term.c.x - width) * sizeof(Glyph));
		gp->mode &= ~ATTR_WIDE;
	}

	if (term.c.x+width > term.col) {
		tnewline(1);
		gp = &term.line[term.c.y][term.c.x];
	}

	tsetchar(u, &term.c.attr, term.c.x, term.c.y);
	term.lastc = u;

	if (width == 2) {
		gp->mode |= ATTR_WIDE;
		if (term.c.x+1 < term.col) {
			if (gp[1].mode == ATTR_WIDE && term.c.x+2 < term.col) {
				gp[2].u = ' ';
				gp[2].mode &= ~ATTR_WDUMMY;
			}
			gp[1].u = '\0';
			gp[1].mode = ATTR_WDUMMY;
		}
	}
	if (term.c.x+width < term.col) {
		tmoveto(term.c.x+width, term.c.y);
	} else {
		term.c.state |= CURSOR_WRAPNEXT;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %edi, %ebx
cmpl $0x20, %edi
setb %al
cmpl $0x7f, %edi
sete %cl
orb %al, %cl
movb $0x1, %r13b
jne 0x916d
movl %ebx, %eax
andl $-0x20, %eax
cmpl $0x80, %eax
sete %r13b
pushq $0x1
popq %r12
cmpl $0x7f, %ebx
jb 0x9183
testb $0x40, 0x131a7(%rip)    # 0x1c324
jne 0x933e
movb %bl, 0xc(%rsp)
movl %r12d, %r14d
testb $0x20, 0x13193(%rip)    # 0x1c324
movslq %r14d, %r14
je 0x91a3
leaq 0xc(%rsp), %rdi
movq %r14, %rsi
callq 0x8fc4
movl 0x1317f(%rip), %ebp     # 0x1c328
movabsq $0x7ffffffffffffffd, %r8 # imm = 0x7FFFFFFFFFFFFFFD
testb $0x4, %bpl
je 0x91dc
cmpl $0x1b, %ebx
ja 0x95ba
movl $0xd000080, %eax        # imm = 0xD000080
btl %ebx, %eax
jae 0x95ba
andl $-0x16, %ebp
orl $0x10, %ebp
movl %ebp, 0x1314c(%rip)     # 0x1c328
testb %r13b, %r13b
je 0x9234
movl 0x1313d(%rip), %eax     # 0x1c324
movl %eax, %ecx
andl $0x40, %ecx
shrl $0x6, %ecx
movl %ebx, %edx
andl $-0x20, %edx
cmpl $0x80, %edx
sete %dl
testb %cl, %dl
jne 0x98e0
movzbl %bl, %edi
cmpb $0x1b, %dil
ja 0x95f1
leaq 0x70c3(%rip), %rcx      # 0x102dc
movslq (%rcx,%rdi,4), %rdx
addq %rcx, %rdx
jmpq *%rdx
shrl $0x3, %eax
andl $0x1, %eax
movl %eax, %edi
callq 0xa2df
jmp 0x9847
testb $0x1, %bpl
jne 0x935b
movl 0x130c3(%rip), %r15d    # 0x1c308
movl 0x130c1(%rip), %ebp     # 0x1c30c
movl %r15d, %edi
movl %ebp, %esi
callq 0x707f
testl %eax, %eax
je 0x926b
callq 0x6e36
movl 0x130a8(%rip), %ebp     # 0x1c30c
movl 0x1309d(%rip), %r15d    # 0x1c308
movq 0xf1e6(%rip), %rax      # 0x18458
movslq %ebp, %rcx
movslq %r15d, %r14
shlq $0x4, %r14
addq (%rax,%rcx,8), %r14
movl 0x1309e(%rip), %eax     # 0x1c324
testb $0x1, %al
je 0x92c6
testb $0x1, 0x1307f(%rip)     # 0x1c310
je 0x92c6
orb $0x1, 0x5(%r14)
pushq $0x1
popq %rdi
callq 0xa2df
movq 0xf1b1(%rip), %rax      # 0x18458
movslq 0x1305e(%rip), %rcx     # 0x1c30c
movslq 0x13053(%rip), %r15     # 0x1c308
movq %r15, %r14
shlq $0x4, %r14
addq (%rax,%rcx,8), %r14
movl 0x1305e(%rip), %eax     # 0x1c324
movl 0xf188(%rip), %ecx      # 0x18454
testb $0x2, %al
je 0x9305
leal (%r15,%r12), %edx
movl %ecx, %eax
subl %edx, %eax
jle 0x9305
movslq %r12d, %rdi
shlq $0x4, %rdi
addq %r14, %rdi
movslq %eax, %rdx
shlq $0x4, %rdx
movq %r14, %rsi
callq 0x6630
andb $-0x3, 0x5(%r14)
movl 0x13009(%rip), %r15d    # 0x1c308
movl 0xf14f(%rip), %ecx      # 0x18454
leal (%r15,%r12), %eax
cmpl %ecx, %eax
jle 0x9424
pushq $0x1
popq %rdi
callq 0xa2df
movq 0xf138(%rip), %rax      # 0x18458
movslq 0x12fe5(%rip), %rdx     # 0x1c30c
movslq 0x12fda(%rip), %r15     # 0x1c308
movq %r15, %r14
shlq $0x4, %r14
addq (%rax,%rdx,8), %r14
jmp 0x942a
leaq 0xc(%rsp), %rsi
movl %ebx, %edi
callq 0x6ce2
movq %rax, %r14
testb %r13b, %r13b
je 0x9411
jmp 0x918a
testb $0x2, %bpl
jne 0x94ae
testb $0x40, %bpl
jne 0x9655
testb $0x8, %bpl
jne 0x968a
testb $0x20, %bpl
jne 0x97b6
movzbl %bl, %ebx
leal -0x5a(%rbx), %eax
cmpl $0x15, %eax
jbe 0x989c
leal -0x37(%rbx), %eax
cmpl $0xe, %eax
jbe 0x98ef
leal -0x28(%rbx), %eax
cmpl $0x4, %eax
jb 0x9993
cmpl $0x23, %ebx
je 0xa1b8
cmpl $0x25, %ebx
je 0xa1c0
cmpl $0x48, %ebx
je 0xa19e
cmpl $0x4d, %ebx
je 0xa17b
cmpl $0x50, %ebx
je 0x98ac
movq 0xdc12(%rip), %rax      # 0x16ff0
movq (%rax), %r14
callq 0x6460
movq (%rax), %rax
movl %ebx, %ecx
movzwl (%rax,%rcx,2), %eax
btl $0xe, %eax
pushq $0x2e
popq %rcx
cmovbl %ebx, %ecx
leaq 0x76e8(%rip), %rsi      # 0x10ae8
movq %r14, %rdi
movl %ebx, %edx
xorl %eax, %eax
callq 0x69d0
jmp 0x9797
movl %ebx, %edi
callq 0x6770
cmpl $-0x1, %eax
cmovnel %eax, %r12d
jmp 0x918a
movl 0x12ee2(%rip), %edx     # 0x1c30c
movl %ebx, %edi
movl %r15d, %esi
callq 0xa31f
movl %ebx, 0x12f06(%rip)     # 0x1c340
movl 0x12ec8(%rip), %edi     # 0x1c308
movl 0xf00e(%rip), %eax      # 0x18454
cmpl $0x2, %r12d
jne 0x948a
orb $0x2, 0x5(%r14)
leal 0x1(%rdi), %ecx
cmpl %eax, %ecx
jge 0x948a
cmpw $0x200, 0x14(%r14)      # imm = 0x200
sete %cl
leal 0x2(%rdi), %edx
cmpl %eax, %edx
setl %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x947e
movl $0x20, 0x20(%r14)
andb $-0x5, 0x25(%r14)
andl $0x0, 0x10(%r14)
movw $0x400, 0x14(%r14)      # imm = 0x400
addl %r12d, %edi
cmpl %eax, %edi
jge 0x95ae
movl 0x12e71(%rip), %esi     # 0x1c30c
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x8818
leaq 0x14f5b(%rip), %r12     # 0x1e410
movq 0x15154(%rip), %rax     # 0x1e610
leaq 0x1(%rax), %rcx
movq %rcx, 0x15149(%rip)     # 0x1e610
movb %bl, (%rax,%r12)
addl $-0x40, %ebx
cmpl $0x3f, %ebx
setb %cl
movq 0x15135(%rip), %rax     # 0x1e610
cmpq $0x1ff, %rax            # imm = 0x1FF
setae %dl
orb %cl, %dl
cmpb $0x1, %dl
jne 0x98e0
andl $0x0, 0x12e32(%rip)     # 0x1c328
andl $0x0, 0x1515f(%rip)     # 0x1e65c
cmpb $0x3f, 0x14f0c(%rip)    # 0x1e410
movq %r12, %r14
jne 0x9517
movb $0x1, 0x15108(%rip)     # 0x1e618
leaq 0x14efa(%rip), %r14     # 0x1e411
movb $0x0, (%rax,%r12)
pushq $0xa
popq %rbp
xorl %r13d, %r13d
pushq $-0x1
popq %r15
movq 0x150e3(%rip), %rdx     # 0x1e610
leaq (%r12,%rdx), %rax
cmpq %rax, %r14
jae 0x9682
andq $0x0, 0x10(%rsp)
movq %r14, %rdi
leaq 0x10(%rsp), %rsi
movl %ebp, %edx
movq %r8, %rbx
callq 0x65d0
movq %rbx, %r8
movq 0x10(%rsp), %rcx
cmpq %r14, %rcx
cmoveq %r13, %rax
leaq (%rbx,%rax), %rsi
addq $0x4, %rsi
movl %r15d, %edx
cmpq $0x2, %rsi
jb 0x9574
movl %eax, %edx
movslq 0x150e1(%rip), %rax     # 0x1e65c
leal 0x1(%rax), %esi
movl %esi, 0x150d8(%rip)     # 0x1e65c
movl %edx, 0x20c(%r12,%rax,4)
movb (%rcx), %al
cmpb $0x3b, %al
jne 0x96ce
cmpl $0x10, 0x150bf(%rip)    # 0x1e65c
je 0x96ce
incq %rcx
movq %rcx, %r14
jmp 0x9526
orb $0x1, 0x12d5b(%rip)     # 0x1c310
jmp 0x98e0
movl %ebx, %eax
andl $-0x20, %eax
cmpl $0x80, %eax
je 0x91d0
movq 0x14daf(%rip), %rdi     # 0x1e380
leaq (%rdi,%r14), %rbx
movq 0x14d9c(%rip), %rsi     # 0x1e378
cmpq %rsi, %rbx
jae 0x973b
movq 0x14d84(%rip), %rax     # 0x1e370
jmp 0x976c
leal -0x9d(%rdi), %eax
cmpl $0x3, %eax
jb 0x9678
cmpl $0x7f, %edi
je 0x9847
cmpl $0x85, %edi
je 0x987b
cmpl $0x88, %edi
je 0x9885
cmpl $0x90, %edi
je 0x9678
cmpl $0x9a, %edi
jne 0x98c6
leaq 0xdf60(%rip), %rax      # 0x17598
movq (%rax), %rbx
movq %rbx, %rdi
callq 0x6410
movq %rbx, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x7aae
jmp 0x98c6
cmpb $0x40, %bl
je 0x9788
movzbl %bl, %eax
cmpl $0x47, %eax
jne 0x9797
movl 0x12cb4(%rip), %eax     # 0x1c324
orl $0x40, %eax
jmp 0x9791
callq 0xa9f0
jmp 0x9847
movb (%r14), %al
movq %r14, %rcx
jmp 0x96d5
movsbl %bl, %ebx
leaq 0xdef0(%rip), %r14      # 0x17584
movq %r14, %rdi
movl %ebx, %esi
callq 0x6640
testq %rax, %rax
je 0x99a1
subq %r14, %rax
leaq 0x74f7(%rip), %rcx      # 0x10ba8
movb (%rcx,%rax,4), %al
movslq 0x12c79(%rip), %rcx     # 0x1c334
leaq 0xed8e(%rip), %rdx      # 0x18450
movb %al, 0x3edc(%rcx,%rdx)
jmp 0x9797
movq 0x14f3b(%rip), %rdx     # 0x1e610
incq %rcx
movb %al, 0x14f82(%rip)      # 0x1e660
leaq 0x14d2b(%rip), %r12     # 0x1e410
addq %r12, %rdx
cmpq %rdx, %rcx
jae 0x96f1
movb (%rcx), %cl
jmp 0x96f3
xorl %ecx, %ecx
movb %cl, 0x14f68(%rip)      # 0x1e661
movzbl %al, %eax
addl $-0x20, %eax
cmpl $0x55, %eax
ja 0xa20a
leaq 0x6901(%rip), %rdx      # 0x10010
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
movl 0x14efe(%rip), %esi     # 0x1e61c
cmpl $0x1, %esi
adcl $0x0, %esi
movl %esi, 0x14ef2(%rip)     # 0x1e61c
movl 0x12bd8(%rip), %edi     # 0x1c308
addl 0x12bd6(%rip), %esi     # 0x1c30c
jmp 0x9e8b
cmpq %r8, %rsi
ja 0x98e0
addq %rsi, %rsi
movq %rsi, 0x14c2a(%rip)     # 0x1e378
movq 0x14c1b(%rip), %rdi     # 0x1e370
callq 0x6c8e
movq %rax, 0x14c0f(%rip)     # 0x1e370
movq 0x14c18(%rip), %rdi     # 0x1e380
leaq (%rdi,%r14), %rbx
addq %rax, %rdi
leaq 0xc(%rsp), %rsi
movq %r14, %rdx
callq 0x6630
movq %rbx, 0x14bfd(%rip)     # 0x1e380
jmp 0x98e0
movl 0x12b96(%rip), %eax     # 0x1c324
andl $-0x41, %eax
movl %eax, 0x12b8d(%rip)     # 0x1c324
andl $0x0, 0x12b8a(%rip)     # 0x1c328
jmp 0x98e0
movzbl %bl, %eax
pushq $0xf
popq %rcx
subl %eax, %ecx
movl %ecx, 0x12b7f(%rip)     # 0x1c330
jmp 0x9847
cmpb $0x38, %bl
jne 0x9797
xorl %ebx, %ebx
pushq $0x45
popq %rbp
cmpl 0xec8e(%rip), %ebx      # 0x18454
jge 0x9797
xorl %r14d, %r14d
cmpl 0xec7e(%rip), %r14d     # 0x18450
jge 0x97e5
movl %ebp, %edi
movl %ebx, %esi
movl %r14d, %edx
callq 0xa31f
incl %r14d
jmp 0x97cb
incl %ebx
jmp 0x97c0
pushq $0x1
popq %rdi
callq 0xa3ef
jmp 0x9847
testb $0x10, %bpl
jne 0x98c1
callq 0xc7e5
jmp 0x98c6
movl 0x12aff(%rip), %esi     # 0x1c30c
xorl %edi, %edi
jmp 0x9842
leaq 0x14bf8(%rip), %rdi     # 0x1e410
movl $0x258, %edx            # imm = 0x258
xorl %esi, %esi
callq 0x60b0
andl $-0x2c, %ebp
incl %ebp
movl %ebp, 0x12af9(%rip)     # 0x1c328
jmp 0x98e0
movl 0x12ace(%rip), %edi     # 0x1c308
decl %edi
movl 0x12aca(%rip), %esi     # 0x1c30c
callq 0x8818
movl 0x12adb(%rip), %eax     # 0x1c328
jmp 0x98d5
movl 0x12ab0(%rip), %esi     # 0x1c308
movl 0x12aae(%rip), %edx     # 0x1c30c
pushq $0x3f
popq %rdi
callq 0xa31f
leaq 0x14ba3(%rip), %rdi     # 0x1e410
movl $0x258, %edx            # imm = 0x258
xorl %esi, %esi
callq 0x60b0
jmp 0x98c6
pushq $0x1
popq %rdi
callq 0xa2df
jmp 0x98c6
movq 0x12aac(%rip), %rax     # 0x1c338
movslq 0x12a75(%rip), %rcx     # 0x1c308
movl $0x1, (%rax,%rcx,4)
jmp 0x98c6
leaq 0x69e1(%rip), %rcx      # 0x10284
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl %ebx, %edi
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xa9f0
callq 0xa474
movl 0x12a5c(%rip), %eax     # 0x1c328
andl $-0x15, %eax
movl %eax, 0x12a53(%rip)     # 0x1c328
testl %eax, %eax
jne 0x98e0
andl $0x0, 0x12a60(%rip)     # 0x1c340
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x6952(%rip), %rcx      # 0x10248
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl 0x12a1f(%rip), %eax     # 0x1c324
shrl $0x2, %eax
andl $0x1, %eax
imulq $0x1c, %rax, %rax
leaq 0x14d5a(%rip), %rcx     # 0x1e670
movups 0x129e7(%rip), %xmm0    # 0x1c304
movups %xmm0, 0xc(%rax,%rcx)
movups 0x129cf(%rip), %xmm0    # 0x1c2f8
movups %xmm0, (%rax,%rcx)
jmp 0x9797
movl 0x14ce4(%rip), %esi     # 0x1e61c
cmpl $0x1, %esi
adcl $0x0, %esi
movl %esi, 0x14cd8(%rip)     # 0x1e61c
movl 0x14cd6(%rip), %edi     # 0x1e620
cmpl $0x1, %edi
adcl $0x0, %edi
movl %edi, 0x14cca(%rip)     # 0x1e620
decl %edi
jmp 0x9ead
movl 0x14cb9(%rip), %edi     # 0x1e61c
cmpl $0x1, %edi
adcl $0x0, %edi
movl %edi, 0x14cad(%rip)     # 0x1e61c
addl 0x12993(%rip), %edi     # 0x1c308
jmp 0x9ce4
movl 0x14c9c(%rip), %edi     # 0x1e61c
cmpl $0x1, %edi
adcl $0x0, %edi
movl %edi, 0x14c90(%rip)     # 0x1e61c
decl %edi
jmp 0x9ce4
movl %eax, 0x1299b(%rip)     # 0x1c334
orl $0x8, %ebp
jmp 0x9829
movq 0xd648(%rip), %rax      # 0x16ff0
movq (%rax), %rdi
leaq 0x7115(%rip), %rsi      # 0x10ac7
movl %ebx, %edx
xorl %eax, %eax
callq 0x69d0
jmp 0x9797
movl 0x1295e(%rip), %eax     # 0x1c324
shrl $0x2, %eax
andl $0x1, %eax
imulq $0x1c, %rax, %rax
leaq 0x14c99(%rip), %rcx     # 0x1e670
movups 0x12926(%rip), %xmm0    # 0x1c304
movups %xmm0, 0xc(%rax,%rcx)
movups 0x1290e(%rip), %xmm0    # 0x1c2f8
movups %xmm0, (%rax,%rcx)
jmp 0x98e0
movl 0x14c23(%rip), %eax     # 0x1e61c
cmpq $0x5, %rax
ja 0x98e0
leaq 0x6826(%rip), %rcx      # 0x10230
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
callq 0x8792
jmp 0x98e0
pushq $0x1
popq %rdi
callq 0x89c9
jmp 0x98e0
movl 0x14bec(%rip), %eax     # 0x1e61c
cmpl $0x2, %eax
je 0xa1c8
cmpl $0x1, %eax
je 0xa1de
testl %eax, %eax
jne 0xa20a
movl 0x128b8(%rip), %edi     # 0x1c308
movl 0x128b6(%rip), %ecx     # 0x1c30c
movl 0xe9f8(%rip), %edx      # 0x18454
decl %edx
movl %ecx, %esi
callq 0x8883
movl 0x128a1(%rip), %esi     # 0x1c30c
movl 0xe9df(%rip), %ecx      # 0x18450
decl %ecx
cmpl %ecx, %esi
jge 0x98e0
incl %esi
movl 0xe9d1(%rip), %edx      # 0x18454
decl %edx
xorl %edi, %edi
jmp 0xa242
movsbl 0x14b85(%rip), %edi     # 0x1e618
movl 0x14bc3(%rip), %edx     # 0x1e65c
pushq $0x1
popq %rsi
jmp 0x9e65
movl 0x14bb5(%rip), %ebx     # 0x1e65c
leaq 0x66ba(%rip), %rbp      # 0x10168
leaq 0xdb07(%rip), %r13      # 0x175bc
leaq 0xdb04(%rip), %r14      # 0x175c0
leaq 0x10(%rsp), %r15
xorl %eax, %eax
movl %eax, 0x10(%rsp)
cmpl %ebx, %eax
jge 0x98e0
cltq
movl 0x20c(%r12,%rax,4), %edx
cmpq $0x31, %rdx
ja 0x9af5
movslq (%rbp,%rdx,4), %rax
addq %rbp, %rax
jmpq *%rax
orb $0x10, 0x1280c(%rip)    # 0x1c2fc
jmp 0x9be9
leal -0x1e(%rdx), %eax
cmpl $0x7, %eax
jbe 0x9b42
movl %edx, %eax
andl $-0x8, %eax
cmpl $0x28, %eax
jne 0x9bf4
addl $-0x28, %edx
jmp 0x9c12
movq %r15, %rdi
movl %ebx, %esi
callq 0xb183
testl %eax, %eax
jns 0x9b42
jmp 0x9be9
andb $-0x5, 0x127cf(%rip)    # 0x1c2fc
jmp 0x9be9
andb $-0x4, 0x127c3(%rip)    # 0x1c2fc
jmp 0x9be9
movl (%r13), %eax
movl %eax, 0x127b8(%rip)     # 0x1c300
jmp 0x9be9
orb $0x1, 0x127a8(%rip)     # 0x1c2fc
jmp 0x9be9
orb $0x8, 0x1279c(%rip)     # 0x1c2fc
jmp 0x9be9
orb $0x40, 0x12790(%rip)    # 0x1c2fc
jmp 0x9be9
movb $0x0, 0x12787(%rip)     # 0x1c2fc
movl (%r13), %eax
movl %eax, 0x12781(%rip)     # 0x1c300
movl (%r14), %eax
jmp 0x9be3
orb $0x20, 0x12771(%rip)    # 0x1c2fc
jmp 0x9be9
andb $-0x11, 0x12768(%rip)   # 0x1c2fc
jmp 0x9be9
andb $-0x21, 0x1275f(%rip)   # 0x1c2fc
jmp 0x9be9
orb $0x2, 0x12756(%rip)     # 0x1c2fc
jmp 0x9be9
orb $0x4, 0x1274d(%rip)     # 0x1c2fc
jmp 0x9be9
andb $0x7f, 0x12744(%rip)    # 0x1c2fc
jmp 0x9be9
orb $-0x80, 0x1273b(%rip)   # 0x1c2fc
jmp 0x9be9
andb $-0x41, 0x12732(%rip)   # 0x1c2fc
jmp 0x9be9
andb $-0x9, 0x12729(%rip)    # 0x1c2fc
jmp 0x9be9
movq %r15, %rdi
movl %ebx, %esi
callq 0xb183
testl %eax, %eax
js 0x9be9
movl %eax, 0x1271b(%rip)     # 0x1c304
movl 0x10(%rsp), %eax
incl %eax
jmp 0x9ac3
leal -0x5a(%rdx), %eax
cmpl $0x7, %eax
ja 0x9c07
addl $-0x52, %edx
movl %edx, 0x126fb(%rip)     # 0x1c300
jmp 0x9be9
leal -0x64(%rdx), %eax
cmpl $0x7, %eax
ja 0x9c1a
addl $-0x5c, %edx
movl %edx, 0x126ec(%rip)     # 0x1c304
jmp 0x9be9
movq 0xd3cf(%rip), %rax      # 0x16ff0
movq (%rax), %rdi
leaq 0x6dea(%rip), %rsi      # 0x10a15
xorl %eax, %eax
callq 0x69d0
callq 0xabc1
jmp 0x9be9
movl 0x149dd(%rip), %esi     # 0x1e61c
cmpl $0x1, %esi
adcl $0x0, %esi
movl %esi, 0x149d1(%rip)     # 0x1e61c
movl 0x126bb(%rip), %edi     # 0x1c30c
cmpl %edi, 0x126c5(%rip)     # 0x1c31c
jg 0x98e0
cmpl 0x126bd(%rip), %edi     # 0x1c320
jle 0x9dc9
jmp 0x98e0
movl 0x149a8(%rip), %esi     # 0x1e61c
cmpl $0x1, %esi
adcl $0x0, %esi
movl %esi, 0x1499c(%rip)     # 0x1e61c
movl 0x12686(%rip), %edi     # 0x1c30c
cmpl %edi, 0x12690(%rip)     # 0x1c31c
jg 0x98e0
cmpl 0x12688(%rip), %edi     # 0x1c320
jle 0x9ded
jmp 0x98e0
movl 0x14973(%rip), %eax     # 0x1e61c
cmpl $0x6, %eax
je 0xa074
cmpl $0x5, %eax
jne 0xa20a
leaq 0x6cf2(%rip), %rdi      # 0x109b4
pushq $0x4
popq %rsi
jmp 0xa0a5
movl 0x1494c(%rip), %eax     # 0x1e61c
cmpl $0x1, %eax
adcl $0x0, %eax
movl %eax, 0x14940(%rip)     # 0x1e61c
movl 0x12626(%rip), %edi     # 0x1c308
subl %eax, %edi
movl 0x12622(%rip), %esi     # 0x1c30c
jmp 0x9e8b
cmpb $0x71, %cl
jne 0xa20a
movl 0x1491e(%rip), %edi     # 0x1e61c
callq 0xc7d3
testl %eax, %eax
je 0x98e0
jmp 0xa20a
movl 0x14906(%rip), %eax     # 0x1e61c
cmpl $0x1, %eax
adcl $0x0, %eax
movl %eax, 0x148fa(%rip)     # 0x1e61c
movslq 0x125df(%rip), %rbx     # 0x1c308
movl 0xe725(%rip), %ecx      # 0x18454
movl %ecx, %edx
subl %ebx, %edx
cmpl %eax, %edx
cmovgel %eax, %edx
xorl %r14d, %r14d
testl %eax, %eax
cmovnsl %edx, %r14d
leal (%r14,%rbx), %eax
subl %eax, %ecx
movq 0xe70a(%rip), %rdx      # 0x18458
movslq 0x125b7(%rip), %rsi     # 0x1c30c
movq (%rdx,%rsi,8), %rdx
movslq %eax, %rdi
shlq $0x4, %rdi
addq %rdx, %rdi
movq %rbx, %rsi
shlq $0x4, %rsi
addq %rdx, %rsi
movslq %ecx, %rdx
shlq $0x4, %rdx
callq 0x6630
movl 0x1258d(%rip), %ecx     # 0x1c30c
leal (%r14,%rbx), %edx
decl %edx
movl %ebx, %edi
jmp 0xa240
movl 0x1488a(%rip), %eax     # 0x1e61c
cmpl $0x1, %eax
adcl $0x0, %eax
movl %eax, 0x1487e(%rip)     # 0x1e61c
movl 0x12564(%rip), %edi     # 0x1c308
movl 0x12562(%rip), %esi     # 0x1c30c
subl %eax, %esi
jmp 0x9e8b
movl 0x14865(%rip), %esi     # 0x1e61c
cmpl $0x1, %esi
adcl $0x0, %esi
movl %esi, 0x14859(%rip)     # 0x1e61c
movl 0x12553(%rip), %edi     # 0x1c31c
xorl %edx, %edx
callq 0xad9f
jmp 0x98e0
movl 0x14841(%rip), %esi     # 0x1e61c
cmpl $0x1, %esi
adcl $0x0, %esi
movl %esi, 0x14835(%rip)     # 0x1e61c
movl 0x1252f(%rip), %edi     # 0x1c31c
xorl %edx, %edx
callq 0xacae
jmp 0x98e0
movl 0x1481d(%rip), %edi     # 0x1e61c
cmpl $0x1, %edi
adcl $0x0, %edi
movl %edi, 0x14811(%rip)     # 0x1e61c
negl %edi
jmp 0x9ec6
movl 0x14804(%rip), %esi     # 0x1e61c
cmpl $0x1, %esi
adcl $0x0, %esi
movl %esi, 0x147f8(%rip)     # 0x1e61c
addl 0x124e2(%rip), %esi     # 0x1c30c
jmp 0x9e89
cmpl $0x0, 0x147e9(%rip)     # 0x1e61c
jne 0x98e0
leaq 0xd758(%rip), %rax      # 0x17598
movq (%rax), %rbx
movq %rbx, %rdi
callq 0x6410
movq %rbx, %rdi
movq %rax, %rsi
jmp 0xa0a5
movsbl 0x147bb(%rip), %edi     # 0x1e618
movl 0x147f9(%rip), %edx     # 0x1e65c
xorl %esi, %esi
callq 0xae8c
jmp 0x98e0
movl 0x147a7(%rip), %eax     # 0x1e61c
cmpl $0x1, %eax
adcl $0x0, %eax
movl %eax, 0x1479b(%rip)     # 0x1e61c
movl 0x12485(%rip), %esi     # 0x1c30c
subl %eax, %esi
xorl %edi, %edi
callq 0x8818
jmp 0x98e0
movl 0x14781(%rip), %esi     # 0x1e61c
cmpl $0x1, %esi
adcl $0x0, %esi
movl %esi, 0x14775(%rip)     # 0x1e61c
movl 0x1245b(%rip), %edi     # 0x1c308
decl %esi
jmp 0xa05c
movl 0x14762(%rip), %edi     # 0x1e61c
cmpl $0x1, %edi
adcl $0x0, %edi
movl %edi, 0x14756(%rip)     # 0x1e61c
callq 0xa3ef
jmp 0x98e0
movl 0x14746(%rip), %eax     # 0x1e61c
cmpl $0x2, %eax
je 0xa230
cmpl $0x1, %eax
je 0xa1fc
testl %eax, %eax
jne 0x98e0
movl 0x12412(%rip), %edi     # 0x1c308
movl 0x12410(%rip), %ecx     # 0x1c30c
movl 0xe552(%rip), %edx      # 0x18454
jmp 0x9fa8
movl 0x1470f(%rip), %eax     # 0x1e61c
cmpl $0x3, %eax
je 0xa0b1
testl %eax, %eax
jne 0xa20a
movq 0x12413(%rip), %rax     # 0x1c338
movslq 0x123dc(%rip), %rcx     # 0x1c308
andl $0x0, (%rax,%rcx,4)
jmp 0x98e0
movl 0x146e1(%rip), %eax     # 0x1e61c
cmpl $0x1, %eax
adcl $0x0, %eax
movl %eax, 0x146d5(%rip)     # 0x1e61c
movslq 0x123ba(%rip), %rdi     # 0x1c308
movl 0xe500(%rip), %ecx      # 0x18454
movl %ecx, %edx
subl %edi, %edx
cmpl %eax, %edx
cmovgel %eax, %edx
xorl %ebx, %ebx
testl %eax, %eax
cmovnsl %edx, %ebx
leal (%rbx,%rdi), %eax
subl %eax, %ecx
movq 0xe4e8(%rip), %rdx      # 0x18458
movslq 0x12395(%rip), %rsi     # 0x1c30c
movq (%rdx,%rsi,8), %rdx
shlq $0x4, %rdi
addq %rdx, %rdi
movslq %eax, %rsi
shlq $0x4, %rsi
addq %rdx, %rsi
movslq %ecx, %rdx
shlq $0x4, %rdx
callq 0x6630
movl 0xe4b6(%rip), %edx      # 0x18454
movl %edx, %edi
subl %ebx, %edi
movl 0x12364(%rip), %ecx     # 0x1c30c
decl %edx
jmp 0xa240
movl 0x14667(%rip), %eax     # 0x1e61c
cmpl $0x1, %eax
adcl $0x0, %eax
movl %eax, 0x1465b(%rip)     # 0x1e61c
movl 0x12341(%rip), %edi     # 0x1c308
movl 0x1233f(%rip), %ecx     # 0x1c30c
leal (%rax,%rdi), %edx
decl %edx
jmp 0xa240
movl 0x1463f(%rip), %eax     # 0x1e61c
cmpl $0x1, %eax
adcl $0x0, %eax
movl %eax, 0x14633(%rip)     # 0x1e61c
cmpl $0x0, 0x12350(%rip)     # 0x1c340
je 0x98e0
leal -0x1(%rax), %ecx
movl %ecx, 0x1461d(%rip)     # 0x1e61c
testl %eax, %eax
jle 0x98e0
movl 0x12333(%rip), %edi     # 0x1c340
callq 0x913c
movl 0x14604(%rip), %eax     # 0x1e61c
jmp 0x9ff6
cmpb $0x0, 0x145f7(%rip)     # 0x1e618
jne 0xa20a
movl 0x145ef(%rip), %edi     # 0x1e61c
cmpl $0x1, %edi
adcl $0x0, %edi
movl %edi, 0x145e3(%rip)     # 0x1e61c
movl 0x145e1(%rip), %esi     # 0x1e620
testl %esi, %esi
jne 0xa049
movl 0xe407(%rip), %esi      # 0x18450
movl %esi, 0x145d1(%rip)     # 0x1e620
decl %edi
decl %esi
callq 0x87d8
xorl %edi, %edi
xorl %esi, %esi
callq 0xac94
jmp 0x98e0
addl $-0x6c, %ebx
movl %ebx, 0x122c1(%rip)     # 0x1c330
jmp 0x9797
movl 0x12292(%rip), %ecx     # 0x1c30c
incl %ecx
movl 0x12285(%rip), %r8d     # 0x1c308
incl %r8d
leaq 0x692c(%rip), %rdx      # 0x109b9
leaq 0x10(%rsp), %rbx
pushq $0x28
popq %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq 0x60c0
movslq %eax, %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x7aae
jmp 0x98e0
movq 0x12280(%rip), %rdi     # 0x1c338
movslq 0xe395(%rip), %rdx      # 0x18454
shlq $0x2, %rdx
xorl %esi, %esi
callq 0x60b0
jmp 0x98e0
leaq 0xd4c2(%rip), %rax      # 0x17598
movq (%rax), %rbx
movq %rbx, %rdi
callq 0x6410
movq %rbx, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x7aae
jmp 0x9797
orl $0x2, %ebp
jmp 0x9829
callq 0x82fd
callq 0x8a1d
callq 0xb343
jmp 0x9797
testb $0x10, %bpl
je 0x9797
callq 0xa474
jmp 0x9797
movl 0x121e3(%rip), %esi     # 0x1c30c
cmpl 0x121f1(%rip), %esi     # 0x1c320
jne 0xa24c
movl 0x121e1(%rip), %edi     # 0x1c31c
pushq $0x1
popq %rdx
movl %edx, %esi
callq 0xacae
jmp 0x9797
pushq $0x1
popq %rdi
callq 0xa2df
jmp 0x9797
pushq $0x1
popq %rdi
callq 0x89c9
jmp 0x9797
pushq $0x4
popq %rsi
xorl %edi, %edi
jmp 0xa171
pushq $0x1
popq %rdi
pushq $0x4
popq %rsi
callq 0xc7ad
jmp 0x9797
movl 0x1218b(%rip), %esi     # 0x1c30c
cmpl 0x12195(%rip), %esi     # 0x1c31c
jne 0xa256
pushq $0x1
popq %rdx
movl %esi, %edi
movl %edx, %esi
callq 0xad9f
jmp 0x9797
movq 0x12193(%rip), %rax     # 0x1c338
movslq 0x1215c(%rip), %rcx     # 0x1c308
movl $0x1, (%rax,%rcx,4)
jmp 0x9797
orl $0x20, %ebp
jmp 0x9829
orl $0x40, %ebp
jmp 0x9829
movl 0xe286(%rip), %edx      # 0x18454
decl %edx
movl 0xe27a(%rip), %ecx      # 0x18450
decl %ecx
xorl %edi, %edi
xorl %esi, %esi
jmp 0xa242
movl 0x12128(%rip), %ecx     # 0x1c30c
cmpl $0x2, %ecx
jl 0xa202
movl 0xe265(%rip), %edx      # 0x18454
decl %edx
decl %ecx
xorl %edi, %edi
xorl %esi, %esi
callq 0x8883
movl 0x1210a(%rip), %ecx     # 0x1c30c
movl 0x12100(%rip), %edx     # 0x1c308
jmp 0xa23e
movq 0xcddf(%rip), %rax      # 0x16ff0
movq (%rax), %rcx
leaq 0x6784(%rip), %rdi      # 0x1099f
pushq $0x14
popq %rsi
pushq $0x1
popq %rdx
callq 0x6950
callq 0xabc1
jmp 0x98e0
movl 0x120d6(%rip), %ecx     # 0x1c30c
movl 0xe218(%rip), %edx      # 0x18454
decl %edx
xorl %edi, %edi
movl %ecx, %esi
callq 0x8883
jmp 0x98e0
movl 0x120b6(%rip), %edi     # 0x1c308
incl %esi
jmp 0xa25e
movl 0x120ac(%rip), %edi     # 0x1c308
decl %esi
callq 0x8818
jmp 0x9797
callq 0x87ac
jmp 0x98e0
movl 0x12094(%rip), %edi     # 0x1c30c
callq 0x9005
jmp 0x98e0
andb $-0x21, 0x1209b(%rip)   # 0x1c324
jmp 0x98e0
orb $0x20, 0x1208f(%rip)    # 0x1c324
jmp 0x98e0