// File: /workspace/github_cpp_makefile_star2_O1/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 0x1ca58(%rip), %rsi     # 0x242df
movq %rbx, %rdi
callq 0x10c1e
movq %rbx, %rdi
callq 0x10b8a
movq %rax, 0x28(%rsp)
movq %rdx, 0x30(%rsp)
leaq 0x68(%rsp), %rdi
callq 0x157f8
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 0xd022
leaq 0x1ca0f(%rip), %rsi     # 0x242e3
movq %rbx, %rdi
callq 0x4560
leaq 0x1d118(%rip), %rsi     # 0x249fb
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 0x7914
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x791a
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 0x7949
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 0x818c
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 0x79bf
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42c0
leaq 0x1c926(%rip), %rsi     # 0x242ec
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 0x1587a
leaq 0x1c908(%rip), %rsi     # 0x24313
movq %rax, %rdi
callq 0x10fc8
movq %rax, %rdi
callq 0x4320
movq %rax, 0x70(%r14)
leaq 0x1c8f8(%rip), %rsi     # 0x2431e
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 0x1587a
leaq 0x1c8b2(%rip), %rsi     # 0x2432c
movq %rax, %rdi
callq 0x10fc8
movq %rax, %rdi
callq 0x4350
movsd %xmm0, 0x78(%r14)
leaq 0x1c8a8(%rip), %rsi     # 0x2433f
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 0x1587a
leaq 0x1c869(%rip), %rsi     # 0x24356
movq %rax, %rdi
callq 0x10fc8
movq %rax, %rdi
callq 0x4350
movsd %xmm0, 0x80(%r14)
leaq 0x1c854(%rip), %rsi     # 0x24361
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 0x1587a
leaq 0x1c811(%rip), %rsi     # 0x24377
movq %rax, %rdi
callq 0x10fc8
movq %rax, %rdi
callq 0x4350
movsd %xmm0, 0x88(%r14)
leaq 0x1c7fc(%rip), %rsi     # 0x24382
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 0x1587a
leaq 0x1c7b1(%rip), %rsi     # 0x24390
movq %rax, %rdi
callq 0x10fc8
movq %rax, %rdi
callq 0x4350
movsd %xmm0, 0x90(%r14)
leaq 0x1c7a0(%rip), %rsi     # 0x2439f
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 0x1587a
leaq 0x1c75a(%rip), %rsi     # 0x243b2
movq %rax, %rdi
callq 0x10fc8
leaq 0x8(%rsp), %rdi
leaq 0x38(%rsp), %rdx
movq %rax, %rsi
callq 0xbaf2
leaq 0x50(%r14), %rdi
leaq 0x8(%rsp), %r15
movq %r15, %rsi
callq 0x4340
movq (%r15), %rdi
cmpq %r12, %rdi
je 0x7c98
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42c0
leaq 0x1c723(%rip), %rsi     # 0x243c2
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 0x1c6e8(%rip), %rsi     # 0x243d5
movl $0x10, %edx
movq %rbx, %rdi
callq 0x42f0
leaq 0x28(%rsp), %rdi
callq 0x1587a
leaq 0x1c6db(%rip), %rsi     # 0x243e6
movq %rax, %rdi
callq 0x10c1e
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
callq 0x10b8a
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 0x1587a
movq %rax, %rdi
leaq 0x1c690(%rip), %rsi     # 0x243e6
callq 0x10c1e
movq %rax, 0x38(%rsp)
movq %r12, %rdi
callq 0x10b9a
movq %rax, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
movq %r15, %rdi
movq %r13, %rsi
callq 0x1583a
testb %al, %al
je 0x7e37
movq %r15, %rdi
callq 0x1587a
movq %rax, %rdi
callq 0x10f7c
movq %rax, %rdi
callq 0x4320
movq %rax, 0x8(%rsp)
movq 0xa0(%r14), %rsi
cmpq 0xa8(%r14), %rsi
je 0x7dc2
movq %rax, (%rsi)
addq $0x8, %rsi
movq %rsi, 0xa0(%r14)
jmp 0x7dcf
movq 0x40(%rsp), %rdi
movq %r13, %rdx
callq 0x6d8e
movq %r15, %rdi
callq 0x1587a
movq %rax, %rdi
callq 0x10f7c
movq %rax, %rbp
testq %rax, %rax
je 0x7dff
movq %rbp, %rdi
callq 0x4110
movq %rbx, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0x42f0
jmp 0x7e16
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 0x1c5cf(%rip), %rsi     # 0x243f4
callq 0x42f0
movq %r15, %rdi
callq 0x158a4
jmp 0x7d42
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 0x1c591(%rip), %rsi     # 0x243f6
movl $0xe, %edx
movq %rax, %rdi
callq 0x42f0
leaq 0x28(%rsp), %rdi
callq 0x1587a
leaq 0x1c582(%rip), %rsi     # 0x24405
movq %rax, %rdi
callq 0x10c1e
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
callq 0x10b8a
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 0x1587a
movq %rax, %rdi
leaq 0x1c537(%rip), %rsi     # 0x24405
callq 0x10c1e
movq %rax, 0x38(%rsp)
movq %r12, %rdi
callq 0x10b9a
movq %rax, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
movq %r15, %rdi
movq %r13, %rsi
callq 0x1583a
testb %al, %al
je 0x7faf
movq %r15, %rdi
callq 0x1587a
movq %rax, %rdi
callq 0x10f7c
movq %rax, %rdi
callq 0x4320
movq %rax, 0x8(%rsp)
movq 0xb8(%r14), %rsi
cmpq 0xc0(%r14), %rsi
je 0x7f3a
movq %rax, (%rsi)
addq $0x8, %rsi
movq %rsi, 0xb8(%r14)
jmp 0x7f47
movq 0x40(%rsp), %rdi
movq %r13, %rdx
callq 0x6d8e
movq %r15, %rdi
callq 0x1587a
movq %rax, %rdi
callq 0x10f7c
movq %rax, %rbp
testq %rax, %rax
je 0x7f77
movq %rbp, %rdi
callq 0x4110
movq %rbx, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0x42f0
jmp 0x7f8e
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 0x1c457(%rip), %rsi     # 0x243f4
callq 0x42f0
movq %r15, %rdi
callq 0x158a4
jmp 0x7eba
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 0x1587a
leaq 0x1c42c(%rip), %rsi     # 0x24413
movq %rax, %rdi
callq 0x10c1e
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq %r14, %rdi
callq 0x8200
leaq 0x28(%rsp), %rdi
callq 0x1587a
leaq 0x1c40f(%rip), %rsi     # 0x2441f
movq %rax, %rdi
callq 0x10c1e
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq %r14, %rdi
callq 0x880a
leaq 0x28(%rsp), %rdi
callq 0x1587a
leaq 0x1c3f0(%rip), %rsi     # 0x24429
movq %rax, %rdi
callq 0x10c1e
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq %r14, %rdi
callq 0x8ce8
movq %r14, %rdi
callq 0xa4ba
movq %r14, %rdi
callq 0xa762
movq %r14, %rdi
callq 0xac7c
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 0x8108
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 0x8165
jmp 0x8165
jmp 0x811d
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x8184
movq 0x18(%rsp), %rsi
jmp 0x817c
jmp 0x8165
jmp 0x8165
jmp 0x8165
jmp 0x8165
jmp 0x8165
jmp 0x8165
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x8168
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42c0
jmp 0x8168
jmp 0x8165
jmp 0x8165
jmp 0x8165
jmp 0x8165
jmp 0x8165
jmp 0x8165
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x8184
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x42c0
movq %rbx, %rdi
callq 0x4510