// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_widgets.cpp
// Function: ImGui::TabBarLayout(ImGuiTabBar*)
static void ImGui::TabBarLayout(ImGuiTabBar* tab_bar)
{
    ImGuiContext& g = *GImGui;
    tab_bar->WantLayout = false;

    // Garbage collect by compacting list
    // Detect if we need to sort out tab list (e.g. in rare case where a tab changed section)
    int tab_dst_n = 0;
    bool need_sort_by_section = false;
    ImGuiTabBarSection sections[3]; // Layout sections: Leading, Central, Trailing
    for (int tab_src_n = 0; tab_src_n < tab_bar->Tabs.Size; tab_src_n++)
    {
        ImGuiTabItem* tab = &tab_bar->Tabs[tab_src_n];
        if (tab->LastFrameVisible < tab_bar->PrevFrameVisible || tab->WantClose)
        {
            // Remove tab
            if (tab_bar->VisibleTabId == tab->ID) { tab_bar->VisibleTabId = 0; }
            if (tab_bar->SelectedTabId == tab->ID) { tab_bar->SelectedTabId = 0; }
            if (tab_bar->NextSelectedTabId == tab->ID) { tab_bar->NextSelectedTabId = 0; }
            continue;
        }
        if (tab_dst_n != tab_src_n)
            tab_bar->Tabs[tab_dst_n] = tab_bar->Tabs[tab_src_n];

        tab = &tab_bar->Tabs[tab_dst_n];
        tab->IndexDuringLayout = (ImS16)tab_dst_n;

        // We will need sorting if tabs have changed section (e.g. moved from one of Leading/Central/Trailing to another)
        int curr_tab_section_n = (tab->Flags & ImGuiTabItemFlags_Leading) ? 0 : (tab->Flags & ImGuiTabItemFlags_Trailing) ? 2 : 1;
        if (tab_dst_n > 0)
        {
            ImGuiTabItem* prev_tab = &tab_bar->Tabs[tab_dst_n - 1];
            int prev_tab_section_n = (prev_tab->Flags & ImGuiTabItemFlags_Leading) ? 0 : (prev_tab->Flags & ImGuiTabItemFlags_Trailing) ? 2 : 1;
            if (curr_tab_section_n == 0 && prev_tab_section_n != 0)
                need_sort_by_section = true;
            if (prev_tab_section_n == 2 && curr_tab_section_n != 2)
                need_sort_by_section = true;
        }

        sections[curr_tab_section_n].TabCount++;
        tab_dst_n++;
    }
    if (tab_bar->Tabs.Size != tab_dst_n)
        tab_bar->Tabs.resize(tab_dst_n);

    if (need_sort_by_section)
        ImQsort(tab_bar->Tabs.Data, tab_bar->Tabs.Size, sizeof(ImGuiTabItem), TabItemComparerBySection);

    // Calculate spacing between sections
    sections[0].Spacing = sections[0].TabCount > 0 && (sections[1].TabCount + sections[2].TabCount) > 0 ? g.Style.ItemInnerSpacing.x : 0.0f;
    sections[1].Spacing = sections[1].TabCount > 0 && sections[2].TabCount > 0 ? g.Style.ItemInnerSpacing.x : 0.0f;

    // Setup next selected tab
    ImGuiID scroll_track_selected_tab_id = 0;
    if (tab_bar->NextSelectedTabId)
    {
        tab_bar->SelectedTabId = tab_bar->NextSelectedTabId;
        tab_bar->NextSelectedTabId = 0;
        scroll_track_selected_tab_id = tab_bar->SelectedTabId;
    }

    // Process order change request (we could probably process it when requested but it's just saner to do it in a single spot).
    if (tab_bar->ReorderRequestTabId != 0)
    {
        if (TabBarProcessReorder(tab_bar))
            if (tab_bar->ReorderRequestTabId == tab_bar->SelectedTabId)
                scroll_track_selected_tab_id = tab_bar->ReorderRequestTabId;
        tab_bar->ReorderRequestTabId = 0;
    }

    // Tab List Popup (will alter tab_bar->BarRect and therefore the available width!)
    const bool tab_list_popup_button = (tab_bar->Flags & ImGuiTabBarFlags_TabListPopupButton) != 0;
    if (tab_list_popup_button)
        if (ImGuiTabItem* tab_to_select = TabBarTabListPopupButton(tab_bar)) // NB: Will alter BarRect.Min.x!
            scroll_track_selected_tab_id = tab_bar->SelectedTabId = tab_to_select->ID;

    // Leading/Trailing tabs will be shrink only if central one aren't visible anymore, so layout the shrink data as: leading, trailing, central
    // (whereas our tabs are stored as: leading, central, trailing)
    int shrink_buffer_indexes[3] = { 0, sections[0].TabCount + sections[2].TabCount, sections[0].TabCount };
    g.ShrinkWidthBuffer.resize(tab_bar->Tabs.Size);

    // Compute ideal tabs widths + store them into shrink buffer
    ImGuiTabItem* most_recently_selected_tab = NULL;
    int curr_section_n = -1;
    bool found_selected_tab_id = false;
    for (int tab_n = 0; tab_n < tab_bar->Tabs.Size; tab_n++)
    {
        ImGuiTabItem* tab = &tab_bar->Tabs[tab_n];
        IM_ASSERT(tab->LastFrameVisible >= tab_bar->PrevFrameVisible);

        if ((most_recently_selected_tab == NULL || most_recently_selected_tab->LastFrameSelected < tab->LastFrameSelected) && !(tab->Flags & ImGuiTabItemFlags_Button))
            most_recently_selected_tab = tab;
        if (tab->ID == tab_bar->SelectedTabId)
            found_selected_tab_id = true;
        if (scroll_track_selected_tab_id == 0 && g.NavJustMovedToId == tab->ID)
            scroll_track_selected_tab_id = tab->ID;

        // Refresh tab width immediately, otherwise changes of style e.g. style.FramePadding.x would noticeably lag in the tab bar.
        // Additionally, when using TabBarAddTab() to manipulate tab bar order we occasionally insert new tabs that don't have a width yet,
        // and we cannot wait for the next BeginTabItem() call. We cannot compute this width within TabBarAddTab() because font size depends on the active window.
        const char* tab_name = tab_bar->GetTabName(tab);
        const bool has_close_button = (tab->Flags & ImGuiTabItemFlags_NoCloseButton) ? false : true;
        tab->ContentWidth = TabItemCalcSize(tab_name, has_close_button).x;

        int section_n = (tab->Flags & ImGuiTabItemFlags_Leading) ? 0 : (tab->Flags & ImGuiTabItemFlags_Trailing) ? 2 : 1;
        ImGuiTabBarSection* section = &sections[section_n];
        section->Width += tab->ContentWidth + (section_n == curr_section_n ? g.Style.ItemInnerSpacing.x : 0.0f);
        curr_section_n = section_n;

        // Store data so we can build an array sorted by width if we need to shrink tabs down
        int shrink_buffer_index = shrink_buffer_indexes[section_n]++;
        g.ShrinkWidthBuffer[shrink_buffer_index].Index = tab_n;
        g.ShrinkWidthBuffer[shrink_buffer_index].Width = tab->ContentWidth;

        IM_ASSERT(tab->ContentWidth > 0.0f);
        tab->Width = tab->ContentWidth;
    }

    // Compute total ideal width (used for e.g. auto-resizing a window)
    tab_bar->WidthAllTabsIdeal = 0.0f;
    for (int section_n = 0; section_n < 3; section_n++)
        tab_bar->WidthAllTabsIdeal += sections[section_n].Width + sections[section_n].Spacing;

    // Horizontal scrolling buttons
    // (note that TabBarScrollButtons() will alter BarRect.Max.x)
    if ((tab_bar->WidthAllTabsIdeal > tab_bar->BarRect.GetWidth() && tab_bar->Tabs.Size > 1) && !(tab_bar->Flags & ImGuiTabBarFlags_NoTabListScrollingButtons) && (tab_bar->Flags & ImGuiTabBarFlags_FittingPolicyScroll))
        if (ImGuiTabItem* scroll_track_selected_tab = TabBarScrollingButtons(tab_bar))
        {
            scroll_track_selected_tab_id = scroll_track_selected_tab->ID;
            if (!(scroll_track_selected_tab->Flags & ImGuiTabItemFlags_Button))
                tab_bar->SelectedTabId = scroll_track_selected_tab_id;
        }

    // Shrink widths if full tabs don't fit in their allocated space
    float section_0_w = sections[0].Width + sections[0].Spacing;
    float section_1_w = sections[1].Width + sections[1].Spacing;
    float section_2_w = sections[2].Width + sections[2].Spacing;
    bool central_section_is_visible = (section_0_w + section_2_w) < tab_bar->BarRect.GetWidth();
    float width_excess;
    if (central_section_is_visible)
        width_excess = ImMax(section_1_w - (tab_bar->BarRect.GetWidth() - section_0_w - section_2_w), 0.0f); // Excess used to shrink central section
    else
        width_excess = (section_0_w + section_2_w) - tab_bar->BarRect.GetWidth(); // Excess used to shrink leading/trailing section

    // With ImGuiTabBarFlags_FittingPolicyScroll policy, we will only shrink leading/trailing if the central section is not visible anymore
    if (width_excess > 0.0f && ((tab_bar->Flags & ImGuiTabBarFlags_FittingPolicyResizeDown) || !central_section_is_visible))
    {
        int shrink_data_count = (central_section_is_visible ? sections[1].TabCount : sections[0].TabCount + sections[2].TabCount);
        int shrink_data_offset = (central_section_is_visible ? sections[0].TabCount + sections[2].TabCount : 0);
        ShrinkWidths(g.ShrinkWidthBuffer.Data + shrink_data_offset, shrink_data_count, width_excess);

        // Apply shrunk values into tabs and sections
        for (int tab_n = shrink_data_offset; tab_n < shrink_data_offset + shrink_data_count; tab_n++)
        {
            ImGuiTabItem* tab = &tab_bar->Tabs[g.ShrinkWidthBuffer[tab_n].Index];
            float shrinked_width = IM_FLOOR(g.ShrinkWidthBuffer[tab_n].Width);
            if (shrinked_width < 0.0f)
                continue;

            int section_n = (tab->Flags & ImGuiTabItemFlags_Leading) ? 0 : (tab->Flags & ImGuiTabItemFlags_Trailing) ? 2 : 1;
            sections[section_n].Width -= (tab->Width - shrinked_width);
            tab->Width = shrinked_width;
        }
    }

    // Layout all active tabs
    int section_tab_index = 0;
    float tab_offset = 0.0f;
    tab_bar->WidthAllTabs = 0.0f;
    for (int section_n = 0; section_n < 3; section_n++)
    {
        ImGuiTabBarSection* section = &sections[section_n];
        if (section_n == 2)
            tab_offset = ImMin(ImMax(0.0f, tab_bar->BarRect.GetWidth() - section->Width), tab_offset);

        for (int tab_n = 0; tab_n < section->TabCount; tab_n++)
        {
            ImGuiTabItem* tab = &tab_bar->Tabs[section_tab_index + tab_n];
            tab->Offset = tab_offset;
            tab_offset += tab->Width + (tab_n < section->TabCount - 1 ? g.Style.ItemInnerSpacing.x : 0.0f);
        }
        tab_bar->WidthAllTabs += ImMax(section->Width + section->Spacing, 0.0f);
        tab_offset += section->Spacing;
        section_tab_index += section->TabCount;
    }

    // If we have lost the selected tab, select the next most recently active one
    if (found_selected_tab_id == false)
        tab_bar->SelectedTabId = 0;
    if (tab_bar->SelectedTabId == 0 && tab_bar->NextSelectedTabId == 0 && most_recently_selected_tab != NULL)
        scroll_track_selected_tab_id = tab_bar->SelectedTabId = most_recently_selected_tab->ID;

    // Lock in visible tab
    tab_bar->VisibleTabId = tab_bar->SelectedTabId;
    tab_bar->VisibleTabWasSubmitted = false;

    // Update scrolling
    if (scroll_track_selected_tab_id)
        if (ImGuiTabItem* scroll_track_selected_tab = TabBarFindTabByID(tab_bar, scroll_track_selected_tab_id))
            TabBarScrollToTab(tab_bar, scroll_track_selected_tab, sections);
    tab_bar->ScrollingAnim = TabBarScrollClamp(tab_bar, tab_bar->ScrollingAnim);
    tab_bar->ScrollingTarget = TabBarScrollClamp(tab_bar, tab_bar->ScrollingTarget);
    if (tab_bar->ScrollingAnim != tab_bar->ScrollingTarget)
    {
        // Scrolling speed adjust itself so we can always reach our target in 1/3 seconds.
        // Teleport if we are aiming far off the visible line
        tab_bar->ScrollingSpeed = ImMax(tab_bar->ScrollingSpeed, 70.0f * g.FontSize);
        tab_bar->ScrollingSpeed = ImMax(tab_bar->ScrollingSpeed, ImFabs(tab_bar->ScrollingTarget - tab_bar->ScrollingAnim) / 0.3f);
        const bool teleport = (tab_bar->PrevFrameVisible + 1 < g.FrameCount) || (tab_bar->ScrollingTargetDistToVisibility > 10.0f * g.FontSize);
        tab_bar->ScrollingAnim = teleport ? tab_bar->ScrollingTarget : ImLinearSweep(tab_bar->ScrollingAnim, tab_bar->ScrollingTarget, g.IO.DeltaTime * tab_bar->ScrollingSpeed);
    }
    else
    {
        tab_bar->ScrollingSpeed = 0.0f;
    }
    tab_bar->ScrollingRectMinX = tab_bar->BarRect.Min.x + sections[0].Width + sections[0].Spacing;
    tab_bar->ScrollingRectMaxX = tab_bar->BarRect.Max.x - sections[2].Width - sections[1].Spacing;

    // Clear name buffers
    if ((tab_bar->Flags & ImGuiTabBarFlags_DockNode) == 0)
        tab_bar->TabsNames.Buf.resize(0);

    // Actual layout in host window (we don't do it in BeginTabBar() so as not to waste an extra frame)
    ImGuiWindow* window = g.CurrentWindow;
    window->DC.CursorPos = tab_bar->BarRect.Min;
    ItemSize(ImVec2(tab_bar->WidthAllTabs, tab_bar->BarRect.GetHeight()), tab_bar->FramePadding.y);
    window->DC.IdealMaxPos.x = ImMax(window->DC.IdealMaxPos.x, tab_bar->BarRect.Min.x + tab_bar->WidthAllTabsIdeal);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %rdi, %rbx
leaq 0x58275(%rip), %rax     # 0xfdcd0
movq (%rax), %rax
movq %rax, -0x38(%rbp)
movb $0x0, 0x6a(%rdi)
xorps %xmm0, %xmm0
movaps %xmm0, -0x60(%rbp)
movaps %xmm0, -0x70(%rbp)
movl $0x0, -0x50(%rbp)
movl (%rdi), %r8d
testl %r8d, %r8d
jle 0xa5bd2
xorl %eax, %eax
movl $0xc0, %ecx
movl $0x1, %edx
movl $0x80, %esi
xorl %edi, %edi
xorl %r15d, %r15d
xorl %r13d, %r13d
movq 0x8(%rbx), %r10
leaq (%r10,%rax), %r11
movl 0x8(%r10,%rax), %r9d
cmpl 0x28(%rbx), %r9d
jl 0xa5ab8
cmpb $0x1, 0x22(%r10,%rax)
jne 0xa5aeb
movl (%r11), %r8d
cmpl %r8d, 0x20(%rbx)
jne 0xa5ac8
movl $0x0, 0x20(%rbx)
cmpl %r8d, 0x18(%rbx)
jne 0xa5ad5
movl $0x0, 0x18(%rbx)
cmpl %r8d, 0x1c(%rbx)
jne 0xa5bbd
movl $0x0, 0x1c(%rbx)
jmp 0xa5bbd
movl %r15d, %r9d
cmpq %r9, %rdi
je 0xa5b26
testl %r15d, %r15d
js 0xa69e3
cmpl %r15d, %r8d
jle 0xa69e3
leaq (%r9,%r9,8), %r8
movl 0x1f(%r11), %r14d
movl %r14d, 0x1f(%r10,%r8,4)
movups (%r11), %xmm0
movups 0x10(%r11), %xmm1
movups %xmm1, 0x10(%r10,%r8,4)
movups %xmm0, (%r10,%r8,4)
testl %r15d, %r15d
js 0xa69e3
cmpl %r15d, (%rbx)
jle 0xa69e3
movq 0x8(%rbx), %r11
leaq (%r9,%r9,8), %r8
movw %r15w, 0x20(%r11,%r8,4)
movl 0x4(%r11,%r8,4), %r10d
xorl %r14d, %r14d
testb %r10b, %r10b
sets %r14b
incq %r14
testb $0x40, %r10b
movl $0x0, %r8d
cmoveq %r14, %r8
testl %r15d, %r15d
jle 0xa5bb1
cmpl %r15d, (%rbx)
jl 0xa69e3
leaq (%r9,%r9,8), %r9
movl -0x20(%r11,%r9,4), %r9d
movl %r9d, %r11d
andl %ecx, %r11d
movl %r10d, %r14d
andl %ecx, %r14d
testb $0x40, %r9b
movzbl %r13b, %r9d
movl %r9d, %r12d
cmovel %edx, %r12d
testb $0x40, %r10b
cmovel %r9d, %r12d
cmpl %esi, %r11d
movl %r12d, %r13d
cmovel %edx, %r13d
cmpl %esi, %r14d
cmovel %r12d, %r13d
leaq (%r8,%r8,2), %r8
incl -0x70(%rbp,%r8,4)
incl %r15d
incq %rdi
movslq (%rbx), %r8
addq $0x24, %rax
cmpq %r8, %rdi
jl 0xa5a9d
jmp 0xa5bd8
xorl %r13d, %r13d
xorl %r15d, %r15d
cmpl %r15d, %r8d
je 0xa5c50
movl 0x4(%rbx), %eax
cmpl %r15d, %eax
jge 0xa5c4d
testl %eax, %eax
je 0xa5bfb
movl %eax, %r12d
shrl $0x1f, %r12d
addl %eax, %r12d
sarl %r12d
addl %eax, %r12d
jmp 0xa5c01
movl $0x8, %r12d
cmpl %r15d, %r12d
cmovlel %r15d, %r12d
cmpl %r12d, %eax
jge 0xa5c4d
movslq %r12d, %rax
shlq $0x2, %rax
leaq (%rax,%rax,8), %rdi
callq 0x424fb
movq %rax, %r14
movq 0x8(%rbx), %rsi
testq %rsi, %rsi
je 0xa5c45
movslq (%rbx), %rax
shlq $0x2, %rax
leaq (%rax,%rax,8), %rdx
movq %r14, %rdi
callq 0xc080
movq 0x8(%rbx), %rdi
callq 0x425d4
movq %r14, 0x8(%rbx)
movl %r12d, 0x4(%rbx)
movl %r15d, (%rbx)
testb $0x1, %r13b
je 0xa5c6e
movq 0x8(%rbx), %rdi
movslq (%rbx), %rsi
leaq 0x30a3(%rip), %rcx      # 0xa8d07
movl $0x24, %edx
callq 0xc620
movl -0x70(%rbp), %r15d
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
testl %r15d, %r15d
movq -0x38(%rbp), %rdx
jle 0xa5c91
movl -0x58(%rbp), %eax
addl -0x64(%rbp), %eax
jle 0xa5c91
movss 0x15b0(%rdx), %xmm1
movss %xmm1, -0x68(%rbp)
cmpl $0x0, -0x64(%rbp)
setg %al
movl -0x58(%rbp), %r13d
testl %r13d, %r13d
setg %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0xa5cb6
movss 0x15b0(%rdx), %xmm0
movss %xmm0, -0x5c(%rbp)
movl 0x1c(%rbx), %r14d
testl %r14d, %r14d
je 0xa5cd1
movl %r14d, 0x18(%rbx)
movl $0x0, 0x1c(%rbx)
jmp 0xa5cd4
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rbx)
je 0xa5cfd
movq %rbx, %rdi
callq 0xa6c79
testb %al, %al
je 0xa5cf0
movl 0x64(%rbx), %eax
cmpl 0x18(%rbx), %eax
cmovel %eax, %r14d
movl %r14d, -0x2c(%rbp)
movl $0x0, 0x64(%rbx)
jmp 0xa5d01
movl %r14d, -0x2c(%rbp)
testb $0x4, 0x10(%rbx)
je 0xa5e90
leaq 0x57fbe(%rip), %rax     # 0xfdcd0
movq (%rax), %rax
movq 0x1ae0(%rax), %rdx
movss 0x159c(%rax), %xmm0
movss 0x1980(%rax), %xmm1
addss %xmm0, %xmm1
movq 0xd8(%rdx), %rcx
movq %rcx, -0x78(%rbp)
movss 0x2c(%rbx), %xmm2
subss %xmm0, %xmm2
movl 0x30(%rbx), %ecx
movss %xmm2, 0xd8(%rdx)
movq %rdx, -0x40(%rbp)
movl %ecx, 0xdc(%rdx)
addss 0x2c(%rbx), %xmm1
movss %xmm1, 0x2c(%rbx)
movups 0x1624(%rax), %xmm0
leaq -0xf0(%rbp), %rsi
movaps %xmm0, (%rsi)
movss 0xc(%rsi), %xmm0
mulss 0x11283(%rip), %xmm0    # 0xb7004
movss %xmm0, 0xc(%rsi)
xorl %r12d, %r12d
xorl %edi, %edi
callq 0x4481b
xorps %xmm0, %xmm0
leaq -0xd0(%rbp), %rsi
movaps %xmm0, (%rsi)
movl $0x15, %edi
callq 0x4481b
leaq 0x1bd61(%rip), %rdi     # 0xc1b0f
xorl %esi, %esi
movl $0x50, %edx
callq 0x95a09
movl %eax, %r14d
movl $0x2, %edi
callq 0x44964
testb %r14b, %r14b
je 0xa5e72
movl %r13d, -0xb0(%rbp)
movl %r15d, -0x90(%rbp)
cmpl $0x0, (%rbx)
jle 0xa5e5c
xorl %r14d, %r14d
xorl %r13d, %r13d
xorl %r12d, %r12d
movq 0x8(%rbx), %r15
testb $0x20, 0x6(%r15,%r14)
jne 0xa5e4b
movswl 0x1c(%r15,%r14), %eax
cmpl $-0x1, %eax
je 0xa6a19
cmpl %eax, 0x88(%rbx)
jle 0xa6a19
addq %r14, %r15
movslq %eax, %rdi
addq 0x90(%rbx), %rdi
movl 0x18(%rbx), %eax
xorl %esi, %esi
cmpl (%r15), %eax
sete %sil
movq $0x0, -0xd0(%rbp)
xorl %edx, %edx
leaq -0xd0(%rbp), %rcx
callq 0x962c5
testb %al, %al
cmovneq %r15, %r12
incq %r13
movslq (%rbx), %rax
addq $0x24, %r14
cmpq %rax, %r13
jl 0xa5dec
jmp 0xa5e5f
xorl %r12d, %r12d
callq 0x5847b
movl -0x90(%rbp), %r15d
movl -0xb0(%rbp), %r13d
movq -0x40(%rbp), %rax
movq -0x78(%rbp), %rcx
movq %rcx, 0xd8(%rax)
testq %r12, %r12
je 0xa5e90
movl (%r12), %eax
movl %eax, -0x2c(%rbp)
movl %eax, 0x18(%rbx)
movl $0x0, -0x9c(%rbp)
addl %r15d, %r13d
movl %r13d, -0x98(%rbp)
movl %r15d, -0x94(%rbp)
movl (%rbx), %r15d
movq -0x38(%rbp), %r13
movl 0x214c(%r13), %eax
cmpl %r15d, %eax
jge 0xa5f32
testl %eax, %eax
je 0xa5ed4
movl %eax, %r12d
shrl $0x1f, %r12d
addl %eax, %r12d
sarl %r12d
addl %eax, %r12d
jmp 0xa5eda
movl $0x8, %r12d
cmpl %r15d, %r12d
cmovlel %r15d, %r12d
cmpl %r12d, %eax
movq -0x38(%rbp), %r13
jge 0xa5f32
movslq %r12d, %rdi
shlq $0x3, %rdi
callq 0x424fb
movq %rax, %r14
movq 0x2150(%r13), %rsi
testq %rsi, %rsi
je 0xa5f24
movslq 0x2148(%r13), %rdx
shlq $0x3, %rdx
movq %r14, %rdi
callq 0xc080
movq 0x2150(%r13), %rdi
callq 0x425d4
movq %r14, 0x2150(%r13)
movl %r12d, 0x214c(%r13)
movl %r15d, 0x2148(%r13)
movq $0x0, -0x90(%rbp)
cmpl $0x0, (%rbx)
jle 0xa60ca
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
xorl %r13d, %r13d
xorl %r14d, %r14d
xorl %edx, %edx
xorl %esi, %esi
movq 0x8(%rbx), %r12
movl 0x8(%r12,%r13), %eax
cmpl 0x28(%rbx), %eax
jl 0xa6a38
leaq (%r12,%r13), %rax
testq %rdx, %rdx
je 0xa5f82
movl 0xc(%rdx), %ecx
cmpl 0xc(%r12,%r13), %ecx
jge 0xa5f8c
testb $0x20, 0x6(%r12,%r13)
cmoveq %rax, %rdx
movl (%rax), %eax
cmpl 0x18(%rbx), %eax
movzbl %sil, %esi
movl $0x1, %ecx
cmovel %ecx, %esi
movl %esi, -0x78(%rbp)
cmpl $0x0, -0x2c(%rbp)
jne 0xa5fbb
movq -0x38(%rbp), %rcx
cmpl %eax, 0x1cb4(%rcx)
movl $0x0, %ecx
cmovnel %ecx, %eax
movl %eax, -0x2c(%rbp)
movq %rdx, -0x40(%rbp)
movswl 0x1c(%r12,%r13), %eax
cmpl $-0x1, %eax
je 0xa6a19
cmpl %eax, 0x88(%rbx)
jle 0xa6a19
movslq %eax, %rdi
addq 0x90(%rbx), %rdi
xorl %esi, %esi
btl $0x14, 0x4(%r12,%r13)
setae %sil
callq 0xa795b
movss %xmm0, 0x18(%r12,%r13)
movl 0x4(%r12,%r13), %ecx
xorl %eax, %eax
testb %cl, %cl
sets %al
incl %eax
testb $0x40, %cl
movl $0x0, %ecx
cmovnel %ecx, %eax
xorps %xmm1, %xmm1
cmpl %r15d, %eax
movq -0x38(%rbp), %rsi
jne 0xa602a
movss 0x15b0(%rsi), %xmm1
addss %xmm0, %xmm1
leaq (%rax,%rax,2), %rcx
addss -0x6c(%rbp,%rcx,4), %xmm1
movss %xmm1, -0x6c(%rbp,%rcx,4)
movslq -0x9c(%rbp,%rax,4), %rcx
leal 0x1(%rcx), %edx
movl %edx, -0x9c(%rbp,%rax,4)
testq %rcx, %rcx
js 0xa6a02
cmpl %ecx, 0x2148(%rsi)
jle 0xa6a02
movq 0x2150(%rsi), %rdx
movl %r14d, (%rdx,%rcx,8)
cmpl %ecx, 0x2148(%rsi)
jle 0xa6a02
movss %xmm0, 0x4(%rdx,%rcx,8)
ucomiss 0x117bb(%rip), %xmm0    # 0xb7844
jbe 0xa6a57
movss %xmm0, 0x14(%r12,%r13)
incq %r14
movslq (%rbx), %rcx
addq $0x24, %r13
movl %eax, %r15d
cmpq %rcx, %r14
movq -0x40(%rbp), %rdx
movl -0x78(%rbp), %esi
jl 0xa5f5d
cmpl $0x2, %ecx
setge %al
movq %rax, -0x90(%rbp)
testb $0x1, %sil
sete -0x78(%rbp)
jmp 0xa60d0
movb $0x1, -0x78(%rbp)
xorl %edx, %edx
movl $0x0, 0x48(%rbx)
xorps %xmm0, %xmm0
movl $0x8, %eax
movl -0x2c(%rbp), %r12d
movss -0x74(%rbp,%rax), %xmm1
addss -0x70(%rbp,%rax), %xmm1
addss %xmm1, %xmm0
addq $0xc, %rax
cmpq $0x2c, %rax
jne 0xa60e3
movss %xmm0, 0x48(%rbx)
movss 0x34(%rbx), %xmm1
subss 0x2c(%rbx), %xmm1
ucomiss %xmm1, %xmm0
seta %al
testb %al, -0x90(%rbp)
je 0xa63f2
movl $0x90, %eax
andl 0x10(%rbx), %eax
cmpl $0x80, %eax
jne 0xa63f2
movq %rdx, -0x40(%rbp)
leaq 0x57b94(%rip), %rax     # 0xfdcd0
movq (%rax), %r12
movq 0x1ae0(%r12), %r13
movss 0x1980(%r12), %xmm0
movss 0x11733(%rip), %xmm1    # 0xb788c
addss %xmm0, %xmm1
movaps %xmm1, -0x90(%rbp)
movss 0x159c(%r12), %xmm2
addss %xmm2, %xmm2
addss %xmm0, %xmm2
movaps %xmm2, -0xc0(%rbp)
addss %xmm1, %xmm1
movaps %xmm1, -0xb0(%rbp)
movq 0xd8(%r13), %rax
movq %rax, -0xd8(%rbp)
movups 0x1624(%r12), %xmm0
leaq -0xf0(%rbp), %rsi
movaps %xmm0, (%rsi)
movss 0xc(%rsi), %xmm0
mulss 0x10e4e(%rip), %xmm0    # 0xb7004
movss %xmm0, 0xc(%rsi)
xorl %r15d, %r15d
xorl %edi, %edi
callq 0x4481b
xorps %xmm0, %xmm0
leaq -0xd0(%rbp), %rsi
movaps %xmm0, (%rsi)
movl $0x15, %edi
callq 0x4481b
movq 0x94(%r12), %rax
movq %rax, -0xe0(%rbp)
movabsq $0x3e4ccccd3e800000, %rax # imm = 0x3E4CCCCD3E800000
movq %rax, 0x94(%r12)
movss 0x2c(%rbx), %xmm0
movss 0x34(%rbx), %xmm1
subss -0xb0(%rbp), %xmm1
movaps %xmm1, %xmm3
cmpless %xmm0, %xmm3
movaps %xmm3, %xmm2
andnps %xmm1, %xmm2
andps %xmm0, %xmm3
orps %xmm2, %xmm3
movaps %xmm3, -0x100(%rbp)
movl 0x30(%rbx), %eax
movss %xmm3, 0xd8(%r13)
movl %eax, 0xdc(%r13)
movaps -0x90(%rbp), %xmm0
unpcklps -0xc0(%rbp), %xmm0      # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
movaps %xmm0, -0xc0(%rbp)
leaq 0x2f119(%rip), %rdi     # 0xd5372
xorl %esi, %esi
movl $0x410, %edx            # imm = 0x410
callq 0x932b7
movzbl %al, %r14d
negl %r14d
movaps -0x100(%rbp), %xmm0
addss -0x90(%rbp), %xmm0
movl 0x30(%rbx), %eax
movss %xmm0, 0xd8(%r13)
movq %r13, -0x90(%rbp)
movl %eax, 0xdc(%r13)
leaq 0x2f0da(%rip), %rdi     # 0xd5376
movl $0x1, %r13d
movl $0x1, %esi
movaps -0xc0(%rbp), %xmm0
movl $0x410, %edx            # imm = 0x410
callq 0x932b7
testb %al, %al
cmovnel %r13d, %r14d
movl $0x2, %edi
callq 0x44964
movq -0xe0(%rbp), %rax
movq %rax, 0x94(%r12)
testl %r14d, %r14d
je 0xa6324
movl 0x18(%rbx), %ecx
testl %ecx, %ecx
movl -0x2c(%rbp), %r12d
je 0xa633f
movslq (%rbx), %rax
testq %rax, %rax
setg %dl
jle 0xa632a
movq 0x8(%rbx), %rsi
movb $0x1, %dl
cmpl %ecx, (%rsi)
je 0xa633b
leaq (%rax,%rax,8), %rdx
leaq (%rsi,%rdx,4), %rdi
addq $-0x24, %rdi
leaq -0x1(%rax), %r8
xorl %edx, %edx
cmpq %rdx, %r8
je 0xa632c
leaq 0x24(%rsi), %r9
incq %rdx
cmpl %ecx, 0x24(%rsi)
movq %r9, %rsi
jne 0xa630e
jmp 0xa6332
movl -0x2c(%rbp), %r12d
jmp 0xa63a9
jmp 0xa633b
movq %rax, %rdx
movq %rdi, %r9
cmpq %rax, %rdx
setb %dl
movq %r9, %rsi
testb %dl, %dl
jne 0xa6341
xorl %esi, %esi
testq %rsi, %rsi
je 0xa63a6
movq %rbx, %rdi
callq 0xad690
movl %eax, %ecx
addl %r14d, %ecx
movl (%rbx), %edx
xorl %esi, %esi
cmpl %edx, %ecx
movl %eax, %edi
cmovll %ecx, %edi
testl %ecx, %ecx
cmovsl %eax, %edi
testl %edi, %edi
js 0xa69e3
cmpl %edi, %edx
jle 0xa69e3
movq 0x8(%rbx), %r8
movl %edi, %edi
leaq (%rdi,%rdi,8), %rdi
leaq (%r8,%rdi,4), %r15
testb $0x20, 0x6(%r15)
je 0xa639f
leal (%rcx,%r14), %edi
cmpl %edx, %edi
movq %r15, %rdi
cmovlq %rsi, %rdi
addl %r14d, %ecx
cmovnsq %rdi, %r15
addl %r14d, %eax
testq %r15, %r15
je 0xa6357
jmp 0xa63a9
xorl %r15d, %r15d
movq -0x90(%rbp), %rax
movq -0xd8(%rbp), %rcx
movq %rcx, 0xd8(%rax)
movaps -0xb0(%rbp), %xmm1
addss 0x10c17(%rip), %xmm1    # 0xb6fe4
movss 0x34(%rbx), %xmm0
subss %xmm1, %xmm0
movss %xmm0, 0x34(%rbx)
testq %r15, %r15
movq -0x40(%rbp), %rdx
je 0xa63f2
movl (%r15), %r12d
testb $0x20, 0x6(%r15)
jne 0xa63f2
movl %r12d, 0x18(%rbx)
movss -0x6c(%rbp), %xmm3
movss -0x54(%rbp), %xmm0
addss -0x68(%rbp), %xmm3
addss -0x50(%rbp), %xmm0
movaps %xmm3, %xmm1
addss %xmm0, %xmm1
movss 0x34(%rbx), %xmm2
subss 0x2c(%rbx), %xmm2
movq %rdx, %r13
ucomiss %xmm1, %xmm2
ja 0xa6428
movaps %xmm1, %xmm0
subss %xmm2, %xmm0
jmp 0xa644c
movss -0x5c(%rbp), %xmm4
addss -0x60(%rbp), %xmm4
movaps %xmm2, %xmm5
subss %xmm3, %xmm5
subss %xmm0, %xmm5
subss %xmm5, %xmm4
xorps %xmm0, %xmm0
cmpless %xmm4, %xmm0
andps %xmm4, %xmm0
xorps %xmm4, %xmm4
ucomiss %xmm4, %xmm0
jbe 0xa6547
ucomiss %xmm1, %xmm2
jbe 0xa6469
movl 0x10(%rbx), %eax
andl $0x40, %eax
je 0xa6547
movl -0x58(%rbp), %r15d
addl -0x70(%rbp), %r15d
ucomiss %xmm1, %xmm2
jbe 0xa647c
movl -0x64(%rbp), %r14d
jmp 0xa6482
movl %r15d, %r14d
xorl %r15d, %r15d
movslq %r15d, %rdi
shlq $0x3, %rdi
movq -0x38(%rbp), %rax
addq 0x2150(%rax), %rdi
movl %r14d, %esi
callq 0x95872
testl %r14d, %r14d
xorps %xmm4, %xmm4
jle 0xa6547
addl %r15d, %r14d
movl %r15d, %eax
xorl %ecx, %ecx
testl %r15d, %r15d
movq -0x38(%rbp), %rdx
js 0xa6a02
cmpl %eax, 0x2148(%rdx)
jle 0xa6a02
movq 0x2150(%rdx), %rsi
movslq (%rsi,%rax,8), %rdx
testq %rdx, %rdx
js 0xa69e3
cmpl %edx, (%rbx)
jle 0xa69e3
cvttss2si 0x4(%rsi,%rax,8), %esi
testl %esi, %esi
js 0xa653b
xorps %xmm0, %xmm0
cvtsi2ss %esi, %xmm0
movq 0x8(%rbx), %rsi
leaq (%rdx,%rdx,8), %rdx
movl 0x4(%rsi,%rdx,4), %edi
xorl %r8d, %r8d
testb %dil, %dil
sets %r8b
incq %r8
testb $0x40, %dil
cmovneq %rcx, %r8
movss 0x14(%rsi,%rdx,4), %xmm1
subss %xmm0, %xmm1
leaq (%r8,%r8,2), %rdi
movss -0x6c(%rbp,%rdi,4), %xmm2
subss %xmm1, %xmm2
movss %xmm2, -0x6c(%rbp,%rdi,4)
movss %xmm0, 0x14(%rsi,%rdx,4)
incq %rax
cmpl %eax, %r14d
jg 0xa64b0
movl $0x0, 0x44(%rbx)
xorl %eax, %eax
xorps %xmm0, %xmm0
xorl %ecx, %ecx
movq -0x38(%rbp), %r15
leaq (%rax,%rax,2), %rdx
leaq -0x70(,%rdx,4), %rdx
addq %rbp, %rdx
cmpq $0x2, %rax
jne 0xa658f
movss 0x34(%rbx), %xmm1
subss 0x2c(%rbx), %xmm1
subss 0x4(%rdx), %xmm1
movaps %xmm1, %xmm2
cmpless %xmm4, %xmm2
andnps %xmm1, %xmm2
minss %xmm0, %xmm2
movaps %xmm2, %xmm0
movslq (%rdx), %rsi
testq %rsi, %rsi
jle 0xa65f4
leaq -0x1(%rsi), %rdi
movl %ecx, %r8d
leaq (%r8,%r8,8), %r9
leaq 0x14(,%r9,4), %r9
xorl %r10d, %r10d
testl %ecx, %ecx
js 0xa69e3
leal (%r8,%r10), %r11d
cmpl %r11d, (%rbx)
jle 0xa69e3
movq 0x8(%rbx), %r11
movss %xmm0, -0x4(%r11,%r9)
xorps %xmm1, %xmm1
cmpq %rdi, %r10
jge 0xa65de
movss 0x15b0(%r15), %xmm1
addss (%r11,%r9), %xmm1
addss %xmm1, %xmm0
incq %r10
addq $0x24, %r9
cmpq %r10, %rsi
jne 0xa65ad
movss 0x8(%rdx), %xmm1
movss 0x4(%rdx), %xmm2
addss %xmm1, %xmm2
xorps %xmm3, %xmm3
cmpless %xmm2, %xmm3
andps %xmm2, %xmm3
addss 0x44(%rbx), %xmm3
movss %xmm3, 0x44(%rbx)
addss %xmm1, %xmm0
addl %ecx, %esi
incq %rax
movl %esi, %ecx
cmpq $0x3, %rax
jne 0xa6559
cmpb $0x0, -0x78(%rbp)
je 0xa6639
movl $0x0, 0x18(%rbx)
cmpl $0x0, 0x18(%rbx)
jne 0xa6652
cmpl $0x0, 0x1c(%rbx)
jne 0xa6652
testq %r13, %r13
je 0xa6652
movl (%r13), %r12d
movl %r12d, 0x18(%rbx)
movl 0x18(%rbx), %eax
movl %eax, 0x20(%rbx)
movb $0x0, 0x6b(%rbx)
testl %r12d, %r12d
je 0xa67af
movslq (%rbx), %rax
testq %rax, %rax
setg %cl
jle 0xa66a7
movq 0x8(%rbx), %r14
movb $0x1, %cl
cmpl %r12d, (%r14)
je 0xa66b5
leaq (%rax,%rax,8), %rcx
leaq (%r14,%rcx,4), %rcx
addq $-0x24, %rcx
movl $0x1, %edi
movq %rdi, %rdx
cmpq %rdi, %rax
je 0xa66a9
leaq 0x24(%r14), %rsi
leaq 0x1(%rdx), %rdi
cmpl %r12d, 0x24(%r14)
movq %rsi, %r14
jne 0xa668c
jmp 0xa66ac
jmp 0xa66b5
movq %rcx, %rsi
cmpq %rax, %rdx
setb %cl
movq %rsi, %r14
testb %cl, %cl
je 0xa67af
testq %r14, %r14
je 0xa67af
testb $-0x40, 0x4(%r14)
jne 0xa67af
leaq 0x575f8(%rip), %rax     # 0xfdcd0
movq (%rax), %rax
movss 0x1980(%rax), %xmm0
movss %xmm0, -0x40(%rbp)
movq %rbx, %rdi
movq %r14, %rsi
callq 0xad690
movss 0x34(%rbx), %xmm1
subss 0x2c(%rbx), %xmm1
movss -0x6c(%rbp), %xmm2
subss %xmm2, %xmm1
movss 0x10(%r14), %xmm0
subss %xmm2, %xmm0
cmpl -0x70(%rbp), %eax
jl 0xa671f
movss -0x40(%rbp), %xmm4
movaps %xmm4, %xmm3
jmp 0xa672c
movss 0x2c789(%rip), %xmm3    # 0xd2eb0
movss -0x40(%rbp), %xmm4
subss -0x54(%rbp), %xmm1
movaps %xmm0, %xmm2
subss %xmm3, %xmm2
addss 0x14(%r14), %xmm0
incl %eax
movl (%rbx), %ecx
subl -0x58(%rbp), %ecx
cmpl %ecx, %eax
jl 0xa6751
movss 0x10893(%rip), %xmm4    # 0xb6fe4
addss %xmm4, %xmm0
subss -0x5c(%rbp), %xmm1
movl $0x0, 0x54(%rbx)
movss 0x50(%rbx), %xmm3
ucomiss %xmm2, %xmm3
ja 0xa6791
movaps %xmm0, %xmm4
subss %xmm2, %xmm4
ucomiss %xmm1, %xmm4
jae 0xa6791
subss %xmm1, %xmm0
ucomiss %xmm3, %xmm0
jbe 0xa67af
subss %xmm1, %xmm2
subss 0x4c(%rbx), %xmm2
movaps %xmm2, %xmm1
movaps %xmm0, %xmm2
jmp 0xa679a
movss 0x4c(%rbx), %xmm1
subss %xmm0, %xmm1
xorps %xmm0, %xmm0
cmpless %xmm1, %xmm0
andps %xmm1, %xmm0
movss %xmm0, 0x54(%rbx)
movss %xmm2, 0x50(%rbx)
movss 0x4c(%rbx), %xmm4
movss 0x44(%rbx), %xmm5
movss 0x2c(%rbx), %xmm1
movss 0x34(%rbx), %xmm0
movaps %xmm0, %xmm2
subss %xmm1, %xmm2
subss %xmm2, %xmm5
minss %xmm5, %xmm4
xorps %xmm3, %xmm3
xorps %xmm2, %xmm2
cmpless %xmm4, %xmm2
andps %xmm4, %xmm2
movss %xmm2, 0x4c(%rbx)
movss 0x50(%rbx), %xmm4
minss %xmm5, %xmm4
cmpless %xmm4, %xmm3
andps %xmm4, %xmm3
movss %xmm3, 0x50(%rbx)
ucomiss %xmm3, %xmm2
jne 0xa6806
jnp 0xa6891
movss 0x58(%rbx), %xmm4
movss 0x1980(%r15), %xmm5
movss 0x16700(%rip), %xmm6    # 0xbcf1c
mulss %xmm5, %xmm6
movaps %xmm6, %xmm7
cmpless %xmm4, %xmm7
andps %xmm7, %xmm4
andnps %xmm6, %xmm7
movaps %xmm3, %xmm6
subss %xmm2, %xmm6
andps 0x10f94(%rip), %xmm6    # 0xb77d0
divss 0x110a8(%rip), %xmm6    # 0xb78ec
orps %xmm4, %xmm7
movaps %xmm6, %xmm4
cmpless %xmm7, %xmm4
movaps %xmm4, %xmm8
andps %xmm7, %xmm8
andnps %xmm6, %xmm4
orps %xmm8, %xmm4
movss %xmm4, 0x58(%rbx)
movl 0x28(%rbx), %eax
incl %eax
cmpl 0x1a68(%r15), %eax
jl 0xa6887
movss 0x54(%rbx), %xmm6
mulss 0x1078a(%rip), %xmm5    # 0xb7008
ucomiss %xmm5, %xmm6
jbe 0xa69a5
movaps %xmm3, %xmm2
movss %xmm2, 0x4c(%rbx)
jmp 0xa6898
movl $0x0, 0x58(%rbx)
addss -0x6c(%rbp), %xmm1
addss -0x68(%rbp), %xmm1
movss %xmm1, 0x5c(%rbx)
subss -0x54(%rbp), %xmm0
subss -0x5c(%rbp), %xmm0
movss %xmm0, 0x60(%rbx)
testb $0x10, 0x12(%rbx)
jne 0xa6928
movl 0x8c(%rbx), %eax
testl %eax, %eax
jns 0xa691e
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
xorl %r14d, %r14d
testl %ecx, %ecx
cmovgl %ecx, %r14d
movq %r14, %rdi
callq 0x424fb
movq %rax, %r15
movq 0x90(%rbx), %rsi
testq %rsi, %rsi
je 0xa690c
movslq 0x88(%rbx), %rdx
movq %r15, %rdi
callq 0xc080
movq 0x90(%rbx), %rdi
callq 0x425d4
movq %r15, 0x90(%rbx)
movl %r14d, 0x8c(%rbx)
movq -0x38(%rbp), %r15
movl $0x0, 0x88(%rbx)
movq 0x1ae0(%r15), %r14
movq 0x2c(%rbx), %rax
movq %rax, 0xd8(%r14)
movss 0x38(%rbx), %xmm0
movss 0x44(%rbx), %xmm1
subss 0x30(%rbx), %xmm0
leaq -0xf0(%rbp), %rdi
movss %xmm1, (%rdi)
movss %xmm0, 0x4(%rdi)
movss 0x7c(%rbx), %xmm0
callq 0x532de
movss 0x2c(%rbx), %xmm0
addss 0x48(%rbx), %xmm0
movss 0xf8(%r14), %xmm1
movaps %xmm0, %xmm2
cmpless %xmm1, %xmm2
movaps %xmm2, %xmm3
andnps %xmm0, %xmm3
andps %xmm1, %xmm2
orps %xmm3, %xmm2
movss %xmm2, 0xf8(%r14)
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
mulss 0x18(%r15), %xmm4
ucomiss %xmm2, %xmm3
jbe 0xa69c0
addss %xmm2, %xmm4
minss %xmm3, %xmm4
movaps %xmm4, %xmm2
jmp 0xa688a
ucomiss %xmm3, %xmm2
jbe 0xa688a
subss %xmm4, %xmm2
movaps %xmm3, %xmm4
cmpless %xmm2, %xmm4
andps %xmm4, %xmm2
andnps %xmm3, %xmm4
orps %xmm4, %xmm2
jmp 0xa688a
leaq 0x14c8e(%rip), %rdi     # 0xbb678
leaq 0x14c9a(%rip), %rsi     # 0xbb68b
leaq 0x2e9d1(%rip), %rcx     # 0xd53c9
movl $0x65c, %edx            # imm = 0x65C
callq 0xc140
leaq 0x14c6f(%rip), %rdi     # 0xbb678
leaq 0x14c7b(%rip), %rsi     # 0xbb68b
leaq 0x2e90d(%rip), %rcx     # 0xd5324
jmp 0xa69f8
leaq 0x15cf5(%rip), %rdi     # 0xbc715
leaq 0x14c18(%rip), %rsi     # 0xbb63f
leaq 0x15d2a(%rip), %rcx     # 0xbc758
movl $0x765, %edx            # imm = 0x765
callq 0xc140
leaq 0x2e871(%rip), %rdi     # 0xd52b0
leaq 0x2c702(%rip), %rsi     # 0xd3148
leaq 0x2e896(%rip), %rcx     # 0xd52e3
movl $0x1bcf, %edx           # imm = 0x1BCF
callq 0xc140
leaq 0x2e8ad(%rip), %rdi     # 0xd530b
leaq 0x2c6e3(%rip), %rsi     # 0xd3148
leaq 0x2e877(%rip), %rcx     # 0xd52e3
movl $0x1be9, %edx           # imm = 0x1BE9
callq 0xc140