user: What would the C source look like for the assembly code provided here:

```asm
<__IsHBalanceBetterTT>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %edi,-0x24(%rbp)
  mov    %esi,-0x28(%rbp)
  mov    %rdx,-0x30(%rbp)
  mov    %rcx,-0x38(%rbp)
  mov    %r8,-0x40(%rbp)
  mov    %r9,-0x48(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x1c(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x18(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x14(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x10(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xc(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x8(%rbp)
  movl   $0x0,-0x20(%rbp)
  jmp    L159
L88:
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm1
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  addss  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x28(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm1
  divss  %xmm1,%xmm0
  movss  %xmm0,-0x4(%rbp)
  movss  -0x4(%rbp),%xmm0
  comiss -0x1c(%rbp),%xmm0
  jbe    L4
  movss  -0x1c(%rbp),%xmm0
  movss  %xmm0,-0x18(%rbp)
  movss  -0x4(%rbp),%xmm0
  movss  %xmm0,-0x1c(%rbp)
  jmp    L120
L4:
  movss  -0x4(%rbp),%xmm0
  comiss -0x18(%rbp),%xmm0
  jbe    L120
  movss  -0x4(%rbp),%xmm0
  movss  %xmm0,-0x18(%rbp)
L120:
  movss  -0xc(%rbp),%xmm0
  addss  -0x4(%rbp),%xmm0
  movss  %xmm0,-0xc(%rbp)
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm1
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  addss  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x28(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm1
  divss  %xmm1,%xmm0
  movss  %xmm0,-0x4(%rbp)
  movss  -0x4(%rbp),%xmm0
  comiss -0x14(%rbp),%xmm0
  jbe    L17
  movss  -0x14(%rbp),%xmm0
  movss  %xmm0,-0x10(%rbp)
  movss  -0x4(%rbp),%xmm0
  movss  %xmm0,-0x14(%rbp)
  jmp    L71
L17:
  movss  -0x4(%rbp),%xmm0
  comiss -0x10(%rbp),%xmm0
  jbe    L71
  movss  -0x4(%rbp),%xmm0
  movss  %xmm0,-0x10(%rbp)
L71:
  movss  -0x8(%rbp),%xmm0
  addss  -0x4(%rbp),%xmm0
  movss  %xmm0,-0x8(%rbp)
  addl   $0x1,-0x20(%rbp)
L159:
  mov    -0x20(%rbp),%eax
  cmp    -0x24(%rbp),%eax
  jl     L88
  movss  -0x1c(%rbp),%xmm0
  comiss -0x14(%rbp),%xmm0
  jbe    L9
  mov    $0x1,%eax
  jmp    L47
L9:
  movss  -0x14(%rbp),%xmm0
  comiss -0x1c(%rbp),%xmm0
  jbe    L121
  mov    $0x0,%eax
  jmp    L47
L121:
  movss  -0x18(%rbp),%xmm0
  comiss -0x10(%rbp),%xmm0
  jbe    L27
  mov    $0x1,%eax
  jmp    L47
L27:
  movss  -0x10(%rbp),%xmm0
  comiss -0x18(%rbp),%xmm0
  jbe    L93
  mov    $0x0,%eax
  jmp    L47
L93:
  movss  -0xc(%rbp),%xmm0
  comiss -0x8(%rbp),%xmm0
  seta   %al
  movzbl %al,%eax
L47:
  pop    %rbp
  ret
```

assistant: ```c
int __IsHBalanceBetterTT(int ncon, int nparts, float *pt1, float *pt2, float *vwgt, float *ubvec) {
  int i;
  float m11 = 0.0, m12 = 0.0, m21 = 0.0, m22 = 0.0, sm1 = 0.0, sm2 = 0.0, temp;
  for (i = 0; i < ncon; i++) {
    temp = (pt1[i] + vwgt[i]) * nparts / ubvec[i];
    if (m11 < temp) {
      m12 = m11;
      m11 = temp;
    } else if (m12 < temp)
      m12 = temp;
    sm1 += temp;
    temp = (pt2[i] + vwgt[i]) * nparts / ubvec[i];
    if (m21 < temp) {
      m22 = m21;
      m21 = temp;
    } else if (m22 < temp)
      m22 = temp;
    sm2 += temp;
  }
  if (m21 < m11)
    return 1;
  if (m21 > m11)
    return 0;
  if (m22 < m12)
    return 1;
  if (m22 > m12)
    return 0;
  return sm2 < sm1;
}
```