// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imgui.cpp
// Function: ImGui::ShowMetricsWindow(bool*)
void ImGui::ShowMetricsWindow(bool* p_open)
{
    if (!Begin("Dear ImGui Metrics/Debugger", p_open))
    {
        End();
        return;
    }

    ImGuiContext& g = *GImGui;
    ImGuiIO& io = g.IO;
    ImGuiMetricsConfig* cfg = &g.DebugMetricsConfig;

    // Basic info
    Text("Dear ImGui %s", ImGui::GetVersion());
    Text("Application average %.3f ms/frame (%.1f FPS)", 1000.0f / io.Framerate, io.Framerate);
    Text("%d vertices, %d indices (%d triangles)", io.MetricsRenderVertices, io.MetricsRenderIndices, io.MetricsRenderIndices / 3);
    Text("%d active windows (%d visible)", io.MetricsActiveWindows, io.MetricsRenderWindows);
    Text("%d active allocations", io.MetricsActiveAllocations);
    //SameLine(); if (SmallButton("GC")) { g.GcCompactAll = true; }

    Separator();

    // Debugging enums
    enum { WRT_OuterRect, WRT_OuterRectClipped, WRT_InnerRect, WRT_InnerClipRect, WRT_WorkRect, WRT_Content, WRT_ContentIdeal, WRT_ContentRegionRect, WRT_Count }; // Windows Rect Type
    const char* wrt_rects_names[WRT_Count] = { "OuterRect", "OuterRectClipped", "InnerRect", "InnerClipRect", "WorkRect", "Content", "ContentIdeal", "ContentRegionRect" };
    enum { TRT_OuterRect, TRT_InnerRect, TRT_WorkRect, TRT_HostClipRect, TRT_InnerClipRect, TRT_BackgroundClipRect, TRT_ColumnsRect, TRT_ColumnsWorkRect, TRT_ColumnsClipRect, TRT_ColumnsContentHeadersUsed, TRT_ColumnsContentHeadersIdeal, TRT_ColumnsContentFrozen, TRT_ColumnsContentUnfrozen, TRT_Count }; // Tables Rect Type
    const char* trt_rects_names[TRT_Count] = { "OuterRect", "InnerRect", "WorkRect", "HostClipRect", "InnerClipRect", "BackgroundClipRect", "ColumnsRect", "ColumnsWorkRect", "ColumnsClipRect", "ColumnsContentHeadersUsed", "ColumnsContentHeadersIdeal", "ColumnsContentFrozen", "ColumnsContentUnfrozen" };
    if (cfg->ShowWindowsRectsType < 0)
        cfg->ShowWindowsRectsType = WRT_WorkRect;
    if (cfg->ShowTablesRectsType < 0)
        cfg->ShowTablesRectsType = TRT_WorkRect;

    struct Funcs
    {
        static ImRect GetTableRect(ImGuiTable* table, int rect_type, int n)
        {
            if (rect_type == TRT_OuterRect)                     { return table->OuterRect; }
            else if (rect_type == TRT_InnerRect)                { return table->InnerRect; }
            else if (rect_type == TRT_WorkRect)                 { return table->WorkRect; }
            else if (rect_type == TRT_HostClipRect)             { return table->HostClipRect; }
            else if (rect_type == TRT_InnerClipRect)            { return table->InnerClipRect; }
            else if (rect_type == TRT_BackgroundClipRect)       { return table->BgClipRect; }
            else if (rect_type == TRT_ColumnsRect)              { ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->MinX, table->InnerClipRect.Min.y, c->MaxX, table->InnerClipRect.Min.y + table->LastOuterHeight); }
            else if (rect_type == TRT_ColumnsWorkRect)          { ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->WorkRect.Min.y, c->WorkMaxX, table->WorkRect.Max.y); }
            else if (rect_type == TRT_ColumnsClipRect)          { ImGuiTableColumn* c = &table->Columns[n]; return c->ClipRect; }
            else if (rect_type == TRT_ColumnsContentHeadersUsed){ ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y, c->ContentMaxXHeadersUsed, table->InnerClipRect.Min.y + table->LastFirstRowHeight); } // Note: y1/y2 not always accurate
            else if (rect_type == TRT_ColumnsContentHeadersIdeal){ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y, c->ContentMaxXHeadersIdeal, table->InnerClipRect.Min.y + table->LastFirstRowHeight); }
            else if (rect_type == TRT_ColumnsContentFrozen)     { ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y, c->ContentMaxXFrozen, table->InnerClipRect.Min.y + table->LastFirstRowHeight); }
            else if (rect_type == TRT_ColumnsContentUnfrozen)   { ImGuiTableColumn* c = &table->Columns[n]; return ImRect(c->WorkMinX, table->InnerClipRect.Min.y + table->LastFirstRowHeight, c->ContentMaxXUnfrozen, table->InnerClipRect.Max.y); }
            IM_ASSERT(0);
            return ImRect();
        }

        static ImRect GetWindowRect(ImGuiWindow* window, int rect_type)
        {
            if (rect_type == WRT_OuterRect)                 { return window->Rect(); }
            else if (rect_type == WRT_OuterRectClipped)     { return window->OuterRectClipped; }
            else if (rect_type == WRT_InnerRect)            { return window->InnerRect; }
            else if (rect_type == WRT_InnerClipRect)        { return window->InnerClipRect; }
            else if (rect_type == WRT_WorkRect)             { return window->WorkRect; }
            else if (rect_type == WRT_Content)       { ImVec2 min = window->InnerRect.Min - window->Scroll + window->WindowPadding; return ImRect(min, min + window->ContentSize); }
            else if (rect_type == WRT_ContentIdeal)         { ImVec2 min = window->InnerRect.Min - window->Scroll + window->WindowPadding; return ImRect(min, min + window->ContentSizeIdeal); }
            else if (rect_type == WRT_ContentRegionRect)    { return window->ContentRegionRect; }
            IM_ASSERT(0);
            return ImRect();
        }
    };

    // Tools
    if (TreeNode("Tools"))
    {
        // The Item Picker tool is super useful to visually select an item and break into the call-stack of where it was submitted.
        if (Button("Item Picker.."))
            DebugStartItemPicker();
        SameLine();
        MetricsHelpMarker("Will call the IM_DEBUG_BREAK() macro to break in debugger.\nWarning: If you don't have a debugger attached, this will probably crash.");

        Checkbox("Show windows begin order", &cfg->ShowWindowsBeginOrder);
        Checkbox("Show windows rectangles", &cfg->ShowWindowsRects);
        SameLine();
        SetNextItemWidth(GetFontSize() * 12);
        cfg->ShowWindowsRects |= Combo("##show_windows_rect_type", &cfg->ShowWindowsRectsType, wrt_rects_names, WRT_Count, WRT_Count);
        if (cfg->ShowWindowsRects && g.NavWindow != NULL)
        {
            BulletText("'%s':", g.NavWindow->Name);
            Indent();
            for (int rect_n = 0; rect_n < WRT_Count; rect_n++)
            {
                ImRect r = Funcs::GetWindowRect(g.NavWindow, rect_n);
                Text("(%6.1f,%6.1f) (%6.1f,%6.1f) Size (%6.1f,%6.1f) %s", r.Min.x, r.Min.y, r.Max.x, r.Max.y, r.GetWidth(), r.GetHeight(), wrt_rects_names[rect_n]);
            }
            Unindent();
        }
        Checkbox("Show ImDrawCmd mesh when hovering", &cfg->ShowDrawCmdMesh);
        Checkbox("Show ImDrawCmd bounding boxes when hovering", &cfg->ShowDrawCmdBoundingBoxes);

        Checkbox("Show tables rectangles", &cfg->ShowTablesRects);
        SameLine();
        SetNextItemWidth(GetFontSize() * 12);
        cfg->ShowTablesRects |= Combo("##show_table_rects_type", &cfg->ShowTablesRectsType, trt_rects_names, TRT_Count, TRT_Count);
        if (cfg->ShowTablesRects && g.NavWindow != NULL)
        {
            for (int table_n = 0; table_n < g.Tables.GetSize(); table_n++)
            {
                ImGuiTable* table = g.Tables.GetByIndex(table_n);
                if (table->LastFrameActive < g.FrameCount - 1 || (table->OuterWindow != g.NavWindow && table->InnerWindow != g.NavWindow))
                    continue;

                BulletText("Table 0x%08X (%d columns, in '%s')", table->ID, table->ColumnsCount, table->OuterWindow->Name);
                if (IsItemHovered())
                    GetForegroundDrawList()->AddRect(table->OuterRect.Min - ImVec2(1, 1), table->OuterRect.Max + ImVec2(1, 1), IM_COL32(255, 255, 0, 255), 0.0f, ~0, 2.0f);
                Indent();
                char buf[128];
                for (int rect_n = 0; rect_n < TRT_Count; rect_n++)
                {
                    if (rect_n >= TRT_ColumnsRect)
                    {
                        if (rect_n != TRT_ColumnsRect && rect_n != TRT_ColumnsClipRect)
                            continue;
                        for (int column_n = 0; column_n < table->ColumnsCount; column_n++)
                        {
                            ImRect r = Funcs::GetTableRect(table, rect_n, column_n);
                            ImFormatString(buf, IM_ARRAYSIZE(buf), "(%6.1f,%6.1f) (%6.1f,%6.1f) Size (%6.1f,%6.1f) Col %d %s", r.Min.x, r.Min.y, r.Max.x, r.Max.y, r.GetWidth(), r.GetHeight(), column_n, trt_rects_names[rect_n]);
                            Selectable(buf);
                            if (IsItemHovered())
                                GetForegroundDrawList()->AddRect(r.Min - ImVec2(1, 1), r.Max + ImVec2(1, 1), IM_COL32(255, 255, 0, 255), 0.0f, ~0, 2.0f);
                        }
                    }
                    else
                    {
                        ImRect r = Funcs::GetTableRect(table, rect_n, -1);
                        ImFormatString(buf, IM_ARRAYSIZE(buf), "(%6.1f,%6.1f) (%6.1f,%6.1f) Size (%6.1f,%6.1f) %s", r.Min.x, r.Min.y, r.Max.x, r.Max.y, r.GetWidth(), r.GetHeight(), trt_rects_names[rect_n]);
                        Selectable(buf);
                        if (IsItemHovered())
                            GetForegroundDrawList()->AddRect(r.Min - ImVec2(1, 1), r.Max + ImVec2(1, 1), IM_COL32(255, 255, 0, 255), 0.0f, ~0, 2.0f);
                    }
                }
                Unindent();
            }
        }

        TreePop();
    }

    // Contents
    DebugNodeWindowsList(&g.Windows, "Windows");
    //DebugNodeWindowList(&g.WindowsFocusOrder, "WindowsFocusOrder");
    if (TreeNode("DrawLists", "Active DrawLists (%d)", g.DrawDataBuilder.Layers[0].Size))
    {
        for (int i = 0; i < g.DrawDataBuilder.Layers[0].Size; i++)
            DebugNodeDrawList(NULL, g.DrawDataBuilder.Layers[0][i], "DrawList");
        TreePop();
    }

    // Details for Popups
    if (TreeNode("Popups", "Popups (%d)", g.OpenPopupStack.Size))
    {
        for (int i = 0; i < g.OpenPopupStack.Size; i++)
        {
            ImGuiWindow* window = g.OpenPopupStack[i].Window;
            BulletText("PopupID: %08x, Window: '%s'%s%s", g.OpenPopupStack[i].PopupId, window ? window->Name : "NULL", window && (window->Flags & ImGuiWindowFlags_ChildWindow) ? " ChildWindow" : "", window && (window->Flags & ImGuiWindowFlags_ChildMenu) ? " ChildMenu" : "");
        }
        TreePop();
    }

    // Details for TabBars
    if (TreeNode("TabBars", "Tab Bars (%d)", g.TabBars.GetSize()))
    {
        for (int n = 0; n < g.TabBars.GetSize(); n++)
            DebugNodeTabBar(g.TabBars.GetByIndex(n), "TabBar");
        TreePop();
    }

    // Details for Tables
