// File: /workspace/github_c_makefile_star2_O2/markdryan[P]subtilis/frontend/parser_call.c
// Function: prv_def_internal
static void prv_def_internal(subtilis_parser_t *p, subtilis_token_t *t,
			     subtilis_type_t *fn_type, subtilis_type_t *type,
			     char *name, subtilis_symbol_table_t *local_st,
			     size_t *call_index, subtilis_error_t *err)
{
	const char *tbuf;
	subtilis_type_section_t *stype;
	subtilis_exp_t *e;
	size_t blocks;
	subtilis_ir_operand_t zero_op;
	size_t num_params = 0;
	subtilis_type_t *params = NULL;
	const subtilis_symbol_t **symbols = NULL;

	tbuf = subtilis_token_get_text(t);
	if ((t->type == SUBTILIS_TOKEN_OPERATOR) && !strcmp(tbuf, "(")) {
		params = prv_def_parameters(p, t, &num_params, &symbols,
					    fn_type, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;
	}

	name = prv_complete_fn_name(name, fn_type, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto on_error;

	stype =
	    subtilis_type_section_new(fn_type, num_params, params, NULL, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto on_error;
	prv_delete_ptypes(params, num_params);
	params = NULL;
	subtilis_type_copy(type, &stype->type, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto on_error;

	if ((t->type == SUBTILIS_TOKEN_OPERATOR) && !strcmp(tbuf, "[")) {
		prv_parser_assembly(p, t, name, stype, call_index, err);
		goto on_error;
	}

	p->current = subtilis_ir_prog_section_new(
	    p->prog, name, 0, stype, SUBTILIS_BUILTINS_MAX, p->l->stream->name,
	    p->l->line, p->eflag_offset, p->error_offset, call_index, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto on_error;

	subtilis_parser_handle_escape(p, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto on_error;

	blocks = prv_init_block_variables(p, stype, local_st, symbols, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto on_error;
	if (blocks > 0) {
		zero_op.integer = blocks;
		p->current->cleanup_stack = subtilis_ir_section_add_instr2(
		    p->current, SUBTILIS_OP_INSTR_MOVI_I32, zero_op, err);
	} else {
		p->current->cleanup_stack_nop =
		    subtilis_ir_section_add_nop(p->current, err);
	}
	if (err->type != SUBTILIS_ERROR_OK)
		goto on_error;

	if (fn_type->type != SUBTILIS_TYPE_VOID) {
		prv_fn_compound(p, t, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;

		e = subtilis_parser_expression(p, t, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;

		/* Ownership of e is passed to add_fn_ret */

		if (p->current->endproc) {
			subtilis_exp_delete(e);
		} else {
			prv_set_fn_retval(p, e, fn_type, err);
			if (err->type != SUBTILIS_ERROR_OK)
				goto on_error;
		}
		subtilis_ir_section_add_label(p->current, p->current->end_label,
					      err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;

		subtilis_parser_unwind(p, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;

		subtilis_type_if_ret(p, fn_type, p->current->ret_reg, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;
	} else {
		prv_proc_compound(p, t, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;

		subtilis_ir_section_add_label(p->current, p->current->end_label,
					      err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;

		subtilis_parser_unwind(p, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;

		subtilis_ir_section_add_instr_no_arg(
		    p->current, SUBTILIS_OP_INSTR_RET, err);
		if (err->type != SUBTILIS_ERROR_OK)
			goto on_error;

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

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

	subtilis_ir_merge_errors(p->current, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto on_error;

	subtilis_array_gen_index_error_code(p, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto on_error;

	p->current->locals = p->local_st->max_allocated;

on_error:

	free(symbols);
	prv_delete_ptypes(params, num_params);
	free(name);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xdd8, %rsp            # imm = 0xDD8
movq %r9, 0x50(%rsp)
movq %r8, %r12
movq %rcx, 0x58(%rsp)
movq %rdx, 0x60(%rsp)
movq %rsi, %rbp
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x12a25
xorl %r14d, %r14d
cmpl $0x2, (%rbp)
movl $0x0, %r15d
movl $0x0, %r13d
movq %rbx, 0x18(%rsp)
jne 0x1a8c1
xorl %r14d, %r14d
cmpb $0x28, (%rax)
movl $0x0, %r15d
movl $0x0, %r13d
jne 0x1a8c1
xorl %r14d, %r14d
cmpb $0x0, 0x1(%rax)
movl $0x0, %r15d
movl $0x0, %r13d
je 0x1a95a
movq %r14, 0x20(%rsp)
movq %r15, 0x8(%rsp)
movq %rax, %r15
movq %rbp, 0x30(%rsp)
movq %r12, %rdi
movq 0x60(%rsp), %rbx
movq %rbx, %rsi
movq 0xe10(%rsp), %rbp
movq %rbp, %rdx
callq 0x1a595
movq %rax, %r12
cmpl $0x0, (%rbp)
je 0x1a906
movq 0x8(%rsp), %r15
movq 0x20(%rsp), %r14
jmp 0x1a9a4
movq %rbx, %rdi
movq 0x20(%rsp), %r14
movq %r14, %rsi
movq %r13, %rbx
movq %r13, %rdx
xorl %ecx, %ecx
movq %rbp, %r8
callq 0x2d9c4
cmpl $0x0, (%rbp)
je 0x1a931
movq %rbx, %r13
movq 0x8(%rsp), %r15
jmp 0x1a9a4
movq %rax, %r13
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1a66a
movq 0x58(%rsp), %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x2de8a
cmpl $0x0, (%rbp)
je 0x1a9d1
xorl %r13d, %r13d
jmp 0x1a8f7
movq %rax, 0x68(%rsp)
andq $0x0, 0x38(%rsp)
andq $0x0, 0x70(%rsp)
movl $0x8, 0x80(%rsp)
movq %rbx, %rdi
movq %rbp, %rsi
movq 0x60(%rsp), %rdx
movq 0xe10(%rsp), %r14
movq %r14, %rcx
callq 0x1c17d
cmpl $0x0, (%r14)
je 0x1aa6f
xorl %r14d, %r14d
xorl %r15d, %r15d
xorl %r13d, %r13d
movq %r15, %rdi
callq 0x122c0
movq %r13, %rdi
movq %r14, %rsi
callq 0x1a66a
movq %r12, %rdi
callq 0x122c0
addq $0xdd8, %rsp            # imm = 0xDD8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbp, %r14
movq %r13, 0x58(%rsp)
movq 0x30(%rsp), %rbp
cmpl $0x2, (%rbp)
jne 0x1a9f5
cmpb $0x5b, (%r15)
jne 0x1a9f5
cmpb $0x0, 0x1(%r15)
je 0x1b1d3
movq 0x18(%rsp), %rbx
movq (%rbx), %rax
movq 0x58(%rbx), %rdi
movq 0x30(%rax), %r9
movl 0x38(%rax), %eax
movl 0xb0(%rbx), %r10d
movl 0xb4(%rbx), %r11d
subq $0x8, %rsp
xorl %r13d, %r13d
pushq $0x9
popq %r8
movq %r12, %rsi
xorl %edx, %edx
movq 0x60(%rsp), %rcx
pushq %r14
pushq 0x60(%rsp)
pushq %r11
pushq %r10
pushq %rax
callq 0x2acef
addq $0x30, %rsp
movq %rax, 0x48(%rbx)
cmpl $0x0, (%r14)
jne 0x1a8f7
movq %rbx, %rdi
movq %r14, %rsi
callq 0x235e3
cmpl $0x0, (%r14)
movq 0x8(%rsp), %r15
je 0x1b01e
xorl %r13d, %r13d
jmp 0x1a8fc
testb %al, %al
je 0x1b00b
movq %rbp, %rdi
callq 0x12a25
movq %rax, %r15
leaq 0x8(%rbp), %rax
movq %rax, 0x78(%rsp)
movq $0x0, 0x48(%rsp)
leaq 0x1c8(%rsp), %rbx
movq $0x0, 0x40(%rsp)
xorl %eax, %eax
xorl %r14d, %r14d
xorl %r13d, %r13d
movq $0x0, 0x8(%rsp)
movq %r12, 0x28(%rsp)
cmpl $0x6, (%rbp)
jne 0x1b22f
movq %rax, 0x20(%rsp)
movq 0x18(%rsp), %rax
movq 0x68(%rax), %rdi
movq %r15, %rsi
callq 0x2d376
testq %rax, %rax
jne 0x1b25b
movq %rbx, %rdi
movq 0x78(%rsp), %rsi
movq 0xe10(%rsp), %r15
movq %r15, %rdx
callq 0x2db73
cmpl $0x0, (%r15)
jne 0x1b294
movq %rbp, %rdi
callq 0x12a25
movq %rax, %r15
movq %rax, %rdi
callq 0x120f0
leaq 0x1(%rax), %rdi
callq 0x121d0
testq %rax, %rax
je 0x1ab75
movq %rax, 0x10(%rsp)
movq %rax, %rdi
movq %r15, %rsi
callq 0x12070
movl 0x1c8(%rsp), %eax
cmpl $0x16, %eax
je 0x1ab48
cmpl $0x9, %eax
jne 0x1aba4
movq 0x18(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq %rbx, %rdx
movq 0xe10(%rsp), %r15
movq %r15, %rcx
callq 0x1eb36
cmpl $0x0, (%r15)
je 0x1aba4
movq %r12, %rbx
movq 0x8(%rsp), %r15
jmp 0x1abd1
movq %r12, %rbx
movq 0xe10(%rsp), %r12
movq %r12, %rdi
movq %rax, %r15
pushq $0x1
popq %rsi
leaq 0x52a80(%rip), %rdx     # 0x6d610
movl $0x262, %ecx            # imm = 0x262
callq 0x1429e
movq %r15, %rdi
movq 0x8(%rsp), %r15
jmp 0x1abde
movq 0x18(%rsp), %rax
movq (%rax), %rdi
movq %rbp, %rsi
movq 0xe10(%rsp), %r15
movq %r15, %rdx
callq 0x12e0e
cmpl $0x0, (%r15)
movq 0x8(%rsp), %r15
je 0x1ad66
movq %r12, %rbx
movq 0xe10(%rsp), %r12
movq 0x10(%rsp), %rdi
callq 0x122c0
leaq 0x1c8(%rsp), %rdi
callq 0x2dc7c
cmpl $0x0, (%r12)
jne 0x1b42a
movq 0x20(%rsp), %rax
cmpq %rax, %r14
jne 0x1ac4f
leaq 0x10(%rax), %r12
imulq $0x148, %r12, %rsi      # imm = 0x148
movq %r13, %rdi
callq 0x12210
testq %rax, %rax
je 0x1b3de
movq %rax, %r15
movq %r12, 0x10(%rsp)
leaq (,%r12,8), %rsi
movq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x12210
testq %rax, %rax
je 0x1b406
movq %r15, %r13
movq %rax, %r15
jmp 0x1ac54
movq %rax, 0x10(%rsp)
movq 0x40(%rsp), %rax
movq %rax, (%r15,%r14,8)
movq 0x48(%rsp), %rax
leaq (%rax,%r13), %rdi
leaq 0x80(%rsp), %rsi
movq 0xe10(%rsp), %r12
movq %r12, %rdx
callq 0x2db73
cmpl $0x0, (%r12)
movq %rbx, %r12
jne 0x1b2d7
leaq 0x80(%rsp), %rdi
callq 0x2dc7c
movl $0x8, 0x80(%rsp)
movq %rbp, %rdi
callq 0x12a25
cmpl $0x2, (%rbp)
jne 0x1b29e
movzbl (%rax), %ecx
cmpl $0x2c, %ecx
movq 0x18(%rsp), %rbx
je 0x1acd3
cmpl $0x29, %ecx
jne 0x1acd9
cmpb $0x0, 0x1(%rax)
jne 0x1acd9
jmp 0x1b4e8
cmpb $0x0, 0x1(%rax)
je 0x1ad0d
movq (%rbx), %rcx
movq 0x30(%rcx), %r8
movl 0x38(%rcx), %r9d
movq 0xe10(%rsp), %rdi
pushq $0x16
popq %rsi
movq %rax, %rdx
leaq 0x530cc(%rip), %rcx     # 0x6ddc5
pushq $0x35f                  # imm = 0x35F
leaq 0x5290b(%rip), %rax     # 0x6d610
pushq %rax
callq 0x140cd
popq %rax
popq %rcx
movq (%rbx), %rdi
movq %rbp, %rsi
movq %rbp, %rbx
movq 0xe10(%rsp), %rbp
movq %rbp, %rdx
callq 0x12e0e
cmpl $0x0, (%rbp)
movq %rbx, %rbp
movq 0x28(%rsp), %r12
jne 0x1b2d7
movq %r15, 0x8(%rsp)
movq %rbp, %rdi
callq 0x12a25
movq %rax, %r15
addq $0x148, 0x48(%rsp)      # imm = 0x148
incq %r14
movq 0x10(%rsp), %rax
leaq 0x1c8(%rsp), %rbx
jmp 0x1aabb
movq %rbp, %rdi
callq 0x12a25
cmpl $0x2, (%rbp)
jne 0x1adc1
movzbl (%rax), %ecx
cmpl $0x7b, %ecx
je 0x1adb7
cmpl $0x28, %ecx
jne 0x1adc1
cmpb $0x0, 0x1(%rax)
jne 0x1adc1
movq %r12, %rbx
movq 0x18(%rsp), %rdi
movq %rbp, %rsi
leaq 0x1c8(%rsp), %rdx
leaq 0x80(%rsp), %rcx
movq 0xe10(%rsp), %r12
movq %r12, %r8
callq 0x1cdeb
jmp 0x1af36
cmpb $0x0, 0x1(%rax)
je 0x1af0b
movq %r12, %rbx
leaq 0x1c8(%rsp), %r12
movq %r12, %rdi
callq 0x35655
testb %al, %al
je 0x1ae2f
leaq 0x80(%rsp), %rdi
movq %r12, %rsi
movq 0xe10(%rsp), %r12
movq %r12, %rdx
callq 0x2de8a
cmpl $0x0, (%r12)
jne 0x1abd1
leaq 0x1c8(%rsp), %rdi
callq 0x35ab4
cmpl $0x1, %eax
je 0x1af48
testl %eax, %eax
jne 0x1afe7
movq 0x38(%rsp), %rax
leaq 0x4(%rax), %rcx
leaq 0x38(%rsp), %rdx
jmp 0x1af55
movl 0x1c8(%rsp), %r15d
leaq 0x80(%rsp), %rdi
movq %r12, %rsi
movq 0xe10(%rsp), %r12
movq %r12, %rdx
callq 0x2de8a
movl (%r12), %eax
cmpl $0x16, %r15d
je 0x1aed2
cmpl $0x9, %r15d
movq 0x10(%rsp), %rdi
jne 0x1aef1
testl %eax, %eax
movq 0x8(%rsp), %r15
jne 0x1aee4
movq 0x18(%rsp), %rdi
movq 0x10(%rsp), %rsi
leaq 0x80(%rsp), %rdx
movq 0xe10(%rsp), %r12
movq %r12, %rcx
callq 0x1eb36
movq 0x10(%rsp), %rdi
cmpl $0x0, (%r12)
jne 0x1abde
movq 0x38(%rsp), %rax
leaq 0x4(%rax), %rcx
incq %rax
movq %rax, 0x38(%rsp)
movq 0x18(%rsp), %rax
movq 0x68(%rax), %rdi
movq 0x10(%rsp), %rsi
leaq 0x80(%rsp), %rdx
jmp 0x1af79
testl %eax, %eax
movq 0x8(%rsp), %r15
movq 0x10(%rsp), %rdi
je 0x1af83
movq 0xe10(%rsp), %r12
jmp 0x1abde
testl %eax, %eax
movq 0x8(%rsp), %r15
movq 0xe10(%rsp), %r12
jne 0x1abde
jmp 0x1afb5
movq %r12, %rbx
movq 0x18(%rsp), %rdi
movq %rbp, %rsi
leaq 0x1c8(%rsp), %rdx
leaq 0x80(%rsp), %rcx
movq 0xe10(%rsp), %r12
movq %r12, %r8
callq 0x1ceb1
cmpl $0x0, (%r12)
movq 0x10(%rsp), %rdi
jne 0x1abde
jmp 0x1afb5
movq 0x70(%rsp), %rax
leaq 0x70(%rsp), %rdx
movq %rax, %rcx
incq %rax
movq %rax, (%rdx)
movq 0x18(%rsp), %rax
movq 0x68(%rax), %rdi
movq 0x10(%rsp), %rsi
leaq 0x80(%rsp), %rdx
movq 0xe10(%rsp), %r12
movq %r12, %r8
callq 0x2d0fe
jmp 0x1afd8
movq 0x18(%rsp), %rdi
movq 0x10(%rsp), %rsi
leaq 0x80(%rsp), %rdx
movq 0xe10(%rsp), %r12
movq %r12, %rcx
callq 0x1eb36
movq 0x10(%rsp), %rdi
cmpl $0x0, (%r12)
jne 0x1abde
incq 0x38(%rsp)
movq 0x18(%rsp), %rax
movq 0x68(%rax), %rdi
movq 0x10(%rsp), %rsi
leaq 0x80(%rsp), %rdx
movq %r12, %rcx
callq 0x2cbb7
movq 0x10(%rsp), %rdi
movq %rax, 0x40(%rsp)
jmp 0x1abde
movq 0xe10(%rsp), %r12
movq %r12, %rdi
pushq $0xf
popq %rsi
leaq 0x52614(%rip), %rdx     # 0x6d610
movl $0x296, %ecx            # imm = 0x296
callq 0x1429e
jmp 0x1abd9
xorl %r14d, %r14d
xorl %r15d, %r15d
xorl %r13d, %r13d
movq 0x68(%rsp), %rax
jmp 0x1a8c1
pushq $0x4
popq %rbp
xorl %r13d, %r13d
xorl %r15d, %r15d
movq $0x0, 0x48(%rsp)
movq %r12, 0x28(%rsp)
movq 0x20(%rsp), %r14
movq 0x58(%rsp), %rcx
cmpq 0x10(%rcx), %r15
jae 0x1b1fe
movq %r12, %rbx
movq 0x18(%rcx,%r15,8), %r12
movq %r12, %rdi
callq 0x357cc
testb %al, %al
jne 0x1b069
movq %r12, %rdi
callq 0x357ea
testb %al, %al
je 0x1b0c9
incq 0x48(%rsp)
leaq 0x1(%rbp), %rbx
movq 0x8(%rsp), %rax
movq (%rax,%r15,8), %rax
movq (%rax), %rcx
subq $0x8, %rsp
movq 0x20(%rsp), %rdi
movq %r12, %rsi
pushq $0x2
popq %rdx
movq %rbp, %r8
xorl %r9d, %r9d
movq 0xe18(%rsp), %rbp
pushq %rbp
callq 0x407c9
popq %rax
popq %rcx
movq %rbx, 0x50(%rsp)
movq 0x28(%rsp), %r12
incq %r15
cmpl $0x0, (%rbp)
movq 0x18(%rsp), %rbx
movq 0x50(%rsp), %rbp
je 0x1b03a
jmp 0x1a92a
movl (%r12), %eax
cmpl $0x16, %eax
je 0x1b110
cmpl $0x7, %eax
jne 0x1b1af
incq 0x48(%rsp)
movq 0x8(%rsp), %rax
movq (%rax,%r15,8), %rax
movq (%rax), %rcx
leaq 0x1(%rbp), %rbx
movq 0x18(%rsp), %rdi
movq %r12, %rsi
pushq $0x2
popq %rdx
movq %rbp, %r8
movq 0xe10(%rsp), %rbp
movq %rbp, %r9
callq 0x4a4db
jmp 0x1b0a3
movq 0x8(%rsp), %rax
movq (%rax,%r15,8), %rax
movq (%rax), %rcx
subq $0x8, %rsp
movq 0x20(%rsp), %rdi
movq %r12, %rsi
pushq $0x2
popq %rdx
movq %rbp, %r8
pushq $0x1
popq %r9
movq 0xe18(%rsp), %rax
pushq %rax
callq 0x4376f
popq %rax
popq %rcx
movq 0xe10(%rsp), %rax
cmpl $0x0, (%rax)
jne 0x1b561
incq %rbp
movq %rbp, 0x50(%rsp)
movq %r12, %rdi
callq 0x2e7c9
testb %al, %al
je 0x1b1c3
movq 0x8(%rsp), %rax
movq (%rax,%r15,8), %rax
movq (%rax), %rdx
movq 0x18(%rsp), %rdi
pushq $0x2
popq %rsi
movq 0xe10(%rsp), %rbp
movq %rbp, %rcx
callq 0x4ab28
cmpl $0x0, (%rbp)
jne 0x1b561
incq 0x48(%rsp)
movq 0x18(%rsp), %rdi
movq %r12, %rsi
movq %rax, %rdx
movq %rbp, %rcx
callq 0x4a452
jmp 0x1b1cb
movq %r12, %rdi
callq 0x35ab4
cmpl $0x1, %eax
adcq $0x0, %rbp
movq %rbp, 0x50(%rsp)
movq 0xe10(%rsp), %rbp
movq %rbx, %r12
jmp 0x1b0ad
movq 0x18(%rsp), %r13
movq (%r13), %rdi
pushq $0x1
popq %rsi
movq %r14, %rdx
callq 0x129d0
cmpl $0x0, (%r14)
je 0x1b2df
movq %r12, %rbx
movq 0x8(%rsp), %r12
jmp 0x1b318
movq 0x48(%rbx), %rdi
movq 0x48(%rsp), %rax
testq %rax, %rax
je 0x1b353
movl %eax, %edx
pushq $0x1b
popq %rsi
movq 0xe10(%rsp), %r13
movq %r13, %rcx
callq 0x2a981
movl $0xb8, %ecx
jmp 0x1b368
movq 0x18(%rsp), %rbx
movq (%rbx), %rax
movq 0x30(%rax), %r8
movl 0x38(%rax), %r9d
leaq 0x52b7f(%rip), %rcx     # 0x6ddc5
pushq $0x12
popq %rsi
movq 0xe10(%rsp), %rdi
movq %r15, %rdx
pushq $0x326                  # imm = 0x326
jmp 0x1b285
movq 0x18(%rsp), %rbx
movq (%rbx), %rax
movq 0x30(%rax), %r8
movl 0x38(%rax), %r9d
leaq 0x52b53(%rip), %rcx     # 0x6ddc5
pushq $0x20
popq %rsi
movq 0xe10(%rsp), %rdi
movq %r15, %rdx
pushq $0x331                  # imm = 0x331
leaq 0x52384(%rip), %rax     # 0x6d610
pushq %rax
callq 0x140cd
popq %rax
popq %rcx
movq 0x8(%rsp), %r15
jmp 0x1b42d
movq 0x18(%rsp), %rbx
movq (%rbx), %rcx
movq 0x30(%rcx), %r8
movl 0x38(%rcx), %r9d
leaq 0x52b10(%rip), %rcx     # 0x6ddc5
pushq $0x16
popq %rsi
movq 0xe10(%rsp), %rdi
movq %rax, %rdx
pushq $0x356                  # imm = 0x356
leaq 0x52341(%rip), %rax     # 0x6d610
pushq %rax
callq 0x140cd
popq %rax
popq %rcx
incq %r14
jmp 0x1b42d
movq (%r13), %rdi
movq 0x40(%r13), %rdx
leaq 0xb8(%r13), %r8
movq %rbp, %rsi
movq %r14, %rbp
movq 0x58(%rsp), %r14
movq %r14, %rcx
movq %rbp, %r9
callq *0x30(%r13)
cmpl $0x0, (%rbp)
movq 0x8(%rsp), %r15
je 0x1b488
movq %r12, %rbx
movq %r15, %r12
movq 0x20(%rsp), %r14
movq 0x58(%rsp), %rdi
callq 0x2dc17
leaq 0x1c8(%rsp), %r15
movq %r15, %rdi
callq 0x140a4
movq (%r13), %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x129d0
xorl %r13d, %r13d
movq %r12, %r15
movq %rbx, %r12
jmp 0x1a9a4
movq 0xe10(%rsp), %r13
movq %r13, %rsi
callq 0x2aae2
movl $0xc0, %ecx
movq 0x8(%rsp), %r15
movq 0x30(%rsp), %rbp
movq 0x48(%rbx), %rdx
movq %rax, (%rdx,%rcx)
cmpl $0x0, (%r13)
jne 0x1a9a1
movq 0x60(%rsp), %rax
cmpl $0x8, (%rax)
movq (%rbx), %rax
movl 0x38(%rax), %r15d
jne 0x1b508
xorl %r13d, %r13d
movl (%rbp), %eax
cmpl $0x1, %eax
je 0x1b3ae
testl %eax, %eax
jne 0x1b3b8
jmp 0x1b62c
cmpl $0x28, 0x8(%rbp)
je 0x1b653
movq %rbx, %rdi
movq %rbp, %rsi
movq 0xe10(%rsp), %rbp
movq %rbp, %rdx
callq 0x14d03
cmpl $0x0, (%rbp)
movq 0x30(%rsp), %rbp
je 0x1b39d
jmp 0x1a92a
leaq 0x5222b(%rip), %rdx     # 0x6d610
pushq $0x1
popq %rsi
movq 0xe10(%rsp), %rdi
movl $0x33e, %ecx            # imm = 0x33E
callq 0x1429e
movq 0x20(%rsp), %r14
movq 0x8(%rsp), %r15
jmp 0x1b42a
leaq 0x52203(%rip), %rdx     # 0x6d610
pushq $0x1
popq %rsi
movq 0xe10(%rsp), %rdi
movl $0x343, %ecx            # imm = 0x343
callq 0x1429e
movq 0x20(%rsp), %r14
movq %r12, %r15
movq %rbx, %r12
leaq 0x80(%rsp), %rdi
callq 0x2dc7c
movq %r15, %rdi
callq 0x122c0
movq %r13, %r15
subq $0x1, %r14
jb 0x1b45c
movq %r15, %rdi
callq 0x2dc7c
addq $0x148, %r15            # imm = 0x148
jmp 0x1b445
movq %r13, %rdi
callq 0x122c0
xorl %r14d, %r14d
xorl %r15d, %r15d
xorl %r13d, %r13d
movq 0xe10(%rsp), %rax
cmpl $0x0, (%rax)
movq 0x68(%rsp), %rax
jne 0x1a9a4
jmp 0x1a8c1
movq 0x58(%r13), %rdi
movq (%r13), %rdx
movq 0x30(%rdx), %rcx
movl 0x38(%rdx), %r8d
movl 0xb0(%r13), %r9d
movl 0xb4(%r13), %r10d
subq $0x8, %rsp
movq %r12, %rbx
movq %r12, %rsi
movq %r14, %rdx
pushq %rbp
pushq 0x60(%rsp)
pushq %rax
pushq 0x38(%r13)
pushq %r10
callq 0x2afd6
addq $0x30, %rsp
cmpl $0x0, (%rbp)
movq 0x20(%rsp), %r14
movq %r15, %r12
je 0x1b5f8
movq $0x0, 0x58(%rsp)
jmp 0x1b31d
movq (%rbx), %rdi
movq %rbp, %rsi
movq 0xe10(%rsp), %rdx
callq 0x12e0e
incq %r14
movq 0x28(%rsp), %r12
jmp 0x1b46d
xorl %r13d, %r13d
cmpl $0x0, (%rbp)
je 0x1b56b
movq %rbp, %rdi
callq 0x12a25
cmpl $0x2, (%rbp)
jne 0x1b53b
cmpb $0x3c, (%rax)
jne 0x1b53b
cmpb $0x2d, 0x1(%rax)
jne 0x1b53b
cmpb $0x0, 0x2(%rax)
jne 0x1b53b
cmpq $0x0, 0x78(%rbx)
je 0x1b7d1
movq %rbx, %rdi
movq %rbp, %rsi
movq 0xe10(%rsp), %rbp
movq %rbp, %rdx
callq 0x14d03
cmpl $0x0, (%rbp)
movq 0x30(%rsp), %rbp
je 0x1b50b
jmp 0x1a92a
movq 0x8(%rsp), %r15
jmp 0x1b34b
movq (%rbx), %rax
movq 0x30(%rax), %rdx
leaq 0x52097(%rip), %r8      # 0x6d610
pushq $0x1e
popq %rsi
movq 0xe10(%rsp), %rbp
movq %rbp, %rdi
movl %r15d, %ecx
movl $0x398, %r9d            # imm = 0x398
callq 0x142c0
movq 0x78(%rbx), %r13
movq 0x48(%rbx), %rax
movq 0x78(%rax), %rdi
movq %r13, %rsi
callq 0x2a68e
movq 0x48(%rbx), %rcx
movq %rax, 0x78(%rcx)
cmpl $0x0, (%rbp)
movq 0x8(%rsp), %r15
jne 0x1a9a1
movq %rbx, %rdi
movq 0x30(%rsp), %rsi
movq %rbp, %rdx
callq 0x1dfd5
cmpl $0x0, (%rbp)
jne 0x1a9a1
movq 0x48(%rbx), %rcx
cmpb $0x1, 0x88(%rcx)
jne 0x1b6f2
movq %rax, %rdi
callq 0x29d88
jmp 0x1b717
leaq 0x1c8(%rsp), %r15
movq %r15, %rdi
callq 0x140a4
movq (%r13), %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x129d0
movq (%r13), %rdi
movq 0x30(%rsp), %rsi
movq %rbp, %rdx
callq 0x12e0e
jmp 0x1b345
movq (%rbx), %rax
movq 0x30(%rax), %rdx
leaq 0x51fd6(%rip), %r8      # 0x6d610
pushq $0x1e
popq %rsi
movq 0xe10(%rsp), %rdi
movl %r15d, %ecx
movl $0x3b0, %r9d            # imm = 0x3B0
callq 0x142c0
movq 0x48(%rbx), %rax
movq 0x78(%rbx), %rsi
movq 0x78(%rax), %rdi
callq 0x2a68e
movq 0x48(%rbx), %rdi
movq %rax, 0x78(%rdi)
movq 0xe10(%rsp), %r13
cmpl $0x0, (%r13)
movq 0x8(%rsp), %r15
jne 0x1a9a1
movq 0x98(%rdi), %rsi
movq %r13, %rdx
callq 0x2b781
cmpl $0x0, (%r13)
jne 0x1a9a1
movq %rbx, %rdi
movq %r13, %rsi
callq 0x1c338
cmpl $0x0, (%r13)
jne 0x1b7c4
movq 0x48(%rbx), %rdi
pushq $0x46
popq %rsi
movq 0xe10(%rsp), %r15
movq %r15, %rdx
callq 0x2a9af
cmpl $0x0, (%r15)
jne 0x1b7c4
movq (%rbx), %rdi
movq 0x30(%rsp), %rsi
movq 0xe10(%rsp), %r15
movq %r15, %rdx
callq 0x12e0e
jmp 0x1b778
movq %rbx, %rdi
movq %rax, %rsi
movq 0x60(%rsp), %rdx
movq 0xe10(%rsp), %r15
movq %r15, %rcx
callq 0x1c518
cmpl $0x0, (%r15)
jne 0x1b7c4
movq 0x48(%rbx), %rdi
movq 0x98(%rdi), %rsi
movq 0xe10(%rsp), %r15
movq %r15, %rdx
callq 0x2b781
cmpl $0x0, (%r15)
jne 0x1b7c4
movq %rbx, %rdi
movq 0xe10(%rsp), %r15
movq %r15, %rsi
callq 0x1c338
cmpl $0x0, (%r15)
jne 0x1b7c4
movq %rbx, %rdi
movq 0x48(%rbx), %rax
movq 0xa8(%rax), %rdx
movq 0x60(%rsp), %rsi
movq 0xe10(%rsp), %r15
movq %r15, %rcx
callq 0x356e1
cmpl $0x0, (%r15)
jne 0x1b7c4
movq 0x48(%rbx), %rdi
movq 0xe10(%rsp), %r15
movq %r15, %rsi
callq 0x2a73c
cmpl $0x0, (%r15)
jne 0x1b7c4
movq %rbx, %rdi
movq 0xe10(%rsp), %r15
movq %r15, %rsi
callq 0x4103a
cmpl $0x0, (%r15)
jne 0x1b7c4
movq 0x48(%rbx), %rax
movq 0x68(%rbx), %rcx
movq 0x310(%rcx), %rcx
movq %rcx, 0x10(%rax)
xorl %r13d, %r13d
movq 0x28(%rsp), %r12
jmp 0x1a8f7
movq 0xe10(%rsp), %rbp
jmp 0x1b599