user: 下面的汇编指令对应的C源代码是什么:

```asm
<solve2>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  mov    %rdx,%r15
  push   %r14
  mov    %edi,%r14d
  push   %r13
  mov    %esi,%r13d
  push   %r12
  mov    %rcx,%r12
  push   %rbx
  sub    $0x48,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  lea    0x1(%rsi),%eax
  mov    %rsp,%rcx
  mov    %eax,-0x50(%rbp)
  cltq
  lea    0x0(,%rax,4),%rbx
  lea    0xf(,%rax,8),%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  mov    %rbx,-0x60(%rbp)
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L75
L438:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L438
L75:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L405
L335:
  mov    -0x50(%rbp),%eax
  mov    %rsp,%rbx
  xor    %esi,%esi
  mov    %rbx,%rdi
  lea    0x0(,%rax,8),%edx
  call   <memset@plt>
  mov    -0x60(%rbp),%rax
  shr    $0x2,%rax
  mov    %rax,-0x58(%rbp)
  test   %r13d,%r13d
  js     L408
  mov    (%r15),%ecx
  test   %ecx,%ecx
  jle    L276
  mov    -0x50(%rbp),%eax
  mov    $0x1,%esi
  cmp    %eax,%ecx
  cmovg  %eax,%ecx
  test   %ecx,%ecx
  cmovg  %ecx,%esi
  cmp    $0x3,%ecx
  jle    L212
  mov    %esi,%edx
  movdqa D43(%rip),%xmm1
  mov    %rbx,%rax
  movdqa D69(%rip),%xmm4
  shr    $0x2,%edx
  movdqa D2(%rip),%xmm3
  pxor   %xmm2,%xmm2
  shl    $0x4,%rdx
  add    %rbx,%rdx
  nopl   0x0(%rax,%rax,1)
L109:
  movdqa %xmm1,%xmm0
  movups %xmm2,(%rax)
  add    $0x10,%rax
  paddd  %xmm4,%xmm1
  paddd  %xmm3,%xmm0
  cmp    %rdx,%rax
  jne    L109
  mov    %esi,%edx
  pshufd $0xff,%xmm0,%xmm0
  and    $0xfffffffc,%edx
  and    $0x3,%esi
  movd   %xmm0,%eax
  je     L151
L240:
  movslq %edx,%rax
  lea    (%rbx,%rax,4),%rsi
  lea    0x1(%rdx),%eax
  movl   $0x0,(%rsi)
  cmp    %eax,%ecx
  jle    L151
  lea    0x2(%rdx),%eax
  movl   $0x0,0x4(%rsi)
  cmp    %eax,%ecx
  jle    L151
  movl   $0x0,0x8(%rsi)
  lea    0x3(%rdx),%eax
L151:
  cmp    %eax,%r13d
  jl     L408
L92:
  mov    %r13d,%edx
  mov    $0x1,%ecx
  mov    (%r12),%edi
  sub    %eax,%edx
  cmp    %eax,%r13d
  lea    0x1(%rdx),%r8d
  cmovl  %ecx,%r8d
  jl     L170
  cmp    $0x2,%edx
  jbe    L170
  movslq %eax,%rdx
  movd   %edi,%xmm3
  lea    (%rbx,%rdx,4),%rcx
  mov    %r8d,%edx
  pshufd $0x0,%xmm3,%xmm0
  shr    $0x2,%edx
  lea    -0x1(%rdx),%esi
  lea    0x10(%rcx),%rdx
  shl    $0x4,%rsi
  add    %rdx,%rsi
  jmp    L348
  cs nopw 0x0(%rax,%rax,1)
L388:
  add    $0x10,%rdx
L348:
  movups %xmm0,(%rcx)
  mov    %rdx,%rcx
  cmp    %rsi,%rdx
  jne    L388
  mov    %r8d,%edx
  and    $0xfffffffc,%edx
  add    %edx,%eax
  cmp    %edx,%r8d
  je     L408
L170:
  movslq %eax,%rdx
  lea    0x1(%rax),%ecx
  lea    (%rbx,%rdx,4),%rdx
  mov    %edi,(%rdx)
  cmp    %ecx,%r13d
  jl     L408
  add    $0x2,%eax
  mov    %edi,0x4(%rdx)
  cmp    %eax,%r13d
  jl     L408
  mov    %edi,0x8(%rdx)
L408:
  mov    -0x50(%rbp),%esi
  mov    %rbx,%rdi
  call   <pvector@plt>
  cmp    $0x1,%r14d
  jle    L229
  lea    0x4(%r12),%rax
  movl   $0x1,-0x4c(%rbp)
  movdqa D69(%rip),%xmm4
  mov    %rax,-0x48(%rbp)
  lea    0x4(%r15),%rax
  movdqa D2(%rip),%xmm3
  mov    %rax,-0x68(%rbp)
  lea    -0x2(%r14),%eax
  lea    0x8(%r12,%rax,4),%rax
  mov    %rax,-0x70(%rbp)
  nopl   (%rax)
L262:
  mov    -0x4c(%rbp),%eax
  movslq %eax,%r12
  xor    $0x1,%eax
  mov    %eax,-0x4c(%rbp)
  test   %r13d,%r13d
  js     L42
  mov    -0x68(%rbp),%rax
  mov    (%rax),%r8d
  test   %r8d,%r8d
  jle    L331
  mov    -0x50(%rbp),%eax
  mov    -0x60(%rbp),%rsi
  movslq -0x4c(%rbp),%rdx
  cmp    %eax,%r8d
  mov    %eax,%edi
  mov    -0x58(%rbp),%rax
  cmovle %r8d,%edi
  imul   %r12,%rsi
  imul   %rdx,%rax
  mov    %rsi,%rcx
  lea    0x4(,%rax,4),%rax
  sub    %rax,%rcx
  cmp    $0x8,%rcx
  jbe    L157
  cmp    $0x4,%edi
  jle    L157
  test   %edi,%edi
  mov    $0x1,%r9d
  lea    -0x4(%rbx,%rax,1),%r10
  movdqa D43(%rip),%xmm1
  cmovg  %edi,%r9d
  add    %rbx,%rsi
  xor    %eax,%eax
  mov    %r9d,%ecx
  shr    $0x2,%ecx
  shl    $0x4,%rcx
  cs nopw 0x0(%rax,%rax,1)
L70:
  movdqu (%r10,%rax,1),%xmm7
  movdqa %xmm1,%xmm0
  paddd  %xmm4,%xmm1
  paddd  %xmm3,%xmm0
  movups %xmm7,(%rsi,%rax,1)
  add    $0x10,%rax
  cmp    %rcx,%rax
  jne    L70
  mov    %r9d,%esi
  pshufd $0xff,%xmm0,%xmm0
  and    $0xfffffffc,%esi
  and    $0x3,%r9d
  movd   %xmm0,%eax
  je     L204
  mov    -0x58(%rbp),%r14
  movslq %esi,%rax
  mov    %r14,%rcx
  imul   %r12,%r14
  imul   %rdx,%rcx
  lea    (%rax,%rcx,1),%r9
  add    %r14,%rax
  mov    (%rbx,%r9,4),%r10d
  mov    %r10d,(%rbx,%rax,4)
  lea    0x1(%rsi),%eax
  cmp    %eax,%edi
  jle    L204
  cltq
  lea    (%rax,%rcx,1),%r10
  add    %r14,%rax
  mov    (%rbx,%r10,4),%r10d
  mov    %r10d,(%rbx,%rax,4)
  lea    0x2(%rsi),%eax
  cmp    %eax,%edi
  jle    L204
  cltq
  add    %rax,%rcx
  add    %r14,%rax
  mov    (%rbx,%rcx,4),%ecx
  mov    %ecx,(%rbx,%rax,4)
  lea    0x3(%rsi),%eax
L204:
  cmp    %r13d,%eax
  jg     L42
L206:
  mov    -0x58(%rbp),%r15
  movslq %r8d,%r10
  movslq %eax,%rcx
  mov    %r13d,%edi
  sub    %eax,%edi
  mov    %r15,%rsi
  imul   %rdx,%r15
  imul   %r12,%rsi
  mov    %r15,%r9
  mov    %r15,%r11
  sub    %r10,%r9
  add    %rcx,%rsi
  lea    0x1(%rcx,%r9,1),%r10
  lea    0x1(%rcx,%r15,1),%r9
  shl    $0x2,%rsi
  shl    $0x2,%r9
  shl    $0x2,%r10
  cmp    %r13d,%eax
  setle  %r14b
  cmp    $0x2,%edi
  seta   %r15b
  and    %r15d,%r14d
  mov    %rsi,%r15
  sub    %r9,%r15
  cmp    $0x8,%r15
  seta   %r15b
  test   %r15b,%r14b
  je     L402
  mov    %rsi,%r14
  sub    %r10,%r14
  cmp    $0x8,%r14
  jbe    L402
  add    $0x1,%edi
  mov    $0x1,%ecx
  cmp    %r13d,%eax
  cmovg  %ecx,%edi
  mov    -0x48(%rbp),%rcx
  lea    -0x4(%rbx,%r9,1),%r11
  add    %rbx,%rsi
  lea    -0x4(%rbx,%r10,1),%r10
  mov    (%rcx),%r14d
  mov    %edi,%r9d
  xor    %ecx,%ecx
  shr    $0x2,%r9d
  movd   %r14d,%xmm2
  shl    $0x4,%r9
  pshufd $0x0,%xmm2,%xmm2
  nopl   0x0(%rax,%rax,1)
L324:
  movdqu (%r10,%rcx,1),%xmm1
  movdqu (%r11,%rcx,1),%xmm5
  paddd  %xmm2,%xmm1
  movdqa %xmm1,%xmm0
  pcmpgtd %xmm5,%xmm0
  pand   %xmm0,%xmm1
  pandn  %xmm5,%xmm0
  por    %xmm1,%xmm0
  movups %xmm0,(%rsi,%rcx,1)
  add    $0x10,%rcx
  cmp    %rcx,%r9
  jne    L324
  mov    %edi,%ecx
  and    $0xfffffffc,%ecx
  add    %ecx,%eax
  cmp    %ecx,%edi
  je     L42
  mov    -0x58(%rbp),%r15
  mov    %eax,%esi
  movslq %eax,%rcx
  sub    %r8d,%esi
  imul   %r15,%rdx
  mov    %r15,%rdi
  movslq %esi,%rsi
  imul   %r12,%rdi
  add    %rdx,%rsi
  mov    (%rbx,%rsi,4),%r11d
  lea    (%rcx,%rdi,1),%r9
  add    %rdx,%rcx
  mov    (%rbx,%rcx,4),%ecx
  add    %r14d,%r11d
  cmp    %ecx,%r11d
  mov    %r11d,%esi
  cmovl  %ecx,%esi
  lea    0x1(%rax),%ecx
  mov    %esi,(%rbx,%r9,4)
  cmp    %r13d,%ecx
  jg     L42
  movslq %ecx,%rsi
  sub    %r8d,%ecx
  movslq %ecx,%rcx
  lea    (%rsi,%rdi,1),%r9
  add    %rdx,%rsi
  add    %rdx,%rcx
  mov    (%rbx,%rsi,4),%esi
  mov    (%rbx,%rcx,4),%r15d
  add    %r14d,%r15d
  cmp    %esi,%r15d
  mov    %r15d,%ecx
  cmovl  %esi,%ecx
  add    $0x2,%eax
  mov    %ecx,(%rbx,%r9,4)
  cmp    %r13d,%eax
  jg     L42
  movslq %eax,%rcx
  sub    %r8d,%eax
  cltq
  add    %rcx,%rdi
  add    %rdx,%rcx
  add    %rdx,%rax
  add    (%rbx,%rax,4),%r14d
  mov    (%rbx,%rcx,4),%eax
  cmp    %eax,%r14d
  cmovl  %eax,%r14d
  mov    %r14d,(%rbx,%rdi,4)
L42:
  mov    -0x60(%rbp),%rdi
  mov    -0x50(%rbp),%esi
  imul   %r12,%rdi
  add    %rbx,%rdi
  call   <pvector@plt>
  addq   $0x4,-0x48(%rbp)
  mov    -0x48(%rbp),%rax
  addq   $0x4,-0x68(%rbp)
  cmp    -0x70(%rbp),%rax
  movdqa D69(%rip),%xmm4
  movdqa D2(%rip),%xmm3
  jne    L262
L85:
  imul   -0x58(%rbp),%r12
  movslq %r13d,%rax
  add    %r12,%rax
  mov    (%rbx,%rax,4),%eax
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  jne    L433
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
  nopl   0x0(%rax,%rax,1)
L402:
  mov    -0x48(%rbp),%rdi
  sub    %r8d,%eax
  cltq
  mov    (%rdi),%esi
  mov    -0x60(%rbp),%rdi
  add    %r11,%rax
  sub    %rcx,%rax
  imul   %rdi,%rdx
  lea    (%rbx,%rax,4),%r9
  imul   %r12,%rdi
  add    %rbx,%rdx
  mov    %rdi,%r8
  add    %rbx,%r8
L298:
  mov    (%r9,%rcx,4),%eax
  mov    (%rdx,%rcx,4),%edi
  add    %esi,%eax
  cmp    %edi,%eax
  cmovl  %edi,%eax
  mov    %eax,(%r8,%rcx,4)
  add    $0x1,%rcx
  cmp    %ecx,%r13d
  jge    L298
  jmp    L42
  nopw   0x0(%rax,%rax,1)
L331:
  movslq -0x4c(%rbp),%rdx
  xor    %eax,%eax
  jmp    L206
  nopl   0x0(%rax,%rax,1)
L157:
  mov    -0x60(%rbp),%rcx
  mov    %r12,%rsi
  xor    %eax,%eax
  sub    %rdx,%rsi
  imul   -0x58(%rbp),%rsi
  imul   %rdx,%rcx
  add    %rbx,%rcx
L53:
  mov    (%rcx),%r9d
  add    $0x1,%eax
  mov    %r9d,(%rcx,%rsi,4)
  add    $0x4,%rcx
  cmp    %eax,%edi
  jg     L53
  jmp    L204
  nopw   0x0(%rax,%rax,1)
L276:
  xor    %eax,%eax
  jmp    L92
L405:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L335
L229:
  xor    %r12d,%r12d
  jmp    L85
L212:
  xor    %edx,%edx
  jmp    L240
L433:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D43
datatype: byte[16]
name: parse_data
arguments: label: D69
datatype: byte[16]
name: parse_data
arguments: label: D2
datatype: byte[16]

tool: {"D43": [0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x03,0x00,0x00,0x00]}

tool: {"D69": [0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00]}

tool: {"D2": [0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00]}

assistant: ```c
int solve2(int n, int c, int weight[n], int profit[n]) {
  int i, j;
  int total[2][c + 1];
  int curr = 0;
  memset(total, 0, sizeof total);
  for (j = 0; j <= c; j++) {
    if (weight[0] > j) {
      total[curr][j] = 0;
    } else {
      total[curr][j] = profit[0];
    }
  }
  pvector(total[curr], c + 1);
  curr = !curr;
  for (i = 1; i < n; i++) {
    for (j = 0; j <= c; j++) {
      if ((j < weight[i]) || (total[!curr][j] >= total[!curr][j - weight[i]] + profit[i])) {
        total[curr][j] = total[!curr][j];
      } else {
        total[curr][j] = total[!curr][j - weight[i]] + profit[i];
      }
    }
    pvector(total[curr], c + 1);
    curr = !curr;
  }
  return total[!curr][c];
}
```