// File: tomfunkhouser[P]gaps/apps/mshcompare/mshcompare.cpp
// Function: CreateMeshPropertySet(gaps::R3Mesh*, gaps::R3Mesh*)
static R3MeshPropertySet *
CreateMeshPropertySet(R3Mesh *mesh1, R3Mesh *mesh2)
{
  // Start statistics
  RNTime start_time;
  start_time.Read();
  if (print_verbose) {
    printf("Creating mesh properties ...\n");
    fflush(stdout);
  }

  // Create property set
  R3MeshPropertySet *properties = new R3MeshPropertySet(mesh1);
  if (!properties) {
    fprintf(stderr, "Unable to open allocate mesh property set\n");
    return NULL;
  }

  // Create properties
  R3MeshProperty *p;
  p = new R3MeshProperty(mesh1, "distance"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "NdotN"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "type1"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "id1"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "category1"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "curvature1"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "boundary1"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "position1.x"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "position1.y"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "position1.z"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "normal1.x"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "normal1.y"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "normal1.z"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "type2"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "id2"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "category2"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "curvature2"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "boundary2"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "position2.x"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "position2.y"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "position2.z"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "normal2.x"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "normal2.y"); properties->Insert(p);
  p = new R3MeshProperty(mesh1, "normal2.z"); properties->Insert(p);
  
  // Compute distances from vertices of mesh1 to closest face in mesh2
  R3MeshIntersection closest2;
  R3MeshSearchTree kdtree2(mesh2);
  for (int i = 0; i < mesh1->NVertices(); i++) {
    R3MeshVertex *vertex1 = mesh1->Vertex(i);
    R3MeshFace *face1 = mesh1->FaceOnVertex(vertex1);
    const R3Point& position1 = mesh1->VertexPosition(vertex1);
    int id1 = mesh1->VertexID(vertex1);
    int type1 = R3_MESH_VERTEX_TYPE;
    R3Vector normal1 = mesh1->VertexNormal(vertex1);
    RNScalar curvature1 = mesh1->VertexMeanCurvature(vertex1);
    RNBoolean boundary1 = mesh1->IsVertexOnBoundary(vertex1);
    int category1 = (face1) ? mesh1->FaceCategory(face1) : -1;
    kdtree2.FindClosest(position1, closest2);
    if (closest2.type == R3_MESH_NULL_TYPE) RNAbort("Error");
    R3MeshFace *face2 = closest2.face;
    int type2 = closest2.type;
    RNLength distance = closest2.t;
    int category2 = (face2) ? mesh2->FaceCategory(face2) : -1;
    R3Point position2 = closest2.point;
    int id2 = 0;
    R3Vector normal2 = R3zero_vector;
    RNScalar curvature2 =0;
    RNBoolean boundary2 = FALSE;
    if (closest2.type == R3_MESH_VERTEX_TYPE) {
      id2 = mesh2->VertexID(closest2.vertex);
      normal2 = mesh2->VertexNormal(closest2.vertex);
      curvature2 = mesh2->VertexMeanCurvature(closest2.vertex);
      boundary2 = mesh2->IsVertexOnBoundary(closest2.vertex);
    }
    else if (closest2.type == R3_MESH_EDGE_TYPE) {
      R3MeshVertex *vA = mesh2->VertexOnEdge(closest2.edge, 0);
      R3MeshVertex *vB = mesh2->VertexOnEdge(closest2.edge, 1);
      RNScalar curvatureA = mesh2->VertexMeanCurvature(vA);
      RNScalar curvatureB = mesh2->VertexMeanCurvature(vB);
      id2 = mesh2->EdgeID(closest2.edge);
      normal2 = mesh2->EdgeNormal(closest2.edge);
      curvature2 = (curvatureA + curvatureB) / 2.0;
      boundary2 = mesh2->IsEdgeOnBoundary(closest2.edge);
    }
    else if (closest2.type == R3_MESH_FACE_TYPE) {
      R3MeshVertex *vA = mesh2->VertexOnFace(closest2.face, 0);
      R3MeshVertex *vB = mesh2->VertexOnFace(closest2.face, 1);
      R3MeshVertex *vC = mesh2->VertexOnFace(closest2.face, 2);
      RNScalar curvatureA = mesh2->VertexMeanCurvature(vA);
      RNScalar curvatureB = mesh2->VertexMeanCurvature(vB);
      RNScalar curvatureC = mesh2->VertexMeanCurvature(vC);
      id2 = mesh2->FaceID(closest2.face);
      normal2 = mesh2->FaceNormal(closest2.face);
      curvature2 = (curvatureA + curvatureB + curvatureC) / 3.0;
      boundary2 = FALSE;
    }

    // Add entries to properties
    int cnt = 0;
    properties->Property(cnt++)->SetVertexValue(i, distance);
    properties->Property(cnt++)->SetVertexValue(i, normal1.Dot(normal2));
    properties->Property(cnt++)->SetVertexValue(i, type1);
    properties->Property(cnt++)->SetVertexValue(i, id1);
    properties->Property(cnt++)->SetVertexValue(i, category1);
    properties->Property(cnt++)->SetVertexValue(i, curvature1);
    properties->Property(cnt++)->SetVertexValue(i, boundary1);
    properties->Property(cnt++)->SetVertexValue(i, position1.X());
    properties->Property(cnt++)->SetVertexValue(i, position1.Y());
    properties->Property(cnt++)->SetVertexValue(i, position1.Z());
    properties->Property(cnt++)->SetVertexValue(i, normal1.X());
    properties->Property(cnt++)->SetVertexValue(i, normal1.Y());
    properties->Property(cnt++)->SetVertexValue(i, normal1.Z());
    properties->Property(cnt++)->SetVertexValue(i, type2);
    properties->Property(cnt++)->SetVertexValue(i, id2);
    properties->Property(cnt++)->SetVertexValue(i, category2);
    properties->Property(cnt++)->SetVertexValue(i, curvature2);
    properties->Property(cnt++)->SetVertexValue(i, boundary2);
    properties->Property(cnt++)->SetVertexValue(i, position2.X());
    properties->Property(cnt++)->SetVertexValue(i, position2.Y());
    properties->Property(cnt++)->SetVertexValue(i, position2.Z());
    properties->Property(cnt++)->SetVertexValue(i, normal2.X());
    properties->Property(cnt++)->SetVertexValue(i, normal2.Y());
    properties->Property(cnt++)->SetVertexValue(i, normal2.Z());
    assert(cnt == properties->NProperties());
  }

  // Print statistics
  if (print_verbose) {
    printf("  Time = %.2f seconds\n", start_time.Elapsed());
    printf("  # Vertices = %d\n", mesh1->NVertices());
    printf("  # Properties = %d\n", properties->NProperties());
    fflush(stdout);
  }

  // Return properties
  return properties;
}

