// File: /workspace/github_c_makefile_star2_O2/OstCollector[P]config2c/config2c.c
// Function: parse_struct
static void parse_struct(string name, const struct node_member_list *list)
{
	const struct node_member_list *memb;
	const struct node_alter_list *alt;
	long cnt, idx;
	struct type_decl decl;
	struct parse_opts opts;

	cnt = len_member_list(list);
	opts.mode = PARSE_STRUCT;

	osi(0, "static int parse__struct_%s(struct pass_to_conv *ctx, struct %s *value, "
			"const struct node_value *input)\n", name, name);
	osi(0, "{\n");
	osi(1, "int inited[%ld] = {};\n", cnt);
	osi(1, "int ret;\n");
	osi(1, "long i, len;\n");
	osi(1, "struct node_members *memb, default_memb;\n");
	osi(1, "struct node_elems *elem;\n");
	osi(1, "struct pass_to_bison opaque;\n");
	for (memb = list, idx = 0; memb; memb = memb->next, ++idx) {
		if (memb->default_val) {
			osi(1, "const char *default_%ld = %s;\n",
					idx, memb->default_val);
		}
	}
	osi(1, "if (input->type != VAL_MEMBERS) {\n");
	osi(2, "ctx->node = input;\n");
	osi(2, "ctx->msg = \"invalid type, expecting list of members.\";\n");
	osi(2, "return -EINVAL;\n");
	osi(1, "}\n"); /* if */
	opts.is_default = 0;
	osi(1, "for (memb = input->members; memb; memb = memb->next) {\n");
	osi(2, "if (0) {\n");
	osi(3, ";\n");
	osi(2, "}\n");
	for (memb = list, idx = 0; memb; memb = memb->next, ++idx) {
		if (!memb->visible) {
			continue;
		}
		switch (memb->type) {
		case NODE_MEMBER_DEF_PRIM:
			opts.s.idx = idx;
			opts.s.opt_var = NULL;
			opts.s.opt_val = NULL;
			decl.type = TYPE_DECL_PRIM;
			decl.type_name = memb->type_name;
			helper_parse(&memb->vec, &decl, memb->in_name,
					memb->mapped, &opts, 2);
			break;
		case NODE_MEMBER_DEF_ENUM:
			opts.s.idx = idx;
			opts.s.opt_var = NULL;
			opts.s.opt_val = NULL;
			decl.type = TYPE_DECL_ENUM;
			decl.type_name = memb->type_name;
			helper_parse(&memb->vec, &decl, memb->in_name,
					memb->mapped, &opts, 2);
			break;
		case NODE_MEMBER_DEF_STRUCT:
			opts.s.idx = idx;
			opts.s.opt_var = NULL;
			opts.s.opt_val = NULL;
			decl.type = TYPE_DECL_STRUCT;
			decl.type_name = memb->type_name;
			helper_parse(&memb->vec, &decl, memb->in_name,
					memb->mapped, &opts, 2);
			break;
		case NODE_MEMBER_DEF_UNION:
			opts.s.idx = idx;
			opts.s.opt_var = NULL;
			opts.s.opt_val = NULL;
			decl.type = TYPE_DECL_UNION;
			decl.type_name = memb->type_name;
			helper_parse(&memb->vec, &decl, memb->in_name,
					memb->mapped, &opts, 2);
			break;
		case NODE_MEMBER_DEF_UNNAMED_UNION:
			opts.s.idx = idx;
			opts.s.opt_var = memb->alt_enum;
			for (alt = memb->alters; alt; alt = alt->next) {
				switch (alt->type) {
				case NODE_ALTER_DEF_PRIM:
					opts.s.idx = idx;
					opts.s.opt_val = alt->enum_val;
					decl.type = TYPE_DECL_PRIM;
					decl.type_name = alt->type_name;
					helper_parse(&alt->vec, &decl, alt->in_name,
							alt->mapped, &opts, 2);
					break;
				case NODE_ALTER_DEF_ENUM:
					opts.s.idx = idx;
					opts.s.opt_val = alt->enum_val;
					decl.type = TYPE_DECL_ENUM;
					decl.type_name = alt->type_name;
					helper_parse(&alt->vec, &decl, alt->in_name,
							alt->mapped, &opts, 2);
					break;
				case NODE_ALTER_DEF_STRUCT:
					opts.s.idx = idx;
					opts.s.opt_val = alt->enum_val;
					decl.type = TYPE_DECL_STRUCT;
					decl.type_name = alt->type_name;
					helper_parse(&alt->vec, &decl, alt->in_name,
							alt->mapped, &opts, 2);
					break;
				default:
					fprintf(stderr, "error at %d (%s) : impossible err\n",
							__LINE__, __func__);
					exit(EXIT_FAILURE);
				}
			}
		}
	}
	osi(2, "ctx->node = memb->value;\n");
	osi(2, "ctx->msg = \"unknown member.\";\n");
	osi(2, "ret = -EINVAL;\n");
	osi(2, "goto error_all;\n");
	osi(1, "}\n"); /* for */
	opts.is_default = 1;
	for (memb = list, idx = 0; memb; memb = memb->next, ++idx) {
		if (memb->visible && !memb->default_val) {
			osi(1, "if (!inited[%ld]) {\n", idx);
			osi(2, "ctx->node = input;\n");
			osi(2, "ctx->msg = \"some field is not initialized.\";\n");
			osi(2, "ret = -EINVAL;\n");
			osi(2, "goto error_all;\n");
			osi(1, "}\n"); /* if */
			continue;
		}
		if (!memb->default_val) {
			continue;
		}
		osi(1, "if (!inited[%ld]) {\n", idx);
		osi(2, "init_pass_to_bison(&opaque, ctx->pool);\n");
		osi(2, "ret = yacc_parse_string(default_%ld, &ctx->msg, &opaque);\n", idx);
		osi(2, "if (ret) {\n");
		osi(3, "ctx->node = input;\n");
		osi(3, "goto error_all;\n");
		osi(2, "}\n"); /* if ret */
		if (memb->type != NODE_MEMBER_DEF_UNNAMED_UNION) {
			osi(2, "default_memb.next = NULL;\n");
			osi(2, "default_memb.name = \"%s\";\n", memb->in_name);
			osi(2, "default_memb.value = opaque.output;\n");
			osi(2, "default_memb.value->parent = input;\n");
			osi(2, "default_memb.value->name_copy = \"%s\";\n", memb->in_name);
			osi(2, "memb = &default_memb;\n");
		} else {
			osi(2, "if (opaque.output->type != VAL_MEMBERS) {\n");
			osi(3, "ctx->node = input;\n");
			osi(3, "ctx->msg = \"invalid initial value: "
					"value not selected\";\n");
			osi(2, "}\n"); /* if invalid type */
			
			osi(2, "if (len_node_members(opaque.output->members) != 1) {\n");
			osi(3, "ctx->node = input;\n");
			osi(3, "ctx->msg = \"invalid initial value: "
					"multiple value selected\";\n");
			osi(2, "}\n"); /* if invalid type */

			osi(2, "memb = opaque.output->members;\n");
			osi(2, "memb->value->parent = input;\n");
		}
		osi(2, "if (0) {\n");
		osi(3, ";\n");
		osi(2, "}\n");
		switch (memb->type) {
		case NODE_MEMBER_DEF_PRIM:
			opts.s.idx = idx;
			opts.s.opt_var = NULL;
			opts.s.opt_val = NULL;
			decl.type = TYPE_DECL_PRIM;
			decl.type_name = memb->type_name;
			helper_parse(&memb->vec, &decl, memb->in_name,
					memb->mapped, &opts, 2);
			break;
		case NODE_MEMBER_DEF_ENUM:
			opts.s.idx = idx;
			opts.s.opt_var = NULL;
			opts.s.opt_val = NULL;
			decl.type = TYPE_DECL_ENUM;
			decl.type_name = memb->type_name;
			helper_parse(&memb->vec, &decl, memb->in_name,
					memb->mapped, &opts, 2);
			break;
		case NODE_MEMBER_DEF_STRUCT:
			opts.s.idx = idx;
			opts.s.opt_var = NULL;
			opts.s.opt_val = NULL;
			decl.type = TYPE_DECL_STRUCT;
			decl.type_name = memb->type_name;
			helper_parse(&memb->vec, &decl, memb->in_name,
					memb->mapped, &opts, 2);
			break;
		case NODE_MEMBER_DEF_UNION:
			opts.s.idx = idx;
			opts.s.opt_var = NULL;
			opts.s.opt_val = NULL;
			decl.type = TYPE_DECL_UNION;
			decl.type_name = memb->type_name;
			helper_parse(&memb->vec, &decl, memb->in_name,
					memb->mapped, &opts, 2);
			break;
		case NODE_MEMBER_DEF_UNNAMED_UNION:
			opts.s.idx = idx;
			opts.s.opt_var = memb->alt_enum;
			for (alt = memb->alters; alt; alt = alt->next) {
				switch (alt->type) {
				case NODE_ALTER_DEF_PRIM:
					opts.s.idx = idx;
					opts.s.opt_val = alt->enum_val;
					decl.type = TYPE_DECL_PRIM;
					decl.type_name = alt->type_name;
					helper_parse(&alt->vec, &decl, alt->in_name,
							alt->mapped, &opts, 2);
					break;
				case NODE_ALTER_DEF_ENUM:
					opts.s.idx = idx;
					opts.s.opt_val = alt->enum_val;
					decl.type = TYPE_DECL_ENUM;
					decl.type_name = alt->type_name;
					helper_parse(&alt->vec, &decl, alt->in_name,
							alt->mapped, &opts, 2);
					break;
				case NODE_ALTER_DEF_STRUCT:
					opts.s.idx = idx;
					opts.s.opt_val = alt->enum_val;
					decl.type = TYPE_DECL_STRUCT;
					decl.type_name = alt->type_name;
					helper_parse(&alt->vec, &decl, alt->in_name,
							alt->mapped, &opts, 2);
					break;
				default:
					fprintf(stderr, "error at %d (%s) : impossible err\n",
							__LINE__, __func__);
					exit(EXIT_FAILURE);
				}
			}
		}
		osi(2, "else {\n");
		osi(3, "ctx->node = memb->value;\n");
		osi(3, "ctx->msg = \"unknown member.\";\n");
		osi(3, "ret = -EINVAL;\n");
		osi(3, "goto error_all;\n");
		osi(2, "}\n");
		osi(1, "}\n"); /* if !inited */
	}
	osi(1, "return 0;\n");
	osi(0, "error_all:\n");
	for (memb = list, idx = 0; memb; memb = memb->next, ++idx) {
		if (!memb->visible && !memb->default_val) {
			continue;
		}
		osi(1, "if (inited[%ld]) {\n", idx);
		switch (memb->type) {
		case NODE_MEMBER_DEF_PRIM:
			decl.type = TYPE_DECL_PRIM;
			decl.type_name = memb->type_name;
			helper_free(&memb->vec, &decl, memb->mapped, 2);
			break;
		case NODE_MEMBER_DEF_ENUM:
			decl.type = TYPE_DECL_ENUM;
			decl.type_name = memb->type_name;
			helper_free(&memb->vec, &decl, memb->mapped, 2);
			break;
		case NODE_MEMBER_DEF_STRUCT:
			decl.type = TYPE_DECL_STRUCT;
			decl.type_name = memb->type_name;
			helper_free(&memb->vec, &decl, memb->mapped, 2);
			break;
		case NODE_MEMBER_DEF_UNION:
			decl.type = TYPE_DECL_UNION;
			decl.type_name = memb->type_name;
			helper_free(&memb->vec, &decl, memb->mapped, 2);
			break;
		case NODE_MEMBER_DEF_UNNAMED_UNION:
			for (alt = memb->alters; alt; alt = alt->next) {
				osi(2, "if (value->%s == %s) {\n",
						memb->alt_enum, alt->enum_val);
				switch (alt->type) {
				case NODE_ALTER_DEF_PRIM:
					decl.type = TYPE_DECL_PRIM;
					decl.type_name = alt->type_name;
					helper_free(&alt->vec, &decl, 
							alt->mapped, 3);
					break;
				case NODE_ALTER_DEF_ENUM:
					decl.type = TYPE_DECL_ENUM;
					decl.type_name = alt->type_name;
					helper_free(&alt->vec, &decl, 
							alt->mapped, 3);
					break;
				case NODE_ALTER_DEF_STRUCT:
					decl.type = TYPE_DECL_STRUCT;
					decl.type_name = alt->type_name;
					helper_free(&alt->vec, &decl, 
							alt->mapped, 3);
					break;
				}
				osi(2, "}\n"); /* if */
			}
		}
		osi(1, "}\n"); /* if */
	}
	osi(1, "return ret;\n");
	osi(0, "}\n");
	osi(0, "\n");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r13
movq %rdi, %r14
movq %rsi, %rdi
callq 0x65ea
movq %rax, %rbx
andl $0x0, -0x60(%rbp)
xorl %edi, %edi
callq 0x4593
movq 0xe0b9(%rip), %rdi      # 0x112a0
leaq 0x9477(%rip), %rsi      # 0xc665
movq %r14, %rdx
movq %r14, %rcx
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
xorl %edi, %edi
callq 0x4593
movq 0xe08f(%rip), %rdi      # 0x112a0
leaq 0xa581(%rip), %rsi      # 0xd799
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
pushq $0x1
popq %rdi
callq 0x4593
movq 0xe06a(%rip), %rdi      # 0x112a0
leaq 0x9491(%rip), %rsi      # 0xc6ce
movq %rbx, %rdx
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
pushq $0x1
popq %rdi
callq 0x4593
movq 0xe042(%rip), %rdi      # 0x112a0
leaq 0x9480(%rip), %rsi      # 0xc6e5
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
pushq $0x1
popq %rdi
callq 0x4593
movq 0xe01d(%rip), %rdi      # 0x112a0
leaq 0x9465(%rip), %rsi      # 0xc6ef
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
pushq $0x1
popq %rdi
callq 0x4593
movq 0xdff8(%rip), %rdi      # 0x112a0
leaq 0x944e(%rip), %rsi      # 0xc6fd
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
pushq $0x1
popq %rdi
callq 0x4593
movq 0xdfd3(%rip), %rdi      # 0x112a0
leaq 0x9453(%rip), %rsi      # 0xc727
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
pushq $0x1
popq %rdi
callq 0x4593
movq 0xdfae(%rip), %rdi      # 0x112a0
leaq 0x9448(%rip), %rsi      # 0xc741
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
pushq $0x1
popq %rbx
leaq 0x944d(%rip), %r14      # 0xc75f
movq %r13, %r12
xorl %r15d, %r15d
testq %r12, %r12
je 0x3356
cmpq $0x0, 0x38(%r12)
je 0x334d
movl %ebx, %edi
callq 0x4593
movq 0xdf6d(%rip), %rdi      # 0x112a0
movq 0x38(%r12), %rcx
movq %r14, %rsi
movq %r15, %rdx
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movq (%r12), %r12
incq %r15
jmp 0x3318
pushq $0x1
popq %rdi
callq 0x4593
movq 0xdf3b(%rip), %rdi      # 0x112a0
leaq 0x9412(%rip), %rsi      # 0xc77e
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
pushq $0x2
popq %rdi
callq 0x4593
movq 0xdf16(%rip), %rdi      # 0x112a0
leaq 0x9410(%rip), %rsi      # 0xc7a1
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
pushq $0x2
popq %rdi
callq 0x4593
movq 0xdef1(%rip), %rdi      # 0x112a0
leaq 0x93ff(%rip), %rsi      # 0xc7b5
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
pushq $0x2
popq %rdi
callq 0x4593
movq 0xdecc(%rip), %rdi      # 0x112a0
leaq 0x9412(%rip), %rsi      # 0xc7ed
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
pushq $0x1
popq %rdi
callq 0x4593
movq 0xdea7(%rip), %rdi      # 0x112a0
leaq 0x8a41(%rip), %rsi      # 0xbe41
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
andl $0x0, -0x40(%rbp)
pushq $0x1
popq %rdi
callq 0x4593
movq 0xde7e(%rip), %rdi      # 0x112a0
leaq 0x93d5(%rip), %rsi      # 0xc7fe
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
pushq $0x2
popq %rdi
callq 0x4593
movq 0xde59(%rip), %rdi      # 0x112a0
leaq 0x93e8(%rip), %rsi      # 0xc836
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
pushq $0x3
popq %rdi
callq 0x4593
movq 0xde34(%rip), %rdi      # 0x112a0
leaq 0x9800(%rip), %rsi      # 0xcc73
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
pushq $0x2
popq %rdi
callq 0x4593
movq 0xde0f(%rip), %rdi      # 0x112a0
leaq 0x89a9(%rip), %rsi      # 0xbe41
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
xorl %r15d, %r15d
leaq -0x38(%rbp), %rbx
leaq -0x60(%rbp), %r14
movq %r13, -0x68(%rbp)
testq %r13, %r13
je 0x3606
cmpl $0x0, 0x40(%r13)
je 0x35fa
movl 0x8(%r13), %eax
cmpq $0x4, %rax
ja 0x35fa
leaq 0x7b55(%rip), %rcx      # 0xb034
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %r15, -0x58(%rbp)
leaq -0x50(%rbp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
andl $0x0, -0x38(%rbp)
jmp 0x35db
leaq 0x10(%r13), %r12
movq %r15, -0x58(%rbp)
movq 0x18(%r13), %rax
movq %rax, -0x50(%rbp)
movq (%r12), %r12
testq %r12, %r12
je 0x35fa
movl 0x8(%r12), %eax
cmpl $0x2, %eax
je 0x355c
cmpl $0x1, %eax
je 0x3546
testl %eax, %eax
jne 0x4055
movq %r15, -0x58(%rbp)
movq 0x38(%r12), %rax
movq %rax, -0x48(%rbp)
andl $0x0, -0x38(%rbp)
jmp 0x3570
movq %r15, -0x58(%rbp)
movq 0x38(%r12), %rax
movq %rax, -0x48(%rbp)
movl $0x1, -0x38(%rbp)
jmp 0x3570
movq %r15, -0x58(%rbp)
movq 0x38(%r12), %rax
movq %rax, -0x48(%rbp)
movl $0x2, -0x38(%rbp)
movq 0x10(%r12), %rax
movq %rax, -0x30(%rbp)
leaq 0x28(%r12), %rdi
movq 0x18(%r12), %rdx
movq 0x20(%r12), %rcx
movq %rbx, %rsi
movq %r14, %r8
callq 0x65ff
jmp 0x350f
movq %r15, -0x58(%rbp)
leaq -0x50(%rbp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movl $0x2, -0x38(%rbp)
jmp 0x35db
movq %r15, -0x58(%rbp)
leaq -0x50(%rbp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movl $0x3, -0x38(%rbp)
jmp 0x35db
movq %r15, -0x58(%rbp)
leaq -0x50(%rbp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movl $0x1, -0x38(%rbp)
movq 0x10(%r13), %rax
movq %rax, -0x30(%rbp)
leaq 0x28(%r13), %rdi
movq 0x18(%r13), %rdx
movq 0x20(%r13), %rcx
movq %rbx, %rsi
movq %r14, %r8
callq 0x65ff
movq (%r13), %r13
incq %r15
jmp 0x34b6
pushq $0x2
popq %rdi
callq 0x4593
movq 0xdc8b(%rip), %rdi      # 0x112a0
leaq 0x9254(%rip), %rsi      # 0xc870
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
pushq $0x2
popq %rdi
callq 0x4593
movq 0xdc66(%rip), %rdi      # 0x112a0
leaq 0x9249(%rip), %rsi      # 0xc88a
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
pushq $0x2
popq %rdi
callq 0x4593
movq 0xdc41(%rip), %rdi      # 0x112a0
leaq 0x9243(%rip), %rsi      # 0xc8a9
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
pushq $0x2
popq %rdi
callq 0x4593
movq 0xdc1c(%rip), %rdi      # 0x112a0
leaq 0x922e(%rip), %rsi      # 0xc8b9
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
pushq $0x1
popq %rdi
callq 0x4593
movq 0xdbf7(%rip), %rdi      # 0x112a0
leaq 0x8791(%rip), %rsi      # 0xbe41
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
leaq -0x60(%rbp), %rax
movl $0x1, 0x20(%rax)
pushq $0x1
popq %r15
pushq $0x3
popq %r12
movq -0x68(%rbp), %rbx
xorl %r14d, %r14d
testq %rbx, %rbx
je 0x3dee
cmpl $0x0, 0x40(%rbx)
movq 0x38(%rbx), %rax
je 0x37d4
testq %rax, %rax
jne 0x37dd
movl %r15d, %edi
callq 0x4593
movq 0xdb98(%rip), %rdi      # 0x112a0
leaq 0x91bb(%rip), %rsi      # 0xc8ca
movq %r14, %rdx
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
pushq $0x2
popq %r13
movl %r13d, %edi
callq 0x4593
movq 0xdb6c(%rip), %rdi      # 0x112a0
leaq 0x9066(%rip), %rsi      # 0xc7a1
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r13d, %edi
callq 0x4593
movq 0xdb47(%rip), %rdi      # 0x112a0
leaq 0x917f(%rip), %rsi      # 0xc8df
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r13d, %edi
callq 0x4593
movq 0xdb22(%rip), %rdi      # 0x112a0
leaq 0x9124(%rip), %rsi      # 0xc8a9
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r13d, %edi
callq 0x4593
movq 0xdafd(%rip), %rdi      # 0x112a0
leaq 0x910f(%rip), %rsi      # 0xc8b9
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r15d, %edi
callq 0x4593
movq 0xdad8(%rip), %rdi      # 0x112a0
leaq 0x8672(%rip), %rsi      # 0xbe41
jmp 0x3dd4
testq %rax, %rax
je 0x3de3
movl %r15d, %edi
callq 0x4593
movq 0xdab4(%rip), %rdi      # 0x112a0
leaq 0x90d7(%rip), %rsi      # 0xc8ca
movq %r14, %rdx
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
pushq $0x2
popq %r15
movl %r15d, %edi
callq 0x4593
movq 0xda88(%rip), %rdi      # 0x112a0
leaq 0x90ee(%rip), %rsi      # 0xc90d
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r15d, %edi
callq 0x4593
movq 0xda63(%rip), %rdi      # 0x112a0
leaq 0x90f2(%rip), %rsi      # 0xc936
movq %r14, %rdx
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r15d, %edi
callq 0x4593
movq 0xda3b(%rip), %rdi      # 0x112a0
leaq 0x8254(%rip), %rsi      # 0xbac0
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r12d, %edi
callq 0x4593
movq 0xda16(%rip), %rdi      # 0x112a0
leaq 0x8f10(%rip), %rsi      # 0xc7a1
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r12d, %r13d
movl %r12d, %edi
callq 0x4593
movq 0xd9ee(%rip), %rdi      # 0x112a0
leaq 0x9000(%rip), %rsi      # 0xc8b9
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
pushq $0x2
popq %r12
movl %r12d, %edi
callq 0x4593
movq 0xd9c5(%rip), %rdi      # 0x112a0
leaq 0x855f(%rip), %rsi      # 0xbe41
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl 0x8(%rbx), %r15d
movl %r12d, %edi
callq 0x4593
movq 0xd99c(%rip), %rdi      # 0x112a0
cmpl $0x4, %r15d
jne 0x3a6d
leaq 0x911a(%rip), %rsi      # 0xca2f
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r13d, %r15d
movl %r13d, %edi
callq 0x4593
movq 0xd96a(%rip), %rdi      # 0x112a0
leaq 0x8e64(%rip), %rsi      # 0xc7a1
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r15d, %edi
callq 0x4593
movq 0xd945(%rip), %rdi      # 0x112a0
leaq 0x90f8(%rip), %rsi      # 0xca5a
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r12d, %edi
callq 0x4593
movq 0xd920(%rip), %rdi      # 0x112a0
leaq 0x84ba(%rip), %rsi      # 0xbe41
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r12d, %edi
callq 0x4593
movq 0xd8fb(%rip), %rdi      # 0x112a0
leaq 0x90e7(%rip), %rsi      # 0xca93
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r13d, %r15d
movl %r13d, %edi
callq 0x4593
movq 0xd8d3(%rip), %rdi      # 0x112a0
leaq 0x8dcd(%rip), %rsi      # 0xc7a1
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r15d, %edi
callq 0x4593
movq 0xd8ae(%rip), %rdi      # 0x112a0
leaq 0x90d0(%rip), %rsi      # 0xcac9
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r12d, %edi
callq 0x4593
movq 0xd889(%rip), %rdi      # 0x112a0
leaq 0x8423(%rip), %rsi      # 0xbe41
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r12d, %edi
callq 0x4593
movq 0xd864(%rip), %rdi      # 0x112a0
leaq 0x90c4(%rip), %rsi      # 0xcb07
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r12d, %edi
callq 0x4593
movq 0xd83f(%rip), %rdi      # 0x112a0
leaq 0x90bf(%rip), %rsi      # 0xcb27
jmp 0x3b35
leaq 0x8efd(%rip), %rsi      # 0xc971
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r12d, %edi
callq 0x4593
movq 0xd80e(%rip), %rdi      # 0x112a0
movq 0x18(%rbx), %rdx
leaq 0x8eef(%rip), %rsi      # 0xc98c
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r12d, %edi
callq 0x4593
movq 0xd7e5(%rip), %rdi      # 0x112a0
leaq 0x8ee5(%rip), %rsi      # 0xc9a7
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r12d, %edi
callq 0x4593
movq 0xd7c0(%rip), %rdi      # 0x112a0
leaq 0x8ee5(%rip), %rsi      # 0xc9cc
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r12d, %edi
callq 0x4593
movq 0xd79b(%rip), %rdi      # 0x112a0
movq 0x18(%rbx), %rdx
leaq 0x8ee1(%rip), %rsi      # 0xc9f1
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r12d, %edi
callq 0x4593
movq 0xd772(%rip), %rdi      # 0x112a0
leaq 0x8ee3(%rip), %rsi      # 0xca18
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r12d, %edi
callq 0x4593
movq 0xd74d(%rip), %rdi      # 0x112a0
leaq 0x8cdc(%rip), %rsi      # 0xc836
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r13d, %edi
callq 0x4593
movq 0xd728(%rip), %rdi      # 0x112a0
leaq 0x90f4(%rip), %rsi      # 0xcc73
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r12d, %edi
callq 0x4593
movq 0xd703(%rip), %rdi      # 0x112a0
leaq 0x829d(%rip), %rsi      # 0xbe41
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl 0x8(%rbx), %eax
cmpq $0x4, %rax
ja 0x3cda
leaq 0x7481(%rip), %rcx      # 0xb048
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %r14, -0x58(%rbp)
leaq -0x50(%rbp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
andl $0x0, -0x38(%rbp)
jmp 0x3cb9
leaq 0x10(%rbx), %r15
movq %r14, -0x58(%rbp)
movq 0x18(%rbx), %rax
movq %rax, -0x50(%rbp)
movq (%r15), %r15
testq %r15, %r15
je 0x3cda
movl 0x8(%r15), %eax
cmpl $0x2, %eax
je 0x3c40
cmpl $0x1, %eax
je 0x3c2b
testl %eax, %eax
jne 0x4074
movq %r14, -0x58(%rbp)
movq 0x38(%r15), %rax
movq %rax, -0x48(%rbp)
andl $0x0, -0x38(%rbp)
jmp 0x3c53
movq %r14, -0x58(%rbp)
movq 0x38(%r15), %rax
movq %rax, -0x48(%rbp)
movl $0x1, -0x38(%rbp)
jmp 0x3c53
movq %r14, -0x58(%rbp)
movq 0x38(%r15), %rax
movq %rax, -0x48(%rbp)
movl $0x2, -0x38(%rbp)
movq 0x10(%r15), %rax
movq %rax, -0x30(%rbp)
leaq 0x28(%r15), %rdi
movq 0x18(%r15), %rdx
movq 0x20(%r15), %rcx
leaq -0x38(%rbp), %rsi
leaq -0x60(%rbp), %r8
callq 0x65ff
jmp 0x3bf7
movq %r14, -0x58(%rbp)
leaq -0x50(%rbp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movl $0x2, -0x38(%rbp)
jmp 0x3cb9
movq %r14, -0x58(%rbp)
leaq -0x50(%rbp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movl $0x3, -0x38(%rbp)
jmp 0x3cb9
movq %r14, -0x58(%rbp)
leaq -0x50(%rbp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movl $0x1, -0x38(%rbp)
movq 0x10(%rbx), %rax
movq %rax, -0x30(%rbp)
leaq 0x28(%rbx), %rdi
movq 0x18(%rbx), %rdx
movq 0x20(%rbx), %rcx
leaq -0x38(%rbp), %rsi
leaq -0x60(%rbp), %r8
callq 0x65ff
movl %r12d, %edi
callq 0x4593
movq 0xd5b7(%rip), %rdi      # 0x112a0
leaq 0x7e26(%rip), %rsi      # 0xbb16
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r13d, %edi
callq 0x4593
movq 0xd592(%rip), %rdi      # 0x112a0
leaq 0x8b5b(%rip), %rsi      # 0xc870
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
pushq $0x1
popq %r15
js 0x402e
movl %r13d, %edi
callq 0x4593
movq 0xd569(%rip), %rdi      # 0x112a0
leaq 0x8b4c(%rip), %rsi      # 0xc88a
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r13d, %r12d
movl %r13d, %edi
callq 0x4593
movq 0xd541(%rip), %rdi      # 0x112a0
leaq 0x8b43(%rip), %rsi      # 0xc8a9
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
leaq 0x80cb(%rip), %r13      # 0xbe41
js 0x402e
movl %r12d, %edi
callq 0x4593
movq 0xd515(%rip), %rdi      # 0x112a0
leaq 0x8b27(%rip), %rsi      # 0xc8b9
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
pushq $0x2
popq %rdi
callq 0x4593
movq 0xd4f0(%rip), %rdi      # 0x112a0
movq %r13, %rsi
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl %r15d, %edi
callq 0x4593
movq 0xd4cf(%rip), %rdi      # 0x112a0
movq %r13, %rsi
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movq (%rbx), %rbx
incq %r14
jmp 0x36d9
pushq $0x1
popq %rdi
callq 0x4593
movq 0xd4a3(%rip), %rdi      # 0x112a0
leaq 0x8065(%rip), %rsi      # 0xbe69
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
xorl %edi, %edi
callq 0x4593
movq 0xd47f(%rip), %rdi      # 0x112a0
leaq 0x8d1d(%rip), %rsi      # 0xcb45
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
movq -0x68(%rbp), %r13
js 0x402e
leaq 0x7fff(%rip), %r12      # 0xbe41
pushq $0x2
popq %r15
xorl %ebx, %ebx
testq %r13, %r13
je 0x3fbe
cmpl $0x0, 0x40(%r13)
jne 0x3e63
cmpq $0x0, 0x38(%r13)
je 0x3fb2
pushq $0x1
popq %rdi
callq 0x4593
movq 0xd42e(%rip), %rdi      # 0x112a0
leaq 0x8cd8(%rip), %rsi      # 0xcb51
movq %rbx, %rdx
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movq %r13, %r14
movl 0x8(%r13), %eax
cmpq $0x4, %rax
ja 0x3f92
leaq 0x71b9(%rip), %rcx      # 0xb05c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
andl $0x0, -0x38(%rbp)
jmp 0x3f76
leaq 0x10(%r14), %r13
movq (%r13), %r13
testq %r13, %r13
je 0x3f92
movl %r15d, %edi
callq 0x4593
movq 0xd3cb(%rip), %rdi      # 0x112a0
movq 0x18(%r14), %rdx
movq 0x38(%r13), %rcx
leaq 0x8c81(%rip), %rsi      # 0xcb65
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
movl 0x8(%r13), %eax
cmpl $0x2, %eax
je 0x3f14
cmpl $0x1, %eax
je 0x3f0b
testl %eax, %eax
jne 0x3f37
andl $0x0, -0x38(%rbp)
jmp 0x3f1b
movl $0x1, -0x38(%rbp)
jmp 0x3f1b
movl $0x2, -0x38(%rbp)
movq 0x10(%r13), %rax
movq %rax, -0x30(%rbp)
leaq 0x28(%r13), %rdi
movq 0x20(%r13), %rdx
leaq -0x38(%rbp), %rsi
pushq $0x3
popq %rcx
callq 0x77fb
movl %r15d, %edi
callq 0x4593
movq 0xd35a(%rip), %rdi      # 0x112a0
movq %r12, %rsi
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
jns 0x3eb9
jmp 0x402e
movl $0x2, -0x38(%rbp)
jmp 0x3f76
movl $0x3, -0x38(%rbp)
jmp 0x3f76
movl $0x1, -0x38(%rbp)
movq 0x10(%r14), %rax
movq %rax, -0x30(%rbp)
leaq 0x28(%r14), %rdi
movq 0x20(%r14), %rdx
leaq -0x38(%rbp), %rsi
movl %r15d, %ecx
callq 0x77fb
pushq $0x1
popq %rdi
callq 0x4593
movq 0xd2ff(%rip), %rdi      # 0x112a0
movq %r12, %rsi
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
movq %r14, %r13
js 0x402e
movq (%r13), %r13
incq %rbx
jmp 0x3e48
pushq $0x1
popq %rdi
callq 0x4593
movq 0xd2d3(%rip), %rdi      # 0x112a0
leaq 0x8ba9(%rip), %rsi      # 0xcb7d
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
xorl %edi, %edi
callq 0x4593
movq 0xd2b3(%rip), %rdi      # 0x112a0
leaq 0x7e4d(%rip), %rsi      # 0xbe41
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
xorl %edi, %edi
callq 0x4593
movq 0xd293(%rip), %rdi      # 0x112a0
leaq 0x8173(%rip), %rsi      # 0xc187
xorl %eax, %eax
callq 0x2100
testl %eax, %eax
js 0x402e
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0xcfbb(%rip), %rax      # 0x10ff0
movq (%rax), %rdi
leaq 0x78f9(%rip), %rsi      # 0xb938
leaq 0x790a(%rip), %rdx      # 0xb950
xorl %eax, %eax
callq 0x2100
pushq $0x1
popq %rdi
callq 0x2180
movq 0xcf94(%rip), %rax      # 0x10ff0
movq (%rax), %rdi
leaq 0x87da(%rip), %rsi      # 0xc840
leaq 0x87f6(%rip), %rcx      # 0xc863
movl $0x453, %edx            # imm = 0x453
jmp 0x4091
movq 0xcf75(%rip), %rax      # 0x10ff0
movq (%rax), %rdi
leaq 0x87bb(%rip), %rsi      # 0xc840
leaq 0x87d7(%rip), %rcx      # 0xc863
movl $0x4d1, %edx            # imm = 0x4D1
xorl %eax, %eax
callq 0x2100
jmp 0x404d