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

```asm
<update2>:
  endbr64
  push   %r13
  mov    %rcx,%r13
  push   %r12
  mov    %rdi,%r12
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  mov    %rdx,%rbx
  sub    $0x18,%rsp
  mov    (%rcx),%eax
  movss  %xmm0,0xc(%rsp)
  lea    0x4(,%rax,4),%edi
  call   <malloc@plt>
  movss  0xc(%rsp),%xmm2
  movl   $0x0,(%rax)
  mov    0x0(%r13),%ecx
  mov    %rax,%rdi
  test   %ecx,%ecx
  jle    L446
  mov    $0x1,%eax
L419:
  movswl 0x2(%r13,%rax,4),%edx
  mov    %edx,(%rdi,%rax,4)
  andl   $0xffff,0x0(%r13,%rax,4)
  mov    0x0(%r13),%ecx
  add    $0x1,%rax
  cmp    %eax,%ecx
  jge    L419
L446:
  mov    0x4(%r13),%edx
  cmp    $0x3,%edx
  je     L178
  mov    $0x1,%esi
  mov    $0x4,%r8d
  mov    $0x1,%eax
  pxor   %xmm3,%xmm3
L138:
  lea    0x0(,%rax,4),%r9
  test   %edx,%edx
  je     L538
L494:
  mov    %edx,%r10d
  and    $0x1,%r10d
  jne    L42
  test   $0x2,%dl
  jne    L49
  mov    %r9,%r8
  lea    0x0(,%rax,4),%r9
  test   %edx,%edx
  jne    L494
L538:
  lea    0x1(%rsi),%r9d
  movslq %r9d,%r9
  nopl   0x0(%rax)
L30:
  lea    0xfc(%rbx),%rax
  mov    %rax,%rdx
  sub    %rbp,%rdx
  sub    $0xf0,%rdx
  cmp    $0x8,%rdx
  jbe    L14
  sub    %r12,%rax
  sub    $0xf0,%rax
  cmp    $0x8,%rax
  jbe    L14
  movups 0xf0(%r12),%xmm1
  movups 0xf0(%rbp),%xmm0
  shufps $0x1b,%xmm1,%xmm1
  shufps $0x1b,%xmm0,%xmm0
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0xf0(%rbx)
  movups 0xe0(%rbp),%xmm0
  movups 0xe0(%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0xe0(%rbx)
  movups 0xd0(%rbp),%xmm0
  movups 0xd0(%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0xd0(%rbx)
  movups 0xc0(%rbp),%xmm0
  movups 0xc0(%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0xc0(%rbx)
  movups 0xb0(%rbp),%xmm0
  movups 0xb0(%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0xb0(%rbx)
  movups 0xa0(%rbp),%xmm0
  movups 0xa0(%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0xa0(%rbx)
  movups 0x90(%rbp),%xmm0
  movups 0x90(%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0x90(%rbx)
  movups 0x80(%rbp),%xmm0
  movups 0x80(%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0x80(%rbx)
  movups 0x70(%rbp),%xmm0
  movups 0x70(%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0x70(%rbx)
  movups 0x60(%rbp),%xmm0
  movups 0x60(%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0x60(%rbx)
  movups 0x50(%r12),%xmm0
  movups 0x50(%rbp),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0x50(%rbx)
  movups 0x40(%rbp),%xmm0
  movups 0x40(%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0x40(%rbx)
  movups 0x30(%r12),%xmm0
  movups 0x30(%rbp),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0x30(%rbx)
  movups 0x20(%rbp),%xmm0
  movups 0x20(%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0x20(%rbx)
  movups 0x10(%r12),%xmm0
  movups 0x10(%rbp),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0x10(%rbx)
  movups 0x0(%rbp),%xmm0
  movups (%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,(%rbx)
L17:
  mov    %r9d,%esi
  lea    0x0(,%r9,4),%r8
  add    $0x1,%r9
  add    $0x100,%r12
  mov    -0x4(%r13,%r9,4),%edx
  add    $0x100,%rbp
  add    $0x100,%rbx
  test   %edx,%edx
  je     L30
L410:
  cmp    $0x3,%edx
  je     L178
  movslq %esi,%rax
  jmp    L138
L14:
  mov    $0xfc,%eax
  cs nopw 0x0(%rax,%rax,1)
L502:
  movss  0x0(%rbp,%rax,1),%xmm0
  addss  (%r12,%rax,1),%xmm0
  movss  %xmm0,(%rbx,%rax,1)
  sub    $0x4,%rax
  cmp    $0xfffffffffffffffc,%rax
  jne    L502
  jmp    L17
L42:
  mov    (%rdi,%r8,1),%r8d
  test   $0x80,%dl
  jne    L6
  movss  0x16c(%rbp),%xmm0
  and    $0x40,%edx
  addss  %xmm3,%xmm0
  cvttss2si %xmm0,%eax
  je     L345
  cmp    $0x1,%r8d
  jle    L16
  lea    -0x2(%r8),%r10d
  lea    0x174(%rbp),%rdx
  shl    $0x8,%r10
  lea    0x274(%rbp,%r10,1),%r10
L63:
  pxor   %xmm0,%xmm0
  add    $0x100,%rdx
  cvtsi2ss %eax,%xmm0
  addss  -0x100(%rdx),%xmm0
  cvttss2si %xmm0,%eax
  cmp    %rdx,%r10
  jne    L63
L16:
  cltd
  pxor   %xmm0,%xmm0
  pxor   %xmm4,%xmm4
  idiv   %r8d
  lea    0x4(%r9),%r8
  cvtsi2ss %eax,%xmm0
  mulss  %xmm2,%xmm0
  cvttss2si %xmm0,%eax
  cvtsi2ss %eax,%xmm4
  lea    0x0(%r13,%r9,1),%rax
  movaps %xmm4,%xmm0
  movaps %xmm4,%xmm5
  shufps $0x0,%xmm0,%xmm0
  shufps $0xe0,%xmm5,%xmm5
  jmp    L122
  nopl   (%rax)
L22:
  test   $0x1,%dl
  je     L410
  mov    %r9,%r8
L122:
  mov    %rbx,%rdx
  sub    %rbp,%rdx
  add    $0xc,%rdx
  cmp    $0x8,%rdx
  jbe    L492
  movups 0xf0(%rbp),%xmm6
  movups %xmm6,0xf0(%rbx)
  movups 0xe0(%rbp),%xmm7
  movups %xmm7,0xe0(%rbx)
  movups 0xd0(%rbp),%xmm6
  movups %xmm6,0xd0(%rbx)
  movups 0xc0(%rbp),%xmm7
  movups %xmm7,0xc0(%rbx)
  movups 0xb0(%rbp),%xmm6
  movups %xmm6,0xb0(%rbx)
  movups 0xa0(%rbp),%xmm7
  movups %xmm7,0xa0(%rbx)
  movups 0x90(%rbp),%xmm6
  movups %xmm6,0x90(%rbx)
  movups 0x80(%rbp),%xmm7
  movups %xmm7,0x80(%rbx)
  movups 0x70(%rbp),%xmm6
  movups %xmm6,0x70(%rbx)
  movups 0x60(%rbp),%xmm7
  movups %xmm7,0x60(%rbx)
  movups 0x50(%rbp),%xmm6
  movups %xmm6,0x50(%rbx)
  movups 0x40(%rbp),%xmm7
  movups %xmm7,0x40(%rbx)
  movups 0x30(%rbp),%xmm6
  movups %xmm6,0x30(%rbx)
  movups 0x20(%rbp),%xmm7
  movups %xmm7,0x20(%rbx)
  movups 0x10(%rbp),%xmm6
  movups %xmm6,0x10(%rbx)
  movups 0x0(%rbp),%xmm7
  movups %xmm7,(%rbx)
L50:
  movss  0x5c(%rbx),%xmm1
  mov    0x4(%rax),%edx
  add    $0x1,%esi
  lea    0x4(%r8),%r9
  add    $0x100,%rbp
  add    $0x100,%rbx
  add    $0x4,%rax
  addss  %xmm4,%xmm1
  movss  %xmm1,-0xa4(%rbx)
  movups -0x80(%rbx),%xmm1
  addps  %xmm0,%xmm1
  movups %xmm1,-0x80(%rbx)
  movups -0x70(%rbx),%xmm1
  addps  %xmm0,%xmm1
  movups %xmm1,-0x70(%rbx)
  movups -0x60(%rbx),%xmm1
  addps  %xmm0,%xmm1
  movups %xmm1,-0x60(%rbx)
  movups -0x50(%rbx),%xmm1
  addps  %xmm0,%xmm1
  movups %xmm1,-0x50(%rbx)
  movups -0x40(%rbx),%xmm1
  addps  %xmm0,%xmm1
  movups %xmm1,-0x40(%rbx)
  movq   -0x30(%rbx),%xmm1
  addps  %xmm5,%xmm1
  movlps %xmm1,-0x30(%rbx)
  movss  -0x28(%rbx),%xmm1
  addss  %xmm4,%xmm1
  movss  %xmm1,-0x28(%rbx)
  cmp    $0x3,%edx
  jne    L22
L178:
  lea    0xfc(%rbx),%rax
  mov    %rax,%rdx
  sub    %rbp,%rdx
  sub    $0xf0,%rdx
  cmp    $0x8,%rdx
  jbe    L188
  sub    %r12,%rax
  sub    $0xf0,%rax
  cmp    $0x8,%rax
  jbe    L188
  movups 0xf0(%r12),%xmm0
  movups 0xf0(%rbp),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0xf0(%rbx)
  movups 0xe0(%r12),%xmm0
  movups 0xe0(%rbp),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0xe0(%rbx)
  movups 0xd0(%r12),%xmm0
  movups 0xd0(%rbp),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0xd0(%rbx)
  movups 0xc0(%r12),%xmm0
  movups 0xc0(%rbp),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0xc0(%rbx)
  movups 0xb0(%rbp),%xmm0
  movups 0xb0(%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0xb0(%rbx)
  movups 0xa0(%rbp),%xmm0
  movups 0xa0(%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0xa0(%rbx)
  movups 0x90(%rbp),%xmm0
  movups 0x90(%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0x90(%rbx)
  movups 0x80(%rbp),%xmm0
  movups 0x80(%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0x80(%rbx)
  movups 0x70(%rbp),%xmm0
  movups 0x70(%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0x70(%rbx)
  movups 0x60(%rbp),%xmm0
  movups 0x60(%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0x60(%rbx)
  movups 0x50(%rbp),%xmm0
  movups 0x50(%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0x50(%rbx)
  movups 0x40(%rbp),%xmm0
  movups 0x40(%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0x40(%rbx)
  movups 0x30(%rbp),%xmm0
  movups 0x30(%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0x30(%rbx)
  movups 0x20(%rbp),%xmm0
  movups 0x20(%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0x20(%rbx)
  movups 0x10(%rbp),%xmm0
  movups 0x10(%r12),%xmm1
  shufps $0x1b,%xmm0,%xmm0
  shufps $0x1b,%xmm1,%xmm1
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,0x10(%rbx)
  movups (%r12),%xmm1
  movups 0x0(%rbp),%xmm0
  shufps $0x1b,%xmm1,%xmm1
  shufps $0x1b,%xmm0,%xmm0
  addps  %xmm1,%xmm0
  shufps $0x1b,%xmm0,%xmm0
  movups %xmm0,(%rbx)
L415:
  mov    %ecx,%eax
  shl    $0x6,%eax
  cltq
  shl    $0x2,%rax
  sub    %rax,%rbx
  call   <free@plt>
  add    $0x18,%rsp
  mov    %rbx,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L492:
  mov    $0xfc,%edx
  nopl   0x0(%rax,%rax,1)
L114:
  movss  0x0(%rbp,%rdx,1),%xmm1
  movss  %xmm1,(%rbx,%rdx,1)
  sub    $0x4,%rdx
  cmp    $0xfffffffffffffffc,%rdx
  jne    L114
  jmp    L50
L49:
  mov    (%rdi,%r8,1),%r8d
  test   $0x80,%dl
  jne    L235
  movss  0x16c(%r12),%xmm0
  and    $0x40,%edx
  addss  %xmm3,%xmm0
  cvttss2si %xmm0,%eax
  je     L271
  cmp    $0x1,%r8d
  jle    L289
  lea    -0x2(%r8),%r10d
  lea    0x174(%r12),%rdx
  shl    $0x8,%r10
  lea    0x274(%r12,%r10,1),%r10
L377:
  pxor   %xmm0,%xmm0
  add    $0x100,%rdx
  cvtsi2ss %eax,%xmm0
  addss  -0x100(%rdx),%xmm0
  cvttss2si %xmm0,%eax
  cmp    %r10,%rdx
  jne    L377
L289:
  cltd
  pxor   %xmm0,%xmm0
  pxor   %xmm4,%xmm4
  idiv   %r8d
  lea    0x4(%r9),%r8
  cvtsi2ss %eax,%xmm0
  mulss  %xmm2,%xmm0
  cvttss2si %xmm0,%eax
  cvtsi2ss %eax,%xmm4
  lea    0x0(%r13,%r9,1),%rax
  movaps %xmm4,%xmm0
  movaps %xmm4,%xmm5
  shufps $0x0,%xmm0,%xmm0
  shufps $0xe0,%xmm5,%xmm5
  jmp    L385
  nopl   (%rax)
L330:
  cmp    $0x3,%edx
  je     L178
  mov    %r9,%r8
L385:
  mov    %rbx,%rdx
  sub    %r12,%rdx
  add    $0xc,%rdx
  cmp    $0x8,%rdx
  jbe    L251
  movups 0xf0(%r12),%xmm6
  movups %xmm6,0xf0(%rbx)
  movups 0xe0(%r12),%xmm7
  movups %xmm7,0xe0(%rbx)
  movups 0xd0(%r12),%xmm6
  movups %xmm6,0xd0(%rbx)
  movups 0xc0(%r12),%xmm7
  movups %xmm7,0xc0(%rbx)
  movups 0xb0(%r12),%xmm6
  movups %xmm6,0xb0(%rbx)
  movups 0xa0(%r12),%xmm7
  movups %xmm7,0xa0(%rbx)
  movups 0x90(%r12),%xmm6
  movups %xmm6,0x90(%rbx)
  movups 0x80(%r12),%xmm7
  movups %xmm7,0x80(%rbx)
  movups 0x70(%r12),%xmm6
  movups %xmm6,0x70(%rbx)
  movups 0x60(%r12),%xmm7
  movups %xmm7,0x60(%rbx)
  movups 0x50(%r12),%xmm6
  movups %xmm6,0x50(%rbx)
  movups 0x40(%r12),%xmm7
  movups %xmm7,0x40(%rbx)
  movups 0x30(%r12),%xmm6
  movups %xmm6,0x30(%rbx)
  movups 0x20(%r12),%xmm7
  movups %xmm7,0x20(%rbx)
  movups 0x10(%r12),%xmm6
  movups %xmm6,0x10(%rbx)
  movups (%r12),%xmm7
  movups %xmm7,(%rbx)
L280:
  movss  0x5c(%rbx),%xmm1
  mov    0x4(%rax),%edx
  add    $0x1,%esi
  lea    0x4(%r8),%r9
  add    $0x100,%r12
  add    $0x100,%rbx
  add    $0x4,%rax
  addss  %xmm4,%xmm1
  movss  %xmm1,-0xa4(%rbx)
  movups -0x80(%rbx),%xmm1
  addps  %xmm0,%xmm1
  movups %xmm1,-0x80(%rbx)
  movups -0x70(%rbx),%xmm1
  addps  %xmm0,%xmm1
  movups %xmm1,-0x70(%rbx)
  movups -0x60(%rbx),%xmm1
  addps  %xmm0,%xmm1
  movups %xmm1,-0x60(%rbx)
  movups -0x50(%rbx),%xmm1
  addps  %xmm0,%xmm1
  movups %xmm1,-0x50(%rbx)
  movups -0x40(%rbx),%xmm1
  addps  %xmm0,%xmm1
  movups %xmm1,-0x40(%rbx)
  movq   -0x30(%rbx),%xmm1
  addps  %xmm5,%xmm1
  movlps %xmm1,-0x30(%rbx)
  movss  -0x28(%rbx),%xmm1
  addss  %xmm4,%xmm1
  movss  %xmm1,-0x28(%rbx)
  test   $0x2,%dl
  jne    L330
  jmp    L410
L345:
  lea    -0x1(%r8),%r10d
  cmp    $0x1,%r10d
  jle    L418
  lea    -0x3(%r8),%r11d
  lea    0x170(%rbp),%rdx
  shl    $0x8,%r11
  lea    0x270(%rbp,%r11,1),%r11
L341:
  pxor   %xmm0,%xmm0
  add    $0x100,%rdx
  cvtsi2ss %eax,%xmm0
  addss  -0x100(%rdx),%xmm0
  cvttss2si %xmm0,%eax
  cmp    %rdx,%r11
  jne    L341
  mov    %r10d,%edx
  shl    $0x6,%edx
  add    $0x1b,%edx
  movslq %edx,%rdx
  shl    $0x2,%rdx
L371:
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  addss  0x0(%rbp,%rdx,1),%xmm0
  cvttss2si %xmm0,%eax
  jmp    L16
L271:
  lea    -0x1(%r8),%r10d
  cmp    $0x1,%r10d
  jle    L531
  lea    -0x3(%r8),%r11d
  lea    0x170(%r12),%rdx
  shl    $0x8,%r11
  lea    0x270(%r12,%r11,1),%r11
L41:
  pxor   %xmm0,%xmm0
  add    $0x100,%rdx
  cvtsi2ss %eax,%xmm0
  addss  -0x100(%rdx),%xmm0
  cvttss2si %xmm0,%eax
  cmp    %r11,%rdx
  jne    L41
  mov    %r10d,%edx
  shl    $0x6,%edx
  add    $0x1b,%edx
  movslq %edx,%rdx
  shl    $0x2,%rdx
L316:
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  addss  (%r12,%rdx,1),%xmm0
  cvttss2si %xmm0,%eax
  jmp    L289
L251:
  mov    $0xfc,%edx
L447:
  movss  (%r12,%rdx,1),%xmm1
  movss  %xmm1,(%rbx,%rdx,1)
  sub    $0x4,%rdx
  cmp    $0xfffffffffffffffc,%rdx
  jne    L447
  jmp    L280
L6:
  lea    -0x1(%r8),%edx
  test   %edx,%edx
  jle    L3
  lea    -0x2(%r8),%r10d
  lea    0x74(%rbp),%rax
  shl    $0x8,%r10
  lea    0x174(%rbp,%r10,1),%r11
  xor    %r10d,%r10d
L120:
  pxor   %xmm0,%xmm0
  add    $0x100,%rax
  cvtsi2ss %r10d,%xmm0
  addss  -0x100(%rax),%xmm0
  cvttss2si %xmm0,%r10d
  cmp    %rax,%r11
  jne    L120
  pxor   %xmm0,%xmm0
  mov    %edx,%eax
  shl    $0x6,%eax
  cvtsi2ss %r10d,%xmm0
  add    $0x1b,%eax
  cltq
  shl    $0x2,%rax
L267:
  addss  0x0(%rbp,%rax,1),%xmm0
  cvttss2si %xmm0,%eax
  jmp    L16
L235:
  lea    -0x1(%r8),%eax
  test   %eax,%eax
  jle    L302
  lea    -0x2(%r8),%r11d
  lea    0x74(%r12),%rdx
  shl    $0x8,%r11
  lea    0x174(%r12,%r11,1),%r11
L131:
  pxor   %xmm0,%xmm0
  add    $0x100,%rdx
  cvtsi2ss %r10d,%xmm0
  addss  -0x100(%rdx),%xmm0
  cvttss2si %xmm0,%r10d
  cmp    %r11,%rdx
  jne    L131
  pxor   %xmm0,%xmm0
  shl    $0x6,%eax
  cvtsi2ss %r10d,%xmm0
  add    $0x1b,%eax
  cltq
  shl    $0x2,%rax
L252:
  addss  (%r12,%rax,1),%xmm0
  cvttss2si %xmm0,%eax
  jmp    L289
L188:
  mov    $0xfc,%eax
L97:
  movss  0x0(%rbp,%rax,1),%xmm0
  addss  (%r12,%rax,1),%xmm0
  movss  %xmm0,(%rbx,%rax,1)
  sub    $0x4,%rax
  cmp    $0xfffffffffffffffc,%rax
  jne    L97
  jmp    L415
L418:
  mov    $0x16c,%edx
  jmp    L371
L531:
  mov    $0x16c,%edx
  jmp    L316
L3:
  mov    $0x6c,%eax
  movaps %xmm3,%xmm0
  jmp    L267
L302:
  mov    $0x6c,%eax
  movaps %xmm3,%xmm0
  jmp    L252
```

