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

```asm
<workload>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0x60000(%rsp),%r11
L23:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L23
  sub    $0x48,%rsp
  mov    %rdi,0x10(%rsp)
  mov    %rsi,0x18(%rsp)
  mov    %rdx,0x20(%rsp)
  mov    %rcx,0x28(%rsp)
  mov    %r8d,%ebx
  mov    %fs:0x28,%rax
  mov    %rax,0x60038(%rsp)
  xor    %eax,%eax
  cmp    $0x10000,%r8d
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  lea    0x1fe(%rbx),%ebp
  mov    %ebx,%eax
  add    $0xff,%eax
  cmovns %eax,%ebp
  sar    $0x8,%ebp
  mov    $0x100,%r12d
  test   %bl,%bl
  je     L54
  mov    %ebx,%eax
  sar    $0x1f,%eax
  shr    $0x18,%eax
  add    %eax,%ebx
  movzbl %bl,%ebx
  sub    %eax,%ebx
  mov    %ebx,%r12d
L54:
  mov    %ebp,%eax
  add    $0x1,%eax
  mov    %eax,0xc(%rsp)
  js     L42
  mov    $0xfffe0000,%r15d
  mov    $0x0,%ebx
  mov    $0x100,%r14d
  jmp    L27
L78:
  shl    $0x7,%ecx
  mov    %ebx,%eax
  shl    $0xf,%eax
  cltq
  mov    0x10(%rsp),%rsi
  lea    (%rsi,%rax,1),%rdx
  lea    0x10030(%rsp),%rsi
  sub    $0x8,%rsp
  push   %rcx
  mov    0x28(%rsp),%r10
  lea    (%r10,%rax,1),%r9
  lea    0x18040(%rsp),%r8
  call   <load@plt>
  lea    0x20040(%rsp),%rcx
  lea    0x8040(%rsp),%rdx
  lea    0x40(%rsp),%rsi
  mov    0x10(%rsp),%r9d
  lea    0x30040(%rsp),%r8
  mov    0x14(%rsp),%edi
  call   <compute@plt>
  mov    %r13d,%ecx
  shl    $0x8,%ecx
  movslq %r15d,%rax
  lea    0x40040(%rsp),%rdx
  mov    0x30(%rsp),%rdi
  lea    (%rdi,%rax,1),%rsi
  mov    %ecx,(%rsp)
  lea    0x50040(%rsp),%r9
  mov    0x38(%rsp),%rdi
  lea    (%rdi,%rax,1),%r8
  mov    0x18(%rsp),%edi
  call   <store@plt>
  add    $0x10,%rsp
L28:
  lea    0x1(%rbx),%eax
  add    $0x10000,%r15d
  cmp    %ebx,%ebp
  jl     L42
  mov    %eax,%ebx
L27:
  lea    -0x1(%rbp),%eax
  cmp    %ebx,%eax
  mov    %r14d,%ecx
  cmove  %r12d,%ecx
  cmp    %ebx,%ebp
  mov    %r14d,%eax
  cmove  %r12d,%eax
  mov    %eax,(%rsp)
  cmp    %ebx,0xc(%rsp)
  mov    %r14d,%r13d
  cmove  %r12d,%r13d
  cmp    %ebx,%ebp
  setg   %dil
  movzbl %dil,%edi
  test   %ebx,%ebx
  setg   %al
  cmp    %ebx,%ebp
  setge  %dl
  movzbl %dl,%edx
  and    %eax,%edx
  mov    %edx,0x4(%rsp)
  cmp    $0x1,%ebx
  setg   %sil
  movzbl %sil,%esi
  mov    %esi,0x8(%rsp)
  test   $0x1,%bl
  jne    L78
  shl    $0x7,%ecx
  mov    %ebx,%r10d
  shl    $0xf,%r10d
  mov    %r10d,%eax
  cltq
  mov    0x10(%rsp),%r11
  lea    (%r11,%rax,1),%rdx
  lea    0x30(%rsp),%rsi
  sub    $0x8,%rsp
  push   %rcx
  mov    0x28(%rsp),%r11
  lea    (%r11,%rax,1),%r9
  lea    0x8040(%rsp),%r8
  call   <load@plt>
  lea    0x40040(%rsp),%rcx
  lea    0x18040(%rsp),%rdx
  lea    0x10040(%rsp),%rsi
  mov    0x10(%rsp),%r9d
  lea    0x50040(%rsp),%r8
  mov    0x14(%rsp),%edi
  call   <compute@plt>
  mov    %r13d,%ecx
  shl    $0x8,%ecx
  movslq %r15d,%rax
  lea    0x20040(%rsp),%rdx
  mov    0x30(%rsp),%r10
  lea    (%r10,%rax,1),%rsi
  mov    %ecx,(%rsp)
  lea    0x30040(%rsp),%r9
  mov    0x38(%rsp),%r11
  lea    (%r11,%rax,1),%r8
  mov    0x18(%rsp),%edi
  call   <store@plt>
  add    $0x10,%rsp
  jmp    L28
L42:
  mov    0x60038(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L73
  add    $0x60048,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L73:
  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;
}
```