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

```asm
<main>:
  endbr64
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rsi,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  cmp    $0x4,%edi
  jne    L92
L110:
  lea    0xc(%rsp),%rdx
  mov    0x8(%rbx),%rdi
  lea    D74(%rip),%rsi
  call   <sscanf@plt>
  test   %rax,%rax
  je     L63
  cmpl   $0x0,0xc(%rsp)
  jg     L51
L63:
  lea    D43(%rip),%rdi
  call   <usage@plt>
L51:
  lea    0x14(%rsp),%rdx
  mov    0x10(%rbx),%rdi
  lea    D74(%rip),%rsi
  call   <sscanf@plt>
  test   %rax,%rax
  je     L64
  cmpl   $0x0,0x14(%rsp)
  jg     L40
L64:
  lea    D33(%rip),%rdi
  call   <usage@plt>
L40:
  lea    0x10(%rsp),%rdx
  mov    0x18(%rbx),%rdi
  lea    D74(%rip),%rsi
  call   <sscanf@plt>
  test   %rax,%rax
  je     L83
  mov    0x10(%rsp),%eax
  sub    $0x1,%eax
  cmp    $0x1f,%eax
  jbe    L13
L83:
  lea    D21(%rip),%rdi
  call   <usage@plt>
L13:
  mov    0x10(%rsp),%ecx
  cmp    $0x1e,%ecx
  jg     L9
  mov    0x14(%rsp),%edx
  add    0xc(%rsp),%edx
  mov    $0x1,%eax
  shl    %cl,%eax
  cmp    %eax,%edx
  jg     L57
L9:
  mov    0xc(%rsp),%esi
  mov    %esi,%edi
  add    0x14(%rsp),%edi
  mov    0x10(%rsp),%edx
  call   <reed_sol_extended_vandermonde_matrix@plt>
  mov    %rax,%rbx
  lea    D27(%rip),%rdi
  call   <printf@plt>
  mov    0xc(%rsp),%edx
  mov    %edx,%esi
  add    0x14(%rsp),%esi
  mov    0x10(%rsp),%ecx
  mov    %rbx,%rdi
  call   <jerasure_print_matrix@plt>
  lea    D107(%rip),%rbx
  mov    %rbx,%rdi
  call   <printf@plt>
  mov    0xc(%rsp),%esi
  mov    %esi,%edi
  add    0x14(%rsp),%edi
  mov    0x10(%rsp),%edx
  call   <reed_sol_big_vandermonde_distribution_matrix@plt>
  mov    %rax,%rbp
  lea    D63(%rip),%rdi
  call   <printf@plt>
  mov    0xc(%rsp),%edx
  mov    %edx,%esi
  add    0x14(%rsp),%esi
  mov    0x10(%rsp),%ecx
  mov    %rbp,%rdi
  call   <jerasure_print_matrix@plt>
  mov    %rbx,%rdi
  call   <printf@plt>
  mov    0x10(%rsp),%edx
  mov    0x14(%rsp),%esi
  mov    0xc(%rsp),%edi
  call   <reed_sol_vandermonde_coding_matrix@plt>
  mov    %rax,%rbp
  lea    D62(%rip),%rdi
  call   <printf@plt>
  mov    0x10(%rsp),%ecx
  mov    0xc(%rsp),%edx
  mov    0x14(%rsp),%esi
  mov    %rbp,%rdi
  call   <jerasure_print_matrix@plt>
  mov    %rbx,%rdi
  call   <printf@plt>
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L47
  mov    $0x0,%eax
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  ret
L92:
  mov    $0x0,%edi
  call   <usage@plt>
  jmp    L110
L57:
  lea    D38(%rip),%rdi
  call   <usage@plt>
  jmp    L9
L47:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D74
data_type: string
name: extract_symbolic_data
arguments: data_tag: D43
data_type: string
name: extract_symbolic_data
arguments: data_tag: D33
data_type: string
name: extract_symbolic_data
arguments: data_tag: D21
data_type: string
name: extract_symbolic_data
arguments: data_tag: D27
data_type: string
name: extract_symbolic_data
arguments: data_tag: D107
data_type: string
name: extract_symbolic_data
arguments: data_tag: D63
data_type: string
name: extract_symbolic_data
arguments: data_tag: D62
data_type: string
name: extract_symbolic_data
arguments: data_tag: D38
data_type: string

tool: D74: %d

tool: D43: Bad k

tool: D33: Bad m

tool: D21: Bad w

tool: D27: Extended Vandermonde Matrix:



tool: D107: 


tool: D63: Vandermonde Distribution Matrix:



tool: D62: Vandermonde Coding Matrix:



tool: D38: k + m is too big

assistant: ```c
int main(int argc, char **argv) {
  int k, w, m;
  int *matrix;
  if (argc != 4)
    usage(NULL);
  if (sscanf(argv[1], "%d", &k) == 0 || k <= 0)
    usage("Bad k");
  if (sscanf(argv[2], "%d", &m) == 0 || m <= 0)
    usage("Bad m");
  if (sscanf(argv[3], "%d", &w) == 0 || w <= 0 || w > 32)
    usage("Bad w");
  if (w <= 30 && k + m > (1 << w))
    usage("k + m is too big");
  matrix = reed_sol_extended_vandermonde_matrix(k + m, k, w);
  printf("Extended Vandermonde Matrix:\n\n");
  jerasure_print_matrix(matrix, k + m, k, w);
  printf("\n");
  matrix = reed_sol_big_vandermonde_distribution_matrix(k + m, k, w);
  printf("Vandermonde Distribution Matrix:\n\n");
  jerasure_print_matrix(matrix, k + m, k, w);
  printf("\n");
  matrix = reed_sol_vandermonde_coding_matrix(k, m, w);
  printf("Vandermonde Coding Matrix:\n\n");
  jerasure_print_matrix(matrix, m, k, w);
  printf("\n");
  return 0;
}
```