// File: /workspace/github_cpp_makefile_star2_O1/huiwenliuge[P]EmoAnaer/src/RNNet.cpp
// Function: RNNet::prtPara(char const*)
void RNNet::prtPara(const char* path){
    FILE* paratmp=fopen(path,"w");
    
    int i,j;
    fprintf(paratmp,"%s %d\n","Para_Mat_W",hidlayerNUM);
    for(i=0;i<EMOTIONNUM;++i){
        for(j=0;j<hidlayerNUM;++j)
            fprintf(paratmp,"#%lf#",k2out[i][j]);
        fputc('\n',paratmp);
    }

    fprintf(paratmp,"Para_Mat_B %d\n",hidlayerNUM);
    for(i=0;i<hidlayerNUM;++i){
        for(j=0;j<EMOTIONNUM;++j)
            fprintf(paratmp,"#%lf#",ro2h[i][j]);
        fputc('\n',paratmp);
    }

    fprintf(paratmp,"Para_Mat_T\n");
    for(i=0;i<hidlayerNUM;++i){
        for(j=0;j<hidlayerNUM;++j)
            fprintf(paratmp,"#%lf#",rh2h[i][j]);
        fputc('\n',paratmp);
    }

    fprintf(paratmp,"Para_Mat_U");
    for(i=0;i<hidlayerNUM;++i){
        fputc('\n',paratmp);
        for(j=0;j<featureNUM;++j)
            fprintf(paratmp,"#%lf#",in2hid[i][j]);
    }
    
    fclose(paratmp);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rax
movq %rdi, %rbx
leaq 0x3335(%rip), %rsi      # 0x6064
movq %rax, %rdi
callq 0x21c0
movq %rax, %r14
movl 0x34(%rbx), %ecx
leaq 0x333d(%rip), %rsi      # 0x6081
leaq 0x333d(%rip), %rdx      # 0x6088
xorl %r12d, %r12d
movq %rax, %rdi
xorl %eax, %eax
callq 0x2200
leaq 0x3334(%rip), %r15      # 0x6093
cmpl $0x0, 0x34(%rbx)
jle 0x2d8f
xorl %r13d, %r13d
movq 0x18(%rbx), %rax
movq (%rax,%r12,8), %rax
movsd (%rax,%r13,8), %xmm0
movq %r14, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x2200
incq %r13
movslq 0x34(%rbx), %rax
cmpq %rax, %r13
jl 0x2d68
movl $0xa, %edi
movq %r14, %rsi
callq 0x21e0
incq %r12
cmpq $0x7, %r12
jne 0x2d5f
movl 0x34(%rbx), %edx
leaq 0x32ea(%rip), %rsi      # 0x6099
movq %r14, %rdi
xorl %eax, %eax
callq 0x2200
cmpl $0x0, 0x34(%rbx)
jle 0x2e09
xorl %r12d, %r12d
leaq 0x32ca(%rip), %r15      # 0x6093
xorl %r13d, %r13d
movq 0x28(%rbx), %rax
movq (%rax,%r12,8), %rax
movsd (%rax,%r13,8), %xmm0
movq %r14, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x2200
incq %r13
cmpq $0x7, %r13
jne 0x2dcc
movl $0xa, %edi
movq %r14, %rsi
callq 0x21e0
incq %r12
movslq 0x34(%rbx), %rax
cmpq %rax, %r12
jl 0x2dc9
leaq 0x3298(%rip), %rdi      # 0x60a8
movl $0xb, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x2290
cmpl $0x0, 0x34(%rbx)
jle 0x2e7b
xorl %r12d, %r12d
leaq 0x3261(%rip), %r15      # 0x6093
cmpl $0x0, 0x34(%rbx)
jle 0x2e62
xorl %r13d, %r13d
movq 0x20(%rbx), %rax
movq (%rax,%r12,8), %rax
movsd (%rax,%r13,8), %xmm0
movq %r14, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x2200
incq %r13
movslq 0x34(%rbx), %rax
cmpq %rax, %r13
jl 0x2e3b
movl $0xa, %edi
movq %r14, %rsi
callq 0x21e0
incq %r12
movslq 0x34(%rbx), %rax
cmpq %rax, %r12
jl 0x2e32
leaq 0x3232(%rip), %rdi      # 0x60b4
movl $0xa, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x2290
cmpl $0x0, 0x34(%rbx)
jle 0x2eed
xorl %r12d, %r12d
leaq 0x31ef(%rip), %r15      # 0x6093
movl $0xa, %edi
movq %r14, %rsi
callq 0x21e0
cmpl $0x0, 0x30(%rbx)
jle 0x2ee1
xorl %r13d, %r13d
movq 0x10(%rbx), %rax
movq (%rax,%r12,8), %rax
movsd (%rax,%r13,8), %xmm0
movq %r14, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x2200
incq %r13
movslq 0x30(%rbx), %rax
cmpq %rax, %r13
jl 0x2eba
incq %r12
movslq 0x34(%rbx), %rax
cmpq %rax, %r12
jl 0x2ea4
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2180
nop