user: 请从给定的汇编指令推导出C源代码：

```asm
<workload>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0x60000(%rsp),%r11
L72:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L72
  sub    $0x88,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x60078(%rsp)
  xor    %eax,%eax
  mov    %rdi,%r13
  xor    %edi,%edi
  cmp    $0x10000,%r8d
  mov    %r8d,%r15d
  sete   %dil
  mov    %rsi,%r12
  mov    %rdx,%rbx
  mov    %rcx,%r14
  lea    0x1fe(%r15),%ebp
  call   <assert@plt>
  mov    %r15d,%eax
  movl   $0x100,0x14(%rsp)
  add    $0xff,%eax
  cmovns %eax,%ebp
  sar    $0x8,%ebp
  test   %r15b,%r15b
  je     L34
  mov    %r15d,%eax
  sar    $0x1f,%eax
  shr    $0x18,%eax
  add    %eax,%r15d
  movzbl %r15b,%r15d
  sub    %eax,%r15d
  mov    %r15d,0x14(%rsp)
L34:
  mov    %ebp,%eax
  add    $0x1,%eax
  mov    %eax,0x18(%rsp)
  js     L14
  lea    -0x1(%rbp),%eax
  lea    -0x20000(%rbx),%r15
  mov    %r13,%r10
  mov    %r12,%r11
  mov    %eax,0x1c(%rsp)
  mov    0x14(%rsp),%eax
  sub    $0x20000,%r14
  xor    %ebx,%ebx
  mov    %eax,%edx
  shl    $0x8,%eax
  mov    %eax,0x24(%rsp)
  lea    0x8070(%rsp),%rax
  shl    $0x7,%edx
  mov    %rax,0x48(%rsp)
  lea    0x70(%rsp),%rax
  mov    %rax,0x50(%rsp)
  lea    0x50070(%rsp),%rax
  mov    %rax,0x40(%rsp)
  lea    0x40070(%rsp),%rax
  mov    %rax,0x58(%rsp)
  lea    0x18070(%rsp),%rax
  mov    %rax,0x30(%rsp)
  lea    0x10070(%rsp),%rax
  mov    %rax,0x38(%rsp)
  lea    0x30070(%rsp),%rax
  mov    %rax,0x60(%rsp)
  lea    0x20070(%rsp),%rax
  mov    %edx,0x20(%rsp)
  mov    %rax,0x28(%rsp)
  jmp    L3
  cs nopw 0x0(%rax,%rax,1)
L65:
  sub    $0x8,%rsp
  shl    $0x7,%eax
  mov    %r11,%r9
  mov    %r10,%rdx
  push   %rax
  mov    0x58(%rsp),%r8
  mov    %eax,%ecx
  mov    0x60(%rsp),%rsi
  mov    %r11,0x78(%rsp)
  mov    %r10,0x18(%rsp)
  call   <load@plt>
  mov    0x20(%rsp),%r9d
  mov    0x50(%rsp),%r8
  mov    %r13d,%edi
  mov    0x68(%rsp),%rcx
  mov    0x40(%rsp),%rdx
  mov    0x48(%rsp),%rsi
  call   <compute@plt>
  mov    0x10(%rsp),%ecx
  mov    %r15,%rsi
  mov    %r14,%r8
  mov    0x70(%rsp),%r9
  mov    0x38(%rsp),%rdx
  mov    %r12d,%edi
  shl    $0x8,%ecx
  mov    %ecx,(%rsp)
  call   <store@plt>
  pop    %rcx
  pop    %rsi
  mov    0x8(%rsp),%r10
  mov    0x68(%rsp),%r11
L51:
  lea    0x1(%rbx),%eax
  add    $0x8000,%r10
  add    $0x8000,%r11
  add    $0x10000,%r15
  add    $0x10000,%r14
  cmp    %ebx,%ebp
  jl     L14
  mov    %eax,%ebx
L3:
  mov    0x14(%rsp),%esi
  cmp    %ebx,0x1c(%rsp)
  mov    $0x100,%eax
  mov    $0x8000,%ecx
  mov    $0x100,%edx
  cmove  0x20(%rsp),%ecx
  mov    $0x100,%edi
  mov    $0x10000,%r12d
  cmove  %esi,%eax
  cmp    %ebx,%ebp
  cmove  %esi,%edx
  cmp    0x18(%rsp),%ebx
  cmove  0x24(%rsp),%r12d
  cmove  %esi,%edi
  mov    %edx,0x10(%rsp)
  mov    %edi,(%rsp)
  xor    %edi,%edi
  cmp    %ebx,%ebp
  setg   %dil
  test   %ebx,%ebx
  mov    %r12d,0x8(%rsp)
  setg   %dl
  xor    %r13d,%r13d
  cmp    %ebx,%ebp
  setge  %r13b
  xor    %r12d,%r12d
  and    %edx,%r13d
  cmp    $0x1,%ebx
  setg   %r12b
  test   $0x1,%bl
  je     L65
  sub    $0x8,%rsp
  mov    %r11,%r9
  mov    %r10,%rdx
  push   %rcx
  mov    0x40(%rsp),%r8
  mov    0x48(%rsp),%rsi
  mov    %r11,0x78(%rsp)
  mov    %r10,0x10(%rsp)
  call   <load@plt>
  mov    0x20(%rsp),%r9d
  mov    0x70(%rsp),%r8
  mov    %r13d,%edi
  mov    0x38(%rsp),%rcx
  mov    0x58(%rsp),%rdx
  mov    0x60(%rsp),%rsi
  call   <compute@plt>
  mov    0x18(%rsp),%eax
  mov    %r14,%r8
  mov    %r15,%rsi
  mov    0x50(%rsp),%r9
  mov    0x68(%rsp),%rdx
  mov    %r12d,%edi
  mov    %eax,%ecx
  mov    %eax,(%rsp)
  call   <store@plt>
  pop    %rax
  pop    %rdx
  mov    0x68(%rsp),%r11
  mov    (%rsp),%r10
  jmp    L51
  nopl   0x0(%rax,%rax,1)
L14:
  mov    0x60078(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L52
  add    $0x60088,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L52:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void workload(char *SEQA, char *SEQB, char *alignedA, char *alignedB, int num_jobs) {
#pragma HLS INTERFACE m_axi port = SEQA offset = slave bundle = gmem
#pragma HLS INTERFACE m_axi port = SEQB offset = slave bundle = gmem
#pragma HLS INTERFACE m_axi port = alignedA offset = slave bundle = gmem
#pragma HLS INTERFACE m_axi port = alignedB offset = slave bundle = gmem
#pragma HLS INTERFACE s_axilite port = SEQA bundle = control
#pragma HLS INTERFACE s_axilite port = SEQB bundle = control
#pragma HLS INTERFACE s_axilite port = alignedA bundle = control
#pragma HLS INTERFACE s_axilite port = alignedB bundle = control
#pragma HLS INTERFACE s_axilite port = num_jobs bundle = control
#pragma HLS INTERFACE s_axilite port = return bundle = control
  assert(num_jobs == (1 << 16));
  char seqA_buf_x[2][128 * 256 / 2];
#pragma HLS array_partition variable = seqA_buf_x dim = 1 complete
  char seqB_buf_x[2][128 * 256 / 2];
#pragma HLS array_partition variable = seqB_buf_x dim = 1 complete
  char alignedA_buf_x[2][(128 + 128) * 256 / 2];
#pragma HLS array_partition variable = alignedA_buf_x dim = 1 complete
  char alignedB_buf_x[2][(128 + 128) * 256 / 2];
#pragma HLS array_partition variable = alignedB_buf_x dim = 1 complete
  char seqA_buf_y[2][128 * 256 / 2];
#pragma HLS array_partition variable = seqA_buf_y dim = 1 complete
  char seqB_buf_y[2][128 * 256 / 2];
#pragma HLS array_partition variable = seqB_buf_y dim = 1 complete
  char alignedA_buf_y[2][(128 + 128) * 256 / 2];
#pragma HLS array_partition variable = alignedA_buf_y dim = 1 complete
  char alignedB_buf_y[2][(128 + 128) * 256 / 2];
#pragma HLS array_partition variable = alignedB_buf_y dim = 1 complete
  int num_batches = (num_jobs + 256 - 1) / 256;
  int tail_jobs = num_jobs % 256;
  if (tail_jobs == 0)
    tail_jobs = 256;
  int i, j, k;
  for (i = 0; i < num_batches + 2; i++) {
    int load_jobs = i == num_batches - 1 ? tail_jobs : 256;
    int compute_jobs = i == num_batches ? tail_jobs : 256;
    int store_jobs = i == num_batches + 1 ? tail_jobs : 256;
    int load_flag = i < num_batches;
    int compute_flag = i > 0 && i < num_batches + 1;
    int store_flag = i > 1;
    if (i % 2 == 0) {
      load(load_flag, seqA_buf_x, SEQA + i * 128 * 256, 128 * load_jobs, seqB_buf_x, SEQB + i * 128 * 256, 128 * load_jobs);
      compute(compute_flag, seqA_buf_y, seqB_buf_y, alignedA_buf_y, alignedB_buf_y, compute_jobs);
      store(store_flag, alignedA + (i - 2) * (128 + 128) * 256, alignedA_buf_x, (128 + 128) * store_jobs, alignedB + (i - 2) * (128 + 128) * 256, alignedB_buf_x, (128 + 128) * store_jobs);
    } else {
      load(load_flag, seqA_buf_y, SEQA + i * 128 * 256, 128 * load_jobs, seqB_buf_y, SEQB + i * 128 * 256, 128 * load_jobs);
      compute(compute_flag, seqA_buf_x, seqB_buf_x, alignedA_buf_x, alignedB_buf_x, compute_jobs);
      store(store_flag, alignedA + (i - 2) * (128 + 128) * 256, alignedA_buf_y, (128 + 128) * store_jobs, alignedB + (i - 2) * (128 + 128) * 256, alignedB_buf_y, (128 + 128) * store_jobs);
    }
  }
  return;
}
```