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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    -0x2(%rdi),%eax
  cmp    $0x1,%eax
  ja     L41
  mov    %rsi,%rbp
  cmp    $0x3,%edi
  je     L192
  mov    0x8(%rsi),%r12
L63:
  lea    D39(%rip),%rsi
  mov    %r12,%rdi
  call   <fopen@plt>
  test   %rax,%rax
  je     L109
L94:
  mov    %r12,%rdi
  lea    0x10(%rsp),%rsi
  lea    0x14(%rsp),%rdx
  call   <read_bmp_file@plt>
  lea    D45(%rip),%r12
  mov    0x8(%rbp),%rdi
  mov    %r12,%rsi
  mov    %rax,%r13
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L104
L196:
  xor    %ebx,%ebx
  cmpl   $0x0,0x14(%rsp)
  movl   $0x0,0xc(%rsp)
  lea    D11(%rip),%r15
  jle    L176
  nopl   0x0(%rax,%rax,1)
L15:
  mov    0x10(%rsp),%eax
  xor    %r14d,%r14d
  test   %eax,%eax
  jg     L193
  jmp    L75
  nopl   0x0(%rax,%rax,1)
L223:
  imul   0x10(%rsp),%eax
  mov    %r15,%rdi
  add    %r14d,%eax
  cltq
  cmpb   $0x1,0x0(%r13,%rax,1)
  sbb    %esi,%esi
  xor    %eax,%eax
  and    $0xfffffff2,%esi
  add    $0x2e,%esi
  call   <printf@plt>
L132:
  add    $0x1,%r14d
  cmp    %r14d,0x10(%rsp)
  jle    L75
L193:
  mov    0x8(%rbp),%rdi
  mov    %r12,%rsi
  call   <strcmp@plt>
  test   %rax,%rax
  mov    %ebx,%eax
  je     L223
  imul   0x10(%rsp),%eax
  add    %r14d,%eax
  cltq
  cmpb   $0x1,0x0(%r13,%rax,1)
  je     L98
L77:
  cmpl   $0xf,0xc(%rsp)
  jne    L132
  lea    D27(%rip),%rdi
  xor    %eax,%eax
  add    $0x1,%r14d
  call   <printf@plt>
  movl   $0x0,0xc(%rsp)
  cmp    %r14d,0x10(%rsp)
  jg     L193
  xchg   %ax,%ax
L75:
  mov    0x8(%rbp),%rdi
  mov    %r12,%rsi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L167
L72:
  add    $0x1,%ebx
  cmp    %ebx,0x14(%rsp)
  jg     L15
L176:
  mov    0x8(%rbp),%rdi
  mov    %r12,%rsi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L168
L102:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L105
  add    $0x28,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L98:
  mov    %ebx,%edx
  mov    %r14d,%esi
  lea    D46(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  addl   $0x1,0xc(%rsp)
  jmp    L77
  nopl   (%rax)
L167:
  mov    $0xa,%edi
  call   <putchar@plt>
  jmp    L72
L41:
  xor    %eax,%eax
  call   <print_usage@plt>
  xor    %edi,%edi
  call   <exit@plt>
  jmp    L102
L192:
  mov    0x10(%rsi),%r12
  jmp    L63
L104:
  lea    D55(%rip),%rdi
  call   <puts@plt>
  lea    D78(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L196
L168:
  lea    D70(%rip),%rdi
  call   <puts@plt>
  jmp    L102
L109:
  lea    D57(%rip),%rdi
  call   <puts@plt>
  xor    %edi,%edi
  call   <exit@plt>
  jmp    L94
L105:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: label: D39
type_guessed: string
name: disassemble_data
arguments: label: D45
type_guessed: string
name: disassemble_data
arguments: label: D11
type_guessed: string
name: disassemble_data
arguments: label: D27
type_guessed: string
name: disassemble_data
arguments: label: D46
type_guessed: string
name: disassemble_data
arguments: label: D55
type_guessed: string
name: disassemble_data
arguments: label: D78
type_guessed: string
name: disassemble_data
arguments: label: D70
type_guessed: string
name: disassemble_data
arguments: label: D57
type_guessed: string

tool: D39: r

tool: D45: -a

tool: D11: %c 

tool: D27: 
  

tool: D46: 0x%02x, 0x%02x, 

tool: D55: static const unsigned char bmp [] PROGMEM = {

tool: D78:   

tool: D70: };

tool: D57: No such file

assistant: ```c
int main(int argc, char *argv[]) {
  FILE *file;
  int i, j, width, height;
  char *file_name;
  unsigned char *bmp;
  if (argc < 2 || argc > 3) {
    print_usage();
    exit(0);
  } else {
    if (argc == 3)
      file_name = argv[2];
    else
      file_name = argv[1];
    file = fopen(file_name, "r");
    if (file == 0) {
      printf("No such file\n");
      exit(0);
    }
    bmp = read_bmp_file(file_name, &width, &height);
    if (strcmp(argv[1], "-a")) {
      printf("static const unsigned char bmp [] PROGMEM = {\n");
      printf("  ");
    }
    int new_line = 0;
    for (i = 0; i < height; i++) {
      for (j = 0; j < width; j++) {
        if (!strcmp(argv[1], "-a")) {
          printf("%c ", bmp[i * width + j] ? '.' : ' ');
        } else {
          if (bmp[i * width + j] == 1) {
            printf("0x%02x, 0x%02x, ", j, i);
            new_line += 1;
          }
          if (new_line == 15) {
            new_line = 0;
            printf("\n  ");
          }
        }
      }
      if (!strcmp(argv[1], "-a"))
        printf("\n");
    }
    if (strcmp(argv[1], "-a"))
      printf("};\n");
  }
  return 0;
}
```