// File: /workspace/github_c_makefile_star2_O2/markdryan[P]subtilis/frontend/parser_loops.c
// Function: subtilis_parser_for
void subtilis_parser_for(subtilis_parser_t *p, subtilis_token_t *t,
			 subtilis_error_t *err)
{
	const char *tbuf;
	subtilis_type_t var_type;
	subtilis_for_context_t for_ctx;
	char *var_name = NULL;
	subtilis_exp_t *to = NULL;
	subtilis_exp_t *step = NULL;
	bool new_local = false;
	subtilis_step_type_t step_type = SUBTILIS_STEP_MAX;

	var_type.type = SUBTILIS_TYPE_VOID;
	for_ctx.type.type = SUBTILIS_TYPE_VOID;

	subtilis_lexer_get(p->l, t, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;

	tbuf = subtilis_token_get_text_with_err(t, err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;

	if (t->type == SUBTILIS_TOKEN_KEYWORD) {
		if (t->tok.keyword.type != SUBTILIS_KEYWORD_LOCAL) {
			subtilis_error_set_expected(
			    err, "LOCAL", tbuf, p->l->stream->name, p->l->line);
			return;
		}

		subtilis_lexer_get(p->l, t, err);
		if (err->type != SUBTILIS_ERROR_OK)
			return;

		new_local = true;
		tbuf = subtilis_token_get_text_with_err(t, err);
		if (err->type != SUBTILIS_ERROR_OK)
			return;
	}

	if (t->type != SUBTILIS_TOKEN_IDENTIFIER) {
		subtilis_error_set_id_expected(err, tbuf, p->l->stream->name,
					       p->l->line);
		return;
	}

	var_type = t->tok.id_type;
	if (!subtilis_type_if_is_numeric(&var_type)) {
		subtilis_error_set_numeric_expected(
		    err, tbuf, p->l->stream->name, p->l->line);
		return;
	}

	var_name = malloc(subtilis_buffer_get_size(&t->buf));
	if (!var_name) {
		subtilis_error_set_oom(err);
		return;
	}
	strcpy(var_name, tbuf);

	prv_for_assignment(p, t, &for_ctx, new_local, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	if ((t->type != SUBTILIS_TOKEN_KEYWORD) ||
	    (t->tok.keyword.type != SUBTILIS_KEYWORD_TO)) {
		tbuf = subtilis_token_get_text(t);
		subtilis_error_set_expected(err, "TO", tbuf, p->l->stream->name,
					    p->l->line);
		goto cleanup;
	}

	to = prv_numeric_expression(p, t, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	if ((t->type == SUBTILIS_TOKEN_KEYWORD) &&
	    (t->tok.keyword.type == SUBTILIS_KEYWORD_STEP)) {
		step = prv_numeric_expression(p, t, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto cleanup;
		step_type = prv_compute_step_type(p, step, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto cleanup;

		/* Takes ownership of to and step */

		if (step_type == SUBTILIS_STEP_VAR) {
			step = subtilis_type_if_copy_var(p, step, err);
			if (err->type != SUBTILIS_ERROR_OK)
				goto cleanup;
			if (subtilis_type_if_is_integer(&var_type))
				prv_for_step_int_var(p, t, to, step, &for_ctx,
						     err);
			else
				prv_for_step_generic_var(p, t, to, step,
							 &for_ctx, err);
		} else {
			prv_for_step_const(p, t, to, step, step_type, &for_ctx,
					   err);
		}
		step = NULL;
	} else {
		/* Takes ownership of to */

		prv_for_no_step(p, t, to, &for_ctx, err);
	}
	to = NULL;

	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	subtilis_lexer_get(p->l, t, err);

cleanup:

	subtilis_type_free(&var_type);
	subtilis_type_free(&for_ctx.type);
	subtilis_exp_delete(step);
	free(var_name);
	subtilis_exp_delete(to);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x498, %rsp            # imm = 0x498
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movl $0x8, 0xc0(%rsp)
movq (%rdi), %rdi
callq 0x12e0e
cmpl $0x0, (%rbx)
jne 0x2085a
movq %r15, %rdi
movq %rbx, %rsi
callq 0x12a73
cmpl $0x0, (%rbx)
je 0x2086c
addq $0x498, %rsp            # imm = 0x498
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r12
movl (%r15), %ebp
cmpl $0x1, %ebp
sete %r13b
jne 0x208b1
cmpl $0x4a, 0x8(%r15)
movq (%r14), %rdi
jne 0x20958
movq %r15, %rsi
movq %rbx, %rdx
callq 0x12e0e
cmpl $0x0, (%rbx)
jne 0x2085a
movq %r15, %rdi
movq %rbx, %rsi
callq 0x12a73
cmpl $0x0, (%rbx)
jne 0x2085a
movq %rax, %r12
movl (%r15), %eax
jmp 0x208b3
movl %ebp, %eax
cmpl $0x6, %eax
jne 0x2092f
movl %r13d, 0x8(%rsp)
leaq 0x8(%r15), %rsi
leaq 0x350(%rsp), %r13
movl $0x148, %edx            # imm = 0x148
movq %r13, %rdi
movq %rsi, 0x28(%rsp)
callq 0x121b0
movq %r13, %rdi
callq 0x35655
testb %al, %al
je 0x2098e
leaq 0x158(%r15), %rdi
callq 0x14804
leaq 0x208(%rsp), %rdx
movl $0x8, (%rdx)
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rcx
callq 0x17cc2
cmpl $0x0, (%rbx)
je 0x209c2
xorl %r13d, %r13d
xorl %r12d, %r12d
leaq 0xc0(%rsp), %rbp
jmp 0x20f3e
movq (%r14), %rax
movq 0x30(%rax), %r8
movl 0x38(%rax), %r9d
leaq 0x4d007(%rip), %rax     # 0x6d948
leaq 0x4d47d(%rip), %rcx     # 0x6ddc5
pushq $0x12
popq %rsi
movq %rbx, %rdi
movq %r12, %rdx
pushq $0x366                  # imm = 0x366
jmp 0x2097c
movq 0x30(%rdi), %r8
movl 0x38(%rdi), %r9d
leaq 0x4cfe1(%rip), %rax     # 0x6d948
leaq 0x4c710(%rip), %rdx     # 0x6d07e
pushq $0x1d
popq %rsi
movq %rbx, %rdi
movq %r12, %rcx
pushq $0x356                  # imm = 0x356
pushq %rax
callq 0x140cd
addq $0x4a8, %rsp            # imm = 0x4A8
jmp 0x20861
movq (%r14), %rax
movq 0x30(%rax), %r8
movl 0x38(%rax), %r9d
leaq 0x4cfa8(%rip), %rax     # 0x6d948
leaq 0x4d41e(%rip), %rcx     # 0x6ddc5
pushq $0x2c
popq %rsi
movq %rbx, %rdi
movq %r12, %rdx
pushq $0x36d                  # imm = 0x36D
pushq %rax
callq 0x140cd
popq %rax
popq %rcx
jmp 0x2085a
movq %rax, %r13
movq %r15, %rdi
callq 0x12a25
cmpl $0x2, (%r15)
jne 0x20a63
movzbl (%rax), %ecx
cmpl $0x7b, %ecx
je 0x20aed
cmpl $0x3a, %ecx
je 0x20aa0
cmpl $0x28, %ecx
jne 0x20af7
cmpb $0x0, 0x1(%rax)
jne 0x20af7
leaq 0x27(%rsp), %r9
movb $0x0, (%r9)
subq $0x8, %rsp
leaq 0x50(%rsp), %rcx
leaq 0x48(%rsp), %r8
movq %r14, %rdi
movq %r15, %rsi
movq %r13, %rdx
pushq %rbx
callq 0x17d87
popq %rax
popq %rcx
cmpl $0x0, (%rbx)
jne 0x20a93
cmpb $0x1, 0x27(%rsp)
jne 0x21112
movq (%r14), %rax
movq 0x30(%rax), %r8
movl 0x38(%rax), %r9d
leaq 0x4ceff(%rip), %rax     # 0x6d948
leaq 0x4d375(%rip), %rcx     # 0x6ddc5
pushq $0x1b
popq %rsi
movq %rbx, %rdi
movq %r13, %rdx
pushq $0x118                  # imm = 0x118
jmp 0x20c81
movq (%r14), %rcx
movq 0x30(%rcx), %r8
movl 0x38(%rcx), %r9d
leaq 0x4ced3(%rip), %r10     # 0x6d948
leaq 0x4d349(%rip), %rcx     # 0x6ddc5
pushq $0x14
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
pushq $0x17b                  # imm = 0x17B
pushq %r10
callq 0x140cd
popq %rax
popq %rcx
leaq 0xc0(%rsp), %rbp
jmp 0x20cfe
cmpb $0x3d, 0x1(%rax)
jne 0x20af7
cmpb $0x0, 0x2(%rax)
jne 0x20af7
cmpl $0x1, %ebp
jne 0x2102e
movq (%r14), %rcx
movq 0x30(%rcx), %r8
movl 0x38(%rcx), %r9d
leaq 0x4ce81(%rip), %r10     # 0x6d948
leaq 0x4cb28(%rip), %rdx     # 0x6d5f6
pushq $0x1d
popq %rsi
movq %rbx, %rdi
movq %rax, %rcx
pushq $0x18c                  # imm = 0x18C
pushq %r10
callq 0x140cd
popq %rax
popq %rcx
movb $0x1, %al
movl %eax, 0x8(%rsp)
jmp 0x20a93
cmpb $0x0, 0x1(%rax)
je 0x20c1e
movb $0x0, 0x48(%rsp)
cmpl $0x1, %ebp
jne 0x20b4e
movq 0x68(%r14), %rdi
movq %r13, %rsi
callq 0x2d376
testq %rax, %rax
leaq 0xc0(%rsp), %rbp
je 0x20b8c
movq (%r14), %rax
movq 0x30(%rax), %r8
movl 0x38(%rax), %r9d
leaq 0x4ce1c(%rip), %rax     # 0x6d948
leaq 0x4d292(%rip), %rcx     # 0x6ddc5
pushq $0x20
popq %rsi
movq %rbx, %rdi
movq %r13, %rdx
pushq $0x15d                  # imm = 0x15D
pushq %rax
callq 0x140cd
popq %rax
popq %rcx
jmp 0x20cf3
subq $0x8, %rsp
leaq 0x48(%rsp), %rcx
leaq 0x58(%rsp), %r8
leaq 0x50(%rsp), %r9
movq %r14, %rdi
movq %r15, %rsi
movq %r13, %rdx
pushq %rbx
callq 0x17d87
popq %rax
popq %rcx
cmpl $0x0, (%rbx)
leaq 0xc0(%rsp), %rbp
je 0x20bce
movl $0x0, 0x8(%rsp)
jmp 0x20cfe
movb $0x1, 0xa8(%rsp)
leaq 0x208(%rsp), %rsi
movl $0x148, %edx            # imm = 0x148
movq %rbp, %rdi
callq 0x121b0
movq %rbp, %rdi
callq 0x35ab4
movq 0x48(%r14), %rcx
testl %eax, %eax
je 0x20cdf
movq 0x20(%rcx), %rax
leaq 0x1(%rax), %rdx
movq %rdx, 0x20(%rcx)
jmp 0x20ceb
cmpb $0x0, 0x48(%rsp)
je 0x20c8e
movq 0x48(%r14), %rax
cmpb $0x1, 0xe0(%rax)
jne 0x21001
movq (%r14), %rax
movq 0x30(%rax), %r8
movl 0x38(%rax), %r9d
leaq 0x4cd4c(%rip), %rax     # 0x6d948
leaq 0x4d1c2(%rip), %rcx     # 0x6ddc5
pushq $0x6c
popq %rsi
movq %rbx, %rdi
movq %r13, %rdx
pushq $0x149                  # imm = 0x149
pushq %rax
callq 0x140cd
popq %rax
popq %rcx
jmp 0x20cd5
leaq 0x27(%rsp), %r9
movb $0x0, (%r9)
subq $0x8, %rsp
leaq 0x50(%rsp), %rcx
leaq 0x48(%rsp), %r8
movq %r14, %rdi
movq %r15, %rsi
movq %r13, %rdx
pushq %rbx
callq 0x17d87
popq %rax
popq %rcx
cmpl $0x0, (%rbx)
jne 0x20a93
cmpb $0x1, 0x27(%rsp)
jne 0x210a5
movq (%r14), %rax
movq 0x30(%rax), %r8
movl 0x38(%rax), %r9d
leaq 0x4ccdc(%rip), %rax     # 0x6d948
leaq 0x4d152(%rip), %rcx     # 0x6ddc5
pushq $0x1b
popq %rsi
movq %rbx, %rdi
movq %r13, %rdx
pushq $0x12e                  # imm = 0x12E
pushq %rax
callq 0x140cd
popq %rax
popq %rcx
jmp 0x2113c
movq 0x40(%rsp), %rsi
movb 0x2a8(%rsi), %al
movb %al, 0xa8(%rsp)
addq $0x8, %rsi
movq %rbp, %rdi
movq %rbx, %rdx
callq 0x2de8a
cmpl $0x0, (%rbx)
jne 0x20b7f
movq 0x50(%rsp), %rax
movq %rax, 0xb0(%rsp)
movq 0x40(%rsp), %rax
movq (%rax), %rax
movq %rax, 0xb8(%rsp)
movl $0x0, 0x8(%rsp)
jmp 0x20cf9
movq 0x18(%rcx), %rax
leaq 0x1(%rax), %rdx
movq %rdx, 0x18(%rcx)
movq %rax, 0xb8(%rsp)
movb $0x1, %al
movl %eax, 0x8(%rsp)
cmpl $0x0, (%rbx)
je 0x20d25
leaq 0x208(%rsp), %rdi
callq 0x2dc7c
movq %r13, %rdi
callq 0x122c0
xorl %r13d, %r13d
cmpl $0x0, (%rbx)
movl $0x0, %r12d
jne 0x20f3e
movq %r15, %rdi
callq 0x12a25
movzbl (%rax), %ecx
cmpl $0x3a, %ecx
je 0x20d45
cmpl $0x3d, %ecx
jne 0x20d55
cmpb $0x0, 0x1(%rax)
jne 0x20d55
jmp 0x20f68
cmpb $0x3d, 0x1(%rax)
jne 0x20d55
cmpb $0x0, 0x2(%rax)
je 0x20f68
movq (%r14), %rcx
movq 0x30(%rcx), %r8
movl 0x38(%rcx), %r9d
leaq 0x4cbe1(%rip), %r10     # 0x6d948
leaq 0x4d057(%rip), %rcx     # 0x6ddc5
pushq $0x14
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
pushq $0x1b0                  # imm = 0x1B0
pushq %r10
callq 0x140cd
popq %rax
popq %rcx
movq %r13, %rdi
callq 0x122c0
cmpl $0x0, (%rbx)
jne 0x20f38
cmpl $0x1, (%r15)
jne 0x20f00
movq 0x28(%rsp), %rax
cmpl $0x86, (%rax)
jne 0x20f00
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x21bc9
movq %rax, %r13
cmpl $0x0, (%rbx)
jne 0x20f3b
cmpl $0x1, (%r15)
jne 0x21038
movq 0x28(%rsp), %rax
cmpl $0x76, (%rax)
jne 0x21038
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x21bc9
movq %rax, %r12
cmpl $0x0, (%rbx)
jne 0x20922
movq %r12, %rdi
callq 0x35655
testb %al, %al
je 0x21281
movq %r12, %rdi
callq 0x348f9
testb %al, %al
je 0x21386
movq %r14, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x33e86
cmpl $0x0, (%rbx)
jne 0x20922
movq %rax, %rbp
movq %r12, %rdi
movq %rbx, %rsi
callq 0x341c4
cmpl $0x0, (%rbx)
jne 0x21647
movq %r14, %rdi
movq %rax, %rsi
movq %rbp, %rdx
movq %rbx, %rcx
callq 0x34ddc
movq %rax, %rbp
cmpl $0x0, (%rbx)
jne 0x21647
movq %rbp, %rdi
callq 0x348f9
testb %al, %al
je 0x214ed
cmpl $-0x1, 0x148(%rbp)
je 0x21632
movq %rbp, %rdi
callq 0x29d88
movq %r14, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x33e86
movq %rax, %rbp
cmpl $0x0, (%rbx)
jne 0x21647
movq %r12, %rdi
movq %rbx, %rsi
callq 0x341c4
cmpl $0x0, (%rbx)
jne 0x21647
movq %r14, %rdi
movq %rax, %rsi
movq %rbp, %rdx
movq %rbx, %rcx
callq 0x351f7
movq %rax, %rbp
cmpl $0x0, (%rbx)
jne 0x21647
movq %rbp, %rdi
callq 0x348f9
testb %al, %al
je 0x217d8
movq %rbp, %rdi
cmpl $-0x1, 0x148(%rbp)
setne %bpl
callq 0x29d88
jmp 0x212a3
movq %r15, %rdi
callq 0x12a25
movq (%r14), %rcx
movq 0x30(%rcx), %r8
movl 0x38(%rcx), %r9d
leaq 0x4ca2e(%rip), %r10     # 0x6d948
leaq 0x4c289(%rip), %rdx     # 0x6d1aa
pushq $0x1d
popq %rsi
movq %rbx, %rdi
movq %rax, %rcx
pushq $0x380                  # imm = 0x380
pushq %r10
callq 0x140cd
popq %rax
popq %rcx
xorl %r13d, %r13d
xorl %r12d, %r12d
leaq 0x350(%rsp), %rdi
callq 0x2dc7c
movq %rbp, %rdi
callq 0x2dc7c
movq %r12, %rdi
callq 0x29d88
movq %r13, %rdi
callq 0x29d88
jmp 0x2085a
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x1dfd5
cmpl $0x0, (%rbx)
jne 0x20d85
movq %r14, %rdi
movq %rax, %rsi
movq %rbp, %rdx
movq %rbx, %rcx
callq 0x35977
cmpl $0x0, (%rbx)
jne 0x20d85
movq %rax, %r12
cmpb $0x0, 0x8(%rsp)
je 0x21149
incq 0x78(%r14)
movq (%r14), %rsi
movq 0x68(%r14), %rdi
movq %rbx, %rdx
callq 0x2cb0c
cmpl $0x0, (%rbx)
jne 0x20d85
movq 0xb8(%rsp), %rsi
movq %r14, %rdi
movq %r12, %rdx
movq %rbx, %rcx
callq 0x342ce
cmpl $0x0, (%rbx)
jne 0x20d85
movq 0x68(%r14), %rdi
movq 0xb8(%rsp), %rcx
movq %r13, %rsi
movq %rbp, %rdx
movq %rbx, %r8
callq 0x2d0fe
jmp 0x20d85
movq 0x60(%r14), %rdi
leaq 0x208(%rsp), %rdx
movq %r13, %rsi
movq %rbx, %rcx
callq 0x2cbb7
movq %rax, 0x40(%rsp)
cmpl $0x0, (%rbx)
jne 0x20b7f
movq %rax, %rsi
jmp 0x20c93
movb $0x0, 0x48(%rsp)
jmp 0x20b01
leaq 0x208(%rsp), %rdx
leaq 0x50(%rsp), %rcx
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %r8
callq 0x22c24
cmpl $0x0, (%rbx)
jne 0x2106c
pushq $0x1
popq %rdi
movq %rbx, %rsi
callq 0x2a369
cmpl $0x0, (%rbx)
je 0x21201
xorl %ebp, %ebp
xorl %r12d, %r12d
movq %r12, %rdi
callq 0x29d88
movq %rbp, %rdi
callq 0x29d88
movq %r13, %rdi
callq 0x29d88
cmpl $0x0, (%rbx)
jne 0x2091c
movq (%r14), %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x12e0e
jmp 0x2091c
movq 0x48(%rsp), %rbp
movq 0x40(%rsp), %r12
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x1e894
movq %rax, 0x50(%rsp)
cmpl $0x0, (%rbx)
jne 0x2113c
movq (%r14), %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x12e0e
cmpl $0x0, (%rbx)
jne 0x210ff
leaq 0x8(%rbp), %rsi
movq %r14, %rdi
movq %rsi, 0x10(%rsp)
leaq 0xc0(%rsp), %rdx
movq %rbx, %rcx
callq 0x34108
cmpl $0x0, (%rbx)
je 0x212e0
xorl %edi, %edi
callq 0x29d88
movq 0x50(%rsp), %rdi
callq 0x29d88
jmp 0x2113c
movq 0x48(%rsp), %rbp
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
leaq 0x50(%rsp), %rdx
pushq $0xa
popq %rcx
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %r8
callq 0x1e437
cmpl $0x0, (%rbx)
je 0x2116b
leaq 0xc0(%rsp), %rbp
jmp 0x20cf9
cmpb $0x1, 0xa8(%rsp)
jne 0x211c3
movq 0xb8(%rsp), %rsi
movq %r14, %rdi
movq %r12, %rdx
movq %rbx, %rcx
callq 0x342ce
jmp 0x211e1
movq %rax, %r12
movq (%r14), %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x12e0e
cmpl $0x0, (%rbx)
jne 0x211a6
leaq 0x8(%rbp), %rsi
movq %r14, %rdi
movq %rsi, 0x18(%rsp)
leaq 0xc0(%rsp), %rdx
movq %rbx, %rcx
callq 0x34108
cmpl $0x0, (%rbx)
je 0x21332
xorl %edi, %edi
callq 0x29d88
xorl %ebp, %ebp
cmpq %rbp, %r12
je 0x2113c
movq 0x50(%rsp,%rbp,8), %rdi
callq 0x29d88
incq %rbp
jmp 0x211af
movq 0xb0(%rsp), %rsi
movq 0xb8(%rsp), %rdx
movq %r14, %rdi
movq %r12, %rcx
movq %rbx, %r8
callq 0x34300
incq 0x78(%r14)
movq (%r14), %rsi
movq 0x68(%r14), %rdi
movq %rbx, %rdx
callq 0x2cb0c
leaq 0xc0(%rsp), %rbp
jmp 0x20d85
leaq 0xa8(%rsp), %rdx
movq %r14, %rdi
movq %rax, %rsi
movq %rbx, %rcx
callq 0x22c9c
movq %rax, %rbp
cmpl $0x0, (%rbx)
jne 0x2106e
movq %r14, %rdi
movq %rbp, %rsi
movq %r13, %rdx
movq %rbx, %rcx
callq 0x2a5e0
movq %rax, %r12
cmpl $0x0, (%rbx)
jne 0x21277
movq 0x48(%r14), %rdi
movq 0x148(%r12), %rdx
movq 0x50(%rsp), %r13
movq 0x208(%rsp), %r8
pushq $0x43
popq %rsi
movq %r13, %rcx
movq %rbx, %r9
callq 0x2a8c1
cmpl $0x0, (%rbx)
jne 0x21277
movq 0x48(%r14), %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x2b781
xorl %r13d, %r13d
xorl %ebp, %ebp
jmp 0x21071
movq (%r14), %rax
movq 0x30(%rax), %rdx
movl 0x38(%rax), %ecx
leaq 0x4c6b6(%rip), %r8      # 0x6d948
pushq $0x44
popq %rsi
pushq $0x46
popq %r9
movq %rbx, %rdi
callq 0x142c0
xorl %ebp, %ebp
cmpl $0x0, (%rbx)
jne 0x20922
leaq 0x208(%rsp), %rdx
leaq 0x50(%rsp), %rcx
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %r8
callq 0x22c24
cmpl $0x0, (%rbx)
je 0x21404
xorl %ebp, %ebp
movq $0x0, 0x8(%rsp)
jmp 0x21429
movq (%rbp), %r8
leaq 0x50(%rsp), %r9
movq %r14, %rdi
movq %r13, %rsi
movq 0x10(%rsp), %rdx
movq %r12, %rcx
pushq %rbx
pushq $0x1
callq 0x4108f
popq %rcx
popq %rdx
movq %rax, %rdi
cmpl $0x0, (%rbx)
jne 0x21101
movb $0x0, 0xa8(%rsp)
movq 0x148(%rdi), %rax
movq %rax, 0xb0(%rsp)
andq $0x0, 0xb8(%rsp)
jmp 0x21101
movq (%rbp), %r8
leaq 0x50(%rsp), %r9
movq %r14, %rdi
movq %r13, %rsi
movq 0x18(%rsp), %rdx
movq 0x10(%rsp), %rcx
pushq %rbx
pushq %r12
callq 0x4108f
popq %rcx
popq %rdx
movq %rax, %rdi
cmpl $0x0, (%rbx)
jne 0x211a8
movb $0x0, 0xa8(%rsp)
movq 0x148(%rdi), %rax
movq %rax, 0xb0(%rsp)
andq $0x0, 0xb8(%rsp)
jmp 0x211a8
cmpl $0x0, (%rbx)
jne 0x20922
movq %r14, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x341ab
movq %rax, %r12
cmpl $0x0, (%rbx)
jne 0x20922
leaq 0x350(%rsp), %rdi
callq 0x353e4
testb %al, %al
je 0x21465
movl $0x8, 0x208(%rsp)
movq %r14, %rdi
movq %r12, %rsi
leaq 0xc0(%rsp), %rdx
movq %rbx, %rcx
callq 0x35977
movq %rax, 0x8(%rsp)
cmpl $0x0, (%rbx)
je 0x214ff
movq $0x0, 0x28(%rsp)
movq $0x0, 0x10(%rsp)
jmp 0x2153d
leaq 0xa8(%rsp), %rdx
movq %r14, %rdi
movq %r12, %rsi
movq %rbx, %rcx
callq 0x22c9c
movq %rax, 0x8(%rsp)
cmpl $0x0, (%rbx)
je 0x2144b
xorl %r12d, %r12d
xorl %ebp, %ebp
movq %rbp, %rdi
callq 0x29d88
movq 0x8(%rsp), %rdi
callq 0x29d88
movq %r13, %rdi
callq 0x29d88
movq %r12, %rdi
jmp 0x21084
movq %r14, %rdi
testb %bpl, %bpl
je 0x21490
movq 0x8(%rsp), %rsi
movq %r13, %rdx
movq %rbx, %rcx
callq 0x2a5e0
jmp 0x214a0
leaq 0x208(%rsp), %rdx
leaq 0x50(%rsp), %rcx
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %r8
callq 0x22c24
cmpl $0x0, (%rbx)
je 0x215c3
xorl %ebp, %ebp
jmp 0x215d6
movq 0x8(%rsp), %rsi
movq %r13, %rdx
movq %rbx, %rcx
callq 0x2a5ea
movq %rax, %rbp
cmpl $0x0, (%rbx)
jne 0x214e2
movq 0x48(%r14), %rdi
movq 0x148(%rbp), %rdx
movq 0x50(%rsp), %r12
movq 0x208(%rsp), %r8
pushq $0x43
popq %rsi
movq %r12, %rcx
movq %rbx, %r9
callq 0x2a8c1
cmpl $0x0, (%rbx)
jne 0x214e2
movq 0x48(%r14), %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x2b781
xorl %r12d, %r12d
xorl %r13d, %r13d
jmp 0x212d2
leaq 0x4c454(%rip), %rdx     # 0x6d948
pushq $0xf
popq %rsi
pushq $0x5a
popq %rcx
jmp 0x2163f
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x341c4
movq %rax, 0x10(%rsp)
cmpl $0x0, (%rbx)
jne 0x21534
leaq 0x208(%rsp), %rsi
movq 0x8(%rsp), %rdi
movq %rbx, %rdx
callq 0x340b7
cmpl $0x0, (%rbx)
je 0x216ad
movq $0x0, 0x28(%rsp)
movq $0x0, 0x30(%rsp)
movq $0x0, 0x18(%rsp)
xorl %r12d, %r12d
movq $0x0, 0x38(%rsp)
xorl %ebp, %ebp
movq %rbp, %rdi
callq 0x29d88
movq 0x38(%rsp), %rdi
callq 0x29d88
movq %r12, %rdi
callq 0x29d88
movq 0x30(%rsp), %rdi
callq 0x29d88
movq 0x18(%rsp), %rdi
callq 0x29d88
movq %r13, %rdi
callq 0x29d88
movq 0x28(%rsp), %rdi
callq 0x29d88
movq 0x10(%rsp), %rdi
callq 0x29d88
movq 0x8(%rsp), %rdi
callq 0x29d88
leaq 0x208(%rsp), %rdi
callq 0x2dc7c
jmp 0x21089
movq %r12, %rdi
movq %rbx, %rsi
callq 0x341c4
movq %rax, %rbp
cmpl $0x0, (%rbx)
je 0x21654
movq $0x0, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
movq $0x0, 0x18(%rsp)
movq $0x0, 0x28(%rsp)
movq 0x28(%rsp), %rdi
callq 0x29d88
movq 0x10(%rsp), %rdi
callq 0x29d88
movq 0x18(%rsp), %rdi
callq 0x29d88
movq 0x8(%rsp), %rdi
callq 0x29d88
movq %r13, %rdi
callq 0x29d88
movq %rbp, %rdi
jmp 0x2143e
movq (%r14), %rax
movq 0x30(%rax), %rdx
movl 0x38(%rax), %ecx
pushq $0x2b
popq %rsi
movq %rbx, %rdi
callq 0x1429e
movq %rbp, %rdi
callq 0x29d88
jmp 0x212a1
leaq 0xa8(%rsp), %rdx
movq %r14, %rdi
movq %r12, %rsi
movq %rbx, %rcx
callq 0x22c9c
movq %rax, 0x8(%rsp)
cmpl $0x0, (%rbx)
jne 0x217a0
movq 0x8(%rsp), %rdi
callq 0x35655
testb %al, %al
je 0x21789
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x341c4
movq %rax, 0x10(%rsp)
cmpl $0x0, (%rbx)
je 0x217a8
xorl %r12d, %r12d
jmp 0x215e8
leaq 0x208(%rsp), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq 0x33fac
movq %rax, 0x28(%rsp)
cmpl $0x0, (%rbx)
jne 0x2153d
movq %r14, %rdi
movq 0x10(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq %rbx, %rcx
callq 0x34ca6
movq %rax, 0x28(%rsp)
cmpl $0x0, (%rbx)
jne 0x213f6
leaq 0x50(%rsp), %rdx
leaq 0x40(%rsp), %rcx
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %r8
callq 0x22c24
cmpl $0x0, (%rbx)
jne 0x213f6
leaq 0xa8(%rsp), %rdx
movq %r14, %rdi
movq 0x8(%rsp), %rsi
movq %rbx, %rcx
callq 0x22c9c
movq %rax, 0x18(%rsp)
cmpl $0x0, (%rbx)
jne 0x2187b
movq 0x18(%rsp), %rdi
callq 0x353e4
testb %al, %al
je 0x21864
movq %r14, %rdi
movq %r13, %rsi
movq 0x18(%rsp), %rdx
movq %rbx, %rcx
callq 0x34e98
movq %rax, %rbp
cmpl $0x0, (%rbx)
je 0x2189b
movq $0x0, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
movq $0x0, 0x30(%rsp)
jmp 0x218d4
leaq 0x4c1b8(%rip), %rdx     # 0x6d948
pushq $0xf
popq %rsi
movq %rbx, %rdi
movl $0x20d, %ecx            # imm = 0x20D
callq 0x1429e
xorl %r12d, %r12d
jmp 0x215df
movq %r13, %rdi
movq %rbx, %rsi
callq 0x341c4
movq %rax, 0x18(%rsp)
cmpl $0x0, (%rbx)
jne 0x217d0
movq %r14, %rdi
movq %rbp, %rsi
movq %rbx, %rdx
callq 0x33e86
cmpl $0x0, (%rbx)
je 0x217e9
xorl %r12d, %r12d
jmp 0x215f1
leaq 0x4c169(%rip), %rdx     # 0x6d948
pushq $0xf
popq %rsi
pushq $0x72
jmp 0x214f9
movq %r14, %rdi
movq %rbp, %rsi
movq %rax, %rdx
movq %rbx, %rcx
callq 0x2a5e0
movq %rax, 0x28(%rsp)
cmpl $0x0, (%rbx)
jne 0x2185a
movq 0x48(%r14), %rdi
callq 0x2b774
movq %rax, %r12
movq 0x48(%r14), %rdi
callq 0x2b774
movq %rax, %rbp
movq 0x48(%r14), %rdi
movq 0x28(%rsp), %rax
movq 0x148(%rax), %rdx
pushq $0x43
popq %rsi
movq %r12, %rcx
movq %rbp, %r8
movq %rbx, %r9
callq 0x2a8c1
cmpl $0x0, (%rbx)
jne 0x2185a
movq 0x48(%r14), %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x2b781
cmpl $0x0, (%rbx)
je 0x218e5
xorl %r12d, %r12d
xorl %ebp, %ebp
jmp 0x215fa
leaq 0x4c0dd(%rip), %rdx     # 0x6d948
pushq $0xf
popq %rsi
movq %rbx, %rdi
movl $0x298, %ecx            # imm = 0x298
callq 0x1429e
movq $0x0, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
movq $0x0, 0x30(%rsp)
jmp 0x2154f
movq 0x28(%rsp), %rdi
movq %rbx, %rsi
callq 0x341c4
movq %rax, 0x10(%rsp)
cmpl $0x0, (%rbx)
je 0x2196d
movq $0x0, 0x8(%rsp)
xorl %r13d, %r13d
movq $0x0, 0x30(%rsp)
movq $0x0, 0x18(%rsp)
xorl %r12d, %r12d
movq $0x0, 0x38(%rsp)
jmp 0x2155d
movq 0x28(%rsp), %rdi
callq 0x29d88
movq %r14, %rdi
movq 0x8(%rsp), %rsi
movq %r13, %rdx
movq %rbx, %rcx
callq 0x2a5e0
movq %rax, 0x28(%rsp)
cmpl $0x0, (%rbx)
jne 0x21957
movq 0x48(%r14), %rdi
movq 0x28(%rsp), %rax
movq 0x148(%rax), %rdx
movq 0x50(%rsp), %r12
movq 0x208(%rsp), %r13
pushq $0x43
popq %rsi
movq %r12, %rcx
movq %r13, %r8
movq %rbx, %r9
callq 0x2a8c1
cmpl $0x0, (%rbx)
jne 0x21957
movq 0x48(%r14), %rdi
movq %rbp, %rsi
movq %rbx, %rdx
callq 0x2b781
cmpl $0x0, (%rbx)
je 0x21a11
xorl %r12d, %r12d
xorl %r13d, %r13d
xorl %ebp, %ebp
movq $0x0, 0x8(%rsp)
jmp 0x215fa
movq %r14, %rdi
movq %rbp, %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rcx
callq 0x34d62
movq %rax, %r12
cmpl $0x0, (%rbx)
je 0x219b4
movq $0x0, 0x8(%rsp)
xorl %r13d, %r13d
movq $0x0, 0x10(%rsp)
movq $0x0, 0x30(%rsp)
movq $0x0, 0x18(%rsp)
jmp 0x21552
movq %r12, %rdi
movq %rbx, %rsi
callq 0x341c4
movq %rax, 0x38(%rsp)
cmpl $0x0, (%rbx)
jne 0x219e5
leaq 0x208(%rsp), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq 0x33e86
cmpl $0x0, (%rbx)
je 0x21ab7
movq $0x0, 0x8(%rsp)
xorl %r13d, %r13d
movq $0x0, 0x10(%rsp)
movq $0x0, 0x30(%rsp)
movq $0x0, 0x18(%rsp)
jmp 0x2155b
movq 0x28(%rsp), %rdi
callq 0x29d88
movq %r14, %rdi
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %rbx, %rcx
callq 0x2a5ea
movq %rax, 0x28(%rsp)
cmpl $0x0, (%rbx)
jne 0x21a8f
movq 0x48(%r14), %rdi
callq 0x2b774
movq %rax, %rbp
movq 0x48(%r14), %rdi
movq 0x28(%rsp), %rax
movq 0x148(%rax), %rdx
pushq $0x43
popq %rsi
movq %rbp, %rcx
movq %r13, %r8
movq %rbx, %r9
callq 0x2a8c1
cmpl $0x0, (%rbx)
jne 0x21a8f
movq 0x48(%r14), %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x2b781
cmpl $0x0, (%rbx)
jne 0x21a8f
movq 0x48(%r14), %rdi
movq %rbp, %rsi
movq %rbx, %rdx
callq 0x2b781
xorl %r12d, %r12d
xorl %r13d, %r13d
xorl %ebp, %ebp
movq $0x0, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
movq $0x0, 0x18(%rsp)
jmp 0x215fa
movq %r14, %rdi
movq %r12, %rsi
movq %rax, %rdx
movq %rbx, %rcx
callq 0x2a5ea
movq %rax, 0x30(%rsp)
cmpl $0x0, (%rbx)
jne 0x21b16
movq 0x48(%r14), %rdi
movq 0x30(%rsp), %rax
movq 0x148(%rax), %rdx
movq 0x40(%rsp), %r13
movq 0x50(%rsp), %r12
pushq $0x43
popq %rsi
movq %r13, %rcx
movq %r12, %r8
movq %rbx, %r9
callq 0x2a8c1
cmpl $0x0, (%rbx)
jne 0x21b16
movq 0x48(%r14), %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x2b781
cmpl $0x0, (%rbx)
je 0x21b3c
movq $0x0, 0x8(%rsp)
xorl %r13d, %r13d
movq $0x0, 0x10(%rsp)
movq $0x0, 0x18(%rsp)
xorl %r12d, %r12d
jmp 0x2155b
movq 0x30(%rsp), %rdi
callq 0x29d88
movq %r14, %rdi
movq 0x38(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq %rbx, %rcx
callq 0x34e3a
movq %rax, 0x30(%rsp)
cmpl $0x0, (%rbx)
jne 0x21ba6
movq 0x48(%r14), %rdi
callq 0x2b774
movq %rax, %r13
movq 0x48(%r14), %rdi
movq 0x30(%rsp), %rax
movq 0x148(%rax), %rdx
pushq $0x43
popq %rsi
movq %r13, %rcx
movq %r12, %r8
movq %rbx, %r9
callq 0x2a8c1
cmpl $0x0, (%rbx)
jne 0x21ba6
movq 0x48(%r14), %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x2b781
movq $0x0, 0x8(%rsp)
xorl %r13d, %r13d
movq $0x0, 0x28(%rsp)
movq $0x0, 0x10(%rsp)
jmp 0x21546