// File: 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:
subq $0x68, %rsp
leaq 0x60(%rsp), %rdi
callq 0x2280
leaq 0x673eb(%rip), %rdi     # 0x6e970
leaq 0x58d8b(%rip), %rsi     # 0x60317
callq 0x23c0
cmpl $0x0, %eax
je 0x7f6b
testb $0x1, 0x678c7(%rip)     # 0x6ee68
je 0x7f6b
cmpl $0x2, 0x66d9a(%rip)     # 0x6e348
jge 0x7bc1
leaq 0x66e7d(%rip), %rdi     # 0x6e438
callq 0x1cc40
cmpq $0x0, %rax
jne 0x7aeb
xorps %xmm0, %xmm0
movss %xmm0, 0x688ab(%rip)    # 0x6fe80
movq $0x0, 0x68838(%rip) # 0x6fe18
leaq 0x68831(%rip), %rdi     # 0x6fe18
addq $0x48, %rdi
leaq 0x5ab16(%rip), %rsi     # 0x62108
callq 0x2380
leaq 0x6881a(%rip), %rdi     # 0x6fe18
addq $0x8, %rdi
leaq 0x59312(%rip), %rsi     # 0x6091b
callq 0x2380
leaq 0x68803(%rip), %rdi     # 0x6fe18
addq $0x28, %rdi
leaq 0x5930d(%rip), %rsi     # 0x6092d
callq 0x2380
leaq 0x66e0c(%rip), %rdi     # 0x6e438
callq 0x1cc40
movl %eax, 0x685d5(%rip)     # 0x6fc0c
leaq 0x66dfa(%rip), %rdi     # 0x6e438
leaq 0x687d3(%rip), %rsi     # 0x6fe18
callq 0x1cd80
leaq 0x687c7(%rip), %rdi     # 0x6fe18
addq $0x8, %rdi
leaq 0x592d4(%rip), %rsi     # 0x60930
callq 0x2380
leaq 0x687b0(%rip), %rdi     # 0x6fe18
addq $0x28, %rdi
leaq 0x592ce(%rip), %rsi     # 0x60941
callq 0x2380
leaq 0x66db9(%rip), %rdi     # 0x6e438
callq 0x1cc40
movl %eax, 0x6859a(%rip)     # 0x6fc24
leaq 0x66da7(%rip), %rdi     # 0x6e438
leaq 0x68780(%rip), %rsi     # 0x6fe18
callq 0x1cd80
leaq 0x68774(%rip), %rdi     # 0x6fe18
addq $0x8, %rdi
leaq 0x59295(%rip), %rsi     # 0x60944
callq 0x2380
leaq 0x6875d(%rip), %rdi     # 0x6fe18
addq $0x28, %rdi
leaq 0x59291(%rip), %rsi     # 0x60957
callq 0x2380
leaq 0x66d66(%rip), %rdi     # 0x6e438
callq 0x1cc40
movl %eax, 0x6854b(%rip)     # 0x6fc28
leaq 0x66d54(%rip), %rdi     # 0x6e438
leaq 0x6872d(%rip), %rsi     # 0x6fe18
callq 0x1cd80
leaq 0x68721(%rip), %rdi     # 0x6fe18
addq $0x8, %rdi
leaq 0x59259(%rip), %rsi     # 0x6095b
callq 0x2380
leaq 0x6870a(%rip), %rdi     # 0x6fe18
addq $0x28, %rdi
leaq 0x59256(%rip), %rsi     # 0x6096f
callq 0x2380
leaq 0x66d13(%rip), %rdi     # 0x6e438
callq 0x1cc40
movl %eax, 0x684e0(%rip)     # 0x6fc10
leaq 0x66d01(%rip), %rdi     # 0x6e438
leaq 0x686da(%rip), %rsi     # 0x6fe18
callq 0x1cd80
leaq 0x686ce(%rip), %rdi     # 0x6fe18
addq $0x8, %rdi
leaq 0x5921d(%rip), %rsi     # 0x60972
callq 0x2380
leaq 0x686b7(%rip), %rdi     # 0x6fe18
addq $0x28, %rdi
leaq 0x59213(%rip), %rsi     # 0x6097f
callq 0x2380
leaq 0x66cc0(%rip), %rdi     # 0x6e438
callq 0x1cc40
movl %eax, 0x68491(%rip)     # 0x6fc14
leaq 0x66cae(%rip), %rdi     # 0x6e438
leaq 0x68687(%rip), %rsi     # 0x6fe18
callq 0x1cd80
leaq 0x6867b(%rip), %rdi     # 0x6fe18
addq $0x8, %rdi
leaq 0x591da(%rip), %rsi     # 0x60982
callq 0x2380
leaq 0x68664(%rip), %rdi     # 0x6fe18
addq $0x28, %rdi
leaq 0x591e0(%rip), %rsi     # 0x6099f
callq 0x2380
leaq 0x66c6d(%rip), %rdi     # 0x6e438
callq 0x1cc40
movl %eax, 0x68442(%rip)     # 0x6fc18
leaq 0x66c5b(%rip), %rdi     # 0x6e438
leaq 0x68634(%rip), %rsi     # 0x6fe18
callq 0x1cd80
leaq 0x68628(%rip), %rdi     # 0x6fe18
addq $0x8, %rdi
leaq 0x591a7(%rip), %rsi     # 0x609a2
callq 0x2380
leaq 0x68611(%rip), %rdi     # 0x6fe18
addq $0x28, %rdi
leaq 0x591b5(%rip), %rsi     # 0x609c7
callq 0x2380
leaq 0x66c1a(%rip), %rdi     # 0x6e438
callq 0x1cc40
movl %eax, 0x68407(%rip)     # 0x6fc30
leaq 0x66c08(%rip), %rdi     # 0x6e438
leaq 0x685e1(%rip), %rsi     # 0x6fe18
callq 0x1cd80
leaq 0x685d5(%rip), %rdi     # 0x6fe18
addq $0x8, %rdi
leaq 0x5917d(%rip), %rsi     # 0x609cb
callq 0x2380
leaq 0x685be(%rip), %rdi     # 0x6fe18
addq $0x28, %rdi
leaq 0x59166(%rip), %rsi     # 0x609cb
callq 0x2380
xorps %xmm0, %xmm0
movss %xmm0, 0x6860b(%rip)    # 0x6fe80
leaq 0x66bbc(%rip), %rdi     # 0x6e438
callq 0x1cc40
movl %eax, 0x683b1(%rip)     # 0x6fc38
leaq 0x66baa(%rip), %rdi     # 0x6e438
leaq 0x68583(%rip), %rsi     # 0x6fe18
callq 0x1cd80
leaq 0x68577(%rip), %rdi     # 0x6fe18
addq $0x8, %rdi
leaq 0x59125(%rip), %rsi     # 0x609d1
callq 0x2380
leaq 0x68560(%rip), %rdi     # 0x6fe18
addq $0x28, %rdi
leaq 0x59122(%rip), %rsi     # 0x609e5
callq 0x2380
leaq 0x66b69(%rip), %rdi     # 0x6e438
leaq 0x68542(%rip), %rsi     # 0x6fe18
callq 0x1cd80
leaq 0x68536(%rip), %rdi     # 0x6fe18
addq $0x8, %rdi
leaq 0x590fb(%rip), %rsi     # 0x609e8
callq 0x2380
leaq 0x6851f(%rip), %rdi     # 0x6fe18
addq $0x28, %rdi
leaq 0x590f5(%rip), %rsi     # 0x609f9
callq 0x2380
movss 0x586fb(%rip), %xmm0    # 0x6000c
movss %xmm0, 0x68567(%rip)    # 0x6fe80
leaq 0x66b18(%rip), %rdi     # 0x6e438
callq 0x1cc40
movl %eax, 0x68301(%rip)     # 0x6fc2c
leaq 0x66b06(%rip), %rdi     # 0x6e438
leaq 0x684df(%rip), %rsi     # 0x6fe18
callq 0x1cd80
leaq 0x684d3(%rip), %rdi     # 0x6fe18
addq $0x8, %rdi
leaq 0x590ac(%rip), %rsi     # 0x609fc
callq 0x2380
leaq 0x684bc(%rip), %rdi     # 0x6fe18
addq $0x28, %rdi
leaq 0x590a7(%rip), %rsi     # 0x60a0e
callq 0x2380
leaq 0x66ac5(%rip), %rdi     # 0x6e438
leaq 0x6849e(%rip), %rsi     # 0x6fe18
callq 0x1cd80
leaq 0x68492(%rip), %rdi     # 0x6fe18
addq $0x8, %rdi
leaq 0x59081(%rip), %rsi     # 0x60a12
callq 0x2380
leaq 0x66a9b(%rip), %rdi     # 0x6e438
callq 0x1cc40
movl %eax, 0x6828c(%rip)     # 0x6fc34
leaq 0x68469(%rip), %rdi     # 0x6fe18
addq $0x28, %rdi
leaq 0x59069(%rip), %rsi     # 0x60a23
callq 0x2380
movss 0x58645(%rip), %xmm0    # 0x6000c
movss %xmm0, 0x684b1(%rip)    # 0x6fe80
leaq 0x66a62(%rip), %rdi     # 0x6e438
leaq 0x6843b(%rip), %rsi     # 0x6fe18
callq 0x1cd80
leaq 0x6842f(%rip), %rdi     # 0x6fe18
addq $0x8, %rdi
leaq 0x59032(%rip), %rsi     # 0x60a26
callq 0x2380
leaq 0x68418(%rip), %rdi     # 0x6fe18
addq $0x28, %rdi
leaq 0x5902e(%rip), %rsi     # 0x60a39
callq 0x2380
movss 0x58644(%rip), %xmm0    # 0x6005c
movss %xmm0, 0x68460(%rip)    # 0x6fe80
leaq 0x66a11(%rip), %rdi     # 0x6e438
callq 0x1cc40
movl %eax, 0x681ea(%rip)     # 0x6fc1c
leaq 0x669ff(%rip), %rdi     # 0x6e438
leaq 0x683d8(%rip), %rsi     # 0x6fe18
callq 0x1cd80
leaq 0x683cc(%rip), %rdi     # 0x6fe18
addq $0x8, %rdi
leaq 0x58fe6(%rip), %rsi     # 0x60a3d
callq 0x2380
leaq 0x683b5(%rip), %rdi     # 0x6fe18
addq $0x28, %rdi
leaq 0x58fe6(%rip), %rsi     # 0x60a54
callq 0x2380
leaq 0x669be(%rip), %rdi     # 0x6e438
callq 0x1cc40
movl %eax, 0x681b7(%rip)     # 0x6fc3c
leaq 0x669ac(%rip), %rdi     # 0x6e438
leaq 0x68385(%rip), %rsi     # 0x6fe18
callq 0x1cd80
leaq 0x68379(%rip), %rdi     # 0x6fe18
addq $0x8, %rdi
leaq 0x58fae(%rip), %rsi     # 0x60a58
callq 0x2380
leaq 0x68362(%rip), %rdi     # 0x6fe18
addq $0x28, %rdi
leaq 0x58fa8(%rip), %rsi     # 0x60a69
callq 0x2380
leaq 0x6696b(%rip), %rdi     # 0x6e438
callq 0x1cc40
movl %eax, 0x6831c(%rip)     # 0x6fdf4
leaq 0x66959(%rip), %rdi     # 0x6e438
leaq 0x68332(%rip), %rsi     # 0x6fe18
callq 0x1cd80
movq $0x0, 0x682f2(%rip) # 0x6fde8
leaq 0x68393(%rip), %rdi     # 0x6fe90
leaq 0x58f68(%rip), %rsi     # 0x60a6c
leaq 0x66e29(%rip), %rdx     # 0x6e934
addq $0x3c, %rdx
movb $0x0, %al
callq 0x2060
leaq 0x58f6f(%rip), %rdi     # 0x60a8c
movb $0x0, %al
callq 0x2040
leaq 0x68365(%rip), %rdi     # 0x6fe90
leaq 0x58cd1(%rip), %rsi     # 0x60803
callq 0x20b0
movq %rax, 0x682aa(%rip)     # 0x6fde8
cmpq $0x0, 0x682a2(%rip)     # 0x6fde8
je 0x7b9d
leaq 0x58f42(%rip), %rdi     # 0x60a91
movb $0x0, %al
callq 0x2040
movq 0x6828b(%rip), %rdi     # 0x6fde8
callq 0x22f0
movl %eax, 0x5c(%rsp)
movl 0x5c(%rsp), %edi
movl $0x3, %esi
xorl %edx, %edx
movb $0x0, %al
callq 0x2190
movl %eax, 0x58(%rsp)
movl 0x58(%rsp), %eax
orl $0x800, %eax            # imm = 0x800
movl %eax, 0x58(%rsp)
movl 0x5c(%rsp), %edi
movl 0x58(%rsp), %edx
movl $0x4, %esi
movb $0x0, %al
callq 0x2190
leaq 0x58ef2(%rip), %rdi     # 0x60a96
movb $0x0, %al
callq 0x2040
movl $0x2, 0x66793(%rip)     # 0x6e348
movq 0x60(%rsp), %rax
movq %rax, 0x682c7(%rip)     # 0x6fe88
movq 0x60(%rsp), %rax
subq 0x682bb(%rip), %rax     # 0x6fe88
cmpq $0x12c, %rax            # imm = 0x12C
jle 0x7c06
leaq 0x58ebf(%rip), %rdi     # 0x60a9b
movb $0x0, %al
callq 0x2040
leaq 0x58eb7(%rip), %rdi     # 0x60aa1
movb $0x0, %al
callq 0x2040
movq $0x0, 0x681ec(%rip) # 0x6fde8
movl $0x1, 0x66742(%rip)     # 0x6e348
testb $0x1, 0x67254(%rip)     # 0x6ee61
je 0x7c1d
leaq 0x58e90(%rip), %rdi     # 0x60aa6
movb $0x0, %al
callq 0x2040
cmpq $0x0, 0x681c3(%rip)     # 0x6fde8
je 0x7f69
movq 0x60(%rsp), %rsi
subq 0x68251(%rip), %rsi     # 0x6fe88
leaq 0x58e6d(%rip), %rdi     # 0x60aab
movb $0x0, %al
callq 0x2040
movq 0x6819c(%rip), %rdx     # 0x6fde8
leaq 0x682bd(%rip), %rdi     # 0x6ff10
movl $0x1000, %esi           # imm = 0x1000
callq 0x2450
cmpq $0x0, %rax
je 0x7f67
testb $0x1, 0x671f3(%rip)     # 0x6ee61
je 0x7c7e
leaq 0x58e39(%rip), %rdi     # 0x60ab0
movb $0x0, %al
callq 0x2040
movq $0x0, 0x50(%rsp)
leaq 0x68282(%rip), %rdi     # 0x6ff10
callq 0x599d0
movq %rax, 0x48(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x681e4(%rip)     # 0x6fe88
movl $0x0, 0x44(%rsp)
movslq 0x44(%rsp), %rax
movq %rax, 0x30(%rsp)
leaq 0x6677b(%rip), %rdi     # 0x6e438
callq 0x1cc40
movq %rax, %rcx
movq 0x30(%rsp), %rax
cmpq %rcx, %rax
jae 0x7e89
movslq 0x44(%rsp), %rsi
leaq 0x66759(%rip), %rdi     # 0x6e438
callq 0x1cc60
movq %rax, %rdi
addq $0x8, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x2550
movq %rax, 0x38(%rsp)
movq 0x48(%rsp), %rdi
movq 0x38(%rsp), %rsi
callq 0x5a2f0
movq %rax, 0x50(%rsp)
cmpq $0x0, 0x50(%rsp)
je 0x7e77
movq 0x50(%rsp), %rax
movsd 0x30(%rax), %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0x24(%rsp)
movslq 0x44(%rsp), %rsi
leaq 0x666ff(%rip), %rdi     # 0x6e438
callq 0x1cc60
movss 0x24(%rsp), %xmm0
movss %xmm0, 0x68(%rax)
movq 0x60(%rsp), %rax
movq %rax, 0x28(%rsp)
movslq 0x44(%rsp), %rsi
leaq 0x666d9(%rip), %rdi     # 0x6e438
callq 0x1cc60
movq 0x28(%rsp), %rcx
movq %rcx, (%rax)
movq 0x50(%rsp), %rax
cmpq $0x0, 0x20(%rax)
je 0x7da8
movq 0x50(%rsp), %rax
movq 0x20(%rax), %rax
movq %rax, 0x18(%rsp)
movslq 0x44(%rsp), %rsi
leaq 0x666a6(%rip), %rdi     # 0x6e438
callq 0x1cc60
movq 0x18(%rsp), %rsi
movq %rax, %rdi
addq $0x48, %rdi
callq 0x2380
movslq 0x44(%rsp), %rsi
leaq 0x66684(%rip), %rdi     # 0x6e438
callq 0x1cc60
movq %rax, %rdi
addq $0x8, %rdi
leaq 0x58c91(%rip), %rsi     # 0x60a58
callq 0x1cdf0
testb $0x1, %al
jne 0x7dfa
movslq 0x44(%rsp), %rsi
leaq 0x6665c(%rip), %rdi     # 0x6e438
callq 0x1cc60
movq %rax, %rdi
addq $0x8, %rdi
leaq 0x58c4e(%rip), %rsi     # 0x60a3d
callq 0x1cdf0
testb $0x1, %al
jne 0x7dfa
jmp 0x7e75
movq 0x50(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x50(%rsp)
movq 0x50(%rsp), %rax
movsd 0x30(%rax), %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0xc(%rsp)
movslq 0x44(%rsp), %rsi
leaq 0x66610(%rip), %rdi     # 0x6e438
callq 0x1cc60
movss 0xc(%rsp), %xmm0
movss %xmm0, 0x68(%rax)
movq 0x50(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x50(%rsp)
movq 0x50(%rsp), %rax
movq 0x20(%rax), %rax
movq %rax, 0x10(%rsp)
movslq 0x44(%rsp), %rsi
leaq 0x665d9(%rip), %rdi     # 0x6e438
callq 0x1cc60
movq 0x10(%rsp), %rsi
movq %rax, %rdi
addq $0x48, %rdi
callq 0x2380
jmp 0x7e77
jmp 0x7e79
movl 0x44(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x44(%rsp)
jmp 0x7cac
movq 0x48(%rsp), %rdi
callq 0x58fa0
movslq 0x67d7e(%rip), %rsi     # 0x6fc18
leaq 0x66597(%rip), %rdi     # 0x6e438
callq 0x1cc60
movss 0x5819e(%rip), %xmm0    # 0x6004c
mulss 0x68(%rax), %xmm0
cvttss2si %xmm0, %eax
movl %eax, 0x69053(%rip)     # 0x70f10
movslq 0x67d50(%rip), %rsi     # 0x6fc14
leaq 0x6656d(%rip), %rdi     # 0x6e438
callq 0x1cc60
movss 0x68(%rax), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe 0x7f09
movslq 0x67d30(%rip), %rsi     # 0x6fc14
leaq 0x6654d(%rip), %rdi     # 0x6e438
callq 0x1cc60
movss 0x58154(%rip), %xmm0    # 0x6004c
mulss 0x68(%rax), %xmm0
cvttss2si %xmm0, %eax
movl %eax, 0x6900d(%rip)     # 0x70f14
jmp 0x7f13
movl $0x0, 0x69001(%rip)     # 0x70f14
cmpl $0x0, 0x68ff6(%rip)     # 0x70f10
jne 0x7f3a
cmpl $0x0, 0x66429(%rip)     # 0x6e34c
jle 0x7f3a
cmpl $0x0, 0x66404(%rip)     # 0x6e330
jne 0x7f3a
movl $0x2bc, 0x68fd8(%rip)   # imm = 0x2BC
jmp 0x7f62
cmpl $0x0, 0x68fcf(%rip)     # 0x70f10
jle 0x7f60
cmpl $0x0, 0x66402(%rip)     # 0x6e34c
jne 0x7f60
movl $0x0, 0x68fba(%rip)     # 0x70f10
movl $0x0, 0x68fb4(%rip)     # 0x70f14
jmp 0x7f62
jmp 0x7c45
jmp 0x7f69
jmp 0x7f6b
testb $0x1, 0x66eef(%rip)     # 0x6ee61
je 0x7f82
leaq 0x58b39(%rip), %rdi     # 0x60ab4
movb $0x0, %al
callq 0x2040
cmpq $0x0, 0x67e5e(%rip)     # 0x6fde8
jne 0x7f96
movl $0x1, 0x663b2(%rip)     # 0x6e348
testb $0x1, 0x66ec4(%rip)     # 0x6ee61
je 0x7fad
leaq 0x58b14(%rip), %rdi     # 0x60aba
movb $0x0, %al
callq 0x2040
movl 0x66395(%rip), %eax     # 0x6e348
addq $0x68, %rsp
retq
nopl (%rax,%rax)