// File: /workspace/github_c_makefile_star2_O0/giannisdravilas[P]Disease-Monitor/tests/../modules/DiseaseMonitor.c
// Function: dm_count_records
int dm_count_records(String disease, String country, Date date_from, Date date_to){

    // Σε αυτή τη μεταβλητή αποθηκεύεται το πλήθος των records, που θα αυξάνεται καθώς θα διατρέχουμε το Map
    int counter = 0;
    
    // Διακρίνουμε τις διάφορες περιπτώσεις ανάλογα με το αν είναι NULL κάποιο από τα
    // disease, country, date_from, date_to, όλα ή κανένα. Όταν βρούμε τη σωστή περίπτωση διατρέχουμε το
    // map_disease_country_date που περιέχει περιορισμένο αριθμό εγγραφών (άρα η πολυπλοκότητα δεν εξαρτάται
    // από τον συνολικό αριθμό εγγραφών και αφού τα πλήθη υπάρχουν ήδη ως value και δε χρειάζεται να μετρηθούν
    // δεν εξαρτάται ούτε από τον αριθμό εγγραφών που πληρούν τα κριτήρια) και προσθέτουμε στον counter τα values
    // (πλήθη) των εγγραφών που πληρούν τα κριτήρια.
    if(disease){
        if(country){
            if(date_from && date_to){
                for(MapNode node = map_first(map_disease_country_date); node != MAP_EOF; node = map_next(map_disease_country_date, node)){
                    MapCount mapcount = map_node_key(map_disease_country_date, node);
                    if(!compare_diseases(mapcount->disease, disease) && !compare_countries(mapcount->country, country)){
                        if(compare_dates(mapcount->date, date_from) >= 0 && compare_dates(mapcount->date, date_to) <= 0){
                            counter += *(int*)map_node_value(map_disease_country_date, node);
                        }
                    }
                }
            }else if(date_from){
                for(MapNode node = map_first(map_disease_country_date); node != MAP_EOF; node = map_next(map_disease_country_date, node)){
                    MapCount mapcount = map_node_key(map_disease_country_date, node);
                    if(!compare_diseases(mapcount->disease, disease) && !compare_countries(mapcount->country, country)){
                        if(compare_dates(mapcount->date, date_from) >= 0){
                            counter += *(int*)map_node_value(map_disease_country_date, node);
                        }
                    }
                }
            }else if(date_to){
                for(MapNode node = map_first(map_disease_country_date); node != MAP_EOF; node = map_next(map_disease_country_date, node)){
                    MapCount mapcount = map_node_key(map_disease_country_date, node);
                    if(!compare_diseases(mapcount->disease, disease) && !compare_countries(mapcount->country, country)){
                        if(compare_dates(mapcount->date, date_to) <= 0){
                            counter += *(int*)map_node_value(map_disease_country_date, node);
                        }
                    }
                }
            }else{
                for(MapNode node = map_first(map_disease_country_date); node != MAP_EOF; node = map_next(map_disease_country_date, node)){
                    MapCount mapcount = map_node_key(map_disease_country_date, node);
                    if(!compare_diseases(mapcount->disease, disease) && !compare_countries(mapcount->country, country)){
                        counter += *(int*)map_node_value(map_disease_country_date, node);
                    }
                }
            }
        }else{
            if(date_from && date_to){
                for(MapNode node = map_first(map_disease_country_date); node != MAP_EOF; node = map_next(map_disease_country_date, node)){
                    MapCount mapcount = map_node_key(map_disease_country_date, node);
                    if(!compare_diseases(mapcount->disease, disease)){
                        if(compare_dates(mapcount->date, date_from) >= 0 && compare_dates(mapcount->date, date_to) <= 0){
                            counter += *(int*)map_node_value(map_disease_country_date, node);
                        }
                    }
                }
            }else if(date_from){
                for(MapNode node = map_first(map_disease_country_date); node != MAP_EOF; node = map_next(map_disease_country_date, node)){
                    MapCount mapcount = map_node_key(map_disease_country_date, node);
                    if(!compare_diseases(mapcount->disease, disease)){
                        if(compare_dates(mapcount->date, date_from) >= 0){
                            counter += *(int*)map_node_value(map_disease_country_date, node);
                        }
                    }
                }
            }else if(date_to){
                for(MapNode node = map_first(map_disease_country_date); node != MAP_EOF; node = map_next(map_disease_country_date, node)){
                    MapCount mapcount = map_node_key(map_disease_country_date, node);
                    if(!compare_diseases(mapcount->disease, disease)){
                        if(compare_dates(mapcount->date, date_to) <= 0){
                            counter += *(int*)map_node_value(map_disease_country_date, node);
                        }
                    }
                }
            }else{
                for(MapNode node = map_first(map_disease_country_date); node != MAP_EOF; node = map_next(map_disease_country_date, node)){
                    MapCount mapcount = map_node_key(map_disease_country_date, node);
                    if(!compare_diseases(mapcount->disease, disease)){
                        counter += *(int*)map_node_value(map_disease_country_date, node);
                    }
                }
            }
        }
    }else{
        if(country){
            if(date_from && date_to){
                for(MapNode node = map_first(map_disease_country_date); node != MAP_EOF; node = map_next(map_disease_country_date, node)){
                    MapCount mapcount = map_node_key(map_disease_country_date, node);
                    if(!compare_countries(mapcount->country, country)){
                        if(compare_dates(mapcount->date, date_from) >= 0 && compare_dates(mapcount->date, date_to) <= 0){
                            counter += *(int*)map_node_value(map_disease_country_date, node);
                        }
                    }
                }
            }else if(date_from){
                for(MapNode node = map_first(map_disease_country_date); node != MAP_EOF; node = map_next(map_disease_country_date, node)){
                    MapCount mapcount = map_node_key(map_disease_country_date, node);
                    if(!compare_countries(mapcount->country, country)){
                        if(compare_dates(mapcount->date, date_from) >= 0){
                            counter += *(int*)map_node_value(map_disease_country_date, node);
                        }
                    }
                }
            }else if(date_to){
                for(MapNode node = map_first(map_disease_country_date); node != MAP_EOF; node = map_next(map_disease_country_date, node)){
                    MapCount mapcount = map_node_key(map_disease_country_date, node);
                    if(!compare_countries(mapcount->country, country)){
                        if(compare_dates(mapcount->date, date_to) <= 0){
                            counter += *(int*)map_node_value(map_disease_country_date, node);
                        }
                    }
                }
            }else{
                for(MapNode node = map_first(map_disease_country_date); node != MAP_EOF; node = map_next(map_disease_country_date, node)){
                    MapCount mapcount = map_node_key(map_disease_country_date, node);
                    if(!compare_countries(mapcount->country, country)){
                        counter += *(int*)map_node_value(map_disease_country_date, node);
                    }
                }
            }
        }else{
            if(date_from && date_to){
                for(MapNode node = map_first(map_disease_country_date); node != MAP_EOF; node = map_next(map_disease_country_date, node)){
                    MapCount mapcount = map_node_key(map_disease_country_date, node);
                    if(compare_dates(mapcount->date, date_from) >= 0 && compare_dates(mapcount->date, date_to) <= 0){
                        counter += *(int*)map_node_value(map_disease_country_date, node);
                    }
                }
            }else if(date_from){
                for(MapNode node = map_first(map_disease_country_date); node != MAP_EOF; node = map_next(map_disease_country_date, node)){
                    MapCount mapcount = map_node_key(map_disease_country_date, node);
                    if(compare_dates(mapcount->date, date_from) >= 0){
                        counter += *(int*)map_node_value(map_disease_country_date, node);
                    }
                }
            }else if(date_to){
                for(MapNode node = map_first(map_disease_country_date); node != MAP_EOF; node = map_next(map_disease_country_date, node)){
                    MapCount mapcount = map_node_key(map_disease_country_date, node);
                    if(compare_dates(mapcount->date, date_to) <= 0){
                        counter += *(int*)map_node_value(map_disease_country_date, node);
                    }
                }
            }else{
                for(MapNode node = map_first(map_disease_country_date); node != MAP_EOF; node = map_next(map_disease_country_date, node)){
                    counter += *(int*)map_node_value(map_disease_country_date, node);
                }
            }
        }
    }

    return counter;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x6f1c
cmpq $0x0, -0x10(%rbp)
je 0x6c69
cmpq $0x0, -0x18(%rbp)
je 0x6a6e
cmpq $0x0, -0x20(%rbp)
je 0x6a6e
movq 0x8d73(%rip), %rdi      # 0xf728
callq 0x844f
movq %rax, -0x30(%rbp)
cmpq $0x0, -0x30(%rbp)
je 0x6a69
movq 0x8d58(%rip), %rdi      # 0xf728
movq -0x30(%rbp), %rsi
callq 0x86a2
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rax
movq (%rax), %rdi
movq -0x8(%rbp), %rsi
callq 0x5950
cmpl $0x0, %eax
jne 0x6a4e
movq -0x38(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x5980
cmpl $0x0, %eax
jne 0x6a4e
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x18(%rbp), %rsi
callq 0x5a40
cmpl $0x0, %eax
jl 0x6a4c
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x20(%rbp), %rsi
callq 0x5a40
cmpl $0x0, %eax
jg 0x6a4c
movq 0x8ced(%rip), %rdi      # 0xf728
movq -0x30(%rbp), %rsi
callq 0x86bb
movl (%rax), %eax
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0x6a4e
jmp 0x6a50
movq 0x8cd1(%rip), %rdi      # 0xf728
movq -0x30(%rbp), %rsi
callq 0x850b
movq %rax, -0x30(%rbp)
jmp 0x69be
jmp 0x6c64
cmpq $0x0, -0x18(%rbp)
je 0x6b23
movq 0x8ca8(%rip), %rdi      # 0xf728
callq 0x844f
movq %rax, -0x40(%rbp)
cmpq $0x0, -0x40(%rbp)
je 0x6b1e
movq 0x8c8d(%rip), %rdi      # 0xf728
movq -0x40(%rbp), %rsi
callq 0x86a2
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rax
movq (%rax), %rdi
movq -0x8(%rbp), %rsi
callq 0x5950
cmpl $0x0, %eax
jne 0x6b03
movq -0x48(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x5980
cmpl $0x0, %eax
jne 0x6b03
movq -0x48(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x18(%rbp), %rsi
callq 0x5a40
cmpl $0x0, %eax
jl 0x6b01
movq 0x8c38(%rip), %rdi      # 0xf728
movq -0x40(%rbp), %rsi
callq 0x86bb
movl (%rax), %eax
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0x6b03
jmp 0x6b05
movq 0x8c1c(%rip), %rdi      # 0xf728
movq -0x40(%rbp), %rsi
callq 0x850b
movq %rax, -0x40(%rbp)
jmp 0x6a89
jmp 0x6c62
cmpq $0x0, -0x20(%rbp)
je 0x6bd8
movq 0x8bf3(%rip), %rdi      # 0xf728
callq 0x844f
movq %rax, -0x50(%rbp)
cmpq $0x0, -0x50(%rbp)
je 0x6bd3
movq 0x8bd8(%rip), %rdi      # 0xf728
movq -0x50(%rbp), %rsi
callq 0x86a2
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rax
movq (%rax), %rdi
movq -0x8(%rbp), %rsi
callq 0x5950
cmpl $0x0, %eax
jne 0x6bb8
movq -0x58(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x5980
cmpl $0x0, %eax
jne 0x6bb8
movq -0x58(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x20(%rbp), %rsi
callq 0x5a40
cmpl $0x0, %eax
jg 0x6bb6
movq 0x8b83(%rip), %rdi      # 0xf728
movq -0x50(%rbp), %rsi
callq 0x86bb
movl (%rax), %eax
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0x6bb8
jmp 0x6bba
movq 0x8b67(%rip), %rdi      # 0xf728
movq -0x50(%rbp), %rsi
callq 0x850b
movq %rax, -0x50(%rbp)
jmp 0x6b3e
jmp 0x6c60
movq 0x8b49(%rip), %rdi      # 0xf728
callq 0x844f
movq %rax, -0x60(%rbp)
cmpq $0x0, -0x60(%rbp)
je 0x6c5e
movq 0x8b32(%rip), %rdi      # 0xf728
movq -0x60(%rbp), %rsi
callq 0x86a2
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rax
movq (%rax), %rdi
movq -0x8(%rbp), %rsi
callq 0x5950
cmpl $0x0, %eax
jne 0x6c46
movq -0x68(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x5980
cmpl $0x0, %eax
jne 0x6c46
movq 0x8af3(%rip), %rdi      # 0xf728
movq -0x60(%rbp), %rsi
callq 0x86bb
movl (%rax), %eax
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0x6c48
movq 0x8ad9(%rip), %rdi      # 0xf728
movq -0x60(%rbp), %rsi
callq 0x850b
movq %rax, -0x60(%rbp)
jmp 0x6be8
jmp 0x6c60
jmp 0x6c62
jmp 0x6c64
jmp 0x6f17
cmpq $0x0, -0x18(%rbp)
je 0x6d29
cmpq $0x0, -0x20(%rbp)
je 0x6d29
movq 0x8aa2(%rip), %rdi      # 0xf728
callq 0x844f
movq %rax, -0x70(%rbp)
cmpq $0x0, -0x70(%rbp)
je 0x6d24
movq 0x8a87(%rip), %rdi      # 0xf728
movq -0x70(%rbp), %rsi
callq 0x86a2
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rax
movq (%rax), %rdi
movq -0x8(%rbp), %rsi
callq 0x5950
cmpl $0x0, %eax
jne 0x6d09
movq -0x78(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x18(%rbp), %rsi
callq 0x5a40
cmpl $0x0, %eax
jl 0x6d07
movq -0x78(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x20(%rbp), %rsi
callq 0x5a40
cmpl $0x0, %eax
jg 0x6d07
movq 0x8a32(%rip), %rdi      # 0xf728
movq -0x70(%rbp), %rsi
callq 0x86bb
movl (%rax), %eax
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0x6d09
jmp 0x6d0b
movq 0x8a16(%rip), %rdi      # 0xf728
movq -0x70(%rbp), %rsi
callq 0x850b
movq %rax, -0x70(%rbp)
jmp 0x6c8f
jmp 0x6f15
cmpq $0x0, -0x18(%rbp)
je 0x6dcd
movq 0x89ed(%rip), %rdi      # 0xf728
callq 0x844f
movq %rax, -0x80(%rbp)
cmpq $0x0, -0x80(%rbp)
je 0x6dc8
movq 0x89d6(%rip), %rdi      # 0xf728
movq -0x80(%rbp), %rsi
callq 0x86a2
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rax
movq (%rax), %rdi
movq -0x8(%rbp), %rsi
callq 0x5950
cmpl $0x0, %eax
jne 0x6dad
movq -0x88(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x18(%rbp), %rsi
callq 0x5a40
cmpl $0x0, %eax
jl 0x6dab
movq 0x898e(%rip), %rdi      # 0xf728
movq -0x80(%rbp), %rsi
callq 0x86bb
movl (%rax), %eax
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0x6dad
jmp 0x6daf
movq 0x8972(%rip), %rdi      # 0xf728
movq -0x80(%rbp), %rsi
callq 0x850b
movq %rax, -0x80(%rbp)
jmp 0x6d44
jmp 0x6f13
cmpq $0x0, -0x20(%rbp)
je 0x6e87
movq 0x8949(%rip), %rdi      # 0xf728
callq 0x844f
movq %rax, -0x90(%rbp)
cmpq $0x0, -0x90(%rbp)
je 0x6e82
movq 0x8928(%rip), %rdi      # 0xf728
movq -0x90(%rbp), %rsi
callq 0x86a2
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
movq (%rax), %rdi
movq -0x8(%rbp), %rsi
callq 0x5950
cmpl $0x0, %eax
jne 0x6e61
movq -0x98(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x20(%rbp), %rsi
callq 0x5a40
cmpl $0x0, %eax
jg 0x6e5f
movq 0x88dd(%rip), %rdi      # 0xf728
movq -0x90(%rbp), %rsi
callq 0x86bb
movl (%rax), %eax
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0x6e61
jmp 0x6e63
movq 0x88be(%rip), %rdi      # 0xf728
movq -0x90(%rbp), %rsi
callq 0x850b
movq %rax, -0x90(%rbp)
jmp 0x6deb
jmp 0x6f11
movq 0x889a(%rip), %rdi      # 0xf728
callq 0x844f
movq %rax, -0xa0(%rbp)
cmpq $0x0, -0xa0(%rbp)
je 0x6f0f
movq 0x887d(%rip), %rdi      # 0xf728
movq -0xa0(%rbp), %rsi
callq 0x86a2
movq %rax, -0xa8(%rbp)
movq -0xa8(%rbp), %rax
movq (%rax), %rdi
movq -0x8(%rbp), %rsi
callq 0x5950
cmpl $0x0, %eax
jne 0x6ef1
movq 0x884b(%rip), %rdi      # 0xf728
movq -0xa0(%rbp), %rsi
callq 0x86bb
movl (%rax), %eax
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0x6ef3
movq 0x882e(%rip), %rdi      # 0xf728
movq -0xa0(%rbp), %rsi
callq 0x850b
movq %rax, -0xa0(%rbp)
jmp 0x6e9a
jmp 0x6f11
jmp 0x6f13
jmp 0x6f15
jmp 0x6f17
jmp 0x7461
cmpq $0x0, -0x10(%rbp)
je 0x7210
cmpq $0x0, -0x18(%rbp)
je 0x7006
cmpq $0x0, -0x20(%rbp)
je 0x7006
movq 0x87e4(%rip), %rdi      # 0xf728
callq 0x844f
movq %rax, -0xb0(%rbp)
cmpq $0x0, -0xb0(%rbp)
je 0x7001
movq 0x87c3(%rip), %rdi      # 0xf728
movq -0xb0(%rbp), %rsi
callq 0x86a2
movq %rax, -0xb8(%rbp)
movq -0xb8(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x5980
cmpl $0x0, %eax
jne 0x6fe0
movq -0xb8(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x18(%rbp), %rsi
callq 0x5a40
cmpl $0x0, %eax
jl 0x6fde
movq -0xb8(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x20(%rbp), %rsi
callq 0x5a40
cmpl $0x0, %eax
jg 0x6fde
movq 0x875e(%rip), %rdi      # 0xf728
movq -0xb0(%rbp), %rsi
callq 0x86bb
movl (%rax), %eax
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0x6fe0
jmp 0x6fe2
movq 0x873f(%rip), %rdi      # 0xf728
movq -0xb0(%rbp), %rsi
callq 0x850b
movq %rax, -0xb0(%rbp)
jmp 0x6f50
jmp 0x720b
cmpq $0x0, -0x18(%rbp)
je 0x70c1
movq 0x8710(%rip), %rdi      # 0xf728
callq 0x844f
movq %rax, -0xc0(%rbp)
cmpq $0x0, -0xc0(%rbp)
je 0x70bc
movq 0x86ef(%rip), %rdi      # 0xf728
movq -0xc0(%rbp), %rsi
callq 0x86a2
movq %rax, -0xc8(%rbp)
movq -0xc8(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x5980
cmpl $0x0, %eax
jne 0x709b
movq -0xc8(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x18(%rbp), %rsi
callq 0x5a40
cmpl $0x0, %eax
jl 0x7099
movq 0x86a3(%rip), %rdi      # 0xf728
movq -0xc0(%rbp), %rsi
callq 0x86bb
movl (%rax), %eax
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0x709b
jmp 0x709d
movq 0x8684(%rip), %rdi      # 0xf728
movq -0xc0(%rbp), %rsi
callq 0x850b
movq %rax, -0xc0(%rbp)
jmp 0x7024
jmp 0x7209
cmpq $0x0, -0x20(%rbp)
je 0x717c
movq 0x8655(%rip), %rdi      # 0xf728
callq 0x844f
movq %rax, -0xd0(%rbp)
cmpq $0x0, -0xd0(%rbp)
je 0x7177
movq 0x8634(%rip), %rdi      # 0xf728
movq -0xd0(%rbp), %rsi
callq 0x86a2
movq %rax, -0xd8(%rbp)
movq -0xd8(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x5980
cmpl $0x0, %eax
jne 0x7156
movq -0xd8(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x20(%rbp), %rsi
callq 0x5a40
cmpl $0x0, %eax
jg 0x7154
movq 0x85e8(%rip), %rdi      # 0xf728
movq -0xd0(%rbp), %rsi
callq 0x86bb
movl (%rax), %eax
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0x7156
jmp 0x7158
movq 0x85c9(%rip), %rdi      # 0xf728
movq -0xd0(%rbp), %rsi
callq 0x850b
movq %rax, -0xd0(%rbp)
jmp 0x70df
jmp 0x7207
movq 0x85a5(%rip), %rdi      # 0xf728
callq 0x844f
movq %rax, -0xe0(%rbp)
cmpq $0x0, -0xe0(%rbp)
je 0x7205
movq 0x8588(%rip), %rdi      # 0xf728
movq -0xe0(%rbp), %rsi
callq 0x86a2
movq %rax, -0xe8(%rbp)
movq -0xe8(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x5980
cmpl $0x0, %eax
jne 0x71e7
movq 0x8555(%rip), %rdi      # 0xf728
movq -0xe0(%rbp), %rsi
callq 0x86bb
movl (%rax), %eax
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0x71e9
movq 0x8538(%rip), %rdi      # 0xf728
movq -0xe0(%rbp), %rsi
callq 0x850b
movq %rax, -0xe0(%rbp)
jmp 0x718f
jmp 0x7207
jmp 0x7209
jmp 0x720b
jmp 0x745f
cmpq $0x0, -0x18(%rbp)
je 0x72d4
cmpq $0x0, -0x20(%rbp)
je 0x72d4
movq 0x84fb(%rip), %rdi      # 0xf728
callq 0x844f
movq %rax, -0xf0(%rbp)
cmpq $0x0, -0xf0(%rbp)
je 0x72cf
movq 0x84da(%rip), %rdi      # 0xf728
movq -0xf0(%rbp), %rsi
callq 0x86a2
movq %rax, -0xf8(%rbp)
movq -0xf8(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x18(%rbp), %rsi
callq 0x5a40
cmpl $0x0, %eax
jl 0x72ae
movq -0xf8(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x20(%rbp), %rsi
callq 0x5a40
cmpl $0x0, %eax
jg 0x72ae
movq 0x848e(%rip), %rdi      # 0xf728
movq -0xf0(%rbp), %rsi
callq 0x86bb
movl (%rax), %eax
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0x72b0
movq 0x8471(%rip), %rdi      # 0xf728
movq -0xf0(%rbp), %rsi
callq 0x850b
movq %rax, -0xf0(%rbp)
jmp 0x7239
jmp 0x745d
cmpq $0x0, -0x18(%rbp)
je 0x736d
movq 0x8442(%rip), %rdi      # 0xf728
callq 0x844f
movq %rax, -0x100(%rbp)
cmpq $0x0, -0x100(%rbp)
je 0x7368
movq 0x8425(%rip), %rdi      # 0xf728
movq -0x100(%rbp), %rsi
callq 0x86a2
movq %rax, -0x108(%rbp)
movq -0x108(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x18(%rbp), %rsi
callq 0x5a40
cmpl $0x0, %eax
jl 0x734a
movq 0x83f2(%rip), %rdi      # 0xf728
movq -0x100(%rbp), %rsi
callq 0x86bb
movl (%rax), %eax
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0x734c
movq 0x83d5(%rip), %rdi      # 0xf728
movq -0x100(%rbp), %rsi
callq 0x850b
movq %rax, -0x100(%rbp)
jmp 0x72f2
jmp 0x745b
cmpq $0x0, -0x20(%rbp)
je 0x7403
movq 0x83a9(%rip), %rdi      # 0xf728
callq 0x844f
movq %rax, -0x110(%rbp)
cmpq $0x0, -0x110(%rbp)
je 0x7401
movq 0x838c(%rip), %rdi      # 0xf728
movq -0x110(%rbp), %rsi
callq 0x86a2
movq %rax, -0x118(%rbp)
movq -0x118(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x20(%rbp), %rsi
callq 0x5a40
cmpl $0x0, %eax
jg 0x73e3
movq 0x8359(%rip), %rdi      # 0xf728
movq -0x110(%rbp), %rsi
callq 0x86bb
movl (%rax), %eax
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0x73e5
movq 0x833c(%rip), %rdi      # 0xf728
movq -0x110(%rbp), %rsi
callq 0x850b
movq %rax, -0x110(%rbp)
jmp 0x738b
jmp 0x7459
movq 0x831e(%rip), %rdi      # 0xf728
callq 0x844f
movq %rax, -0x120(%rbp)
cmpq $0x0, -0x120(%rbp)
je 0x7457
movq 0x8301(%rip), %rdi      # 0xf728
movq -0x120(%rbp), %rsi
callq 0x86bb
movl (%rax), %eax
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
movq 0x82e6(%rip), %rdi      # 0xf728
movq -0x120(%rbp), %rsi
callq 0x850b
movq %rax, -0x120(%rbp)
jmp 0x7416
jmp 0x7459
jmp 0x745b
jmp 0x745d
jmp 0x745f
jmp 0x7461
movl -0x24(%rbp), %eax
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
nopl (%rax)