#ifdef IMGUI_HAS_TABLE
    if (TreeNode("Tables", "Tables (%d)", g.Tables.GetSize()))
    {
        for (int n = 0; n < g.Tables.GetSize(); n++)
            DebugNodeTable(g.Tables.GetByIndex(n));
        TreePop();
    }
#endif // #ifdef IMGUI_HAS_TABLE

    // Details for Docking
#ifdef IMGUI_HAS_DOCK
    if (TreeNode("Docking"))
    {
        TreePop();
    }
#endif // #ifdef IMGUI_HAS_DOCK

    // Settings
    if (TreeNode("Settings"))
    {
        if (SmallButton("Clear"))
            ClearIniSettings();
        SameLine();
        if (SmallButton("Save to memory"))
            SaveIniSettingsToMemory();
        SameLine();
        if (SmallButton("Save to disk"))
            SaveIniSettingsToDisk(g.IO.IniFilename);
        SameLine();
        if (g.IO.IniFilename)
            Text("\"%s\"", g.IO.IniFilename);
        else
            TextUnformatted("<NULL>");
        Text("SettingsDirtyTimer %.2f", g.SettingsDirtyTimer);
        if (TreeNode("SettingsHandlers", "Settings handlers: (%d)", g.SettingsHandlers.Size))
        {
            for (int n = 0; n < g.SettingsHandlers.Size; n++)
                BulletText("%s", g.SettingsHandlers[n].TypeName);
            TreePop();
        }
        if (TreeNode("SettingsWindows", "Settings packed data: Windows: %d bytes", g.SettingsWindows.size()))
        {
            for (ImGuiWindowSettings* settings = g.SettingsWindows.begin(); settings != NULL; settings = g.SettingsWindows.next_chunk(settings))
                DebugNodeWindowSettings(settings);
            TreePop();
        }

#ifdef IMGUI_HAS_TABLE
        if (TreeNode("SettingsTables", "Settings packed data: Tables: %d bytes", g.SettingsTables.size()))
        {
            for (ImGuiTableSettings* settings = g.SettingsTables.begin(); settings != NULL; settings = g.SettingsTables.next_chunk(settings))
                DebugNodeTableSettings(settings);
            TreePop();
        }
#endif // #ifdef IMGUI_HAS_TABLE

#ifdef IMGUI_HAS_DOCK
#endif // #ifdef IMGUI_HAS_DOCK

        if (TreeNode("SettingsIniData", "Settings unpacked data (.ini): %d bytes", g.SettingsIniData.size()))
        {
            InputTextMultiline("##Ini", (char*)(void*)g.SettingsIniData.c_str(), g.SettingsIniData.Buf.Size, ImVec2(-FLT_MIN, GetTextLineHeight() * 20), ImGuiInputTextFlags_ReadOnly);
            TreePop();
        }
        TreePop();
    }

    // Misc Details
    if (TreeNode("Internal state"))
    {
        const char* input_source_names[] = { "None", "Mouse", "Nav", "NavKeyboard", "NavGamepad" }; IM_ASSERT(IM_ARRAYSIZE(input_source_names) == ImGuiInputSource_COUNT);

        Text("WINDOWING");
        Indent();
        Text("HoveredWindow: '%s'", g.HoveredWindow ? g.HoveredWindow->Name : "NULL");
        Text("HoveredRootWindow: '%s'", g.HoveredRootWindow ? g.HoveredRootWindow->Name : "NULL");
        Text("HoveredWindowUnderMovingWindow: '%s'", g.HoveredWindowUnderMovingWindow ? g.HoveredWindowUnderMovingWindow->Name : "NULL");
        Text("MovingWindow: '%s'", g.MovingWindow ? g.MovingWindow->Name : "NULL");
        Unindent();

        Text("ITEMS");
        Indent();
        Text("ActiveId: 0x%08X/0x%08X (%.2f sec), AllowOverlap: %d, Source: %s", g.ActiveId, g.ActiveIdPreviousFrame, g.ActiveIdTimer, g.ActiveIdAllowOverlap, input_source_names[g.ActiveIdSource]);
        Text("ActiveIdWindow: '%s'", g.ActiveIdWindow ? g.ActiveIdWindow->Name : "NULL");
        Text("HoveredId: 0x%08X/0x%08X (%.2f sec), AllowOverlap: %d", g.HoveredId, g.HoveredIdPreviousFrame, g.HoveredIdTimer, g.HoveredIdAllowOverlap); // Data is "in-flight" so depending on when the Metrics window is called we may see current frame information or not
        Text("DragDrop: %d, SourceId = 0x%08X, Payload \"%s\" (%d bytes)", g.DragDropActive, g.DragDropPayload.SourceId, g.DragDropPayload.DataType, g.DragDropPayload.DataSize);
        Unindent();

        Text("NAV,FOCUS");
        Indent();
        Text("NavWindow: '%s'", g.NavWindow ? g.NavWindow->Name : "NULL");
        Text("NavId: 0x%08X, NavLayer: %d", g.NavId, g.NavLayer);
        Text("NavInputSource: %s", input_source_names[g.NavInputSource]);
        Text("NavActive: %d, NavVisible: %d", g.IO.NavActive, g.IO.NavVisible);
        Text("NavActivateId: 0x%08X, NavInputId: 0x%08X", g.NavActivateId, g.NavInputId);
        Text("NavDisableHighlight: %d, NavDisableMouseHover: %d", g.NavDisableHighlight, g.NavDisableMouseHover);
        Text("NavFocusScopeId = 0x%08X", g.NavFocusScopeId);
        Text("NavWindowingTarget: '%s'", g.NavWindowingTarget ? g.NavWindowingTarget->Name : "NULL");
        Unindent();

        TreePop();
    }

    // Overlay: Display windows Rectangles and Begin Order
    if (cfg->ShowWindowsRects || cfg->ShowWindowsBeginOrder)
    {
        for (int n = 0; n < g.Windows.Size; n++)
        {
            ImGuiWindow* window = g.Windows[n];
            if (!window->WasActive)
                continue;
            ImDrawList* draw_list = GetForegroundDrawList(window);
            if (cfg->ShowWindowsRects)
            {
                ImRect r = Funcs::GetWindowRect(window, cfg->ShowWindowsRectsType);
                draw_list->AddRect(r.Min, r.Max, IM_COL32(255, 0, 128, 255));
            }
            if (cfg->ShowWindowsBeginOrder && !(window->Flags & ImGuiWindowFlags_ChildWindow))
            {
                char buf[32];
                ImFormatString(buf, IM_ARRAYSIZE(buf), "%d", window->BeginOrderWithinContext);
                float font_size = GetFontSize();
                draw_list->AddRectFilled(window->Pos, window->Pos + ImVec2(font_size, font_size), IM_COL32(200, 100, 100, 255));
                draw_list->AddText(window->Pos, IM_COL32(255, 255, 255, 255), buf);
            }
        }
    }

