user: What is the c source code of the assembly code below:

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  mov    %rsi,%r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %edi,0xc(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  cmp    $0x2,%edi
  jle    L101
L228:
  mov    0x10(%r13),%rdi
  lea    0x10(%rsp),%rsi
  call   <stat@plt>
  test   %rax,%rax
  jne    L238
L20:
  mov    0x10(%rsp),%rbp
  mov    %rbp,%rdi
  call   <malloc@plt>
  mov    %rax,%rbx
  test   %rax,%rax
  je     L236
L106:
  mov    0x10(%r13),%rdi
  lea    D19(%rip),%rsi
  call   <fopen@plt>
  mov    %rax,%r12
  test   %rax,%rax
  je     L84
L208:
  mov    %r12,%rcx
  mov    %rbp,%rdx
  mov    $0x1,%esi
  mov    %rbx,%rdi
  call   <fread@plt>
  cmp    %rbp,%rax
  je     L184
  lea    D8(%rip),%rdi
  call   <barf@plt>
L184:
  mov    %r12,%rdi
  call   <fclose@plt>
  test   %rax,%rax
  jne    L227
  nopl   0x0(%rax,%rax,1)
L188:
  mov    0xc(%rsp),%edi
  lea    D23(%rip),%rdx
  mov    %r13,%rsi
  call   <getopt@plt>
  cmp    $0xffffffff,%eax
  je     L147
  cmp    $0x65,%eax
  je     L168
  cmp    $0x70,%eax
  je     L103
  mov    0x0(%r13),%rdi
  call   <usage@plt>
  jmp    L188
  nopl   0x0(%rax)
L168:
  lea    D2(%rip),%rdi
  call   <croak@plt>
  call   *%rbx
  jmp    L188
L103:
  lea    D27(%rip),%rdi
  xor    %r14d,%r14d
  mov    $0xf,%r15d
  call   <puts@plt>
  lea    D89(%rip),%r12
  test   %rbp,%rbp
  jg     L130
  jmp    L229
  nopl   0x0(%rax,%rax,1)
L81:
  add    $0x1,%r15d
L77:
  movzbl (%rbx,%r14,1),%esi
  mov    %r12,%rdi
  xor    %eax,%eax
  add    $0x1,%r14
  call   <printf@plt>
  cmp    %r14,%rbp
  je     L229
L130:
  cmp    $0xf,%r15d
  jne    L81
  test   %r14,%r14
  je     L187
  lea    D0(%rip),%rdi
  call   <puts@plt>
L187:
  lea    D17(%rip),%rdi
  xor    %eax,%eax
  mov    $0x1,%r15d
  call   <printf@plt>
  jmp    L77
  nopl   0x0(%rax)
L229:
  lea    D70(%rip),%rdi
  call   <puts@plt>
  jmp    L188
  nopl   0x0(%rax)
L147:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L32
  add    $0x28,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L238:
  lea    D107(%rip),%rdi
  call   <barf@plt>
  jmp    L20
L101:
  mov    (%rsi),%rdi
  call   <usage@plt>
  jmp    L228
L227:
  lea    D65(%rip),%rdi
  call   <barf@plt>
  jmp    L188
L84:
  lea    D69(%rip),%rdi
  call   <barf@plt>
  jmp    L208
L236:
  lea    D79(%rip),%rdi
  call   <barf@plt>
  jmp    L106
L32:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: label: D19
data_type: string
name: read_data
arguments: label: D8
data_type: string
name: read_data
arguments: label: D23
data_type: string
name: read_data
arguments: label: D2
data_type: string
name: read_data
arguments: label: D27
data_type: string
name: read_data
arguments: label: D89
data_type: string
name: read_data
arguments: label: D0
data_type: string
name: read_data
arguments: label: D17
data_type: string
name: read_data
arguments: label: D70
data_type: string
name: read_data
arguments: label: D107
data_type: string
name: read_data
arguments: label: D65
data_type: string
name: read_data
arguments: label: D69
data_type: string
name: read_data
arguments: label: D79
data_type: string

tool: D19: rb

tool: D8: failed to slurp file

tool: D23: e:p:

tool: D2: Calling code ...

tool: D27: 

char shellcode[] =

tool: D89: \x%02x

tool: D0: "

tool: D17: 	"

tool: D70: ";



tool: D107: failed to stat file

tool: D65: failed to close file

tool: D69: failed to open file

tool: D79: failed to grab required memeory

assistant: ```c
int main(int argc, char **argv) {
  FILE *fp;
  void *code;
  int arg;
  int i;
  int l;
  int m = 15;
  struct stat sbuf;
  long flen;
  void (*fptr)(void);
  if (argc < 3)
    usage(argv[0]);
  if (stat(argv[2], &sbuf))
    barf("failed to stat file");
  flen = (long)sbuf.st_size;
  if (!(code = malloc(flen)))
    barf("failed to grab required memeory");
  if (!(fp = fopen(argv[2], "rb")))
    barf("failed to open file");
  if (fread(code, 1, flen, fp) != flen)
    barf("failed to slurp file");
  if (fclose(fp))
    barf("failed to close file");
  while ((arg = getopt(argc, argv, "e:p:")) != -1) {
    switch (arg) {
    case 'e':
      croak("Calling code ...");
      fptr = (void (*)(void))code;
      (*fptr)();
      break;
    case 'p':
      printf("\n\nchar shellcode[] =\n");
      l = m;
      for (i = 0; i < flen; ++i) {
        if (l >= m) {
          if (i)
            printf("\"\n");
          printf("\t\"");
          l = 0;
        }
        ++l;
        printf("\\x%02x", ((unsigned char *)code)[i]);
      }
      printf("\";\n\n\n");
      break;
    default:
      usage(argv[0]);
    }
  }
  return 0;
}
```