// File: /workspace/github_cpp_makefile_star2_O1/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, %r14
movq 0x28af6(%rip), %rdi     # 0x32fc8
leaq 0x1a1a7(%rip), %rsi     # 0x24680
movl $0x11, %edx
callq 0x42f0
movq 0x140(%r14), %rbx
movq 0x148(%r14), %rax
subq %rbx, %rax
testq %rax, %rax
jle 0xa5c9
leaq 0x48(%rsp), %r13
leaq 0x480(%r14), %rax
movq %rax, 0x8(%rsp)
xorl %r15d, %r15d
leaq 0x38(%rsp), %r12
movl $0x50, %edi
callq 0x42b0
movq %rax, %rbp
movq (%rbx,%r15,8), %rax
movq (%rax), %rbx
movq %r13, 0x38(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0xd022
movq 0x140(%r14), %rax
movq (%rax,%r15,8), %rax
movsd 0x28(%rax), %xmm0
movq %rbp, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0xbc54
movq 0x38(%rsp), %rdi
cmpq %r13, %rdi
je 0xa577
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x42c0
movq %rbp, 0x10(%rsp)
movq 0x488(%r14), %rsi
cmpq 0x490(%r14), %rsi
je 0xa599
movq %rbp, (%rsi)
addq $0x8, 0x488(%r14)
jmp 0xa5a8
movq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0xdbfe
incq %r15
movq 0x140(%r14), %rbx
movq 0x148(%r14), %rax
subq %rbx, %rax
sarq $0x3, %rax
cmpq %rax, %r15
jl 0xa516
movq 0x158(%r14), %rbx
movq 0x160(%r14), %rax
subq %rbx, %rax
testq %rax, %rax
jle 0xa6b6
leaq 0x28(%rsp), %r13
leaq 0x480(%r14), %rax
movq %rax, 0x8(%rsp)
xorl %r15d, %r15d
leaq 0x18(%rsp), %r12
movl $0x90, %edi
callq 0x42b0
movq %rax, %rbp
movq (%rbx,%r15,8), %rax
movq (%rax), %rbx
movq %r13, 0x18(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0xd022
movq 0x158(%r14), %rax
movq (%rax,%r15,8), %rax
movsd 0x28(%rax), %xmm0
movl 0x30(%rax), %ecx
movl 0x38(%rax), %r8d
movq %rbp, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0xbd12
movq 0x18(%rsp), %rdi
cmpq %r13, %rdi
je 0xa664
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x42c0
movq %rbp, 0x10(%rsp)
movq 0x488(%r14), %rsi
cmpq 0x490(%r14), %rsi
je 0xa686
movq %rbp, (%rsi)
addq $0x8, 0x488(%r14)
jmp 0xa695
movq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0xdbfe
incq %r15
movq 0x158(%r14), %rbx
movq 0x160(%r14), %rax
subq %rbx, %rax
sarq $0x3, %rax
cmpq %rax, %r15
jl 0xa5fc
leaq 0x19e2c(%rip), %rsi     # 0x244e9
movl $0x4, %edx
movq 0x288ff(%rip), %rbx     # 0x32fc8
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
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0xa726
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %r13, %rdi
je 0xa726
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x42c0
movl $0x90, %esi
jmp 0xa751
movq %rax, %rbx
jmp 0xa74c
movq %rax, %rbx
movq 0x38(%rsp), %rdi
cmpq %r13, %rdi
je 0xa74c
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x42c0
movl $0x50, %esi
movq %rbp, %rdi
callq 0x42c0
movq %rbx, %rdi
callq 0x4510
nop