#ifdef IMGUI_HAS_TABLE
    // Overlay: Display Tables Rectangles
    if (cfg->ShowTablesRects)
    {
        for (int table_n = 0; table_n < g.Tables.GetSize(); table_n++)
        {
            ImGuiTable* table = g.Tables.GetByIndex(table_n);
            if (table->LastFrameActive < g.FrameCount - 1)
                continue;
            ImDrawList* draw_list = GetForegroundDrawList(table->OuterWindow);
            if (cfg->ShowTablesRectsType >= TRT_ColumnsRect)
            {
                for (int column_n = 0; column_n < table->ColumnsCount; column_n++)
                {
                    ImRect r = Funcs::GetTableRect(table, cfg->ShowTablesRectsType, column_n);
                    ImU32 col = (table->HoveredColumnBody == column_n) ? IM_COL32(255, 255, 128, 255) : IM_COL32(255, 0, 128, 255);
                    float thickness = (table->HoveredColumnBody == column_n) ? 3.0f : 1.0f;
                    draw_list->AddRect(r.Min, r.Max, col, 0.0f, ~0, thickness);
                }
            }
            else
            {
                ImRect r = Funcs::GetTableRect(table, cfg->ShowTablesRectsType, -1);
                draw_list->AddRect(r.Min, r.Max, IM_COL32(255, 0, 128, 255));
            }
        }
    }
#endif // #ifdef IMGUI_HAS_TABLE

#ifdef IMGUI_HAS_DOCK
    // Overlay: Display Docking info
    if (show_docking_nodes && g.IO.KeyCtrl)
    {
    }
#endif // #ifdef IMGUI_HAS_DOCK

    End();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movq %rdi, %rsi
