// File: /workspace/github_c_makefile_star2_O0/stonezwr[P]SpiKL-IP/network.C
// Function: Network::AddNeuron(char*, bool, double)
void Network::AddNeuron(char * name, bool excitatory, double v_mem){
    for(list<Neuron*>::iterator iter = _individualNeurons.begin(); iter != _individualNeurons.end(); iter++)
        assert(strcmp((*iter)->Name(),name) != 0);

    assert(_groupNeurons.find(string(name)) == _groupNeurons.end());

    Neuron * neuron = new Neuron(name, excitatory, this, v_mem);
    _individualNeurons.push_back(neuron);
    _allNeurons.push_back(neuron);
    if(excitatory == true){
        _allExcitatoryNeurons.push_back(neuron);
        neuron->SetExcitatory();
    }else _allInhibitoryNeurons.push_back(neuron);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movb %dl, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
andb $0x1, %al
movb %al, -0x11(%rbp)
movsd %xmm0, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x90(%rbp)
callq 0x239e0
movq %rax, -0x28(%rbp)
movq -0x90(%rbp), %rdi
callq 0x23a40
movq %rax, -0x30(%rbp)
leaq -0x28(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x23a10
testb $0x1, %al
jne 0x1d396
jmp 0x1d3ec
leaq -0x28(%rbp), %rdi
callq 0x23a70
movq (%rax), %rdi
callq 0xbea0
movq %rax, %rdi
movq -0x10(%rbp), %rsi
callq 0x4520
cmpl $0x0, %eax
je 0x1d3ba
jmp 0x1d3d9
leaq 0x17f37(%rip), %rdi     # 0x352f8
leaq 0x17f52(%rip), %rsi     # 0x3531a
movl $0x47, %edx
leaq 0x17f50(%rip), %rcx     # 0x35324
callq 0x4210
jmp 0x1d3db
leaq -0x28(%rbp), %rdi
xorl %esi, %esi
callq 0x23a90
movq %rax, -0x38(%rbp)
jmp 0x1d373
movq -0x90(%rbp), %rax
addq $0x18, %rax
movq %rax, -0xa8(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xa0(%rbp)
leaq -0x61(%rbp), %rdi
movq %rdi, -0x98(%rbp)
callq 0x46f0
movq -0xa0(%rbp), %rsi
movq -0x98(%rbp), %rdx
leaq -0x60(%rbp), %rdi
callq 0x12880
jmp 0x1d432
movq -0xa8(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x23f10
movq %rax, -0xb0(%rbp)
jmp 0x1d44b
movq -0x90(%rbp), %rdi
movq -0xb0(%rbp), %rax
movq %rax, -0x40(%rbp)
addq $0x18, %rdi
callq 0x23af0
movq %rax, -0x80(%rbp)
leaq -0x40(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x23f40
testb $0x1, %al
jne 0x1d47d
jmp 0x1d47f
jmp 0x1d4c9
leaq 0x17ecc(%rip), %rdi     # 0x35352
leaq 0x17e8d(%rip), %rsi     # 0x3531a
movl $0x49, %edx
leaq 0x17e8b(%rip), %rcx     # 0x35324
callq 0x4210
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
jmp 0x1d580
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x4200
jmp 0x1d580
leaq -0x60(%rbp), %rdi
callq 0x4200
leaq -0x61(%rbp), %rdi
callq 0x43d0
movl $0x220, %edi            # imm = 0x220
callq 0x4380
movq -0x90(%rbp), %rcx
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0xb8(%rbp)
movq -0x10(%rbp), %rsi
movsd -0x20(%rbp), %xmm0
movzbl -0x11(%rbp), %edx
andl $0x1, %edx
callq 0xba80
jmp 0x1d510
movq -0x90(%rbp), %rdi
movq -0xb8(%rbp), %rax
movq %rax, -0x88(%rbp)
leaq -0x88(%rbp), %rsi
callq 0x23f70
movq -0x90(%rbp), %rdi
addq $0x88, %rdi
leaq -0x88(%rbp), %rsi
callq 0x23f70
movb -0x11(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x1, %eax
jne 0x1d5aa
movq -0x90(%rbp), %rdi
addq $0xa0, %rdi
leaq -0x88(%rbp), %rsi
callq 0x23f70
movq -0x88(%rbp), %rdi
callq 0x23fb0
jmp 0x1d5c4
leaq -0x61(%rbp), %rdi
callq 0x43d0
jmp 0x1d5cd
movq -0xb8(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
movl $0x220, %esi            # imm = 0x220
callq 0x4390
jmp 0x1d5cd
movq -0x90(%rbp), %rdi
addq $0xb8, %rdi
leaq -0x88(%rbp), %rsi
callq 0x23f70
addq $0xc0, %rsp
popq %rbp
retq
movq -0x70(%rbp), %rdi
callq 0x46d0
nopw %cs:(%rax,%rax)