// File: /workspace/github_cpp_makefile_star2_O2/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 $0x2c8, %rsp            # imm = 0x2C8
movq %r8, %r13
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, -0xb8(%rbp)
movq %r8, %rdi
callq 0x3f9b
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
leaq -0x290(%rbp), %r14
movups %xmm0, (%r14)
movq %r13, %rdi
movq %r15, %rsi
callq 0x3f9b
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, -0x200(%rbp)
movq %r13, %rdi
movq %rbx, %rsi
callq 0x3f9b
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, -0x1f0(%rbp)
movq %r14, %rdi
callq 0x400c
testb %al, %al
jne 0x3d27
leaq -0x200(%rbp), %rdi
callq 0x400c
testb %al, %al
jne 0x3d27
leaq -0x1f0(%rbp), %rdi
callq 0x400c
testb %al, %al
jne 0x3d27
movq -0xb8(%rbp), %rax
cvtsi2ssl 0x10(%rax), %xmm0
movl 0x14(%rax), %r13d
cvtsi2ss %r13d, %xmm1
movss 0x2100(%rip), %xmm2     # 0x50f4
mulss %xmm2, %xmm0
leaq -0x240(%rbp), %rsi
movss %xmm0, (%rsi)
andq $0x0, 0x4(%rsi)
movss %xmm0, 0xc(%rsi)
andl $0x0, 0x10(%rsi)
mulss %xmm2, %xmm1
movaps 0x20b4(%rip), %xmm0     # 0x50d0
xorps %xmm1, %xmm0
movss %xmm0, 0x14(%rsi)
andl $0x0, 0x18(%rsi)
movss %xmm1, 0x1c(%rsi)
andq $0x0, 0x20(%rsi)
movl $0x3f800000, %eax       # imm = 0x3F800000
movl %eax, 0x28(%rsi)
xorps %xmm0, %xmm0
movups %xmm0, 0x2c(%rsi)
movl %eax, 0x3c(%rsi)
leaq -0x2d0(%rbp), %r14
movq %r14, %rdi
callq 0x3f6c
leaq -0x290(%rbp), %rsi
movq %r14, %rdi
callq 0x3f9b
movaps %xmm0, -0x130(%rbp)
movaps %xmm1, -0xd0(%rbp)
leaq -0x200(%rbp), %rsi
movq %r14, %rdi
callq 0x3f9b
movaps %xmm0, -0x50(%rbp)
movaps %xmm1, -0xb0(%rbp)
leaq -0x1f0(%rbp), %rsi
movq %r14, %rdi
callq 0x3f9b
movaps -0xd0(%rbp), %xmm4
movaps %xmm4, %xmm2
shufps $0x55, %xmm4, %xmm2     # xmm2 = xmm2[1,1],xmm4[1,1]
movaps -0x130(%rbp), %xmm3
movaps %xmm3, %xmm6
divss %xmm2, %xmm6
shufps $0x55, %xmm3, %xmm3     # xmm3 = xmm3[1,1,1,1]
divss %xmm2, %xmm3
divss %xmm2, %xmm4
divss %xmm2, %xmm2
unpcklps %xmm2, %xmm4            # xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
movaps %xmm4, -0xd0(%rbp)
unpcklps %xmm3, %xmm6            # xmm6 = xmm6[0],xmm3[0],xmm6[1],xmm3[1]
movss 0x10(%r12), %xmm2
movaps %xmm2, -0x170(%rbp)
movss 0x14(%r12), %xmm2
movaps %xmm2, -0x100(%rbp)
movss 0x18(%r12), %xmm2
movaps %xmm2, -0x160(%rbp)
movss 0x1c(%r12), %xmm5
movaps -0xb0(%rbp), %xmm15
movaps %xmm15, %xmm2
shufps $0x55, %xmm15, %xmm2    # xmm2 = xmm2[1,1],xmm15[1,1]
movaps -0x50(%rbp), %xmm4
movaps %xmm4, %xmm9
divss %xmm2, %xmm9
shufps $0x55, %xmm4, %xmm4     # xmm4 = xmm4[1,1,1,1]
divss %xmm2, %xmm4
divss %xmm2, %xmm15
divss %xmm2, %xmm2
unpcklps %xmm2, %xmm15           # xmm15 = xmm15[0],xmm2[0],xmm15[1],xmm2[1]
unpcklps %xmm4, %xmm9            # xmm9 = xmm9[0],xmm4[0],xmm9[1],xmm4[1]
movss 0x10(%r15), %xmm10
movss 0x14(%r15), %xmm11
movss 0x18(%r15), %xmm12
movss 0x1c(%r15), %xmm13
movaps %xmm1, %xmm8
shufps $0x55, %xmm1, %xmm8     # xmm8 = xmm8[1,1],xmm1[1,1]
movaps %xmm0, %xmm7
divss %xmm8, %xmm7
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
divss %xmm8, %xmm0
divss %xmm8, %xmm1
divss %xmm8, %xmm8
ucomiss %xmm4, %xmm3
jbe 0x31aa
movaps %xmm5, -0x180(%rbp)
movaps %xmm6, -0x110(%rbp)
movss %xmm11, -0x50(%rbp)
movss %xmm10, -0xb0(%rbp)
movaps %xmm15, %xmm5
movaps %xmm9, %xmm6
movaps %xmm4, %xmm14
movaps %xmm12, %xmm2
jmp 0x320e
movaps %xmm3, %xmm14
movaps %xmm5, %xmm3
movaps -0x160(%rbp), %xmm2
movaps -0x100(%rbp), %xmm4
movss %xmm4, -0x50(%rbp)
movaps -0x170(%rbp), %xmm4
movss %xmm4, -0xb0(%rbp)
movaps -0xd0(%rbp), %xmm5
movaps %xmm9, -0x110(%rbp)
movaps %xmm15, -0xd0(%rbp)
movaps %xmm10, -0x170(%rbp)
movaps %xmm11, -0x100(%rbp)
movaps %xmm12, -0x160(%rbp)
movaps %xmm13, -0x180(%rbp)
movaps %xmm3, %xmm13
unpcklps %xmm0, %xmm7            # xmm7 = xmm7[0],xmm0[0],xmm7[1],xmm0[1]
unpcklps %xmm8, %xmm1            # xmm1 = xmm1[0],xmm8[0],xmm1[1],xmm8[1]
movss 0x10(%rbx), %xmm8
movss 0x14(%rbx), %xmm9
movss 0x18(%rbx), %xmm10
movss 0x1c(%rbx), %xmm11
ucomiss %xmm0, %xmm14
jbe 0x3267
movaps %xmm6, %xmm0
shufps $0x55, %xmm6, %xmm0     # xmm0 = xmm0[1,1],xmm6[1,1]
movss %xmm11, -0x78(%rbp)
movss %xmm10, -0x74(%rbp)
movss %xmm8, -0x38(%rbp)
movaps %xmm1, -0x1b0(%rbp)
movaps %xmm7, %xmm12
movss -0x50(%rbp), %xmm7
movss -0xb0(%rbp), %xmm8
jmp 0x32a5
movss %xmm13, -0x78(%rbp)
movss %xmm2, -0x74(%rbp)
movss -0x50(%rbp), %xmm3
movss -0xb0(%rbp), %xmm2
movss %xmm2, -0x38(%rbp)
movaps %xmm5, -0x1b0(%rbp)
movaps %xmm6, %xmm12
movaps %xmm7, %xmm6
movaps %xmm1, %xmm5
movaps %xmm9, %xmm7
movaps %xmm10, %xmm2
movaps %xmm11, %xmm13
movaps %xmm3, %xmm9
movaps -0x110(%rbp), %xmm1
movaps %xmm1, %xmm10
shufps $0x55, %xmm1, %xmm10    # xmm10 = xmm10[1,1],xmm1[1,1]
movaps %xmm0, -0x1a0(%rbp)
ucomiss %xmm0, %xmm10
jbe 0x330f
movaps %xmm10, -0x1a0(%rbp)
movaps %xmm6, %xmm1
shufps $0x55, %xmm6, %xmm1     # xmm1 = xmm1[1,1],xmm6[1,1]
movaps %xmm6, -0x1c0(%rbp)
movaps %xmm5, -0x120(%rbp)
movss %xmm8, -0x84(%rbp)
movss %xmm7, -0x80(%rbp)
movss %xmm2, -0x7c(%rbp)
movss %xmm13, -0x94(%rbp)
movaps %xmm1, %xmm10
movaps -0xd0(%rbp), %xmm5
movaps -0x160(%rbp), %xmm6
jmp 0x337b
movaps %xmm1, -0x1c0(%rbp)
movaps -0xd0(%rbp), %xmm1
movaps %xmm1, -0x120(%rbp)
movaps -0x170(%rbp), %xmm1
movss %xmm1, -0x84(%rbp)
movaps -0x100(%rbp), %xmm1
movss %xmm1, -0x80(%rbp)
movaps -0x160(%rbp), %xmm1
movss %xmm1, -0x7c(%rbp)
movaps -0x180(%rbp), %xmm1
movss %xmm1, -0x94(%rbp)
movaps %xmm6, -0x110(%rbp)
movaps %xmm8, -0x170(%rbp)
movaps %xmm7, -0x100(%rbp)
movaps %xmm2, %xmm6
movaps %xmm13, -0x180(%rbp)
movss -0x38(%rbp), %xmm7
movaps %xmm12, %xmm0
shufps $0x55, %xmm12, %xmm0    # xmm0 = xmm0[1,1],xmm12[1,1]
movaps %xmm10, %xmm1
subss %xmm0, %xmm1
xorps %xmm2, %xmm2
movss %xmm1, -0x30(%rbp)
ucomiss %xmm2, %xmm1
movaps -0x1a0(%rbp), %xmm15
movaps %xmm5, -0xd0(%rbp)
movaps %xmm10, -0x190(%rbp)
jne 0x33bb
jnp 0x3879
movaps %xmm15, %xmm13
subss %xmm0, %xmm13
movaps %xmm9, %xmm14
movaps %xmm0, %xmm9
subss %xmm0, %xmm9
movss -0x84(%rbp), %xmm3
subss %xmm7, %xmm3
movss -0x80(%rbp), %xmm2
subss %xmm14, %xmm2
movss -0x7c(%rbp), %xmm4
movss -0x74(%rbp), %xmm11
subss %xmm11, %xmm4
movss -0x94(%rbp), %xmm5
movss %xmm7, -0x38(%rbp)
movss -0x78(%rbp), %xmm15
subss %xmm15, %xmm5
movaps -0x170(%rbp), %xmm1
subss %xmm7, %xmm1
movaps -0x100(%rbp), %xmm8
subss %xmm14, %xmm8
movss -0x30(%rbp), %xmm7
divss %xmm7, %xmm3
divss %xmm7, %xmm2
unpcklps %xmm2, %xmm3            # xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
movaps %xmm6, -0x160(%rbp)
subss %xmm11, %xmm6
divss %xmm7, %xmm4
divss %xmm7, %xmm5
unpcklps %xmm5, %xmm4            # xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1]
movaps -0x180(%rbp), %xmm2
subss %xmm15, %xmm2
movlhps %xmm4, %xmm3            # xmm3 = xmm3[0],xmm4[0]
movups %xmm3, -0x240(%rbp)
divss %xmm13, %xmm1
divss %xmm13, %xmm8
divss %xmm13, %xmm6
divss %xmm13, %xmm2
movaps %xmm9, %xmm3
mulss %xmm1, %xmm3
unpcklps %xmm8, %xmm1            # xmm1 = xmm1[0],xmm8[0],xmm1[1],xmm8[1]
movaps %xmm9, %xmm4
mulss %xmm6, %xmm4
unpcklps %xmm2, %xmm6            # xmm6 = xmm6[0],xmm2[0],xmm6[1],xmm2[1]
movlhps %xmm6, %xmm1            # xmm1 = xmm1[0],xmm6[0]
movups %xmm1, -0x140(%rbp)
mulss %xmm9, %xmm8
movss -0x38(%rbp), %xmm6
addss %xmm6, %xmm3
addss %xmm14, %xmm8
unpcklps %xmm8, %xmm3            # xmm3 = xmm3[0],xmm8[0],xmm3[1],xmm8[1]
mulss %xmm9, %xmm2
addss %xmm11, %xmm4
addss %xmm15, %xmm2
unpcklps %xmm2, %xmm4            # xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
movaps -0x1c0(%rbp), %xmm5
subss %xmm12, %xmm5
movlhps %xmm4, %xmm3            # xmm3 = xmm3[0],xmm4[0]
movaps -0x110(%rbp), %xmm1
subss %xmm12, %xmm1
divss %xmm7, %xmm5
movss %xmm13, -0x50(%rbp)
divss %xmm13, %xmm1
movups %xmm3, -0x70(%rbp)
movss %xmm9, -0x34(%rbp)
mulss %xmm1, %xmm9
addss %xmm12, %xmm9
movss %xmm6, -0x60(%rbp)
movss %xmm14, -0x5c(%rbp)
movss %xmm11, -0x58(%rbp)
movss %xmm15, -0x54(%rbp)
ucomiss %xmm1, %xmm5
movss %xmm14, -0x14c(%rbp)
movaps %xmm12, -0x260(%rbp)
jbe 0x3590
movss %xmm9, -0x2c(%rbp)
movaps %xmm1, -0x1e0(%rbp)
movaps -0x240(%rbp), %xmm1
movaps -0x140(%rbp), %xmm2
movaps %xmm2, -0x240(%rbp)
movaps %xmm1, -0x140(%rbp)
movups -0x70(%rbp), %xmm1
movaps %xmm1, -0x60(%rbp)
movss %xmm6, -0x70(%rbp)
movss %xmm14, -0x6c(%rbp)
movss -0x74(%rbp), %xmm1
movss %xmm1, -0x68(%rbp)
movss -0x78(%rbp), %xmm1
movss %xmm1, -0x64(%rbp)
movss %xmm12, -0x90(%rbp)
movss %xmm5, -0xd4(%rbp)
jmp 0x35ae
movss %xmm9, -0x90(%rbp)
movss %xmm12, -0x2c(%rbp)
movss %xmm1, -0xd4(%rbp)
movaps %xmm5, -0x1e0(%rbp)
movaps %xmm0, -0x250(%rbp)
callq 0x2160
cvttss2si %xmm0, %ebx
movaps -0x190(%rbp), %xmm0
callq 0x2160
testl %ebx, %ebx
js 0x3842
cvttss2si %xmm0, %eax
movl %eax, -0x150(%rbp)
cmpl %eax, %r13d
jle 0x3842
movaps -0xd0(%rbp), %xmm2
movaps -0x1b0(%rbp), %xmm0
subss %xmm0, %xmm2
divss -0x50(%rbp), %xmm2
movaps -0x120(%rbp), %xmm3
subss %xmm0, %xmm3
movss -0x34(%rbp), %xmm1
movaps %xmm2, -0x280(%rbp)
mulss %xmm2, %xmm1
divss -0x30(%rbp), %xmm3
movaps %xmm3, -0x270(%rbp)
addss %xmm0, %xmm1
movss %xmm1, -0x34(%rbp)
movl %ebx, %r13d
imulq $0xa00, %r13, %rax      # imm = 0xA00
leaq 0x3b83(%rip), %r12      # 0x71c0
addq %rax, %r12
movss %xmm0, -0x50(%rbp)
cmpl -0x150(%rbp), %r13d
jge 0x3842
movss -0x2c(%rbp), %xmm0
callq 0x2160
cvttss2si %xmm0, %r14d
movss -0x90(%rbp), %xmm0
callq 0x2160
testl %r14d, %r14d
js 0x3842
cvttss2si %xmm0, %ebx
movq -0xb8(%rbp), %rax
cmpl %ebx, 0x10(%rax)
jle 0x3842
movss -0x70(%rbp), %xmm0
movss -0x6c(%rbp), %xmm1
subss -0x60(%rbp), %xmm0
subss -0x5c(%rbp), %xmm1
movss -0x68(%rbp), %xmm2
subss -0x58(%rbp), %xmm2
movss -0x64(%rbp), %xmm3
subss -0x54(%rbp), %xmm3
movss -0x90(%rbp), %xmm4
subss -0x2c(%rbp), %xmm4
divss %xmm4, %xmm0
divss %xmm4, %xmm1
unpcklps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
divss %xmm4, %xmm2
movss %xmm4, -0xb0(%rbp)
divss %xmm4, %xmm3
unpcklps %xmm3, %xmm2            # xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
movlhps %xmm2, %xmm0            # xmm0 = xmm0[0],xmm2[0]
movups %xmm0, -0x1d0(%rbp)
movaps -0x60(%rbp), %xmm0
movaps %xmm0, -0xf0(%rbp)
movss -0x34(%rbp), %xmm0
subss -0x50(%rbp), %xmm0
movss %xmm0, -0x130(%rbp)
movl %r14d, %r15d
movq %r12, -0x148(%rbp)
leaq (%r12,%r15,4), %r12
xorl %r14d, %r14d
leaq (%r15,%r14), %rsi
cmpl %ebx, %esi
jge 0x37be
cvtsi2ss %r14d, %xmm0
mulss -0x130(%rbp), %xmm0
divss -0xb0(%rbp), %xmm0
addss -0x50(%rbp), %xmm0
movss (%r12,%r14,4), %xmm1
ucomiss %xmm0, %xmm1
jbe 0x37a3
movss -0xf0(%rbp), %xmm1
movss 0x19a1(%rip), %xmm2     # 0x50f8
mulss %xmm2, %xmm1
cvttss2si %xmm1, %ecx
movss -0xec(%rbp), %xmm1
mulss %xmm2, %xmm1
cvttss2si %xmm1, %r8d
movss -0xe8(%rbp), %xmm1
mulss %xmm2, %xmm1
cvttss2si %xmm1, %r9d
movss %xmm0, (%r12,%r14,4)
movl $0xff, %eax
andl %eax, %ecx
andl %eax, %r8d
andl %eax, %r9d
movq -0xb8(%rbp), %rdi
movl %r13d, %edx
callq 0x4082
leaq -0xf0(%rbp), %rdi
leaq -0x1d0(%rbp), %rsi
callq 0x40d0
incq %r14
jmp 0x3716
movss -0x2c(%rbp), %xmm0
addss -0x1e0(%rbp), %xmm0
movss %xmm0, -0x2c(%rbp)
movss -0x90(%rbp), %xmm0
addss -0xd4(%rbp), %xmm0
movss %xmm0, -0x90(%rbp)
movss -0x50(%rbp), %xmm0
addss -0x270(%rbp), %xmm0
movss %xmm0, -0x50(%rbp)
movss -0x34(%rbp), %xmm0
addss -0x280(%rbp), %xmm0
movss %xmm0, -0x34(%rbp)
leaq -0x60(%rbp), %rdi
leaq -0x240(%rbp), %rsi
callq 0x40d0
leaq -0x70(%rbp), %rdi
leaq -0x140(%rbp), %rsi
callq 0x40d0
incq %r13
movq -0x148(%rbp), %r12
addq $0xa00, %r12            # imm = 0xA00
jmp 0x3645
movaps -0x1a0(%rbp), %xmm15
movaps -0x160(%rbp), %xmm6
movaps -0x190(%rbp), %xmm10
movss -0x14c(%rbp), %xmm9
movss -0x38(%rbp), %xmm7
movaps -0x260(%rbp), %xmm12
movaps -0x250(%rbp), %xmm0
xorps %xmm2, %xmm2
movaps %xmm15, %xmm3
subss %xmm10, %xmm3
ucomiss %xmm2, %xmm3
jne 0x388d
jnp 0x3d27
movaps -0x110(%rbp), %xmm4
movaps %xmm4, -0xb0(%rbp)
subss %xmm0, %xmm15
subss %xmm12, %xmm4
divss %xmm15, %xmm4
movss -0x30(%rbp), %xmm5
movaps %xmm5, %xmm0
mulss %xmm4, %xmm0
addss %xmm12, %xmm0
movss %xmm0, -0x50(%rbp)
movaps -0x170(%rbp), %xmm8
movaps %xmm8, %xmm1
subss -0x84(%rbp), %xmm1
movaps %xmm7, %xmm0
movaps -0x100(%rbp), %xmm7
movaps %xmm9, %xmm12
movaps %xmm6, %xmm9
movaps %xmm7, %xmm2
subss -0x80(%rbp), %xmm2
movaps %xmm3, %xmm10
movaps %xmm6, %xmm3
movss -0x78(%rbp), %xmm14
subss -0x7c(%rbp), %xmm3
divss %xmm10, %xmm1
divss %xmm10, %xmm2
unpcklps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movaps -0x180(%rbp), %xmm6
movaps %xmm6, %xmm2
movss -0x74(%rbp), %xmm11
movss -0x94(%rbp), %xmm13
subss %xmm13, %xmm2
divss %xmm10, %xmm3
divss %xmm10, %xmm2
unpcklps %xmm2, %xmm3            # xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
subss %xmm0, %xmm8
subss %xmm12, %xmm7
subss %xmm11, %xmm9
subss %xmm14, %xmm6
movlhps %xmm3, %xmm1            # xmm1 = xmm1[0],xmm3[0]
movups %xmm1, -0x240(%rbp)
divss %xmm15, %xmm8
divss %xmm15, %xmm7
divss %xmm15, %xmm9
movss %xmm15, -0x130(%rbp)
divss %xmm15, %xmm6
movaps %xmm5, %xmm1
mulss %xmm8, %xmm1
unpcklps %xmm7, %xmm8            # xmm8 = xmm8[0],xmm7[0],xmm8[1],xmm7[1]
movaps %xmm5, %xmm2
mulss %xmm9, %xmm2
unpcklps %xmm6, %xmm9            # xmm9 = xmm9[0],xmm6[0],xmm9[1],xmm6[1]
movlhps %xmm9, %xmm8            # xmm8 = xmm8[0],xmm9[0]
movups %xmm8, -0x140(%rbp)
addss %xmm0, %xmm1
movss -0x80(%rbp), %xmm8
mulss %xmm5, %xmm7
addss %xmm12, %xmm7
unpcklps %xmm7, %xmm1            # xmm1 = xmm1[0],xmm7[0],xmm1[1],xmm7[1]
addss %xmm11, %xmm2
mulss %xmm5, %xmm6
movaps -0xb0(%rbp), %xmm5
movaps %xmm13, %xmm11
movss -0x7c(%rbp), %xmm13
movss -0x84(%rbp), %xmm15
addss %xmm14, %xmm6
unpcklps %xmm6, %xmm2            # xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1]
movlhps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0]
movups %xmm1, -0x70(%rbp)
movaps -0x1c0(%rbp), %xmm3
subss %xmm3, %xmm5
movss %xmm10, -0xb0(%rbp)
divss %xmm10, %xmm5
movss %xmm15, -0x60(%rbp)
movss %xmm8, -0x5c(%rbp)
movss %xmm13, -0x58(%rbp)
movss %xmm11, -0x54(%rbp)
ucomiss %xmm5, %xmm4
jbe 0x3a64
movaps %xmm4, -0x110(%rbp)
movaps -0x240(%rbp), %xmm1
movaps -0x140(%rbp), %xmm2
movaps %xmm2, -0x240(%rbp)
movaps %xmm1, -0x140(%rbp)
movups -0x70(%rbp), %xmm1
movaps %xmm1, -0x60(%rbp)
movss %xmm15, -0x70(%rbp)
movss %xmm8, -0x6c(%rbp)
movss %xmm13, -0x68(%rbp)
movss %xmm11, -0x64(%rbp)
movss %xmm3, -0x2c(%rbp)
movss %xmm5, -0x34(%rbp)
jmp 0x3a7f
movss -0x50(%rbp), %xmm0
movss %xmm0, -0x2c(%rbp)
movss %xmm3, -0x50(%rbp)
movss %xmm4, -0x34(%rbp)
movaps %xmm5, -0x110(%rbp)
movaps -0x190(%rbp), %xmm0
callq 0x2160
cvttss2si %xmm0, %ebx
movaps -0x1a0(%rbp), %xmm0
callq 0x2160
testl %ebx, %ebx
movss -0x50(%rbp), %xmm3
js 0x3d27
cvttss2si %xmm0, %ecx
movq -0xb8(%rbp), %rax
movl %ecx, -0x148(%rbp)
cmpl %ecx, 0x14(%rax)
jle 0x3d27
movaps -0xd0(%rbp), %xmm0
movaps %xmm0, %xmm4
movaps -0x1b0(%rbp), %xmm2
subss %xmm2, %xmm4
divss -0x130(%rbp), %xmm4
subss -0x120(%rbp), %xmm0
movss -0x30(%rbp), %xmm1
movaps %xmm4, -0x100(%rbp)
mulss %xmm4, %xmm1
divss -0xb0(%rbp), %xmm0
movaps %xmm0, -0xd0(%rbp)
addss %xmm2, %xmm1
movss %xmm1, -0x30(%rbp)
movl %ebx, %r13d
imulq $0xa00, %r13, %rax      # imm = 0xA00
leaq 0x36a0(%rip), %r12      # 0x71c0
addq %rax, %r12
cmpl -0x148(%rbp), %r13d
jge 0x3d27
movaps %xmm3, %xmm0
movss %xmm3, -0x50(%rbp)
callq 0x2160
cvttss2si %xmm0, %r14d
movss -0x2c(%rbp), %xmm0
callq 0x2160
movss -0x50(%rbp), %xmm4
testl %r14d, %r14d
js 0x3d27
cvttss2si %xmm0, %ebx
movq -0xb8(%rbp), %rax
cmpl %ebx, 0x10(%rax)
jle 0x3d27
movss -0x70(%rbp), %xmm0
movss -0x6c(%rbp), %xmm1
subss -0x60(%rbp), %xmm0
subss -0x5c(%rbp), %xmm1
movss -0x68(%rbp), %xmm2
subss -0x58(%rbp), %xmm2
movss -0x64(%rbp), %xmm3
subss -0x54(%rbp), %xmm3
movss -0x2c(%rbp), %xmm5
subss %xmm4, %xmm5
divss %xmm5, %xmm0
divss %xmm5, %xmm1
unpcklps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
divss %xmm5, %xmm2
movss %xmm5, -0xb0(%rbp)
divss %xmm5, %xmm3
unpcklps %xmm3, %xmm2            # xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
movlhps %xmm2, %xmm0            # xmm0 = xmm0[0],xmm2[0]
movups %xmm0, -0x1d0(%rbp)
movaps -0x60(%rbp), %xmm0
movaps %xmm0, -0xf0(%rbp)
movss -0x30(%rbp), %xmm0
subss -0x120(%rbp), %xmm0
movss %xmm0, -0x130(%rbp)
movl %r14d, %r15d
movq %r12, -0x90(%rbp)
leaq (%r12,%r15,4), %r12
xorl %r14d, %r14d
leaq (%r15,%r14), %rsi
cmpl %ebx, %esi
jge 0x3ca8
cvtsi2ss %r14d, %xmm0
mulss -0x130(%rbp), %xmm0
divss -0xb0(%rbp), %xmm0
addss -0x120(%rbp), %xmm0
movss (%r12,%r14,4), %xmm1
ucomiss %xmm0, %xmm1
jbe 0x3c88
movss -0xf0(%rbp), %xmm1
movss 0x14bc(%rip), %xmm2     # 0x50f8
mulss %xmm2, %xmm1
cvttss2si %xmm1, %ecx
movss -0xec(%rbp), %xmm1
mulss %xmm2, %xmm1
cvttss2si %xmm1, %r8d
movss -0xe8(%rbp), %xmm1
mulss %xmm2, %xmm1
cvttss2si %xmm1, %r9d
movss %xmm0, (%r12,%r14,4)
movl $0xff, %eax
andl %eax, %ecx
andl %eax, %r8d
andl %eax, %r9d
movq -0xb8(%rbp), %rdi
movl %r13d, %edx
callq 0x4082
leaq -0xf0(%rbp), %rdi
leaq -0x1d0(%rbp), %rsi
callq 0x40d0
incq %r14
movss -0x50(%rbp), %xmm4
jmp 0x3bf8
addss -0x110(%rbp), %xmm4
movss %xmm4, -0x50(%rbp)
movss -0x2c(%rbp), %xmm0
addss -0x34(%rbp), %xmm0
movss %xmm0, -0x2c(%rbp)
movaps -0x120(%rbp), %xmm0
addss -0xd0(%rbp), %xmm0
movaps %xmm0, -0x120(%rbp)
movss -0x30(%rbp), %xmm0
addss -0x100(%rbp), %xmm0
movss %xmm0, -0x30(%rbp)
leaq -0x60(%rbp), %rdi
leaq -0x240(%rbp), %rsi
callq 0x40d0
leaq -0x70(%rbp), %rdi
leaq -0x140(%rbp), %rsi
callq 0x40d0
movss -0x50(%rbp), %xmm3
incq %r13
movq -0x90(%rbp), %r12
addq $0xa00, %r12            # imm = 0xA00
jmp 0x3b23
addq $0x2c8, %rsp            # imm = 0x2C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop