// File: /workspace/github_c_makefile_star2_O2/s3lase[P]v6shell/osh.c
// Function: execute
static void
execute(struct tnode *t, int *pin, int *pout)
{
	struct tnode *t1;
	enum tnflags f;
	pid_t cpid;
	int pfd[2];

	if (t == NULL)
		return;
	switch (t->ntype) {
	case TLIST:
		f = t->nflags & (FFIN | FPIN | FINTR);
		if ((t1 = t->nleft) != NULL)
			t1->nflags |= f;
		execute(t1, NULL, NULL);
		if ((t1 = t->nright) != NULL)
			t1->nflags |= f;
		execute(t1, NULL, NULL);
		return;

	case TPIPE:
		if (pipe(pfd) == -1) {
			err(-1, FMT2S, getmyname(), ERR_PIPE);
			if (pin != NULL) {
				(void)close(pin[0]);
				(void)close(pin[1]);
			}
			return;
		}
		f = t->nflags;
		if ((t1 = t->nleft) != NULL)
			t1->nflags |= FPOUT | (f & (FFIN|FPIN|FINTR|FPRS));
		execute(t1, pin, pfd);
		if ((t1 = t->nright) != NULL)
			t1->nflags |= FPIN | (f & (FAND|FPOUT|FINTR|FPRS));
		execute(t1, pfd, pout);
		(void)close(pfd[0]);
		(void)close(pfd[1]);
		return;

	case TCOMMAND:
		if (t->nav == NULL || t->nav[0] == NULL) {
			/* should never (but can) be true */
			err(-1, FMT2S, getmyname(), "execute: Invalid command");
			return;
		}
		if (vtglob(t->nav)) {
			if ((t->nav = (char **)glob(t->nkey, t->nav)) == NULL)
				return;
		} else if (DO_TRIM(t->nkey))
			vtrim(t->nav);
		switch (t->nkey) {
		case SBI_ECHO:
			break;
		case SBI_EXEC:
			/*
			 * Replace the current shell w/ an instance of
			 * the specified external command.
			 *
			 * usage: exec command [arg ...]
			 */
			if (t->nav[1] == NULL) {
				err(-1, FMT3S, getmyname(),
				    t->nav[0], ERR_ARGCOUNT);
				return;
			}
			if ((t->nkey = cmd_lookup(t->nav[1])) != SBI_UNKNOWN) {
				err(-1, FMT4S, getmyname(),
				    t->nav[0], t->nav[1], ERR_EXEC);
				return;
			}
			t->nav++;
			t->nflags |= FNOFORK;
			(void)sasignal(SIGCHLD, SIG_IGN);
			break;
		case SBI_FD2: case SBI_GOTO: case SBI_IF: case SBI_UNKNOWN:
			break;
		default:
			execute1(t);
			return;
		}
		/*FALLTHROUGH*/

	case TSUBSHELL:
		f = t->nflags;
		if ((cpid = ((f & FNOFORK) != 0) ? 0 : fork()) == -1) {
			err(-1, FMT2S, getmyname(), ERR_FORK);
			return;
		}
		/**** Parent! ****/
		if (cpid != 0) {
			if (pin != NULL && (f & FPIN) != 0) {
				(void)close(pin[0]);
				(void)close(pin[1]);
			}
			if ((f & FPRS) != 0)
				fd_print(FD2, "%u\n", (unsigned)cpid);
			if ((f & FAND) != 0)
				return;
			if ((f & FPOUT) == 0)
				pwait(cpid);
			return;
		}
		/**** Child! ****/
		execute2(t, pin, pout);
		/*NOTREACHED*/
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x238, %rsp            # imm = 0x238
testq %rdi, %rdi
je 0x36cb
movq %rdi, %rbx
movl 0x38(%rdi), %eax
decl %eax
cmpl $0x3, %eax
ja 0x36cb
movq %rdx, %r14
movq %rsi, %r15
leaq 0x4b93(%rip), %rcx      # 0x811c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl 0x34(%rbx), %ebp
andl $0x4c, %ebp
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x35a3
orl %ebp, 0x34(%rdi)
xorl %esi, %esi
xorl %edx, %edx
callq 0x3551
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x35b8
orl %ebp, 0x34(%rdi)
xorl %esi, %esi
xorl %edx, %edx
addq $0x238, %rsp            # imm = 0x238
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3551
movq 0x28(%rbx), %r12
testq %r12, %r12
je 0x367d
movq (%r12), %r13
testq %r13, %r13
je 0x367d
leaq 0x8(%r12), %rbp
movq %r13, %rdi
testq %rdi, %rdi
je 0x36dd
callq 0x5ac2
testq %rax, %rax
jne 0x36ff
movq (%rbp), %rdi
addq $0x8, %rbp
jmp 0x35f1
leaq 0x8(%rsp), %rdi
callq 0x21e0
cmpl $-0x1, %eax
je 0x3695
movl 0x34(%rbx), %ebp
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x363c
movl %ebp, %eax
andl $0xcc, %eax
orl 0x34(%rdi), %eax
orl $0x10, %eax
movl %eax, 0x34(%rdi)
leaq 0x8(%rsp), %rdx
movq %r15, %rsi
callq 0x3551
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x3661
andl $0xd1, %ebp
orl 0x34(%rdi), %ebp
orl $0x8, %ebp
movl %ebp, 0x34(%rdi)
leaq 0x8(%rsp), %rbx
movq %rbx, %rsi
movq %r14, %rdx
callq 0x3551
movl (%rbx), %edi
callq 0x21d0
movl 0x4(%rbx), %edi
jmp 0x36c6
callq 0x6455
leaq 0x4cb4(%rip), %rsi      # 0x833d
leaq 0x4c82(%rip), %rcx      # 0x8312
jmp 0x3aae
callq 0x6455
leaq 0x4c9c(%rip), %rsi      # 0x833d
leaq 0x4c52(%rip), %rcx      # 0x82fa
pushq $-0x1
popq %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x6218
testq %r15, %r15
je 0x36cb
movl (%r15), %edi
callq 0x21d0
movl 0x4(%r15), %edi
callq 0x21d0
addq $0x238, %rsp            # imm = 0x238
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl 0x30(%rbx), %eax
andl $-0x2, %eax
cmpl $0x2, %eax
je 0x3713
addq $0x8, %r12
testq %r13, %r13
je 0x3713
movq %r13, %rdi
callq 0x5bd6
movq (%r12), %r13
jmp 0x36e8
movl 0x30(%rbx), %edi
movq %r12, %rsi
callq 0x54dc
movq %rax, 0x28(%rbx)
testq %rax, %rax
je 0x36cb
movl 0x30(%rbx), %eax
cmpl $0x14, %eax
ja 0x3b7c
movl $0x100390, %ecx         # imm = 0x100390
btl %eax, %ecx
jae 0x3b38
movl 0x34(%rbx), %r13d
testb $0x20, %r13b
jne 0x3753
callq 0x23c0
cmpl $-0x1, %eax
je 0x3a9b
movl %eax, %ebp
testl %eax, %eax
jne 0x3acc
movl 0x34(%rbx), %r13d
testq %r15, %r15
sete %al
testb $0x8, %r13b
sete %cl
orb %al, %cl
jne 0x37af
movl (%r15), %edi
xorl %esi, %esi
callq 0x2160
cmpl $-0x1, %eax
jne 0x379e
callq 0x6455
movq %rax, %r12
callq 0x2070
movl (%rax), %edi
callq 0x2380
leaq 0x4baf(%rip), %rsi      # 0x833d
pushq $0x7c
popq %rdi
movq %r12, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x6218
movl (%r15), %edi
callq 0x21d0
movl 0x4(%r15), %edi
callq 0x21d0
testq %r14, %r14
sete %al
testb $0x10, %r13b
sete %cl
orb %al, %cl
jne 0x380d
movl 0x4(%r14), %edi
pushq $0x1
popq %rsi
callq 0x2160
cmpl $-0x1, %eax
jne 0x37fc
callq 0x6455
movq %rax, %r15
callq 0x2070
movl (%rax), %edi
callq 0x2380
leaq 0x4b51(%rip), %rsi      # 0x833d
pushq $0x7c
popq %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x6218
movl (%r14), %edi
callq 0x21d0
movl 0x4(%r14), %edi
callq 0x21d0
testb $0x8, %r13b
sete %al
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x38b8
cmpb $0x2d, (%rdi)
jne 0x3838
cmpb $0x0, 0x1(%rdi)
je 0x3b28
callq 0x5bd6
movq %rax, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq 0x2320
movl %eax, %ebp
cmpl $-0x1, %eax
jne 0x3874
callq 0x6455
movq 0x18(%rbx), %rcx
leaq 0x4ad9(%rip), %rsi      # 0x8339
leaq 0x4984(%rip), %r8       # 0x81eb
pushq $0x7c
popq %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x6218
movl %ebp, %edi
xorl %esi, %esi
callq 0x2160
cmpl $-0x1, %eax
jne 0x38ad
callq 0x6455
movq %rax, %r14
callq 0x2070
movl (%rax), %edi
callq 0x2380
leaq 0x4aa0(%rip), %rsi      # 0x833d
pushq $0x7c
popq %rdi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x6218
orl $0x4, %r13d
movl %ebp, %edi
callq 0x21d0
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x3962
movl %r13d, %eax
andl $0x10, %eax
jne 0x3962
movl %r13d, %ebp
andl $0x2, %ebp
shll $0x8, %ebp
addl $0x241, %ebp            # imm = 0x241
callq 0x5bd6
movq %rax, %rdi
movl %ebp, %esi
movl $0x1b6, %edx            # imm = 0x1B6
xorl %eax, %eax
callq 0x2320
movl %eax, %ebp
cmpl $-0x1, %eax
jne 0x3921
callq 0x6455
movq 0x20(%rbx), %rcx
leaq 0x4a2c(%rip), %rsi      # 0x8339
leaq 0x4c41(%rip), %r8       # 0x8555
pushq $0x7c
popq %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x6218
pushq $0x1
popq %rsi
movl %ebp, %edi
callq 0x2160
cmpl $-0x1, %eax
jne 0x395b
callq 0x6455
movq %rax, %r14
callq 0x2070
movl (%rax), %edi
callq 0x2380
leaq 0x49f2(%rip), %rsi      # 0x833d
pushq $0x7c
popq %rdi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x6218
movl %ebp, %edi
callq 0x21d0
testb $0x40, %r13b
jne 0x39a8
movl 0xda06(%rip), %eax      # 0x11374
testb $0x1, %al
jne 0x398b
testb $0x1, 0x88d3(%rip)      # 0xc24c
je 0x398b
pushq $0x2
popq %rdi
xorl %esi, %esi
callq 0x789c
movl 0xd9e9(%rip), %eax      # 0x11374
testb $0x2, %al
jne 0x3a1a
testb $0x2, 0x88b2(%rip)      # 0xc24c
je 0x3a1a
pushq $0x3
popq %rdi
xorl %esi, %esi
callq 0x789c
jmp 0x3a1a
pushq $0x2
popq %rdi
pushq $0x1
popq %r14
movq %r14, %rsi
callq 0x789c
pushq $0x3
popq %rdi
movq %r14, %rsi
callq 0x789c
cmpq $0x0, 0x18(%rbx)
jne 0x3a1a
movl %r13d, %eax
andl $0x8c, %eax
cmpl $0x80, %eax
jne 0x3a1a
xorl %edi, %edi
callq 0x21d0
leaq 0x4b7d(%rip), %rdi      # 0x8563
xorl %esi, %esi
xorl %eax, %eax
callq 0x2320
testl %eax, %eax
je 0x3a1a
callq 0x6455
leaq 0x493a(%rip), %rsi      # 0x8339
leaq 0x4b5d(%rip), %rcx      # 0x8563
leaq 0x47de(%rip), %r8       # 0x81eb
pushq $0x7c
popq %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x6218
testb $0x4, 0xd953(%rip)      # 0x11374
jne 0x3a36
testb $0x4, 0x8822(%rip)      # 0xc24c
je 0x3a36
pushq $0xf
popq %rdi
xorl %esi, %esi
callq 0x789c
cmpl $0x4, 0x38(%rbx)
je 0x497a
movq 0x28(%rbx), %rax
testq %rax, %rax
je 0x3a4f
cmpq $0x0, (%rax)
jne 0x3a6f
callq 0x6455
leaq 0x48e2(%rip), %rsi      # 0x833d
leaq 0x4b0b(%rip), %rcx      # 0x856d
pushq $0x7c
popq %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x6218
movl 0x30(%rbx), %ebp
movq 0x28(%rbx), %rbx
cmpl $0x14, %ebp
jne 0x499f
movq (%rbx), %rdi
movq %rbx, %rsi
addq $0x238, %rsp            # imm = 0x238
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x76a8
callq 0x6455
leaq 0x4896(%rip), %rsi      # 0x833d
leaq 0x48a6(%rip), %rcx      # 0x8354
pushq $-0x1
popq %rdi
movq %rax, %rdx
xorl %eax, %eax
addq $0x238, %rsp            # imm = 0x238
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x6218
testq %r15, %r15
sete %al
testb $0x8, %r13b
sete %cl
orb %al, %cl
jne 0x3aee
movl (%r15), %edi
callq 0x21d0
movl 0x4(%r15), %edi
callq 0x21d0
testb %r13b, %r13b
jns 0x3b06
leaq 0x4872(%rip), %rsi      # 0x836c
pushq $0x2
popq %rdi
movl %ebp, %edx
xorl %eax, %eax
callq 0x63c8
testb $0x11, %r13b
jne 0x36cb
movl %ebp, %edi
addq $0x238, %rsp            # imm = 0x238
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x5977
movl 0xd84e(%rip), %edi      # 0x1137c
callq 0x2190
jmp 0x3849
cmpl $0x5, %eax
jne 0x3b7c
movq 0x28(%rbx), %r12
movq 0x8(%r12), %rdi
testq %rdi, %rdi
je 0x3c02
callq 0x31a5
movl %eax, 0x30(%rbx)
cmpl $0x14, %eax
jne 0x3c27
addq $0x8, %r12
movq %r12, 0x28(%rbx)
orb $0x20, 0x34(%rbx)
pushq $0x11
popq %rdi
pushq $0x1
popq %rsi
callq 0x789c
jmp 0x372d
movq 0x28(%rbx), %r12
testq %r12, %r12
je 0x3bea
cmpq $0x0, (%r12)
je 0x3bea
leaq 0x47b2(%rip), %r14      # 0x8345
cmpl $0x13, %eax
ja 0x4154
movl %eax, %ecx
leaq 0x4587(%rip), %rdx      # 0x812c
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
leaq 0x4c45(%rip), %rdi      # 0x87fa
movl $0x800, %esi            # imm = 0x800
xorl %eax, %eax
callq 0x2320
movl %eax, %ebx
movq 0x8(%r12), %rdi
testq %rdi, %rdi
je 0x4072
cmpb $0x2d, (%rdi)
jne 0x3be0
cmpb $0x0, 0x1(%rdi)
je 0x4428
callq 0x5bd6
jmp 0x4097
callq 0x6455
leaq 0x4747(%rip), %rsi      # 0x833d
leaq 0x47dc(%rip), %rcx      # 0x83d9
jmp 0x3aae
callq 0x6455
movq 0x28(%rbx), %rcx
movq (%rcx), %rcx
leaq 0x4724(%rip), %rsi      # 0x8339
leaq 0x470f(%rip), %r8       # 0x832b
pushq $-0x1
popq %rdi
movq %rax, %rdx
jmp 0x4170
callq 0x6455
movq 0x28(%rbx), %rdx
movq (%rdx), %rcx
movq 0x8(%rdx), %r8
leaq 0x46f7(%rip), %rsi      # 0x8335
leaq 0x4700(%rip), %r9       # 0x8345
pushq $-0x1
popq %rdi
movq %rax, %rdx
xorl %eax, %eax
addq $0x238, %rsp            # imm = 0x238
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x6218
movl 0x85d3(%rip), %ecx      # 0xc23c
andl $0x1f, %ecx
cmpl $0x4, %ecx
jne 0x4154
cmpl $0xa, %eax
leaq 0x4786(%rip), %rax      # 0x8405
leaq 0x478e(%rip), %r15      # 0x8414
cmoveq %rax, %r15
pushq $0x2
popq %rbp
movl %ebp, %edi
xorl %esi, %esi
callq 0x789c
pushq $0x3
popq %r12
movl %r12d, %edi
xorl %esi, %esi
callq 0x789c
movq 0x28(%rbx), %rsi
movq %r15, %rdi
callq 0x73c4
pushq $0x1
popq %r15
movl %ebp, %edi
movq %r15, %rsi
callq 0x789c
movl %r12d, %edi
movq %r15, %rsi
callq 0x789c
jmp 0x4154
movq 0x8(%r12), %rdi
leaq 0x4651(%rip), %r14      # 0x832b
testq %rdi, %rdi
je 0x4154
cmpq $0x0, 0x10(%r12)
jne 0x4154
movq %rdi, %rax
movzbl (%rax), %ecx
testl %ecx, %ecx
je 0x4389
cmpl $0x3d, %ecx
je 0x4389
incq %rax
jmp 0x3cf2
movq 0x8(%r12), %rdi
testq %rdi, %rdi
je 0x3ee3
movl $0x800, %esi            # imm = 0x800
xorl %eax, %eax
callq 0x2320
cmpl $-0x1, %eax
je 0x43a5
movl %eax, %ebp
cmpl $0xc, %eax
jg 0x434f
movl %ebp, %edi
movl $0x8000, %esi           # imm = 0x8000
callq 0x2ab0
testb %al, %al
je 0x434f
movl 0xd625(%rip), %esi      # 0x11378
addl $0xd, %esi
xorl %edi, %edi
callq 0x2160
movl %eax, %ebx
cmpl $0x41, 0xd612(%rip)     # 0x11378
setge %al
cmpl $-0x1, %ebx
sete %cl
orb %al, %cl
jne 0x45ad
movl %ebp, %edi
xorl %esi, %esi
callq 0x2160
cmpl $-0x1, %eax
je 0x45ad
pushq $0x4
popq %rsi
xorl %edi, %edi
xorl %edx, %edx
xorl %eax, %eax
callq 0x20d0
cmpl $-0x1, %eax
je 0x45ad
leaq 0x8(%r12), %r13
pushq $0x2
popq %rsi
pushq $0x1
popq %rdx
movl %ebx, %edi
xorl %eax, %eax
callq 0x20d0
movl %ebp, %edi
callq 0x21d0
movl 0x847b(%rip), %eax      # 0xc23c
testb $0x10, %al
jne 0x3dce
orl $0x10, %eax
movl %eax, 0x846e(%rip)      # 0xc23c
movq 0x8453(%rip), %r14      # 0xc228
movq 0x8454(%rip), %r15      # 0xc230
movl 0x8456(%rip), %ebp      # 0xc238
movq (%r13), %rax
movq %rax, 0x843b(%rip)      # 0xc228
movq %r13, 0x843c(%rip)      # 0xc230
xorl %eax, %eax
cmpq $0x0, 0x8(%r12,%rax,8)
leaq 0x1(%rax), %rax
jne 0x3df6
decl %eax
movl %eax, 0x842e(%rip)      # 0xc238
incl 0xd568(%rip)            # 0x11378
pushq $0x1
popq %rdi
callq 0x2f36
movl 0xd55a(%rip), %eax      # 0x11378
decl %eax
movl %eax, 0xd552(%rip)      # 0x11378
movq %r14, 0x83fb(%rip)      # 0xc228
movq %r15, 0x83fc(%rip)      # 0xc230
movl %ebp, 0x83fe(%rip)      # 0xc238
cmpb $0x0, 0x842f(%rip)      # 0xc270
jne 0x3e5d
cmpb $0x1, 0x83fe(%rip)      # 0xc248
jne 0x481c
cmpl $0x0, 0x83f9(%rip)      # 0xc250
je 0x481c
testl %eax, %eax
je 0x4850
movl %ebx, %edi
addq $0x238, %rsp            # imm = 0x238
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x21d0
movq 0x8(%r12), %r15
leaq 0x44a2(%rip), %r14      # 0x832b
testq %r15, %r15
je 0x4154
cmpq $0x0, 0x10(%r12)
jne 0x4154
leaq 0x43cd(%rip), %r14      # 0x8272
movq %r15, %r12
movsbl (%r12), %edi
testl %edi, %edi
je 0x44c3
movq %r14, %rsi
callq 0x4d6a
incq %r12
testb %al, %al
je 0x3ea8
jmp 0x47ed
movq 0x8(%r12), %rax
testq %rax, %rax
je 0x4212
cmpq $0x0, 0x10(%r12)
je 0x43c6
leaq 0x4441(%rip), %r14      # 0x832b
jmp 0x4154
movq 0x8(%r12), %r14
testq %r14, %r14
je 0x423a
leaq 0x436e(%rip), %r15      # 0x8272
movq %r14, %r13
movsbl (%r13), %edi
testl %edi, %edi
je 0x4325
movq %r15, %rsi
callq 0x4d6a
incq %r13
testb %al, %al
je 0x3f07
jmp 0x47ed
movq 0x8(%r12), %rdi
leaq 0x43f7(%rip), %r14      # 0x832b
testq %rdi, %rdi
je 0x4154
movq 0x10(%r12), %rax
testq %rax, %rax
je 0x3f53
cmpq $0x0, 0x18(%r12)
jne 0x4154
movq %rdi, %rcx
movzbl (%rcx), %edx
testl %edx, %edx
je 0x41a6
cmpl $0x3d, %edx
je 0x41a6
incq %rcx
jmp 0x3f56
pushq $-0x1
popq %rdi
jmp 0x3b12
movl 0x82bf(%rip), %eax      # 0xc23c
movl %eax, %ecx
andl $0x1f, %ecx
cmpl $0x4, %ecx
je 0x36cb
testb $0x9, %al
sete %cl
andl $0x10, %eax
shrl $0x4, %eax
orb %cl, %al
je 0x3fb3
pushq $0x2
popq %rdx
xorl %edi, %edi
xorl %esi, %esi
callq 0x21a0
testb $0x10, 0x828f(%rip)     # 0xc23c
jne 0x36cb
callq 0x2100
movl %eax, %ebx
callq 0x646b
movl 0x82a3(%rip), %edi      # 0xc268
cmpl %eax, %ebx
jne 0x49c9
callq 0x2370
movl 0x34(%rbx), %r13d
leaq 0x1b8(%rsp), %rbx
movq %rbx, %rdi
callq 0x2290
pushq $0x2
popq %rdi
leaq 0x138(%rsp), %rdx
movq %rbx, %rsi
callq 0x2040
cmpb $0x0, 0xd371(%rip)      # 0x11371
jne 0x40ee
xorl %r14d, %r14d
leaq 0xd320(%rip), %r15      # 0x11330
leaq 0xa0(%rsp), %rbx
cmpq $0x40, %r14
je 0x40e7
movb $0x0, (%r14,%r15)
leal 0x1(%r14), %edi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x20b0
testl %eax, %eax
js 0x4049
cmpq $0x1, 0xa0(%rsp)
jne 0x4049
movb $0x1, (%r14,%r15)
incq %r14
jmp 0x4018
movl 0x81e4(%rip), %eax      # 0xc238
cmpl $0x2, %eax
jl 0x414d
addq $0x8, 0x81cb(%rip)      # 0xc230
decl %eax
movl %eax, 0x81cb(%rip)      # 0xc238
jmp 0x4782
leaq 0x4239(%rip), %rdi      # 0x82b2
callq 0x2030
leaq 0x43c4(%rip), %r14      # 0x8449
testq %rax, %rax
je 0x418f
cmpb $0x0, (%rax)
je 0x418f
movq %rax, %rdi
callq 0x2140
cmpl $-0x1, %eax
je 0x4188
cmpl $-0x1, %ebx
je 0x4369
cmpl $0xc, %ebx
je 0x40db
pushq $0xc
popq %rsi
movl %ebx, %edi
callq 0x2160
movl %eax, 0x813a(%rip)      # 0xc200
cmpl $0xc, %eax
jne 0x40db
pushq $0xc
popq %rdi
pushq $0x2
popq %rsi
pushq $0x1
popq %rdx
xorl %eax, %eax
callq 0x20d0
movl %ebx, %edi
callq 0x21d0
jmp 0x4782
movb $0x1, 0xd283(%rip)      # 0x11371
cmpq $0x0, 0x8(%r12)
je 0x426d
cmpq $0x0, 0x10(%r12)
je 0x4488
leaq 0x8(%rsp), %rdi
movl $0x98, %edx
xorl %esi, %esi
callq 0x21b0
leaq 0x10(%rsp), %rdi
callq 0x2250
movq 0x8(%r12), %rax
movzbl (%rax), %ecx
cmpl $0x2d, %ecx
je 0x447e
cmpl $0x2b, %ecx
jne 0x4488
cmpb $0x0, 0x1(%rax)
jne 0x4488
pushq $0x1
popq %rax
jmp 0x4625
leaq 0x42d0(%rip), %r14      # 0x8424
callq 0x6455
movq 0x28(%rbx), %rcx
movq (%rcx), %rcx
leaq 0x41d2(%rip), %rsi      # 0x8339
pushq $-0x1
popq %rdi
movq %rax, %rdx
movq %r14, %r8
xorl %eax, %eax
addq $0x238, %rsp            # imm = 0x238
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x6218
leaq 0x42ac(%rip), %r14      # 0x843b
cmpl $-0x1, %ebx
je 0x419b
movl %ebx, %edi
callq 0x21d0
callq 0x6455
movq (%r12), %rcx
jmp 0x4160
cmpb $0x3d, %dl
je 0x47ed
cmpb $0x0, (%rdi)
je 0x47ed
testq %rax, %rax
leaq 0x4111(%rip), %rsi      # 0x82d3
cmovneq %rax, %rsi
pushq $0x1
popq %rdx
callq 0x20e0
cmpl $-0x1, %eax
jne 0x4782
callq 0x2100
movl %eax, %ebx
callq 0x646b
cmpl %eax, %ebx
pushq $0x2
popq %rax
pushq $0x7c
popq %rbx
cmovel %eax, %ebx
callq 0x6455
leaq 0x4143(%rip), %rsi      # 0x833d
leaq 0x40d3(%rip), %rcx      # 0x82d4
movl %ebx, %edi
movq %rax, %rdx
xorl %eax, %eax
callq 0x6218
jmp 0x4782
xorl %edi, %edi
callq 0x2260
movl %eax, %ebx
movl %eax, %edi
callq 0x2260
leaq 0x4203(%rip), %rsi      # 0x842c
pushq $0x1
popq %rdi
movl %ebx, %edx
xorl %eax, %eax
callq 0x63c8
jmp 0x4782
leaq 0xa8c7(%rip), %r14      # 0xeb08
leaq 0x41b4(%rip), %rbx      # 0x83fc
pushq $0x1
popq %rbp
movq (%r14), %r14
testq %r14, %r14
je 0x4782
movq 0x8(%r14), %rdx
movq 0x10(%r14), %rcx
movl %ebp, %edi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x63c8
jmp 0x424b
leaq 0xa0(%rsp), %rbx
leaq 0xd0b4(%rip), %r14      # 0x11330
xorl %ebp, %ebp
cmpq $0x40, %rbp
je 0x4770
movq %rbp, %r15
incq %rbp
movl %ebp, %edi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x20b0
testl %eax, %eax
js 0x427e
cmpq $0x1, 0xa0(%rsp)
jne 0x427e
cmpb $0x1, (%r15,%r14)
jne 0x4309
testb $0x40, %r13b
jne 0x42d9
cmpl $0xf, %ebp
je 0x42df
cmpl $0x3, %ebp
je 0x42f3
cmpl $0x2, %ebp
jne 0x427e
testb $0x1, 0xd0a8(%rip)      # 0x11374
je 0x427e
testb $0x1, 0x7f77(%rip)      # 0xc24c
je 0x427e
jmp 0x4309
cmpq $0xe, %r15
jne 0x427e
testb $0x4, 0xd08e(%rip)      # 0x11374
je 0x427e
testb $0x4, 0x7f5d(%rip)      # 0xc24c
je 0x427e
jmp 0x4309
testb $0x2, 0xd07a(%rip)      # 0x11374
je 0x427e
testb $0x2, 0x7f49(%rip)      # 0xc24c
je 0x427e
movq (%r12), %rdx
pushq $0x1
popq %rdi
leaq 0x415a(%rip), %rsi      # 0x8471
movl %ebp, %ecx
xorl %eax, %eax
callq 0x63c8
jmp 0x427e
movzbl (%r14), %eax
testl %eax, %eax
je 0x47ed
cmpl $0x75, %eax
je 0x44f9
cmpl $0x61, %eax
jne 0x4510
leaq 0x3eed(%rip), %rsi      # 0x8237
jmp 0x4500
movl %ebp, %edi
callq 0x21d0
callq 0x6455
movq (%r12), %rcx
movq 0x8(%r12), %r8
jmp 0x3c37
movl 0x7e91(%rip), %edi      # 0xc200
callq 0x21d0
cmpl $-0x1, %eax
je 0x4782
orl $-0x1, 0x7e7c(%rip)     # 0xc200
jmp 0x4782
cmpb $0x3d, %cl
je 0x47ed
cmpb $0x0, (%rdi)
je 0x47ed
callq 0x2360
jmp 0x4782
callq 0x6455
movq (%r12), %rcx
movq 0x8(%r12), %r8
leaq 0x3f7b(%rip), %rsi      # 0x8335
leaq 0x3e2a(%rip), %r9       # 0x81eb
jmp 0x3c45
xorl %edi, %edi
movq %rax, %rcx
movb (%rcx), %dl
movl %edx, %esi
andb $-0x8, %sil
cmpb $0x30, %sil
jne 0x43e7
addb $-0x30, %dl
movzbl %dl, %edx
leal (%rdx,%rdi,8), %edi
incq %rcx
jmp 0x43cb
cmpb $0x0, (%rax)
je 0x4405
testb %dl, %dl
setne %al
cmpl $0x200, %edi            # imm = 0x200
setae %cl
orb %al, %cl
cmpb $0x1, %cl
jne 0x45ef
callq 0x6455
movq 0x28(%rbx), %rdx
movq (%rdx), %rcx
movq 0x8(%rdx), %r8
leaq 0x3f19(%rip), %rsi      # 0x8335
leaq 0x400f(%rip), %r9       # 0x8432
jmp 0x3c45
movl 0x7dd2(%rip), %edi      # 0xc200
cmpl $-0x1, %edi
je 0x44ed
pushq $0x2
popq %rsi
callq 0x2ab0
testb %al, %al
je 0x4457
movl 0x7db7(%rip), %edi      # 0xc200
callq 0x22f0
cmpl $-0x1, %eax
jne 0x40a8
movl 0x7da3(%rip), %edi      # 0xc200
callq 0x21d0
leaq 0x3fd2(%rip), %r14      # 0x843b
cmpl $-0x1, %eax
je 0x418f
orl $-0x1, 0x7d87(%rip)     # 0xc200
jmp 0x418f
cmpb $0x0, 0x1(%rax)
je 0x4623
pushq $0x2
popq %rdi
leaq 0x138(%rsp), %rsi
xorl %edx, %edx
callq 0x2040
callq 0x6455
movq (%r12), %rcx
leaq 0x3e8f(%rip), %rsi      # 0x8339
leaq 0x3ff6(%rip), %r8       # 0x84a7
pushq $-0x1
popq %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x6218
jmp 0x36cb
movzbl (%r15), %eax
testl %eax, %eax
je 0x47ed
cmpl $0x75, %eax
je 0x47d0
cmpl $0x61, %eax
jne 0x47e3
leaq 0x3d4f(%rip), %rsi      # 0x8237
jmp 0x47d7
leaq 0x3f67(%rip), %r14      # 0x845b
jmp 0x418f
leaq 0x3d35(%rip), %rsi      # 0x8235
movq %r14, %rdi
callq 0x2230
testl %eax, %eax
je 0x47ed
movq 0x10(%r12), %rdi
testq %rdi, %rdi
je 0x45f9
cmpq $0x0, 0x18(%r12)
jne 0x3ee3
callq 0x5358
testq %rax, %rax
je 0x4810
movq 0x28(%rbx), %rax
movq 0x8(%rax), %r14
testq %r14, %r14
je 0x4782
movq 0x10(%rax), %rbx
testq %rbx, %rbx
je 0x4782
cmpb $0x0, (%r14)
je 0x4782
movb (%rbx), %bpl
testb %bpl, %bpl
je 0x4782
movq 0xa595(%rip), %r13      # 0xeb08
testq %r13, %r13
je 0x4901
movq %r13, %r12
movq %r13, %r15
testq %r15, %r15
je 0x4918
movq 0x8(%r15), %rsi
movq %r14, %rdi
callq 0x2230
testl %eax, %eax
je 0x4925
js 0x495a
movq %r15, %r12
movq (%r15), %r15
jmp 0x4582
movl %ebx, %edi
callq 0x21d0
movl %ebp, %edi
callq 0x21d0
callq 0x6455
movq %rax, %rbx
movq (%r12), %r14
movq 0x8(%r12), %r15
pushq $0x18
popq %rdi
callq 0x2380
leaq 0x3d5a(%rip), %rsi      # 0x8335
pushq $-0x1
popq %rdi
movq %rbx, %rdx
movq %r14, %rcx
movq %r15, %r8
movq %rax, %r9
jmp 0x3c4b
callq 0x2260
jmp 0x4782
movq %r14, %rdi
callq 0x531b
testq %rax, %rax
je 0x4782
leaq 0x3dee(%rip), %rsi      # 0x83ff
pushq $0x1
popq %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x63c8
jmp 0x4782
xorl %eax, %eax
leaq 0x8(%rsp), %rcx
movq %rax, (%rcx)
movl $0x10000000, 0x88(%rcx) # imm = 0x10000000
pushq $0x2
popq %r15
movq %rsp, %r14
pushq $0xa
popq %rbp
movq (%r12,%r15,8), %r13
testq %r13, %r13
je 0x4770
callq 0x2070
movq %rax, %rbx
andl $0x0, (%rax)
movq %r13, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0x2280
cmpl $0x0, (%rbx)
jne 0x478e
movq %rax, %r13
movq (%r12,%r15,8), %rax
cmpb $0x0, (%rax)
je 0x478e
movq (%rsp), %rax
cmpb $0x0, (%rax)
jne 0x478e
leaq -0x41(%r13), %rax
cmpq $-0x40, %rax
jb 0x478e
movl %r13d, %edi
xorl %esi, %esi
leaq 0xa0(%rsp), %rdx
callq 0x20b0
testl %eax, %eax
js 0x46c2
movq 0x8(%rsp), %rsi
movq 0xa0(%rsp), %rax
orq %rsi, %rax
jne 0x46ca
incq %r15
jmp 0x4641
leal -0x1(%r13), %eax
leaq 0xcc5b(%rip), %rcx      # 0x11330
cmpb $0x1, (%rax,%rcx)
jne 0x46ed
movl %r13d, %edi
callq 0x5f97
movq 0x8(%rsp), %rsi
testq %rsi, %rsi
je 0x46c2
testq %rsi, %rsi
jne 0x472c
testb $0x1, 0x7b4f(%rip)      # 0xc248
je 0x472c
cmpq $0x1, %r13
jne 0x472c
leaq -0x1b7b(%rip), %rax     # 0x2b8d
cmpq %rax, 0xa0(%rsp)
je 0x46c2
pushq $0x1
popq %rdi
leaq -0x1b8f(%rip), %rsi     # 0x2b8d
callq 0x789c
cmpq $-0x1, %rax
jne 0x46c2
jmp 0x4488
cmpq $0x9, %r13
sete %al
movl %r13d, %ecx
andl $0x7d, %ecx
cmpl $0x11, %ecx
sete %cl
orb %al, %cl
jne 0x46c2
movl %r13d, %edi
leaq 0x8(%rsp), %rsi
xorl %edx, %edx
callq 0x20b0
testl %eax, %eax
js 0x46c2
movq 0x8(%rsp), %rsi
movl %r13d, %edi
callq 0x5f97
jmp 0x46c2
pushq $0x2
popq %rdi
leaq 0x138(%rsp), %rsi
xorl %edx, %edx
callq 0x2040
andl $0x0, 0x7adf(%rip)      # 0xc268
jmp 0x36cb
pushq $0x2
popq %rdi
leaq 0x138(%rsp), %rsi
xorl %edx, %edx
callq 0x2040
callq 0x6455
movq (%r12), %rcx
movl %r15d, %edx
movq (%r12,%rdx,8), %r8
leaq 0x3b7e(%rip), %rsi      # 0x8335
leaq 0x3cbd(%rip), %r9       # 0x847b
pushq $-0x1
popq %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x6218
jmp 0x36cb
leaq 0x3a5e(%rip), %rsi      # 0x8235
movq %r15, %rdi
callq 0x2230
testl %eax, %eax
je 0x47ed
movq %r15, %rdi
callq 0x30f5
jmp 0x4782
callq 0x6455
movq 0x28(%rbx), %rdx
movq (%rdx), %rcx
movq 0x8(%rdx), %r8
leaq 0x3b31(%rip), %rsi      # 0x8335
leaq 0x3be8(%rip), %r9       # 0x83f3
jmp 0x3c45
movq 0xa291(%rip), %r14      # 0xeaa8
jmp 0x4154
movl %ebx, %edi
xorl %esi, %esi
callq 0x2160
movl %eax, %ebp
movl %ebx, %edi
callq 0x21d0
cmpl $-0x1, %ebp
je 0x48d6
cmpl $0x0, 0xcb3a(%rip)      # 0x11378
jne 0x36cb
andb $-0x11, 0x79f1(%rip)    # 0xc23c
jmp 0x36cb
pushq $0xd
popq %rdi
xorl %esi, %esi
callq 0x2160
cmpl $-0x1, %eax
jne 0x4899
callq 0x6455
movq %rax, %rbx
movq (%r12), %r14
movq 0x8(%r12), %r15
callq 0x2070
movl (%rax), %edi
callq 0x2380
leaq 0x3ab2(%rip), %rsi      # 0x8335
pushq $0x2
popq %rdi
movq %rbx, %rdx
movq %r14, %rcx
movq %r15, %r8
movq %rax, %r9
xorl %eax, %eax
callq 0x6218
pushq $0xd
popq %rdi
callq 0x21d0
movl 0x7995(%rip), %eax      # 0xc23c
movl %eax, %ecx
andl $-0x11, %ecx
movl %ecx, 0x798a(%rip)      # 0xc23c
testb $0x8, %al
jne 0x36cb
xorl %edi, %edi
xorl %esi, %esi
xorl %eax, %eax
addq $0x238, %rsp            # imm = 0x238
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x6218
callq 0x6455
movq %rax, %rbx
movq (%r12), %r14
movq 0x8(%r12), %r15
callq 0x2070
movl (%rax), %edi
callq 0x2380
leaq 0x3a3b(%rip), %rsi      # 0x8335
pushq $0x2
jmp 0x45dd
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5f5c
movq %rax, 0xa1f5(%rip)      # 0xeb08
jmp 0x4782
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5f5c
jmp 0x4971
movq 0x10(%r15), %r14
cmpb (%r14), %bpl
jne 0x4941
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2230
testl %eax, %eax
je 0x4782
movq %r14, %rdi
callq 0x2050
movq %rbx, %rdi
callq 0x52ee
movq %rax, 0x10(%r15)
jmp 0x4782
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5f5c
cmpq %r13, %r15
je 0x49ba
movq (%r12), %rcx
movq %rcx, (%rax)
movq %rax, (%r12)
jmp 0x4782
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x498b
andl $0x4c, %r13d
orl %r13d, 0x34(%rdi)
xorl %esi, %esi
xorl %edx, %edx
callq 0x3551
movl 0x78ce(%rip), %edi      # 0xc268
callq 0x2080
movq %rbx, %rdi
callq 0x5496
movl %ebp, %edi
movl %eax, %esi
movq %rbx, %rdx
callq 0x6510
movl %eax, %edi
callq 0x2080
movq 0xa147(%rip), %rcx      # 0xeb08
movq %rcx, (%rax)
jmp 0x490c
callq 0x2080