// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/darknet.c
// Function: statistics_net
void statistics_net(char *cfgfile, char *weightfile)
{
    gpu_index = -1;
    network *net = load_network(cfgfile, weightfile, 0);
    int i;
    for (i = 0; i < net->n; ++i) {
        layer l = net->layers[i];
        if (l.type == CONNECTED && l.batch_normalize) {
            printf("Connected Layer %d\n", i);
            statistics_connected_layer(l);
        }
        if (l.type == GRU && l.batch_normalize) {
            printf("GRU Layer %d\n", i);
            printf("Input Z\n");
            statistics_connected_layer(*l.input_z_layer);
            printf("Input R\n");
            statistics_connected_layer(*l.input_r_layer);
            printf("Input H\n");
            statistics_connected_layer(*l.input_h_layer);
            printf("State Z\n");
            statistics_connected_layer(*l.state_z_layer);
            printf("State R\n");
            statistics_connected_layer(*l.state_r_layer);
            printf("State H\n");
            statistics_connected_layer(*l.state_h_layer);
        }
        printf("\n");
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x948, %rsp            # imm = 0x948
leaq 0x185cd(%rip), %rax     # 0x6c7b0
movl $0xffffffff, (%rax)     # imm = 0xFFFFFFFF
xorl %edx, %edx
callq 0x316bc
cmpl $0x0, (%rax)
jle 0x54393
movq %rax, %rbx
leaq 0x4a8(%rsp), %r14
leaq 0x75f3(%rip), %r13      # 0x5b7fe
leaq 0x75f4(%rip), %rbp      # 0x5b806
xorl %r12d, %r12d
xorl %r15d, %r15d
movq 0x20(%rbx), %rsi
addq %r12, %rsi
movl $0x4a0, %edx            # imm = 0x4A0
movq %r14, %rdi
callq 0x32b0
movl 0x4a8(%rsp), %ecx
movl 0x4e8(%rsp), %eax
cmpl $0x2, %ecx
sete %dl
testl %eax, %eax
setne %sil
andb %dl, %sil
cmpb $0x1, %sil
jne 0x54281
leaq 0x743f(%rip), %rdi      # 0x5b695
movl %r15d, %esi
xorl %eax, %eax
callq 0x3160
movl $0x94, %ecx
movq %rsp, %rdi
movq %r14, %rsi
rep  movsq (%rsi), %es:(%rdi)
callq 0x33a86
movl 0x4a8(%rsp), %ecx
movl 0x4e8(%rsp), %eax
cmpl $0x10, %ecx
jne 0x54373
testl %eax, %eax
je 0x54373
leaq 0x7410(%rip), %rdi      # 0x5b6a9
movl %r15d, %esi
xorl %eax, %eax
callq 0x3160
leaq 0x7534(%rip), %rdi      # 0x5b7de
callq 0x30b0
movq 0x898(%rsp), %rsi
movl $0x94, %ecx
movq %rsp, %rdi
rep  movsq (%rsi), %es:(%rdi)
callq 0x33a86
leaq 0x7518(%rip), %rdi      # 0x5b7e6
callq 0x30b0
movq 0x8a8(%rsp), %rsi
movl $0x94, %ecx
movq %rsp, %rdi
rep  movsq (%rsi), %es:(%rdi)
callq 0x33a86
leaq 0x74fc(%rip), %rdi      # 0x5b7ee
callq 0x30b0
movq 0x8b8(%rsp), %rsi
movl $0x94, %ecx
movq %rsp, %rdi
rep  movsq (%rsi), %es:(%rdi)
callq 0x33a86
leaq 0x74e0(%rip), %rdi      # 0x5b7f6
callq 0x30b0
movq 0x8a0(%rsp), %rsi
movl $0x94, %ecx
movq %rsp, %rdi
rep  movsq (%rsi), %es:(%rdi)
callq 0x33a86
movq %r13, %rdi
callq 0x30b0
movq 0x8b0(%rsp), %rsi
movl $0x94, %ecx
movq %rsp, %rdi
rep  movsq (%rsi), %es:(%rdi)
callq 0x33a86
movq %rbp, %rdi
callq 0x30b0
movq 0x8c0(%rsp), %rsi
movl $0x94, %ecx
movq %rsp, %rdi
rep  movsq (%rsi), %es:(%rdi)
callq 0x33a86
movl $0xa, %edi
callq 0x3060
incq %r15
movslq (%rbx), %rax
addq $0x4a0, %r12            # imm = 0x4A0
cmpq %rax, %r15
jl 0x54218
addq $0x948, %rsp            # imm = 0x948
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq