// File: nwieder[P]SSTS/src/Input/Standard_Ipt.cpp
// Function: nw::Standard_Ipt::read_Voxel(pugi::xml_node const&)
void Standard_Ipt::read_Voxel(xml_node const& nod){
	cout << "read_Voxel...";
	info_path << "############ VOXEL ############" << endl;
	xml_node_iterator vxl_it, li_it; //voxel iterator

//	read all Standard Voxel
	for(vxl_it = nod.child("standardVxlList").begin(); vxl_it !=
			nod.child("standardVxlList").end(); ++vxl_it){
		Standard_Ipt::xml_vxl* xvxl = new Standard_Ipt::xml_vxl;
		xvxl->xml_id = atol(vxl_it->attribute("id").value());
		info_path<< "id: " << xvxl->xml_id;
		info_path<< ", Initial State: ";
		for (li_it = vxl_it->child("initialState").begin(); li_it !=
				vxl_it->child("initialState").end(); ++li_it){
			xvxl->xml_init_state.push_back(atol(li_it->child_value()));
			info_path<< li_it->child_value();
		}
		info_path<< ", Neighbours: ";
		for (li_it = vxl_it->child("neighbours").begin(); li_it !=
				vxl_it->child("neighbours").end(); ++li_it){
			xvxl->xml_vxl_neighbours.push_back(atol(li_it->child_value()));
			info_path<< li_it->child_value();
		}
		info_path<< endl;
		xgd.xml_vxl_list.push_back(xvxl);
	}
	cout << "DONE" << endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x110, %rsp            # imm = 0x110
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq 0x52acb(%rip), %rdi     # 0x5dfd0
leaq 0x39fba(%rip), %rsi     # 0x454c6
callq 0x5300
movq -0xe8(%rbp), %rdi
addq $0x248, %rdi            # imm = 0x248
leaq 0x39fae(%rip), %rsi     # 0x454d4
callq 0x5300
movq %rax, %rdi
movq 0x52a6b(%rip), %rsi     # 0x5dfa0
callq 0x5340
leaq -0x20(%rbp), %rdi
callq 0x22930
leaq -0x30(%rbp), %rdi
callq 0x22930
movq -0x10(%rbp), %rdi
leaq 0x39f9d(%rip), %rsi     # 0x454f4
callq 0x1dc70
movq %rax, -0x48(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x1da30
movq %rax, -0x40(%rbp)
movq %rdx, -0x38(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
leaq 0x39f68(%rip), %rsi     # 0x454f4
callq 0x1dc70
movq %rax, -0x60(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x1da90
movq %rax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x22a30
testb $0x1, %al
jne 0xb5bc
jmp 0xb8f5
movl $0x38, %edi
callq 0x5320
movq %rax, %rdi
movq %rdi, -0xf0(%rbp)
callq 0xf450
movq -0xf0(%rbp), %rax
movq %rax, -0x68(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x22ad0
movq %rax, %rdi
leaq 0x3a2d9(%rip), %rsi     # 0x458cc
callq 0x1e000
movq %rax, -0x70(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x1ce10
movq %rax, %rdi
callq 0x5410
movq -0xe8(%rbp), %rdi
movq %rax, %rcx
movq -0x68(%rbp), %rax
movq %rcx, (%rax)
addq $0x248, %rdi            # imm = 0x248
leaq 0x39e21(%rip), %rsi     # 0x4544d
callq 0x5300
movq %rax, %rdi
movq -0x68(%rbp), %rax
movq (%rax), %rsi
callq 0x56a0
movq -0xe8(%rbp), %rdi
addq $0x248, %rdi            # imm = 0x248
leaq 0x39eaf(%rip), %rsi     # 0x45504
callq 0x5300
leaq -0x20(%rbp), %rdi
callq 0x22ad0
movq %rax, %rdi
leaq 0x39ea9(%rip), %rsi     # 0x45516
callq 0x1dc70
movq %rax, -0x88(%rbp)
leaq -0x88(%rbp), %rdi
callq 0x1da30
movq %rax, -0x80(%rbp)
movq %rdx, -0x78(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x22ad0
movq %rax, %rdi
leaq 0x39e66(%rip), %rsi     # 0x45516
callq 0x1dc70
movq %rax, -0xa0(%rbp)
leaq -0xa0(%rbp), %rdi
callq 0x1da90
movq %rax, -0x98(%rbp)
movq %rdx, -0x90(%rbp)
leaq -0x30(%rbp), %rdi
leaq -0x98(%rbp), %rsi
callq 0x22a30
testb $0x1, %al
jne 0xb6ef
jmp 0xb773
movq -0x68(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x100(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x22ad0
movq %rax, %rdi
callq 0x1e5d0
movq %rax, %rdi
callq 0x5410
movq -0x100(%rbp), %rdi
movq %rax, -0xa8(%rbp)
leaq -0xa8(%rbp), %rsi
callq 0x9020
movq -0xe8(%rbp), %rax
addq $0x248, %rax            # imm = 0x248
movq %rax, -0xf8(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x22ad0
movq %rax, %rdi
callq 0x1e5d0
movq -0xf8(%rbp), %rdi
movq %rax, %rsi
callq 0x5300
leaq -0x30(%rbp), %rdi
callq 0x22b20
jmp 0xb69d
movq -0xe8(%rbp), %rdi
addq $0x248, %rdi            # imm = 0x248
leaq 0x39d9b(%rip), %rsi     # 0x45523
callq 0x5300
leaq -0x20(%rbp), %rdi
callq 0x22ad0
movq %rax, %rdi
leaq 0x39d92(%rip), %rsi     # 0x45532
callq 0x1dc70
movq %rax, -0xc0(%rbp)
leaq -0xc0(%rbp), %rdi
callq 0x1da30
movq %rax, -0xb8(%rbp)
movq %rdx, -0xb0(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x22ad0
movq %rax, %rdi
leaq 0x39d43(%rip), %rsi     # 0x45532
callq 0x1dc70
movq %rax, -0xd8(%rbp)
leaq -0xd8(%rbp), %rdi
callq 0x1da90
movq %rax, -0xd0(%rbp)
movq %rdx, -0xc8(%rbp)
leaq -0x30(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
callq 0x22a30
testb $0x1, %al
jne 0xb82e
jmp 0xb8b2
movq -0x68(%rbp), %rax
addq $0x20, %rax
movq %rax, -0x110(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x22ad0
movq %rax, %rdi
callq 0x1e5d0
movq %rax, %rdi
callq 0x5410
movq -0x110(%rbp), %rdi
movq %rax, -0xe0(%rbp)
leaq -0xe0(%rbp), %rsi
callq 0x9020
movq -0xe8(%rbp), %rax
addq $0x248, %rax            # imm = 0x248
movq %rax, -0x108(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x22ad0
movq %rax, %rdi
callq 0x1e5d0
movq -0x108(%rbp), %rdi
movq %rax, %rsi
callq 0x5300
leaq -0x30(%rbp), %rdi
callq 0x22b20
jmp 0xb7dc
movq -0xe8(%rbp), %rdi
addq $0x248, %rdi            # imm = 0x248
movq 0x526d9(%rip), %rsi     # 0x5dfa0
callq 0x5340
movq -0xe8(%rbp), %rdi
addq $0x30, %rdi
addq $0xf8, %rdi
leaq -0x68(%rbp), %rsi
callq 0xf480
leaq -0x20(%rbp), %rdi
callq 0x22b20
jmp 0xb581
movq 0x526d4(%rip), %rdi     # 0x5dfd0
leaq 0x39bbe(%rip), %rsi     # 0x454c1
callq 0x5300
movq %rax, %rdi
movq 0x5268e(%rip), %rsi     # 0x5dfa0
callq 0x5340
addq $0x110, %rsp            # imm = 0x110
popq %rbp
retq