assistant: ```c
float *update2(const float *profa, const float *profb, float *newp, int *path, int sipa, int sipb, float internal_gap_weight) {
  int i, c;
  int *gap_len = 0;
  int gap_cost = 0;
  gap_len = malloc(sizeof(int) * (path[0] + 1));
  gap_len[0] = 0;
  for (i = 1; i <= path[0]; i++) {
    gap_len[i] = (path[i] >> 16);
    path[i] = path[i] & 0x0000ffff;
  }
  c = 1;
  while (path[c] != 3) {
    gap_cost = 0;
    if (!path[c]) {
      while (!path[c] && path[c] != 3) {
        for (i = 64; i--;) {
          newp[i] = profa[i] + profb[i];
        }
        profa += 64;
        profb += 64;
        newp += 64;
        c++;
      }
    } else if (path[c] & 1) {
      if (path[c] & 128) {
        for (i = 0; i < gap_len[c] - 1; i++) {
          gap_cost += profb[29 + 64 * i];
        }
        gap_cost += profb[27 + 64 * i];
      } else if (path[c] & 64) {
        gap_cost += profb[27 + 64];
        for (i = 1; i < gap_len[c]; i++) {
          gap_cost += profb[29 + 64 * i];
        }
      } else {
        gap_cost += profb[27 + 64];
        for (i = 1; i < gap_len[c] - 1; i++) {
          gap_cost += profb[28 + 64 * i];
        }
        gap_cost += profb[27 + 64 * i];
      }
      gap_cost /= gap_len[c];
      gap_cost *= internal_gap_weight;
      while (path[c] & 1 && path[c] != 3) {
        for (i = 64; i--;) {
          newp[i] = profb[i];
        }
        newp[23] += gap_cost;
        for (i = 32; i < 55; i++) {
          newp[i] += gap_cost;
        }
        profb += 64;
        newp += 64;
        c++;
      }
    } else if (path[c] & 2) {
      if (path[c] & 128) {
        for (i = 0; i < gap_len[c] - 1; i++) {
          gap_cost += profa[29 + 64 * i];
        }
        gap_cost += profa[27 + 64 * i];
      } else if (path[c] & 64) {
        gap_cost += profa[27 + 64];
        for (i = 1; i < gap_len[c]; i++) {
          gap_cost += profa[29 + 64 * i];
        }
      } else {
        gap_cost += profa[27 + 64];
        for (i = 1; i < gap_len[c] - 1; i++) {
          gap_cost += profa[28 + 64 * i];
        }
        gap_cost += profa[27 + 64 * i];
      }
      gap_cost /= gap_len[c];
      gap_cost *= internal_gap_weight;
      while (path[c] & 2 && path[c] != 3) {
        for (i = 64; i--;) {
          newp[i] = profa[i];
        }
        newp[23] += gap_cost;
        for (i = 32; i < 55; i++) {
          newp[i] += gap_cost;
        }
        profa += 64;
        newp += 64;
        c++;
      }
    }
  }
  for (i = 64; i--;) {
    newp[i] = profa[i] + profb[i];
  }
  newp -= path[0] * 64;
  free(gap_len);
  return newp;
}
```