// File: /workspace/github_c_makefile_star2_O0/stonezwr[P]SpiKL-IP/network.C
// Function: Network::LoadNextSpeechTestCV(networkmode_t)
int Network::LoadNextSpeechTestCV(networkmode_t networkmode){
    assert(_lsm_input_layer != NULL);
    assert(_lsm_reservoir_layer != NULL);
    assert(_lsm_output_layer != NULL);

    neuronmode_t neuronmode_input = NORMAL, neuronmode_reservoir = NORMAL, neuronmode_readout = NORMAL;
    // determine the neuron mode by the network mode:
    DetermineNetworkNeuronMode(networkmode, neuronmode_input, neuronmode_reservoir, neuronmode_readout);

    _cv_test_sp_iter++;
    assert(!_CVspeeches.empty());
    if(_cv_test_sp_iter != _CVspeeches[_fold_ind].end()){
        LoadSpeeches(*_cv_test_sp_iter, neuronmode_input, neuronmode_reservoir, neuronmode_readout, false);
        return (*_cv_test_sp_iter)->Index();
    }else{
        LSMNetworkRemoveSpeech();
        return -1;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
cmpq $0x0, 0x268(%rax)
je 0x208c3
jmp 0x208e2
leaq 0x14fc1(%rip), %rdi     # 0x3588b
leaq 0x14a49(%rip), %rsi     # 0x3531a
movl $0x291, %edx            # imm = 0x291
leaq 0x151ae(%rip), %rcx     # 0x35a8b
callq 0x4210
movq -0x38(%rbp), %rax
cmpq $0x0, 0x270(%rax)
je 0x208f2
jmp 0x20911
leaq 0x14fc8(%rip), %rdi     # 0x358c1
leaq 0x14a1a(%rip), %rsi     # 0x3531a
movl $0x292, %edx            # imm = 0x292
leaq 0x1517f(%rip), %rcx     # 0x35a8b
callq 0x4210
movq -0x38(%rbp), %rax
cmpq $0x0, 0x2a8(%rax)
je 0x20921
jmp 0x20940
leaq 0x14fb6(%rip), %rdi     # 0x358de
leaq 0x149eb(%rip), %rsi     # 0x3531a
movl $0x293, %edx            # imm = 0x293
leaq 0x15150(%rip), %rcx     # 0x35a8b
callq 0x4210
movq -0x38(%rbp), %rdi
movl $0x3, -0x18(%rbp)
movl $0x3, -0x1c(%rbp)
movl $0x3, -0x20(%rbp)
leaq -0x14(%rbp), %rsi
leaq -0x18(%rbp), %rdx
leaq -0x1c(%rbp), %rcx
leaq -0x20(%rbp), %r8
callq 0x211b0
movq -0x38(%rbp), %rdi
addq $0x258, %rdi            # imm = 0x258
xorl %esi, %esi
callq 0x24330
movq -0x38(%rbp), %rdi
movq %rax, -0x28(%rbp)
addq $0x238, %rdi            # imm = 0x238
callq 0x24370
xorb $-0x1, %al
testb $0x1, %al
jne 0x2099c
jmp 0x2099e
jmp 0x209bd
leaq 0x15042(%rip), %rdi     # 0x359e7
leaq 0x1496e(%rip), %rsi     # 0x3531a
movl $0x29a, %edx            # imm = 0x29A
leaq 0x150d3(%rip), %rcx     # 0x35a8b
callq 0x4210
movq -0x38(%rbp), %rax
movq %rax, %rcx
addq $0x258, %rcx            # imm = 0x258
movq %rcx, -0x40(%rbp)
movq %rax, %rdi
addq $0x238, %rdi            # imm = 0x238
movslq 0x22c(%rax), %rsi
callq 0x243b0
movq %rax, %rdi
callq 0x23d20
movq -0x40(%rbp), %rdi
movq %rax, -0x30(%rbp)
leaq -0x30(%rbp), %rsi
callq 0x23ce0
testb $0x1, %al
jne 0x20a04
jmp 0x20a4a
movq -0x38(%rbp), %rdi
addq $0x258, %rdi            # imm = 0x258
callq 0x23d50
movq -0x38(%rbp), %rdi
movq (%rax), %rsi
movl -0x18(%rbp), %edx
movl -0x1c(%rbp), %ecx
movl -0x20(%rbp), %r8d
xorl %r9d, %r9d
callq 0x20dc0
movq -0x38(%rbp), %rdi
addq $0x258, %rdi            # imm = 0x258
callq 0x23d50
movq (%rax), %rdi
callq 0x24310
movl %eax, -0x4(%rbp)
jmp 0x20a5a
movq -0x38(%rbp), %rdi
callq 0x20f70
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
movl -0x4(%rbp), %eax
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)