// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/RscpExampleMain.cpp
// Function: wolfstatus()
int wolfstatus()
{
    time_t now;
    time(&now);
    static time_t wolf_t;
    //           Test zur Abfrage des Tesmota Relais
    if (strcmp(e3dc_config.mqtt_ip,"0.0.0.0")!=0&&e3dc_config.WPWolf)
    {
        
        
        if (WP_status < 2)
        {
            if (wolf.size()==0)
            {
                wo.wert = 0;
                wo.t = 0;
                wo.status = "";
                wo.feld = "Vorlauftemperatur";
                wo.AK = "VL";
                wpvl = wolf.size();
                wolf.push_back(wo);
                /*                wo.feld = "Sammlertemperatur";
                 wo.AK = "ST";
                 wolf.push_back(wo);
                 */                wo.feld = "Kesseltemperatur";
                wo.AK = "KT";
                wpkt = wolf.size();
                wolf.push_back(wo);
                wo.feld = "Kesseltemperatur 2";
                wo.AK = "KT2";
                wpkt2 = wolf.size();
                wolf.push_back(wo);
                wo.feld = "Rücklauftemperatur";
                wo.AK = "RL";
                wprl = wolf.size();
                wolf.push_back(wo);
                wo.feld = "Heizleistung";
                wo.AK = "HL";
                wphl = wolf.size();
                wolf.push_back(wo);
                wo.feld = "Leistungsaufnahme (WP + EHZ)";
                wo.AK = "PW";
                wppw = wolf.size();
                wolf.push_back(wo);
                wo.feld = "Aktuelle Leistungsvorgabe Verdichter";
                wo.AK = "ALV";
                wpalv = wolf.size();
                wolf.push_back(wo);
                wo.feld = "EEV K"; // Ventil auf Kühlen = Abtaubetrieb
                wo.AK = "EEV K";
                wo.wert = 0;
                wpeevk = wolf.size();
                wolf.push_back(wo);
                wo.feld = "Heizkreisdurchfluss";
                wo.AK = "HD";
                wolf.push_back(wo);
                wo.feld = "Zulufttemperatur";
                wo.AK = "ZL";
                wo.wert = -99;
                wpzl = wolf.size();
                wolf.push_back(wo);
                wo.feld = "Sauggastemperatur";
                wo.AK = "SGT";
                wolf.push_back(wo);
                wo.feld = "Ablufttemperatur";
                wpal = wolf.size();
                wo.AK = "AL";
                wo.wert = -99;
                wolf.push_back(wo);
                wo.feld = "Verdichterfrequenz";
                wo.AK = "VFQ";
                wo.wert = -5;
                wpswk = wolf.size();
                wolf.push_back(wo);
                wo.feld = "Betriebsart Heizgerät";
                wo.AK = "BHG";
                wpbhg = wolf.size();
                wolf.push_back(wo);
                wo.feld = "Verdichterstatus";
                wo.AK = "VS";
                vdstatus = wolf.size();
                wolf.push_back(wo);
            }
            
            
            wolf_fp = NULL;
            sprintf(buf,"mosquitto_sub -h %s -t Wolf/+/#",e3dc_config.mqtt_ip);
//            if (e3dc_config.debug)
            printf("Wo0a");
            wolf_fp = popen(buf, "r");
            if (wolf_fp != NULL)
            {
                //            if (e3dc_config.debug)
                printf("Wo0b");
                int fd = fileno(wolf_fp);
                int flags = fcntl(fd, F_GETFL, 0);
                flags |= O_NONBLOCK;
                fcntl(fd, F_SETFL, flags);
                //            if (e3dc_config.debug)
            }
            printf("Wo0c");
            
            WP_status = 2;
            wolf_t = now;
        }
        if (now-wolf_t > 300)
        {
//            if (e3dc_config.debug)
                printf("Wo1b\n");
//            if (wolf_fp != NULL)
//                status = pclose(wolf_fp);
//            if (e3dc_config.debug)
            printf("Wo1c");
            wolf_fp = NULL;
            WP_status = 1;
        }
        if (e3dc_config.debug) printf("Wo1\n");
        if (wolf_fp != NULL)
        {
//            if (e3dc_config.debug)
                printf("Wo%i",now-wolf_t);
            
            while (fgets(path, 4096, wolf_fp) != NULL)
            {
                if (e3dc_config.debug) printf("Wo2");
                
                const cJSON *item = NULL;
                cJSON *wolf_json = cJSON_Parse(path);
                wolf_t = now;
                for(int x1=0;x1<wolf.size();x1++)
                {
                    char * c = &wolf[x1].feld[0];
                    item = cJSON_GetObjectItemCaseSensitive(wolf_json, c );
                    if (item != NULL)
                    {
                        wolf[x1].wert = item->valuedouble;
                        wolf[x1].t = now;
                        if (item->valuestring!= NULL)
                            wolf[x1].status = item->valuestring;
                        
                        if ((wolf[x1].feld=="Verdichterstatus")||
                            (wolf[x1].feld=="Betriebsart Heizgerät"))
                        {
                            item = item->child;
                            wolf[x1].wert = item->valuedouble;
                            item = item->next;
                            wolf[x1].status = item->valuestring;
                        }
                    }
                }
                
                cJSON_Delete(wolf_json);
                iPower_WP = wolf[wppw].wert*1000;
                if (wolf[wphl].wert>0)
                    iHeat_WP = wolf[wphl].wert*1000;
                else
                    iHeat_WP = 0;
                if (iPower_WP==0&&ALV>0&&tasmota_status[0]==0) // keine EVU sperre
                    iPower_WP = 700;
                else
                    if (iPower_WP>0&&ALV==0)
                    {
                        iPower_WP = 0;
                        iHeat_WP = 0;
                    }
            }
        }
    }
    if (e3dc_config.debug) printf("Wo1d\n");
    if (wolf_fp == NULL) WP_status = 1;
//    else            status = pclose(wolf_fp);
    if (e3dc_config.debug) printf("Wo1e\n");

    return WP_status;
        

    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsp, %rdi
callq 0x2250
movabsq $0x302e302e302e30, %rax # imm = 0x302E302E302E30
cmpq %rax, 0x3304e(%rip)     # 0x39934
je 0x72e1
cmpb $0x1, 0x33539(%rip)     # 0x39e2c
jne 0x72e1
cmpl $0x2, 0x32a28(%rip)     # 0x39328
jge 0x6ff3
movq 0x32af3(%rip), %rax     # 0x39400
cmpq 0x32ae4(%rip), %rax     # 0x393f8
jne 0x6f37
xorl %ebp, %ebp
movl %ebp, 0x34516(%rip)     # 0x3ae38
leaq 0x344a7(%rip), %rbx     # 0x3add0
movq $0x0, 0x3449c(%rip) # 0x3add0
movq 0x344e5(%rip), %rdx     # 0x3ae20
leaq 0x344d6(%rip), %rdi     # 0x3ae18
leaq 0x2baf9(%rip), %rcx     # 0x32442
xorl %esi, %esi
xorl %r8d, %r8d
callq 0x2410
movq 0x34486(%rip), %rdx     # 0x3ade0
leaq 0x34477(%rip), %r14     # 0x3add8
leaq 0x2a216(%rip), %rcx     # 0x30b7e
movl $0x11, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x34481(%rip), %rdx     # 0x3ae00
leaq 0x34472(%rip), %r15     # 0x3adf8
leaq 0x2a203(%rip), %rcx     # 0x30b90
movl $0x2, %r8d
movq %r15, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x32a5c(%rip), %rax     # 0x39400
subq 0x32a4d(%rip), %rax     # 0x393f8
leaq 0x32a46(%rip), %r12     # 0x393f8
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
movl %eax, 0x34206(%rip)     # 0x3abc8
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1522e
movq 0x3440c(%rip), %rdx     # 0x3ade0
leaq 0x2a1b8(%rip), %rcx     # 0x30b93
movl $0x10, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x3440e(%rip), %rdx     # 0x3ae00
leaq 0x2a1ab(%rip), %rcx     # 0x30ba4
movl $0x2, %r8d
movq %r15, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x329f0(%rip), %rax     # 0x39400
subq 0x329e1(%rip), %rax     # 0x393f8
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
movl %eax, 0x341b9(%rip)     # 0x3abe0
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1522e
movq 0x343a7(%rip), %rdx     # 0x3ade0
leaq 0x2a167(%rip), %rcx     # 0x30ba7
movl $0x12, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x343a9(%rip), %rdx     # 0x3ae00
leaq 0x2a15c(%rip), %rcx     # 0x30bba
movl $0x3, %r8d
movq %r15, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x3298b(%rip), %rax     # 0x39400
subq 0x3297c(%rip), %rax     # 0x393f8
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
movl %eax, 0x34158(%rip)     # 0x3abe4
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1522e
movq 0x34342(%rip), %rdx     # 0x3ade0
leaq 0x2a119(%rip), %rcx     # 0x30bbe
movl $0x13, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x34344(%rip), %rdx     # 0x3ae00
leaq 0x2a10f(%rip), %rcx     # 0x30bd2
movl $0x2, %r8d
movq %r15, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x32926(%rip), %rax     # 0x39400
subq 0x32917(%rip), %rax     # 0x393f8
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
movl %eax, 0x340db(%rip)     # 0x3abcc
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1522e
movq 0x342dd(%rip), %rdx     # 0x3ade0
leaq 0x2a0cb(%rip), %rcx     # 0x30bd5
movl $0xc, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x342df(%rip), %rdx     # 0x3ae00
leaq 0x2a0ba(%rip), %rcx     # 0x30be2
movl $0x2, %r8d
movq %r15, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x328c1(%rip), %rax     # 0x39400
subq 0x328b2(%rip), %rax     # 0x393f8
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
movl %eax, 0x3407a(%rip)     # 0x3abd0
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1522e
movq 0x34278(%rip), %rdx     # 0x3ade0
leaq 0x2a076(%rip), %rcx     # 0x30be5
movl $0x1c, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x3427a(%rip), %rdx     # 0x3ae00
leaq 0x2a075(%rip), %rcx     # 0x30c02
movl $0x2, %r8d
movq %r15, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x3285c(%rip), %rax     # 0x39400
subq 0x3284d(%rip), %rax     # 0x393f8
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
movl %eax, 0x34019(%rip)     # 0x3abd4
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1522e
movq 0x34213(%rip), %rdx     # 0x3ade0
leaq 0x2a031(%rip), %rcx     # 0x30c05
movl $0x24, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x34215(%rip), %rdx     # 0x3ae00
leaq 0x2a038(%rip), %rcx     # 0x30c2a
movl $0x3, %r8d
movq %r15, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x327f7(%rip), %rax     # 0x39400
subq 0x327e8(%rip), %rax     # 0x393f8
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
movl %eax, 0x33fcc(%rip)     # 0x3abec
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1522e
movq 0x341ae(%rip), %rdx     # 0x3ade0
leaq 0x29ff5(%rip), %r13     # 0x30c2e
movl $0x5, %r8d
movq %r14, %rdi
xorl %esi, %esi
movq %r13, %rcx
callq 0x2410
movq 0x341ad(%rip), %rdx     # 0x3ae00
movl $0x5, %r8d
movq %r15, %rdi
xorl %esi, %esi
movq %r13, %rcx
callq 0x2410
movq 0x32793(%rip), %rax     # 0x39400
subq 0x32784(%rip), %rax     # 0x393f8
movl %ebp, 0x341be(%rip)     # 0x3ae38
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
movl %eax, 0x33f6a(%rip)     # 0x3abf4
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1522e
movq 0x34144(%rip), %rdx     # 0x3ade0
leaq 0x29f91(%rip), %rcx     # 0x30c34
movl $0x13, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x34146(%rip), %rdx     # 0x3ae00
leaq 0x29f87(%rip), %rcx     # 0x30c48
movl $0x2, %r8d
movq %r15, %rdi
xorl %esi, %esi
callq 0x2410
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1522e
movq 0x340fd(%rip), %rdx     # 0x3ade0
leaq 0x29f61(%rip), %rcx     # 0x30c4b
movl $0x10, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x340ff(%rip), %rdx     # 0x3ae00
leaq 0x29f54(%rip), %rcx     # 0x30c5c
movl $0x2, %r8d
movq %r15, %rdi
xorl %esi, %esi
callq 0x2410
movl $0xc2c60000, %ebp       # imm = 0xC2C60000
movq 0x326dc(%rip), %rax     # 0x39400
subq 0x326cd(%rip), %rax     # 0x393f8
movl %ebp, 0x34107(%rip)     # 0x3ae38
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
movl %eax, 0x33ea7(%rip)     # 0x3abe8
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1522e
movq 0x3408d(%rip), %rdx     # 0x3ade0
leaq 0x29f05(%rip), %rcx     # 0x30c5f
movl $0x11, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x3408f(%rip), %rdx     # 0x3ae00
leaq 0x29ef9(%rip), %rcx     # 0x30c71
movl $0x3, %r8d
movq %r15, %rdi
xorl %esi, %esi
callq 0x2410
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1522e
movq 0x34046(%rip), %rdx     # 0x3ade0
leaq 0x29ed4(%rip), %rcx     # 0x30c75
movl $0x10, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x32648(%rip), %rax     # 0x39400
subq 0x32639(%rip), %rax     # 0x393f8
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
movl %eax, 0x33e21(%rip)     # 0x3abf0
movq 0x3402a(%rip), %rdx     # 0x3ae00
leaq 0x29ea9(%rip), %rcx     # 0x30c86
movl $0x2, %r8d
movq %r15, %rdi
xorl %esi, %esi
callq 0x2410
movl %ebp, 0x34045(%rip)     # 0x3ae38
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1522e
movq 0x33fdb(%rip), %rdx     # 0x3ade0
leaq 0x29e7d(%rip), %rcx     # 0x30c89
movl $0x12, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x33fdd(%rip), %rdx     # 0x3ae00
leaq 0x29e72(%rip), %rcx     # 0x30c9c
movl $0x3, %r8d
movq %r15, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x325bf(%rip), %rax     # 0x39400
subq 0x325b0(%rip), %rax     # 0x393f8
movl $0xc0a00000, 0x33fe6(%rip) # imm = 0xC0A00000
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
movl %eax, 0x33d76(%rip)     # 0x3abd8
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1522e
movq 0x33f6c(%rip), %rdx     # 0x3ade0
leaq 0x29e25(%rip), %rcx     # 0x30ca0
movl $0x16, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x33f6e(%rip), %rdx     # 0x3ae00
leaq 0x29e1e(%rip), %rcx     # 0x30cb7
movl $0x3, %r8d
movq %r15, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x32550(%rip), %rax     # 0x39400
subq 0x32541(%rip), %rax     # 0x393f8
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
movl %eax, 0x33d31(%rip)     # 0x3abf8
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1522e
movq 0x33f07(%rip), %rdx     # 0x3ade0
leaq 0x29ddb(%rip), %rcx     # 0x30cbb
movl $0x10, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x33f09(%rip), %rdx     # 0x3ae00
leaq 0x29dce(%rip), %rcx     # 0x30ccc
movl $0x2, %r8d
movq %r15, %rdi
xorl %esi, %esi
callq 0x2410
movq 0x324eb(%rip), %rax     # 0x39400
subq 0x324dc(%rip), %rax     # 0x393f8
shrq $0x4, %rax
imull $0xb6db6db7, %eax, %eax # imm = 0xB6DB6DB7
movl %eax, 0x33e80(%rip)     # 0x3adac
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1522e
movq $0x0, 0x33e5e(%rip) # 0x3ada0
leaq 0x33f07(%rip), %rbx     # 0x3ae50
leaq 0x29d7f(%rip), %rsi     # 0x30ccf
leaq 0x329dd(%rip), %rdx     # 0x39934
movq %rbx, %rdi
xorl %eax, %eax
callq 0x2050
leaq 0x29d87(%rip), %rdi     # 0x30cef
xorl %eax, %eax
callq 0x2040
leaq 0x2baba(%rip), %rsi     # 0x32a30
movq %rbx, %rdi
callq 0x20a0
movq %rax, 0x33e1b(%rip)     # 0x3ada0
testq %rax, %rax
je 0x6fcb
leaq 0x29d63(%rip), %rdi     # 0x30cf4
xorl %eax, %eax
callq 0x2040
movq 0x33e01(%rip), %rdi     # 0x3ada0
callq 0x22c0
movl %eax, %ebx
movl %eax, %edi
movl $0x3, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x2160
orl $0x800, %eax            # imm = 0x800
movl %ebx, %edi
movl $0x4, %esi
movl %eax, %edx
xorl %eax, %eax
callq 0x2160
leaq 0x29d27(%rip), %rdi     # 0x30cf9
xorl %eax, %eax
callq 0x2040
movl $0x2, 0x32345(%rip)     # 0x39328
movq (%rsp), %rax
movq %rax, 0x33e52(%rip)     # 0x3ae40
movq %rax, %rcx
jmp 0x6ffe
movq (%rsp), %rcx
movq 0x33e42(%rip), %rax     # 0x3ae40
subq %rax, %rcx
cmpq $0x12d, %rcx            # imm = 0x12D
jl 0x7039
leaq 0x2ae51(%rip), %rdi     # 0x31e62
callq 0x2400
leaq 0x29ce1(%rip), %rdi     # 0x30cfe
xorl %eax, %eax
callq 0x2040
movq $0x0, 0x33d71(%rip) # 0x3ada0
movl $0x1, 0x322ef(%rip)     # 0x39328
cmpb $0x1, 0x32de5(%rip)     # 0x39e25
jne 0x704e
leaq 0x2ae1e(%rip), %rdi     # 0x31e67
callq 0x2400
cmpq $0x0, 0x33d4a(%rip)     # 0x3ada0
je 0x72e1
movq (%rsp), %rsi
subq 0x33dd9(%rip), %rsi     # 0x3ae40
leaq 0x29c95(%rip), %rdi     # 0x30d03
xorl %eax, %eax
callq 0x2040
movq 0x33d24(%rip), %rdx     # 0x3ada0
leaq 0x33e4d(%rip), %rdi     # 0x3aed0
movl $0x1000, %esi           # imm = 0x1000
callq 0x2440
testq %rax, %rax
je 0x72e1
leaq 0x33e33(%rip), %rbx     # 0x3aed0
cmpb $0x1, 0x32d81(%rip)     # 0x39e25
jne 0x70b4
leaq 0x29c5b(%rip), %rdi     # 0x30d08
xorl %eax, %eax
callq 0x2040
movq %rbx, %rdi
callq 0x2c943
movq %rax, 0x8(%rsp)
movq (%rsp), %rax
movq %rax, 0x33d74(%rip)     # 0x3ae40
movq 0x32325(%rip), %rax     # 0x393f8
cmpq %rax, 0x32326(%rip)     # 0x39400
je 0x720e
movl $0x8, %r15d
movl $0x48, %r13d
xorl %r12d, %r12d
movq (%rax,%r15), %rsi
movq 0x8(%rsp), %rdi
callq 0x2d1d7
testq %rax, %rax
je 0x71d7
movq %rax, %rbp
xorps %xmm0, %xmm0
cvtsd2ss 0x30(%rax), %xmm0
movq 0x322e0(%rip), %rbx     # 0x393f8
movss %xmm0, 0x20(%rbx,%r13)
movq (%rsp), %rax
movq %rax, -0x48(%rbx,%r13)
movq 0x20(%rbp), %r14
testq %r14, %r14
je 0x7162
movq 0x8(%rbx,%r13), %rax
movq %rax, 0x10(%rsp)
addq %r13, %rbx
movq %r14, %rdi
callq 0x2100
movq %rbx, %rdi
xorl %esi, %esi
movq 0x10(%rsp), %rdx
movq %r14, %rcx
movq %rax, %r8
callq 0x2410
movq 0x32296(%rip), %rbx     # 0x393f8
addq %r15, %rbx
movq %rbx, %rdi
leaq 0x29b4c(%rip), %rsi     # 0x30cbb
callq 0x2090
testl %eax, %eax
je 0x7192
movq 0x32279(%rip), %rdi     # 0x393f8
addq %r15, %rdi
leaq 0x29b17(%rip), %rsi     # 0x30ca0
callq 0x2090
testl %eax, %eax
jne 0x71d7
movq 0x10(%rbp), %rax
xorps %xmm0, %xmm0
cvtsd2ss 0x30(%rax), %xmm0
movq 0x32253(%rip), %rcx     # 0x393f8
leaq (%rcx,%r13), %rbx
movss %xmm0, 0x20(%rcx,%r13)
movq (%rax), %rax
movq 0x20(%rax), %r14
movq 0x8(%rcx,%r13), %rbp
movq %r14, %rdi
callq 0x2100
movq %rbx, %rdi
xorl %esi, %esi
movq %rbp, %rdx
movq %r14, %rcx
movq %rax, %r8
callq 0x2410
incq %r12
movq 0x3221f(%rip), %rcx     # 0x39400
movq 0x32210(%rip), %rax     # 0x393f8
subq %rax, %rcx
sarq $0x4, %rcx
movabsq $0x6db6db6db6db6db7, %rdx # imm = 0x6DB6DB6DB6DB6DB7
imulq %rdx, %rcx
addq $0x70, %r15
addq $0x70, %r13
cmpq %r12, %rcx
ja 0x70ef
movq 0x8(%rsp), %rdi
callq 0x2c288
movslq 0x339b5(%rip), %rax     # 0x3abd4
movq 0x321d2(%rip), %rcx     # 0x393f8
imulq $0x70, %rax, %rax
movss 0x68(%rcx,%rax), %xmm0
movss 0x291b0(%rip), %xmm1    # 0x303e8
mulss %xmm1, %xmm0
cvttss2si %xmm0, %eax
movl %eax, 0x34c8a(%rip)     # 0x3bed0
movslq 0x33983(%rip), %rdx     # 0x3abd0
imulq $0x70, %rdx, %rdx
movss 0x68(%rcx,%rdx), %xmm0
ucomiss 0x291aa(%rip), %xmm0    # 0x30408
mulss %xmm1, %xmm0
cvttss2si %xmm0, %ecx
movl $0x0, %edx
cmovbel %edx, %ecx
movl %ecx, 0x34c60(%rip)     # 0x3bed4
movl 0x320b2(%rip), %ecx     # 0x3932c
testl %eax, %eax
jne 0x729e
testl %ecx, %ecx
jle 0x729e
cmpl $0x0, 0x32087(%rip)     # 0x39310
jne 0x729e
movl $0x2bc, 0x34c3b(%rip)   # imm = 0x2BC
leaq 0x33c34(%rip), %rbx     # 0x3aed0
jmp 0x72c4
testl %eax, %eax
setg %al
testl %ecx, %ecx
sete %cl
andb %al, %cl
cmpb $0x1, %cl
leaq 0x33c1c(%rip), %rbx     # 0x3aed0
jne 0x72c4
xorl %eax, %eax
movl %eax, 0x34c12(%rip)     # 0x3bed0
movl %eax, 0x34c10(%rip)     # 0x3bed4
movq 0x33ad5(%rip), %rdx     # 0x3ada0
movq %rbx, %rdi
movl $0x1000, %esi           # imm = 0x1000
callq 0x2440
testq %rax, %rax
jne 0x709d
cmpb $0x1, 0x32b3d(%rip)     # 0x39e25
jne 0x72f6
leaq 0x2ab7a(%rip), %rdi     # 0x31e6b
callq 0x2400
cmpq $0x0, 0x33aa2(%rip)     # 0x3ada0
jne 0x730a
movl $0x1, 0x3201e(%rip)     # 0x39328
cmpb $0x1, 0x32b14(%rip)     # 0x39e25
jne 0x731f
leaq 0x2ab56(%rip), %rdi     # 0x31e70
callq 0x2400
movl 0x32003(%rip), %eax     # 0x39328
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq