// File: nwieder[P]SSTS/src/Input/Standard_Ipt.cpp
// Function: nw::Standard_Ipt::alloc_Species()
void Standard_Ipt::alloc_Species(){
	cout << "alloc Species... ";

	for (long i = 0; i < (long) xgd.xml_spc_list.size(); i++){
		_Species* ts = new Standard_Spc(xgd.xml_spc_list[i]->xml_id,
						xgd.xml_spc_list[i]->xml_name, xgd.xml_spc_list[i]->xml_init_conc);
		svc.push_back(ts);
	}
	for (long i = 0; i < (long) xgd.xml_ch_spc_list.size(); i++){
		_Species* tcs = new Channel_Spc(xgd.xml_ch_spc_list[i]->xml_id,
						xgd.xml_ch_spc_list[i]->xml_name, xgd.xml_ch_spc_list[i]->
						xml_init_conc,
						xgd.xml_ch_spc_list[i]->xml_n_subunits,	xgd.xml_ch_spc_list[i]->
						xml_n_suToOpen);
		svc.push_back(tcs);
	}

	cout << "DONE" << endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x88(%rbp)
movq 0x50d7f(%rip), %rdi     # 0x5dfd0
leaq 0x38400(%rip), %rsi     # 0x45658
callq 0x5300
movq $0x0, -0x10(%rbp)
movq -0x88(%rbp), %rdi
movq -0x10(%rbp), %rax
movq %rax, -0x90(%rbp)
addq $0x30, %rdi
addq $0x110, %rdi            # imm = 0x110
callq 0xee00
movq %rax, %rcx
movq -0x90(%rbp), %rax
cmpq %rcx, %rax
jge 0xd3b5
movl $0x50, %edi
callq 0x5320
movq -0x88(%rbp), %rdi
movq %rax, -0xa8(%rbp)
movb $0x1, -0x45(%rbp)
addq $0x140, %rdi            # imm = 0x140
movq %rdi, -0xa0(%rbp)
movq -0x10(%rbp), %rsi
callq 0xee20
movq -0xa0(%rbp), %rdi
movq (%rax), %rax
movq (%rax), %rax
movq %rax, -0x98(%rbp)
movq -0x10(%rbp), %rsi
callq 0xee20
movq (%rax), %rsi
addq $0x8, %rsi
leaq -0x38(%rbp), %rdi
callq 0x5130
jmp 0xd2fc
movq -0x88(%rbp), %rdi
addq $0x140, %rdi            # imm = 0x140
movq -0x10(%rbp), %rsi
callq 0xee20
movq -0xa8(%rbp), %rdi
movq -0x98(%rbp), %rsi
movq (%rax), %rax
movsd 0x28(%rax), %xmm0
leaq -0x38(%rbp), %rdx
callq 0xf780
jmp 0xd334
movb $0x0, -0x45(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x5768
movq -0xa8(%rbp), %rax
movq -0x88(%rbp), %rdi
movq %rax, -0x18(%rbp)
addq $0x480, %rdi            # imm = 0x480
leaq -0x18(%rbp), %rsi
callq 0xf820
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
jmp 0xd265
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0xd397
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x5768
testb $0x1, -0x45(%rbp)
jne 0xd39f
jmp 0xd3b0
movq -0xa8(%rbp), %rdi
movl $0x50, %esi
callq 0x5330
jmp 0xd585
movq $0x0, -0x50(%rbp)
movq -0x88(%rbp), %rdi
movq -0x50(%rbp), %rax
movq %rax, -0xb0(%rbp)
addq $0x30, %rdi
addq $0x128, %rdi            # imm = 0x128
callq 0xee60
movq %rax, %rcx
movq -0xb0(%rbp), %rax
cmpq %rcx, %rax
jge 0xd55a
movl $0x90, %edi
callq 0x5320
movq -0x88(%rbp), %rdi
movq %rax, -0xc8(%rbp)
movb $0x1, -0x79(%rbp)
addq $0x158, %rdi            # imm = 0x158
movq %rdi, -0xc0(%rbp)
movq -0x50(%rbp), %rsi
callq 0xee80
movq -0xc0(%rbp), %rdi
movq (%rax), %rax
movq (%rax), %rax
movq %rax, -0xb8(%rbp)
movq -0x50(%rbp), %rsi
callq 0xee80
movq (%rax), %rsi
addq $0x8, %rsi
leaq -0x78(%rbp), %rdi
callq 0x5130
jmp 0xd454
movq -0x88(%rbp), %rdi
addq $0x158, %rdi            # imm = 0x158
movq %rdi, -0xe0(%rbp)
movq -0x50(%rbp), %rsi
callq 0xee80
movq -0xe0(%rbp), %rdi
movq (%rax), %rax
movsd 0x28(%rax), %xmm0
movsd %xmm0, -0xd8(%rbp)
movq -0x50(%rbp), %rsi
callq 0xee80
movq -0xe0(%rbp), %rdi
movq (%rax), %rax
movl 0x30(%rax), %eax
movl %eax, -0xcc(%rbp)
movq -0x50(%rbp), %rsi
callq 0xee80
movq -0xc8(%rbp), %rdi
movq -0xb8(%rbp), %rsi
movsd -0xd8(%rbp), %xmm0
movl -0xcc(%rbp), %ecx
movq (%rax), %rax
movl 0x38(%rax), %r8d
leaq -0x78(%rbp), %rdx
callq 0xf890
jmp 0xd4dc
movb $0x0, -0x79(%rbp)
leaq -0x78(%rbp), %rdi
callq 0x5768
movq -0xc8(%rbp), %rax
movq -0x88(%rbp), %rdi
movq %rax, -0x58(%rbp)
addq $0x480, %rdi            # imm = 0x480
leaq -0x58(%rbp), %rsi
callq 0xf820
movq -0x50(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x50(%rbp)
jmp 0xd3bd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0xd53f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x78(%rbp), %rdi
callq 0x5768
testb $0x1, -0x79(%rbp)
jne 0xd547
jmp 0xd558
movq -0xc8(%rbp), %rdi
movl $0x90, %esi
callq 0x5330
jmp 0xd585
movq 0x50a6f(%rip), %rdi     # 0x5dfd0
leaq 0x37f59(%rip), %rsi     # 0x454c1
callq 0x5300
movq %rax, %rdi
movq 0x50a29(%rip), %rsi     # 0x5dfa0
callq 0x5340
addq $0xe0, %rsp
popq %rbp
retq
movq -0x40(%rbp), %rdi
callq 0x5650
nop