leaq 0x5eefa(%rip), %rdi     # 0xb88b2
xorl %edx, %edx
callq 0x4b741
testb %al, %al
je 0x5a6df
movq 0xa2302(%rip), %r12     # 0xfbcd0
leaq 0x5eef9(%rip), %rdi     # 0xb88ce
leaq 0x5b6f7(%rip), %rsi     # 0xb50d3
xorl %eax, %eax
callq 0x90323
movss 0x3a0(%r12), %xmm1
movss 0x5b5df(%rip), %xmm0    # 0xb4fd4
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
cvtss2sd %xmm1, %xmm1
leaq 0x5b79a(%rip), %rdi     # 0xb51a2
movb $0x2, %al
callq 0x90323
movl 0x3a4(%r12), %esi
movslq 0x3a8(%r12), %rdx
imulq $0x55555556, %rdx, %rcx # imm = 0x55555556
movq %rcx, %rax
shrq $0x3f, %rax
shrq $0x20, %rcx
addl %eax, %ecx
leaq 0x5eea2(%rip), %rdi     # 0xb88dc
xorl %eax, %eax
callq 0x90323
movl 0x3ac(%r12), %edx
movl 0x3b0(%r12), %esi
leaq 0x5eeab(%rip), %rdi     # 0xb8903
xorl %eax, %eax
callq 0x90323
movl 0x3b4(%r12), %esi
leaq 0x5eeb4(%rip), %rdi     # 0xb8922
xorl %eax, %eax
callq 0x90323
callq 0x93890
movaps 0x9c97f(%rip), %xmm0    # 0xf6400
movaps %xmm0, -0x140(%rbp)
movaps 0x9c961(%rip), %xmm0    # 0xf63f0
movaps %xmm0, -0x150(%rbp)
movaps 0x9c943(%rip), %xmm0    # 0xf63e0
movaps %xmm0, -0x160(%rbp)
movaps 0x9c925(%rip), %xmm0    # 0xf63d0
movaps %xmm0, -0x170(%rbp)
leaq 0x9c957(%rip), %rsi     # 0xf6410
leaq -0x1e0(%rbp), %rdi
movl $0xd, %ecx
rep  movsq (%rsi), %es:(%rdi)
leaq 0x317c(%r12), %rax
movq %rax, -0x60(%rbp)
cmpl $0x0, 0x317c(%r12)
jns 0x59ae9
movq -0x60(%rbp), %rax
movl $0x4, (%rax)
leaq 0x3180(%r12), %rax
cmpl $0x0, 0x3180(%r12)
jns 0x59b02
movl $0x2, (%rax)
movq %rax, -0x68(%rbp)
leaq 0x3174(%r12), %rax
movq %rax, -0x58(%rbp)
leaq 0x5ef26(%rip), %rdi     # 0xb8a3f
callq 0xa097c
testb %al, %al
movq %r12, -0x30(%rbp)
je 0x5a335
leaq -0x130(%rbp), %rsi
movq $0x0, (%rsi)
leaq 0x5ef06(%rip), %rdi     # 0xb8a45
callq 0x9141e
movq 0xa2185(%rip), %rcx     # 0xfbcd0
testb %al, %al
je 0x59b56
movb $0x1, 0x316c(%rcx)
movq 0x1ae0(%rcx), %rax
movb $0x1, 0x90(%rax)
cmpb $0x0, 0x93(%rax)
jne 0x59bb3
movss 0x15a8(%rcx), %xmm0
addss 0xe0(%rax), %xmm0
movss %xmm0, 0xd8(%rax)
movss 0xe4(%rax), %xmm0
movss %xmm0, 0xdc(%rax)
movq 0x108(%rax), %rcx
movq %rcx, 0x100(%rax)
movss 0x114(%rax), %xmm0
movss %xmm0, 0x110(%rax)
leaq 0x60a45(%rip), %rdi     # 0xba5ff
xorl %eax, %eax
callq 0x904f1
xorl %edi, %edi
callq 0x461ed
testb %al, %al
je 0x59c09
xorl %edi, %edi
xorl %esi, %esi
callq 0x56a80
movq 0xa20f4(%rip), %rax     # 0xfbcd0
movss 0x1980(%rax), %xmm0
mulss 0x5bd14(%rip), %xmm0    # 0xb5900
callq 0x53f70
leaq 0x5ee5b(%rip), %rdi     # 0xb8a53
xorl %esi, %esi
callq 0x90314
callq 0x54076
callq 0x56bca
leaq 0x3175(%r12), %rsi
leaq 0x5eec0(%rip), %rdi     # 0xb8ad8
callq 0x9286b
leaq 0x5eecd(%rip), %rdi     # 0xb8af1
movq -0x58(%rbp), %rsi
callq 0x9286b
movq 0xa209c(%rip), %rax     # 0xfbcd0
movq 0x1ae0(%rax), %rcx
movb $0x1, 0x90(%rcx)
cmpb $0x0, 0x93(%rcx)
jne 0x59c91
movss 0x15a8(%rax), %xmm0
addss 0xe0(%rcx), %xmm0
movss %xmm0, 0xd8(%rcx)
movss 0xe4(%rcx), %xmm0
movss %xmm0, 0xdc(%rcx)
movq 0x108(%rcx), %rdx
movq %rdx, 0x100(%rcx)
movss 0x114(%rcx), %xmm0
movss %xmm0, 0x110(%rcx)
movss 0x1980(%rax), %xmm0
mulss 0x5bc63(%rip), %xmm0    # 0xb5904
orb $0x1, 0x1bf8(%rax)
movss %xmm0, 0x1bfc(%rax)
leaq 0x5ee52(%rip), %rdi     # 0xb8b09
leaq -0x170(%rbp), %rdx
movq -0x60(%rbp), %rsi
movl $0x8, %ecx
movl $0x8, %r8d
callq 0x94b53
movq -0x58(%rbp), %rcx
orb %al, (%rcx)
je 0x59df7
movq 0x1c90(%r12), %rax
testq %rax, %rax
je 0x59df7
movq (%rax), %rsi
leaq 0x5ee29(%rip), %rdi     # 0xb8b22
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x90944
movq 0xa1fc7(%rip), %rax     # 0xfbcd0
movq 0x1ae0(%rax), %rcx
movb $0x1, 0x90(%rcx)
movss 0x15c8(%rax), %xmm0
addss 0x118(%rcx), %xmm0
movss %xmm0, 0x118(%rcx)
addss 0x10(%rcx), %xmm0
addss 0x11c(%rcx), %xmm0
movss %xmm0, 0xd8(%rcx)
leaq 0x5eddd(%rip), %r14     # 0xb8b28
movq 0x1c90(%r12), %rdi
movl %ebx, %esi
callq 0x5afbc
xorps %xmm7, %xmm7
cvtss2sd %xmm0, %xmm7
xorps %xmm2, %xmm2
cvtss2sd %xmm1, %xmm2
movaps %xmm1, %xmm5
subss %xmm0, %xmm1
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
xorps %xmm6, %xmm6
cvtss2sd %xmm0, %xmm6
shufps $0x55, %xmm5, %xmm5     # xmm5 = xmm5[1,1,1,1]
xorps %xmm3, %xmm3
cvtss2sd %xmm5, %xmm3
xorps %xmm4, %xmm4
cvtss2sd %xmm1, %xmm4
subss %xmm0, %xmm5
cvtss2sd %xmm5, %xmm5
movq -0x170(%rbp,%rbx,8), %rsi
movq %r14, %rdi
movaps %xmm7, %xmm0
movaps %xmm6, %xmm1
movb $0x6, %al
callq 0x90323
incq %rbx
cmpq $0x8, %rbx
jne 0x59d4b
movq 0xa1f14(%rip), %rax     # 0xfbcd0
movq 0x1ae0(%rax), %rcx
movb $0x1, 0x90(%rcx)
movss 0x118(%rcx), %xmm0
subss 0x15c8(%rax), %xmm0
movss %xmm0, 0x118(%rcx)
addss 0x10(%rcx), %xmm0
addss 0x11c(%rcx), %xmm0
movss %xmm0, 0xd8(%rcx)
leaq 0x3177(%r12), %rsi
leaq 0x5ed54(%rip), %rdi     # 0xb8b5a
callq 0x9286b
leaq 0x3178(%r12), %rsi
leaq 0x5ed62(%rip), %rdi     # 0xb8b7c
callq 0x9286b
leaq 0x3176(%r12), %rbx
leaq 0x5ed7a(%rip), %rdi     # 0xb8ba8
movq %rbx, %rsi
callq 0x9286b
movq 0xa1e93(%rip), %rax     # 0xfbcd0
movq 0x1ae0(%rax), %rcx
movb $0x1, 0x90(%rcx)
cmpb $0x0, 0x93(%rcx)
jne 0x59e9a
movss 0x15a8(%rax), %xmm0
addss 0xe0(%rcx), %xmm0
movss %xmm0, 0xd8(%rcx)
movss 0xe4(%rcx), %xmm0
movss %xmm0, 0xdc(%rcx)
movq 0x108(%rcx), %rdx
movq %rdx, 0x100(%rcx)
movss 0x114(%rcx), %xmm0
movss %xmm0, 0x110(%rcx)
movss 0x1980(%rax), %xmm0
mulss 0x5ba5a(%rip), %xmm0    # 0xb5904
orb $0x1, 0x1bf8(%rax)
movss %xmm0, 0x1bfc(%rax)
leaq 0x5ecff(%rip), %rdi     # 0xb8bbf
leaq -0x1e0(%rbp), %rdx
movq -0x68(%rbp), %rsi
movl $0xd, %ecx
movl $0xd, %r8d
callq 0x94b53
orb %al, (%rbx)
je 0x5a32c
movq -0x30(%rbp), %rax
cmpq $0x0, 0x1c90(%rax)
je 0x5a32c
movq -0x30(%rbp), %rax
movl 0x20b0(%rax), %eax
testl %eax, %eax
jle 0x5a32c
leaq -0x130(%rbp), %r13
leaq -0x38(%rbp), %r12
xorl %edi, %edi
movq -0x30(%rbp), %rsi
movq 0x20b8(%rsi), %rbx
imulq $0x258, %rdi, %rcx      # imm = 0x258
movl 0x1a68(%rsi), %edx
decl %edx
cmpl %edx, 0x68(%rbx,%rcx)
jl 0x5a31d
addq %rcx, %rbx
movq 0x1c8(%rbx), %rcx
movq 0x1c90(%rsi), %rdx
cmpq %rdx, %rcx
je 0x59f5b
cmpq %rdx, 0x1d0(%rbx)
jne 0x5a31d
movq %rdi, -0xa8(%rbp)
movl (%rbx), %esi
movl 0x6c(%rbx), %edx
movq (%rcx), %rcx
leaq 0x5ec66(%rip), %rdi     # 0xb8bd7
xorl %eax, %eax
callq 0x90944
xorl %edi, %edi
callq 0x461ed
testb %al, %al
je 0x5a008
movq 0xa1d42(%rip), %rdi     # 0xfbcd0
movl $0x1f38, %eax           # imm = 0x1F38
addq %rax, %rdi
movss 0xec(%rbx), %xmm0
movss 0x5b02a(%rip), %xmm2    # 0xb4fd0
addss %xmm2, %xmm0
movss 0xf0(%rbx), %xmm1
addss %xmm2, %xmm1
unpcklps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movlps %xmm0, -0x130(%rbp)
movss 0xf4(%rbx), %xmm0
movss 0x5b014(%rip), %xmm2    # 0xb4fe4
addss %xmm2, %xmm0
movss 0xf8(%rbx), %xmm1
addss %xmm2, %xmm1
unpcklps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movlps %xmm0, -0x38(%rbp)
xorps %xmm0, %xmm0
movq %r13, %rsi
movq %r12, %rdx
movl $0xff00ffff, %ecx       # imm = 0xFF00FFFF
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
movss 0x5b865(%rip), %xmm1    # 0xb5868
callq 0x7851c
movq 0xa1cc1(%rip), %rax     # 0xfbcd0
movq 0x1ae0(%rax), %rcx
movb $0x1, 0x90(%rcx)
movss 0x15c8(%rax), %xmm0
addss 0x118(%rcx), %xmm0
movss %xmm0, 0x118(%rcx)
addss 0x10(%rcx), %xmm0
addss 0x11c(%rcx), %xmm0
movss %xmm0, 0xd8(%rcx)
xorl %r15d, %r15d
cmpq $0x6, %r15
jb 0x5a1a2
cmpl $0x8, %r15d
je 0x5a067
cmpl $0x6, %r15d
jne 0x5a2bd
cmpl $0x0, 0x6c(%rbx)
jle 0x5a2bd
xorl %r14d, %r14d
movq %rbx, %rdi
movl %r15d, %esi
movl %r14d, %edx
callq 0x5b0da
movaps %xmm0, %xmm5
movaps %xmm1, %xmm4
cvtss2sd %xmm0, %xmm0
movaps %xmm5, %xmm7
shufps $0x55, %xmm5, %xmm7     # xmm7 = xmm7[1,1],xmm5[1,1]
xorps %xmm1, %xmm1
cvtss2sd %xmm7, %xmm1
xorps %xmm2, %xmm2
cvtss2sd %xmm4, %xmm2
movaps %xmm4, %xmm6
shufps $0x55, %xmm4, %xmm6     # xmm6 = xmm6[1,1],xmm4[1,1]
xorps %xmm3, %xmm3
cvtss2sd %xmm6, %xmm3
movaps %xmm4, -0x50(%rbp)
movaps %xmm5, -0xa0(%rbp)
subss %xmm5, %xmm4
cvtss2sd %xmm4, %xmm4
movaps %xmm6, -0x90(%rbp)
movaps %xmm6, %xmm5
movaps %xmm7, -0x80(%rbp)
subss %xmm7, %xmm5
cvtss2sd %xmm5, %xmm5
movq -0x1e0(%rbp,%r15,8), %r8
movl $0x80, %esi
movq %r13, %rdi
leaq 0x5eb0b(%rip), %rdx     # 0xb8bfa
movl %r14d, %ecx
movb $0x6, %al
callq 0x41f22
movq $0x0, -0x38(%rbp)
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %r12, %rcx
callq 0x94650
xorl %edi, %edi
callq 0x461ed
testb %al, %al
je 0x5a190
movq 0xa1bae(%rip), %rdi     # 0xfbcd0
movl $0x1f38, %eax           # imm = 0x1F38
addq %rax, %rdi
movss 0x5ae9e(%rip), %xmm0    # 0xb4fd0
movaps -0xa0(%rbp), %xmm1
addss %xmm0, %xmm1
movaps -0x80(%rbp), %xmm2
addss %xmm0, %xmm2
unpcklps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movlps %xmm1, -0x38(%rbp)
movss 0x5ae90(%rip), %xmm0    # 0xb4fe4
movaps -0x50(%rbp), %xmm1
addss %xmm0, %xmm1
movaps -0x90(%rbp), %xmm2
addss %xmm0, %xmm2
unpcklps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movlps %xmm1, -0x70(%rbp)
xorps %xmm0, %xmm0
movq %r12, %rsi
leaq -0x70(%rbp), %rdx
movl $0xff00ffff, %ecx       # imm = 0xFF00FFFF
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
movss 0x5b6dd(%rip), %xmm1    # 0xb5868
callq 0x7851c
incl %r14d
cmpl 0x6c(%rbx), %r14d
jl 0x5a074
jmp 0x5a2bd
movq %rbx, %rdi
movl %r15d, %esi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x5b0da
movaps %xmm0, %xmm5
movaps %xmm1, %xmm4
cvtss2sd %xmm0, %xmm0
movaps %xmm5, %xmm7
shufps $0x55, %xmm5, %xmm7     # xmm7 = xmm7[1,1],xmm5[1,1]
xorps %xmm1, %xmm1
cvtss2sd %xmm7, %xmm1
xorps %xmm2, %xmm2
cvtss2sd %xmm4, %xmm2
movaps %xmm4, %xmm6
shufps $0x55, %xmm4, %xmm6     # xmm6 = xmm6[1,1],xmm4[1,1]
xorps %xmm3, %xmm3
cvtss2sd %xmm6, %xmm3
movaps %xmm4, -0x50(%rbp)
movaps %xmm5, -0xa0(%rbp)
subss %xmm5, %xmm4
cvtss2sd %xmm4, %xmm4
movaps %xmm6, -0x90(%rbp)
movaps %xmm6, %xmm5
movaps %xmm7, -0x80(%rbp)
subss %xmm7, %xmm5
cvtss2sd %xmm5, %xmm5
movq -0x1e0(%rbp,%r15,8), %rcx
movl $0x80, %esi
movq %r13, %rdi
leaq 0x5e909(%rip), %rdx     # 0xb8b28
movb $0x6, %al
callq 0x41f22
movq $0x0, -0x38(%rbp)
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %r12, %rcx
callq 0x94650
xorl %edi, %edi
callq 0x461ed
testb %al, %al
je 0x5a2bd
movq 0xa1a81(%rip), %rdi     # 0xfbcd0
movl $0x1f38, %eax           # imm = 0x1F38
addq %rax, %rdi
movss 0x5ad71(%rip), %xmm0    # 0xb4fd0
movaps -0xa0(%rbp), %xmm1
addss %xmm0, %xmm1
movaps -0x80(%rbp), %xmm2
addss %xmm0, %xmm2
unpcklps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movlps %xmm1, -0x38(%rbp)
movss 0x5ad63(%rip), %xmm0    # 0xb4fe4
movaps -0x50(%rbp), %xmm1
addss %xmm0, %xmm1
movaps -0x90(%rbp), %xmm2
addss %xmm0, %xmm2
unpcklps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movlps %xmm1, -0x70(%rbp)
xorps %xmm0, %xmm0
movq %r12, %rsi
leaq -0x70(%rbp), %rdx
movl $0xff00ffff, %ecx       # imm = 0xFF00FFFF
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
movss 0x5b5b0(%rip), %xmm1    # 0xb5868
callq 0x7851c
incq %r15
cmpq $0xd, %r15
jne 0x5a04d
movq 0xa19ff(%rip), %rax     # 0xfbcd0
movq 0x1ae0(%rax), %rcx
movb $0x1, 0x90(%rcx)
movss 0x118(%rcx), %xmm0
subss 0x15c8(%rax), %xmm0
movss %xmm0, 0x118(%rcx)
addss 0x10(%rcx), %xmm0
addss 0x11c(%rcx), %xmm0
movss %xmm0, 0xd8(%rcx)
movq -0x30(%rbp), %rax
movl 0x20b0(%rax), %eax
movq -0xa8(%rbp), %rdi
incq %rdi
movslq %eax, %rcx
cmpq %rcx, %rdi
jl 0x59f14
callq 0xa1609
movq -0x30(%rbp), %r12
leaq 0x1a88(%r12), %rbx
leaq 0x5f22f(%rip), %rsi     # 0xb9573
movq %rbx, %rdi
callq 0x5b350
movl 0x1e48(%r12), %edx
leaq 0x5e8d8(%rip), %rdi     # 0xb8c33
leaq 0x5e8db(%rip), %rsi     # 0xb8c3d
xorl %eax, %eax
callq 0xa075e
testb %al, %al
movq %rbx, -0x50(%rbp)
je 0x5a3b5
cmpl $0x0, 0x1e48(%r12)
jle 0x5a3ac
xorl %r14d, %r14d
leaq 0x5e8cd(%rip), %rbx     # 0xb8c53
movq 0x1e50(%r12), %rax
movq (%rax,%r14,8), %rsi
xorl %edi, %edi
movq %rbx, %rdx
callq 0x5b40e
incq %r14
movslq 0x1e48(%r12), %rax
cmpq %rax, %r14
jl 0x5a386
callq 0xa1609
movq -0x50(%rbp), %rbx
movl 0x1c70(%r12), %edx
leaq 0x5e898(%rip), %rdi     # 0xb8c5c
leaq 0x5e898(%rip), %rsi     # 0xb8c63
xorl %eax, %eax
callq 0xa075e
testb %al, %al
je 0x5a472
cmpl $0x0, 0x1c70(%r12)
jle 0x5a469
movl $0x8, %r14d
leaq 0x5ab27(%rip), %r15     # 0xb4f1d
leaq 0x5e872(%rip), %rbx     # 0xb8c6f
xorl %r13d, %r13d
movq 0x1c78(%r12), %rax
movq (%rax,%r14), %rsi
movq %r15, %rcx
leaq 0x5ef08(%rip), %rdx     # 0xb931e
movq %r15, %r8
testq %rsi, %rsi
je 0x5a442
movq (%rsi), %rdx
movl 0xc(%rsi), %esi
btl $0x18, %esi
leaq 0x5e860(%rip), %rcx     # 0xb8c8f
cmovaeq %r15, %rcx
btl $0x1c, %esi
leaq 0x5e85e(%rip), %r8      # 0xb8c9c
cmovaeq %r15, %r8
movl -0x8(%rax,%r14), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq 0x90944
incq %r13
movq -0x30(%rbp), %r12
movslq 0x1c70(%r12), %rax
addq $0x30, %r14
cmpq %rax, %r13
jl 0x5a400
callq 0xa1609
movq -0x50(%rbp), %rbx
movl 0x2110(%r12), %edx
leaq 0x5e826(%rip), %rdi     # 0xb8ca7
leaq 0x5e827(%rip), %rsi     # 0xb8caf
xorl %eax, %eax
callq 0xa075e
testb %al, %al
je 0x5a4de
cmpl $0x0, 0x2110(%r12)
jle 0x5a4d5
xorl %r14d, %r14d
leaq 0x6b9d0(%rip), %rbx     # 0xc5e78
xorl %r15d, %r15d
movq 0x2118(%r12), %rdi
addq %r14, %rdi
movq %rbx, %rsi
callq 0x5ba74
incq %r15
movslq 0x2110(%r12), %rax
addq $0x98, %r14
cmpq %rax, %r15
jl 0x5a4ab
callq 0xa1609
movq -0x50(%rbp), %rbx
movl 0x20b0(%r12), %edx
leaq 0x5e886(%rip), %rdi     # 0xb8d73
leaq 0x5e7c9(%rip), %rsi     # 0xb8cbd
xorl %eax, %eax
callq 0xa075e
testb %al, %al
je 0x5a53f
cmpl $0x0, 0x20b0(%r12)
jle 0x5a536
xorl %ebx, %ebx
xorl %r14d, %r14d
movq 0x20b8(%r12), %rdi
addq %rbx, %rdi
callq 0x8dc96
incq %r14
movslq 0x20b0(%r12), %rax
addq $0x258, %rbx            # imm = 0x258
cmpq %rax, %r14
jl 0x5a50f
callq 0xa1609
movq -0x50(%rbp), %rbx
leaq 0x69634(%rip), %rdi     # 0xc3b7a
callq 0xa097c
testb %al, %al
je 0x5a910
leaq 0x5e76f(%rip), %rdi     # 0xb8cc9
callq 0x9142a
testb %al, %al
je 0x5a568
callq 0x59411
movq 0xa1761(%rip), %rcx     # 0xfbcd0
movq 0x1ae0(%rcx), %rax
movb $0x1, 0x90(%rax)
cmpb $0x0, 0x93(%rax)
jne 0x5a5cc
movss 0x15a8(%rcx), %xmm0
addss 0xe0(%rax), %xmm0
movss %xmm0, 0xd8(%rax)
movss 0xe4(%rax), %xmm0
movss %xmm0, 0xdc(%rax)
movq 0x108(%rax), %rcx
movq %rcx, 0x100(%rax)
movss 0x114(%rax), %xmm0
movss %xmm0, 0x110(%rax)
leaq 0x5e6fc(%rip), %rdi     # 0xb8ccf
callq 0x9142a
testb %al, %al
je 0x5a5e3
xorl %edi, %edi
callq 0x597e0
movq 0xa16e6(%rip), %rcx     # 0xfbcd0
movq 0x1ae0(%rcx), %rax
movb $0x1, 0x90(%rax)
cmpb $0x0, 0x93(%rax)
jne 0x5a647
movss 0x15a8(%rcx), %xmm0
addss 0xe0(%rax), %xmm0
movss %xmm0, 0xd8(%rax)
movss 0xe4(%rax), %xmm0
movss %xmm0, 0xdc(%rax)
movq 0x108(%rax), %rcx
movq %rcx, 0x100(%rax)
movss 0x114(%rax), %xmm0
movss %xmm0, 0x110(%rax)
leaq 0x5e690(%rip), %rdi     # 0xb8cde
callq 0x9142a
testb %al, %al
je 0x5a661
movq 0x20(%r12), %rdi
callq 0x4fc95
movq 0xa1668(%rip), %rcx     # 0xfbcd0
movq 0x1ae0(%rcx), %rax
movb $0x1, 0x90(%rax)
cmpb $0x0, 0x93(%rax)
jne 0x5a6c5
movss 0x15a8(%rcx), %xmm0
addss 0xe0(%rax), %xmm0
movss %xmm0, 0xd8(%rax)
movss 0xe4(%rax), %xmm0
movss %xmm0, 0xdc(%rax)
movq 0x108(%rax), %rcx
movq %rcx, 0x100(%rax)
movss 0x114(%rax), %xmm0
movss %xmm0, 0x110(%rax)
movq 0x20(%r12), %rsi
testq %rsi, %rsi
je 0x5a6f5
leaq 0x6baf1(%rip), %rdi     # 0xc61c7
xorl %eax, %eax
callq 0x90323
jmp 0x5a703
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x50af3
leaq 0x5e5ef(%rip), %rdi     # 0xb8ceb
xorl %esi, %esi
callq 0x90314
xorps %xmm0, %xmm0
cvtss2sd 0x30e4(%r12), %xmm0
leaq 0x5e5db(%rip), %rdi     # 0xb8cf2
movb $0x1, %al
callq 0x90323
movl 0x30f8(%r12), %edx
leaq 0x5e5dd(%rip), %rdi     # 0xb8d0a
leaq 0x5e5e7(%rip), %rsi     # 0xb8d1b
xorl %eax, %eax
callq 0xa075e
testb %al, %al
je 0x5a78a
cmpl $0x0, 0x30f8(%r12)
jle 0x5a781
leaq 0x5e406(%rip), %rbx     # 0xb8b57
xorl %r14d, %r14d
xorl %r15d, %r15d
movq 0x3100(%r12), %rax
movq (%rax,%r14), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq 0x90944
incq %r15
movslq 0x30f8(%r12), %rax
addq $0x48, %r14
cmpq %rax, %r15
jl 0x5a757
callq 0xa1609
movq -0x50(%rbp), %rbx
movl 0x3108(%r12), %edx
leaq 0x5e59a(%rip), %rdi     # 0xb8d33
leaq 0x5e5a3(%rip), %rsi     # 0xb8d43
xorl %eax, %eax
callq 0xa075e
testb %al, %al
je 0x5a817
movq 0x3110(%r12), %rbx
testq %rbx, %rbx
je 0x5a80e
leaq 0x3108(%r12), %r14
addq $0x4, %rbx
leaq 0x5edca(%rip), %r15     # 0xb9595
movl (%rbx), %esi
leaq 0x10(%rbx), %rdx
movswl 0x4(%rbx), %ecx
movswl 0x6(%rbx), %r8d
movswl 0x8(%rbx), %r9d
movswl 0xa(%rbx), %r10d
movzbl 0xc(%rbx), %r11d
movq %r15, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
callq 0x90323
addq $0x10, %rsp
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5e478
movq %rax, %rbx
testq %rax, %rax
jne 0x5a7cb
callq 0xa1609
movq -0x50(%rbp), %rbx
movl 0x3118(%r12), %edx
leaq 0x5e545(%rip), %rdi     # 0xb8d6b
leaq 0x5e54d(%rip), %rsi     # 0xb8d7a
xorl %r15d, %r15d
xorl %eax, %eax
callq 0xa075e
testb %al, %al
je 0x5a878
movq 0x3120(%r12), %rbx
testq %rbx, %rbx
je 0x5a86f
leaq 0x3118(%r12), %r14
addq $0x4, %rbx
movq %rbx, %rdi
callq 0x8e392
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5e4e0
movq %rax, %rbx
testq %rax, %rax
jne 0x5a854
callq 0xa1609
movq -0x50(%rbp), %rbx
movl 0x30e8(%r12), %edx
subl $0x1, %edx
cmovbl %r15d, %edx
leaq 0x5e513(%rip), %rdi     # 0xb8da1
leaq 0x5e51c(%rip), %rsi     # 0xb8db1
xorl %eax, %eax
callq 0xa075e
testb %al, %al
je 0x5a90b
movq 0x30f0(%r12), %rax
testq %rax, %rax
leaq 0xa1426(%rip), %rsi     # 0xfbcd8
cmovneq %rax, %rsi
movq 0xa1413(%rip), %rax     # 0xfbcd0
movss 0x1980(%rax), %xmm0
mulss 0x5b03b(%rip), %xmm0    # 0xb5908
movslq 0x30e8(%r12), %rdx
leaq -0x130(%rbp), %rcx
movl $0x80800000, (%rcx)     # imm = 0x80800000
movss %xmm0, 0x4(%rcx)
subq $0x8, %rsp
leaq 0x5e4e7(%rip), %rdi     # 0xb8dd9
movl $0x4000, %r8d           # imm = 0x4000
xorl %r9d, %r9d
pushq $0x0
callq 0x9b519
addq $0x10, %rsp
callq 0xa1609
callq 0xa1609
leaq 0x5e4c8(%rip), %rdi     # 0xb8ddf
callq 0xa097c
testb %al, %al
je 0x5ad2a
leaq 0x5e4de(%rip), %rdi     # 0xb8e09
xorl %eax, %eax
callq 0x90323
movq 0xa1397(%rip), %rax     # 0xfbcd0
movq 0x1ae0(%rax), %rcx
movb $0x1, 0x90(%rcx)
movss 0x15c8(%rax), %xmm0
addss 0x118(%rcx), %xmm0
movss %xmm0, 0x118(%rcx)
addss 0x10(%rcx), %xmm0
addss 0x11c(%rcx), %xmm0
movss %xmm0, 0xd8(%rcx)
movq 0x1ae8(%r12), %rax
leaq 0x5e99b(%rip), %rbx     # 0xb931e
movq %rbx, %rsi
testq %rax, %rax
je 0x5a98e
movq (%rax), %rsi
leaq 0x5e47e(%rip), %rdi     # 0xb8e13
xorl %eax, %eax
callq 0x90323
movq 0x1af0(%r12), %rax
movq %rbx, %rsi
testq %rax, %rax
je 0x5a9af
movq (%rax), %rsi
leaq 0x5e471(%rip), %rdi     # 0xb8e27
xorl %eax, %eax
callq 0x90323
movq 0x1af8(%r12), %rax
movq %rbx, %rsi
testq %rax, %rax
je 0x5a9d0
movq (%rax), %rsi
leaq 0x5e468(%rip), %rdi     # 0xb8e3f
xorl %eax, %eax
callq 0x90323
movq 0x1b00(%r12), %rax
movq %rbx, %rsi
testq %rax, %rax
je 0x5a9f1
movq (%rax), %rsi
leaq 0x5e459(%rip), %rdi     # 0xb8e51
xorl %eax, %eax
callq 0x90323
movq 0xa12ca(%rip), %rax     # 0xfbcd0
movq 0x1ae0(%rax), %rcx
movb $0x1, %r15b
movb %r15b, 0x90(%rcx)
movss 0x118(%rcx), %xmm0
subss 0x15c8(%rax), %xmm0
movss %xmm0, 0x118(%rcx)
addss 0x10(%rcx), %xmm0
addss 0x11c(%rcx), %xmm0
movss %xmm0, 0xd8(%rcx)
leaq 0x5e419(%rip), %rdi     # 0xb8e64
xorl %eax, %eax
callq 0x90323
movq 0xa1277(%rip), %rax     # 0xfbcd0
movq 0x1ae0(%rax), %rcx
movb %r15b, 0x90(%rcx)
movss 0x15c8(%rax), %xmm0
addss 0x118(%rcx), %xmm0
movss %xmm0, 0x118(%rcx)
addss 0x10(%rcx), %xmm0
addss 0x11c(%rcx), %xmm0
movss %xmm0, 0xd8(%rcx)
movl 0x1b70(%r12), %edx
xorps %xmm0, %xmm0
cvtss2sd 0x1b38(%r12), %xmm0
movzbl 0x1b3d(%r12), %ecx
movl 0x1b30(%r12), %esi
movl 0x1b68(%r12), %eax
leaq 0x9b9b7(%rip), %r14     # 0xf6480
movq (%r14,%rax,8), %r8
leaq 0x5e396(%rip), %rdi     # 0xb8e6a
movb $0x1, %al
callq 0x90323
movq 0x1b60(%r12), %rax
movq %rbx, %rsi
testq %rax, %rax
je 0x5aaee
movq (%rax), %rsi
leaq 0x5e3b6(%rip), %rdi     # 0xb8eab
xorl %eax, %eax
callq 0x90323
movl 0x1b1c(%r12), %esi
movl 0x1b20(%r12), %edx
xorps %xmm0, %xmm0
cvtss2sd 0x1b28(%r12), %xmm0
movzbl 0x1b24(%r12), %ecx
leaq 0x5e397(%rip), %rdi     # 0xb8ec0
movb $0x1, %al
callq 0x90323
movzbl 0x2004(%r12), %esi
movl 0x2020(%r12), %r8d
movl 0x2024(%r12), %edx
leaq 0x2030(%r12), %rcx
leaq 0x5e39e(%rip), %rdi     # 0xb8ef6
xorl %eax, %eax
callq 0x90323
movq 0xa116a(%rip), %rax     # 0xfbcd0
movq 0x1ae0(%rax), %rcx
movb %r15b, 0x90(%rcx)
movss 0x118(%rcx), %xmm0
subss 0x15c8(%rax), %xmm0
movss %xmm0, 0x118(%rcx)
addss 0x10(%rcx), %xmm0
addss 0x11c(%rcx), %xmm0
movss %xmm0, 0xd8(%rcx)
leaq 0x5e387(%rip), %rdi     # 0xb8f2f
xorl %eax, %eax
callq 0x90323
movq 0xa111a(%rip), %rax     # 0xfbcd0
movq 0x1ae0(%rax), %rcx
movb %r15b, 0x90(%rcx)
movss 0x15c8(%rax), %xmm0
addss 0x118(%rcx), %xmm0
movss %xmm0, 0x118(%rcx)
addss 0x10(%rcx), %xmm0
addss 0x11c(%rcx), %xmm0
movss %xmm0, 0xd8(%rcx)
movq 0x1c90(%r12), %rax
movq %rbx, %rsi
testq %rax, %rax
je 0x5ac04
movq (%rax), %rsi
leaq 0x5e32e(%rip), %rdi     # 0xb8f39
xorl %eax, %eax
callq 0x90323
movl 0x1c98(%r12), %esi
movl 0x1cdc(%r12), %edx
leaq 0x5e320(%rip), %rdi     # 0xb8f49
xorl %eax, %eax
callq 0x90323
movl 0x1cc4(%r12), %eax
movq (%r14,%rax,8), %rsi
leaq 0x5e322(%rip), %rdi     # 0xb8f65
xorl %eax, %eax
callq 0x90323
movzbl 0x39d(%r12), %esi
movzbl 0x39e(%r12), %edx
leaq 0x5e315(%rip), %rdi     # 0xb8f78
xorl %eax, %eax
callq 0x90323
movl 0x1ca0(%r12), %esi
movl 0x1cac(%r12), %edx
leaq 0x5e315(%rip), %rdi     # 0xb8f96
xorl %eax, %eax
callq 0x90323
movzbl 0x1ce6(%r12), %esi
movzbl 0x1ce7(%r12), %edx
leaq 0x5e31f(%rip), %rdi     # 0xb8fc0
xorl %eax, %eax
callq 0x90323
movl 0x1c9c(%r12), %esi
leaq 0x5e33b(%rip), %rdi     # 0xb8ff2
xorl %eax, %eax
callq 0x90323
movq 0x1dc0(%r12), %rax
testq %rax, %rax
je 0x5acce
movq (%rax), %rbx
leaq 0x5e336(%rip), %rdi     # 0xb900b
movq %rbx, %rsi
xorl %eax, %eax
callq 0x90323
movq 0xa0fea(%rip), %rax     # 0xfbcd0
movq 0x1ae0(%rax), %rcx
movb $0x1, 0x90(%rcx)
movss 0x118(%rcx), %xmm0
subss 0x15c8(%rax), %xmm0
movss %xmm0, 0x118(%rcx)
addss 0x10(%rcx), %xmm0
addss 0x11c(%rcx), %xmm0
movss %xmm0, 0xd8(%rcx)
callq 0xa1609
movq -0x50(%rbp), %rbx
movq -0x58(%rbp), %rax
cmpb $0x0, (%rax)
jne 0x5ad44
movq -0x30(%rbp), %rax
cmpb $0x1, 0x3175(%rax)
jne 0x5ae72
cmpl $0x0, (%rbx)
jle 0x5ae72
leaq -0x130(%rbp), %r14
xorl %r12d, %r12d
movq -0x30(%rbp), %rax
movq 0x1a90(%rax), %rax
movq (%rax,%r12,8), %r13
cmpb $0x1, 0x8f(%r13)
jne 0x5ae63
movq 0xa0f55(%rip), %r15     # 0xfbcd0
movl $0x1f38, %eax           # imm = 0x1F38
addq %rax, %r15
movq -0x58(%rbp), %rax
cmpb $0x1, (%rax)
jne 0x5adcc
movq -0x60(%rbp), %rax
movl (%rax), %esi
movq %r13, %rdi
callq 0x5afbc
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, -0x130(%rbp)
xorps %xmm0, %xmm0
movq %r15, %rdi
movq %r14, %rsi
leaq -0x128(%rbp), %rdx
movl $0xff8000ff, %ecx       # imm = 0xFF8000FF
movl $0xf, %r8d
movss 0x5a21d(%rip), %xmm1    # 0xb4fe4
callq 0x7851c
movq -0x30(%rbp), %rax
cmpb $0x1, 0x3175(%rax)
jne 0x5ae63
testb $0x1, 0xf(%r13)
jne 0x5ae63
movswl 0x9e(%r13), %ecx
movl $0x20, %esi
movq %r14, %rdi
leaq 0x61657(%rip), %rdx     # 0xbc452
xorl %eax, %eax
callq 0x41f22
movq 0xa0ec7(%rip), %rax     # 0xfbcd0
movss 0x1980(%rax), %xmm0
leaq 0x10(%r13), %rbx
movss 0x10(%r13), %xmm1
addss %xmm0, %xmm1
addss 0x14(%r13), %xmm0
unpcklps %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movlps %xmm1, -0x38(%rbp)
xorps %xmm0, %xmm0
movq %r15, %rdi
movq %rbx, %rsi
leaq -0x38(%rbp), %rdx
movl $0xff6464c8, %ecx       # imm = 0xFF6464C8
movl $0xf, %r8d
callq 0x785e6
movq %r15, %rdi
movq %rbx, %rsi
movq -0x50(%rbp), %rbx
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movq %r14, %rcx
xorl %r8d, %r8d
callq 0x79e70
incq %r12
movslq (%rbx), %rax
cmpq %rax, %r12
jl 0x5ad57
movq -0x30(%rbp), %rcx
cmpb $0x1, 0x3176(%rcx)
jne 0x5afa4
cmpl $0x0, 0x20b0(%rcx)
jle 0x5afa4
xorl %r14d, %r14d
movq -0x68(%rbp), %r15
movq 0x20b8(%rcx), %r13
imulq $0x258, %r14, %rax      # imm = 0x258
movl 0x1a68(%rcx), %ecx
decl %ecx
cmpl %ecx, 0x68(%r13,%rax)
movq -0x68(%rbp), %rcx
jl 0x5af8d
addq %rax, %r13
movq 0xa0e0a(%rip), %r12     # 0xfbcd0
movl $0x1f38, %eax           # imm = 0x1F38
addq %rax, %r12
movl (%rcx), %esi
cmpl $0x6, %esi
jl 0x5af4a
cmpl $0x0, 0x6c(%r13)
jle 0x5af8d
xorl %ebx, %ebx
movl (%r15), %esi
movq %r13, %rdi
movl %ebx, %edx
callq 0x5b0da
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, -0x130(%rbp)
movsbl 0x234(%r13), %eax
xorl %edx, %edx
cmpl %eax, %ebx
sete %dl
movl $0xff8000ff, %ecx       # imm = 0xFF8000FF
movl $0xff80ffff, %eax       # imm = 0xFF80FFFF
cmovel %eax, %ecx
leaq 0x5b210(%rip), %rax     # 0xb612c
movss (%rax,%rdx,4), %xmm1
xorps %xmm0, %xmm0
movq %r12, %rdi
leaq -0x130(%rbp), %rsi
leaq -0x128(%rbp), %rdx
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
callq 0x7851c
incl %ebx
cmpl 0x6c(%r13), %ebx
jl 0x5aee2
jmp 0x5af8d
movq %r13, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x5b0da
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, -0x130(%rbp)
xorps %xmm0, %xmm0
movq %r12, %rdi
leaq -0x130(%rbp), %rsi
leaq -0x128(%rbp), %rdx
movl $0xff8000ff, %ecx       # imm = 0xFF8000FF
movl $0xf, %r8d
movss 0x5a05c(%rip), %xmm1    # 0xb4fe4
callq 0x7851c
incq %r14
movq -0x30(%rbp), %rcx
movslq 0x20b0(%rcx), %rax
cmpq %rax, %r14
jl 0x5ae97
callq 0x50af3
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop