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

```asm
<print_error_global>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %rdi,-0x8(%rbp)
  mov    %rsi,-0x10(%rbp)
  mov    %edx,-0x14(%rbp)
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    -0x8(%rbp),%rax
  lea    D62(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L24
  mov    -0x10(%rbp),%rax
  mov    %rax,%rsi
  lea    D109(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L94
L24:
  mov    -0x8(%rbp),%rax
  lea    D87(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L10
  mov    -0x10(%rbp),%rax
  mov    %rax,%rsi
  lea    D38(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L94
L10:
  mov    -0x8(%rbp),%rax
  lea    D99(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L15
  lea    D26(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  jmp    L94
L15:
  mov    -0x8(%rbp),%rax
  lea    D48(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L86
  mov    -0x14(%rbp),%eax
  mov    %eax,%esi
  lea    D59(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L94
L86:
  mov    -0x8(%rbp),%rax
  lea    D86(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L82
  lea    D2(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  jmp    L94
L82:
  lea    D66(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
L94:
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    $0x1,%edi
  call   <exit@plt>
  nop
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: label: D62
type: string
name: disassemble_data
arguments: label: D109
type: string
name: disassemble_data
arguments: label: D87
type: string
name: disassemble_data
arguments: label: D38
type: string
name: disassemble_data
arguments: label: D99
type: string
name: disassemble_data
arguments: label: D26
type: string
name: disassemble_data
arguments: label: D48
type: string
name: disassemble_data
arguments: label: D59
type: string
name: disassemble_data
arguments: label: D86
type: string
name: disassemble_data
arguments: label: D2
type: string
name: disassemble_data
arguments: label: D66
type: string

tool: D62: open

tool: D109: ERROR: unable to open file %s. Please, check that the name of the file you provided is correct.


tool: D87: read

tool: D38: ERROR: unable to read file %s. Please, check check that the format is correct (refer to the documentation).


tool: D99: interne

tool: D26: ERROR: internal error. Please run the program again. If the error is repeated, contact us.

tool: D48: constant

tool: D59: ERROR: %d SNPs are invariant. Please, remove these SNPs before the analysis.


tool: D86: nan

tool: D2: ERROR: internal error. Please, run the program again. If the error is still present, contact us.

tool: D66: ERROR: Internal error.

assistant: ```c
void print_error_global(char *msg, char *file, int n) {
  printf("\n");
  if (!strcmp(msg, "open")) {
    printf("ERROR: unable to open file %s. Please, check that the name"
           " of the file you provided is correct.\n",
           file);
  } else if (!strcmp(msg, "read")) {
    printf("ERROR: unable to read file %s. Please, check check that the"
           " format is correct (refer to the documentation).\n",
           file);
  } else if (!strcmp(msg, "interne")) {
    printf("ERROR: internal error. Please run the program again. If"
           " the error is repeated, contact us.\n");
  } else if (!strcmp(msg, "constant")) {
    printf("ERROR: %d SNPs are invariant. Please, remove these SNPs"
           " before the analysis.\n",
           n);
  } else if (!strcmp(msg, "nan")) {
    printf("ERROR: internal error. Please, run the program again. If"
           " the error is still present, contact us.\n");
  } else {
    printf("ERROR: Internal error.\n");
  }
  printf("\n");
  exit(1);
}
```