user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<print_error_global>:
  endbr64
  push   %r13
  mov    %rsi,%r13
  push   %r12
  mov    %edx,%r12d
  push   %rbp
  mov    %rdi,%rbp
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D18(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  je     L24
  lea    D17(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  je     L16
  lea    D98(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  je     L26
  lea    D83(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  je     L43
  lea    D109(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L63
  lea    D105(%rip),%rdi
  call   <puts@plt>
  jmp    L23
  nopl   (%rax)
L16:
  mov    %r13,%rsi
  lea    D55(%rip),%rdi
  call   <printf@plt>
L23:
  mov    $0xa,%edi
  call   <putchar@plt>
  pop    %rbp
  mov    $0x1,%edi
  pop    %r12
  pop    %r13
  jmp    10d0 <exit@plt>
L24:
  mov    %r13,%rsi
  lea    D13(%rip),%rdi
  call   <printf@plt>
  jmp    L23
  nopl   0x0(%rax)
L63:
  lea    D84(%rip),%rdi
  call   <puts@plt>
  jmp    L23
  cs nopw 0x0(%rax,%rax,1)
L26:
  lea    D32(%rip),%rdi
  call   <puts@plt>
  jmp    L23
  xchg   %ax,%ax
L43:
  mov    %r12d,%esi
  lea    D7(%rip),%rdi
  call   <printf@plt>
  jmp    L23
```

tool_calls: name: disassemble_data
arguments: label: D18
type: string
name: disassemble_data
arguments: label: D17
type: string
name: disassemble_data
arguments: label: D98
type: string
name: disassemble_data
arguments: label: D83
type: string
name: disassemble_data
arguments: label: D109
type: string
name: disassemble_data
arguments: label: D105
type: string
name: disassemble_data
arguments: label: D55
type: string
name: disassemble_data
arguments: label: D13
type: string
name: disassemble_data
arguments: label: D84
type: string
name: disassemble_data
arguments: label: D32
type: string
name: disassemble_data
arguments: label: D7
type: string

tool: D18: open

tool: D17: read

tool: D98: interne

tool: D83: constant

tool: D109: nan

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

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


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


tool: D84: ERROR: Internal error.

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

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


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);
}
```