user: Converte this assembly snippet into its equivalent C code:

```asm
<main>:
  endbr64
  push   %rbp
  lea    D11(%rip),%rbp
  mov    %rbp,%rdi
  call   <printf@plt>
  xor    %eax,%eax
  call   <test_path_check@plt>
  mov    %rbp,%rdi
  test   %rax,%rax
  jne    L7
  call   <printf@plt>
  lea    D24(%rip),%rdi
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  xor    %eax,%eax
  call   <test_file_read@plt>
  mov    %rbp,%rdi
  test   %rax,%rax
  jne    L24
  call   <printf@plt>
  lea    D52(%rip),%rdi
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  xor    %eax,%eax
  call   <test_file_write@plt>
  mov    %rbp,%rdi
  test   %rax,%rax
  jne    L9
  call   <printf@plt>
  lea    D26(%rip),%rdi
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  xor    %eax,%eax
  pop    %rbp
  ret
L7:
  call   <printf@plt>
  lea    D19(%rip),%rdi
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  or     $0xffffffff,%eax
  pop    %rbp
  ret
L24:
  call   <printf@plt>
  lea    D18(%rip),%rdi
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  or     $0xffffffff,%eax
  pop    %rbp
  ret
L9:
  call   <printf@plt>
  lea    D68(%rip),%rdi
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  or     $0xffffffff,%eax
  pop    %rbp
  ret
```

tool_calls: name: unpack_data
arguments: tag: D11
type: string
name: unpack_data
arguments: tag: D24
type: string
name: unpack_data
arguments: tag: D52
type: string
name: unpack_data
arguments: tag: D26
type: string
name: unpack_data
arguments: tag: D19
type: string
name: unpack_data
arguments: tag: D18
type: string
name: unpack_data
arguments: tag: D68
type: string

tool: D11: ----------------------------------------------------------


tool: D24: eslib_file_path_check: passed


tool: D52: test_file_read: passed


tool: D26: test_file_write: passed


tool: D19: eslib_file_path_check: fail


tool: D18: test_file_read: failed


tool: D68: test_file_write: failed


assistant: ```c
int main() {
  printf("----------------------------------------------------------\n");
  if (test_path_check()) {
    printf("----------------------------------------------------------\n");
    printf("eslib_file_path_check: fail\n");
    printf("----------------------------------------------------------\n");
    return -1;
  }
  printf("----------------------------------------------------------\n");
  printf("eslib_file_path_check: passed\n");
  printf("----------------------------------------------------------\n");
  if (test_file_read()) {
    printf("----------------------------------------------------------\n");
    printf("test_file_read: failed\n");
    printf("----------------------------------------------------------\n");
    return -1;
  }
  printf("----------------------------------------------------------\n");
  printf("test_file_read: passed\n");
  printf("----------------------------------------------------------\n");
  if (test_file_write()) {
    printf("----------------------------------------------------------\n");
    printf("test_file_write: failed\n");
    printf("----------------------------------------------------------\n");
    return -1;
  }
  printf("----------------------------------------------------------\n");
  printf("test_file_write: passed\n");
  printf("----------------------------------------------------------\n");
  return 0;
}
```