// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/process.c
// Function: single_run_supervised_algorithm
void single_run_supervised_algorithm(void* parameters, int meta_algorithm, int algorithm, RUN_TYPE runtype, FILE* posfile, FILE* modelfile, FILE* testcodefile, FILE* confusionfile)
{
 /*!Last Changed 16.12.2005 added write_aout_variables*/
 /*!Last Changed 28.10.2005*/
 double tstart, tend, rocarea, prarea;
 void* model = NULL;
 void** meta_model;
 int testsize;
 matrix posteriors;
 BOOLEAN testtocv = BOOLEAN_FALSE;
 totalrun++;
 tstart = clock();
 pre_process();
 if (is_cvdata_needed(algorithm))
  {
   if (in_list(runtype, 3, CROSSVALIDATION, BOOTSTRAP, TRAIN_TEST_SETS_GIVEN))
     create_cvdata();
   else
     if (get_parameter_o("separatedataused") == OFF)
       create_cvdata();
     else
       if (runtype != TRAIN_TEST_CV_SETS_GIVEN)
        {
         cvdata = testdata;
         testtocv = BOOLEAN_TRUE;
        }
  }
 else
   cvdata = NULL;
 if (runtype == CROSSVALIDATION_WITH_SEPARATE_TEST_SET && get_parameter_o("separatedataused") == ON)
  {
   if (!testtocv)
     deallocate(testdata);
   testdata = separateddata;  
  }
 testsize = data_size(testdata);
 if (meta_algorithm == NO_META_ALGORITHM)
  {
   if (get_parameter_o("hyperparametertune"))
     model = tune_hyperparameters_of_the_supervised_algorithm(algorithm, &traindata, &cvdata, &cvdata, parameters);
   else
    {
     if (get_algorithm_type(algorithm) == CLASSIFICATION)
       model = classification_algorithms[algorithm - SELECTMAX].train_algorithm(&traindata, &cvdata, parameters);
     else
       model = regression_algorithms[algorithm - ONEFEATURE].train_algorithm(&traindata, &cvdata, parameters);
    }
   test_algorithm(algorithm, model, parameters, testsize);
  }
 else
  {
   if (get_algorithm_type(algorithm) == CLASSIFICATION)
     meta_model = meta_classification_algorithms[meta_algorithm - ONE_VERSUS_ONE].train_algorithm(&traindata, &cvdata, algorithm, parameters);
   else
     meta_model = meta_regression_algorithms[meta_algorithm - BAGGING_REGRESSION].train_algorithm(&traindata, &cvdata, algorithm, parameters);
   test_meta_algorithm(meta_algorithm, algorithm, meta_model, parameters, testsize);
  }
 if (get_parameter_o("printposterior"))
  {
   fprintf(posfile, "####### CURRENT RUN COUNT %d\n", totalrun);
   print_posterior(posfile, ((Classificationresultptr) result)->posteriors, testsize, testdata);
  }
 if (get_parameter_o("printconfusion"))
  {
   if (((Classificationresultptr) result)->classno == 2)
     print_confusion_2d(confusionfile, ((Classificationresultptr) result)->confusion_matrix);
   else
     print_confusion(confusionfile, ((Classificationresultptr) result)->confusion_matrix, ((Classificationresultptr) result)->classno);
  }
 display_output(algorithm, model);
 if (meta_algorithm == NO_META_ALGORITHM)
   write_to_output_variables(algorithm, model, &traindata, testdata);
 tend = clock();
 if (get_parameter_o("showrundetails"))
   printf("Run %d took %.3f seconds\n", totalrun, (tend - tstart) / CLOCKS_PER_SEC);
 /*if (meta_algorithm == NO_META_ALGORITHM)*/
   /*write_array_variables("aout", totalrun, 1, "fd", (tend - tstart) / CLOCKS_PER_SEC, complexity_of_supervised_algorithm(algorithm, model, parameters, current_dataset));*/
 if (meta_algorithm == NO_META_ALGORITHM && current_dataset->classno == 2 && in_list(algorithm, 2, SVM, SIMPLEXSVM))
   write_array_variables("aout", totalrun, 3, "f", ((Classificationresultptr) result)->hingeloss / ((Classificationresultptr) result)->datasize);
 if (meta_algorithm == NO_META_ALGORITHM && in_list(algorithm, 2, SVMREG, SIMPLEXSVMREG))
   write_array_variables("aout", totalrun, 3, "f", ((Regressionresultptr) result)->epsilonloss / ((Regressionresultptr) result)->datasize);
 if (meta_algorithm == NO_META_ALGORITHM && algorithm == KNN)
   write_array_variables("aout", totalrun, 3, "fff", ((Classificationresultptr) result)->knnloss[0] / ((Classificationresultptr) result)->datasize, ((Classificationresultptr) result)->knnloss[1] / ((Classificationresultptr) result)->datasize, ((Classificationresultptr) result)->knnloss[2] / ((Classificationresultptr) result)->datasize);
 if (meta_algorithm == NO_META_ALGORITHM &&get_parameter_o("savemodel"))
   save_model(modelfile, algorithm, model, parameters);
 if (meta_algorithm == NO_META_ALGORITHM &&get_parameter_o("savetestcode"))
   generate_test_code(testcodefile, algorithm, model, parameters, get_parameter_l("language"), current_dataset);
 if (meta_algorithm == NO_META_ALGORITHM)
   free_model_of_supervised_algorithm(algorithm, model, current_dataset);
 else
   free_model_of_meta_classification_algorithm(meta_algorithm, algorithm, meta_model, current_dataset);
 post_process(YES);
 #ifdef MPI
 if (rank == 0)
  {
   if (get_algorithm_type(algorithm) == CLASSIFICATION)
    {
     print_classification_results(testdata, (Classificationresultptr) result, (tend - tstart) / CLOCKS_PER_SEC, get_parameter_o("printbinary"), get_parameter_o("displayruntime"), get_parameter_o("accuracy"), get_parameter_o("displayclassresulton"));
     free_performance((Classificationresultptr) result);
    }
   else
    {
     print_regression_results(testdata, (Regressionresultptr) result, (tend - tstart) / CLOCKS_PER_SEC, get_parameter_o("printbinary"), get_parameter_o("displayruntime"));
     free_performance_regression((Regressionresultptr) result);
    }
  }
 #else
 if (get_algorithm_type(algorithm) == CLASSIFICATION)
  {
   print_classification_results(testdata, (Classificationresultptr) result, (tend - tstart) / CLOCKS_PER_SEC, get_parameter_o("printbinary"), get_parameter_o("displayruntime"), get_parameter_o("accuracy"), get_parameter_o("displayclassresulton"));
   posteriors = construct_posterior_matrix(((Classificationresultptr) result)->posteriors, testdata);
   rocarea = find_area_under_the_curve_kclass(posteriors, tpr_fpr_performance);
   prarea = find_area_under_the_curve_kclass(posteriors, precision_recall_performance);
   matrix_free(posteriors);
   /*write_array_variables("pout", totalrun, 1, "ff", rocarea, prarea);*/
   free_performance((Classificationresultptr) result);
  }
 else
  {
   print_regression_results(testdata, (Regressionresultptr) result, (tend - tstart) / CLOCKS_PER_SEC, get_parameter_o("printbinary"), get_parameter_o("displayruntime"));
   free_performance_regression((Regressionresultptr) result);
  }
 #endif 
 if (traindata)
  {
   deallocate(traindata);
   traindata = NULL;
  }
 if (testdata)
  {
   deallocate(testdata);
   testdata = NULL;
  }
 if (cvdata && runtype == CROSSVALIDATION_WITH_SEPARATE_TEST_SET)
  {
   deallocate(cvdata);
   cvdata = NULL;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movl %ecx, -0x14(%rbp)
movq %r8, -0x20(%rbp)
movq %r9, -0x28(%rbp)
movq $0x0, -0x50(%rbp)
movl $0x0, -0x74(%rbp)
movl 0x3578b3(%rip), %eax    # 0x3e1ff0
addl $0x1, %eax
movl %eax, 0x3578aa(%rip)    # 0x3e1ff0
callq 0x4200
cvtsi2sd %rax, %xmm0
movsd %xmm0, -0x30(%rbp)
callq 0x87c40
movl -0x10(%rbp), %edi
callq 0x7050
cmpl $0x0, %eax
je 0x8a7c6
movl -0x14(%rbp), %edi
movl $0x3, %r8d
xorl %edx, %edx
movl $0x2, %ecx
movl %r8d, %esi
movb $0x0, %al
callq 0x53e40
cmpl $0x0, %eax
je 0x8a78d
callq 0x87a60
jmp 0x8a7c4
leaq 0x5db77(%rip), %rdi     # 0xe830b
callq 0x79440
cmpl $0x0, %eax
jne 0x8a7a5
callq 0x87a60
jmp 0x8a7c2
cmpl $0x4, -0x14(%rbp)
je 0x8a7c0
movq 0x2dd656(%rip), %rax    # 0x367e08
movq %rax, 0x2dd657(%rip)    # 0x367e10
movl $0x1, -0x74(%rbp)
jmp 0x8a7c2
jmp 0x8a7c4
jmp 0x8a7d1
movq $0x0, 0x2dd63f(%rip) # 0x367e10
cmpl $0x1, -0x14(%rbp)
jne 0x8a808
leaq 0x5db2d(%rip), %rdi     # 0xe830b
callq 0x79440
cmpl $0x1, %eax
jne 0x8a808
cmpl $0x0, -0x74(%rbp)
jne 0x8a7fa
movq 0x2dd613(%rip), %rdi    # 0x367e08
callq 0x44510
movq 0x2dd617(%rip), %rax    # 0x367e18
movq %rax, 0x2dd600(%rip)    # 0x367e08
movq 0x2dd5f9(%rip), %rdi    # 0x367e08
callq 0x449f0
movl %eax, -0x5c(%rbp)
cmpl $-0x1, -0xc(%rbp)
jne 0x8a8e6
leaq 0x57c92(%rip), %rdi     # 0xe24ba
callq 0x79440
cmpl $0x0, %eax
je 0x8a855
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %r8
leaq 0x2dd5c0(%rip), %rsi    # 0x367e00
leaq 0x2dd5c9(%rip), %rcx    # 0x367e10
movq %rcx, %rdx
callq 0x6560
movq %rax, -0x50(%rbp)
jmp 0x8a8ce
movl -0x10(%rbp), %edi
callq 0x4400
cmpl $0x0, %eax
jne 0x8a898
movl -0x10(%rbp), %eax
subl $0x3e8, %eax            # imm = 0x3E8
movslq %eax, %rcx
leaq 0x7991c(%rip), %rax     # 0x104190
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rax
movq -0x8(%rbp), %rdx
leaq 0x2dd577(%rip), %rdi    # 0x367e00
leaq 0x2dd580(%rip), %rsi    # 0x367e10
callq *%rax
movq %rax, -0x50(%rbp)
jmp 0x8a8cc
movl -0x10(%rbp), %eax
subl $0x7d0, %eax            # imm = 0x7D0
movslq %eax, %rcx
leaq 0x79f56(%rip), %rax     # 0x104800
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rax
movq -0x8(%rbp), %rdx
leaq 0x2dd541(%rip), %rdi    # 0x367e00
leaq 0x2dd54a(%rip), %rsi    # 0x367e10
callq *%rax
movq %rax, -0x50(%rbp)
jmp 0x8a8ce
movl -0x10(%rbp), %edi
movq -0x50(%rbp), %rsi
movq -0x8(%rbp), %rdx
movl -0x5c(%rbp), %ecx
callq 0x8a310
jmp 0x8a978
movl -0x10(%rbp), %edi
callq 0x4400
cmpl $0x0, %eax
jne 0x8a92a
movl -0xc(%rbp), %eax
subl $0x64, %eax
movslq %eax, %rcx
leaq 0x7a67d(%rip), %rax     # 0x104f80
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rax
movl -0x10(%rbp), %edx
movq -0x8(%rbp), %rcx
leaq 0x2dd4e5(%rip), %rdi    # 0x367e00
leaq 0x2dd4ee(%rip), %rsi    # 0x367e10
callq *%rax
movq %rax, -0x58(%rbp)
jmp 0x8a961
movl -0xc(%rbp), %eax
subl $0xc8, %eax
movslq %eax, %rcx
leaq 0x7a694(%rip), %rax     # 0x104fd0
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rax
movl -0x10(%rbp), %edx
movq -0x8(%rbp), %rcx
leaq 0x2dd4ac(%rip), %rdi    # 0x367e00
leaq 0x2dd4b5(%rip), %rsi    # 0x367e10
callq *%rax
movq %rax, -0x58(%rbp)
movl -0xc(%rbp), %edi
movl -0x10(%rbp), %esi
movq -0x58(%rbp), %rdx
movq -0x8(%rbp), %rcx
movl -0x5c(%rbp), %r8d
callq 0x89fd0
leaq 0x5d99d(%rip), %rdi     # 0xe831c
callq 0x79440
cmpl $0x0, %eax
je 0x8a9bf
movq -0x20(%rbp), %rdi
movl 0x35765d(%rip), %edx    # 0x3e1ff0
leaq 0x5d991(%rip), %rsi     # 0xe832b
movb $0x0, %al
callq 0x4280
movq -0x20(%rbp), %rdi
movq 0x35764c(%rip), %rax    # 0x3e1ff8
movq 0x28(%rax), %rsi
movl -0x5c(%rbp), %edx
movq 0x2dd44e(%rip), %rcx    # 0x367e08
callq 0xb4f0
leaq 0x5d983(%rip), %rdi     # 0xe8349
callq 0x79440
cmpl $0x0, %eax
je 0x8aa13
movq 0x357621(%rip), %rax    # 0x3e1ff8
cmpl $0x2, 0x20(%rax)
jne 0x8a9f3
movq 0x18(%rbp), %rdi
movq 0x357610(%rip), %rax    # 0x3e1ff8
movq 0x18(%rax), %rsi
callq 0xb490
jmp 0x8aa11
movq 0x18(%rbp), %rdi
movq 0x3575fa(%rip), %rax    # 0x3e1ff8
movq 0x18(%rax), %rsi
movq 0x3575ef(%rip), %rax    # 0x3e1ff8
movl 0x20(%rax), %edx
callq 0xb3f0
jmp 0x8aa13
movl -0x10(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0x8800
cmpl $-0x1, -0xc(%rbp)
jne 0x8aa3f
movl -0x10(%rbp), %edi
movq -0x50(%rbp), %rsi
movq 0x2dd3d5(%rip), %rcx    # 0x367e08
leaq 0x2dd3c6(%rip), %rdx    # 0x367e00
callq 0x87f00
callq 0x4200
cvtsi2sd %rax, %xmm0
movsd %xmm0, -0x38(%rbp)
leaq 0x5d903(%rip), %rdi     # 0xe8358
callq 0x79440
cmpl $0x0, %eax
je 0x8aa89
movl 0x35758b(%rip), %esi    # 0x3e1ff0
movsd -0x38(%rbp), %xmm0
subsd -0x30(%rbp), %xmm0
movsd 0x57f49(%rip), %xmm1    # 0xe29c0
divsd %xmm1, %xmm0
leaq 0x5d8e5(%rip), %rdi     # 0xe8367
movb $0x1, %al
callq 0x4030
cmpl $-0x1, -0xc(%rbp)
jne 0x8aaf6
movq 0x7adaa(%rip), %rax     # 0x105840
cmpl $0x2, 0x10(%rax)
jne 0x8aaf6
movl -0x10(%rbp), %edi
movl $0x2, %esi
movl $0x3f9, %edx            # imm = 0x3F9
movl $0x3fa, %ecx            # imm = 0x3FA
movb $0x0, %al
callq 0x53e40
cmpl $0x0, %eax
je 0x8aaf6
movl 0x357530(%rip), %esi    # 0x3e1ff0
movq 0x357531(%rip), %rax    # 0x3e1ff8
movsd 0x38(%rax), %xmm0
movq 0x357525(%rip), %rax    # 0x3e1ff8
cvtsi2sdl 0x30(%rax), %xmm1
divsd %xmm1, %xmm0
leaq 0x579d2(%rip), %rdi     # 0xe24b5
movl $0x3, %edx
leaq 0x5a72a(%rip), %rcx     # 0xe5219
movb $0x1, %al
callq 0x490c0
cmpl $-0x1, -0xc(%rbp)
jne 0x8ab56
movl -0x10(%rbp), %edi
movl $0x2, %esi
movl $0x7d8, %edx            # imm = 0x7D8
movl $0x7d9, %ecx            # imm = 0x7D9
movb $0x0, %al
callq 0x53e40
cmpl $0x0, %eax
je 0x8ab56
movl 0x3574d0(%rip), %esi    # 0x3e1ff0
movq 0x3574d1(%rip), %rax    # 0x3e1ff8
movsd 0x18(%rax), %xmm0
movq 0x3574c5(%rip), %rax    # 0x3e1ff8
cvtsi2sdl 0x10(%rax), %xmm1
divsd %xmm1, %xmm0
leaq 0x57972(%rip), %rdi     # 0xe24b5
movl $0x3, %edx
leaq 0x5a6ca(%rip), %rcx     # 0xe5219
movb $0x1, %al
callq 0x490c0
cmpl $-0x1, -0xc(%rbp)
jne 0x8abd9
cmpl $0x3e9, -0x10(%rbp)     # imm = 0x3E9
jne 0x8abd9
movl 0x357485(%rip), %esi    # 0x3e1ff0
movq 0x357486(%rip), %rax    # 0x3e1ff8
movsd 0x40(%rax), %xmm0
movq 0x35747a(%rip), %rax    # 0x3e1ff8
cvtsi2sdl 0x30(%rax), %xmm1
divsd %xmm1, %xmm0
movq 0x35746a(%rip), %rax    # 0x3e1ff8
movsd 0x48(%rax), %xmm1
movq 0x35745e(%rip), %rax    # 0x3e1ff8
cvtsi2sdl 0x30(%rax), %xmm2
divsd %xmm2, %xmm1
movq 0x35744e(%rip), %rax    # 0x3e1ff8
movsd 0x50(%rax), %xmm2
movq 0x357442(%rip), %rax    # 0x3e1ff8
cvtsi2sdl 0x30(%rax), %xmm3
divsd %xmm3, %xmm2
leaq 0x578ef(%rip), %rdi     # 0xe24b5
movl $0x3, %edx
leaq 0x63810(%rip), %rcx     # 0xee3e2
movb $0x3, %al
callq 0x490c0
cmpl $-0x1, -0xc(%rbp)
jne 0x8ac04
leaq 0x5d79b(%rip), %rdi     # 0xe8381
callq 0x79440
cmpl $0x0, %eax
je 0x8ac04
movq -0x28(%rbp), %rdi
movl -0x10(%rbp), %esi
movq -0x50(%rbp), %rdx
movq -0x8(%rbp), %rcx
callq 0x89950
cmpl $-0x1, -0xc(%rbp)
jne 0x8ac7b
leaq 0x5d77a(%rip), %rdi     # 0xe838b
callq 0x79440
cmpl $0x0, %eax
je 0x8ac7b
movq 0x10(%rbp), %rax
movq %rax, -0xa8(%rbp)
movl -0x10(%rbp), %eax
movl %eax, -0x9c(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x90(%rbp)
leaq 0x5d74c(%rip), %rdi     # 0xe8398
callq 0x792b0
movq -0xa8(%rbp), %rdi
movl -0x9c(%rbp), %esi
movq -0x98(%rbp), %rdx
movq -0x90(%rbp), %rcx
movl %eax, %r8d
movq 0x7abca(%rip), %r9      # 0x105840
callq 0x53d0
cmpl $-0x1, -0xc(%rbp)
jne 0x8ac96
movl -0x10(%rbp), %edi
movq -0x50(%rbp), %rsi
movq 0x7abb1(%rip), %rdx     # 0x105840
callq 0x5ac0
jmp 0x8acac
movl -0xc(%rbp), %edi
movl -0x10(%rbp), %esi
movq -0x58(%rbp), %rdx
movq 0x7ab99(%rip), %rcx     # 0x105840
callq 0x60640
movl $0x1, %edi
callq 0x85860
movl -0x10(%rbp), %edi
callq 0x4400
cmpl $0x0, %eax
jne 0x8adf9
movq 0x2dd13a(%rip), %rax    # 0x367e08
movq %rax, -0xd0(%rbp)
movq 0x35731c(%rip), %rax    # 0x3e1ff8
movq %rax, -0xc8(%rbp)
movsd -0x38(%rbp), %xmm0
subsd -0x30(%rbp), %xmm0
movsd 0x57ccb(%rip), %xmm1    # 0xe29c0
divsd %xmm1, %xmm0
movsd %xmm0, -0xc0(%rbp)
leaq 0x5d699(%rip), %rdi     # 0xe83a1
callq 0x79440
movl %eax, -0xb4(%rbp)
leaq 0x5d693(%rip), %rdi     # 0xe83ad
callq 0x79440
movl %eax, -0xb0(%rbp)
leaq 0x5d690(%rip), %rdi     # 0xe83bc
callq 0x79440
movl %eax, -0xac(%rbp)
leaq 0x5d687(%rip), %rdi     # 0xe83c5
callq 0x79440
movq -0xd0(%rbp), %rdi
movq -0xc8(%rbp), %rsi
movsd -0xc0(%rbp), %xmm0
movl -0xb4(%rbp), %edx
movl -0xb0(%rbp), %ecx
movl -0xac(%rbp), %r8d
movl %eax, %r9d
callq 0xb600
movq 0x35727d(%rip), %rax    # 0x3e1ff8
movq 0x28(%rax), %rdi
movq 0x2dd082(%rip), %rsi    # 0x367e08
callq 0xc5190
movq %rax, -0x88(%rbp)
movq %rdx, -0x80(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
leaq 0x3a278(%rip), %rdx     # 0xc5030
callq 0xc5670
movsd %xmm0, -0x40(%rbp)
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
leaq 0x3a30f(%rip), %rdx     # 0xc50e0
callq 0xc5670
movsd %xmm0, -0x48(%rbp)
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0x59ea0
movq 0x357209(%rip), %rdi    # 0x3e1ff8
callq 0xbba0
jmp 0x8ae80
movq 0x2dd008(%rip), %rax    # 0x367e08
movq %rax, -0xf0(%rbp)
movq 0x3571ea(%rip), %rax    # 0x3e1ff8
movq %rax, -0xe8(%rbp)
movsd -0x38(%rbp), %xmm0
subsd -0x30(%rbp), %xmm0
movsd 0x57b99(%rip), %xmm1    # 0xe29c0
divsd %xmm1, %xmm0
movsd %xmm0, -0xe0(%rbp)
leaq 0x5d567(%rip), %rdi     # 0xe83a1
callq 0x79440
movl %eax, -0xd4(%rbp)
leaq 0x5d561(%rip), %rdi     # 0xe83ad
callq 0x79440
movq -0xf0(%rbp), %rdi
movq -0xe8(%rbp), %rsi
movsd -0xe0(%rbp), %xmm0
movl -0xd4(%rbp), %edx
movl %eax, %ecx
callq 0xa0150
movq 0x35717d(%rip), %rdi    # 0x3e1ff8
callq 0xa03a0
cmpq $0x0, 0x2dcf78(%rip)    # 0x367e00
je 0x8aea1
movq 0x2dcf6f(%rip), %rdi    # 0x367e00
callq 0x44510
movq $0x0, 0x2dcf5f(%rip) # 0x367e00
cmpq $0x0, 0x2dcf5f(%rip)    # 0x367e08
je 0x8aec2
movq 0x2dcf56(%rip), %rdi    # 0x367e08
callq 0x44510
movq $0x0, 0x2dcf46(%rip) # 0x367e08
cmpq $0x0, 0x2dcf46(%rip)    # 0x367e10
je 0x8aee9
cmpl $0x1, -0x14(%rbp)
jne 0x8aee9
movq 0x2dcf37(%rip), %rdi    # 0x367e10
callq 0x44510
movq $0x0, 0x2dcf27(%rip) # 0x367e10
addq $0xf0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)