// File: /workspace/github_cpp_makefile_star2_O2/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 $0x1c8, %rsp            # imm = 0x1C8
movq %rdi, %rsi
leaq 0x58c95(%rip), %rdi     # 0x9f8e2
xorl %edx, %edx
callq 0x3bad8
testb %al, %al
je 0x46f4e
movq 0x9d07d(%rip), %r14     # 0xe3ce0
leaq 0x58c94(%rip), %rdi     # 0x9f8fe
leaq 0x55476(%rip), %rsi     # 0x9c0e7
xorl %eax, %eax
callq 0x795ac
movss 0x3a0(%r14), %xmm1
movss 0x5536b(%rip), %xmm0    # 0x9bff4
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
cvtss2sd %xmm1, %xmm1
leaq 0x5551a(%rip), %rdi     # 0x9c1b6
movb $0x2, %al
callq 0x795ac
movl 0x3a4(%r14), %esi
movl 0x3a8(%r14), %ecx
pushq $0x3
popq %rdi
movl %ecx, %eax
cltd
idivl %edi
leaq 0x58c4c(%rip), %rdi     # 0x9f90c
movl %ecx, %edx
movl %eax, %ecx
xorl %eax, %eax
callq 0x795ac
movl 0x3ac(%r14), %edx
movl 0x3b0(%r14), %esi
leaq 0x58c53(%rip), %rdi     # 0x9f933
xorl %eax, %eax
callq 0x795ac
movl 0x3b4(%r14), %esi
leaq 0x58c5d(%rip), %rdi     # 0x9f952
xorl %eax, %eax
callq 0x795ac
callq 0x7cad7
movaps 0x97718(%rip), %xmm0    # 0xde420
movaps %xmm0, -0x140(%rbp)
movaps 0x976fa(%rip), %xmm0    # 0xde410
movaps %xmm0, -0x150(%rbp)
movaps 0x976dc(%rip), %xmm0    # 0xde400
movaps %xmm0, -0x160(%rbp)
movaps 0x976be(%rip), %xmm0    # 0xde3f0
movaps %xmm0, -0x170(%rbp)
leaq 0x976f0(%rip), %rsi     # 0xde430
pushq $0xd
popq %rcx
leaq -0x1e0(%rbp), %rdi
rep  movsq (%rsi), %es:(%rdi)
leaq 0x317c(%r14), %rax
movq %rax, -0x58(%rbp)
cmpl $0x0, 0x317c(%r14)
jns 0x46d6c
movq -0x58(%rbp), %rax
movl $0x4, (%rax)
leaq 0x3180(%r14), %rax
movq %rax, -0x40(%rbp)
cmpl $0x0, 0x3180(%r14)
jns 0x46d8b
movq -0x40(%rbp), %rax
movl $0x2, (%rax)
leaq 0x3174(%r14), %rax
movq %rax, -0x60(%rbp)
leaq 0x58cd2(%rip), %rdi     # 0x9fa6f
callq 0x88a43
testb %al, %al
movq %r14, -0x30(%rbp)
je 0x473b1
leaq -0x130(%rbp), %rsi
andq $0x0, (%rsi)
leaq 0x58cb5(%rip), %rdi     # 0x9fa75
callq 0x7a64b
testb %al, %al
je 0x46dd7
movq 0x9cf10(%rip), %rax     # 0xe3ce0
movb $0x1, 0x316c(%rax)
movss 0x55211(%rip), %xmm1    # 0x9bff0
xorps %xmm0, %xmm0
callq 0x437ec
leaq 0x5a85d(%rip), %rdi     # 0xa164b
xorl %eax, %eax
callq 0x79774
xorl %edi, %edi
callq 0x374fd
testb %al, %al
je 0x46e39
callq 0x44503
movq 0x9ced4(%rip), %rax     # 0xe3ce0
movss 0x1980(%rax), %xmm0
mulss 0x55b18(%rip), %xmm0    # 0x9c934
callq 0x4250d
leaq 0x58c5b(%rip), %rdi     # 0x9fa83
xorl %esi, %esi
callq 0x7959d
callq 0x4254c
callq 0x4463b
leaq 0x3175(%r14), %rsi
leaq 0x58cc1(%rip), %rdi     # 0x9fb08
callq 0x7bae6
leaq 0x58cce(%rip), %rdi     # 0x9fb21
movq -0x60(%rbp), %rsi
callq 0x7bae6
movss 0x5518c(%rip), %xmm1    # 0x9bff0
xorps %xmm0, %xmm0
callq 0x437ec
movq 0x9ce6d(%rip), %rax     # 0xe3ce0
movss 0x1980(%rax), %xmm0
mulss 0x55ab5(%rip), %xmm0    # 0x9c938
orl $0x1, 0x1bf8(%rax)
movss %xmm0, 0x1bfc(%rax)
leaq 0x58ca0(%rip), %rdi     # 0x9fb39
leaq -0x170(%rbp), %rdx
pushq $0x8
popq %rcx
movq -0x58(%rbp), %rsi
movl %ecx, %r8d
callq 0x7dd17
orb %al, 0x3174(%r14)
je 0x46f70
movq 0x1c90(%r14), %rax
testq %rax, %rax
je 0x46f70
movq (%rax), %rsi
leaq 0x58c7c(%rip), %rdi     # 0x9fb52
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x79bb3
xorps %xmm0, %xmm0
callq 0x43ae4
leaq 0x58c6a(%rip), %r14     # 0x9fb58
cmpq $0x8, %rbx
je 0x46f64
movq -0x30(%rbp), %rax
movq 0x1c90(%rax), %rdi
movl %ebx, %esi
callq 0x47d00
cvtss2sd %xmm0, %xmm7
cvtss2sd %xmm1, %xmm2
movaps %xmm1, %xmm5
subss %xmm0, %xmm1
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
cvtss2sd %xmm0, %xmm6
shufps $0x55, %xmm5, %xmm5     # xmm5 = xmm5[1,1,1,1]
cvtss2sd %xmm5, %xmm3
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 0x795ac
incq %rbx
jmp 0x46eee
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3f958
xorps %xmm0, %xmm0
callq 0x43b36
movq -0x30(%rbp), %r14
leaq 0x3177(%r14), %rsi
leaq 0x58c0c(%rip), %rdi     # 0x9fb8a
callq 0x7bae6
leaq 0x3178(%r14), %rsi
leaq 0x58c1b(%rip), %rdi     # 0x9fbac
callq 0x7bae6
leaq 0x3176(%r14), %rsi
leaq 0x58c34(%rip), %rdi     # 0x9fbd8
callq 0x7bae6
movss 0x5503f(%rip), %xmm1    # 0x9bff0
xorps %xmm0, %xmm0
callq 0x437ec
movq 0x9cd20(%rip), %rax     # 0xe3ce0
movss 0x1980(%rax), %xmm0
mulss 0x55968(%rip), %xmm0    # 0x9c938
orl $0x1, 0x1bf8(%rax)
movss %xmm0, 0x1bfc(%rax)
leaq 0x58c09(%rip), %rdi     # 0x9fbef
leaq -0x1e0(%rbp), %rdx
pushq $0xd
popq %rcx
movq -0x40(%rbp), %rsi
movl %ecx, %r8d
callq 0x7dd17
orb %al, 0x3176(%r14)
je 0x473a8
movq -0x30(%rbp), %rax
cmpq $0x0, 0x1c90(%rax)
je 0x473a8
movq -0x30(%rbp), %rax
leaq 0x20b0(%rax), %r15
leaq -0x130(%rbp), %r13
leaq -0x38(%rbp), %r14
xorl %esi, %esi
movq %r15, -0xa8(%rbp)
cmpl (%r15), %esi
jge 0x473a8
movq %r15, %rdi
movl %esi, -0x6c(%rbp)
callq 0x4c6b6
movq %rax, %rbx
movq -0x30(%rbp), %rax
movl 0x1a68(%rax), %eax
decl %eax
cmpl %eax, 0x68(%rbx)
jl 0x4739e
movq 0x1c8(%rbx), %rax
movq -0x30(%rbp), %rcx
movq 0x1c90(%rcx), %rcx
cmpq %rcx, %rax
je 0x4708a
cmpq %rcx, 0x1d0(%rbx)
jne 0x4739e
movl (%rbx), %esi
movl 0x6c(%rbx), %edx
movq (%rax), %rcx
leaq 0x58b6e(%rip), %rdi     # 0x9fc07
xorl %eax, %eax
callq 0x79bb3
xorl %edi, %edi
callq 0x374fd
testb %al, %al
je 0x4712a
movq 0x9cc2e(%rip), %rdi     # 0xe3ce0
movl $0x1f38, %eax           # imm = 0x1F38
addq %rax, %rdi
movss 0xec(%rbx), %xmm0
movss 0x54f26(%rip), %xmm2    # 0x9bff0
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 0x54f04(%rip), %xmm2    # 0x9bff8
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 %r14, %rdx
movl $0xff00ffff, %ecx       # imm = 0xFF00FFFF
pushq $-0x1
popq %r8
movss 0x5576f(%rip), %xmm1    # 0x9c894
callq 0x63f6c
xorps %xmm0, %xmm0
callq 0x43ae4
xorl %r15d, %r15d
cmpq $0xd, %r15
je 0x4738f
cmpq $0x6, %r15
jb 0x4727c
cmpl $0x8, %r15d
je 0x47159
cmpl $0x6, %r15d
jne 0x47387
xorl %r12d, %r12d
cmpl 0x6c(%rbx), %r12d
jge 0x47387
movq %rbx, %rdi
movl %r15d, %esi
movl %r12d, %edx
callq 0x47e1a
movaps %xmm0, %xmm5
movaps %xmm1, %xmm4
cvtss2sd %xmm0, %xmm0
movaps %xmm5, %xmm7
shufps $0x55, %xmm5, %xmm7     # xmm7 = xmm7[1,1],xmm5[1,1]
cvtss2sd %xmm7, %xmm1
cvtss2sd %xmm4, %xmm2
movaps %xmm4, %xmm6
shufps $0x55, %xmm4, %xmm6     # xmm6 = xmm6[1,1],xmm4[1,1]
cvtss2sd %xmm6, %xmm3
movaps %xmm4, -0x80(%rbp)
movaps %xmm5, -0x50(%rbp)
subss %xmm5, %xmm4
cvtss2sd %xmm4, %xmm4
movaps %xmm6, -0xa0(%rbp)
movaps %xmm6, %xmm5
movaps %xmm7, -0x90(%rbp)
subss %xmm7, %xmm5
cvtss2sd %xmm5, %xmm5
movq -0x1e0(%rbp,%r15,8), %r8
movl $0x80, %esi
movq %r13, %rdi
leaq 0x58a52(%rip), %rdx     # 0x9fc2a
movl %r12d, %ecx
movb $0x6, %al
callq 0x3468c
andq $0x0, -0x38(%rbp)
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %r14, %rcx
callq 0x7d81c
xorl %edi, %edi
callq 0x374fd
testb %al, %al
je 0x47274
movq 0x9cad8(%rip), %rdi     # 0xe3ce0
movl $0x1f38, %eax           # imm = 0x1F38
addq %rax, %rdi
movss 0x54dd8(%rip), %xmm0    # 0x9bff0
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, -0x38(%rbp)
movss 0x54dbe(%rip), %xmm0    # 0x9bff8
movaps -0x80(%rbp), %xmm1
addss %xmm0, %xmm1
movaps -0xa0(%rbp), %xmm2
addss %xmm0, %xmm2
unpcklps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movlps %xmm1, -0x68(%rbp)
xorps %xmm0, %xmm0
movq %r14, %rsi
leaq -0x68(%rbp), %rdx
movl $0xff00ffff, %ecx       # imm = 0xFF00FFFF
pushq $-0x1
popq %r8
movss 0x55625(%rip), %xmm1    # 0x9c894
callq 0x63f6c
incl %r12d
jmp 0x4715c
movq %rbx, %rdi
movl %r15d, %esi
pushq $-0x1
popq %rdx
callq 0x47e1a
movaps %xmm0, %xmm5
movaps %xmm1, %xmm4
cvtss2sd %xmm0, %xmm0
movaps %xmm5, %xmm7
shufps $0x55, %xmm5, %xmm7     # xmm7 = xmm7[1,1],xmm5[1,1]
cvtss2sd %xmm7, %xmm1
cvtss2sd %xmm4, %xmm2
movaps %xmm4, %xmm6
shufps $0x55, %xmm4, %xmm6     # xmm6 = xmm6[1,1],xmm4[1,1]
cvtss2sd %xmm6, %xmm3
movaps %xmm4, -0x80(%rbp)
movaps %xmm5, -0x50(%rbp)
subss %xmm5, %xmm4
cvtss2sd %xmm4, %xmm4
movaps %xmm6, -0xa0(%rbp)
movaps %xmm6, %xmm5
movaps %xmm7, -0x90(%rbp)
subss %xmm7, %xmm5
cvtss2sd %xmm5, %xmm5
movq -0x1e0(%rbp,%r15,8), %rcx
movl $0x80, %esi
movq %r13, %rdi
leaq 0x5886a(%rip), %rdx     # 0x9fb58
movb $0x6, %al
callq 0x3468c
andq $0x0, -0x38(%rbp)
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %r14, %rcx
callq 0x7d81c
xorl %edi, %edi
callq 0x374fd
testb %al, %al
je 0x47387
movq 0x9c9c5(%rip), %rdi     # 0xe3ce0
movl $0x1f38, %eax           # imm = 0x1F38
addq %rax, %rdi
movss 0x54cc5(%rip), %xmm0    # 0x9bff0
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, -0x38(%rbp)
movss 0x54cab(%rip), %xmm0    # 0x9bff8
movaps -0x80(%rbp), %xmm1
addss %xmm0, %xmm1
movaps -0xa0(%rbp), %xmm2
addss %xmm0, %xmm2
unpcklps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movlps %xmm1, -0x68(%rbp)
xorps %xmm0, %xmm0
movq %r14, %rsi
leaq -0x68(%rbp), %rdx
movl $0xff00ffff, %ecx       # imm = 0xFF00FFFF
pushq $-0x1
popq %r8
movss 0x55512(%rip), %xmm1    # 0x9c894
callq 0x63f6c
incq %r15
jmp 0x47135
xorps %xmm0, %xmm0
callq 0x43b36
movq -0xa8(%rbp), %r15
movl -0x6c(%rbp), %esi
incl %esi
jmp 0x4703a
callq 0x89637
movq -0x30(%rbp), %r14
leaq 0x1a88(%r14), %r12
leaq 0x591e4(%rip), %rsi     # 0xa05a3
movq %r12, %rdi
callq 0x47ff3
movl 0x1e48(%r14), %edx
leaq 0x5888e(%rip), %rdi     # 0x9fc63
leaq 0x58891(%rip), %rsi     # 0x9fc6d
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x88825
testb %al, %al
je 0x47420
addq $0x1e48, %r14           # imm = 0x1E48
leaq 0x5888c(%rip), %r15     # 0x9fc83
cmpl (%r14), %ebx
jge 0x47417
movq %r14, %rdi
movl %ebx, %esi
callq 0x4b268
movq (%rax), %rsi
xorl %edi, %edi
movq %r15, %rdx
callq 0x48084
incl %ebx
jmp 0x473f7
callq 0x89637
movq -0x30(%rbp), %r14
movl 0x1c70(%r14), %edx
leaq 0x5885e(%rip), %rdi     # 0x9fc8c
leaq 0x5885e(%rip), %rsi     # 0x9fc93
xorl %eax, %eax
callq 0x88825
testb %al, %al
movq %r12, -0x50(%rbp)
je 0x474d5
leaq 0x1c70(%r14), %rbx
leaq 0x54acb(%rip), %r12     # 0x9bf21
leaq 0x58842(%rip), %r14     # 0x9fc9f
xorl %r15d, %r15d
cmpl (%rbx), %r15d
jge 0x474c8
movq %rbx, %rdi
movl %r15d, %esi
callq 0x4b386
movq 0x8(%rax), %r13
movq %rbx, %rdi
movl %r15d, %esi
callq 0x4b386
movq %r12, %rcx
leaq 0x58ec5(%rip), %rdx     # 0xa034e
movq %r12, %r8
testq %r13, %r13
je 0x474b7
movq (%r13), %rdx
movl 0xc(%r13), %esi
btl $0x18, %esi
leaq 0x5881b(%rip), %rcx     # 0x9fcbf
cmovaeq %r12, %rcx
btl $0x1c, %esi
leaq 0x58819(%rip), %r8      # 0x9fccc
cmovaeq %r12, %r8
movl (%rax), %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x79bb3
incl %r15d
jmp 0x47460
callq 0x89637
movq -0x30(%rbp), %r14
movq -0x50(%rbp), %r12
movl 0x2110(%r14), %edx
leaq 0x587f4(%rip), %rdi     # 0x9fcd7
leaq 0x587f5(%rip), %rsi     # 0x9fcdf
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x88825
testb %al, %al
je 0x4752c
addq $0x2110, %r14           # imm = 0x2110
leaq 0x65ce4(%rip), %r15     # 0xad1e9
cmpl (%r14), %ebx
jge 0x47523
movq %r14, %rdi
movl %ebx, %esi
callq 0x4ca7e
movq %rax, %rdi
movq %r15, %rsi
callq 0x48615
incl %ebx
jmp 0x47505
callq 0x89637
movq -0x30(%rbp), %r14
leaq 0x20b0(%r14), %r13
movl 0x20b0(%r14), %edx
leaq 0x58862(%rip), %rdi     # 0x9fda3
leaq 0x587a5(%rip), %rsi     # 0x9fced
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x88825
testb %al, %al
je 0x47576
cmpl (%r13), %ebx
jge 0x47571
movq %r13, %rdi
movl %ebx, %esi
callq 0x4c6b6
movq %rax, %rdi
callq 0x76e01
incl %ebx
jmp 0x47555
callq 0x89637
leaq 0x6392d(%rip), %rdi     # 0xaaeaa
callq 0x88a43
testb %al, %al
je 0x477ea
leaq 0x58768(%rip), %rdi     # 0x9fcf9
callq 0x7a657
testb %al, %al
je 0x4759f
callq 0x4687a
movss 0x54a49(%rip), %xmm1    # 0x9bff0
xorps %xmm0, %xmm0
callq 0x437ec
leaq 0x58749(%rip), %rdi     # 0x9fcff
callq 0x7a657
testb %al, %al
je 0x475c6
xorl %edi, %edi
callq 0x46b8b
movss 0x54a22(%rip), %xmm1    # 0x9bff0
xorps %xmm0, %xmm0
callq 0x437ec
leaq 0x58731(%rip), %rdi     # 0x9fd0e
callq 0x7a657
testb %al, %al
je 0x475ef
movq 0x20(%r14), %rdi
callq 0x3efe8
movss 0x549f9(%rip), %xmm1    # 0x9bff0
xorps %xmm0, %xmm0
callq 0x437ec
movq 0x20(%r14), %rsi
testq %rsi, %rsi
je 0x47618
leaq 0x65f63(%rip), %rdi     # 0xad572
xorl %eax, %eax
callq 0x795ac
jmp 0x47626
leaq 0x586fc(%rip), %rdi     # 0x9fd1b
xorl %esi, %esi
callq 0x7959d
cvtss2sd 0x30e4(%r14), %xmm0
leaq 0x586ec(%rip), %rdi     # 0x9fd22
movb $0x1, %al
callq 0x795ac
movl 0x30f8(%r14), %edx
leaq 0x586ef(%rip), %rdi     # 0x9fd3a
leaq 0x586f9(%rip), %rsi     # 0x9fd4b
xorl %eax, %eax
callq 0x88825
testb %al, %al
je 0x47699
leaq 0x30f8(%r14), %rbx
leaq 0x5851c(%rip), %r14     # 0x9fb87
xorl %r15d, %r15d
cmpl (%rbx), %r15d
jge 0x47690
movq %rbx, %rdi
movl %r15d, %esi
callq 0x4baa6
movq (%rax), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq 0x79bb3
incl %r15d
jmp 0x4766e
callq 0x89637
movq -0x30(%rbp), %r14
movl 0x3108(%r14), %edx
leaq 0x586bc(%rip), %rdi     # 0x9fd63
leaq 0x586c5(%rip), %rsi     # 0x9fd73
xorl %eax, %eax
callq 0x88825
testb %al, %al
je 0x476f8
leaq 0x3108(%r14), %rbx
movq 0x3110(%r14), %r14
leaq 0x4(%r14), %rax
testq %r14, %r14
cmovneq %rax, %r14
testq %r14, %r14
je 0x476ef
movq %r14, %rdi
callq 0x48896
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4ba3e
movq %rax, %r14
jmp 0x476d2
callq 0x89637
movq -0x30(%rbp), %r14
movl 0x3118(%r14), %edx
leaq 0x58695(%rip), %rdi     # 0x9fd9b
leaq 0x5869d(%rip), %rsi     # 0x9fdaa
xorl %r15d, %r15d
xorl %eax, %eax
callq 0x88825
testb %al, %al
je 0x4775a
leaq 0x3118(%r14), %rbx
movq 0x3120(%r14), %r14
leaq 0x4(%r14), %rax
testq %r14, %r14
cmovneq %rax, %r14
testq %r14, %r14
je 0x47751
movq %r14, %rdi
callq 0x7742b
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4bb2a
movq %rax, %r14
jmp 0x47734
callq 0x89637
movq -0x30(%rbp), %r14
movl 0x30e8(%r14), %edx
subl $0x1, %edx
cmovbl %r15d, %edx
leaq 0x58662(%rip), %rdi     # 0x9fdd1
leaq 0x5866b(%rip), %rsi     # 0x9fde1
xorl %eax, %eax
callq 0x88825
testb %al, %al
je 0x477e5
movq 0x30f0(%r14), %rax
testq %rax, %rax
leaq 0x9c556(%rip), %rsi     # 0xe3ce8
cmovneq %rax, %rsi
movq 0x9c543(%rip), %rax     # 0xe3ce0
movss 0x1980(%rax), %xmm0
mulss 0x5518f(%rip), %xmm0    # 0x9c93c
movslq 0x30e8(%r14), %rdx
leaq -0x130(%rbp), %rcx
movl $0x80800000, (%rcx)     # imm = 0x80800000
movss %xmm0, 0x4(%rcx)
andq $0x0, (%rsp)
leaq 0x58637(%rip), %rdi     # 0x9fe09
movl $0x4000, %r8d           # imm = 0x4000
xorl %r9d, %r9d
callq 0x83f97
callq 0x89637
callq 0x89637
leaq 0x5861e(%rip), %rdi     # 0x9fe0f
callq 0x88a43
testb %al, %al
je 0x47a8b
leaq 0x58b49(%rip), %rbx     # 0xa034e
leaq 0x5862d(%rip), %rdi     # 0x9fe39
xorl %eax, %eax
callq 0x795ac
xorps %xmm0, %xmm0
callq 0x43ae4
movq 0x1ae8(%r14), %rax
movq %rbx, %rsi
testq %rax, %rax
je 0x4782d
movq (%rax), %rsi
leaq 0x5860f(%rip), %rdi     # 0x9fe43
xorl %eax, %eax
callq 0x795ac
movq 0x1af0(%r14), %rax
movq %rbx, %rsi
testq %rax, %rax
je 0x4784d
movq (%rax), %rsi
leaq 0x58603(%rip), %rdi     # 0x9fe57
xorl %eax, %eax
callq 0x795ac
movq 0x1af8(%r14), %rax
movq %rbx, %rsi
testq %rax, %rax
je 0x4786d
movq (%rax), %rsi
leaq 0x585fb(%rip), %rdi     # 0x9fe6f
xorl %eax, %eax
callq 0x795ac
movq 0x1b00(%r14), %rax
movq %rbx, %rsi
testq %rax, %rax
je 0x4788d
movq (%rax), %rsi
leaq 0x585ed(%rip), %rdi     # 0x9fe81
xorl %eax, %eax
callq 0x795ac
xorps %xmm0, %xmm0
callq 0x43b36
leaq 0x585ea(%rip), %rdi     # 0x9fe94
xorl %eax, %eax
callq 0x795ac
xorps %xmm0, %xmm0
callq 0x43ae4
movl 0x1b70(%r14), %edx
cvtss2sd 0x1b38(%r14), %xmm0
movzbl 0x1b3d(%r14), %ecx
movl 0x1b30(%r14), %esi
movl 0x1b68(%r14), %eax
movq %r14, %r15
leaq 0x96bb7(%rip), %r14     # 0xde4a0
movq (%r14,%rax,8), %r8
leaq 0x585a6(%rip), %rdi     # 0x9fe9a
movb $0x1, %al
callq 0x795ac
movq 0x1b60(%r15), %rax
movq %rbx, %rsi
testq %rax, %rax
je 0x4790d
movq (%rax), %rsi
leaq 0x585c7(%rip), %rdi     # 0x9fedb
xorl %eax, %eax
callq 0x795ac
movq -0x30(%rbp), %r15
movl 0x1b1c(%r15), %esi
movl 0x1b20(%r15), %edx
cvtss2sd 0x1b28(%r15), %xmm0
movzbl 0x1b24(%r15), %ecx
leaq 0x585ab(%rip), %rdi     # 0x9fef0
movb $0x1, %al
callq 0x795ac
movzbl 0x2004(%r15), %esi
movl 0x2020(%r15), %r8d
movl 0x2024(%r15), %edx
leaq 0x2030(%r15), %rcx
leaq 0x585b6(%rip), %rdi     # 0x9ff26
xorl %eax, %eax
callq 0x795ac
xorps %xmm0, %xmm0
callq 0x43b36
leaq 0x585d9(%rip), %rdi     # 0x9ff5f
xorl %eax, %eax
callq 0x795ac
xorps %xmm0, %xmm0
callq 0x43ae4
movq 0x1c90(%r15), %rax
movq %rbx, %rsi
testq %rax, %rax
je 0x479a7
movq (%rax), %rsi
leaq 0x585bb(%rip), %rdi     # 0x9ff69
xorl %eax, %eax
callq 0x795ac
movq -0x30(%rbp), %r15
movl 0x1c98(%r15), %esi
movl 0x1cdc(%r15), %edx
leaq 0x585ab(%rip), %rdi     # 0x9ff79
xorl %eax, %eax
callq 0x795ac
movl 0x1cc4(%r15), %eax
movq (%r14,%rax,8), %rsi
movq %r15, %r14
leaq 0x585ab(%rip), %rdi     # 0x9ff95
xorl %eax, %eax
callq 0x795ac
movzbl 0x39d(%r15), %esi
movzbl 0x39e(%r15), %edx
leaq 0x585a0(%rip), %rdi     # 0x9ffa8
xorl %eax, %eax
callq 0x795ac
movl 0x1ca0(%r15), %esi
movl 0x1cac(%r15), %edx
leaq 0x585a2(%rip), %rdi     # 0x9ffc6
xorl %eax, %eax
callq 0x795ac
movzbl 0x1ce6(%r15), %esi
movzbl 0x1ce7(%r15), %edx
leaq 0x585ae(%rip), %rdi     # 0x9fff0
xorl %eax, %eax
callq 0x795ac
movl 0x1c9c(%r15), %esi
leaq 0x585cb(%rip), %rdi     # 0xa0022
xorl %eax, %eax
callq 0x795ac
movq 0x1dc0(%r15), %rax
testq %rax, %rax
je 0x47a6d
movq (%rax), %rbx
leaq 0x585c7(%rip), %rdi     # 0xa003b
movq %rbx, %rsi
xorl %eax, %eax
callq 0x795ac
xorps %xmm0, %xmm0
callq 0x43b36
callq 0x89637
movq -0x60(%rbp), %rax
cmpb $0x0, (%rax)
movq %r13, -0x80(%rbp)
jne 0x47aa6
cmpb $0x1, 0x3175(%r14)
jne 0x47bcf
xorl %ebx, %ebx
cmpl (%r12), %ebx
jge 0x47bcf
movq %r12, %rdi
movl %ebx, %esi
callq 0x4ad62
movq (%rax), %r13
cmpb $0x1, 0x8f(%r13)
jne 0x47bc4
movq 0x9c20c(%rip), %r15     # 0xe3ce0
movl $0x1f38, %eax           # imm = 0x1F38
addq %rax, %r15
movq -0x60(%rbp), %rax
cmpb $0x1, (%rax)
jne 0x47b27
movq -0x58(%rbp), %rax
movl (%rax), %esi
movq %r13, %rdi
callq 0x47d00
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, -0x130(%rbp)
xorps %xmm0, %xmm0
movq %r15, %rdi
leaq -0x130(%rbp), %rsi
leaq -0x128(%rbp), %rdx
movl $0xff8000ff, %ecx       # imm = 0xFF8000FF
pushq $0xf
popq %r8
movss 0x544d6(%rip), %xmm1    # 0x9bff8
callq 0x63f6c
cmpb $0x1, 0x3175(%r14)
jne 0x47bc4
testb $0x1, 0xf(%r13)
jne 0x47bc4
movswl 0x9e(%r13), %ecx
leaq -0x130(%rbp), %r12
movq %r12, %rdi
pushq $0x20
popq %rsi
leaq 0x5bc26(%rip), %rdx     # 0xa3782
xorl %eax, %eax
callq 0x3468c
movq 0x9c176(%rip), %rax     # 0xe3ce0
movss 0x1980(%rax), %xmm0
leaq 0x10(%r13), %r14
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 %r14, %rsi
leaq -0x38(%rbp), %rdx
movl $0xff6464c8, %ecx       # imm = 0xFF6464C8
pushq $0xf
popq %r8
callq 0x64020
movq %r15, %rdi
movq %r14, %rsi
movq -0x30(%rbp), %r14
pushq $-0x1
popq %rdx
movq %r12, %rcx
movq -0x50(%rbp), %r12
xorl %r8d, %r8d
callq 0x64eb6
incl %ebx
movq -0x80(%rbp), %r13
jmp 0x47aa8
cmpb $0x1, 0x3176(%r14)
jne 0x47ce8
xorl %esi, %esi
leaq -0x130(%rbp), %r12
pushq $-0x1
popq %rbx
cmpl (%r13), %esi
jge 0x47ce8
movq %r13, %rdi
movl %esi, -0x50(%rbp)
callq 0x4c6b6
movq %rax, %r15
movl 0x1a68(%r14), %eax
decl %eax
cmpl %eax, 0x68(%r15)
jl 0x47cd6
movq 0x9c0c5(%rip), %r13     # 0xe3ce0
movl $0x1f38, %eax           # imm = 0x1F38
addq %rax, %r13
movq -0x40(%rbp), %rax
movl (%rax), %esi
cmpl $0x6, %esi
jl 0x47c9c
xorl %r14d, %r14d
cmpl 0x6c(%r15), %r14d
jge 0x47cd6
movq -0x40(%rbp), %rax
movl (%rax), %esi
movq %r15, %rdi
movl %r14d, %edx
callq 0x47e1a
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, -0x130(%rbp)
movsbl 0x234(%r15), %eax
xorl %edx, %edx
cmpl %eax, %r14d
sete %dl
movl $0xff8000ff, %ecx       # imm = 0xFF8000FF
movl $0xff80ffff, %eax       # imm = 0xFF80FFFF
cmovel %eax, %ecx
leaq 0x554e2(%rip), %rax     # 0x9d15c
movss (%rax,%rdx,4), %xmm1
xorps %xmm0, %xmm0
movq %r13, %rdi
movq %r12, %rsi
leaq -0x128(%rbp), %rdx
movl %ebx, %r8d
callq 0x63f6c
incl %r14d
jmp 0x47c31
movq %r15, %rdi
movl %ebx, %edx
callq 0x47e1a
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, -0x130(%rbp)
xorps %xmm0, %xmm0
movq %r13, %rdi
movq %r12, %rsi
leaq -0x128(%rbp), %rdx
movl $0xff8000ff, %ecx       # imm = 0xFF8000FF
pushq $0xf
popq %r8
movss 0x54327(%rip), %xmm1    # 0x9bff8
callq 0x63f6c
movl -0x50(%rbp), %esi
incl %esi
movq -0x30(%rbp), %r14
movq -0x80(%rbp), %r13
jmp 0x47be9
callq 0x3f958
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop