// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/detector.c
// Function: validate_detector_flip
void validate_detector_flip(char *datacfg, char *cfgfile, char *weightfile, char *outfile)
{
    int j;
    list *options = read_data_cfg(datacfg);
    char *valid_images = option_find_str(options, "valid", "data/train.list");
    char *name_list = option_find_str(options, "names", "data/names.list");
    char *prefix = option_find_str(options, "results", "results");
    char **names = get_labels(name_list);
    char *mapf = option_find_str(options, "map", 0);
    int *map = 0;
    if (mapf) map = read_map(mapf);

    network *net = load_network(cfgfile, weightfile, 0);
    set_batch_network(net, 2);
    fprintf(stderr, "Learning Rate: %g, Momentum: %g, Decay: %g\n", net->learning_rate, net->momentum, net->decay);
    srand(time(0));

    list *plist = get_paths(valid_images);
    char **paths = (char **)list_to_array(plist);

    layer l = net->layers[net->n-1];
    int classes = l.classes;

    char buff[1024];
    char *type = option_find_str(options, "eval", "voc");
    FILE *fp = 0;
    FILE **fps = 0;
    int coco = 0;
    int imagenet = 0;
    if(0==strcmp(type, "coco")){
        if(!outfile) outfile = "coco_results";
        snprintf(buff, 1024, "%s/%s.json", prefix, outfile);
        fp = fopen(buff, "w");
        fprintf(fp, "[\n");
        coco = 1;
    } else if(0==strcmp(type, "imagenet")){
        if(!outfile) outfile = "imagenet-detection";
        snprintf(buff, 1024, "%s/%s.txt", prefix, outfile);
        fp = fopen(buff, "w");
        imagenet = 1;
        classes = 200;
    } else {
        if(!outfile) outfile = "comp4_det_test_";
        fps = calloc(classes, sizeof(FILE *));
        for(j = 0; j < classes; ++j){
            snprintf(buff, 1024, "%s/%s%s.txt", prefix, outfile, names[j]);
            fps[j] = fopen(buff, "w");
        }
    }

    int m = plist->size;
    int i=0;
    int t;

    float thresh = .005;
    float nms = .45;

    int nthreads = 4;
    image *val = calloc(nthreads, sizeof(image));
    image *val_resized = calloc(nthreads, sizeof(image));
    image *buf = calloc(nthreads, sizeof(image));
    image *buf_resized = calloc(nthreads, sizeof(image));
    pthread_t *thr = calloc(nthreads, sizeof(pthread_t));

    image input = make_image(net->w, net->h, net->c*2);

    load_args args = {0};
    args.w = net->w;
    args.h = net->h;
    //args.type = IMAGE_DATA;
    args.type = LETTERBOX_DATA;

    for(t = 0; t < nthreads; ++t){
        args.path = paths[i+t];
        args.im = &buf[t];
        args.resized = &buf_resized[t];
        thr[t] = load_data_in_thread(args);
    }
    double start = what_time_is_it_now();
    for(i = nthreads; i < m+nthreads; i += nthreads){
        fprintf(stderr, "%d\n", i);
        for(t = 0; t < nthreads && i+t-nthreads < m; ++t){
            pthread_join(thr[t], 0);
            val[t] = buf[t];
            val_resized[t] = buf_resized[t];
        }
        for(t = 0; t < nthreads && i+t < m; ++t){
            args.path = paths[i+t];
            args.im = &buf[t];
            args.resized = &buf_resized[t];
            thr[t] = load_data_in_thread(args);
        }
        for(t = 0; t < nthreads && i+t-nthreads < m; ++t){
            char *path = paths[i+t-nthreads];
            char *id = basecfg(path);
            copy_cpu(net->w*net->h*net->c, val_resized[t].data, 1, input.data, 1);
            flip_image(val_resized[t]);
            copy_cpu(net->w*net->h*net->c, val_resized[t].data, 1, input.data + net->w*net->h*net->c, 1);

            network_predict(net, input.data);
            int w = val[t].w;
            int h = val[t].h;
            int num = 0;
            detection *dets = get_network_boxes(net, w, h, thresh, .5, map, 0, &num);
            if (nms) do_nms_sort(dets, num, classes, nms);
            if (coco){
                print_cocos(fp, path, dets, num, classes, w, h);
            } else if (imagenet){
                print_imagenet_detections(fp, i+t-nthreads+1, dets, num, classes, w, h);
            } else {
                print_detector_detections(fps, id, dets, num, classes, w, h);
            }
            free_detections(dets, num);
            free(id);
            free_image(val[t]);
            free_image(val_resized[t]);
        }
    }
    for(j = 0; j < classes; ++j){
        if(fps) fclose(fps[j]);
    }
    if(coco){
        fseek(fp, -2, SEEK_CUR); 
        fprintf(fp, "\n]\n");
        fclose(fp);
    }
    fprintf(stderr, "Total Detection Time: %f Seconds\n", what_time_is_it_now() - start);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb30, %rsp            # imm = 0xB30
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rdi
callq 0x426b0
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
leaq 0x9f60(%rip), %rsi      # 0x73973
leaq 0xc99e(%rip), %rdx      # 0x763b8
callq 0x42920
movq %rax, -0x38(%rbp)
movq -0x30(%rbp), %rdi
leaq 0xb577(%rip), %rsi      # 0x74fa5
leaq 0xcfbb(%rip), %rdx      # 0x769f0
callq 0x42920
movq %rax, -0x40(%rbp)
movq -0x30(%rbp), %rdi
leaq 0xcfc5(%rip), %rdx      # 0x76a0e
movq %rdx, %rsi
callq 0x42920
movq %rax, -0x48(%rbp)
movq -0x40(%rbp), %rdi
callq 0x343c0
movq %rax, -0x50(%rbp)
movq -0x30(%rbp), %rdi
leaq 0xb069(%rip), %rsi      # 0x74ad6
xorl %eax, %eax
movl %eax, %edx
callq 0x42920
movq %rax, -0x58(%rbp)
movq $0x0, -0x60(%rbp)
cmpq $0x0, -0x58(%rbp)
je 0x69a96
movq -0x58(%rbp), %rdi
callq 0x4070
movq %rax, -0x60(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
xorl %edx, %edx
callq 0x39a70
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rdi
movl $0x2, %esi
callq 0x3a9b0
movq 0x1953a(%rip), %rax     # 0x82ff8
movq (%rax), %rdi
movq -0x68(%rbp), %rax
movss 0x34(%rax), %xmm0
cvtss2sd %xmm0, %xmm0
movq -0x68(%rbp), %rax
movss 0x38(%rax), %xmm1
cvtss2sd %xmm1, %xmm1
movq -0x68(%rbp), %rax
movss 0x3c(%rax), %xmm2
cvtss2sd %xmm2, %xmm2
leaq 0xbc79(%rip), %rsi      # 0x75768
movb $0x3, %al
callq 0x3240
xorl %eax, %eax
movl %eax, %edi
callq 0x3290
movl %eax, %edi
callq 0x31e0
movq -0x38(%rbp), %rdi
callq 0x31450
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rdi
callq 0x9020
movq %rax, -0x78(%rbp)
movq -0x68(%rbp), %rax
movq 0x20(%rax), %rsi
movq -0x68(%rbp), %rax
movl (%rax), %eax
subl $0x1, %eax
cltq
imulq $0x4a0, %rax, %rax      # imm = 0x4A0
addq %rax, %rsi
leaq -0x518(%rbp), %rdi
movl $0x4a0, %edx            # imm = 0x4A0
callq 0x3280
movl -0x41c(%rbp), %eax
movl %eax, -0x51c(%rbp)
movq -0x30(%rbp), %rdi
leaq 0xc05d(%rip), %rsi      # 0x75bc2
leaq 0xce94(%rip), %rdx      # 0x76a00
callq 0x42920
movq %rax, -0x928(%rbp)
movq $0x0, -0x930(%rbp)
movq $0x0, -0x938(%rbp)
movl $0x0, -0x93c(%rbp)
movl $0x0, -0x940(%rbp)
movq -0x928(%rbp), %rdi
leaq 0xce54(%rip), %rsi      # 0x76a04
callq 0x3230
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x69c2f
cmpq $0x0, -0x20(%rbp)
jne 0x69bcf
leaq 0xce3e(%rip), %rax      # 0x76a09
movq %rax, -0x20(%rbp)
leaq -0x920(%rbp), %rdi
movq -0x48(%rbp), %rcx
movq -0x20(%rbp), %r8
movl $0x400, %esi            # imm = 0x400
leaq 0xce2c(%rip), %rdx      # 0x76a16
movb $0x0, %al
callq 0x3150
leaq -0x920(%rbp), %rdi
leaq 0xce6c(%rip), %rsi      # 0x76a6b
callq 0x3360
movq %rax, -0x930(%rbp)
movq -0x930(%rbp), %rdi
leaq 0xcbca(%rip), %rsi      # 0x767e3
movb $0x0, %al
callq 0x3240
movl $0x1, -0x93c(%rbp)
jmp 0x69d4f
movq -0x928(%rbp), %rdi
leaq 0xcde4(%rip), %rsi      # 0x76a21
callq 0x3230
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x69cb1
cmpq $0x0, -0x20(%rbp)
jne 0x69c5c
leaq 0xcdd2(%rip), %rax      # 0x76a2a
movq %rax, -0x20(%rbp)
leaq -0x920(%rbp), %rdi
movq -0x48(%rbp), %rcx
movq -0x20(%rbp), %r8
movl $0x400, %esi            # imm = 0x400
leaq 0xcdc6(%rip), %rdx      # 0x76a3d
movb $0x0, %al
callq 0x3150
leaq -0x920(%rbp), %rdi
leaq 0xcddf(%rip), %rsi      # 0x76a6b
callq 0x3360
movq %rax, -0x930(%rbp)
movl $0x1, -0x940(%rbp)
movl $0xc8, -0x51c(%rbp)
jmp 0x69d4d
cmpq $0x0, -0x20(%rbp)
jne 0x69cc3
leaq 0xcb55(%rip), %rax      # 0x76814
movq %rax, -0x20(%rbp)
movslq -0x51c(%rbp), %rdi
movl $0x8, %esi
callq 0x3220
movq %rax, -0x938(%rbp)
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
cmpl -0x51c(%rbp), %eax
jge 0x69d4b
leaq -0x920(%rbp), %rdi
movq -0x48(%rbp), %rcx
movq -0x20(%rbp), %r8
movq -0x50(%rbp), %rax
movslq -0x24(%rbp), %rdx
movq (%rax,%rdx,8), %r9
movl $0x400, %esi            # imm = 0x400
leaq 0xcd33(%rip), %rdx      # 0x76a47
movb $0x0, %al
callq 0x3150
leaq -0x920(%rbp), %rdi
leaq 0xcd42(%rip), %rsi      # 0x76a6b
callq 0x3360
movq %rax, %rdx
movq -0x938(%rbp), %rax
movslq -0x24(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x69ce2
jmp 0x69d4d
jmp 0x69d4f
movq -0x70(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x944(%rbp)
movl $0x0, -0x948(%rbp)
movss 0xcc37(%rip), %xmm0     # 0x769a4
movss %xmm0, -0x950(%rbp)
movss 0xcc23(%rip), %xmm0     # 0x769a0
movss %xmm0, -0x954(%rbp)
movl $0x4, -0x958(%rbp)
movslq -0x958(%rbp), %rdi
movl $0x18, %esi
callq 0x3220
movq %rax, -0x960(%rbp)
movslq -0x958(%rbp), %rdi
movl $0x18, %esi
callq 0x3220
movq %rax, -0x968(%rbp)
movslq -0x958(%rbp), %rdi
movl $0x18, %esi
callq 0x3220
movq %rax, -0x970(%rbp)
movslq -0x958(%rbp), %rdi
movl $0x18, %esi
callq 0x3220
movq %rax, -0x978(%rbp)
movslq -0x958(%rbp), %rdi
movl $0x8, %esi
callq 0x3220
movq %rax, -0x980(%rbp)
movq -0x68(%rbp), %rax
movl 0x94(%rax), %esi
movq -0x68(%rbp), %rax
movl 0x90(%rax), %edx
movq -0x68(%rbp), %rax
movl 0x98(%rax), %ecx
shll %ecx
leaq -0x998(%rbp), %rdi
callq 0xe3e0
leaq -0xa40(%rbp), %rdi
xorl %esi, %esi
movl $0xa8, %edx
callq 0x3190
movq -0x68(%rbp), %rax
movl 0x94(%rax), %eax
movl %eax, -0xa14(%rbp)
movq -0x68(%rbp), %rax
movl 0x90(%rax), %eax
movl %eax, -0xa18(%rbp)
movl $0xd, -0x9a8(%rbp)
movl $0x0, -0x94c(%rbp)
movl -0x94c(%rbp), %eax
cmpl -0x958(%rbp), %eax
jge 0x69f22
movq -0x78(%rbp), %rax
movl -0x948(%rbp), %ecx
addl -0x94c(%rbp), %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0xa30(%rbp)
movq -0x970(%rbp), %rax
movslq -0x94c(%rbp), %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x9b8(%rbp)
movq -0x978(%rbp), %rax
movslq -0x94c(%rbp), %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x9b0(%rbp)
movq %rsp, %rdi
movl $0x15, %ecx
leaq -0xa40(%rbp), %rsi
rep  movsq (%rsi), %es:(%rdi)
callq 0x37500
movq %rax, %rdx
movq -0x980(%rbp), %rax
movslq -0x94c(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x94c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x94c(%rbp)
jmp 0x69e7a
movb $0x0, %al
callq 0x3f10
movsd %xmm0, -0xa48(%rbp)
movl -0x958(%rbp), %eax
movl %eax, -0x948(%rbp)
movl -0x948(%rbp), %eax
movl -0x944(%rbp), %ecx
addl -0x958(%rbp), %ecx
cmpl %ecx, %eax
jge 0x6a515
movq 0x1909a(%rip), %rax     # 0x82ff8
movq (%rax), %rdi
movl -0x948(%rbp), %edx
leaq 0x9208(%rip), %rsi      # 0x73176
movb $0x0, %al
callq 0x3240
movl $0x0, -0x94c(%rbp)
movl -0x94c(%rbp), %ecx
xorl %eax, %eax
cmpl -0x958(%rbp), %ecx
movb %al, -0xa71(%rbp)
jge 0x69fb6
movl -0x948(%rbp), %eax
addl -0x94c(%rbp), %eax
subl -0x958(%rbp), %eax
cmpl -0x944(%rbp), %eax
setl %al
movb %al, -0xa71(%rbp)
movb -0xa71(%rbp), %al
testb $0x1, %al
jne 0x69fc5
jmp 0x6a074
movq -0x980(%rbp), %rax
movslq -0x94c(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x3440
movq -0x960(%rbp), %rax
movslq -0x94c(%rbp), %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq -0x970(%rbp), %rcx
movslq -0x94c(%rbp), %rdx
imulq $0x18, %rdx, %rdx
addq %rdx, %rcx
movq (%rcx), %rdx
movq %rdx, (%rax)
movq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rax)
movq 0x10(%rcx), %rcx
movq %rcx, 0x10(%rax)
movq -0x968(%rbp), %rax
movslq -0x94c(%rbp), %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq -0x978(%rbp), %rcx
movslq -0x94c(%rbp), %rdx
imulq $0x18, %rdx, %rdx
addq %rdx, %rcx
movq (%rcx), %rdx
movq %rdx, (%rax)
movq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rax)
movq 0x10(%rcx), %rcx
movq %rcx, 0x10(%rax)
movl -0x94c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x94c(%rbp)
jmp 0x69f7f
movl $0x0, -0x94c(%rbp)
movl -0x94c(%rbp), %ecx
xorl %eax, %eax
cmpl -0x958(%rbp), %ecx
movb %al, -0xa72(%rbp)
jge 0x6a0af
movl -0x948(%rbp), %eax
addl -0x94c(%rbp), %eax
cmpl -0x944(%rbp), %eax
setl %al
movb %al, -0xa72(%rbp)
movb -0xa72(%rbp), %al
testb $0x1, %al
jne 0x6a0be
jmp 0x6a154
movq -0x78(%rbp), %rax
movl -0x948(%rbp), %ecx
addl -0x94c(%rbp), %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0xa30(%rbp)
movq -0x970(%rbp), %rax
movslq -0x94c(%rbp), %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x9b8(%rbp)
movq -0x978(%rbp), %rax
movslq -0x94c(%rbp), %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x9b0(%rbp)
movq %rsp, %rdi
movl $0x15, %ecx
leaq -0xa40(%rbp), %rsi
rep  movsq (%rsi), %es:(%rdi)
callq 0x37500
movq %rax, %rdx
movq -0x980(%rbp), %rax
movslq -0x94c(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x94c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x94c(%rbp)
jmp 0x6a07e
movl $0x0, -0x94c(%rbp)
movl -0x94c(%rbp), %ecx
xorl %eax, %eax
cmpl -0x958(%rbp), %ecx
movb %al, -0xa73(%rbp)
jge 0x6a195
movl -0x948(%rbp), %eax
addl -0x94c(%rbp), %eax
subl -0x958(%rbp), %eax
cmpl -0x944(%rbp), %eax
setl %al
movb %al, -0xa73(%rbp)
movb -0xa73(%rbp), %al
testb $0x1, %al
jne 0x6a1a4
jmp 0x6a4fc
movq -0x78(%rbp), %rax
movl -0x948(%rbp), %ecx
addl -0x94c(%rbp), %ecx
subl -0x958(%rbp), %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0xa50(%rbp)
movq -0xa50(%rbp), %rdi
callq 0x4850
movq %rax, -0xa58(%rbp)
movq -0x68(%rbp), %rax
movl 0x94(%rax), %edi
movq -0x68(%rbp), %rax
imull 0x90(%rax), %edi
movq -0x68(%rbp), %rax
imull 0x98(%rax), %edi
movq -0x968(%rbp), %rax
movslq -0x94c(%rbp), %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq 0x10(%rax), %rsi
movq -0x988(%rbp), %rcx
movl $0x1, %r8d
movl %r8d, %edx
callq 0x2f960
movq -0x968(%rbp), %rax
movslq -0x94c(%rbp), %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0x104c0
movq -0x68(%rbp), %rax
movl 0x94(%rax), %edi
movq -0x68(%rbp), %rax
imull 0x90(%rax), %edi
movq -0x68(%rbp), %rax
imull 0x98(%rax), %edi
movq -0x968(%rbp), %rax
movslq -0x94c(%rbp), %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq 0x10(%rax), %rsi
movq -0x988(%rbp), %rcx
movq -0x68(%rbp), %rax
movl 0x94(%rax), %eax
movq -0x68(%rbp), %rdx
imull 0x90(%rdx), %eax
movq -0x68(%rbp), %rdx
imull 0x98(%rdx), %eax
cltq
shlq $0x2, %rax
addq %rax, %rcx
movl $0x1, %r8d
movl %r8d, %edx
callq 0x2f960
movq -0x68(%rbp), %rdi
movq -0x988(%rbp), %rsi
callq 0x3b160
movq -0x960(%rbp), %rax
movslq -0x94c(%rbp), %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movl (%rax), %eax
movl %eax, -0xa5c(%rbp)
movq -0x960(%rbp), %rax
movslq -0x94c(%rbp), %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movl 0x4(%rax), %eax
movl %eax, -0xa60(%rbp)
movl $0x0, -0xa64(%rbp)
movq -0x68(%rbp), %rdi
movl -0xa5c(%rbp), %esi
movl -0xa60(%rbp), %edx
movss -0x950(%rbp), %xmm0
movq -0x60(%rbp), %rcx
movss 0x6ea0(%rip), %xmm1     # 0x711ec
xorl %r8d, %r8d
leaq -0xa64(%rbp), %r9
callq 0x3b640
movq %rax, -0xa70(%rbp)
movss -0x954(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x6a376
jp 0x6a376
jmp 0x6a396
movq -0xa70(%rbp), %rdi
movl -0xa64(%rbp), %esi
movl -0x51c(%rbp), %edx
movss -0x954(%rbp), %xmm0
callq 0x44d40
cmpl $0x0, -0x93c(%rbp)
je 0x6a3db
movq -0x930(%rbp), %rdi
movq -0xa50(%rbp), %rsi
movq -0xa70(%rbp), %rdx
movl -0xa64(%rbp), %ecx
movl -0x51c(%rbp), %r8d
movl -0xa5c(%rbp), %r9d
movl -0xa60(%rbp), %eax
movl %eax, (%rsp)
callq 0x6a5e0
jmp 0x6a464
cmpl $0x0, -0x940(%rbp)
je 0x6a42b
movq -0x930(%rbp), %rdi
movl -0x948(%rbp), %esi
addl -0x94c(%rbp), %esi
subl -0x958(%rbp), %esi
addl $0x1, %esi
movq -0xa70(%rbp), %rdx
movl -0xa64(%rbp), %ecx
movl -0x51c(%rbp), %r8d
movl -0xa5c(%rbp), %r9d
movl -0xa60(%rbp), %eax
movl %eax, (%rsp)
callq 0x69770
jmp 0x6a462
movq -0x938(%rbp), %rdi
movq -0xa58(%rbp), %rsi
movq -0xa70(%rbp), %rdx
movl -0xa64(%rbp), %ecx
movl -0x51c(%rbp), %r8d
movl -0xa5c(%rbp), %r9d
movl -0xa60(%rbp), %eax
movl %eax, (%rsp)
callq 0x694b0
jmp 0x6a464
movq -0xa70(%rbp), %rdi
movl -0xa64(%rbp), %esi
callq 0x3b6b0
movq -0xa58(%rbp), %rdi
callq 0x3030
movq -0x960(%rbp), %rax
movslq -0x94c(%rbp), %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0xedb0
movq -0x968(%rbp), %rax
movslq -0x94c(%rbp), %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0xedb0
movl -0x94c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x94c(%rbp)
jmp 0x6a15e
jmp 0x6a4fe
movl -0x958(%rbp), %eax
addl -0x948(%rbp), %eax
movl %eax, -0x948(%rbp)
jmp 0x69f3d
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
cmpl -0x51c(%rbp), %eax
jge 0x6a552
cmpq $0x0, -0x938(%rbp)
je 0x6a545
movq -0x938(%rbp), %rax
movslq -0x24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x3100
jmp 0x6a547
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x6a51c
cmpl $0x0, -0x93c(%rbp)
je 0x6a594
movq -0x930(%rbp), %rdi
movq $-0x2, %rsi
movl $0x1, %edx
callq 0x3300
movq -0x930(%rbp), %rdi
leaq 0xc265(%rip), %rsi      # 0x767e6
movb $0x0, %al
callq 0x3240
movq -0x930(%rbp), %rdi
callq 0x3100
movq 0x18a5d(%rip), %rax     # 0x82ff8
movq (%rax), %rax
movq %rax, -0xa80(%rbp)
movb $0x0, %al
callq 0x3f10
movq -0xa80(%rbp), %rdi
subsd -0xa48(%rbp), %xmm0
leaq 0xc228(%rip), %rsi      # 0x767ea
movb $0x1, %al
callq 0x3240
addq $0xb30, %rsp            # imm = 0xB30
popq %rbp
retq
nopw %cs:(%rax,%rax)