// File: /workspace/github_cpp_makefile_star2_O1/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 0x5fd51(%rip), %rdi     # 0xba8b2
xorl %edx, %edx
callq 0x4c3ad
testb %al, %al
je 0x5b88c
movq 0xa3159(%rip), %r12     # 0xfdcd0
leaq 0x5fd50(%rip), %rdi     # 0xba8ce
leaq 0x5c54e(%rip), %rsi     # 0xb70d3
xorl %eax, %eax
callq 0x92024
movss 0x3a0(%r12), %xmm1
movss 0x5c436(%rip), %xmm0    # 0xb6fd4
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
cvtss2sd %xmm1, %xmm1
leaq 0x5c5f1(%rip), %rdi     # 0xb71a2
movb $0x2, %al
callq 0x92024
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 0x5fcf9(%rip), %rdi     # 0xba8dc
xorl %eax, %eax
callq 0x92024
movl 0x3ac(%r12), %edx
movl 0x3b0(%r12), %esi
leaq 0x5fd02(%rip), %rdi     # 0xba903
xorl %eax, %eax
callq 0x92024
movl 0x3b4(%r12), %esi
leaq 0x5fd0b(%rip), %rdi     # 0xba922
xorl %eax, %eax
callq 0x92024
callq 0x9552a
movaps 0x9d7d6(%rip), %xmm0    # 0xf8400
movaps %xmm0, -0x140(%rbp)
movaps 0x9d7b8(%rip), %xmm0    # 0xf83f0
movaps %xmm0, -0x150(%rbp)
movaps 0x9d79a(%rip), %xmm0    # 0xf83e0
movaps %xmm0, -0x160(%rbp)
movaps 0x9d77c(%rip), %xmm0    # 0xf83d0
movaps %xmm0, -0x170(%rbp)
leaq 0x9d7ae(%rip), %rsi     # 0xf8410
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 0x5ac92
movq -0x60(%rbp), %rax
movl $0x4, (%rax)
leaq 0x3180(%r12), %rax
cmpl $0x0, 0x3180(%r12)
jns 0x5acab
movl $0x2, (%rax)
movq %rax, -0x68(%rbp)
leaq 0x3174(%r12), %rax
movq %rax, -0x58(%rbp)
leaq 0x5fd7d(%rip), %rdi     # 0xbaa3f
callq 0xa22d7
testb %al, %al
movq %r12, -0x30(%rbp)
je 0x5b4db
leaq -0x130(%rbp), %rsi
movq $0x0, (%rsi)
leaq 0x5fd5d(%rip), %rdi     # 0xbaa45
callq 0x93128
testb %al, %al
je 0x5acff
movq 0xa2fd8(%rip), %rax     # 0xfdcd0
movb $0x1, 0x316c(%rax)
movq 0xa2fca(%rip), %rcx     # 0xfdcd0
movq 0x1ae0(%rcx), %rax
movb $0x1, 0x90(%rax)
cmpb $0x0, 0x93(%rax)
jne 0x5ad63
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 0x61895(%rip), %rdi     # 0xbc5ff
xorl %eax, %eax
callq 0x921f2
xorl %edi, %edi
callq 0x46d03
testb %al, %al
je 0x5adb9
xorl %edi, %edi
xorl %esi, %esi
callq 0x57b95
movq 0xa2f44(%rip), %rax     # 0xfdcd0
movss 0x1980(%rax), %xmm0
mulss 0x5cb64(%rip), %xmm0    # 0xb7900
callq 0x55008
leaq 0x5fcab(%rip), %rdi     # 0xbaa53
xorl %esi, %esi
callq 0x92015
callq 0x5511a
callq 0x57cdf
leaq 0x3175(%r12), %rsi
leaq 0x5fd10(%rip), %rdi     # 0xbaad8
callq 0x9450c
leaq 0x5fd1d(%rip), %rdi     # 0xbaaf1
movq -0x58(%rbp), %rsi
callq 0x9450c
movq 0xa2eec(%rip), %rax     # 0xfdcd0
movq 0x1ae0(%rax), %rcx
movb $0x1, 0x90(%rcx)
cmpb $0x0, 0x93(%rcx)
jne 0x5ae41
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 0x5cab3(%rip), %xmm0    # 0xb7904
orb $0x1, 0x1bf8(%rax)
movss %xmm0, 0x1bfc(%rax)
leaq 0x5fca2(%rip), %rdi     # 0xbab09
leaq -0x170(%rbp), %rdx
movq -0x60(%rbp), %rsi
movl $0x8, %ecx
movl $0x8, %r8d
callq 0x967b6
movq -0x58(%rbp), %rcx
orb %al, (%rcx)
je 0x5afa7
movq 0x1c90(%r12), %rax
testq %rax, %rax
je 0x5afa7
movq (%rax), %rsi
leaq 0x5fc79(%rip), %rdi     # 0xbab22
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x92645
movq 0xa2e17(%rip), %rax     # 0xfdcd0
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 0x5fc2d(%rip), %r14     # 0xbab28
movq 0x1c90(%r12), %rdi
movl %ebx, %esi
callq 0x5c168
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 0x92024
incq %rbx
cmpq $0x8, %rbx
jne 0x5aefb
movq 0xa2d64(%rip), %rax     # 0xfdcd0
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 0x5fba4(%rip), %rdi     # 0xbab5a
callq 0x9450c
leaq 0x3178(%r12), %rsi
leaq 0x5fbb2(%rip), %rdi     # 0xbab7c
callq 0x9450c
leaq 0x3176(%r12), %rbx
leaq 0x5fbca(%rip), %rdi     # 0xbaba8
movq %rbx, %rsi
callq 0x9450c
movq 0xa2ce3(%rip), %rax     # 0xfdcd0
movq 0x1ae0(%rax), %rcx
movb $0x1, 0x90(%rcx)
cmpb $0x0, 0x93(%rcx)
jne 0x5b04a
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 0x5c8aa(%rip), %xmm0    # 0xb7904
orb $0x1, 0x1bf8(%rax)
movss %xmm0, 0x1bfc(%rax)
leaq 0x5fb4f(%rip), %rdi     # 0xbabbf
leaq -0x1e0(%rbp), %rdx
movq -0x68(%rbp), %rsi
movl $0xd, %ecx
movl $0xd, %r8d
callq 0x967b6
orb %al, (%rbx)
movq -0x30(%rbp), %r14
je 0x5b4d3
cmpq $0x0, 0x1c90(%r14)
je 0x5b4d3
cmpl $0x0, 0x20b0(%r14)
jle 0x5b4d3
leaq -0x130(%rbp), %r13
leaq -0x38(%rbp), %r12
xorl %edx, %edx
movq 0x20b8(%r14), %rbx
imulq $0x258, %rdx, %rax      # imm = 0x258
movl 0x1a68(%r14), %ecx
decl %ecx
cmpl %ecx, 0x68(%rbx,%rax)
jl 0x5b4c0
addq %rax, %rbx
movq 0x1c8(%rbx), %rax
movq 0x1c90(%r14), %rcx
cmpq %rcx, %rax
je 0x5b104
cmpq %rcx, 0x1d0(%rbx)
jne 0x5b4c0
movq %rdx, -0xa8(%rbp)
movl (%rbx), %esi
movl 0x6c(%rbx), %edx
movq (%rax), %rcx
leaq 0x5fabd(%rip), %rdi     # 0xbabd7
xorl %eax, %eax
callq 0x92645
xorl %edi, %edi
callq 0x46d03
testb %al, %al
je 0x5b1b1
movq 0xa2b99(%rip), %rdi     # 0xfdcd0
movl $0x1f38, %eax           # imm = 0x1F38
addq %rax, %rdi
movss 0xec(%rbx), %xmm0
movss 0x5be81(%rip), %xmm2    # 0xb6fd0
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 0x5be6b(%rip), %xmm2    # 0xb6fe4
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 0x5c6bc(%rip), %xmm1    # 0xb7868
callq 0x79c80
movq 0xa2b18(%rip), %rax     # 0xfdcd0
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 0x5b34b
cmpl $0x8, %r15d
je 0x5b210
cmpl $0x6, %r15d
jne 0x5b466
cmpl $0x0, 0x6c(%rbx)
jle 0x5b466
xorl %r14d, %r14d
movq %rbx, %rdi
movl %r15d, %esi
movl %r14d, %edx
callq 0x5c286
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 0x5f962(%rip), %rdx     # 0xbabfa
movl %r14d, %ecx
movb $0x6, %al
callq 0x427cb
movq $0x0, -0x38(%rbp)
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %r12, %rcx
callq 0x962c5
xorl %edi, %edi
callq 0x46d03
testb %al, %al
je 0x5b339
movq 0xa2a05(%rip), %rdi     # 0xfdcd0
movl $0x1f38, %eax           # imm = 0x1F38
addq %rax, %rdi
movss 0x5bcf5(%rip), %xmm0    # 0xb6fd0
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 0x5bce7(%rip), %xmm0    # 0xb6fe4
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 0x5c534(%rip), %xmm1    # 0xb7868
callq 0x79c80
incl %r14d
cmpl 0x6c(%rbx), %r14d
jl 0x5b21d
jmp 0x5b466
movq %rbx, %rdi
movl %r15d, %esi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x5c286
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 0x5f760(%rip), %rdx     # 0xbab28
movb $0x6, %al
callq 0x427cb
movq $0x0, -0x38(%rbp)
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %r12, %rcx
callq 0x962c5
xorl %edi, %edi
callq 0x46d03
testb %al, %al
je 0x5b466
movq 0xa28d8(%rip), %rdi     # 0xfdcd0
movl $0x1f38, %eax           # imm = 0x1F38
addq %rax, %rdi
movss 0x5bbc8(%rip), %xmm0    # 0xb6fd0
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 0x5bbba(%rip), %xmm0    # 0xb6fe4
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 0x5c407(%rip), %xmm1    # 0xb7868
callq 0x79c80
incq %r15
cmpq $0xd, %r15
jne 0x5b1f6
movq 0xa2856(%rip), %rax     # 0xfdcd0
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), %r14
movq -0xa8(%rbp), %rdx
incq %rdx
movslq 0x20b0(%r14), %rax
cmpq %rax, %rdx
jl 0x5b0c0
callq 0xa2f4e
movq %r14, %r12
leaq 0x1a88(%r12), %rbx
leaq 0x60089(%rip), %rsi     # 0xbb573
movq %rbx, %rdi
callq 0x5c4fc
movl 0x1e48(%r12), %edx
leaq 0x5f732(%rip), %rdi     # 0xbac33
leaq 0x5f735(%rip), %rsi     # 0xbac3d
xorl %eax, %eax
callq 0xa20b9
testb %al, %al
movq %rbx, -0x50(%rbp)
je 0x5b55b
cmpl $0x0, 0x1e48(%r12)
jle 0x5b552
xorl %r14d, %r14d
leaq 0x5f727(%rip), %rbx     # 0xbac53
movq 0x1e50(%r12), %rax
movq (%rax,%r14,8), %rsi
xorl %edi, %edi
movq %rbx, %rdx
callq 0x5c5ba
incq %r14
movslq 0x1e48(%r12), %rax
cmpq %rax, %r14
jl 0x5b52c
callq 0xa2f4e
movq -0x50(%rbp), %rbx
movl 0x1c70(%r12), %edx
leaq 0x5f6f2(%rip), %rdi     # 0xbac5c
leaq 0x5f6f2(%rip), %rsi     # 0xbac63
xorl %eax, %eax
callq 0xa20b9
testb %al, %al
je 0x5b61f
cmpl $0x0, 0x1c70(%r12)
jle 0x5b616
movl $0x8, %r14d
leaq 0x5b981(%rip), %r15     # 0xb6f1d
leaq 0x5f6cc(%rip), %rbx     # 0xbac6f
xorl %r13d, %r13d
movq 0x1c78(%r12), %rax
movq (%rax,%r14), %rsi
leaq 0x5fd65(%rip), %rdx     # 0xbb31e
testq %rsi, %rsi
je 0x5b5c1
movq (%rsi), %rdx
movq %r15, %rcx
testq %rsi, %rsi
je 0x5b5d8
testb $0x1, 0xf(%rsi)
leaq 0x5f6bb(%rip), %rcx     # 0xbac8f
cmoveq %r15, %rcx
movq %r15, %r8
testq %rsi, %rsi
je 0x5b5ef
testb $0x10, 0xf(%rsi)
leaq 0x5f6b1(%rip), %r8      # 0xbac9c
cmoveq %r15, %r8
movl -0x8(%rax,%r14), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq 0x92645
incq %r13
movq -0x30(%rbp), %r12
movslq 0x1c70(%r12), %rax
addq $0x30, %r14
cmpq %rax, %r13
jl 0x5b5a6
callq 0xa2f4e
movq -0x50(%rbp), %rbx
movl 0x2110(%r12), %edx
leaq 0x5f679(%rip), %rdi     # 0xbaca7
leaq 0x5f67a(%rip), %rsi     # 0xbacaf
xorl %eax, %eax
callq 0xa20b9
testb %al, %al
je 0x5b68b
cmpl $0x0, 0x2110(%r12)
jle 0x5b682
xorl %r14d, %r14d
leaq 0x6c884(%rip), %rbx     # 0xc7ed9
xorl %r15d, %r15d
movq 0x2118(%r12), %rdi
addq %r14, %rdi
movq %rbx, %rsi
callq 0x5cc29
incq %r15
movslq 0x2110(%r12), %rax
addq $0x98, %r14
cmpq %rax, %r15
jl 0x5b658
callq 0xa2f4e
movq -0x50(%rbp), %rbx
movl 0x20b0(%r12), %edx
leaq 0x5f6d9(%rip), %rdi     # 0xbad73
leaq 0x5f61c(%rip), %rsi     # 0xbacbd
xorl %eax, %eax
callq 0xa20b9
testb %al, %al
je 0x5b6ec
cmpl $0x0, 0x20b0(%r12)
jle 0x5b6e3
xorl %ebx, %ebx
xorl %r14d, %r14d
movq 0x20b8(%r12), %rdi
addq %rbx, %rdi
callq 0x8f9cd
incq %r14
movslq 0x20b0(%r12), %rax
addq $0x258, %rbx            # imm = 0x258
cmpq %rax, %r14
jl 0x5b6bc
callq 0xa2f4e
movq -0x50(%rbp), %rbx
leaq 0x6a4b7(%rip), %rdi     # 0xc5baa
callq 0xa22d7
testb %al, %al
je 0x5babd
leaq 0x5f5c2(%rip), %rdi     # 0xbacc9
callq 0x93134
testb %al, %al
je 0x5b715
callq 0x5a5b6
movq 0xa25b4(%rip), %rcx     # 0xfdcd0
movq 0x1ae0(%rcx), %rax
movb $0x1, 0x90(%rax)
cmpb $0x0, 0x93(%rax)
jne 0x5b779
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 0x5f54f(%rip), %rdi     # 0xbaccf
callq 0x93134
testb %al, %al
je 0x5b790
xorl %edi, %edi
callq 0x5a96c
movq 0xa2539(%rip), %rcx     # 0xfdcd0
movq 0x1ae0(%rcx), %rax
movb $0x1, 0x90(%rax)
cmpb $0x0, 0x93(%rax)
jne 0x5b7f4
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 0x5f4e3(%rip), %rdi     # 0xbacde
callq 0x93134
testb %al, %al
je 0x5b80e
movq 0x20(%r12), %rdi
callq 0x50c72
movq 0xa24bb(%rip), %rcx     # 0xfdcd0
movq 0x1ae0(%rcx), %rax
movb $0x1, 0x90(%rax)
cmpb $0x0, 0x93(%rax)
jne 0x5b872
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 0x5b8a2
leaq 0x6c9a5(%rip), %rdi     # 0xc8228
xorl %eax, %eax
callq 0x92024
jmp 0x5b8b0
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x51ace
leaq 0x5f442(%rip), %rdi     # 0xbaceb
xorl %esi, %esi
callq 0x92015
xorps %xmm0, %xmm0
cvtss2sd 0x30e4(%r12), %xmm0
leaq 0x5f42e(%rip), %rdi     # 0xbacf2
movb $0x1, %al
callq 0x92024
movl 0x30f8(%r12), %edx
leaq 0x5f430(%rip), %rdi     # 0xbad0a
leaq 0x5f43a(%rip), %rsi     # 0xbad1b
xorl %eax, %eax
callq 0xa20b9
testb %al, %al
je 0x5b937
cmpl $0x0, 0x30f8(%r12)
jle 0x5b92e
leaq 0x5f259(%rip), %rbx     # 0xbab57
xorl %r14d, %r14d
xorl %r15d, %r15d
movq 0x3100(%r12), %rax
movq (%rax,%r14), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq 0x92645
incq %r15
movslq 0x30f8(%r12), %rax
addq $0x48, %r14
cmpq %rax, %r15
jl 0x5b904
callq 0xa2f4e
movq -0x50(%rbp), %rbx
movl 0x3108(%r12), %edx
leaq 0x5f3ed(%rip), %rdi     # 0xbad33
leaq 0x5f3f6(%rip), %rsi     # 0xbad43
xorl %eax, %eax
callq 0xa20b9
testb %al, %al
je 0x5b9c4
movq 0x3110(%r12), %rbx
testq %rbx, %rbx
je 0x5b9bb
leaq 0x3108(%r12), %r14
addq $0x4, %rbx
leaq 0x5fc1d(%rip), %r15     # 0xbb595
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 0x92024
addq $0x10, %rsp
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5f656
movq %rax, %rbx
testq %rax, %rax
jne 0x5b978
callq 0xa2f4e
movq -0x50(%rbp), %rbx
movl 0x3118(%r12), %edx
leaq 0x5f398(%rip), %rdi     # 0xbad6b
leaq 0x5f3a0(%rip), %rsi     # 0xbad7a
xorl %r15d, %r15d
xorl %eax, %eax
callq 0xa20b9
testb %al, %al
je 0x5ba25
movq 0x3120(%r12), %rbx
testq %rbx, %rbx
je 0x5ba1c
leaq 0x3118(%r12), %r14
addq $0x4, %rbx
movq %rbx, %rdi
callq 0x9008d
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5f6be
movq %rax, %rbx
testq %rax, %rax
jne 0x5ba01
callq 0xa2f4e
movq -0x50(%rbp), %rbx
movl 0x30e8(%r12), %edx
subl $0x1, %edx
cmovbl %r15d, %edx
leaq 0x5f366(%rip), %rdi     # 0xbada1
leaq 0x5f36f(%rip), %rsi     # 0xbadb1
xorl %eax, %eax
callq 0xa20b9
testb %al, %al
je 0x5bab8
movq 0x30f0(%r12), %rax
testq %rax, %rax
leaq 0xa2279(%rip), %rsi     # 0xfdcd8
cmovneq %rax, %rsi
movq 0xa2266(%rip), %rax     # 0xfdcd0
movss 0x1980(%rax), %xmm0
mulss 0x5be8e(%rip), %xmm0    # 0xb7908
movslq 0x30e8(%r12), %rdx
leaq -0x130(%rbp), %rcx
movl $0x80800000, (%rcx)     # imm = 0x80800000
movss %xmm0, 0x4(%rcx)
subq $0x8, %rsp
leaq 0x5f33a(%rip), %rdi     # 0xbadd9
movl $0x4000, %r8d           # imm = 0x4000
xorl %r9d, %r9d
pushq $0x0
callq 0x9d175
addq $0x10, %rsp
callq 0xa2f4e
callq 0xa2f4e
leaq 0x5f31b(%rip), %rdi     # 0xbaddf
callq 0xa22d7
testb %al, %al
je 0x5bed7
leaq 0x5f331(%rip), %rdi     # 0xbae09
xorl %eax, %eax
callq 0x92024
movq 0xa21ea(%rip), %rax     # 0xfdcd0
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 0x5f7ee(%rip), %rbx     # 0xbb31e
movq %rbx, %rsi
testq %rax, %rax
je 0x5bb3b
movq (%rax), %rsi
leaq 0x5f2d1(%rip), %rdi     # 0xbae13
xorl %eax, %eax
callq 0x92024
movq 0x1af0(%r12), %rax
movq %rbx, %rsi
testq %rax, %rax
je 0x5bb5c
movq (%rax), %rsi
leaq 0x5f2c4(%rip), %rdi     # 0xbae27
xorl %eax, %eax
callq 0x92024
movq 0x1af8(%r12), %rax
movq %rbx, %rsi
testq %rax, %rax
je 0x5bb7d
movq (%rax), %rsi
leaq 0x5f2bb(%rip), %rdi     # 0xbae3f
xorl %eax, %eax
callq 0x92024
movq 0x1b00(%r12), %rax
movq %rbx, %rsi
testq %rax, %rax
je 0x5bb9e
movq (%rax), %rsi
leaq 0x5f2ac(%rip), %rdi     # 0xbae51
xorl %eax, %eax
callq 0x92024
movq 0xa211d(%rip), %rax     # 0xfdcd0
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 0x5f26c(%rip), %rdi     # 0xbae64
xorl %eax, %eax
callq 0x92024
movq 0xa20ca(%rip), %rax     # 0xfdcd0
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 0x9c80a(%rip), %r14     # 0xf8480
movq (%r14,%rax,8), %r8
leaq 0x5f1e9(%rip), %rdi     # 0xbae6a
movb $0x1, %al
callq 0x92024
movq 0x1b60(%r12), %rax
movq %rbx, %rsi
testq %rax, %rax
je 0x5bc9b
movq (%rax), %rsi
leaq 0x5f209(%rip), %rdi     # 0xbaeab
xorl %eax, %eax
callq 0x92024
movl 0x1b1c(%r12), %esi
movl 0x1b20(%r12), %edx
xorps %xmm0, %xmm0
cvtss2sd 0x1b28(%r12), %xmm0
movzbl 0x1b24(%r12), %ecx
leaq 0x5f1ea(%rip), %rdi     # 0xbaec0
movb $0x1, %al
callq 0x92024
movzbl 0x2004(%r12), %esi
movl 0x2020(%r12), %r8d
movl 0x2024(%r12), %edx
leaq 0x2030(%r12), %rcx
leaq 0x5f1f1(%rip), %rdi     # 0xbaef6
xorl %eax, %eax
callq 0x92024
movq 0xa1fbd(%rip), %rax     # 0xfdcd0
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 0x5f1da(%rip), %rdi     # 0xbaf2f
xorl %eax, %eax
callq 0x92024
movq 0xa1f6d(%rip), %rax     # 0xfdcd0
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 0x5bdb1
movq (%rax), %rsi
leaq 0x5f181(%rip), %rdi     # 0xbaf39
xorl %eax, %eax
callq 0x92024
movl 0x1c98(%r12), %esi
movl 0x1cdc(%r12), %edx
leaq 0x5f173(%rip), %rdi     # 0xbaf49
xorl %eax, %eax
callq 0x92024
movl 0x1cc4(%r12), %eax
movq (%r14,%rax,8), %rsi
leaq 0x5f175(%rip), %rdi     # 0xbaf65
xorl %eax, %eax
callq 0x92024
movzbl 0x39d(%r12), %esi
movzbl 0x39e(%r12), %edx
leaq 0x5f168(%rip), %rdi     # 0xbaf78
xorl %eax, %eax
callq 0x92024
movl 0x1ca0(%r12), %esi
movl 0x1cac(%r12), %edx
leaq 0x5f168(%rip), %rdi     # 0xbaf96
xorl %eax, %eax
callq 0x92024
movzbl 0x1ce6(%r12), %esi
movzbl 0x1ce7(%r12), %edx
leaq 0x5f172(%rip), %rdi     # 0xbafc0
xorl %eax, %eax
callq 0x92024
movl 0x1c9c(%r12), %esi
leaq 0x5f18e(%rip), %rdi     # 0xbaff2
xorl %eax, %eax
callq 0x92024
movq 0x1dc0(%r12), %rax
testq %rax, %rax
je 0x5be7b
movq (%rax), %rbx
leaq 0x5f189(%rip), %rdi     # 0xbb00b
movq %rbx, %rsi
xorl %eax, %eax
callq 0x92024
movq 0xa1e3d(%rip), %rax     # 0xfdcd0
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 0xa2f4e
movq -0x50(%rbp), %rbx
movq -0x58(%rbp), %rax
cmpb $0x0, (%rax)
jne 0x5bef1
movq -0x30(%rbp), %rax
cmpb $0x1, 0x3175(%rax)
jne 0x5c01f
cmpl $0x0, (%rbx)
jle 0x5c01f
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 0x5c010
movq 0xa1da8(%rip), %r15     # 0xfdcd0
movl $0x1f38, %eax           # imm = 0x1F38
addq %rax, %r15
movq -0x58(%rbp), %rax
cmpb $0x1, (%rax)
jne 0x5bf79
movq -0x60(%rbp), %rax
movl (%rax), %esi
movq %r13, %rdi
callq 0x5c168
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 0x5b070(%rip), %xmm1    # 0xb6fe4
callq 0x79c80
movq -0x30(%rbp), %rax
cmpb $0x1, 0x3175(%rax)
jne 0x5c010
testb $0x1, 0xf(%r13)
jne 0x5c010
movswl 0x9e(%r13), %ecx
movl $0x20, %esi
movq %r14, %rdi
leaq 0x624da(%rip), %rdx     # 0xbe482
xorl %eax, %eax
callq 0x427cb
movq 0xa1d1a(%rip), %rax     # 0xfdcd0
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 0x79d4a
movq %r15, %rdi
movq %rbx, %rsi
movq -0x50(%rbp), %rbx
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movq %r14, %rcx
xorl %r8d, %r8d
callq 0x7b6d0
incq %r12
movslq (%rbx), %rax
cmpq %rax, %r12
jl 0x5bf04
movq -0x30(%rbp), %rcx
cmpb $0x1, 0x3176(%rcx)
jne 0x5c151
cmpl $0x0, 0x20b0(%rcx)
jle 0x5c151
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 0x5c13a
addq %rax, %r13
movq 0xa1c5d(%rip), %r12     # 0xfdcd0
movl $0x1f38, %eax           # imm = 0x1F38
addq %rax, %r12
movl (%rcx), %esi
cmpl $0x6, %esi
jl 0x5c0f7
cmpl $0x0, 0x6c(%r13)
jle 0x5c13a
xorl %ebx, %ebx
movl (%r15), %esi
movq %r13, %rdi
movl %ebx, %edx
callq 0x5c286
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 0x5c063(%rip), %rax     # 0xb812c
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 0x79c80
incl %ebx
cmpl 0x6c(%r13), %ebx
jl 0x5c08f
jmp 0x5c13a
movq %r13, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x5c286
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 0x5aeaf(%rip), %xmm1    # 0xb6fe4
callq 0x79c80
incq %r14
movq -0x30(%rbp), %rcx
movslq 0x20b0(%rcx), %rax
cmpq %rax, %r14
jl 0x5c044
callq 0x51ace
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq