// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/savecode.c
// Function: generate_test_code_rise
void generate_test_code_rise(FILE* testcodefile, PROGRAMMING_LANGUAGE_TYPE language, Datasetptr d, Rulesetptr m)
{
 char st[MAXLENGTH], st2[MAXLENGTH];
 Decisionruleptr rule;
 code_function_header(testcodefile, "rise", d->featurecount, language);
 code_variable_start(testcodefile, language); 
 code_add_variable(testcodefile, language, INTEGER_VARIABLE, 3, "i", "maxcount", "maxindex"); 
 code_add_array_variable(testcodefile, language, 1, INTEGER_VARIABLE, "vote", d->classno);
 code_start(testcodefile, language);
 code_array_initialize(testcodefile, language, "vote", d->classno, "0");
 rule = m->start;
 while (rule)
  {
   code_rule(testcodefile, language, d, "rise", rule);
   code_array_index(st, language, "vote", rule->classno);
   sprintf(st2, "%s + %d", st, rule->covered - rule->falsepositives);
   code_set_variable(testcodefile, language, st, st2); 
   code_endif(testcodefile, language);
   rule = rule->next;
  }
 code_find_bound_of_list(testcodefile, language, "vote", d->classno, "-10000", "maxcount", "maxindex", ">");
 code_function_return_string(testcodefile, "rise", language, "maxindex");   
 code_function_end(testcodefile, language); 
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf4280, %rsp          # imm = 0xF4280
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movl 0x1bc(%rax), %edx
movl -0xc(%rbp), %ecx
leaq 0x308d9(%rip), %rsi     # 0xe694b
callq 0xaf1e0
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
callq 0xb00e0
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
xorl %edx, %edx
movl $0x3, %ecx
leaq 0x37291(%rip), %r8      # 0xed329
leaq 0x37156(%rip), %r9      # 0xed1f5
leaq 0x37074(%rip), %rax     # 0xed11a
movq %rax, (%rsp)
movb $0x0, %al
callq 0xafe40
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movq -0x18(%rbp), %rax
movl 0x10(%rax), %r9d
movl $0x1, %edx
xorl %ecx, %ecx
leaq 0x3718d(%rip), %r8      # 0xed25b
movb $0x0, %al
callq 0xafab0
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
callq 0xaf2c0
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movq -0x18(%rbp), %rax
movl 0x10(%rax), %ecx
leaq 0x37165(%rip), %rdx     # 0xed25b
leaq 0x3718a(%rip), %r8      # 0xed287
callq 0xb1e60
movq -0x20(%rbp), %rax
movq (%rax), %rax
movq %rax, -0xf4268(%rbp)
cmpq $0x0, -0xf4268(%rbp)
je 0xb61c8
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movq -0x18(%rbp), %rdx
movq -0xf4268(%rbp), %r8
leaq 0x30814(%rip), %rcx     # 0xe694b
callq 0xb2da0
leaq -0x7a140(%rbp), %rdi
movl -0xc(%rbp), %esi
movq -0xf4268(%rbp), %rax
movl (%rax), %ecx
leaq 0x37105(%rip), %rdx     # 0xed25b
callq 0xb0420
leaq -0xf4260(%rbp), %rdi
leaq -0x7a140(%rbp), %rdx
movq -0xf4268(%rbp), %rax
movl 0x4(%rax), %ecx
movq -0xf4268(%rbp), %rax
subl 0x8(%rax), %ecx
leaq 0x370dc(%rip), %rsi     # 0xed260
movb $0x0, %al
callq 0x4170
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
leaq -0x7a140(%rbp), %rdx
leaq -0xf4260(%rbp), %rcx
callq 0xafa00
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
callq 0xb0ec0
movq -0xf4268(%rbp), %rax
movq 0x30(%rax), %rax
movq %rax, -0xf4268(%rbp)
jmp 0xb6110
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movq -0x18(%rbp), %rax
movl 0x10(%rax), %ecx
leaq 0x3707e(%rip), %rdx     # 0xed25b
leaq 0x37084(%rip), %r8      # 0xed268
leaq 0x3700a(%rip), %r9      # 0xed1f5
leaq 0x36f28(%rip), %r10     # 0xed11a
leaq 0x375e5(%rip), %rax     # 0xed7de
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
callq 0xb3440
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %edx
leaq 0x30736(%rip), %rsi     # 0xe694b
leaq 0x36efe(%rip), %rcx     # 0xed11a
callq 0xb01f0
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
callq 0xb03a0
addq $0xf4280, %rsp          # imm = 0xF4280
popq %rbp
retq
nopw %cs:(%rax,%rax)