// File: /workspace/github_c_makefile_star2_O0/dalnefre[P]kernel_abe/emit.c
// Function: str_to_cons
CONS*
str_to_cons(char* in)
{
	int state = 1;
	int c;
	char* tk;
	int n;
	CONS* out = NIL;
	char buf[256];
	
	XDBUG_ENTER("str_to_cons");
	assert(in != NULL);
	strncpy(buf, "", sizeof(buf));
	tk = in;
	XDBUG_PRINT("", ("in=%s", in));
	while (state) {
		c = *in;			/* get character */
		XDBUG_PRINT("", ("state=%d c=%d", state, c));
		XDBUG_PRINT("", ("in=%s", in));
		XDBUG_PRINT("", ("tk=%s", tk));
		switch (state) {
		case 1:				/* initial state (optional whitespace) */
			if (c == '\0') {
				state = -1;		/* fail */
			} else if (isspace(c)) {
				state = 1;
			} else if (isdigit(c) || (c == '-')) {
				tk = in;
				n = ((c == '-') ? 0 : (c - '0'));
				state = 2;
			} else if (isprint(c) && !is_reserved(c)) {
				tk = in;
				state = 3;
			} else if (c == '"') {
				tk = in;
				state = 4;
			} else if (c == '(') {
				CONS* q = cons(NIL, NIL);
				CONS* p = NIL;

				XDBUG_PRINT("", ("list begin"));
				++in;		/* consume character */
				for (;;) {
					while (isspace((int)(*in))) {
						++in;		/* consume character */
					}
					if (*in == ')') {
						++in;		/* consume character */
						XDBUG_PRINT("", ("list end"));
						break;
					} else if (*in == ':') {
						XDBUG_PRINT("", ("pair split"));
						++in;		/* consume character */
						p = str_to_cons(in);
						if (p == NULL) {
							break;
						}
						CQ_PUT(q, p);
						in = nextptr;
						while (isspace((int)(*in))) {
							++in;		/* consume character */
						}
						if (*in == ')') {
							++in;		/* consume character */
							XDBUG_PRINT("", ("pair end"));
							break;
						} else {
							p = NULL;
							break;
						}
					}
					p = str_to_cons(in);
					if (p == NULL) {
						break;
					}
					CQ_PUT(q, cons(p, NIL));
					in = nextptr;
				}
				out = CQ_PEEK(q);
				state = ((p == NULL) ? -1 : 0);		/* done */
			} else if (c == '\'') {
				CONS* p;

				XDBUG_PRINT("", ("quoted literal"));
				++in;		/* consume character */
				p = str_to_cons(in);
				if (p != NULL) {
					out = cons(ATOM("literal"), cons(p, NIL));
					in = nextptr;
					state = 0;		/* done */
				} else {
					state = -1;		/* fail */
				}
			} else {
				state = -1;		/* fail */
			}
			break;
		case 2:				/* numeric token */
			if ((c == '\0') || isspace(c) || is_reserved(c)) {
				if (*tk == '-') {
					if ((in - tk) > 1) {
						n = -n;
					} else {
						--in;		/* push back charactrer */
						state = 3;	/* re-interpret as an atom */
						break;
					}
				}
				out = NUMBER(n);
				state = 0;		/* done */
			} else if (isdigit(c)) {
				n = (n * 10) + (c - '0');
				state = 2;
			} else if (isprint(c)) {
				state = 3;
			} else {
				state = -1;		/* fail */
			}
			break;
		case 3:				/* atomic token */
			if ((c == '\0') || isspace(c) || is_reserved(c)) {
				if ((in - tk) < sizeof(buf)) {
					strncpy(buf, tk, (in - tk));
					XDBUG_PRINT("", ("ATOM(%s) c=%d", buf, c));
					out = ATOM(buf);
					if (out == ATOM("NIL")) {
						out = NIL;
					}
					state = 0;		/* done */
				} else {
					DBUG_PRINT("", ("token buffer overflow! %d >= %d", (in - tk), sizeof(buf)));
					state = -1;
				}
			} else if (isprint(c)) {
				state = 3;
			} else {
				state = -1;		/* fail */
			}
			break;
		case 4:				/* quoted token */
			if ((c == '\0') || !isprint(c)) {
				state = -1;		/* fail */
			} else if (c == '"') {
				if (*tk != '"') {
					state = -1;
				} else if ((in - tk) < sizeof(buf)) {
					++tk;	/* skip leading quote */
					strncpy(buf, tk, (in - tk));
					XDBUG_PRINT("", ("ATOM(\"%s\") c=%d", buf, c));
					out = ATOM(buf);
					if (out == ATOM("NIL")) {
						out = NIL;
					}
					++in;	/* skip trailing quote */
					state = 0;		/* done */
				} else {
					DBUG_PRINT("", ("token buffer overflow! %d >= %d", (in - tk), sizeof(buf)));
					state = -1;
				}
			} else {
				state = 4;
			}
			break;
		default:
			DBUG_PRINT("", ("PARSE FAIL -->%s", in));
			TRACE(printf("PARSE FAIL -->%s\n", in));
			XDBUG_RETURN NULL;	/* parse error */
		}
		if (state >= 0) {
			nextptr = in;
			++in;				/* move to next character */
		}
	}
	XDBUG_PRINT("", ("out=%s", cons_to_str(out)));
	XDBUG_PRINT("", ("next=%s", nextptr));
	XDBUG_RETURN out;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1a0, %rsp            # imm = 0x1A0
movq %rdi, -0x10(%rbp)
movl $0x1, -0x14(%rbp)
leaq 0xfe83(%rip), %rax      # 0x2f290
movq %rax, -0x30(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x1f41a
jmp 0x1f439
leaq 0xb296(%rip), %rdi      # 0x2a6b7
leaq 0xad4e(%rip), %rsi      # 0x2a176
movl $0x1e3, %edx            # imm = 0x1E3
leaq 0xb28e(%rip), %rcx      # 0x2a6c2
callq 0x2100
leaq -0x130(%rbp), %rdi
leaq 0x9f28(%rip), %rsi      # 0x2936f
movl $0x100, %edx            # imm = 0x100
callq 0x2070
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpl $0x0, -0x14(%rbp)
je 0x1fd51
movq -0x10(%rbp), %rax
movsbl (%rax), %eax
movl %eax, -0x18(%rbp)
movl -0x14(%rbp), %eax
decl %eax
movl %eax, %ecx
movq %rcx, -0x150(%rbp)
subl $0x3, %eax
ja 0x1fcb2
movq -0x150(%rbp), %rax
leaq 0xac8a(%rip), %rcx      # 0x2a11c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpl $0x0, -0x18(%rbp)
jne 0x1f4ad
movl $0xffffffff, -0x14(%rbp) # imm = 0xFFFFFFFF
jmp 0x1f8ee
callq 0x2250
movq (%rax), %rax
movslq -0x18(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x2000, %eax           # imm = 0x2000
cmpl $0x0, %eax
je 0x1f4d3
movl $0x1, -0x14(%rbp)
jmp 0x1f8ec
callq 0x2250
movq (%rax), %rax
movslq -0x18(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x800, %eax            # imm = 0x800
cmpl $0x0, %eax
jne 0x1f4f3
cmpl $0x2d, -0x18(%rbp)
jne 0x1f52c
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpl $0x2d, -0x18(%rbp)
jne 0x1f50b
xorl %eax, %eax
movl %eax, -0x154(%rbp)
jmp 0x1f517
movl -0x18(%rbp), %eax
subl $0x30, %eax
movl %eax, -0x154(%rbp)
movl -0x154(%rbp), %eax
movl %eax, -0x24(%rbp)
movl $0x2, -0x14(%rbp)
jmp 0x1f8ea
callq 0x2250
movq (%rax), %rax
movslq -0x18(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x4000, %eax           # imm = 0x4000
cmpl $0x0, %eax
je 0x1f578
cmpl $0x28, -0x18(%rbp)
je 0x1f578
cmpl $0x29, -0x18(%rbp)
je 0x1f578
cmpl $0x3a, -0x18(%rbp)
je 0x1f578
cmpl $0x22, -0x18(%rbp)
je 0x1f578
cmpl $0x27, -0x18(%rbp)
je 0x1f578
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movl $0x3, -0x14(%rbp)
jmp 0x1f8e8
cmpl $0x22, -0x18(%rbp)
jne 0x1f592
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movl $0x4, -0x14(%rbp)
jmp 0x1f8e6
cmpl $0x28, -0x18(%rbp)
jne 0x1f859
leaq 0xfced(%rip), %rsi      # 0x2f290
movq %rsi, %rdi
callq 0x25290
movq %rax, -0x138(%rbp)
leaq 0xfcd7(%rip), %rax      # 0x2f290
movq %rax, -0x140(%rbp)
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
jmp 0x1f5ce
callq 0x2250
movq (%rax), %rax
movq -0x10(%rbp), %rcx
movsbl (%rcx), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x2000, %eax           # imm = 0x2000
cmpl $0x0, %eax
je 0x1f5fc
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
jmp 0x1f5ce
movq -0x10(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x29, %eax
jne 0x1f619
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
jmp 0x1f82c
movq -0x10(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x3a, %eax
jne 0x1f73f
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1f3f0
movq %rax, -0x140(%rbp)
cmpq $0x0, -0x140(%rbp)
jne 0x1f654
jmp 0x1f82c
movq -0x138(%rbp), %rax
movq %rax, -0x160(%rbp)
movq -0x138(%rbp), %rdi
callq 0x25380
leaq 0xfc1b(%rip), %rcx      # 0x2f290
cmpq %rcx, %rax
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x1f6a4
movq -0x138(%rbp), %rdi
movq -0x140(%rbp), %rsi
callq 0x256a0
movq %rax, -0x168(%rbp)
jmp 0x1f6c6
movq -0x138(%rbp), %rdi
callq 0x25510
movq %rax, %rdi
movq -0x140(%rbp), %rsi
callq 0x256d0
movq %rax, -0x168(%rbp)
movq -0x160(%rbp), %rdi
movq -0x168(%rbp), %rsi
callq 0x256d0
movq 0x10110(%rip), %rax     # 0x2f7f0
movq %rax, -0x10(%rbp)
callq 0x2250
movq (%rax), %rax
movq -0x10(%rbp), %rcx
movsbl (%rcx), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x2000, %eax           # imm = 0x2000
cmpl $0x0, %eax
je 0x1f712
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
jmp 0x1f6e4
movq -0x10(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x29, %eax
jne 0x1f72f
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
jmp 0x1f82c
movq $0x0, -0x140(%rbp)
jmp 0x1f82c
jmp 0x1f741
movq -0x10(%rbp), %rdi
callq 0x1f3f0
movq %rax, -0x140(%rbp)
cmpq $0x0, -0x140(%rbp)
jne 0x1f760
jmp 0x1f82c
movq -0x138(%rbp), %rax
movq %rax, -0x170(%rbp)
movq -0x138(%rbp), %rdi
callq 0x25380
leaq 0xfb0f(%rip), %rcx      # 0x2f290
cmpq %rcx, %rax
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x1f7cd
movq -0x138(%rbp), %rax
movq %rax, -0x180(%rbp)
movq -0x140(%rbp), %rdi
leaq 0xfae0(%rip), %rsi      # 0x2f290
callq 0x25290
movq -0x180(%rbp), %rdi
movq %rax, %rsi
callq 0x256a0
movq %rax, -0x178(%rbp)
jmp 0x1f809
movq -0x138(%rbp), %rdi
callq 0x25510
movq %rax, -0x188(%rbp)
movq -0x140(%rbp), %rdi
leaq 0xfaa2(%rip), %rsi      # 0x2f290
callq 0x25290
movq -0x188(%rbp), %rdi
movq %rax, %rsi
callq 0x256d0
movq %rax, -0x178(%rbp)
movq -0x170(%rbp), %rdi
movq -0x178(%rbp), %rsi
callq 0x256d0
movq 0xffcd(%rip), %rax      # 0x2f7f0
movq %rax, -0x10(%rbp)
jmp 0x1f5cc
movq -0x138(%rbp), %rdi
callq 0x25380
movq %rax, -0x30(%rbp)
movq -0x140(%rbp), %rdx
xorl %eax, %eax
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpq $0x0, %rdx
cmovel %ecx, %eax
movl %eax, -0x14(%rbp)
jmp 0x1f8e4
cmpl $0x27, -0x18(%rbp)
jne 0x1f8db
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1f3f0
movq %rax, -0x148(%rbp)
cmpq $0x0, -0x148(%rbp)
je 0x1f8d2
leaq 0xae50(%rip), %rdi      # 0x2a6dc
callq 0x216e0
movq %rax, -0x190(%rbp)
movq -0x148(%rbp), %rdi
leaq 0xf9ea(%rip), %rsi      # 0x2f290
callq 0x25290
movq -0x190(%rbp), %rdi
movq %rax, %rsi
callq 0x25290
movq %rax, -0x30(%rbp)
movq 0xff2b(%rip), %rax      # 0x2f7f0
movq %rax, -0x10(%rbp)
movl $0x0, -0x14(%rbp)
jmp 0x1f8d9
movl $0xffffffff, -0x14(%rbp) # imm = 0xFFFFFFFF
jmp 0x1f8e2
movl $0xffffffff, -0x14(%rbp) # imm = 0xFFFFFFFF
jmp 0x1f8e4
jmp 0x1f8e6
jmp 0x1f8e8
jmp 0x1f8ea
jmp 0x1f8ec
jmp 0x1f8ee
jmp 0x1fd2f
cmpl $0x0, -0x18(%rbp)
je 0x1f931
callq 0x2250
movq (%rax), %rax
movslq -0x18(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x2000, %eax           # imm = 0x2000
cmpl $0x0, %eax
jne 0x1f931
cmpl $0x28, -0x18(%rbp)
je 0x1f931
cmpl $0x29, -0x18(%rbp)
je 0x1f931
cmpl $0x3a, -0x18(%rbp)
je 0x1f931
cmpl $0x22, -0x18(%rbp)
je 0x1f931
cmpl $0x27, -0x18(%rbp)
jne 0x1f98b
movq -0x20(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x2d, %eax
jne 0x1f972
movq -0x10(%rbp), %rax
movq -0x20(%rbp), %rcx
subq %rcx, %rax
cmpq $0x1, %rax
jle 0x1f958
xorl %eax, %eax
subl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0x1f970
movq -0x10(%rbp), %rax
addq $-0x1, %rax
movq %rax, -0x10(%rbp)
movl $0x3, -0x14(%rbp)
jmp 0x1fd2f
jmp 0x1f972
movslq -0x24(%rbp), %rax
shlq $0x2, %rax
orq $0x3, %rax
movq %rax, -0x30(%rbp)
movl $0x0, -0x14(%rbp)
jmp 0x1f9eb
callq 0x2250
movq (%rax), %rax
movslq -0x18(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x800, %eax            # imm = 0x800
cmpl $0x0, %eax
je 0x1f9bd
imull $0xa, -0x24(%rbp), %eax
movl -0x18(%rbp), %ecx
subl $0x30, %ecx
addl %ecx, %eax
movl %eax, -0x24(%rbp)
movl $0x2, -0x14(%rbp)
jmp 0x1f9e9
callq 0x2250
movq (%rax), %rax
movslq -0x18(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x4000, %eax           # imm = 0x4000
cmpl $0x0, %eax
je 0x1f9e0
movl $0x3, -0x14(%rbp)
jmp 0x1f9e7
movl $0xffffffff, -0x14(%rbp) # imm = 0xFFFFFFFF
jmp 0x1f9e9
jmp 0x1f9eb
jmp 0x1fd2f
cmpl $0x0, -0x18(%rbp)
je 0x1fa32
callq 0x2250
movq (%rax), %rax
movslq -0x18(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x2000, %eax           # imm = 0x2000
cmpl $0x0, %eax
jne 0x1fa32
cmpl $0x28, -0x18(%rbp)
je 0x1fa32
cmpl $0x29, -0x18(%rbp)
je 0x1fa32
cmpl $0x3a, -0x18(%rbp)
je 0x1fa32
cmpl $0x22, -0x18(%rbp)
je 0x1fa32
cmpl $0x27, -0x18(%rbp)
jne 0x1fb20
movq -0x10(%rbp), %rax
movq -0x20(%rbp), %rcx
subq %rcx, %rax
cmpq $0x100, %rax            # imm = 0x100
jae 0x1faaa
leaq -0x130(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x10(%rbp), %rdx
movq -0x20(%rbp), %rax
subq %rax, %rdx
callq 0x2070
leaq -0x130(%rbp), %rdi
callq 0x216e0
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x198(%rbp)
leaq 0xba52(%rip), %rdi      # 0x2b4d4
callq 0x216e0
movq %rax, %rcx
movq -0x198(%rbp), %rax
cmpq %rcx, %rax
jne 0x1faa1
leaq 0xf7f3(%rip), %rax      # 0x2f290
movq %rax, -0x30(%rbp)
movl $0x0, -0x14(%rbp)
jmp 0x1fb1e
jmp 0x1faac
leaq 0xfe6d(%rip), %rax      # 0x2f920
cmpl $0x0, (%rax)
je 0x1fb15
leaq 0xf861(%rip), %rax      # 0x2f320
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x98a2(%rip), %rcx      # 0x2936f
movq %rcx, 0x10(%rax)
leaq 0x9897(%rip), %rdi      # 0x2936f
callq 0x278a0
cmpl $0x0, %eax
je 0x1fb15
leaq 0xf837(%rip), %rax      # 0x2f320
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x25a, 0xc(%rax)       # imm = 0x25A
movq -0x10(%rbp), %rsi
movq -0x20(%rbp), %rax
subq %rax, %rsi
leaq 0xabdb(%rip), %rdi      # 0x2a6e4
movl $0x100, %edx            # imm = 0x100
movb $0x0, %al
callq 0x28540
jmp 0x1fb17
movl $0xffffffff, -0x14(%rbp) # imm = 0xFFFFFFFF
jmp 0x1fb4c
callq 0x2250
movq (%rax), %rax
movslq -0x18(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x4000, %eax           # imm = 0x4000
cmpl $0x0, %eax
je 0x1fb43
movl $0x3, -0x14(%rbp)
jmp 0x1fb4a
movl $0xffffffff, -0x14(%rbp) # imm = 0xFFFFFFFF
jmp 0x1fb4c
jmp 0x1fd2f
cmpl $0x0, -0x18(%rbp)
je 0x1fb71
callq 0x2250
movq (%rax), %rax
movslq -0x18(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x4000, %eax           # imm = 0x4000
cmpl $0x0, %eax
jne 0x1fb7d
movl $0xffffffff, -0x14(%rbp) # imm = 0xFFFFFFFF
jmp 0x1fcb0
cmpl $0x22, -0x18(%rbp)
jne 0x1fca7
movq -0x20(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x22, %eax
je 0x1fb9f
movl $0xffffffff, -0x14(%rbp) # imm = 0xFFFFFFFF
jmp 0x1fca5
movq -0x10(%rbp), %rax
movq -0x20(%rbp), %rcx
subq %rcx, %rax
cmpq $0x100, %rax            # imm = 0x100
jae 0x1fc2f
movq -0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
leaq -0x130(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x10(%rbp), %rdx
movq -0x20(%rbp), %rax
subq %rax, %rdx
callq 0x2070
leaq -0x130(%rbp), %rdi
callq 0x216e0
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x1a0(%rbp)
leaq 0xb8d9(%rip), %rdi      # 0x2b4d4
callq 0x216e0
movq %rax, %rcx
movq -0x1a0(%rbp), %rax
cmpq %rcx, %rax
jne 0x1fc1a
leaq 0xf67a(%rip), %rax      # 0x2f290
movq %rax, -0x30(%rbp)
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
movl $0x0, -0x14(%rbp)
jmp 0x1fca3
jmp 0x1fc31
leaq 0xfce8(%rip), %rax      # 0x2f920
cmpl $0x0, (%rax)
je 0x1fc9a
leaq 0xf6dc(%rip), %rax      # 0x2f320
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x971d(%rip), %rcx      # 0x2936f
movq %rcx, 0x10(%rax)
leaq 0x9712(%rip), %rdi      # 0x2936f
callq 0x278a0
cmpl $0x0, %eax
je 0x1fc9a
leaq 0xf6b2(%rip), %rax      # 0x2f320
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x274, 0xc(%rax)       # imm = 0x274
movq -0x10(%rbp), %rsi
movq -0x20(%rbp), %rax
subq %rax, %rsi
leaq 0xaa56(%rip), %rdi      # 0x2a6e4
movl $0x100, %edx            # imm = 0x100
movb $0x0, %al
callq 0x28540
jmp 0x1fc9c
movl $0xffffffff, -0x14(%rbp) # imm = 0xFFFFFFFF
jmp 0x1fca5
jmp 0x1fcae
movl $0x4, -0x14(%rbp)
jmp 0x1fcb0
jmp 0x1fd2f
jmp 0x1fcb4
leaq 0xfc65(%rip), %rax      # 0x2f920
cmpl $0x0, (%rax)
je 0x1fd11
leaq 0xf659(%rip), %rax      # 0x2f320
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x969a(%rip), %rcx      # 0x2936f
movq %rcx, 0x10(%rax)
leaq 0x968f(%rip), %rdi      # 0x2936f
callq 0x278a0
cmpl $0x0, %eax
je 0x1fd11
leaq 0xf62f(%rip), %rax      # 0x2f320
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x27c, 0xc(%rax)       # imm = 0x27C
movq -0x10(%rbp), %rsi
leaq 0xa9fa(%rip), %rdi      # 0x2a704
movb $0x0, %al
callq 0x28540
jmp 0x1fd13
movq -0x10(%rbp), %rsi
leaq 0xa9f7(%rip), %rdi      # 0x2a715
movb $0x0, %al
callq 0x20e0
movq $0x0, -0x8(%rbp)
jmp 0x1fd59
cmpl $0x0, -0x14(%rbp)
jl 0x1fd4c
movq -0x10(%rbp), %rax
movq %rax, 0xfab0(%rip)      # 0x2f7f0
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
jmp 0x1f459
movq -0x30(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbp
retq
nopw %cs:(%rax,%rax)