// File: /workspace/github_cpp_makefile_star2_O2/Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImFontAtlasBuildWithStbTruetype(ImFontAtlas*)
bool    ImFontAtlasBuildWithStbTruetype(ImFontAtlas* atlas)
{
    IM_ASSERT(atlas->ConfigData.Size > 0);

    ImFontAtlasBuildInit(atlas);

    // Clear atlas
    atlas->TexID = (ImTextureID)NULL;
    atlas->TexWidth = atlas->TexHeight = 0;
    atlas->TexUvScale = ImVec2(0.0f, 0.0f);
    atlas->TexUvWhitePixel = ImVec2(0.0f, 0.0f);
    atlas->ClearTexData();

    // Temporary storage for building
    ImVector<ImFontBuildSrcData> src_tmp_array;
    ImVector<ImFontBuildDstData> dst_tmp_array;
    src_tmp_array.resize(atlas->ConfigData.Size);
    dst_tmp_array.resize(atlas->Fonts.Size);
    memset(src_tmp_array.Data, 0, (size_t)src_tmp_array.size_in_bytes());
    memset(dst_tmp_array.Data, 0, (size_t)dst_tmp_array.size_in_bytes());

    // 1. Initialize font loading structure, check font data validity
    for (int src_i = 0; src_i < atlas->ConfigData.Size; src_i++)
    {
        ImFontBuildSrcData& src_tmp = src_tmp_array[src_i];
        ImFontConfig& cfg = atlas->ConfigData[src_i];
        IM_ASSERT(cfg.DstFont && (!cfg.DstFont->IsLoaded() || cfg.DstFont->ContainerAtlas == atlas));

        // Find index from cfg.DstFont (we allow the user to set cfg.DstFont. Also it makes casual debugging nicer than when storing indices)
        src_tmp.DstIndex = -1;
        for (int output_i = 0; output_i < atlas->Fonts.Size && src_tmp.DstIndex == -1; output_i++)
            if (cfg.DstFont == atlas->Fonts[output_i])
                src_tmp.DstIndex = output_i;
        if (src_tmp.DstIndex == -1)
        {
            IM_ASSERT(src_tmp.DstIndex != -1); // cfg.DstFont not pointing within atlas->Fonts[] array?
            return false;
        }
        // Initialize helper structure for font loading and verify that the TTF/OTF data is correct
        const int font_offset = stbtt_GetFontOffsetForIndex((unsigned char*)cfg.FontData, cfg.FontNo);
        IM_ASSERT(font_offset >= 0 && "FontData is incorrect, or FontNo cannot be found.");
        if (!stbtt_InitFont(&src_tmp.FontInfo, (unsigned char*)cfg.FontData, font_offset))
            return false;

        // Measure highest codepoints
        ImFontBuildDstData& dst_tmp = dst_tmp_array[src_tmp.DstIndex];
        src_tmp.SrcRanges = cfg.GlyphRanges ? cfg.GlyphRanges : atlas->GetGlyphRangesDefault();
        for (const ImWchar* src_range = src_tmp.SrcRanges; src_range[0] && src_range[1]; src_range += 2)
            src_tmp.GlyphsHighest = ImMax(src_tmp.GlyphsHighest, (int)src_range[1]);
        dst_tmp.SrcCount++;
        dst_tmp.GlyphsHighest = ImMax(dst_tmp.GlyphsHighest, src_tmp.GlyphsHighest);
    }

    // 2. For every requested codepoint, check for their presence in the font data, and handle redundancy or overlaps between source fonts to avoid unused glyphs.
    int total_glyphs_count = 0;
    for (int src_i = 0; src_i < src_tmp_array.Size; src_i++)
    {
        ImFontBuildSrcData& src_tmp = src_tmp_array[src_i];
        ImFontBuildDstData& dst_tmp = dst_tmp_array[src_tmp.DstIndex];
        src_tmp.GlyphsSet.Create(src_tmp.GlyphsHighest + 1);
        if (dst_tmp.GlyphsSet.Storage.empty())
            dst_tmp.GlyphsSet.Create(dst_tmp.GlyphsHighest + 1);

        for (const ImWchar* src_range = src_tmp.SrcRanges; src_range[0] && src_range[1]; src_range += 2)
            for (unsigned int codepoint = src_range[0]; codepoint <= src_range[1]; codepoint++)
            {
                if (dst_tmp.GlyphsSet.TestBit(codepoint))    // Don't overwrite existing glyphs. We could make this an option for MergeMode (e.g. MergeOverwrite==true)
                    continue;
                if (!stbtt_FindGlyphIndex(&src_tmp.FontInfo, codepoint))    // It is actually in the font?
                    continue;

                // Add to avail set/counters
                src_tmp.GlyphsCount++;
                dst_tmp.GlyphsCount++;
                src_tmp.GlyphsSet.SetBit(codepoint);
                dst_tmp.GlyphsSet.SetBit(codepoint);
                total_glyphs_count++;
            }
    }

    // 3. Unpack our bit map into a flat list (we now have all the Unicode points that we know are requested _and_ available _and_ not overlapping another)
    for (int src_i = 0; src_i < src_tmp_array.Size; src_i++)
    {
        ImFontBuildSrcData& src_tmp = src_tmp_array[src_i];
        src_tmp.GlyphsList.reserve(src_tmp.GlyphsCount);
        UnpackBitVectorToFlatIndexList(&src_tmp.GlyphsSet, &src_tmp.GlyphsList);
        src_tmp.GlyphsSet.Clear();
        IM_ASSERT(src_tmp.GlyphsList.Size == src_tmp.GlyphsCount);
    }
    for (int dst_i = 0; dst_i < dst_tmp_array.Size; dst_i++)
        dst_tmp_array[dst_i].GlyphsSet.Clear();
    dst_tmp_array.clear();

    // Allocate packing character data and flag packed characters buffer as non-packed (x0=y0=x1=y1=0)
    // (We technically don't need to zero-clear buf_rects, but let's do it for the sake of sanity)
    ImVector<stbrp_rect> buf_rects;
    ImVector<stbtt_packedchar> buf_packedchars;
    buf_rects.resize(total_glyphs_count);
    buf_packedchars.resize(total_glyphs_count);
    memset(buf_rects.Data, 0, (size_t)buf_rects.size_in_bytes());
    memset(buf_packedchars.Data, 0, (size_t)buf_packedchars.size_in_bytes());

    // 4. Gather glyphs sizes so we can pack them in our virtual canvas.
    int total_surface = 0;
    int buf_rects_out_n = 0;
    int buf_packedchars_out_n = 0;
    for (int src_i = 0; src_i < src_tmp_array.Size; src_i++)
    {
        ImFontBuildSrcData& src_tmp = src_tmp_array[src_i];
        if (src_tmp.GlyphsCount == 0)
            continue;

        src_tmp.Rects = &buf_rects[buf_rects_out_n];
        src_tmp.PackedChars = &buf_packedchars[buf_packedchars_out_n];
        buf_rects_out_n += src_tmp.GlyphsCount;
        buf_packedchars_out_n += src_tmp.GlyphsCount;

        // Convert our ranges in the format stb_truetype wants
        ImFontConfig& cfg = atlas->ConfigData[src_i];
        src_tmp.PackRange.font_size = cfg.SizePixels;
        src_tmp.PackRange.first_unicode_codepoint_in_range = 0;
        src_tmp.PackRange.array_of_unicode_codepoints = src_tmp.GlyphsList.Data;
        src_tmp.PackRange.num_chars = src_tmp.GlyphsList.Size;
        src_tmp.PackRange.chardata_for_range = src_tmp.PackedChars;
        src_tmp.PackRange.h_oversample = (unsigned char)cfg.OversampleH;
        src_tmp.PackRange.v_oversample = (unsigned char)cfg.OversampleV;

        // Gather the sizes of all rectangles we will need to pack (this loop is based on stbtt_PackFontRangesGatherRects)
        const float scale = (cfg.SizePixels > 0) ? stbtt_ScaleForPixelHeight(&src_tmp.FontInfo, cfg.SizePixels) : stbtt_ScaleForMappingEmToPixels(&src_tmp.FontInfo, -cfg.SizePixels);
        const int padding = atlas->TexGlyphPadding;
        for (int glyph_i = 0; glyph_i < src_tmp.GlyphsList.Size; glyph_i++)
        {
            int x0, y0, x1, y1;
            const int glyph_index_in_font = stbtt_FindGlyphIndex(&src_tmp.FontInfo, src_tmp.GlyphsList[glyph_i]);
            IM_ASSERT(glyph_index_in_font != 0);
            stbtt_GetGlyphBitmapBoxSubpixel(&src_tmp.FontInfo, glyph_index_in_font, scale * cfg.OversampleH, scale * cfg.OversampleV, 0, 0, &x0, &y0, &x1, &y1);
            src_tmp.Rects[glyph_i].w = (stbrp_coord)(x1 - x0 + padding + cfg.OversampleH - 1);
            src_tmp.Rects[glyph_i].h = (stbrp_coord)(y1 - y0 + padding + cfg.OversampleV - 1);
            total_surface += src_tmp.Rects[glyph_i].w * src_tmp.Rects[glyph_i].h;
        }
    }

    // We need a width for the skyline algorithm, any width!
    // The exact width doesn't really matter much, but some API/GPU have texture size limitations and increasing width can decrease height.
    // User can override TexDesiredWidth and TexGlyphPadding if they wish, otherwise we use a simple heuristic to select the width based on expected surface.
    const int surface_sqrt = (int)ImSqrt((float)total_surface) + 1;
    atlas->TexHeight = 0;
    if (atlas->TexDesiredWidth > 0)
        atlas->TexWidth = atlas->TexDesiredWidth;
    else
        atlas->TexWidth = (surface_sqrt >= 4096 * 0.7f) ? 4096 : (surface_sqrt >= 2048 * 0.7f) ? 2048 : (surface_sqrt >= 1024 * 0.7f) ? 1024 : 512;

    // 5. Start packing
    // Pack our extra data rectangles first, so it will be on the upper-left corner of our texture (UV will have small values).
    const int TEX_HEIGHT_MAX = 1024 * 32;
    stbtt_pack_context spc = {};
    stbtt_PackBegin(&spc, NULL, atlas->TexWidth, TEX_HEIGHT_MAX, 0, atlas->TexGlyphPadding, NULL);
    ImFontAtlasBuildPackCustomRects(atlas, spc.pack_info);

    // 6. Pack each source font. No rendering yet, we are working with rectangles in an infinitely tall texture at this point.
    for (int src_i = 0; src_i < src_tmp_array.Size; src_i++)
    {
        ImFontBuildSrcData& src_tmp = src_tmp_array[src_i];
        if (src_tmp.GlyphsCount == 0)
            continue;

        stbrp_pack_rects((stbrp_context*)spc.pack_info, src_tmp.Rects, src_tmp.GlyphsCount);

        // Extend texture height and mark missing glyphs as non-packed so we won't render them.
        // FIXME: We are not handling packing failure here (would happen if we got off TEX_HEIGHT_MAX or if a single if larger than TexWidth?)
        for (int glyph_i = 0; glyph_i < src_tmp.GlyphsCount; glyph_i++)
            if (src_tmp.Rects[glyph_i].was_packed)
                atlas->TexHeight = ImMax(atlas->TexHeight, src_tmp.Rects[glyph_i].y + src_tmp.Rects[glyph_i].h);
    }

    // 7. Allocate texture
    atlas->TexHeight = (atlas->Flags & ImFontAtlasFlags_NoPowerOfTwoHeight) ? (atlas->TexHeight + 1) : ImUpperPowerOfTwo(atlas->TexHeight);
    atlas->TexUvScale = ImVec2(1.0f / atlas->TexWidth, 1.0f / atlas->TexHeight);
    atlas->TexPixelsAlpha8 = (unsigned char*)IM_ALLOC(atlas->TexWidth * atlas->TexHeight);
    memset(atlas->TexPixelsAlpha8, 0, atlas->TexWidth * atlas->TexHeight);
    spc.pixels = atlas->TexPixelsAlpha8;
    spc.height = atlas->TexHeight;

    // 8. Render/rasterize font characters into the texture
    for (int src_i = 0; src_i < src_tmp_array.Size; src_i++)
    {
        ImFontConfig& cfg = atlas->ConfigData[src_i];
        ImFontBuildSrcData& src_tmp = src_tmp_array[src_i];
        if (src_tmp.GlyphsCount == 0)
            continue;

        stbtt_PackFontRangesRenderIntoRects(&spc, &src_tmp.FontInfo, &src_tmp.PackRange, 1, src_tmp.Rects);

        // Apply multiply operator
        if (cfg.RasterizerMultiply != 1.0f)
        {
            unsigned char multiply_table[256];
            ImFontAtlasBuildMultiplyCalcLookupTable(multiply_table, cfg.RasterizerMultiply);
            stbrp_rect* r = &src_tmp.Rects[0];
            for (int glyph_i = 0; glyph_i < src_tmp.GlyphsCount; glyph_i++, r++)
                if (r->was_packed)
                    ImFontAtlasBuildMultiplyRectAlpha8(multiply_table, atlas->TexPixelsAlpha8, r->x, r->y, r->w, r->h, atlas->TexWidth * 1);
        }
        src_tmp.Rects = NULL;
    }

    // End packing
    stbtt_PackEnd(&spc);
    buf_rects.clear();

    // 9. Setup ImFont and glyphs for runtime
    for (int src_i = 0; src_i < src_tmp_array.Size; src_i++)
    {
        ImFontBuildSrcData& src_tmp = src_tmp_array[src_i];
        if (src_tmp.GlyphsCount == 0)
            continue;

        // When merging fonts with MergeMode=true:
        // - We can have multiple input fonts writing into a same destination font.
        // - dst_font->ConfigData is != from cfg which is our source configuration.
        ImFontConfig& cfg = atlas->ConfigData[src_i];
        ImFont* dst_font = cfg.DstFont;

        const float font_scale = stbtt_ScaleForPixelHeight(&src_tmp.FontInfo, cfg.SizePixels);
        int unscaled_ascent, unscaled_descent, unscaled_line_gap;
        stbtt_GetFontVMetrics(&src_tmp.FontInfo, &unscaled_ascent, &unscaled_descent, &unscaled_line_gap);

        const float ascent = ImFloor(unscaled_ascent * font_scale + ((unscaled_ascent > 0.0f) ? +1 : -1));
        const float descent = ImFloor(unscaled_descent * font_scale + ((unscaled_descent > 0.0f) ? +1 : -1));
        ImFontAtlasBuildSetupFont(atlas, dst_font, &cfg, ascent, descent);
        const float font_off_x = cfg.GlyphOffset.x;
        const float font_off_y = cfg.GlyphOffset.y + IM_ROUND(dst_font->Ascent);

        for (int glyph_i = 0; glyph_i < src_tmp.GlyphsCount; glyph_i++)
        {
            // Register glyph
            const int codepoint = src_tmp.GlyphsList[glyph_i];
            const stbtt_packedchar& pc = src_tmp.PackedChars[glyph_i];
            stbtt_aligned_quad q;
            float unused_x = 0.0f, unused_y = 0.0f;
            stbtt_GetPackedQuad(src_tmp.PackedChars, atlas->TexWidth, atlas->TexHeight, glyph_i, &unused_x, &unused_y, &q, 0);
            dst_font->AddGlyph(&cfg, (ImWchar)codepoint, q.x0 + font_off_x, q.y0 + font_off_y, q.x1 + font_off_x, q.y1 + font_off_y, q.s0, q.t0, q.s1, q.t1, pc.xadvance);
        }
    }

    // Cleanup temporary (ImVector doesn't honor destructor)
    for (int src_i = 0; src_i < src_tmp_array.Size; src_i++)
        src_tmp_array[src_i].~ImFontBuildSrcData();

    ImFontAtlasBuildFinish(atlas);
    return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x488, %rsp            # imm = 0x488
cmpl $0x0, 0x60(%rdi)
jle 0x697f3
movq %rdi, %r13
callq 0x69907
andq $0x0, 0x8(%r13)
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%r13)
andq $0x0, 0x38(%r13)
movq %r13, %rdi
callq 0x65cf0
leaq -0xa0(%rbp), %rdi
xorps %xmm0, %xmm0
movaps %xmm0, (%rdi)
movaps %xmm0, -0x130(%rbp)
movl 0x60(%r13), %esi
callq 0x6f824
movl 0x40(%r13), %esi
leaq -0x130(%rbp), %rdi
callq 0x6f862
leaq 0x60(%r13), %rax
movq %rax, -0x138(%rbp)
leaq 0x40(%r13), %rbx
leaq -0xa0(%rbp), %rax
movq 0x8(%rax), %rdi
movslq (%rax), %rax
imulq $0x110, %rax, %rdx      # imm = 0x110
xorl %r14d, %r14d
xorl %esi, %esi
callq 0xc270
leaq -0x130(%rbp), %rax
movq 0x8(%rax), %rdi
movslq (%rax), %rdx
shlq $0x5, %rdx
xorl %esi, %esi
callq 0xc270
movq %r13, -0x88(%rbp)
movq -0x138(%rbp), %r12
movl (%r12), %eax
movl %eax, -0x19c(%rbp)
cmpl %eax, %r14d
movl %r14d, -0xfc(%rbp)
jge 0x67421
leaq -0xa0(%rbp), %rdi
movl %r14d, %esi
callq 0x6f8a0
movq %rax, %r15
movq %r12, %rdi
movl %r14d, %esi
callq 0x6f64e
movq %rax, -0x80(%rbp)
movq 0x80(%rax), %rax
testq %rax, %rax
je 0x697b5
movq 0x40(%rax), %rax
testq %rax, %rax
sete %cl
cmpq %r13, %rax
sete %al
orb %cl, %al
je 0x697b5
orl $-0x1, 0xe0(%r15)
xorl %r14d, %r14d
pushq $-0x1
popq %rax
movq -0x80(%rbp), %r13
cmpl (%rbx), %r14d
jge 0x66e82
cmpl $-0x1, %eax
jne 0x66e82
movq 0x80(%r13), %r12
movq %rbx, %rdi
movl %r14d, %esi
callq 0x4c056
cmpq (%rax), %r12
je 0x66e73
movl 0xe0(%r15), %eax
jmp 0x66e7d
movl %r14d, 0xe0(%r15)
movl %r14d, %eax
incl %r14d
jmp 0x66e49
cmpl $-0x1, %eax
je 0x697d4
movq %r13, %rax
movq (%r13), %r13
movslq 0x10(%rax), %r14
movzbl (%r13), %eax
testl %eax, %eax
je 0x66ee4
cmpl $0x74, %eax
je 0x67380
cmpl $0x4f, %eax
je 0x66ec2
cmpl $0x31, %eax
jne 0x67402
cmpb $0x0, 0x1(%r13)
je 0x66eef
jmp 0x67402
cmpb $0x54, 0x1(%r13)
jne 0x67402
cmpb $0x54, 0x2(%r13)
jne 0x67402
cmpb $0x4f, 0x3(%r13)
je 0x66f05
jmp 0x67402
cmpb $0x1, 0x1(%r13)
jne 0x67402
cmpb $0x0, 0x2(%r13)
jne 0x67402
cmpb $0x0, 0x3(%r13)
jne 0x67402
negl %r14d
movl $0x0, %r12d
sbbl %r12d, %r12d
testl %r12d, %r12d
js 0x67402
movq %r13, 0x8(%r15)
movl %r12d, 0x10(%r15)
xorps %xmm0, %xmm0
movups %xmm0, 0x40(%r15)
movq %r13, %rdi
movl %r12d, %esi
leaq 0x4e2b9(%rip), %rdx     # 0xb51f0
callq 0x6c936
movq %rax, -0x48(%rbp)
movq %r13, %rdi
movl %r12d, %esi
leaq 0x4e2a8(%rip), %rdx     # 0xb51f5
callq 0x6c936
movl %eax, -0xf0(%rbp)
movl %eax, 0x18(%r15)
movq %r13, %rdi
movl %r12d, %esi
leaq 0x4e291(%rip), %rdx     # 0xb51fa
callq 0x6c936
movl %eax, -0x40(%rbp)
movl %eax, 0x1c(%r15)
movq %r13, %rdi
movl %r12d, %esi
leaq 0x4e27d(%rip), %rdx     # 0xb51ff
callq 0x6c936
movl %eax, -0x38(%rbp)
movl %eax, 0x20(%r15)
movq %r13, %rdi
movl %r12d, %esi
leaq 0x4e269(%rip), %rdx     # 0xb5204
callq 0x6c936
movl %eax, -0x2c(%rbp)
movl %eax, 0x24(%r15)
movq %r13, %rdi
movl %r12d, %esi
leaq 0x4e255(%rip), %rdx     # 0xb5209
callq 0x6c936
movl %eax, %r14d
movl %eax, 0x28(%r15)
movq %r13, %rdi
movl %r12d, %esi
leaq 0x4e241(%rip), %rdx     # 0xb520e
callq 0x6c936
movl %eax, 0x2c(%r15)
movq %r13, %rdi
movl %r12d, -0x60(%rbp)
movl %r12d, %esi
leaq 0x4e22c(%rip), %rdx     # 0xb5213
callq 0x6c936
movl %eax, 0x30(%r15)
cmpl $0x0, -0x48(%rbp)
je 0x69682
cmpl $0x0, -0x40(%rbp)
je 0x69682
cmpl $0x0, -0x2c(%rbp)
je 0x69682
testl %r14d, %r14d
je 0x69682
cmpl $0x0, -0x38(%rbp)
je 0x6702f
cmpl $0x0, -0xf0(%rbp)
jne 0x6724a
jmp 0x69682
andl $0x0, -0x70(%rbp)
andl $0x0, -0xb8(%rbp)
movl $0x2, -0x170(%rbp)
andl $0x0, -0x64(%rbp)
movq %r13, %rdi
movl -0x60(%rbp), %esi
leaq 0x4e1c3(%rip), %rdx     # 0xb5218
callq 0x6c936
testl %eax, %eax
je 0x69682
movq %r15, %rcx
addq $0x40, %rcx
movl %eax, %eax
addq %r13, %rax
xorps %xmm0, %xmm0
movups %xmm0, 0x90(%r15)
movups %xmm0, 0x80(%r15)
movq %rax, 0x40(%r15)
movabsq $0x2000000000000000, %rax # imm = 0x2000000000000000
movq %rax, 0x48(%r15)
movups (%rcx), %xmm0
movaps %xmm0, -0x4a0(%rbp)
leaq -0x4a0(%rbp), %rdi
pushq $0x2
popq %rsi
callq 0x6c9a4
movslq -0x498(%rbp), %rax
xorl %esi, %esi
cmpl -0x494(%rbp), %eax
jge 0x670d1
movq -0x4a0(%rbp), %rcx
leal 0x1(%rax), %edx
movl %edx, -0x498(%rbp)
movzbl (%rcx,%rax), %esi
leaq -0x4a0(%rbp), %r14
movq %r14, %rdi
callq 0x6c9ae
movq %r14, %rdi
callq 0x6c9fc
movq %r14, %rdi
callq 0x6c9fc
movq %rax, %rdi
movq %rdx, %rsi
xorl %edx, %edx
callq 0x6ca8c
movq %rax, -0x120(%rbp)
movq %rdx, -0x118(%rbp)
movq %r14, %rdi
callq 0x6c9fc
movq %r14, %rdi
callq 0x6c9fc
movq %rax, 0x60(%r15)
movq %rdx, 0x68(%r15)
leaq -0x120(%rbp), %r12
movq %r12, %rdi
pushq $0x11
popq %rsi
pushq $0x1
popq %r14
movl %r14d, %edx
leaq -0x70(%rbp), %rcx
callq 0x6cb83
movq %r12, %rdi
movl $0x106, %esi            # imm = 0x106
movl %r14d, %edx
leaq -0x170(%rbp), %rcx
callq 0x6cb83
movq %r12, %rdi
movl $0x124, %esi            # imm = 0x124
movl %r14d, %edx
leaq -0xb8(%rbp), %rcx
callq 0x6cb83
movq %r12, %rdi
movl $0x125, %esi            # imm = 0x125
movl %r14d, %edx
leaq -0x64(%rbp), %rcx
callq 0x6cb83
movq -0x4a0(%rbp), %rdi
movq -0x498(%rbp), %rsi
movq -0x120(%rbp), %rdx
movq -0x118(%rbp), %rcx
callq 0x6ccad
movq %rax, 0x70(%r15)
movq %rdx, 0x78(%r15)
cmpl $0x2, -0x170(%rbp)
jne 0x69682
movl -0x70(%rbp), %r14d
testl %r14d, %r14d
je 0x69682
movl -0xb8(%rbp), %esi
testl %esi, %esi
je 0x67228
movl -0x64(%rbp), %r12d
testl %r12d, %r12d
je 0x69682
leaq -0x4a0(%rbp), %rdi
callq 0x6c9ae
leaq -0x4a0(%rbp), %rdi
callq 0x6c9fc
movq %rax, 0x80(%r15)
movq %rdx, 0x88(%r15)
movl -0x494(%rbp), %edx
subl %r12d, %edx
leaq -0x4a0(%rbp), %rdi
movl %r12d, %esi
callq 0x6cd5f
movq %rax, 0x90(%r15)
movq %rdx, 0x98(%r15)
leaq -0x4a0(%rbp), %r12
movq %r12, %rdi
movl %r14d, %esi
callq 0x6c9ae
movq %r12, %rdi
callq 0x6c9fc
movq %rax, 0x50(%r15)
movq %rdx, 0x58(%r15)
movq %r13, %rdi
movl -0x60(%rbp), %esi
leaq 0x4dfc6(%rip), %rdx     # 0xb521d
callq 0x6c936
testl %eax, %eax
je 0x67271
movl %eax, %eax
movzwl 0x4(%r13,%rax), %eax
rolw $0x8, %ax
movzwl %ax, %eax
jmp 0x67276
movl $0xffff, %eax           # imm = 0xFFFF
movl %eax, 0x14(%r15)
movq -0x48(%rbp), %rcx
movl %ecx, %eax
movzwl 0x2(%r13,%rax), %eax
rolw $0x8, %ax
andl $0x0, 0x34(%r15)
movzwl %ax, %r14d
leal 0x4(%rcx), %r12d
xorl %eax, %eax
subq $0x1, %r14
jb 0x672e9
movl %r12d, %ecx
leaq (%rcx,%r13), %rdi
movzwl (%r13,%rcx), %ecx
rolw $0x8, %cx
testw %cx, %cx
je 0x672d3
movzwl %cx, %ecx
cmpl $0x3, %ecx
jne 0x672e3
movzwl 0x2(%rdi), %ecx
rolw $0x8, %cx
cmpw $0xa, %cx
je 0x672d3
movzwl %cx, %ecx
cmpl $0x1, %ecx
jne 0x672e3
addq $0x4, %rdi
callq 0x6c92c
addl -0x48(%rbp), %eax
movl %eax, 0x34(%r15)
addl $0x8, %r12d
jmp 0x67299
testl %eax, %eax
je 0x69682
movslq 0x1c(%r15), %rax
movzwl 0x32(%r13,%rax), %eax
rolw $0x8, %ax
movzwl %ax, %eax
movl %eax, 0x38(%r15)
movl 0xe0(%r15), %esi
leaq -0x130(%rbp), %rdi
callq 0x6f8da
movq -0x80(%rbp), %rcx
movq 0x38(%rcx), %rdx
testq %rdx, %rdx
leaq 0x46b6d(%rip), %rcx     # 0xade98
cmoveq %rcx, %rdx
movq %rdx, 0xd8(%r15)
movl 0xe4(%r15), %ecx
movq -0x88(%rbp), %r13
movl -0xfc(%rbp), %r14d
cmpw $0x0, (%rdx)
je 0x6736b
movzwl 0x2(%rdx), %esi
testl %esi, %esi
je 0x6736b
cmpl %esi, %ecx
cmovlel %esi, %ecx
movl %ecx, 0xe4(%r15)
addq $0x4, %rdx
jmp 0x6734b
incl (%rax)
movl 0x4(%rax), %edx
cmpl %ecx, %edx
cmovgl %edx, %ecx
movl %ecx, 0x4(%rax)
incl %r14d
jmp 0x66dcd
movzbl 0x1(%r13), %eax
cmpl $0x72, %eax
je 0x673f0
cmpl $0x74, %eax
je 0x673a8
cmpl $0x79, %eax
jne 0x67402
cmpb $0x70, 0x2(%r13)
jne 0x67402
cmpb $0x31, 0x3(%r13)
je 0x66f05
jmp 0x67402
cmpb $0x63, 0x2(%r13)
jne 0x67402
cmpb $0x66, 0x3(%r13)
jne 0x67402
leaq 0x4(%r13), %rdi
callq 0x6c92c
cmpl $0x20000, %eax          # imm = 0x20000
je 0x673cd
cmpl $0x10000, %eax          # imm = 0x10000
jne 0x67402
movl 0x8(%r13), %eax
bswapl %eax
cmpl %r14d, %eax
jle 0x67402
leaq 0xc(,%r14,4), %rdi
addq %r13, %rdi
callq 0x6c92c
movl %eax, %r12d
jmp 0x66f11
cmpb $0x75, 0x2(%r13)
jne 0x67402
cmpb $0x65, 0x3(%r13)
je 0x66f05
leaq 0x4d977(%rip), %rdi     # 0xb4d80
leaq 0x4d0c6(%rip), %rsi     # 0xb44d6
leaq 0x4d8cc(%rip), %rcx     # 0xb4ce3
movl $0x885, %edx            # imm = 0x885
callq 0xc140
xorl %esi, %esi
xorl %r14d, %r14d
cmpl -0xa0(%rbp), %esi
jge 0x67515
leaq -0xa0(%rbp), %rdi
movl %esi, -0x60(%rbp)
callq 0x6f8a0
movq %rax, %r13
movl 0xe0(%rax), %esi
leaq -0x130(%rbp), %rdi
callq 0x6f8da
movq %rax, %rbx
leaq 0xf0(%r13), %rdi
movl 0xe4(%r13), %esi
incl %esi
movq %rdi, -0x80(%rbp)
callq 0x6f910
movq %rbx, %r15
addq $0x10, %r15
cmpl $0x0, 0x10(%rbx)
jne 0x6748c
movl 0x4(%rbx), %esi
incl %esi
movq %r15, %rdi
callq 0x6f910
movq %rbx, -0x48(%rbp)
movq 0xd8(%r13), %r12
movzwl (%r12), %ebx
testl %ebx, %ebx
je 0x67504
movzwl 0x2(%r12), %eax
testw %ax, %ax
je 0x67504
movzwl %ax, %eax
cmpl %eax, %ebx
ja 0x674fe
movq %r15, %rdi
movl %ebx, %esi
callq 0x6f93c
testb %al, %al
jne 0x674f4
movq %r13, %rdi
movl %ebx, %esi
callq 0x69969
testl %eax, %eax
je 0x674f4
incl 0xe8(%r13)
movq -0x48(%rbp), %rax
incl 0x8(%rax)
movq -0x80(%rbp), %rdi
movl %ebx, %esi
callq 0x6f97e
movq %r15, %rdi
movl %ebx, %esi
callq 0x6f97e
incl %r14d
incl %ebx
movzwl 0x2(%r12), %eax
jmp 0x674ab
addq $0x4, %r12
jmp 0x67497
movl -0x60(%rbp), %esi
incl %esi
movq -0x88(%rbp), %r13
jmp 0x67426
movl %r14d, -0x2c(%rbp)
xorl %esi, %esi
cmpl -0xa0(%rbp), %esi
jge 0x67607
leaq -0xa0(%rbp), %rdi
movl %esi, -0x80(%rbp)
callq 0x6f8a0
movq %rax, %r14
leaq 0x100(%rax), %rbx
movl 0xe8(%rax), %esi
movq %rbx, %rdi
callq 0x4c976
movq %r14, %rax
addq $0xf0, %rax
movq %rax, -0x40(%rbp)
movq 0xf8(%r14), %r15
movq %r14, -0x60(%rbp)
movslq 0xf0(%r14), %rax
leaq (%r15,%rax,4), %rax
movq %rax, -0x48(%rbp)
xorl %r13d, %r13d
cmpq -0x48(%rbp), %r15
jae 0x675bd
movl (%r15), %r14d
testl %r14d, %r14d
je 0x675b3
xorl %r12d, %r12d
cmpl $0x20, %r12d
je 0x675b3
btl %r12d, %r14d
jae 0x675ae
leal (%r12,%r13), %eax
movl %eax, -0x4a0(%rbp)
movq %rbx, %rdi
leaq -0x4a0(%rbp), %rsi
callq 0x4ae88
incl %r12d
jmp 0x67589
addq $0x4, %r15
addl $0x20, %r13d
jmp 0x67578
movq -0x40(%rbp), %rdi
callq 0x4a1d0
movq -0x60(%rbp), %rcx
movl 0x100(%rcx), %eax
movl -0x80(%rbp), %esi
incl %esi
cmpl 0xe8(%rcx), %eax
movq -0x88(%rbp), %r13
je 0x6751b
leaq 0x4d7d9(%rip), %rdi     # 0xb4dc8
leaq 0x4cee0(%rip), %rsi     # 0xb44d6
leaq 0x4d6e6(%rip), %rcx     # 0xb4ce3
movl $0x8b4, %edx            # imm = 0x8B4
callq 0xc140
xorl %ebx, %ebx
leaq -0x130(%rbp), %r14
cmpl -0x130(%rbp), %ebx
jge 0x6762f
movq %r14, %rdi
movl %ebx, %esi
callq 0x6f8da
leaq 0x10(%rax), %rdi
callq 0x4a1d0
incl %ebx
jmp 0x67610
leaq -0x130(%rbp), %rdi
callq 0x6f9c0
xorps %xmm0, %xmm0
leaq -0x120(%rbp), %rdi
movaps %xmm0, (%rdi)
movaps %xmm0, -0x170(%rbp)
movl -0x2c(%rbp), %ebx
movl %ebx, %esi
callq 0x6f9e8
leaq -0x170(%rbp), %rdi
movl %ebx, %esi
callq 0x6fa26
leaq -0x120(%rbp), %rax
movq 0x8(%rax), %rdi
movslq (%rax), %rdx
shlq $0x4, %rdx
xorl %ebx, %ebx
xorl %esi, %esi
callq 0xc270
leaq -0x170(%rbp), %rax
movq 0x8(%rax), %rdi
movslq (%rax), %rax
imulq $0x1c, %rax, %rdx
xorl %esi, %esi
callq 0xc270
movl $0x0, -0x2c(%rbp)
movl $0x0, -0x38(%rbp)
movl $0x0, -0x40(%rbp)
cmpl -0xa0(%rbp), %ebx
jge 0x678b2
leaq -0xa0(%rbp), %rdi
movl %ebx, %esi
callq 0x6f8a0
cmpl $0x0, 0xe8(%rax)
je 0x678ab
movq %rax, %r15
leaq -0x120(%rbp), %rdi
movl -0x38(%rbp), %esi
callq 0x6fa64
movq %rax, 0xc8(%r15)
leaq -0x170(%rbp), %rdi
movl -0x2c(%rbp), %esi
callq 0x6fa9a
movq %rax, 0xd0(%r15)
movl 0xe8(%r15), %r14d
movq -0x138(%rbp), %rdi
movq %rbx, -0xf0(%rbp)
movl %ebx, %esi
callq 0x6f64e
movq %rax, %r12
movss 0x14(%rax), %xmm0
movss %xmm0, 0xa0(%r15)
andl $0x0, 0xa4(%r15)
movq 0x108(%r15), %rax
movq %rax, 0xa8(%r15)
movl 0x100(%r15), %ebx
movl %ebx, 0xb0(%r15)
movq 0xd0(%r15), %rax
movq %rax, 0xb8(%r15)
movb 0x18(%r12), %al
movb %al, 0xc0(%r15)
movb 0x1c(%r12), %al
movb %al, 0xc1(%r15)
ucomiss 0x35140(%rip), %xmm0    # 0x9c8c4
jbe 0x67790
movq %r15, %rdi
callq 0x69c5b
jmp 0x677b3
xorps 0x34849(%rip), %xmm0    # 0x9bfe0
movq 0x8(%r15), %rax
movslq 0x1c(%r15), %rcx
movzwl 0x12(%rax,%rcx), %eax
rolw $0x8, %ax
movzwl %ax, %eax
cvtsi2ss %eax, %xmm1
divss %xmm1, %xmm0
movaps %xmm0, -0x80(%rbp)
addl %r14d, -0x38(%rbp)
addl %r14d, -0x2c(%rbp)
movq %r15, %rax
addq $0x100, %rax            # imm = 0x100
movq %rax, -0x48(%rbp)
movl 0x14(%r13), %eax
movl %eax, -0x60(%rbp)
pushq $0x6
popq %r14
xorl %r13d, %r13d
movslq %ebx, %rax
cmpq %rax, %r13
jge 0x6789d
movq -0x48(%rbp), %rdi
movl %r13d, %esi
callq 0x5f5fe
movl (%rax), %esi
movq %r15, %rdi
callq 0x69969
testl %eax, %eax
je 0x69796
cvtsi2ssl 0x18(%r12), %xmm0
movaps -0x80(%rbp), %xmm2
mulss %xmm2, %xmm0
cvtsi2ssl 0x1c(%r12), %xmm1
mulss %xmm2, %xmm1
movq %r15, %rdi
movl %eax, %esi
leaq -0x4a0(%rbp), %rdx
leaq -0x70(%rbp), %rcx
leaq -0xb8(%rbp), %r8
leaq -0x64(%rbp), %r9
callq 0x69c97
movl 0x18(%r12), %eax
movl -0xb8(%rbp), %ecx
movl -0x60(%rbp), %edi
addl %edi, %ecx
subl -0x4a0(%rbp), %ecx
addl %ecx, %eax
decl %eax
movq 0xc8(%r15), %rcx
movw %ax, -0x2(%rcx,%r14)
movl 0x1c(%r12), %edx
movl -0x64(%rbp), %esi
addl %edi, %esi
subl -0x70(%rbp), %esi
addl %esi, %edx
decl %edx
movw %dx, (%rcx,%r14)
movl $0xffff, %ecx           # imm = 0xFFFF
andl %ecx, %eax
andl %ecx, %edx
imull %eax, %edx
addl %edx, -0x40(%rbp)
incq %r13
movl 0x100(%r15), %ebx
addq $0x10, %r14
jmp 0x677da
movq -0x88(%rbp), %r13
movq -0xf0(%rbp), %rbx
incl %ebx
jmp 0x676b0
andl $0x0, 0x2c(%r13)
movl 0x10(%r13), %r15d
testl %r15d, %r15d
jg 0x678fe
cvtsi2ssl -0x40(%rbp), %xmm0
sqrtss %xmm0, %xmm0
cvttss2si %xmm0, %eax
movl $0x1000, %r15d          # imm = 0x1000
cmpl $0xb32, %eax            # imm = 0xB32
jg 0x678fe
movl $0x800, %r15d           # imm = 0x800
cmpl $0x598, %eax            # imm = 0x598
jg 0x678fe
xorl %r15d, %r15d
cmpl $0x2cc, %eax            # imm = 0x2CC
setge %r15b
shll $0x9, %r15d
addl $0x200, %r15d           # imm = 0x200
movl %r15d, 0x28(%r13)
movl 0x14(%r13), %eax
movq %rax, -0xd0(%rbp)
pushq $0x48
popq %rdi
callq 0x3440d
movq %rax, %r12
movl %r15d, %ebx
subl -0xd0(%rbp), %ebx
movslq %ebx, %rdi
shlq $0x4, %rdi
callq 0x3440d
movq %rax, %r14
testq %r12, %r12
je 0x67985
testq %r14, %r14
je 0x67985
cmpl $0xffff8001, -0xd0(%rbp) # imm = 0xFFFF8001
jl 0x69812
cmpl $0xffff, %ebx           # imm = 0xFFFF
jg 0x69812
movl $0x8000, %ecx           # imm = 0x8000
subl -0xd0(%rbp), %ecx
leal -0x1(%rbx), %eax
xorl %edx, %edx
testl %eax, %eax
cmovgl %eax, %edx
movq %r14, %rsi
addq $0x10, %rsi
movq %rdx, %rdi
subq $0x1, %rdi
jb 0x679b4
movq %rsi, -0x8(%rsi)
addq $0x10, %rsi
jmp 0x67975
testq %r12, %r12
je 0x67992
movq %r12, %rdi
callq 0x344ad
testq %r14, %r14
je 0x6799f
movq %r14, %rdi
callq 0x344ad
xorl %r14d, %r14d
movq $0x0, -0xd0(%rbp)
xorl %r15d, %r15d
xorl %esi, %esi
jmp 0x67a16
shlq $0x4, %rdx
andq $0x0, 0x8(%r14,%rdx)
movq $0x1, 0xc(%r12)
movq %r14, 0x20(%r12)
leaq 0x28(%r12), %rdx
movq %rdx, 0x18(%r12)
movl %ebx, (%r12)
movl %ecx, 0x4(%r12)
movl %ebx, 0x14(%r12)
addl %ebx, %eax
cltd
idivl %ebx
movl %eax, 0x8(%r12)
andl $0x0, 0x28(%r12)
movq %r12, %rax
addq $0x38, %rax
movq %rax, 0x30(%r12)
movw %bx, 0x38(%r12)
movq %r12, %rsi
orw $-0x1, 0x3a(%r12)
andq $0x0, 0x40(%r12)
movq %r13, %rdi
movq %rsi, -0x1d0(%rbp)
callq 0x69e40
movq %r14, -0x140(%rbp)
xorl %r12d, %r12d
leaq -0xa0(%rbp), %rbx
xorl %r14d, %r14d
movl %r15d, -0xbc(%rbp)
cmpl -0xa0(%rbp), %r14d
jge 0x67ad0
movq %rbx, %rdi
movl %r14d, %esi
callq 0x6f8a0
movl 0xe8(%rax), %edx
testl %edx, %edx
je 0x67ac1
movq %rax, %r15
movq 0xc8(%rax), %rsi
movq -0x1d0(%rbp), %rdi
callq 0x6a078
movl 0xe8(%r15), %eax
movq 0xc8(%r15), %rcx
testl %eax, %eax
cmovlel %r12d, %eax
shlq $0x4, %rax
xorl %edx, %edx
cmpq %rdx, %rax
je 0x67ac1
cmpl $0x0, 0xc(%rcx,%rdx)
je 0x67abb
movl 0x2c(%r13), %esi
movzwl 0xa(%rcx,%rdx), %edi
movzwl 0x6(%rcx,%rdx), %r8d
addl %edi, %r8d
cmpl %r8d, %esi
cmovgl %esi, %r8d
movl %r8d, 0x2c(%r13)
addq $0x10, %rdx
jmp 0x67a92
incl %r14d
movl -0xbc(%rbp), %r15d
jmp 0x67a40
testb $0x1, 0x4(%r13)
movl 0x2c(%r13), %eax
jne 0x67aff
decl %eax
movl %eax, %ecx
sarl %ecx
orl %eax, %ecx
movl %ecx, %eax
sarl $0x2, %eax
orl %ecx, %eax
movl %eax, %ecx
sarl $0x4, %ecx
orl %eax, %ecx
movl %ecx, %edx
sarl $0x8, %edx
orl %ecx, %edx
movl %edx, %eax
sarl $0x10, %eax
orl %edx, %eax
movq -0x140(%rbp), %r12
incl %eax
movl %eax, 0x2c(%r13)
movl 0x28(%r13), %ecx
cvtsi2ss %ecx, %xmm0
movss 0x344dc(%rip), %xmm3    # 0x9bff8
cvtsi2ss %eax, %xmm1
movaps %xmm3, %xmm2
divss %xmm0, %xmm2
movaps %xmm3, %xmm0
divss %xmm1, %xmm0
movss %xmm2, 0x30(%r13)
movss %xmm0, 0x34(%r13)
imull %ecx, %eax
movslq %eax, %rdi
callq 0x3440d
movq %rax, 0x18(%r13)
movslq 0x28(%r13), %rcx
movslq 0x2c(%r13), %rdx
imulq %rcx, %rdx
movq %rax, %rdi
xorl %esi, %esi
callq 0xc270
xorl %ebx, %ebx
movq 0x18(%r13), %rax
movslq %r15d, %rcx
movq %rcx, -0x180(%rbp)
movq %rax, -0x178(%rbp)
incq %rax
movq %rax, -0x218(%rbp)
cmpl -0xa0(%rbp), %ebx
jge 0x693f3
movq -0x138(%rbp), %rdi
movl %ebx, %esi
callq 0x6f64e
movq %rax, -0x208(%rbp)
leaq -0xa0(%rbp), %rdi
movq %rbx, -0x210(%rbp)
movl %ebx, %esi
callq 0x6f8a0
cmpl $0x0, 0xe8(%rax)
je 0x693a7
movq %rax, %r15
movq 0xc8(%rax), %rbx
movb $0x1, %al
xorl %r14d, %r14d
movq %rbx, -0x1d8(%rbp)
movq %r15, -0x1f0(%rbp)
testb $0x1, %al
je 0x6932e
movss 0xa0(%r15), %xmm0
ucomiss 0x34ccc(%rip), %xmm0    # 0x9c8c4
jbe 0x67c04
movq %r15, %rdi
callq 0x69c5b
jmp 0x67c2d
xorps 0x343d5(%rip), %xmm0    # 0x9bfe0
movq 0x8(%r15), %rax
movslq 0x1c(%r15), %rcx
movzwl 0x12(%rax,%rcx), %eax
rolw $0x8, %ax
movzwl %ax, %eax
movaps %xmm0, %xmm1
cvtsi2ss %eax, %xmm0
divss %xmm0, %xmm1
movaps %xmm1, %xmm0
movaps %xmm0, -0x270(%rbp)
movzbl 0xc0(%r15), %eax
cvtsi2ss %eax, %xmm1
movzbl 0xc1(%r15), %ecx
movq %rcx, -0x80(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -0x104(%rbp)
movss %xmm0, -0x100(%rbp)
movq %rax, -0x48(%rbp)
testq %rax, %rax
je 0x67c85
pushq $0x1
popq %rax
subl -0x48(%rbp), %eax
cvtsi2ss %eax, %xmm2
movaps %xmm1, %xmm0
addss %xmm1, %xmm0
divss %xmm0, %xmm2
movss %xmm2, -0x100(%rbp)
movq -0x80(%rbp), %rax
cvtsi2ss %eax, %xmm3
testq %rax, %rax
je 0x67caf
pushq $0x1
popq %rax
subl -0x80(%rbp), %eax
cvtsi2ss %eax, %xmm2
movaps %xmm3, %xmm0
addss %xmm3, %xmm0
divss %xmm0, %xmm2
movss %xmm2, -0x104(%rbp)
movss 0x34341(%rip), %xmm0    # 0x9bff8
movaps %xmm0, %xmm2
divss %xmm1, %xmm2
movss %xmm2, -0x1a4(%rbp)
divss %xmm3, %xmm0
movss %xmm0, -0x1a0(%rbp)
movslq %r14d, %r14
movaps -0x270(%rbp), %xmm0
mulss %xmm0, %xmm1
mulss %xmm0, %xmm3
movaps %xmm3, -0x280(%rbp)
movaps %xmm3, %xmm0
movss %xmm1, -0xc0(%rbp)
minss %xmm1, %xmm0
movss 0x3a4e2(%rip), %xmm1    # 0xa21e4
divss %xmm0, %xmm1
mulss %xmm1, %xmm1
movss %xmm1, -0x10c(%rbp)
xorps 0x342c7(%rip), %xmm3    # 0x9bfe0
movaps %xmm3, -0x290(%rbp)
xorl %ecx, %ecx
movslq 0xb0(%r15), %rax
cmpq %rax, %rcx
jge 0x69327
movq %r14, %rdx
shlq $0x4, %rdx
cmpl $0x0, 0xc(%rbx,%rdx)
je 0x6931c
addq %rbx, %rdx
cmpw $0x0, 0x4(%rdx)
je 0x6931c
cmpw $0x0, 0x6(%rdx)
je 0x6931c
movq 0xa8(%r15), %rax
testq %rax, %rax
movq %rdx, -0x148(%rbp)
movq %r14, -0x1e8(%rbp)
je 0x67d7c
movl (%rax,%rcx,4), %esi
jmp 0x67d85
movl 0xa4(%r15), %esi
addl %ecx, %esi
movq %rcx, -0x248(%rbp)
imulq $0x1c, %rcx, %rax
addq 0xb8(%r15), %rax
movq %rax, -0x240(%rbp)
movq %r15, %rdi
callq 0x69969
movq -0xd0(%rbp), %rcx
movq -0x148(%rbp), %r12
addw %cx, 0x8(%r12)
addw %cx, 0xa(%r12)
movl %eax, %r14d
subw %cx, 0x4(%r12)
subw %cx, 0x6(%r12)
movq 0x8(%r15), %rax
movslq 0x24(%r15), %rcx
movzwl 0x22(%rax,%rcx), %ecx
rolw $0x8, %cx
movzwl %cx, %ecx
movslq 0x28(%r15), %rdx
addq %rax, %rdx
leal (,%r14,4), %eax
cltq
leaq (%rdx,%rax), %rsi
cmpl %r14d, %ecx
leaq 0x1(%rax,%rdx), %rax
leaq -0x4(%rdx,%rcx,4), %rdi
leaq -0x3(%rdx,%rcx,4), %rcx
cmovgq %rax, %rcx
cmovgq %rsi, %rdi
movzbl (%rdi), %eax
movl %eax, -0x1ac(%rbp)
movzbl (%rcx), %eax
movl %eax, -0x1a8(%rbp)
movq %r15, %rdi
movl %r14d, %esi
movss -0xc0(%rbp), %xmm0
movaps -0x280(%rbp), %xmm1
leaq -0x1c0(%rbp), %rdx
leaq -0x1bc(%rbp), %rcx
leaq -0x258(%rbp), %r8
leaq -0x254(%rbp), %r9
callq 0x69c97
movzwl 0x8(%r12), %r13d
movzwl 0xa(%r12), %eax
movq %rax, -0x190(%rbp)
movzwl 0x4(%r12), %eax
movq %rax, -0xd8(%rbp)
movq %r15, %rdi
movzwl 0x6(%r12), %r15d
movl %r14d, %esi
leaq -0xb8(%rbp), %rdx
callq 0x6de6b
movl %eax, %r12d
movq -0x48(%rbp), %rax
negl %eax
movq -0xd8(%rbp), %rcx
leal (%rcx,%rax), %ebx
incl %ebx
movq -0x1f0(%rbp), %rdi
movl %r14d, %esi
movss -0xc0(%rbp), %xmm0
movaps -0x280(%rbp), %xmm1
leaq -0x64(%rbp), %rdx
leaq -0x1c4(%rbp), %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x69c97
movl %ebx, -0x8c(%rbp)
testl %ebx, %ebx
je 0x68d4b
movq -0x80(%rbp), %rax
negl %eax
addl %r15d, %eax
incl %eax
movq %rax, -0x188(%rbp)
testl %eax, %eax
je 0x68d4b
movq %r13, %rax
addq -0x178(%rbp), %rax
movq -0x190(%rbp), %r13
imulq -0x180(%rbp), %r13
addq %rax, %r13
movq %r13, -0x190(%rbp)
movq -0xd8(%rbp), %rax
subl -0x48(%rbp), %eax
movq %rax, -0xd8(%rbp)
movq -0xb8(%rbp), %r14
movl -0x64(%rbp), %eax
movl %eax, -0x2c(%rbp)
movl -0x1c4(%rbp), %eax
movq %rax, -0x1e0(%rbp)
xorl %eax, %eax
testl %r12d, %r12d
cmovlel %eax, %r12d
imulq $0xe, %r12, %r13
xorl %ecx, %ecx
cmpq %rax, %r13
je 0x67f73
xorl %edx, %edx
cmpb $0x1, 0xc(%r14,%rax)
sete %dl
addl %edx, %ecx
addq $0xe, %rax
jmp 0x67f5b
testl %ecx, %ecx
je 0x68d4b
movl %ecx, %eax
movq %rax, -0x40(%rbp)
leaq (,%rax,4), %rdi
callq 0x3440d
movq %rax, -0xa8(%rbp)
cmpq $0x0, -0xa8(%rbp)
je 0x68d4b
xorl %eax, %eax
movq $0x0, -0xb0(%rbp)
xorl %r15d, %r15d
xorl %ebx, %ebx
cmpl $0x1, %ebx
je 0x67fc4
cmpl $0x2, %ebx
jne 0x67fe0
jmp 0x681a4
movslq %eax, %rdi
shlq $0x3, %rdi
callq 0x3440d
movq %rax, -0xb0(%rbp)
testq %rax, %rax
je 0x681d0
movl %ebx, -0x60(%rbp)
andl $0x0, -0x4a0(%rbp)
xorps %xmm0, %xmm0
xorl %ebx, %ebx
pushq $-0x1
popq %r12
xorps %xmm1, %xmm1
cmpq %rbx, %r13
je 0x68182
movzbl 0xc(%r14,%rbx), %eax
decl %eax
cmpl $0x3, %eax
ja 0x68173
leaq 0x45ca9(%rip), %rcx     # 0xadcc0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x4a0(%rbp), %eax
testl %r12d, %r12d
js 0x6803d
movl %eax, %ecx
subl %r15d, %ecx
movl %r12d, %edx
movq -0xa8(%rbp), %rsi
movl %ecx, (%rsi,%rdx,4)
movswl (%r14,%rbx), %ecx
cvtsi2ss %ecx, %xmm0
movswl 0x2(%r14,%rbx), %ecx
cvtsi2ss %ecx, %xmm1
incl %r12d
leal 0x1(%rax), %ecx
movl %ecx, -0x4a0(%rbp)
movq -0xb0(%rbp), %rdx
testq %rdx, %rdx
je 0x68176
movslq %eax, %rcx
movss %xmm0, (%rdx,%rcx,8)
movss %xmm1, 0x4(%rdx,%rcx,8)
jmp 0x68176
movswl 0x4(%r14,%rbx), %eax
cvtsi2ss %eax, %xmm2
movswl 0x6(%r14,%rbx), %eax
cvtsi2ss %eax, %xmm3
movswl (%r14,%rbx), %eax
cvtsi2ss %eax, %xmm4
movswl 0x2(%r14,%rbx), %eax
cvtsi2ss %eax, %xmm5
movq -0xb0(%rbp), %rdi
leaq -0x4a0(%rbp), %rsi
movss -0x10c(%rbp), %xmm6
xorl %edx, %edx
callq 0x6e7d4
jmp 0x68124
movswl 0x4(%r14,%rbx), %eax
cvtsi2ss %eax, %xmm2
movswl 0x6(%r14,%rbx), %eax
cvtsi2ss %eax, %xmm3
movswl 0x8(%r14,%rbx), %eax
cvtsi2ss %eax, %xmm4
movswl 0xa(%r14,%rbx), %eax
cvtsi2ss %eax, %xmm5
movswl (%r14,%rbx), %eax
cvtsi2ss %eax, %xmm6
movswl 0x2(%r14,%rbx), %eax
cvtsi2ss %eax, %xmm7
movss -0x10c(%rbp), %xmm8
movss %xmm8, (%rsp)
movq -0xb0(%rbp), %rdi
leaq -0x4a0(%rbp), %rsi
xorl %edx, %edx
callq 0x6e934
movswl (%r14,%rbx), %eax
cvtsi2ss %eax, %xmm0
movswl 0x2(%r14,%rbx), %eax
cvtsi2ss %eax, %xmm1
jmp 0x68173
movswl (%r14,%rbx), %eax
cvtsi2ss %eax, %xmm0
movswl 0x2(%r14,%rbx), %eax
cvtsi2ss %eax, %xmm1
movslq -0x4a0(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, -0x4a0(%rbp)
movq -0xb0(%rbp), %rcx
testq %rcx, %rcx
je 0x68173
movss %xmm0, (%rcx,%rax,8)
movss %xmm1, 0x4(%rcx,%rax,8)
movl %r15d, %eax
addq $0xe, %rbx
movl %eax, %r15d
jmp 0x67ff6
movl -0x4a0(%rbp), %eax
movl %eax, %ecx
subl %r15d, %ecx
movslq %r12d, %rdx
movq -0xa8(%rbp), %rsi
movl %ecx, (%rsi,%rdx,4)
movl -0x60(%rbp), %ebx
incl %ebx
jmp 0x67fb5
movq -0xb0(%rbp), %r15
testq %r15, %r15
je 0x68d4b
xorl %ecx, %ecx
xorl %eax, %eax
movq -0x40(%rbp), %rsi
cmpq %rcx, %rsi
je 0x681e8
movq -0xa8(%rbp), %rdx
addl (%rdx,%rcx,4), %eax
incq %rcx
jmp 0x681bc
xorl %edi, %edi
callq 0x344ad
movq -0xa8(%rbp), %rdi
callq 0x344ad
jmp 0x68d4b
incl %eax
cltq
imulq $0x14, %rax, %rdi
callq 0x3440d
movq %rax, %r13
testq %rax, %rax
je 0x68d37
leaq 0x4(%r15), %rax
xorl %ecx, %ecx
xorl %edx, %edx
xorl %r14d, %r14d
movaps -0x290(%rbp), %xmm3
cmpq -0x40(%rbp), %rcx
je 0x6831c
movslq %edx, %r8
leaq (%r15,%r8,8), %rdi
movq -0xa8(%rbp), %rsi
movl (%rsi,%rcx,4), %esi
leal -0x1(%rsi), %r10d
leaq (%rax,%r8,8), %r8
movl %esi, %r11d
xorl %r9d, %r9d
movslq %r11d, %rbx
cmpq %rbx, %r9
jge 0x68310
movslq %r10d, %rbx
movss 0x4(%rdi,%rbx,8), %xmm0
movss (%r8,%r9,8), %xmm1
ucomiss %xmm1, %xmm0
jne 0x68266
jp 0x68266
movl %r9d, %r10d
jmp 0x68308
xorl %ebx, %ebx
ucomiss %xmm1, %xmm0
seta %r15b
ja 0x68276
movl %r9d, %r12d
jmp 0x6827c
movl %r10d, %r12d
movl %r9d, %r10d
movslq %r14d, %r14
imulq $0x14, %r14, %r11
movb %r15b, %bl
movl %ebx, 0x10(%r13,%r11)
movslq %r12d, %rbx
movss (%rdi,%rbx,8), %xmm0
movss -0xc0(%rbp), %xmm2
mulss %xmm2, %xmm0
xorps %xmm1, %xmm1
addss %xmm1, %xmm0
movss %xmm0, (%r13,%r11)
movss 0x4(%rdi,%rbx,8), %xmm0
mulss %xmm3, %xmm0
addss %xmm1, %xmm0
movss %xmm0, 0x4(%r13,%r11)
movslq %r10d, %r10
movss (%rdi,%r10,8), %xmm0
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, 0x8(%r13,%r11)
movss 0x4(%rdi,%r10,8), %xmm0
mulss %xmm3, %xmm0
addss %xmm1, %xmm0
movss %xmm0, 0xc(%r13,%r11)
incl %r14d
movq -0xa8(%rbp), %r10
movl (%r10,%rcx,4), %r11d
movl %r9d, %r10d
movq -0xb0(%rbp), %r15
incq %r9
jmp 0x6823c
addl %edx, %esi
incq %rcx
movl %esi, %edx
jmp 0x68213
movq %r13, %rdi
movl %r14d, %esi
callq 0x6eb3d
movslq %r14d, %rbx
movq %r13, %rax
pushq $0x1
popq %rcx
leaq 0x34e1d(%rip), %r14     # 0x9d154
cmpq %rbx, %rcx
jge 0x683da
imulq $0x14, %rcx, %rdx
movss (%r13,%rdx), %xmm0
movss 0x4(%r13,%rdx), %xmm1
movl 0x10(%r13,%rdx), %esi
movl %esi, -0x498(%rbp)
movq 0x8(%r13,%rdx), %rdx
movq %rdx, -0x4a0(%rbp)
movq %rax, %rsi
movq %rcx, %rdx
testq %rdx, %rdx
jle 0x68399
movss 0x4(%rsi), %xmm2
ucomiss %xmm1, %xmm2
jbe 0x6839b
leaq 0x14(%rsi), %rdi
movl 0x10(%rsi), %r8d
movl %r8d, 0x10(%rdi)
movups (%rsi), %xmm2
movups %xmm2, (%rdi)
decq %rdx
addq $-0x14, %rsi
jmp 0x6836f
xorl %edx, %edx
movl %edx, %esi
cmpq %rsi, %rcx
je 0x683ce
movslq %edx, %rdx
imulq $0x14, %rdx, %rdx
movss %xmm0, (%r13,%rdx)
movss %xmm1, 0x4(%r13,%rdx)
movq -0x4a0(%rbp), %rsi
movq %rsi, 0x8(%r13,%rdx)
movl -0x498(%rbp), %esi
movl %esi, 0x10(%r13,%rdx)
incq %rcx
addq $0x14, %rax
jmp 0x68337
andq $0x0, -0x70(%rbp)
leaq -0x4a0(%rbp), %r12
cmpl $0x40, -0xd8(%rbp)
jl 0x6840c
movl -0x8c(%rbp), %eax
leaq 0x4(,%rax,8), %rdi
callq 0x3440d
movq %rax, %r12
leaq 0x34d48(%rip), %r14     # 0x9d154
movl -0x8c(%rbp), %r8d
movslq %r8d, %rsi
leaq (%r12,%rsi,4), %rax
movq %rax, -0xf8(%rbp)
movq -0x188(%rbp), %rcx
movq -0x1e0(%rbp), %rdx
leal (%rdx,%rcx), %eax
cvtsi2ss %eax, %xmm0
addss 0x33bba(%rip), %xmm0    # 0x9bff8
imulq $0x14, %rbx, %rax
cvtsi2ssl -0x2c(%rbp), %xmm1
movss %xmm1, -0x1b4(%rbp)
movss %xmm0, 0x4(%r13,%rax)
leaq (,%rsi,4), %rax
movq %rax, -0x238(%rbp)
movslq -0xd8(%rbp), %rax
leaq 0x8(,%rax,4), %rax
movq %rax, -0x230(%rbp)
cvtsi2ss %r8d, %xmm0
movss %xmm0, -0xc8(%rbp)
xorl %edi, %edi
testl %r8d, %r8d
cmovlel %edi, %r8d
movl %r8d, -0x8c(%rbp)
testq %rsi, %rsi
movl $0x0, %eax
movq %rsi, -0x250(%rbp)
cmovgq %rsi, %rax
movq %rax, -0x220(%rbp)
testl %ecx, %ecx
movl $0x0, %eax
movq %rax, -0x198(%rbp)
cmovlel %edi, %ecx
movq %rcx, -0x188(%rbp)
movq $0x0, -0x158(%rbp)
xorl %ecx, %ecx
movq $0x0, -0x150(%rbp)
xorl %eax, %eax
movq %r13, %rbx
movq %r13, -0x228(%rbp)
cmpl -0x188(%rbp), %eax
je 0x68cfb
movl %ecx, -0xc4(%rbp)
movl %eax, -0x108(%rbp)
movl %edx, -0x1b0(%rbp)
cvtsi2ss %edx, %xmm0
movss %xmm0, -0x30(%rbp)
addss 0x33adb(%rip), %xmm0    # 0x9bff8
movss %xmm0, -0x34(%rbp)
movq %r12, %rdi
xorl %esi, %esi
movq -0x238(%rbp), %rdx
callq 0xc270
movq -0xf8(%rbp), %rdi
xorl %esi, %esi
movq -0x230(%rbp), %rdx
callq 0xc270
movss -0x30(%rbp), %xmm1
leaq -0x70(%rbp), %rax
movq %rax, %rcx
movq %rcx, %rax
movq (%rcx), %rcx
testq %rcx, %rcx
je 0x68596
ucomiss 0x1c(%rcx), %xmm1
jb 0x68554
movq (%rcx), %rdx
movq %rdx, (%rax)
movss 0x14(%rcx), %xmm0
ucomiss 0x3434d(%rip), %xmm0    # 0x9c8c4
jne 0x6857f
jnp 0x69739
andl $0x0, 0x14(%rcx)
movq -0x158(%rbp), %rdx
movq %rdx, (%rcx)
movq %rcx, -0x158(%rbp)
jmp 0x68551
cmpl $0x0, -0x1e0(%rbp)
setne %al
cmpl $0x0, -0x108(%rbp)
movq %rbx, %rcx
sete %bl
andb %al, %bl
movss 0x4(%rcx), %xmm1
movss -0x34(%rbp), %xmm0
ucomiss %xmm1, %xmm0
movq %rcx, %r15
jb 0x6870b
movss 0xc(%rcx), %xmm0
ucomiss %xmm0, %xmm1
jne 0x685d5
jnp 0x686ff
movq -0x158(%rbp), %rcx
testq %rcx, %rcx
je 0x685e6
movq (%rcx), %rax
jmp 0x68649
movl -0xc4(%rbp), %edx
testl %edx, %edx
je 0x685fb
decl %edx
movq -0x150(%rbp), %rcx
jmp 0x6862c
movl $0x6408, %edi           # imm = 0x6408
callq 0x3440d
testq %rax, %rax
je 0x6971a
movq -0x150(%rbp), %rcx
movq %rcx, (%rax)
movss 0x4(%r15), %xmm1
movss 0xc(%r15), %xmm0
movl $0x31f, %edx            # imm = 0x31F
movq %rax, %rcx
movl %edx, -0xc4(%rbp)
movslq %edx, %rax
shlq $0x5, %rax
movq %rcx, -0x150(%rbp)
addq %rax, %rcx
addq $0x8, %rcx
xorl %eax, %eax
movss (%r15), %xmm2
movss 0x8(%r15), %xmm3
subss %xmm2, %xmm3
movaps %xmm0, %xmm4
subss %xmm1, %xmm4
divss %xmm4, %xmm3
movss %xmm3, 0xc(%rcx)
movss 0x33988(%rip), %xmm4    # 0x9bff8
divss %xmm3, %xmm4
movss -0x30(%rbp), %xmm6
movaps %xmm6, %xmm5
subss %xmm1, %xmm5
mulss %xmm3, %xmm5
cmpneqss 0x34237(%rip), %xmm3    # 0x9c8c4
andps %xmm4, %xmm3
movss %xmm3, 0x10(%rcx)
addss %xmm2, %xmm5
subss -0x1b4(%rbp), %xmm5
movss %xmm5, 0x8(%rcx)
movq %rcx, %rsi
xorl %ecx, %ecx
cmpl $0x0, 0x10(%r15)
sete %cl
movss (%r14,%rcx,4), %xmm2
movss %xmm2, 0x14(%rsi)
movss %xmm1, 0x18(%rsi)
movss %xmm0, 0x1c(%rsi)
movq %rsi, %rdx
andq $0x0, (%rsi)
ucomiss %xmm0, %xmm6
seta %cl
andb %bl, %cl
cmpb $0x1, %cl
jne 0x686e4
movss %xmm6, 0x1c(%rdx)
movaps %xmm6, %xmm0
ucomiss %xmm6, %xmm0
jb 0x696bd
movq -0x70(%rbp), %rcx
movq %rcx, (%rdx)
movq %rdx, -0x70(%rbp)
movq %rax, -0x158(%rbp)
movq %r15, %rcx
addq $0x14, %rcx
jmp 0x685af
movq -0x70(%rbp), %r13
testq %r13, %r13
movq %rcx, %rbx
movss -0x30(%rbp), %xmm1
je 0x68c36
testq %r13, %r13
je 0x68c36
movss 0x1c(%r13), %xmm0
ucomiss %xmm1, %xmm0
jb 0x696dc
movss 0x8(%r13), %xmm6
movss 0xc(%r13), %xmm4
ucomiss 0x34179(%rip), %xmm4    # 0x9c8c4
jne 0x68789
jp 0x68789
movss -0xc8(%rbp), %xmm0
ucomiss %xmm6, %xmm0
jbe 0x68c2a
ucomiss 0x3415d(%rip), %xmm6    # 0x9c8c4
jae 0x68a59
movq -0xf8(%rbp), %rdi
xorl %esi, %esi
movq %r13, %rdx
movaps %xmm6, %xmm0
movss -0x30(%rbp), %xmm1
movaps %xmm6, %xmm2
jmp 0x68aa2
movss 0x18(%r13), %xmm1
movss -0x34(%rbp), %xmm2
ucomiss %xmm1, %xmm2
jb 0x696fb
movaps %xmm4, %xmm8
addss %xmm6, %xmm8
movaps %xmm1, %xmm2
movss -0x30(%rbp), %xmm5
subss %xmm5, %xmm2
mulss %xmm4, %xmm2
addss %xmm6, %xmm2
cmpltss %xmm1, %xmm5
andps %xmm5, %xmm2
andnps %xmm6, %xmm5
orps %xmm2, %xmm5
ucomiss 0x340f5(%rip), %xmm5    # 0x9c8c4
jb 0x68898
movaps %xmm0, %xmm3
subss -0x30(%rbp), %xmm3
mulss %xmm4, %xmm3
addss %xmm6, %xmm3
movaps %xmm0, %xmm2
cmpltss -0x34(%rbp), %xmm2
andps %xmm2, %xmm3
andnps %xmm8, %xmm2
orps %xmm3, %xmm2
ucomiss 0x340c5(%rip), %xmm2    # 0x9c8c4
jb 0x68898
movss -0xc8(%rbp), %xmm3
ucomiss %xmm5, %xmm3
jbe 0x68898
movss -0xc8(%rbp), %xmm3
ucomiss %xmm2, %xmm3
jbe 0x68898
maxss -0x30(%rbp), %xmm1
cvttss2si %xmm5, %ecx
minss -0x34(%rbp), %xmm0
cvttss2si %xmm2, %eax
cmpl %eax, %ecx
jne 0x68ab1
testl %ecx, %ecx
js 0x69777
cmpl %ecx, -0xd8(%rbp)
jl 0x69777
cvtsi2ss %ecx, %xmm3
subss %xmm1, %xmm0
subss %xmm3, %xmm5
subss %xmm3, %xmm2
addss %xmm5, %xmm2
mulss 0x34087(%rip), %xmm2    # 0x9c8f4
addss 0x33783(%rip), %xmm2    # 0x9bff8
mulss 0x14(%r13), %xmm2
movl %ecx, %eax
mulss %xmm0, %xmm2
addss (%r12,%rax,4), %xmm2
movss %xmm2, (%r12,%rax,4)
mulss 0x14(%r13), %xmm0
jmp 0x68c12
xorl %ebx, %ebx
movss -0x30(%rbp), %xmm1
movaps %xmm6, -0x200(%rbp)
movaps %xmm8, -0xf0(%rbp)
movss %xmm4, -0x1b8(%rbp)
cmpl %ebx, -0x8c(%rbp)
je 0x68c2a
movl %ebx, %r14d
cvtsi2ss %ebx, %xmm5
leal 0x1(%r14), %ebx
cvtsi2ss %ebx, %xmm2
movaps %xmm5, %xmm7
subss %xmm6, %xmm7
divss %xmm4, %xmm7
addss %xmm1, %xmm7
movaps %xmm2, %xmm3
subss %xmm6, %xmm3
divss %xmm4, %xmm3
addss %xmm1, %xmm3
ucomiss %xmm6, %xmm5
movss %xmm7, -0x60(%rbp)
movss %xmm5, -0x40(%rbp)
jbe 0x6895f
ucomiss %xmm2, %xmm8
jbe 0x6895f
movq %r12, %rdi
movl %r14d, %esi
movq %r13, %rdx
movaps %xmm6, %xmm0
movss %xmm2, -0x2c(%rbp)
movaps %xmm5, %xmm2
movss %xmm3, -0x38(%rbp)
movaps %xmm7, %xmm3
callq 0x6ecda
movq %r12, %rdi
movl %r14d, %esi
movq %r13, %rdx
movss -0x40(%rbp), %xmm0
movss -0x60(%rbp), %xmm1
movss -0x2c(%rbp), %xmm2
movss -0x38(%rbp), %xmm3
callq 0x6ecda
movq %r12, %rdi
movl %r14d, %esi
movq %r13, %rdx
movss -0x2c(%rbp), %xmm0
movss -0x38(%rbp), %xmm1
jmp 0x689e4
ucomiss %xmm8, %xmm5
jbe 0x689a4
ucomiss %xmm2, %xmm6
jbe 0x689a4
movq %r12, %rdi
movl %r14d, %esi
movq %r13, %rdx
movaps %xmm6, %xmm0
movss %xmm2, -0x2c(%rbp)
movss %xmm3, -0x38(%rbp)
callq 0x6ecda
movq %r12, %rdi
movl %r14d, %esi
movq %r13, %rdx
movss -0x2c(%rbp), %xmm0
movss -0x38(%rbp), %xmm1
movss -0x40(%rbp), %xmm2
movss -0x60(%rbp), %xmm3
jmp 0x689cc
ucomiss %xmm6, %xmm5
jbe 0x689af
ucomiss %xmm5, %xmm8
ja 0x689ba
ucomiss %xmm8, %xmm5
jbe 0x68a16
ucomiss %xmm5, %xmm6
jbe 0x68a16
movq %r12, %rdi
movl %r14d, %esi
movq %r13, %rdx
movaps %xmm6, %xmm0
movaps %xmm5, %xmm2
movaps %xmm7, %xmm3
callq 0x6ecda
movq %r12, %rdi
movl %r14d, %esi
movq %r13, %rdx
movss -0x40(%rbp), %xmm0
movss -0x60(%rbp), %xmm1
movaps -0xf0(%rbp), %xmm2
movss -0x34(%rbp), %xmm3
callq 0x6ecda
movss -0x30(%rbp), %xmm1
movaps -0x200(%rbp), %xmm6
movaps -0xf0(%rbp), %xmm8
movss -0x1b8(%rbp), %xmm4
jmp 0x688b6
ucomiss %xmm6, %xmm2
jbe 0x68a21
ucomiss %xmm2, %xmm8
ja 0x68a2c
ucomiss %xmm8, %xmm2
jbe 0x68a47
ucomiss %xmm2, %xmm6
jbe 0x68a47
movq %r12, %rdi
movl %r14d, %esi
movq %r13, %rdx
movaps %xmm6, %xmm0
movss %xmm2, -0x2c(%rbp)
movss %xmm3, -0x38(%rbp)
jmp 0x68942
movq %r12, %rdi
movl %r14d, %esi
movq %r13, %rdx
movaps %xmm6, %xmm0
movaps %xmm8, %xmm2
jmp 0x689eb
cvttss2si %xmm6, %r14d
movq %r12, %rdi
movl %r14d, %esi
movq %r13, %rdx
movaps %xmm6, %xmm0
movss -0x30(%rbp), %xmm1
movaps %xmm6, %xmm2
movss -0x34(%rbp), %xmm3
movaps %xmm6, -0x200(%rbp)
callq 0x6ecda
incl %r14d
movq -0xf8(%rbp), %rdi
movl %r14d, %esi
movq %r13, %rdx
movaps -0x200(%rbp), %xmm0
movss -0x30(%rbp), %xmm1
movaps %xmm0, %xmm2
movss -0x34(%rbp), %xmm3
callq 0x6ecda
jmp 0x68c25
movss 0x10(%r13), %xmm3
ucomiss %xmm2, %xmm5
jbe 0x68aed
movss -0x30(%rbp), %xmm6
movaps %xmm6, %xmm4
subss %xmm1, %xmm4
movss -0x34(%rbp), %xmm7
addss %xmm7, %xmm4
movaps %xmm6, %xmm1
subss %xmm0, %xmm1
addss %xmm7, %xmm1
xorps 0x334fd(%rip), %xmm3    # 0x9bfe0
movl %ecx, %edx
movaps %xmm4, %xmm0
movaps %xmm5, %xmm4
jmp 0x68b00
movl %eax, %edx
movl %ecx, %eax
movaps %xmm2, %xmm4
movaps %xmm5, %xmm2
movaps %xmm6, %xmm8
movss -0x30(%rbp), %xmm6
leal 0x1(%rax), %ecx
cvtsi2ss %ecx, %xmm7
subss %xmm8, %xmm7
mulss %xmm3, %xmm7
addss %xmm6, %xmm7
movss 0x14(%r13), %xmm5
movaps %xmm7, %xmm6
subss %xmm1, %xmm6
mulss %xmm5, %xmm6
cvtsi2ss %eax, %xmm8
subss %xmm8, %xmm2
movss 0x334c0(%rip), %xmm8    # 0x9bff8
addss %xmm8, %xmm2
movss 0x334d2(%rip), %xmm9    # 0x9c018
mulss %xmm9, %xmm2
subss %xmm2, %xmm8
cltq
mulss %xmm6, %xmm8
addss (%r12,%rax,4), %xmm8
movss %xmm8, (%r12,%rax,4)
movaps %xmm3, %xmm2
mulss %xmm5, %xmm2
movaps %xmm2, %xmm8
mulss %xmm9, %xmm8
movslq %ecx, %rsi
movslq %edx, %rax
cmpq %rax, %rsi
jge 0x68b9c
movaps %xmm8, %xmm9
addss %xmm6, %xmm9
addss (%r12,%rsi,4), %xmm9
movss %xmm9, (%r12,%rsi,4)
addss %xmm2, %xmm6
incq %rsi
jmp 0x68b79
movaps %xmm6, %xmm2
andps 0x33c4a(%rip), %xmm2    # 0x9c7f0
movss 0x450e5(%rip), %xmm8    # 0xadc94
ucomiss %xmm2, %xmm8
jb 0x69758
cvtsi2ss %eax, %xmm2
movl %eax, %edx
subl %ecx, %edx
cvtsi2ss %edx, %xmm8
mulss %xmm8, %xmm3
addss %xmm7, %xmm3
subss %xmm2, %xmm4
addss 0x33ce9(%rip), %xmm4    # 0x9c8c4
mulss 0x33d11(%rip), %xmm4    # 0x9c8f4
addss 0x3340d(%rip), %xmm4    # 0x9bff8
mulss %xmm5, %xmm4
movaps %xmm0, %xmm2
subss %xmm3, %xmm2
mulss %xmm4, %xmm2
addss %xmm6, %xmm2
addss (%r12,%rax,4), %xmm2
movss %xmm2, (%r12,%rax,4)
subss %xmm1, %xmm0
mulss %xmm5, %xmm0
movq -0xf8(%rbp), %rcx
addss 0x4(%rcx,%rax,4), %xmm0
movss %xmm0, 0x4(%rcx,%rax,4)
movss -0x30(%rbp), %xmm1
movq (%r13), %r13
movq %r15, %rbx
jmp 0x68720
xorps %xmm0, %xmm0
movq -0x220(%rbp), %rax
movq %r12, %rcx
movq -0x198(%rbp), %rdx
movl $0xff, %edi
leaq 0x344fe(%rip), %r14     # 0x9d154
movq -0x190(%rbp), %r8
movq -0x228(%rbp), %r13
subq $0x1, %rax
jb 0x68cad
movq -0x250(%rbp), %rsi
addss (%rcx,%rsi,4), %xmm0
movss (%rcx), %xmm1
addss %xmm0, %xmm1
andps 0x33b6b(%rip), %xmm1    # 0x9c7f0
mulss 0x33be7(%rip), %xmm1    # 0x9c874
addss 0x33383(%rip), %xmm1    # 0x9c018
cvttss2si %xmm1, %esi
cmpl %edi, %esi
cmovgel %edi, %esi
movslq %edx, %rdx
movb %sil, (%r8,%rdx)
incl %edx
addq $0x4, %rcx
jmp 0x68c64
leaq -0x70(%rbp), %rax
movl -0x1b0(%rbp), %edx
movq (%rax), %rax
testq %rax, %rax
je 0x68cd0
movss 0xc(%rax), %xmm0
addss 0x8(%rax), %xmm0
movss %xmm0, 0x8(%rax)
jmp 0x68cb7
incl %edx
movl -0x108(%rbp), %ecx
incl %ecx
movq -0x198(%rbp), %rax
addl -0xbc(%rbp), %eax
movq %rax, -0x198(%rbp)
movl %ecx, %eax
movl -0xc4(%rbp), %ecx
jmp 0x684ee
movq -0xb0(%rbp), %r15
movq -0x150(%rbp), %rdi
testq %rdi, %rdi
je 0x68d1b
movq (%rdi), %rbx
callq 0x344ad
movq %rbx, %rdi
jmp 0x68d09
leaq -0x4a0(%rbp), %rax
cmpq %rax, %r12
je 0x68d2f
movq %r12, %rdi
callq 0x344ad
movq %r13, %rdi
callq 0x344ad
movq -0xa8(%rbp), %rdi
callq 0x344ad
movq %r15, %rdi
callq 0x344ad
movq -0xb8(%rbp), %rdi
callq 0x344ad
movq -0x148(%rbp), %rax
movzwl 0x8(%rax), %esi
movzwl 0xa(%rax), %edx
movzwl 0x4(%rax), %ecx
movzwl 0x6(%rax), %eax
movq -0x48(%rbp), %rdi
cmpb $0x2, %dil
jb 0x68fa7
movzwl %si, %esi
movzwl %dx, %edx
movzwl %cx, %ebx
movzwl %ax, %eax
movl %eax, -0x2c(%rbp)
movq -0x178(%rbp), %rax
leaq (%rax,%rsi), %r12
imull -0xbc(%rbp), %edx
movslq %edx, %r8
addq %r8, %r12
movl %ebx, %eax
subl %edi, %eax
andq $0x0, -0x4a0(%rbp)
testl %eax, %eax
pushq $-0x1
popq %rcx
cmovsl %ecx, %eax
cltq
leaq 0x1(%rax), %r14
addq %rsi, %r8
addq %rax, %r8
addq -0x218(%rbp), %r8
xorl %eax, %eax
movq -0x180(%rbp), %r15
cmpl -0x2c(%rbp), %eax
je 0x68fb0
movl %eax, -0x40(%rbp)
movq %r8, -0x60(%rbp)
leaq -0x4a0(%rbp), %rdi
xorl %esi, %esi
movq -0x48(%rbp), %r13
movq %r13, %rdx
callq 0xc270
leal -0x2(%r13), %eax
cmpl $0x3, %eax
ja 0x68f1e
leaq 0x44ec4(%rip), %rcx     # 0xadcd0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
xorl %eax, %eax
xorl %ecx, %ecx
movq -0x60(%rbp), %r8
cmpq %rax, %r14
je 0x68f63
movzbl (%r12,%rax), %edx
movl %eax, %esi
andl $0x7, %esi
movzbl -0x4a0(%rbp,%rsi), %esi
leal 0x2(%rax), %edi
andl $0x7, %edi
movb %dl, -0x4a0(%rbp,%rdi)
subl %esi, %edx
addl %edx, %ecx
movl %ecx, %edx
shrl %edx
movb %dl, (%r12,%rax)
incq %rax
jmp 0x68e1d
xorl %eax, %eax
xorl %ecx, %ecx
movq -0x60(%rbp), %r8
cmpq %rax, %r14
je 0x68f63
movzbl (%r12,%rax), %edx
movl %eax, %esi
andl $0x7, %esi
movzbl -0x4a0(%rbp,%rsi), %edi
xorq $0x4, %rsi
movb %dl, -0x4a0(%rbp,%rsi)
subl %edi, %edx
addl %edx, %ecx
movl %ecx, %edx
shrl $0x2, %edx
movb %dl, (%r12,%rax)
incq %rax
jmp 0x68e5e
xorl %esi, %esi
xorl %ecx, %ecx
movq -0x60(%rbp), %r8
cmpq %rsi, %r14
je 0x68f63
movzbl (%r12,%rsi), %eax
movl %esi, %edx
andl $0x7, %edx
movzbl -0x4a0(%rbp,%rdx), %edx
leal 0x5(%rsi), %edi
andl $0x7, %edi
movb %al, -0x4a0(%rbp,%rdi)
subl %edx, %eax
addl %eax, %ecx
movl %ecx, %eax
xorl %edx, %edx
pushq $0x5
popq %rdi
divl %edi
movb %al, (%r12,%rsi)
incq %rsi
jmp 0x68e9e
xorl %esi, %esi
xorl %ecx, %ecx
movq -0x60(%rbp), %r8
cmpq %rsi, %r14
je 0x68f63
movzbl (%r12,%rsi), %eax
movl %esi, %edx
andl $0x7, %edx
movzbl -0x4a0(%rbp,%rdx), %edx
leal 0x3(%rsi), %edi
andl $0x7, %edi
movb %al, -0x4a0(%rbp,%rdi)
subl %edx, %eax
addl %eax, %ecx
movl %ecx, %eax
xorl %edx, %edx
pushq $0x3
popq %rdi
divl %edi
movb %al, (%r12,%rsi)
incq %rsi
jmp 0x68ee4
xorl %esi, %esi
xorl %ecx, %ecx
cmpq %rsi, %r14
je 0x68f5f
movzbl (%r12,%rsi), %eax
movq -0x48(%rbp), %r8
leal (%r8,%rsi), %edx
movl %esi, %edi
andl $0x7, %edi
movzbl -0x4a0(%rbp,%rdi), %edi
andl $0x7, %edx
movb %al, -0x4a0(%rbp,%rdx)
subl %edi, %eax
addl %eax, %ecx
movl %ecx, %eax
xorl %edx, %edx
divl %r8d
movb %al, (%r12,%rsi)
incq %rsi
jmp 0x68f22
movq -0x60(%rbp), %r8
movq %r8, %rsi
movq %r14, %rdi
cmpq %rbx, %rdi
jae 0x68f97
cmpb $0x0, (%rsi)
jne 0x693b5
movl %edi, %eax
andl $0x7, %eax
movzbl -0x4a0(%rbp,%rax), %eax
subl %eax, %ecx
movl %ecx, %eax
xorl %edx, %edx
divl -0x48(%rbp)
movb %al, (%rsi)
incq %rdi
incq %rsi
jmp 0x68f69
addq %r15, %r12
movl -0x40(%rbp), %eax
incl %eax
addq %r15, %r8
jmp 0x68dd3
movq -0x180(%rbp), %r15
jmp 0x68fc7
movq -0x148(%rbp), %rax
movzwl 0x8(%rax), %esi
movzwl 0xa(%rax), %edx
movzwl 0x4(%rax), %ecx
movzwl 0x6(%rax), %eax
movq -0x80(%rbp), %r8
cmpb $0x2, %r8b
jb 0x69236
movzwl %si, %esi
movq -0x178(%rbp), %rdi
leaq (%rdi,%rsi), %r14
movzwl %dx, %edx
imull %r15d, %edx
movslq %edx, %r9
addq %r9, %r14
movzwl %cx, %ecx
movl %ecx, -0x2c(%rbp)
movzwl %ax, %r13d
movl %r13d, %eax
andq $0x0, -0x4a0(%rbp)
subl %r8d, %eax
testl %eax, %eax
pushq $-0x1
popq %rcx
cmovsl %ecx, %eax
movslq %eax, %r12
incq %r12
movq %r15, %rax
imulq %r12, %rax
addq %rsi, %r9
addq %rdi, %r9
addq %rax, %r9
xorl %eax, %eax
cmpl -0x2c(%rbp), %eax
je 0x6921f
movl %eax, -0x40(%rbp)
movq %r9, -0x60(%rbp)
leaq -0x4a0(%rbp), %rdi
xorl %esi, %esi
movq -0x80(%rbp), %rbx
movq %rbx, %rdx
callq 0xc270
leal -0x2(%rbx), %eax
cmpl $0x3, %eax
ja 0x69190
leaq 0x44c80(%rip), %rcx     # 0xadce0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
xorl %eax, %eax
movq %r14, %rdx
xorl %ecx, %ecx
movq -0x60(%rbp), %r9
cmpq %rax, %r12
je 0x691db
movzbl (%rdx), %esi
movl %eax, %edi
andl $0x7, %edi
movzbl -0x4a0(%rbp,%rdi), %edi
leal 0x2(%rax), %r8d
andl $0x7, %r8d
movb %sil, -0x4a0(%rbp,%r8)
subl %edi, %esi
addl %esi, %ecx
movl %ecx, %esi
shrl %esi
movb %sil, (%rdx)
incq %rax
addq %r15, %rdx
jmp 0x69074
xorl %eax, %eax
movq %r14, %rdx
xorl %ecx, %ecx
movq -0x60(%rbp), %r9
cmpq %rax, %r12
je 0x691db
movzbl (%rdx), %esi
movl %eax, %edi
andl $0x7, %edi
movzbl -0x4a0(%rbp,%rdi), %r8d
xorq $0x4, %rdi
movb %sil, -0x4a0(%rbp,%rdi)
subl %r8d, %esi
addl %esi, %ecx
movl %ecx, %esi
shrl $0x2, %esi
movb %sil, (%rdx)
incq %rax
addq %r15, %rdx
jmp 0x690bb
xorl %esi, %esi
movq %r14, %rdi
xorl %ecx, %ecx
movq -0x60(%rbp), %r9
cmpq %rsi, %r12
je 0x691db
movzbl (%rdi), %eax
movl %esi, %edx
andl $0x7, %edx
movzbl -0x4a0(%rbp,%rdx), %edx
leal 0x5(%rsi), %r8d
andl $0x7, %r8d
movb %al, -0x4a0(%rbp,%r8)
subl %edx, %eax
addl %eax, %ecx
movl %ecx, %eax
xorl %edx, %edx
pushq $0x5
popq %r8
divl %r8d
movb %al, (%rdi)
incq %rsi
addq %r15, %rdi
jmp 0x69101
xorl %esi, %esi
movq %r14, %rdi
xorl %ecx, %ecx
movq -0x60(%rbp), %r9
cmpq %rsi, %r12
je 0x691db
movzbl (%rdi), %eax
movl %esi, %edx
andl $0x7, %edx
movzbl -0x4a0(%rbp,%rdx), %edx
leal 0x3(%rsi), %r8d
andl $0x7, %r8d
movb %al, -0x4a0(%rbp,%r8)
subl %edx, %eax
addl %eax, %ecx
movl %ecx, %eax
xorl %edx, %edx
pushq $0x3
popq %r8
divl %r8d
movb %al, (%rdi)
incq %rsi
addq %r15, %rdi
jmp 0x6914e
xorl %esi, %esi
movq %r14, %rdi
xorl %ecx, %ecx
cmpq %rsi, %r12
je 0x691d7
movzbl (%rdi), %eax
movq -0x80(%rbp), %r9
leal (%r9,%rsi), %edx
movl %esi, %r8d
andl $0x7, %r8d
movzbl -0x4a0(%rbp,%r8), %r8d
andl $0x7, %edx
movb %al, -0x4a0(%rbp,%rdx)
subl %r8d, %eax
addl %eax, %ecx
movl %ecx, %eax
xorl %edx, %edx
divl %r9d
movb %al, (%rdi)
incq %rsi
addq %r15, %rdi
jmp 0x69197
movq -0x60(%rbp), %r9
movq %r9, %rsi
movq %r12, %rdi
cmpq %r13, %rdi
jae 0x6920f
cmpb $0x0, (%rsi)
jne 0x693d4
movl %edi, %eax
andl $0x7, %eax
movzbl -0x4a0(%rbp,%rax), %eax
subl %eax, %ecx
movl %ecx, %eax
xorl %edx, %edx
divl -0x80(%rbp)
movb %al, (%rsi)
incq %rdi
addq %r15, %rsi
jmp 0x691e1
incq %r14
movl -0x40(%rbp), %eax
incl %eax
incq %r9
jmp 0x69028
movq -0x148(%rbp), %rax
movzwl 0x8(%rax), %esi
movzwl 0xa(%rax), %edx
movzwl 0x4(%rax), %ecx
movzwl 0x6(%rax), %eax
movq -0x88(%rbp), %r13
movq -0x140(%rbp), %r12
movq -0x1d8(%rbp), %rbx
movq -0x1e8(%rbp), %r14
movl -0x1ac(%rbp), %r8d
shll $0x8, %r8d
addl -0x1a8(%rbp), %r8d
movq -0x240(%rbp), %rdi
movw %si, (%rdi)
movw %dx, 0x2(%rdi)
addl %ecx, %esi
movw %si, 0x4(%rdi)
movswl %r8w, %esi
cvtsi2ss %esi, %xmm0
leal (%rax,%rdx), %edx
movw %dx, 0x6(%rdi)
mulss -0x270(%rbp), %xmm0
movss %xmm0, 0x10(%rdi)
movl -0x1c0(%rbp), %edx
cvtsi2ss %edx, %xmm0
movss -0x1a4(%rbp), %xmm4
mulss %xmm4, %xmm0
movss -0x100(%rbp), %xmm3
addss %xmm3, %xmm0
movss %xmm0, 0x8(%rdi)
movl -0x1bc(%rbp), %esi
cvtsi2ss %esi, %xmm0
movss -0x1a0(%rbp), %xmm5
mulss %xmm5, %xmm0
movss -0x104(%rbp), %xmm2
addss %xmm2, %xmm0
movzwl %cx, %ecx
addl %edx, %ecx
cvtsi2ss %ecx, %xmm1
movss %xmm0, 0xc(%rdi)
mulss %xmm4, %xmm1
addss %xmm3, %xmm1
movzwl %ax, %eax
addl %esi, %eax
cvtsi2ss %eax, %xmm0
movss %xmm1, 0x14(%rdi)
mulss %xmm5, %xmm0
addss %xmm2, %xmm0
movss %xmm0, 0x18(%rdi)
movq -0x1f0(%rbp), %r15
movq -0x248(%rbp), %rcx
incq %r14
incq %rcx
jmp 0x67d22
xorl %eax, %eax
jmp 0x67be0
movq -0x208(%rbp), %rax
movss 0x50(%rax), %xmm0
ucomiss 0x32cb7(%rip), %xmm0    # 0x9bff8
jne 0x69345
jnp 0x6939f
leaq -0x4a0(%rbp), %rdi
callq 0x6988d
movq 0xc8(%r15), %rbx
addq $0xc, %rbx
xorl %r14d, %r14d
cmpl 0xe8(%r15), %r14d
jge 0x6939f
cmpl $0x0, (%rbx)
je 0x69396
movq 0x18(%r13), %rsi
movzwl -0x4(%rbx), %edx
movzwl -0x2(%rbx), %ecx
movzwl -0x8(%rbx), %r8d
movzwl -0x6(%rbx), %r9d
movl 0x28(%r13), %eax
movl %eax, (%rsp)
leaq -0x4a0(%rbp), %rdi
callq 0x698c0
incl %r14d
addq $0x10, %rbx
jmp 0x6935f
andq $0x0, 0xc8(%r15)
movq -0x210(%rbp), %rbx
incl %ebx
jmp 0x67b80
leaq 0x4c520(%rip), %rdi     # 0xb58dc
leaq 0x4be5f(%rip), %rsi     # 0xb5222
leaq 0x4c521(%rip), %rcx     # 0xb58eb
movl $0xf41, %edx            # imm = 0xF41
callq 0xc140
leaq 0x4c556(%rip), %rdi     # 0xb5931
leaq 0x4be40(%rip), %rsi     # 0xb5222
leaq 0x4c567(%rip), %rcx     # 0xb5950
movl $0xf7f, %edx            # imm = 0xF7F
callq 0xc140
movq %r12, %rdi
callq 0x344ad
movq -0x1d0(%rbp), %rdi
callq 0x344ad
leaq -0x120(%rbp), %rdi
callq 0x6fad0
xorl %esi, %esi
movl -0xa0(%rbp), %eax
cmpl %eax, %esi
jge 0x69632
leaq -0xa0(%rbp), %rdi
movq %rsi, -0x40(%rbp)
callq 0x6f8a0
cmpl $0x0, 0xe8(%rax)
je 0x69627
movq %rax, %r15
movq -0x138(%rbp), %rdi
movq -0x40(%rbp), %rsi
callq 0x6f64e
movq %rax, %r14
movq 0x80(%rax), %rbx
movss 0x14(%rax), %xmm0
movq %r15, %rdi
callq 0x69c5b
movq 0x8(%r15), %rcx
movslq 0x24(%r15), %rdx
movzwl 0x4(%rcx,%rdx), %eax
rolw $0x8, %ax
movss 0x32b6d(%rip), %xmm1    # 0x9bff0
testw %ax, %ax
jle 0x69490
movss 0x32b68(%rip), %xmm1    # 0x9bff8
movzwl 0x6(%rcx,%rdx), %ecx
rolw $0x8, %cx
movss 0x32b4f(%rip), %xmm3    # 0x9bff0
testw %cx, %cx
movq -0x88(%rbp), %rdi
jle 0x694b5
movss 0x32b43(%rip), %xmm3    # 0x9bff8
cwtl
cvtsi2ss %eax, %xmm2
mulss %xmm0, %xmm2
addss %xmm1, %xmm2
cvttps2dq %xmm2, %xmm1
cvtdq2ps %xmm1, %xmm2
movswl %cx, %eax
cvtsi2ss %eax, %xmm1
mulss %xmm0, %xmm1
addss %xmm3, %xmm1
cvttps2dq %xmm1, %xmm0
cvtdq2ps %xmm0, %xmm1
movq %rbx, %rsi
movq %r14, %rdx
movaps %xmm2, %xmm0
callq 0x6a469
movss 0x2c(%r14), %xmm0
movss %xmm0, -0x80(%rbp)
movq %rbx, -0x48(%rbp)
movss 0x5c(%rbx), %xmm0
addss 0x32b0f(%rip), %xmm0    # 0x9c018
cvttps2dq %xmm0, %xmm0
cvtdq2ps %xmm0, %xmm0
movq %r14, %r12
addss 0x30(%r14), %xmm0
movaps %xmm0, -0x60(%rbp)
movq %r15, %r14
addq $0x100, %r14            # imm = 0x100
xorl %r13d, %r13d
xorl %ebx, %ebx
movslq 0xe8(%r15), %rax
cmpq %rax, %rbx
jge 0x69627
movq %r14, %rdi
movl %ebx, %esi
callq 0x5f5fe
movzwl (%rax), %edx
movq 0xd0(%r15), %rax
movss 0x8(%rax,%r13), %xmm0
xorps %xmm9, %xmm9
addss %xmm9, %xmm0
movss 0xc(%rax,%r13), %xmm1
addss %xmm9, %xmm1
movss 0x14(%rax,%r13), %xmm2
addss %xmm9, %xmm2
movss 0x18(%rax,%r13), %xmm3
movq -0x88(%rbp), %rcx
cvtsi2ssl 0x2c(%rcx), %xmm4
movss 0x32a65(%rip), %xmm7    # 0x9bff8
movaps %xmm7, %xmm8
divss %xmm4, %xmm8
cvtsi2ssl 0x28(%rcx), %xmm5
movzwl (%rax,%r13), %ecx
cvtsi2ss %ecx, %xmm4
divss %xmm5, %xmm7
mulss %xmm7, %xmm4
movzwl 0x2(%rax,%r13), %ecx
cvtsi2ss %ecx, %xmm5
movzwl 0x4(%rax,%r13), %ecx
cvtsi2ss %ecx, %xmm6
mulss %xmm7, %xmm6
movzwl 0x6(%rax,%r13), %ecx
cvtsi2ss %ecx, %xmm7
addss %xmm9, %xmm3
mulss %xmm8, %xmm5
mulss %xmm8, %xmm7
movss -0x80(%rbp), %xmm8
addss %xmm8, %xmm0
movaps -0x60(%rbp), %xmm9
addss %xmm9, %xmm1
addss %xmm8, %xmm2
addss %xmm9, %xmm3
movss 0x10(%rax,%r13), %xmm8
movss %xmm8, (%rsp)
movq -0x48(%rbp), %rdi
movq %r12, %rsi
callq 0x6a4d6
incq %rbx
addq $0x1c, %r13
jmp 0x6952c
movq -0x40(%rbp), %rsi
incl %esi
jmp 0x69415
xorl %ebx, %ebx
leaq -0xa0(%rbp), %r14
movq -0x88(%rbp), %r15
cmpl %eax, %ebx
jge 0x69662
movq %r14, %rdi
movl %ebx, %esi
callq 0x6f8a0
movq %rax, %rdi
callq 0x6faf8
incl %ebx
movl -0xa0(%rbp), %eax
jmp 0x69642
movq %r15, %rdi
callq 0x6a671
leaq -0x170(%rbp), %rdi
callq 0x6fb22
leaq -0x120(%rbp), %rdi
callq 0x6fb3e
movl -0x19c(%rbp), %eax
cmpl %eax, -0xfc(%rbp)
setge %bl
leaq -0x130(%rbp), %rdi
callq 0x6fb5a
leaq -0xa0(%rbp), %rdi
callq 0x6fb76
movl %ebx, %eax
addq $0x488, %rsp            # imm = 0x488
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4c040(%rip), %rdi     # 0xb5704
leaq 0x4bb57(%rip), %rsi     # 0xb5222
leaq 0x4bfd3(%rip), %rcx     # 0xb56a5
movl $0xc76, %edx            # imm = 0xC76
callq 0xc140
leaq 0x4c105(%rip), %rdi     # 0xb57e8
leaq 0x4bb38(%rip), %rsi     # 0xb5222
leaq 0x4c08c(%rip), %rcx     # 0xb577d
movl $0xba5, %edx            # imm = 0xBA5
callq 0xc140
leaq 0x4c0d1(%rip), %rdi     # 0xb57d3
leaq 0x4bb19(%rip), %rsi     # 0xb5222
leaq 0x4c06d(%rip), %rcx     # 0xb577d
movl $0xbb8, %edx            # imm = 0xBB8
callq 0xc140
leaq 0x4bff7(%rip), %rdi     # 0xb5718
leaq 0x4bafa(%rip), %rsi     # 0xb5222
leaq 0x4bff5(%rip), %rcx     # 0xb5724
movl $0xad1, %edx            # imm = 0xAD1
callq 0xc140
leaq 0x4bf58(%rip), %rdi     # 0xb5698
leaq 0x4badb(%rip), %rsi     # 0xb5222
leaq 0x4bf57(%rip), %rcx     # 0xb56a5
movl $0xc63, %edx            # imm = 0xC63
callq 0xc140
leaq 0x4c0aa(%rip), %rdi     # 0xb5809
leaq 0x4babc(%rip), %rsi     # 0xb5222
leaq 0x4c010(%rip), %rcx     # 0xb577d
movl $0xbfb, %edx            # imm = 0xBFB
callq 0xc140
leaq 0x4c079(%rip), %rdi     # 0xb57f7
leaq 0x4ba9d(%rip), %rsi     # 0xb5222
leaq 0x4bff1(%rip), %rcx     # 0xb577d
movl $0xbd4, %edx            # imm = 0xBD4
callq 0xc140
leaq 0x4b65a(%rip), %rdi     # 0xb4df7
leaq 0x4ad32(%rip), %rsi     # 0xb44d6
leaq 0x4b538(%rip), %rcx     # 0xb4ce3
movl $0x8e3, %edx            # imm = 0x8E3
callq 0xc140
leaq 0x4b55b(%rip), %rdi     # 0xb4d17
leaq 0x4ad13(%rip), %rsi     # 0xb44d6
leaq 0x4b519(%rip), %rcx     # 0xb4ce3
movl $0x877, %edx            # imm = 0x877
callq 0xc140
leaq 0x4b58e(%rip), %rdi     # 0xb4d69
leaq 0x4acf4(%rip), %rsi     # 0xb44d6
leaq 0x4b4fa(%rip), %rcx     # 0xb4ce3
movl $0x880, %edx            # imm = 0x880
callq 0xc140
leaq 0x4b4ce(%rip), %rdi     # 0xb4cc8
leaq 0x4acd5(%rip), %rsi     # 0xb44d6
leaq 0x4b4db(%rip), %rcx     # 0xb4ce3
movl $0x85f, %edx            # imm = 0x85F
callq 0xc140
leaq 0x4bc31(%rip), %rdi     # 0xb544a
leaq 0x4bc4e(%rip), %rsi     # 0xb546e
leaq 0x4bc66(%rip), %rcx     # 0xb548d
movl $0x10a, %edx            # imm = 0x10A
callq 0xc140
jmp 0x6986a
jmp 0x6984b
jmp 0x6984b
jmp 0x6984b
jmp 0x6986a
jmp 0x6984b
jmp 0x6986a
jmp 0x6986a
jmp 0x6986a
jmp 0x6984b
jmp 0x6984b
jmp 0x6984b
jmp 0x6984b
movq %rax, %rbx
leaq -0x170(%rbp), %rdi
callq 0x6fb22
leaq -0x120(%rbp), %rdi
callq 0x6fb3e
jmp 0x6986d
jmp 0x6986a
movq %rax, %rbx
leaq -0x130(%rbp), %rdi
callq 0x6fb5a
leaq -0xa0(%rbp), %rdi
callq 0x6fb76
movq %rbx, %rdi
callq 0xc580