// Assembly:
subq $0x508, %rsp            # imm = 0x508
movq %rdi, 0x4f8(%rsp)
movq %rsi, 0x4f0(%rsp)
leaq 0x4e0(%rsp), %rdi
callq 0xa6110
leaq 0x4e0(%rsp), %rdi
callq 0x122e0
cmpl $0x0, 0xc27a8(%rip)     # 0xd2be0
je 0x10457
leaq 0x9aca4(%rip), %rdi     # 0xab0e5
movb $0x0, %al
callq 0xd070
movq 0xc1b51(%rip), %rax     # 0xd1fa0
movq (%rax), %rdi
callq 0xd4d0
movl $0x18, %edi
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x338(%rsp)
movq 0x4f8(%rsp), %rsi
callq 0x196e0
jmp 0x1047e
movq 0x338(%rsp), %rax
movq %rax, 0x4d8(%rsp)
cmpq $0x0, 0x4d8(%rsp)
jne 0x104ed
movq 0xc1b28(%rip), %rax     # 0xd1fc8
movq (%rax), %rdi
leaq 0x9ac59(%rip), %rsi     # 0xab103
movb $0x0, %al
callq 0xd5b0
movq $0x0, 0x500(%rsp)
jmp 0x121f3
movq 0x338(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x18, %esi
callq 0xd400
jmp 0x12203
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x330(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9ac1a(%rip), %rdx     # 0xab12e
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x1051f
movq 0x330(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x328(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9abcc(%rip), %rdx     # 0xab137
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x10576
movq 0x328(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x320(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9ab7b(%rip), %rdx     # 0xab13d
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x105cd
movq 0x320(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x318(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9ab2a(%rip), %rdx     # 0xab143
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x10624
movq 0x318(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x310(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9aad7(%rip), %rdx     # 0xab147
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x1067b
movq 0x310(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x308(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9aa8a(%rip), %rdx     # 0xab151
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x106d2
movq 0x308(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x300(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9aa3e(%rip), %rdx     # 0xab15c
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x10729
movq 0x300(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x2f8(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9a9f1(%rip), %rdx     # 0xab166
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x10780
movq 0x2f8(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x2f0(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9a9a6(%rip), %rdx     # 0xab172
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x107d7
movq 0x2f0(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x2e8(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9a95b(%rip), %rdx     # 0xab17e
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x1082e
movq 0x2e8(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x2e0(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9a910(%rip), %rdx     # 0xab18a
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x10885
movq 0x2e0(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x2d8(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9a8c3(%rip), %rdx     # 0xab194
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x108dc
movq 0x2d8(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x2d0(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9a876(%rip), %rdx     # 0xab19e
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x10933
movq 0x2d0(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x2c8(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9a829(%rip), %rdx     # 0xab1a8
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x1098a
movq 0x2c8(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x2c0(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9a7d8(%rip), %rdx     # 0xab1ae
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x109e1
movq 0x2c0(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x2b8(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9a785(%rip), %rdx     # 0xab1b2
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x10a38
movq 0x2b8(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x2b0(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9a738(%rip), %rdx     # 0xab1bc
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x10a8f
movq 0x2b0(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x2a8(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9a6ec(%rip), %rdx     # 0xab1c7
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x10ae6
movq 0x2a8(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x2a0(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9a69f(%rip), %rdx     # 0xab1d1
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x10b3d
movq 0x2a0(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x298(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9a654(%rip), %rdx     # 0xab1dd
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x10b94
movq 0x298(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x290(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9a609(%rip), %rdx     # 0xab1e9
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x10beb
movq 0x290(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x288(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9a5be(%rip), %rdx     # 0xab1f5
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x10c42
movq 0x288(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x280(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9a571(%rip), %rdx     # 0xab1ff
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x10c99
movq 0x280(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
movl $0x448, %edi            # imm = 0x448
callq 0xd3f0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x278(%rsp)
movq 0x4f8(%rsp), %rsi
leaq 0x9a524(%rip), %rdx     # 0xab209
xorl %eax, %eax
movl %eax, %ecx
callq 0x1c890
jmp 0x10cf0
movq 0x278(%rsp), %rax
movq %rax, 0x4c0(%rsp)
movq 0x4d8(%rsp), %rdi
movq 0x4c0(%rsp), %rsi
callq 0x19820
leaq 0x480(%rsp), %rdi
callq 0x12370
movq 0x4f0(%rsp), %rsi
leaq 0x468(%rsp), %rdi
callq 0x12930
movl $0x0, 0x464(%rsp)
movl 0x464(%rsp), %eax
movl %eax, 0x274(%rsp)
movq 0x4f8(%rsp), %rdi
callq 0x12340
movl %eax, %ecx
movl 0x274(%rsp), %eax
cmpl %ecx, %eax
jge 0x12145
movq 0x4f8(%rsp), %rdi
movl 0x464(%rsp), %esi
callq 0x12390
movq %rax, 0x268(%rsp)
jmp 0x10d8c
movq 0x268(%rsp), %rax
movq %rax, 0x458(%rsp)
movq 0x4f8(%rsp), %rdi
movq 0x458(%rsp), %rsi
callq 0x123c0
movq %rax, 0x260(%rsp)
jmp 0x10dbb
movq 0x260(%rsp), %rax
movq %rax, 0x450(%rsp)
movq 0x4f8(%rsp), %rdi
movq 0x458(%rsp), %rsi
callq 0x12470
movq %rax, 0x258(%rsp)
jmp 0x10dea
movq 0x258(%rsp), %rax
movq %rax, 0x448(%rsp)
movq 0x4f8(%rsp), %rdi
movq 0x458(%rsp), %rsi
callq 0x12490
movl %eax, 0x254(%rsp)
jmp 0x10e18
movl 0x254(%rsp), %eax
movl %eax, 0x444(%rsp)
movl $0x1, 0x440(%rsp)
movq 0x4f8(%rsp), %rdi
movq 0x458(%rsp), %rsi
callq 0x124b0
movq %rax, 0x248(%rsp)
jmp 0x10e50
movq 0x248(%rsp), %rsi
leaq 0x428(%rsp), %rdi
callq 0x7e040
jmp 0x10e67
movq 0x4f8(%rsp), %rdi
movq 0x458(%rsp), %rsi
callq 0x3a3b0
movsd %xmm0, 0x240(%rsp)
jmp 0x10e87
movsd 0x240(%rsp), %xmm0
movsd %xmm0, 0x420(%rsp)
movq 0x4f8(%rsp), %rdi
movq 0x458(%rsp), %rsi
callq 0x3b160
movl %eax, 0x23c(%rsp)
jmp 0x10eb7
movl 0x23c(%rsp), %eax
movl %eax, 0x41c(%rsp)
cmpq $0x0, 0x450(%rsp)
je 0x10efe
movq 0x4f8(%rsp), %rdi
movq 0x450(%rsp), %rsi
callq 0x12520
movl %eax, 0x238(%rsp)
jmp 0x10eee
movl 0x238(%rsp), %eax
movl %eax, 0x234(%rsp)
jmp 0x10f0c
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movl %eax, 0x234(%rsp)
jmp 0x10f0c
movl 0x234(%rsp), %eax
movl %eax, 0x418(%rsp)
movq 0x448(%rsp), %rsi
leaq 0xc1c87(%rip), %rax     # 0xd2bb0
movsd (%rax), %xmm1
xorl %eax, %eax
movl %eax, %r8d
leaq 0x468(%rsp), %rdi
leaq 0x480(%rsp), %rdx
xorps %xmm0, %xmm0
movq %r8, %rcx
callq 0x15d20
jmp 0x10f4f
cmpl $0x0, 0x480(%rsp)
jne 0x113a0
leaq 0x9a2af(%rip), %rdi     # 0xab213
xorl %eax, %eax
callq 0xaa220
jmp 0x10f6d
jmp 0x113a0
movq 0x330(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x328(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x320(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x318(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x310(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x308(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x300(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x2f8(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x2f0(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x2e8(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x2e0(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x2d8(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x2d0(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x2c8(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x2c0(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x2b8(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x2b0(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x2a8(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x2a0(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x298(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x290(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x288(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x280(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq 0x278(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
movl $0x448, %esi            # imm = 0x448
callq 0xd400
jmp 0x12203
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x4d0(%rsp)
movl %eax, 0x4cc(%rsp)
leaq 0x468(%rsp), %rdi
callq 0x12af0
jmp 0x12203
movq 0x498(%rsp), %rax
movq %rax, 0x410(%rsp)
movl 0x480(%rsp), %eax
movl %eax, 0x40c(%rsp)
movsd 0x4b8(%rsp), %xmm0
movsd %xmm0, 0x400(%rsp)
cmpq $0x0, 0x410(%rsp)
je 0x11409
movq 0x4f0(%rsp), %rdi
movq 0x410(%rsp), %rsi
callq 0x12520
movl %eax, 0x230(%rsp)
jmp 0x113f9
movl 0x230(%rsp), %eax
movl %eax, 0x22c(%rsp)
jmp 0x11417
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movl %eax, 0x22c(%rsp)
jmp 0x11417
movl 0x22c(%rsp), %eax
movl %eax, 0x3fc(%rsp)
leaq 0x4a0(%rsp), %rsi
leaq 0x3e0(%rsp), %rdi
callq 0x7cee0
jmp 0x1143c
movl $0x0, 0x3dc(%rsp)
leaq 0xc2612(%rip), %rsi     # 0xd3a60
leaq 0x3c0(%rsp), %rdi
callq 0x7e040
jmp 0x1145d
xorps %xmm0, %xmm0
movsd %xmm0, 0x3b8(%rsp)
movl $0x0, 0x3b4(%rsp)
cmpl $0x1, 0x480(%rsp)
jne 0x11547
movq 0x4f0(%rsp), %rdi
movq 0x488(%rsp), %rsi
callq 0x12490
movl %eax, 0x228(%rsp)
jmp 0x114a0
movl 0x228(%rsp), %eax
movl %eax, 0x3dc(%rsp)
movq 0x4f0(%rsp), %rdi
movq 0x488(%rsp), %rsi
callq 0x124b0
movq %rax, 0x220(%rsp)
jmp 0x114cd
movq 0x220(%rsp), %rsi
leaq 0x3c0(%rsp), %rdi
callq 0x7ecc0
jmp 0x114e4
movq 0x4f0(%rsp), %rdi
movq 0x488(%rsp), %rsi
callq 0x3a3b0
movsd %xmm0, 0x218(%rsp)
jmp 0x11504
movsd 0x218(%rsp), %xmm0
movsd %xmm0, 0x3b8(%rsp)
movq 0x4f0(%rsp), %rdi
movq 0x488(%rsp), %rsi
callq 0x3b160
movl %eax, 0x214(%rsp)
jmp 0x11534
movl 0x214(%rsp), %eax
movl %eax, 0x3b4(%rsp)
jmp 0x118ba
cmpl $0x2, 0x480(%rsp)
jne 0x116dc
movq 0x4f0(%rsp), %rdi
movq 0x490(%rsp), %rsi
xorl %edx, %edx
callq 0x12540
movq %rax, 0x208(%rsp)
jmp 0x11576
movq 0x208(%rsp), %rax
movq %rax, 0x3a8(%rsp)
movq 0x4f0(%rsp), %rdi
movq 0x490(%rsp), %rsi
movl $0x1, %edx
callq 0x12540
movq %rax, 0x200(%rsp)
jmp 0x115aa
movq 0x200(%rsp), %rax
movq %rax, 0x3a0(%rsp)
movq 0x4f0(%rsp), %rdi
movq 0x3a8(%rsp), %rsi
callq 0x3a3b0
movsd %xmm0, 0x1f8(%rsp)
jmp 0x115da
movsd 0x1f8(%rsp), %xmm0
movsd %xmm0, 0x398(%rsp)
movq 0x4f0(%rsp), %rdi
movq 0x3a0(%rsp), %rsi
callq 0x3a3b0
movsd %xmm0, 0x1f0(%rsp)
jmp 0x1160c
movsd 0x1f0(%rsp), %xmm0
movsd %xmm0, 0x390(%rsp)
movq 0x4f0(%rsp), %rdi
movq 0x490(%rsp), %rsi
callq 0x12560
movl %eax, 0x1ec(%rsp)
jmp 0x1163c
movl 0x1ec(%rsp), %eax
movl %eax, 0x3dc(%rsp)
movq 0x4f0(%rsp), %rsi
movq 0x490(%rsp), %rdx
leaq 0x378(%rsp), %rdi
callq 0x3a7d0
jmp 0x11669
leaq 0x3c0(%rsp), %rdi
leaq 0x378(%rsp), %rsi
callq 0x7ecc0
jmp 0x11680
movsd 0x398(%rsp), %xmm0
movsd 0x390(%rsp), %xmm1
addsd %xmm1, %xmm0
movsd 0x99972(%rip), %xmm1    # 0xab010
mulsd %xmm1, %xmm0
movsd %xmm0, 0x3b8(%rsp)
movq 0x4f0(%rsp), %rdi
movq 0x490(%rsp), %rsi
callq 0x12580
movl %eax, 0x1e8(%rsp)
jmp 0x116c9
movl 0x1e8(%rsp), %eax
movl %eax, 0x3b4(%rsp)
jmp 0x118b8
cmpl $0x3, 0x480(%rsp)
jne 0x118b6
movq 0x4f0(%rsp), %rdi
movq 0x498(%rsp), %rsi
xorl %edx, %edx
callq 0x125c0
movq %rax, 0x1e0(%rsp)
jmp 0x1170b
movq 0x1e0(%rsp), %rax
movq %rax, 0x370(%rsp)
movq 0x4f0(%rsp), %rdi
movq 0x498(%rsp), %rsi
movl $0x1, %edx
callq 0x125c0
movq %rax, 0x1d8(%rsp)
jmp 0x1173f
movq 0x1d8(%rsp), %rax
movq %rax, 0x368(%rsp)
movq 0x4f0(%rsp), %rdi
movq 0x498(%rsp), %rsi
movl $0x2, %edx
callq 0x125c0
movq %rax, 0x1d0(%rsp)
jmp 0x11773
movq 0x1d0(%rsp), %rax
movq %rax, 0x360(%rsp)
movq 0x4f0(%rsp), %rdi
movq 0x370(%rsp), %rsi
callq 0x3a3b0
movsd %xmm0, 0x1c8(%rsp)
jmp 0x117a3
movsd 0x1c8(%rsp), %xmm0
movsd %xmm0, 0x358(%rsp)
movq 0x4f0(%rsp), %rdi
movq 0x368(%rsp), %rsi
callq 0x3a3b0
movsd %xmm0, 0x1c0(%rsp)
jmp 0x117d5
movsd 0x1c0(%rsp), %xmm0
movsd %xmm0, 0x350(%rsp)
movq 0x4f0(%rsp), %rdi
movq 0x360(%rsp), %rsi
callq 0x3a3b0
movsd %xmm0, 0x1b8(%rsp)
jmp 0x11807
movsd 0x1b8(%rsp), %xmm0
movsd %xmm0, 0x348(%rsp)
movq 0x4f0(%rsp), %rdi
movq 0x498(%rsp), %rsi
callq 0x125e0
movl %eax, 0x1b4(%rsp)
jmp 0x11837
movl 0x1b4(%rsp), %eax
movl %eax, 0x3dc(%rsp)
movq 0x4f0(%rsp), %rdi
movq 0x498(%rsp), %rsi
callq 0x12600
movq %rax, 0x1a8(%rsp)
jmp 0x11864
movq 0x1a8(%rsp), %rsi
leaq 0x3c0(%rsp), %rdi
callq 0x7ecc0
jmp 0x1187b
movsd 0x358(%rsp), %xmm0
addsd 0x350(%rsp), %xmm0
addsd 0x348(%rsp), %xmm0
movsd 0x9976a(%rip), %xmm1    # 0xab008
divsd %xmm1, %xmm0
movsd %xmm0, 0x3b8(%rsp)
movl $0x0, 0x3b4(%rsp)
jmp 0x118b8
jmp 0x118ba
movl $0x0, 0x344(%rsp)
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0x1a0(%rsp)
jmp 0x118ee
movq 0x1a0(%rsp), %rdi
movl 0x464(%rsp), %esi
movsd 0x400(%rsp), %xmm0
callq 0x1f7f0
jmp 0x1190d
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0x198(%rsp)
jmp 0x11936
movl 0x464(%rsp), %eax
movl %eax, 0x18c(%rsp)
leaq 0x428(%rsp), %rdi
leaq 0x3c0(%rsp), %rsi
callq 0x7e610
movsd %xmm0, 0x190(%rsp)
jmp 0x11964
movsd 0x190(%rsp), %xmm0
movl 0x18c(%rsp), %esi
movq 0x198(%rsp), %rdi
callq 0x1f7f0
jmp 0x11983
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0x180(%rsp)
jmp 0x119ac
movq 0x180(%rsp), %rdi
movl 0x464(%rsp), %esi
cvtsi2sdl 0x440(%rsp), %xmm0
callq 0x1f7f0
jmp 0x119cb
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0x178(%rsp)
jmp 0x119f4
movq 0x178(%rsp), %rdi
movl 0x464(%rsp), %esi
cvtsi2sdl 0x444(%rsp), %xmm0
callq 0x1f7f0
jmp 0x11a13
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0x170(%rsp)
jmp 0x11a3c
movq 0x170(%rsp), %rdi
movl 0x464(%rsp), %esi
cvtsi2sdl 0x418(%rsp), %xmm0
callq 0x1f7f0
jmp 0x11a5b
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0x168(%rsp)
jmp 0x11a84
movq 0x168(%rsp), %rdi
movl 0x464(%rsp), %esi
movsd 0x420(%rsp), %xmm0
callq 0x1f7f0
jmp 0x11aa3
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0x160(%rsp)
jmp 0x11acc
movq 0x160(%rsp), %rdi
movl 0x464(%rsp), %esi
cvtsi2sdl 0x41c(%rsp), %xmm0
callq 0x1f7f0
jmp 0x11aeb
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0x158(%rsp)
jmp 0x11b14
movl 0x464(%rsp), %eax
movl %eax, 0x14c(%rsp)
movq 0x448(%rsp), %rdi
callq 0x12660
movsd %xmm0, 0x150(%rsp)
jmp 0x11b3a
movsd 0x150(%rsp), %xmm0
movl 0x14c(%rsp), %esi
movq 0x158(%rsp), %rdi
callq 0x1f7f0
jmp 0x11b59
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0x140(%rsp)
jmp 0x11b82
movl 0x464(%rsp), %eax
movl %eax, 0x134(%rsp)
movq 0x448(%rsp), %rdi
callq 0x12670
movsd %xmm0, 0x138(%rsp)
jmp 0x11ba8
movsd 0x138(%rsp), %xmm0
movl 0x134(%rsp), %esi
movq 0x140(%rsp), %rdi
callq 0x1f7f0
jmp 0x11bc7
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0x128(%rsp)
jmp 0x11bf0
movl 0x464(%rsp), %eax
movl %eax, 0x11c(%rsp)
movq 0x448(%rsp), %rdi
callq 0x12680
movsd %xmm0, 0x120(%rsp)
jmp 0x11c16
movsd 0x120(%rsp), %xmm0
movl 0x11c(%rsp), %esi
movq 0x128(%rsp), %rdi
callq 0x1f7f0
jmp 0x11c35
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0x110(%rsp)
jmp 0x11c5e
movl 0x464(%rsp), %eax
movl %eax, 0x104(%rsp)
leaq 0x428(%rsp), %rdi
callq 0x12690
movsd %xmm0, 0x108(%rsp)
jmp 0x11c84
movsd 0x108(%rsp), %xmm0
movl 0x104(%rsp), %esi
movq 0x110(%rsp), %rdi
callq 0x1f7f0
jmp 0x11ca3
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0xf8(%rsp)
jmp 0x11ccc
movl 0x464(%rsp), %eax
movl %eax, 0xec(%rsp)
leaq 0x428(%rsp), %rdi
callq 0x126a0
movsd %xmm0, 0xf0(%rsp)
jmp 0x11cf2
movsd 0xf0(%rsp), %xmm0
movl 0xec(%rsp), %esi
movq 0xf8(%rsp), %rdi
callq 0x1f7f0
jmp 0x11d11
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0xe0(%rsp)
jmp 0x11d3a
movl 0x464(%rsp), %eax
movl %eax, 0xd4(%rsp)
leaq 0x428(%rsp), %rdi
callq 0x126b0
movsd %xmm0, 0xd8(%rsp)
jmp 0x11d60
movsd 0xd8(%rsp), %xmm0
movl 0xd4(%rsp), %esi
movq 0xe0(%rsp), %rdi
callq 0x1f7f0
jmp 0x11d7f
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0xc8(%rsp)
jmp 0x11da8
movq 0xc8(%rsp), %rdi
movl 0x464(%rsp), %esi
cvtsi2sdl 0x40c(%rsp), %xmm0
callq 0x1f7f0
jmp 0x11dc7
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0xc0(%rsp)
jmp 0x11df0
movq 0xc0(%rsp), %rdi
movl 0x464(%rsp), %esi
cvtsi2sdl 0x3dc(%rsp), %xmm0
callq 0x1f7f0
jmp 0x11e0f
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0xb8(%rsp)
jmp 0x11e38
movq 0xb8(%rsp), %rdi
movl 0x464(%rsp), %esi
cvtsi2sdl 0x3fc(%rsp), %xmm0
callq 0x1f7f0
jmp 0x11e57
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0xb0(%rsp)
jmp 0x11e80
movq 0xb0(%rsp), %rdi
movl 0x464(%rsp), %esi
movsd 0x3b8(%rsp), %xmm0
callq 0x1f7f0
jmp 0x11e9f
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0xa8(%rsp)
jmp 0x11ec8
movq 0xa8(%rsp), %rdi
movl 0x464(%rsp), %esi
cvtsi2sdl 0x3b4(%rsp), %xmm0
callq 0x1f7f0
jmp 0x11ee7
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0xa0(%rsp)
jmp 0x11f10
movl 0x464(%rsp), %eax
movl %eax, 0x94(%rsp)
leaq 0x3e0(%rsp), %rdi
callq 0x12660
movsd %xmm0, 0x98(%rsp)
jmp 0x11f36
movsd 0x98(%rsp), %xmm0
movl 0x94(%rsp), %esi
movq 0xa0(%rsp), %rdi
callq 0x1f7f0
jmp 0x11f55
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0x88(%rsp)
jmp 0x11f7e
movl 0x464(%rsp), %eax
movl %eax, 0x7c(%rsp)
leaq 0x3e0(%rsp), %rdi
callq 0x12670
movsd %xmm0, 0x80(%rsp)
jmp 0x11fa1
movsd 0x80(%rsp), %xmm0
movl 0x7c(%rsp), %esi
movq 0x88(%rsp), %rdi
callq 0x1f7f0
jmp 0x11fbd
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0x70(%rsp)
jmp 0x11fe3
movl 0x464(%rsp), %eax
movl %eax, 0x64(%rsp)
leaq 0x3e0(%rsp), %rdi
callq 0x12680
movsd %xmm0, 0x68(%rsp)
jmp 0x12003
movsd 0x68(%rsp), %xmm0
movl 0x64(%rsp), %esi
movq 0x70(%rsp), %rdi
callq 0x1f7f0
jmp 0x12019
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0x58(%rsp)
jmp 0x1203f
movl 0x464(%rsp), %eax
movl %eax, 0x4c(%rsp)
leaq 0x3c0(%rsp), %rdi
callq 0x12690
movsd %xmm0, 0x50(%rsp)
jmp 0x1205f
movsd 0x50(%rsp), %xmm0
movl 0x4c(%rsp), %esi
movq 0x58(%rsp), %rdi
callq 0x1f7f0
jmp 0x12075
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0x40(%rsp)
jmp 0x1209b
movl 0x464(%rsp), %eax
movl %eax, 0x34(%rsp)
leaq 0x3c0(%rsp), %rdi
callq 0x126a0
movsd %xmm0, 0x38(%rsp)
jmp 0x120bb
movsd 0x38(%rsp), %xmm0
movl 0x34(%rsp), %esi
movq 0x40(%rsp), %rdi
callq 0x1f7f0
jmp 0x120d1
movq 0x4d8(%rsp), %rdi
movl 0x344(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x344(%rsp)
callq 0x12630
movq %rax, 0x28(%rsp)
jmp 0x120f7
movl 0x464(%rsp), %eax
movl %eax, 0x1c(%rsp)
leaq 0x3c0(%rsp), %rdi
callq 0x126b0
movsd %xmm0, 0x20(%rsp)
jmp 0x12117
movsd 0x20(%rsp), %xmm0
movl 0x1c(%rsp), %esi
movq 0x28(%rsp), %rdi
callq 0x1f7f0
jmp 0x1212d
jmp 0x1212f
movl 0x464(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x464(%rsp)
jmp 0x10d42
cmpl $0x0, 0xc0a94(%rip)     # 0xd2be0
je 0x121d6
leaq 0x4e0(%rsp), %rdi
callq 0xa61d0
movsd %xmm0, 0x10(%rsp)
jmp 0x12167
movsd 0x10(%rsp), %xmm0
leaq 0x98f27(%rip), %rdi     # 0xab09b
movb $0x1, %al
callq 0xd070
jmp 0x1217d
movq 0x4f8(%rsp), %rdi
callq 0x12340
movl %eax, %esi
leaq 0x98f3f(%rip), %rdi     # 0xab0d2
xorl %eax, %eax
callq 0xd070
jmp 0x1219c
movq 0x4d8(%rsp), %rdi
callq 0x126c0
movl %eax, 0xc(%rsp)
jmp 0x121af
movl 0xc(%rsp), %esi
leaq 0x9905f(%rip), %rdi     # 0xab219
xorl %eax, %eax
callq 0xd070
jmp 0x121c3
movq 0xbfdd6(%rip), %rax     # 0xd1fa0
movq (%rax), %rdi
callq 0xd4d0
jmp 0x121d4
jmp 0x121d6
movq 0x4d8(%rsp), %rax
movq %rax, 0x500(%rsp)
leaq 0x468(%rsp), %rdi
callq 0x12af0
movq 0x500(%rsp), %rax
addq $0x508, %rsp            # imm = 0x508
retq
movq 0x4d0(%rsp), %rdi
callq 0xd6c0