// File: /workspace/github_cpp_makefile_star2_O1/donqustix[P]SoftwareRenderer/src/main.cpp
// Function: (anonymous namespace)::render_triangle(SDL_Surface*, (anonymous namespace)::Vertex const&, (anonymous namespace)::Vertex const&, (anonymous namespace)::Vertex const&, (anonymous namespace)::Matrix<float> const&)
void render_triangle(SDL_Surface* surface, const Vertex& vert1, const Vertex& vert2,
                                                                    const Vertex& vert3, const mat4f& matrix) noexcept
    {
        const vec4f virtual_pos1 = matrix * vert1.position, virtual_pos2 = matrix * vert2.position,
                    virtual_pos3 = matrix * vert3.position;

        if (::check_virtual_position(virtual_pos1) ||
            ::check_virtual_position(virtual_pos2) || ::check_virtual_position(virtual_pos3)) return;

        const auto screenspace_matrix = mat4f::create_screenspace(surface->w, surface->h);

        const auto screenspace_pos1 = screenspace_matrix * virtual_pos1,
                   screenspace_pos2 = screenspace_matrix * virtual_pos2,
                   screenspace_pos3 = screenspace_matrix * virtual_pos3;

        ::rasterize_triangle(surface, {screenspace_pos1 / screenspace_pos1.get_w(), vert1.color},
                                      {screenspace_pos2 / screenspace_pos2.get_w(), vert2.color},
                                      {screenspace_pos3 / screenspace_pos3.get_w(), vert3.color});
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x368, %rsp            # imm = 0x368
movq %r8, %r13
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movq %r8, %rdi
callq 0x46a5
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, -0x1e0(%rbp)
movq %r13, %rdi
movq %r15, %rsi
callq 0x46a5
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, -0x1d0(%rbp)
movq %r13, %rdi
movq %r14, %rsi
callq 0x46a5
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, -0x1c0(%rbp)
movss -0x1e0(%rbp), %xmm2
movss -0x1d4(%rbp), %xmm0
movaps 0x1c4b(%rip), %xmm1     # 0x50e0
xorps %xmm0, %xmm1
ucomiss %xmm2, %xmm1
ja 0x4469
ucomiss %xmm0, %xmm2
ja 0x4469
movss -0x1dc(%rbp), %xmm2
ucomiss %xmm2, %xmm1
ja 0x4469
ucomiss %xmm0, %xmm2
ja 0x4469
movss -0x1d8(%rbp), %xmm2
ucomiss %xmm2, %xmm1
ja 0x4469
ucomiss %xmm0, %xmm2
ja 0x4469
movss -0x1d0(%rbp), %xmm2
movss -0x1c4(%rbp), %xmm0
movaps 0x1beb(%rip), %xmm1     # 0x50e0
xorps %xmm0, %xmm1
ucomiss %xmm2, %xmm1
ja 0x4469
ucomiss %xmm0, %xmm2
ja 0x4469
movss -0x1cc(%rbp), %xmm2
ucomiss %xmm2, %xmm1
ja 0x4469
ucomiss %xmm0, %xmm2
ja 0x4469
movss -0x1c8(%rbp), %xmm2
ucomiss %xmm2, %xmm1
ja 0x4469
ucomiss %xmm0, %xmm2
ja 0x4469
movss -0x1c0(%rbp), %xmm2
movss -0x1b4(%rbp), %xmm0
movaps 0x1b8b(%rip), %xmm1     # 0x50e0
xorps %xmm0, %xmm1
ucomiss %xmm2, %xmm1
ja 0x4469
ucomiss %xmm0, %xmm2
ja 0x4469
movss -0x1bc(%rbp), %xmm2
ucomiss %xmm2, %xmm1
ja 0x4469
ucomiss %xmm0, %xmm2
ja 0x4469
movss -0x1b8(%rbp), %xmm2
ucomiss %xmm2, %xmm1
ja 0x4469
ucomiss %xmm0, %xmm2
ja 0x4469
xorps %xmm0, %xmm0
cvtsi2ssl 0x10(%rbx), %xmm0
movl 0x14(%rbx), %eax
movl %eax, -0xc0(%rbp)
xorps %xmm1, %xmm1
cvtsi2ss %eax, %xmm1
movss 0x1b32(%rip), %xmm2     # 0x50f0
mulss %xmm2, %xmm0
mulss %xmm2, %xmm1
movaps 0x1b13(%rip), %xmm2     # 0x50e0
xorps %xmm1, %xmm2
xorps %xmm3, %xmm3
leaq -0x390(%rbp), %r13
movaps %xmm3, (%r13)
movaps %xmm3, 0x10(%r13)
movaps %xmm3, 0x20(%r13)
movaps %xmm3, 0x30(%r13)
movss %xmm0, (%r13)
xorl %eax, %eax
movq %rax, 0x4(%r13)
movss %xmm0, 0xc(%r13)
movl %eax, 0x10(%r13)
movss %xmm2, 0x14(%r13)
movl %eax, 0x18(%r13)
movss %xmm1, 0x1c(%r13)
movq %rax, 0x20(%r13)
movl $0x3f800000, %eax       # imm = 0x3F800000
movl %eax, 0x28(%r13)
movups %xmm3, 0x2c(%r13)
movl %eax, 0x3c(%r13)
leaq -0x1e0(%rbp), %rsi
movq %r13, %rdi
callq 0x46a5
movaps %xmm0, -0x120(%rbp)
movaps %xmm1, -0x150(%rbp)
leaq -0x1d0(%rbp), %rsi
movq %r13, %rdi
callq 0x46a5
movaps %xmm0, -0x60(%rbp)
movaps %xmm1, -0x1b0(%rbp)
leaq -0x1c0(%rbp), %rsi
movq %r13, %rdi
callq 0x46a5
movaps -0x1b0(%rbp), %xmm15
movaps -0x150(%rbp), %xmm3
movaps %xmm3, %xmm2
shufps $0x55, %xmm3, %xmm2     # xmm2 = xmm2[1,1],xmm3[1,1]
movaps -0x120(%rbp), %xmm4
movaps %xmm4, %xmm14
divss %xmm2, %xmm14
shufps $0x55, %xmm4, %xmm4     # xmm4 = xmm4[1,1,1,1]
divss %xmm2, %xmm4
movaps %xmm4, %xmm11
divss %xmm2, %xmm3
divss %xmm2, %xmm2
unpcklps %xmm2, %xmm3            # xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
unpcklps %xmm4, %xmm14           # xmm14 = xmm14[0],xmm4[0],xmm14[1],xmm4[1]
movsd 0x10(%r12), %xmm4
movsd 0x18(%r12), %xmm5
movaps %xmm15, %xmm2
shufps $0x55, %xmm15, %xmm2    # xmm2 = xmm2[1,1],xmm15[1,1]
movaps -0x60(%rbp), %xmm6
movaps %xmm6, %xmm8
divss %xmm2, %xmm8
shufps $0x55, %xmm6, %xmm6     # xmm6 = xmm6[1,1,1,1]
divss %xmm2, %xmm6
movaps %xmm6, %xmm12
divss %xmm2, %xmm15
divss %xmm2, %xmm2
unpcklps %xmm2, %xmm15           # xmm15 = xmm15[0],xmm2[0],xmm15[1],xmm2[1]
unpcklps %xmm6, %xmm8            # xmm8 = xmm8[0],xmm6[0],xmm8[1],xmm6[1]
movsd 0x10(%r15), %xmm10
movsd 0x18(%r15), %xmm9
movaps %xmm1, %xmm7
shufps $0x55, %xmm1, %xmm7     # xmm7 = xmm7[1,1],xmm1[1,1]
movaps %xmm0, %xmm6
divss %xmm7, %xmm6
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
divss %xmm7, %xmm0
divss %xmm7, %xmm1
divss %xmm7, %xmm7
ucomiss %xmm12, %xmm11
jbe 0x3740
movaps %xmm5, %xmm13
movaps %xmm4, %xmm12
movaps %xmm3, %xmm11
movaps %xmm8, %xmm2
movaps %xmm15, %xmm3
movaps %xmm10, %xmm4
movaps %xmm9, %xmm5
jmp 0x3754
movaps %xmm14, %xmm2
movaps %xmm8, %xmm14
movaps %xmm15, %xmm11
movaps %xmm10, %xmm12
movaps %xmm9, %xmm13
unpcklps %xmm0, %xmm6            # xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1]
unpcklps %xmm7, %xmm1            # xmm1 = xmm1[0],xmm7[0],xmm1[1],xmm7[1]
movsd 0x10(%r14), %xmm8
movsd 0x18(%r14), %xmm7
movaps %xmm2, %xmm9
shufps $0x55, %xmm2, %xmm9     # xmm9 = xmm9[1,1],xmm2[1,1]
ucomiss %xmm0, %xmm9
jbe 0x3794
movaps %xmm6, -0x1f0(%rbp)
movaps %xmm1, -0x230(%rbp)
movaps %xmm8, -0x200(%rbp)
movaps %xmm7, -0x210(%rbp)
jmp 0x37bd
movaps %xmm2, -0x1f0(%rbp)
movaps %xmm3, -0x230(%rbp)
movaps %xmm4, -0x200(%rbp)
movaps %xmm5, -0x210(%rbp)
movaps %xmm6, %xmm2
movaps %xmm1, %xmm3
movaps %xmm8, %xmm4
movaps %xmm7, %xmm5
movaps %xmm2, %xmm0
cmpltps %xmm14, %xmm0
pextrw $0x2, %xmm0, %eax
testb $0x1, %al
je 0x37f0
movaps %xmm2, %xmm0
movaps %xmm3, -0x160(%rbp)
movaps %xmm4, -0x110(%rbp)
movaps %xmm5, -0x100(%rbp)
movaps %xmm12, %xmm4
movaps %xmm13, %xmm5
jmp 0x3814
movaps %xmm14, %xmm0
movaps %xmm11, -0x160(%rbp)
movaps %xmm12, -0x110(%rbp)
movaps %xmm13, -0x100(%rbp)
movaps %xmm2, %xmm14
movaps %xmm3, %xmm11
movaps %xmm11, -0x150(%rbp)
movaps -0x1f0(%rbp), %xmm2
shufps $0x55, %xmm2, %xmm2     # xmm2 = xmm2[1,1,1,1]
movaps %xmm0, -0x2f0(%rbp)
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
movaps -0x200(%rbp), %xmm1
shufps $0x55, %xmm1, %xmm1     # xmm1 = xmm1[1,1,1,1]
movaps %xmm1, -0x250(%rbp)
movaps -0x210(%rbp), %xmm1
shufps $0x55, %xmm1, %xmm1     # xmm1 = xmm1[1,1,1,1]
movaps %xmm1, -0x2e0(%rbp)
movaps %xmm14, -0x300(%rbp)
shufps $0x55, %xmm14, %xmm14   # xmm14 = xmm14[1,1,1,1]
movaps %xmm14, -0x260(%rbp)
movaps %xmm4, -0x180(%rbp)
shufps $0x55, %xmm4, %xmm4     # xmm4 = xmm4[1,1,1,1]
movaps %xmm4, -0x2c0(%rbp)
movaps %xmm5, -0x170(%rbp)
shufps $0x55, %xmm5, %xmm5     # xmm5 = xmm5[1,1,1,1]
movaps %xmm5, -0x2d0(%rbp)
movaps %xmm0, -0x270(%rbp)
movaps %xmm2, -0x240(%rbp)
subss %xmm2, %xmm0
xorps %xmm1, %xmm1
movaps %xmm0, -0xa0(%rbp)
ucomiss %xmm1, %xmm0
jne 0x38b6
jnp 0x3e83
movaps -0x260(%rbp), %xmm0
movaps -0x240(%rbp), %xmm1
subss %xmm1, %xmm0
movaps -0x300(%rbp), %xmm12
movaps -0x1f0(%rbp), %xmm8
subss %xmm8, %xmm12
movaps -0x2f0(%rbp), %xmm9
subss %xmm8, %xmm9
movaps -0xa0(%rbp), %xmm6
divss %xmm6, %xmm9
divss %xmm0, %xmm12
movaps %xmm1, %xmm13
subss %xmm1, %xmm13
movaps -0x110(%rbp), %xmm1
movaps -0x200(%rbp), %xmm11
subps %xmm11, %xmm1
movaps %xmm1, %xmm4
shufps $0x55, %xmm1, %xmm4     # xmm4 = xmm4[1,1],xmm1[1,1]
movaps -0x100(%rbp), %xmm2
movaps -0x210(%rbp), %xmm7
subps %xmm7, %xmm2
movaps %xmm2, %xmm5
shufps $0x55, %xmm2, %xmm5     # xmm5 = xmm5[1,1],xmm2[1,1]
movaps -0x180(%rbp), %xmm14
subss %xmm11, %xmm14
movaps -0x2c0(%rbp), %xmm3
subss -0x250(%rbp), %xmm3
movaps -0x170(%rbp), %xmm15
subss %xmm7, %xmm15
divss %xmm6, %xmm1
divss %xmm6, %xmm4
unpcklps %xmm4, %xmm1            # xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1]
movaps -0x2d0(%rbp), %xmm4
movaps -0x2e0(%rbp), %xmm10
subss %xmm10, %xmm4
divss %xmm6, %xmm2
divss %xmm6, %xmm5
unpcklps %xmm5, %xmm2            # xmm2 = xmm2[0],xmm5[0],xmm2[1],xmm5[1]
divss %xmm0, %xmm14
divss %xmm0, %xmm3
divss %xmm0, %xmm15
movss %xmm0, -0x60(%rbp)
divss %xmm0, %xmm4
movaps %xmm13, %xmm5
mulss %xmm14, %xmm5
unpcklps %xmm3, %xmm14           # xmm14 = xmm14[0],xmm3[0],xmm14[1],xmm3[1]
mulss %xmm13, %xmm3
addss %xmm11, %xmm5
addss -0x250(%rbp), %xmm3
unpcklps %xmm3, %xmm5            # xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
movaps %xmm13, %xmm3
mulss %xmm15, %xmm3
unpcklps %xmm4, %xmm15           # xmm15 = xmm15[0],xmm4[0],xmm15[1],xmm4[1]
mulss %xmm13, %xmm4
addss %xmm7, %xmm3
addss %xmm10, %xmm4
unpcklps %xmm4, %xmm3            # xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
movss %xmm13, -0x30(%rbp)
mulss %xmm12, %xmm13
addss %xmm8, %xmm13
ucomiss %xmm12, %xmm9
jbe 0x3a4d
movss %xmm13, -0x50(%rbp)
movaps %xmm15, -0x330(%rbp)
movaps %xmm14, -0x190(%rbp)
movaps %xmm12, -0x1a0(%rbp)
movaps %xmm2, -0x320(%rbp)
movaps %xmm1, -0x310(%rbp)
movaps %xmm3, -0xd0(%rbp)
movaps %xmm5, -0x140(%rbp)
movaps %xmm7, -0xe0(%rbp)
movaps %xmm11, -0xf0(%rbp)
movss %xmm8, -0x80(%rbp)
movss %xmm9, -0x64(%rbp)
jmp 0x3aa2
movaps %xmm3, -0xe0(%rbp)
movaps %xmm5, -0xf0(%rbp)
movaps %xmm15, -0x320(%rbp)
movaps %xmm14, -0x310(%rbp)
movaps %xmm7, -0xd0(%rbp)
movaps %xmm11, -0x140(%rbp)
movaps %xmm1, -0x190(%rbp)
movaps %xmm2, -0x330(%rbp)
movss %xmm13, -0x80(%rbp)
movss %xmm8, -0x50(%rbp)
movss %xmm12, -0x64(%rbp)
movaps %xmm9, -0x1a0(%rbp)
movaps -0x240(%rbp), %xmm0
callq 0x2160
cvttss2si %xmm0, %r14d
movaps -0x270(%rbp), %xmm0
callq 0x2160
testl %r14d, %r14d
movaps -0x150(%rbp), %xmm1
movss -0x50(%rbp), %xmm2
js 0x3e83
cvttss2si %xmm0, %r15d
cmpl %r15d, %r14d
jge 0x3e83
cmpl %r15d, -0xc0(%rbp)
jle 0x3e83
movaps %xmm1, %xmm3
movaps -0x230(%rbp), %xmm0
subss %xmm0, %xmm3
divss -0x60(%rbp), %xmm3
movaps -0x160(%rbp), %xmm4
subss %xmm0, %xmm4
movss -0x30(%rbp), %xmm1
movaps %xmm3, -0x350(%rbp)
mulss %xmm3, %xmm1
divss -0xa0(%rbp), %xmm4
movaps %xmm4, -0x340(%rbp)
addss %xmm0, %xmm1
movss %xmm1, -0x30(%rbp)
movl %r14d, %r13d
leaq (,%r13,4), %rax
addq %r13, %rax
shlq $0x9, %rax
leaq 0x36b2(%rip), %rsi      # 0x7200
addq %rax, %rsi
movss %xmm0, -0x60(%rbp)
movl %r15d, -0x12c(%rbp)
movq %rsi, -0xb0(%rbp)
movss %xmm2, -0x50(%rbp)
movaps %xmm2, %xmm0
callq 0x2160
cvttss2si %xmm0, %r12d
movss -0x80(%rbp), %xmm0
callq 0x2160
testl %r12d, %r12d
js 0x3e5e
cvttss2si %xmm0, %edx
cmpl %edx, 0x10(%rbx)
jle 0x3e5e
movq %r13, -0x220(%rbp)
cmpl %edx, %r12d
movaps -0x1a0(%rbp), %xmm2
movaps -0x190(%rbp), %xmm3
movq -0xb0(%rbp), %rsi
jge 0x3dbd
movaps -0xf0(%rbp), %xmm0
movaps %xmm0, %xmm5
movaps -0x140(%rbp), %xmm4
subss %xmm4, %xmm5
movaps %xmm0, %xmm6
shufps $0x55, %xmm0, %xmm6     # xmm6 = xmm6[1,1],xmm0[1,1]
movaps %xmm4, %xmm0
shufps $0x55, %xmm4, %xmm0     # xmm0 = xmm0[1,1],xmm4[1,1]
subss %xmm0, %xmm6
movaps -0xe0(%rbp), %xmm0
movaps %xmm0, %xmm7
movaps -0xd0(%rbp), %xmm1
subss %xmm1, %xmm7
movaps %xmm0, %xmm8
shufps $0x55, %xmm0, %xmm8     # xmm8 = xmm8[1,1],xmm0[1,1]
movaps %xmm1, %xmm0
shufps $0x55, %xmm1, %xmm0     # xmm0 = xmm0[1,1],xmm1[1,1]
subss %xmm0, %xmm8
movss -0x80(%rbp), %xmm9
subss -0x50(%rbp), %xmm9
divss %xmm9, %xmm5
divss %xmm9, %xmm6
divss %xmm9, %xmm7
divss %xmm9, %xmm8
movss -0x30(%rbp), %xmm10
subss -0x60(%rbp), %xmm10
movl %r12d, %r15d
xorl %r13d, %r13d
movslq -0x220(%rbp), %rax
movq %rax, -0x38(%rbp)
movaps %xmm1, %xmm11
movaps %xmm5, -0x2b0(%rbp)
movaps %xmm6, -0x2a0(%rbp)
movaps %xmm7, -0x290(%rbp)
movaps %xmm8, -0x280(%rbp)
movss %xmm9, -0x128(%rbp)
movss %xmm10, -0x90(%rbp)
xorps %xmm0, %xmm0
cvtsi2ss %r13d, %xmm0
mulss %xmm10, %xmm0
divss %xmm9, %xmm0
addss -0x60(%rbp), %xmm0
movss (%rsi,%r15,4), %xmm1
ucomiss %xmm0, %xmm1
movaps %xmm4, %xmm12
shufps $0x55, %xmm4, %xmm12    # xmm12 = xmm12[1,1],xmm4[1,1]
jbe 0x3d7d
movl %edx, %r14d
movss %xmm0, (%rsi,%r15,4)
movaps %xmm4, -0x120(%rbp)
movaps %xmm4, %xmm0
movss 0x142e(%rip), %xmm1     # 0x50f4
mulss %xmm1, %xmm0
cvttss2si %xmm0, %esi
movaps %xmm12, -0xc0(%rbp)
movaps %xmm12, %xmm0
mulss %xmm1, %xmm0
cvttss2si %xmm0, %edx
movaps %xmm11, -0x1b0(%rbp)
movaps %xmm11, %xmm0
mulss %xmm1, %xmm0
cvttss2si %xmm0, %ecx
movq 0x8(%rbx), %rdi
movl $0xff, %eax
andl %eax, %esi
andl %eax, %ecx
andl %eax, %edx
callq 0x2110
movslq 0x10(%rbx), %rcx
imulq -0x38(%rbp), %rcx
shlq $0x2, %rcx
addq 0x20(%rbx), %rcx
movl %eax, (%rcx,%r15,4)
movaps -0x1a0(%rbp), %xmm2
movaps -0x190(%rbp), %xmm3
movl %r14d, %edx
movq -0xb0(%rbp), %rsi
movaps -0x2b0(%rbp), %xmm5
movaps -0x2a0(%rbp), %xmm6
movaps -0x290(%rbp), %xmm7
movaps -0x280(%rbp), %xmm8
movss -0x128(%rbp), %xmm9
movss -0x90(%rbp), %xmm10
movaps -0x120(%rbp), %xmm4
movaps -0x1b0(%rbp), %xmm11
movaps -0xc0(%rbp), %xmm12
addss %xmm5, %xmm4
addss %xmm6, %xmm12
unpcklps %xmm12, %xmm4           # xmm4 = xmm4[0],xmm12[0],xmm4[1],xmm12[1]
movaps %xmm7, %xmm0
addss %xmm11, %xmm0
shufps $0x55, %xmm11, %xmm11   # xmm11 = xmm11[1,1,1,1]
addss %xmm8, %xmm11
unpcklps %xmm11, %xmm0           # xmm0 = xmm0[0],xmm11[0],xmm0[1],xmm11[1]
incq %r15
leal (%r12,%r13), %eax
incl %eax
movl %r13d, %ecx
incl %ecx
movl %ecx, %r13d
movaps %xmm0, %xmm11
cmpl %edx, %eax
jl 0x3c7c
movss -0x50(%rbp), %xmm0
addss %xmm2, %xmm0
movaps %xmm0, %xmm2
movss -0x80(%rbp), %xmm0
addss -0x64(%rbp), %xmm0
movss %xmm0, -0x80(%rbp)
movss -0x60(%rbp), %xmm0
addss -0x340(%rbp), %xmm0
movss %xmm0, -0x60(%rbp)
movss -0x30(%rbp), %xmm0
addss -0x350(%rbp), %xmm0
movss %xmm0, -0x30(%rbp)
movaps -0x140(%rbp), %xmm0
addps %xmm3, %xmm0
movaps %xmm0, -0x140(%rbp)
movaps -0xd0(%rbp), %xmm0
addps -0x330(%rbp), %xmm0
movaps %xmm0, -0xd0(%rbp)
movaps -0xf0(%rbp), %xmm0
addps -0x310(%rbp), %xmm0
movaps %xmm0, -0xf0(%rbp)
movaps -0xe0(%rbp), %xmm0
addps -0x320(%rbp), %xmm0
movaps %xmm0, -0xe0(%rbp)
movb $0x1, %al
movl -0x12c(%rbp), %r15d
movq -0x220(%rbp), %r13
jmp 0x3e6c
xorl %eax, %eax
movss -0x50(%rbp), %xmm2
movq -0xb0(%rbp), %rsi
testb %al, %al
je 0x3e83
incq %r13
addq $0xa00, %rsi            # imm = 0xA00
cmpl %r15d, %r13d
jl 0x3b5d
movaps -0x260(%rbp), %xmm0
movaps %xmm0, %xmm14
subss -0x270(%rbp), %xmm14
ucomiss 0x1259(%rip), %xmm14    # 0x50f8
jne 0x3ea7
jnp 0x4469
movaps %xmm0, %xmm15
subss -0x240(%rbp), %xmm15
movaps -0x300(%rbp), %xmm9
movaps %xmm9, %xmm12
movaps -0x1f0(%rbp), %xmm0
subss %xmm0, %xmm12
divss %xmm15, %xmm12
movaps -0xa0(%rbp), %xmm8
movaps %xmm8, %xmm13
mulss %xmm12, %xmm13
addss %xmm0, %xmm13
movaps -0x180(%rbp), %xmm4
movaps %xmm4, %xmm0
movaps -0x110(%rbp), %xmm6
subps %xmm6, %xmm0
movaps %xmm0, %xmm2
shufps $0x55, %xmm0, %xmm2     # xmm2 = xmm2[1,1],xmm0[1,1]
movaps -0x170(%rbp), %xmm5
movaps %xmm5, %xmm1
movaps -0x100(%rbp), %xmm7
subps %xmm7, %xmm1
divss %xmm14, %xmm0
divss %xmm14, %xmm2
unpcklps %xmm2, %xmm0            # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
movaps %xmm1, %xmm2
shufps $0x55, %xmm1, %xmm2     # xmm2 = xmm2[1,1],xmm1[1,1]
movaps -0x200(%rbp), %xmm3
subss %xmm3, %xmm4
divss %xmm14, %xmm1
divss %xmm14, %xmm2
unpcklps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
divss %xmm15, %xmm4
movaps %xmm8, %xmm2
mulss %xmm4, %xmm2
addss %xmm3, %xmm2
movaps -0x250(%rbp), %xmm3
movaps -0x2c0(%rbp), %xmm11
subss %xmm3, %xmm11
divss %xmm15, %xmm11
unpcklps %xmm11, %xmm4           # xmm4 = xmm4[0],xmm11[0],xmm4[1],xmm11[1]
mulss %xmm8, %xmm11
addss %xmm3, %xmm11
movaps -0x210(%rbp), %xmm10
subss %xmm10, %xmm5
divss %xmm15, %xmm5
unpcklps %xmm11, %xmm2           # xmm2 = xmm2[0],xmm11[0],xmm2[1],xmm11[1]
movaps %xmm8, %xmm3
mulss %xmm5, %xmm3
addss %xmm10, %xmm3
movaps -0x2e0(%rbp), %xmm10
movaps -0x2d0(%rbp), %xmm11
subss %xmm10, %xmm11
movss %xmm15, -0x120(%rbp)
divss %xmm15, %xmm11
unpcklps %xmm11, %xmm5           # xmm5 = xmm5[0],xmm11[0],xmm5[1],xmm11[1]
mulss %xmm8, %xmm11
addss %xmm10, %xmm11
unpcklps %xmm11, %xmm3           # xmm3 = xmm3[0],xmm11[0],xmm3[1],xmm11[1]
movaps -0x2f0(%rbp), %xmm8
subss %xmm8, %xmm9
divss %xmm14, %xmm9
ucomiss %xmm9, %xmm12
movss %xmm14, -0x60(%rbp)
jbe 0x4035
movaps %xmm13, -0x90(%rbp)
movaps %xmm12, -0xb0(%rbp)
movaps %xmm5, -0x170(%rbp)
movaps %xmm4, -0x180(%rbp)
movaps %xmm1, -0xf0(%rbp)
movaps %xmm0, -0xe0(%rbp)
movaps %xmm3, -0x50(%rbp)
movaps %xmm2, -0x80(%rbp)
movss %xmm8, -0x38(%rbp)
movss %xmm9, -0xd0(%rbp)
jmp 0x4086
movaps %xmm5, -0xf0(%rbp)
movaps %xmm4, -0xe0(%rbp)
movaps %xmm7, -0x50(%rbp)
movaps %xmm6, -0x80(%rbp)
movaps %xmm3, -0x100(%rbp)
movaps %xmm2, -0x110(%rbp)
movaps %xmm0, -0x180(%rbp)
movaps %xmm1, -0x170(%rbp)
movss %xmm13, -0x38(%rbp)
movaps %xmm8, -0x90(%rbp)
movss %xmm12, -0xd0(%rbp)
movaps %xmm9, -0xb0(%rbp)
movaps -0x270(%rbp), %xmm0
callq 0x2160
cvttss2si %xmm0, %r14d
movaps -0x260(%rbp), %xmm0
callq 0x2160
testl %r14d, %r14d
movaps -0x150(%rbp), %xmm1
movaps -0x90(%rbp), %xmm5
movss -0x60(%rbp), %xmm4
js 0x4469
cvttss2si %xmm0, %r15d
cmpl %r15d, %r14d
jge 0x4469
cmpl %r15d, 0x14(%rbx)
jle 0x4469
movaps %xmm1, %xmm3
movaps -0x230(%rbp), %xmm2
subss %xmm2, %xmm3
divss -0x120(%rbp), %xmm3
subss -0x160(%rbp), %xmm1
movaps -0xa0(%rbp), %xmm0
movaps %xmm3, -0x220(%rbp)
mulss %xmm3, %xmm0
divss %xmm4, %xmm1
addss %xmm2, %xmm0
movaps %xmm0, -0xa0(%rbp)
movl %r14d, %r13d
leaq (,%r13,4), %rax
addq %r13, %rax
shlq $0x9, %rax
leaq 0x30d1(%rip), %rsi      # 0x7200
addq %rax, %rsi
movaps %xmm1, -0x150(%rbp)
movl %r15d, -0x140(%rbp)
movq %rsi, -0xc0(%rbp)
movaps %xmm5, -0x90(%rbp)
movaps %xmm5, %xmm0
callq 0x2160
cvttss2si %xmm0, %r12d
movss -0x38(%rbp), %xmm0
callq 0x2160
testl %r12d, %r12d
js 0x4442
cvttss2si %xmm0, %edx
cmpl %edx, 0x10(%rbx)
jle 0x4442
movq %r13, -0x30(%rbp)
cmpl %edx, %r12d
movaps -0x160(%rbp), %xmm2
movaps -0x110(%rbp), %xmm3
movaps -0x100(%rbp), %xmm4
movaps -0xb0(%rbp), %xmm5
movq -0xc0(%rbp), %rsi
jge 0x43b1
movaps %xmm3, %xmm7
movaps -0x80(%rbp), %xmm6
subss %xmm6, %xmm7
movaps %xmm3, %xmm8
shufps $0x55, %xmm3, %xmm8     # xmm8 = xmm8[1,1],xmm3[1,1]
movaps %xmm6, %xmm0
shufps $0x55, %xmm6, %xmm0     # xmm0 = xmm0[1,1],xmm6[1,1]
subss %xmm0, %xmm8
movaps %xmm4, %xmm9
movaps -0x50(%rbp), %xmm1
subss %xmm1, %xmm9
movaps %xmm4, %xmm10
shufps $0x55, %xmm4, %xmm10    # xmm10 = xmm10[1,1],xmm4[1,1]
movaps %xmm1, %xmm0
shufps $0x55, %xmm1, %xmm0     # xmm0 = xmm0[1,1],xmm1[1,1]
subss %xmm0, %xmm10
movss -0x38(%rbp), %xmm11
subss -0x90(%rbp), %xmm11
divss %xmm11, %xmm7
divss %xmm11, %xmm8
divss %xmm11, %xmm9
divss %xmm11, %xmm10
movaps -0xa0(%rbp), %xmm12
subss %xmm2, %xmm12
movl %r12d, %r15d
xorl %r13d, %r13d
movslq -0x30(%rbp), %rax
movq %rax, -0x128(%rbp)
movaps %xmm1, %xmm13
movaps %xmm7, -0x1a0(%rbp)
movaps %xmm8, -0x190(%rbp)
movaps %xmm9, -0x2b0(%rbp)
movaps %xmm10, -0x2a0(%rbp)
movss %xmm11, -0x290(%rbp)
movss %xmm12, -0x280(%rbp)
xorps %xmm0, %xmm0
cvtsi2ss %r13d, %xmm0
mulss %xmm12, %xmm0
divss %xmm11, %xmm0
addss %xmm2, %xmm0
movss (%rsi,%r15,4), %xmm1
ucomiss %xmm0, %xmm1
movaps %xmm6, %xmm14
shufps $0x55, %xmm6, %xmm14    # xmm14 = xmm14[1,1],xmm6[1,1]
jbe 0x4370
movl %edx, %r14d
movss %xmm0, (%rsi,%r15,4)
movaps %xmm6, -0x60(%rbp)
movaps %xmm6, %xmm0
movss 0xe4b(%rip), %xmm1      # 0x50f4
mulss %xmm1, %xmm0
cvttss2si %xmm0, %esi
movaps %xmm14, -0x1b0(%rbp)
movaps %xmm14, %xmm0
mulss %xmm1, %xmm0
cvttss2si %xmm0, %edx
movaps %xmm13, -0x120(%rbp)
movaps %xmm13, %xmm0
mulss %xmm1, %xmm0
cvttss2si %xmm0, %ecx
movq 0x8(%rbx), %rdi
movl $0xff, %eax
andl %eax, %esi
andl %eax, %ecx
andl %eax, %edx
callq 0x2110
movslq 0x10(%rbx), %rcx
imulq -0x128(%rbp), %rcx
shlq $0x2, %rcx
addq 0x20(%rbx), %rcx
movl %eax, (%rcx,%r15,4)
movaps -0x160(%rbp), %xmm2
movaps -0x110(%rbp), %xmm3
movaps -0x100(%rbp), %xmm4
movaps -0xb0(%rbp), %xmm5
movl %r14d, %edx
movq -0xc0(%rbp), %rsi
movaps -0x1a0(%rbp), %xmm7
movaps -0x190(%rbp), %xmm8
movaps -0x2b0(%rbp), %xmm9
movaps -0x2a0(%rbp), %xmm10
movss -0x290(%rbp), %xmm11
movss -0x280(%rbp), %xmm12
movaps -0x60(%rbp), %xmm6
movaps -0x120(%rbp), %xmm13
movaps -0x1b0(%rbp), %xmm14
addss %xmm7, %xmm6
addss %xmm8, %xmm14
unpcklps %xmm14, %xmm6           # xmm6 = xmm6[0],xmm14[0],xmm6[1],xmm14[1]
movaps %xmm9, %xmm0
addss %xmm13, %xmm0
shufps $0x55, %xmm13, %xmm13   # xmm13 = xmm13[1,1,1,1]
addss %xmm10, %xmm13
unpcklps %xmm13, %xmm0           # xmm0 = xmm0[0],xmm13[0],xmm0[1],xmm13[1]
incq %r15
leal (%r12,%r13), %eax
incl %eax
movl %r13d, %ecx
incl %ecx
movl %ecx, %r13d
movaps %xmm0, %xmm13
cmpl %edx, %eax
jl 0x4263
movaps -0x90(%rbp), %xmm0
addss %xmm5, %xmm0
movaps %xmm0, %xmm5
movss -0x38(%rbp), %xmm0
addss -0xd0(%rbp), %xmm0
movss %xmm0, -0x38(%rbp)
movaps -0x150(%rbp), %xmm1
addss %xmm1, %xmm2
movaps %xmm2, -0x160(%rbp)
movaps -0xa0(%rbp), %xmm0
addss -0x220(%rbp), %xmm0
movaps %xmm0, -0xa0(%rbp)
movaps -0x80(%rbp), %xmm0
addps -0x180(%rbp), %xmm0
movaps %xmm0, -0x80(%rbp)
movaps -0x50(%rbp), %xmm0
addps -0x170(%rbp), %xmm0
movaps %xmm0, -0x50(%rbp)
addps -0xe0(%rbp), %xmm3
movaps %xmm3, -0x110(%rbp)
addps -0xf0(%rbp), %xmm4
movaps %xmm4, -0x100(%rbp)
movb $0x1, %al
movl -0x140(%rbp), %r15d
movq -0x30(%rbp), %r13
jmp 0x4452
xorl %eax, %eax
movaps -0x90(%rbp), %xmm5
movq -0xc0(%rbp), %rsi
testb %al, %al
je 0x4469
incq %r13
addq $0xa00, %rsi            # imm = 0xA00
cmpl %r15d, %r13d
jl 0x4140
addq $0x368, %rsp            # imm = 0x368
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x447d
movq %rax, %rdi
callq 0x4714
nop