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

```asm
<reverse_burrows_wheeler_transform>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  lea    -0x36f000(%rsp),%r11
L110:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L110
  sub    $0x700,%rsp
  mov    %edi,-0x36f6e4(%rbp)
  mov    %rsi,-0x36f6f0(%rbp)
  mov    %rdx,-0x36f6f8(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x36f6e4(%rbp),%eax
  sub    $0x4,%eax
  mov    %eax,%edx
  mov    -0x36f6f0(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x36f6b8(%rbp)
  mov    -0x36f6b8(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,-0x36f6c0(%rbp)
  mov    -0x36f6b8(%rbp),%rax
  mov    -0x4(%rax),%eax
  mov    %eax,-0x36f6bc(%rbp)
  movl   $0x0,-0x36f6e0(%rbp)
  jmp    L61
L51:
  mov    -0x36f6e0(%rbp),%eax
  movl   $0x0,-0x36f6b0(%rbp,%rax,4)
  addl   $0x1,-0x36f6e0(%rbp)
L61:
  cmpl   $0x100,-0x36f6e0(%rbp)
  jbe    L51
  movl   $0x0,-0x36f6dc(%rbp)
  jmp    L29
L139:
  mov    -0x36f6dc(%rbp),%eax
  cmp    -0x36f6c0(%rbp),%eax
  jne    L126
  mov    -0x36f2b0(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x36f2b0(%rbp)
  jmp    L1
L126:
  mov    -0x36f6dc(%rbp),%edx
  mov    -0x36f6f0(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  movslq %eax,%rdx
  mov    -0x36f6b0(%rbp,%rdx,4),%edx
  add    $0x1,%edx
  cltq
  mov    %edx,-0x36f6b0(%rbp,%rax,4)
L1:
  addl   $0x1,-0x36f6dc(%rbp)
L29:
  mov    -0x36f6e4(%rbp),%eax
  sub    $0x8,%eax
  cmp    %eax,-0x36f6dc(%rbp)
  jb     L139
  movl   $0x0,-0x36f6d8(%rbp)
  movl   $0x0,-0x36f6d4(%rbp)
  jmp    L146
L31:
  mov    -0x36f6d4(%rbp),%eax
  mov    -0x36f6d8(%rbp),%edx
  mov    %edx,-0x36f2a0(%rbp,%rax,4)
  mov    -0x36f6d4(%rbp),%eax
  mov    -0x36f6b0(%rbp,%rax,4),%eax
  add    %eax,-0x36f6d8(%rbp)
  mov    -0x36f6d4(%rbp),%eax
  movl   $0x0,-0x36f6b0(%rbp,%rax,4)
  addl   $0x1,-0x36f6d4(%rbp)
L146:
  cmpl   $0x100,-0x36f6d4(%rbp)
  jbe    L31
  movl   $0x0,-0x36f6d0(%rbp)
  jmp    L20
L115:
  mov    -0x36f6d0(%rbp),%eax
  cmp    -0x36f6c0(%rbp),%eax
  je     L83
  mov    -0x36f6d0(%rbp),%edx
  mov    -0x36f6f0(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  cltq
  mov    -0x36f6b0(%rbp,%rax,4),%edx
  mov    -0x36f6d0(%rbp),%ecx
  mov    -0x36f6f0(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  cltq
  mov    -0x36f2a0(%rbp,%rax,4),%eax
  add    %edx,%eax
  mov    %eax,%edx
  mov    -0x36f6d0(%rbp),%eax
  mov    %eax,-0x36ee90(%rbp,%rdx,4)
  mov    -0x36f6d0(%rbp),%edx
  mov    -0x36f6f0(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  movslq %eax,%rdx
  mov    -0x36f6b0(%rbp,%rdx,4),%edx
  add    $0x1,%edx
  cltq
  mov    %edx,-0x36f6b0(%rbp,%rax,4)
L83:
  addl   $0x1,-0x36f6d0(%rbp)
L20:
  mov    -0x36f6e4(%rbp),%eax
  sub    $0x8,%eax
  cmp    %eax,-0x36f6d0(%rbp)
  jb     L115
  movl   $0x0,-0x36f6cc(%rbp)
  mov    -0x36f6bc(%rbp),%eax
  mov    %eax,-0x36f6c8(%rbp)
  movl   $0x0,-0x36f6c4(%rbp)
  jmp    L14
L42:
  mov    -0x36f6c8(%rbp),%edx
  mov    -0x36f6f0(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x36f6cc(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x36f6cc(%rbp)
  mov    %eax,%edx
  mov    -0x36f6f8(%rbp),%rax
  add    %rax,%rdx
  movzbl (%rcx),%eax
  mov    %al,(%rdx)
  mov    -0x36f6c8(%rbp),%eax
  mov    -0x36ee90(%rbp,%rax,4),%eax
  mov    %eax,-0x36f6c8(%rbp)
  addl   $0x1,-0x36f6c4(%rbp)
L14:
  mov    -0x36f6e4(%rbp),%eax
  sub    $0x9,%eax
  cmp    %eax,-0x36f6c4(%rbp)
  jb     L42
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L54
  call   <__stack_chk_fail@plt>
L54:
  leave
  ret
```

assistant: ```c
void reverse_burrows_wheeler_transform(unsigned int inputBlockLength, unsigned char *inputBlockData, unsigned char *outputBlockData) {
  unsigned int inputDataFrequency[257];
  unsigned int runningTotal[257];
  unsigned int transformationVector[900001];
  unsigned int *temp = (unsigned int *)&inputBlockData[inputBlockLength - 4];
  unsigned int last = *temp;
  unsigned int first = *(temp - 1);
  for (unsigned int i = 0; i < 257; i++) {
    inputDataFrequency[i] = 0;
  }
  for (unsigned int i = 0; i < inputBlockLength - 8; i++) {
    if (i == last) {
      inputDataFrequency[256]++;
    } else {
      inputDataFrequency[inputBlockData[i]]++;
    }
  }
  unsigned int sum = 0;
  for (unsigned int i = 0; i < 257; i++) {
    runningTotal[i] = sum;
    sum += inputDataFrequency[i];
    inputDataFrequency[i] = 0;
  }
  for (unsigned int i = 0; i < inputBlockLength - 8; i++) {
    if (i == last) {
    } else {
      transformationVector[inputDataFrequency[inputBlockData[i]] + runningTotal[inputBlockData[i]]] = i;
      inputDataFrequency[inputBlockData[i]]++;
    }
  }
  unsigned int count = 0;
  unsigned int i = first;
  for (unsigned int j = 0; j < inputBlockLength - 9; j++) {
    outputBlockData[count++] = inputBlockData[i];
    i = transformationVector[i];
  }
}
```