// File: kazel1990[P]Inception-v4/generator.cpp
// Function: create_data()
void create_data()
{
    for(int i=0;i<=1;i++)
    {
        print("layer {");

        print("name: \"data\"");
        print("type: \"Data\"");
        print("top: \"data\"");
        print("top: \"label\"");

        print("include {");
        sprintf(buf,"phase: %s",i?"TEST":"TRAIN");
        print(buf);
        print("}");

        print("transform_param {");
        sprintf(buf,"mirror: %s",i?"false":"true");
        print(buf);
        sprintf(buf,"crop_size: %d",crop_size);
        print(buf);
        print("mean_value: 104");
        print("mean_value: 117");
        print("mean_value: 123");
        print("}");

        print("data_param {");
        sprintf(buf,"source: \"%s\"",i?test_path:train_path);
        print(buf);
        sprintf(buf,"batch_size: %d",batch_size);
        print(buf);
        print("backend: LMDB");
        print("}");

        print("}");
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl $0x0, -0x4(%rbp)
cmpl $0x1, -0x4(%rbp)
jg 0x31fa
leaq 0x9fee(%rip), %rdi      # 0xd01e
callq 0x2370
leaq 0xa1df(%rip), %rdi      # 0xd21b
callq 0x2370
leaq 0xa1e0(%rip), %rdi      # 0xd228
callq 0x2370
leaq 0xa1e1(%rip), %rdi      # 0xd235
callq 0x2370
leaq 0xa1e1(%rip), %rdi      # 0xd241
callq 0x2370
leaq 0xa1e2(%rip), %rdi      # 0xd24e
callq 0x2370
movl -0x4(%rbp), %ecx
leaq 0xa1e7(%rip), %rdx      # 0xd262
leaq 0xa66d(%rip), %rax      # 0xd6ef
cmpl $0x0, %ecx
cmovneq %rax, %rdx
leaq 0xe0e0(%rip), %rdi      # 0x11170
leaq 0xa1c1(%rip), %rsi      # 0xd258
movb $0x0, %al
callq 0x2060
leaq 0xe0cb(%rip), %rdi      # 0x11170
callq 0x2370
leaq 0x9fad(%rip), %rdi      # 0xd05e
callq 0x2370
leaq 0xa1ab(%rip), %rdi      # 0xd268
callq 0x2370
movl -0x4(%rbp), %ecx
leaq 0xa53a(%rip), %rdx      # 0xd606
leaq 0xa0b0(%rip), %rax      # 0xd183
cmpl $0x0, %ecx
cmovneq %rax, %rdx
leaq 0xe08f(%rip), %rdi      # 0x11170
leaq 0xa192(%rip), %rsi      # 0xd27a
movb $0x0, %al
callq 0x2060
leaq 0xe07a(%rip), %rdi      # 0x11170
callq 0x2370
leaq 0xe06e(%rip), %rdi      # 0x11170
leaq 0xa17c(%rip), %rsi      # 0xd285
movl $0x12b, %edx            # imm = 0x12B
movb $0x0, %al
callq 0x2060
leaq 0xe054(%rip), %rdi      # 0x11170
callq 0x2370
leaq 0xa16b(%rip), %rdi      # 0xd293
callq 0x2370
leaq 0xa16f(%rip), %rdi      # 0xd2a3
callq 0x2370
leaq 0xa173(%rip), %rdi      # 0xd2b3
callq 0x2370
leaq 0x9f12(%rip), %rdi      # 0xd05e
callq 0x2370
leaq 0xa16b(%rip), %rdi      # 0xd2c3
callq 0x2370
cmpl $0x0, -0x4(%rbp)
je 0x3170
leaq 0xa636(%rip), %rax      # 0xd7a0
movq %rax, -0x10(%rbp)
jmp 0x317d
leaq 0xa699(%rip), %rax      # 0xd810
movq %rax, -0x10(%rbp)
jmp 0x317d
movq -0x10(%rbp), %rdx
leaq 0xdfe8(%rip), %rdi      # 0x11170
leaq 0xa141(%rip), %rsi      # 0xd2d0
movb $0x0, %al
callq 0x2060
leaq 0xdfd3(%rip), %rdi      # 0x11170
callq 0x2370
leaq 0xdfc7(%rip), %rdi      # 0x11170
leaq 0xa12d(%rip), %rsi      # 0xd2dd
movl $0x20, %edx
movb $0x0, %al
callq 0x2060
leaq 0xdfad(%rip), %rdi      # 0x11170
callq 0x2370
leaq 0xa11d(%rip), %rdi      # 0xd2ec
callq 0x2370
leaq 0x9e83(%rip), %rdi      # 0xd05e
callq 0x2370
leaq 0x9e77(%rip), %rdi      # 0xd05e
callq 0x2370
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x301f
addq $0x10, %rsp
popq %rbp
retq