// File: /workspace/github_cpp_makefile_star2_O3/nwieder[P]SSTS/src/Input/Standard_Ipt.cpp
// Function: nw::Standard_Ipt::read_Sim_Data()
void Standard_Ipt::read_Sim_Data(){

	xml_node top = doc.child("Sim");
	xml_node_iterator it = doc.begin();
	xml_node_iterator li_it; // iterator for the outputSpeciesList

//	open output file stream
	string tmp = output_dir_path + "sim_info" + ".e";
	info_path.open(tmp.c_str());
	info_path << build_header() << endl;
	info_path << "############ GENERAL DATA ############" << endl;

//	read the general data and save to xgd
	xgd.xml_output_mode = atol(it->child_value("outputMode"));
	info_path << "output mode: " << xgd.xml_output_mode << endl;
	xgd.xml_max_sim_steps = atof(it->child_value("maxSimulationSteps"));
	info_path << "max simulation steps: " << xgd.xml_max_sim_steps << endl;
	xgd.xml_max_sim_time = atof(it->child_value("maxSimTime"));
	info_path<< "max simulation time: " << xgd.xml_max_sim_time << endl;
	xgd.xml_sample_rate = atof(it->child_value("sampleRate"));
	info_path<< "sample rate: " << xgd.xml_sample_rate << endl;
	xgd.xml_box_lenght = atof(it->child_value("voxelBoxLenght"));
	info_path<< "voxel box lenght: " << xgd.xml_box_lenght << endl;
	xgd.xml_border_condition = (string)it->child_value("borderCondition");
	info_path<< "border condition: " << xgd.xml_border_condition << endl;

//	print output _Species and _Voxel ids to sim_info.e
	info_path<< "output species: ";
	for (li_it = it->child("outputSpcList").begin(); li_it !=
			it->child("outputSpcList").end(); ++li_it){
		xgd.xml_output_Spc.push_back(atol(li_it->child_value()));
		info_path << li_it->child_value() << ",";
	}
	info_path << endl << "output voxel: " ;
	for (li_it = it->child("outputVxlList").begin(); li_it !=
			it->child("outputVxlList").end(); ++li_it){
		xgd.xml_output_Vxl.push_back(atol(li_it->child_value()));
		info_path<< li_it->child_value() << ",";
	}
	info_path << endl;

	read_Species(it->child("speciesList"));
	read_Voxel(it->child("voxelList"));
	read_Events(it->child("eventList"));

	alloc_Species();
	alloc_Voxel();
	alloc_Events();

//	close the file stream
	info_path << endl << endl << endl;
	info_path.close();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdi, %r14
leaq 0x170(%rdi), %rbx
leaq 0x1c5ec(%rip), %rsi     # 0x242ff
movq %rbx, %rdi
callq 0x11080
movq %rbx, %rdi
callq 0x10fec
movq %rax, 0x28(%rsp)
movq %rdx, 0x30(%rsp)
leaq 0x68(%rsp), %rdi
callq 0x15894
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x10(%r14), %rsi
movq 0x18(%r14), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0xd476
leaq 0x1c5a3(%rip), %rsi     # 0x24303
movq %rbx, %rdi
callq 0x4560
leaq 0x1ccac(%rip), %rsi     # 0x24a1b
leaq 0x8(%rsp), %rdi
callq 0x4560
leaq 0x58(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7da0
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x7da6
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x7dd5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42c0
leaq 0x248(%r14), %rbx
movq 0x48(%rsp), %rsi
movq %rbx, %rdi
movl $0x10, %edx
callq 0x4050
leaq 0x8(%rsp), %rdi
callq 0x8618
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x42f0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x4280
movsbl %al, %esi
movq %r15, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x4190
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x7e4b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42c0
leaq 0x1c4ba(%rip), %rsi     # 0x2430c
movl $0x26, %edx
movq %rbx, %rdi
callq 0x42f0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4280
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x4190
leaq 0x28(%rsp), %rdi
callq 0x15926
leaq 0x1c49c(%rip), %rsi     # 0x24333
movq %rax, %rdi
callq 0x11426
movq %rax, %rdi
callq 0x4320
movq %rax, 0x70(%r14)
leaq 0x1c48c(%rip), %rsi     # 0x2433e
movl $0xd, %edx
movq %rbx, %rdi
callq 0x42f0
movq 0x70(%r14), %rsi
movq %rbx, %rdi
callq 0x4270
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x4280
movsbl %al, %esi
movq %r15, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x4190
leaq 0x28(%rsp), %rdi
callq 0x15926
leaq 0x1c446(%rip), %rsi     # 0x2434c
movq %rax, %rdi
callq 0x11426
movq %rax, %rdi
callq 0x4350
movsd %xmm0, 0x78(%r14)
leaq 0x1c43c(%rip), %rsi     # 0x2435f
movl $0x16, %edx
movq %rbx, %rdi
callq 0x42f0
movsd 0x78(%r14), %xmm0
movq %rbx, %rdi
callq 0x4480
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x4280
movsbl %al, %esi
movq %r15, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x4190
leaq 0x28(%rsp), %rdi
callq 0x15926
leaq 0x1c3fd(%rip), %rsi     # 0x24376
movq %rax, %rdi
callq 0x11426
movq %rax, %rdi
callq 0x4350
movsd %xmm0, 0x80(%r14)
leaq 0x1c3e8(%rip), %rsi     # 0x24381
movl $0x15, %edx
movq %rbx, %rdi
callq 0x42f0
movsd 0x80(%r14), %xmm0
movq %rbx, %rdi
callq 0x4480
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x4280
movsbl %al, %esi
movq %r15, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x4190
leaq 0x28(%rsp), %rdi
callq 0x15926
leaq 0x1c3a5(%rip), %rsi     # 0x24397
movq %rax, %rdi
callq 0x11426
movq %rax, %rdi
callq 0x4350
movsd %xmm0, 0x88(%r14)
leaq 0x1c390(%rip), %rsi     # 0x243a2
movl $0xd, %edx
movq %rbx, %rdi
callq 0x42f0
movsd 0x88(%r14), %xmm0
movq %rbx, %rdi
callq 0x4480
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x4280
movsbl %al, %esi
movq %r15, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x4190
leaq 0x28(%rsp), %rdi
callq 0x15926
leaq 0x1c345(%rip), %rsi     # 0x243b0
movq %rax, %rdi
callq 0x11426
movq %rax, %rdi
callq 0x4350
movsd %xmm0, 0x90(%r14)
leaq 0x1c334(%rip), %rsi     # 0x243bf
movl $0x12, %edx
movq %rbx, %rdi
callq 0x42f0
movsd 0x90(%r14), %xmm0
movq %rbx, %rdi
callq 0x4480
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x4280
movsbl %al, %esi
movq %r15, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x4190
leaq 0x28(%rsp), %rdi
callq 0x15926
leaq 0x1c2ee(%rip), %rsi     # 0x243d2
movq %rax, %rdi
callq 0x11426
leaq 0x8(%rsp), %rdi
leaq 0x38(%rsp), %rdx
movq %rax, %rsi
callq 0xbf1c
leaq 0x50(%r14), %rdi
leaq 0x8(%rsp), %r15
movq %r15, %rsi
callq 0x4340
movq (%r15), %rdi
cmpq %r12, %rdi
je 0x8124
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42c0
leaq 0x1c2b7(%rip), %rsi     # 0x243e2
movl $0x12, %edx
movq %rbx, %rdi
callq 0x42f0
movq 0x50(%r14), %rsi
movq 0x58(%r14), %rdx
movq %rbx, %rdi
callq 0x42f0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x4280
movsbl %al, %esi
movq %r15, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x4190
leaq 0x1c27c(%rip), %rsi     # 0x243f5
movl $0x10, %edx
movq %rbx, %rdi
callq 0x42f0
leaq 0x28(%rsp), %rdi
callq 0x15926
leaq 0x1c26f(%rip), %rsi     # 0x24406
movq %rax, %rdi
callq 0x11080
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
callq 0x10fec
leaq 0x68(%rsp), %r15
movq %rax, (%r15)
movq %rdx, 0x8(%r15)
leaq 0x98(%r14), %rax
movq %rax, 0x40(%rsp)
leaq 0x38(%rsp), %r12
leaq 0x8(%rsp), %r13
leaq 0x28(%rsp), %rdi
callq 0x15926
movq %rax, %rdi
leaq 0x1c224(%rip), %rsi     # 0x24406
callq 0x11080
movq %rax, 0x38(%rsp)
movq %r12, %rdi
callq 0x10ffc
movq %rax, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
movq %r15, %rdi
movq %r13, %rsi
callq 0x158dc
testb %al, %al
je 0x82c3
movq %r15, %rdi
callq 0x15926
movq %rax, %rdi
callq 0x113da
movq %rax, %rdi
callq 0x4320
movq %rax, 0x8(%rsp)
movq 0xa0(%r14), %rsi
cmpq 0xa8(%r14), %rsi
je 0x824e
movq %rax, (%rsi)
addq $0x8, %rsi
movq %rsi, 0xa0(%r14)
jmp 0x825b
movq 0x40(%rsp), %rdi
movq %r13, %rdx
callq 0x71d2
movq %r15, %rdi
callq 0x15926
movq %rax, %rdi
callq 0x113da
movq %rax, %rbp
testq %rax, %rax
je 0x828b
movq %rbp, %rdi
callq 0x4110
movq %rbx, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0x42f0
jmp 0x82a2
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x44c0
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x1c163(%rip), %rsi     # 0x24414
callq 0x42f0
movq %r15, %rdi
callq 0x15950
jmp 0x81ce
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4280
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x4190
leaq 0x1c125(%rip), %rsi     # 0x24416
movl $0xe, %edx
movq %rax, %rdi
callq 0x42f0
leaq 0x28(%rsp), %rdi
callq 0x15926
leaq 0x1c116(%rip), %rsi     # 0x24425
movq %rax, %rdi
callq 0x11080
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
callq 0x10fec
leaq 0x68(%rsp), %r15
movq %rax, (%r15)
movq %rdx, 0x8(%r15)
leaq 0xb0(%r14), %rax
movq %rax, 0x40(%rsp)
leaq 0x38(%rsp), %r12
leaq 0x8(%rsp), %r13
leaq 0x28(%rsp), %rdi
callq 0x15926
movq %rax, %rdi
leaq 0x1c0cb(%rip), %rsi     # 0x24425
callq 0x11080
movq %rax, 0x38(%rsp)
movq %r12, %rdi
callq 0x10ffc
movq %rax, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
movq %r15, %rdi
movq %r13, %rsi
callq 0x158dc
testb %al, %al
je 0x843b
movq %r15, %rdi
callq 0x15926
movq %rax, %rdi
callq 0x113da
movq %rax, %rdi
callq 0x4320
movq %rax, 0x8(%rsp)
movq 0xb8(%r14), %rsi
cmpq 0xc0(%r14), %rsi
je 0x83c6
movq %rax, (%rsi)
addq $0x8, %rsi
movq %rsi, 0xb8(%r14)
jmp 0x83d3
movq 0x40(%rsp), %rdi
movq %r13, %rdx
callq 0x71d2
movq %r15, %rdi
callq 0x15926
movq %rax, %rdi
callq 0x113da
movq %rax, %rbp
testq %rax, %rax
je 0x8403
movq %rbp, %rdi
callq 0x4110
movq %rbx, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0x42f0
jmp 0x841a
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x44c0
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x1bfeb(%rip), %rsi     # 0x24414
callq 0x42f0
movq %r15, %rdi
callq 0x15950
jmp 0x8346
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4280
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x4190
leaq 0x28(%rsp), %rdi
callq 0x15926
leaq 0x1bfc0(%rip), %rsi     # 0x24433
movq %rax, %rdi
callq 0x11080
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq %r14, %rdi
callq 0x868c
leaq 0x28(%rsp), %rdi
callq 0x15926
leaq 0x1bfa3(%rip), %rsi     # 0x2443f
movq %rax, %rdi
callq 0x11080
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq %r14, %rdi
callq 0x8c96
leaq 0x28(%rsp), %rdi
callq 0x15926
leaq 0x1bf84(%rip), %rsi     # 0x24449
movq %rax, %rdi
callq 0x11080
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq %r14, %rdi
callq 0x9174
movq %r14, %rdi
callq 0xa944
movq %r14, %rdi
callq 0xabec
movq %r14, %rdi
callq 0xb102
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4280
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x4190
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x4280
movsbl %al, %esi
movq %r14, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x4190
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x4280
movsbl %al, %esi
movq %r14, %rdi
callq 0x4040
movq %rax, %rdi
callq 0x4190
movq %rbx, %rdi
callq 0x43e0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x8594
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x42c0
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x85f1
jmp 0x85f1
jmp 0x85a9
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x8610
movq 0x18(%rsp), %rsi
jmp 0x8608
jmp 0x85f1
jmp 0x85f1
jmp 0x85f1
jmp 0x85f1
jmp 0x85f1
jmp 0x85f1
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x85f4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42c0
jmp 0x85f4
jmp 0x85f1
jmp 0x85f1
jmp 0x85f1
jmp 0x85f1
jmp 0x85f1
jmp 0x85f1
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x8610
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x42c0
movq %rbx, %rdi
callq 0x4510