user: 请将以下的汇编代码转换成C语言代码：

```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    L61
  mov    $0x1,%eax
L452:
  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    L452
L61:
  mov    0x4(%r13),%edx
  cmp    $0x3,%edx
  je     L417
  mov    $0x1,%esi
  mov    $0x4,%r8d
  mov    $0x1,%eax
  pxor   %xmm3,%xmm3
L217:
  lea    0x0(,%rax,4),%r9
  test   %edx,%edx
  je     L359
L8:
  mov    %edx,%r10d
  and    $0x1,%r10d
  jne    L503
  test   $0x2,%dl
  jne    L188
  mov    %r9,%r8
  lea    0x0(,%rax,4),%r9
  test   %edx,%edx
  jne    L8
L359:
  lea    0x1(%rsi),%r9d
  movslq %r9d,%r9
  nopl   0x0(%rax)
L124:
  lea    0xfc(%rbx),%rax
  mov    %rax,%rdx
  sub    %rbp,%rdx
  sub    $0xf0,%rdx
  cmp    $0x8,%rdx
  jbe    L454
  sub    %r12,%rax
  sub    $0xf0,%rax
  cmp    $0x8,%rax
  jbe    L454
  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)
L480:
  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     L124
L239:
  cmp    $0x3,%edx
  je     L417
  movslq %esi,%rax
  jmp    L217
L454:
  mov    $0xfc,%eax
  cs nopw 0x0(%rax,%rax,1)
L104:
  movss  0x0(%rbp,%rax,1),%xmm0
  addss  (%r12,%rax,1),%xmm0
  movss  %xmm0,(%rbx,%rax,1)
  sub    $0x4,%rax
  cmp    $0xfffffffffffffffc,%rax
  jne    L104
  jmp    L480
L503:
  mov    (%rdi,%r8,1),%r8d
  test   $0x80,%dl
  jne    L468
  movss  0x16c(%rbp),%xmm0
  and    $0x40,%edx
  addss  %xmm3,%xmm0
  cvttss2si %xmm0,%eax
  je     L89
  cmp    $0x1,%r8d
  jle    L146
  lea    -0x2(%r8),%r10d
  lea    0x174(%rbp),%rdx
  shl    $0x8,%r10
  lea    0x274(%rbp,%r10,1),%r10
L73:
  pxor   %xmm0,%xmm0
  add    $0x100,%rdx
  cvtsi2ss %eax,%xmm0
  addss  -0x100(%rdx),%xmm0
  cvttss2si %xmm0,%eax
  cmp    %rdx,%r10
  jne    L73
L146:
  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    L51
  nopl   (%rax)
L93:
  test   $0x1,%dl
  je     L239
  mov    %r9,%r8
L51:
  mov    %rbx,%rdx
  sub    %rbp,%rdx
  add    $0xc,%rdx
  cmp    $0x8,%rdx
  jbe    L455
  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)
L235:
  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    L93
L417:
  lea    0xfc(%rbx),%rax
  mov    %rax,%rdx
  sub    %rbp,%rdx
  sub    $0xf0,%rdx
  cmp    $0x8,%rdx
  jbe    L328
  sub    %r12,%rax
  sub    $0xf0,%rax
  cmp    $0x8,%rax
  jbe    L328
  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)
L184:
  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
L455:
  mov    $0xfc,%edx
  nopl   0x0(%rax,%rax,1)
L26:
  movss  0x0(%rbp,%rdx,1),%xmm1
  movss  %xmm1,(%rbx,%rdx,1)
  sub    $0x4,%rdx
  cmp    $0xfffffffffffffffc,%rdx
  jne    L26
  jmp    L235
L188:
  mov    (%rdi,%r8,1),%r8d
  test   $0x80,%dl
  jne    L363
  movss  0x16c(%r12),%xmm0
  and    $0x40,%edx
  addss  %xmm3,%xmm0
  cvttss2si %xmm0,%eax
  je     L405
  cmp    $0x1,%r8d
  jle    L449
  lea    -0x2(%r8),%r10d
  lea    0x174(%r12),%rdx
  shl    $0x8,%r10
  lea    0x274(%r12,%r10,1),%r10
L114:
  pxor   %xmm0,%xmm0
  add    $0x100,%rdx
  cvtsi2ss %eax,%xmm0
  addss  -0x100(%rdx),%xmm0
  cvttss2si %xmm0,%eax
  cmp    %r10,%rdx
  jne    L114
L449:
  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    L273
  nopl   (%rax)
L182:
  cmp    $0x3,%edx
  je     L417
  mov    %r9,%r8
L273:
  mov    %rbx,%rdx
  sub    %r12,%rdx
  add    $0xc,%rdx
  cmp    $0x8,%rdx
  jbe    L81
  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)
L369:
  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    L182
  jmp    L239
L89:
  lea    -0x1(%r8),%r10d
  cmp    $0x1,%r10d
  jle    L162
  lea    -0x3(%r8),%r11d
  lea    0x170(%rbp),%rdx
  shl    $0x8,%r11
  lea    0x270(%rbp,%r11,1),%r11
L111:
  pxor   %xmm0,%xmm0
  add    $0x100,%rdx
  cvtsi2ss %eax,%xmm0
  addss  -0x100(%rdx),%xmm0
  cvttss2si %xmm0,%eax
  cmp    %rdx,%r11
  jne    L111
  mov    %r10d,%edx
  shl    $0x6,%edx
  add    $0x1b,%edx
  movslq %edx,%rdx
  shl    $0x2,%rdx
L446:
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  addss  0x0(%rbp,%rdx,1),%xmm0
  cvttss2si %xmm0,%eax
  jmp    L146
L405:
  lea    -0x1(%r8),%r10d
  cmp    $0x1,%r10d
  jle    L496
  lea    -0x3(%r8),%r11d
  lea    0x170(%r12),%rdx
  shl    $0x8,%r11
  lea    0x270(%r12,%r11,1),%r11
L185:
  pxor   %xmm0,%xmm0
  add    $0x100,%rdx
  cvtsi2ss %eax,%xmm0
  addss  -0x100(%rdx),%xmm0
  cvttss2si %xmm0,%eax
  cmp    %r11,%rdx
  jne    L185
  mov    %r10d,%edx
  shl    $0x6,%edx
  add    $0x1b,%edx
  movslq %edx,%rdx
  shl    $0x2,%rdx
L101:
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  addss  (%r12,%rdx,1),%xmm0
  cvttss2si %xmm0,%eax
  jmp    L449
L81:
  mov    $0xfc,%edx
L171:
  movss  (%r12,%rdx,1),%xmm1
  movss  %xmm1,(%rbx,%rdx,1)
  sub    $0x4,%rdx
  cmp    $0xfffffffffffffffc,%rdx
  jne    L171
  jmp    L369
L468:
  lea    -0x1(%r8),%edx
  test   %edx,%edx
  jle    L286
  lea    -0x2(%r8),%r10d
  lea    0x74(%rbp),%rax
  shl    $0x8,%r10
  lea    0x174(%rbp,%r10,1),%r11
  xor    %r10d,%r10d
L24:
  pxor   %xmm0,%xmm0
  add    $0x100,%rax
  cvtsi2ss %r10d,%xmm0
  addss  -0x100(%rax),%xmm0
  cvttss2si %xmm0,%r10d
  cmp    %rax,%r11
  jne    L24
  pxor   %xmm0,%xmm0
  mov    %edx,%eax
  shl    $0x6,%eax
  cvtsi2ss %r10d,%xmm0
  add    $0x1b,%eax
  cltq
  shl    $0x2,%rax
L169:
  addss  0x0(%rbp,%rax,1),%xmm0
  cvttss2si %xmm0,%eax
  jmp    L146
L363:
  lea    -0x1(%r8),%eax
  test   %eax,%eax
  jle    L489
  lea    -0x2(%r8),%r11d
  lea    0x74(%r12),%rdx
  shl    $0x8,%r11
  lea    0x174(%r12,%r11,1),%r11
L303:
  pxor   %xmm0,%xmm0
  add    $0x100,%rdx
  cvtsi2ss %r10d,%xmm0
  addss  -0x100(%rdx),%xmm0
  cvttss2si %xmm0,%r10d
  cmp    %r11,%rdx
  jne    L303
  pxor   %xmm0,%xmm0
  shl    $0x6,%eax
  cvtsi2ss %r10d,%xmm0
  add    $0x1b,%eax
  cltq
  shl    $0x2,%rax
L413:
  addss  (%r12,%rax,1),%xmm0
  cvttss2si %xmm0,%eax
  jmp    L449
L328:
  mov    $0xfc,%eax
L291:
  movss  0x0(%rbp,%rax,1),%xmm0
  addss  (%r12,%rax,1),%xmm0
  movss  %xmm0,(%rbx,%rax,1)
  sub    $0x4,%rax
  cmp    $0xfffffffffffffffc,%rax
  jne    L291
  jmp    L184
L162:
  mov    $0x16c,%edx
  jmp    L446
L496:
  mov    $0x16c,%edx
  jmp    L101
L286:
  mov    $0x6c,%eax
  movaps %xmm3,%xmm0
  jmp    L169
L489:
  mov    $0x6c,%eax
  movaps %xmm3,%xmm0
  jmp    L413
```

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;
}
```