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    D39(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  je     L39
  lea    D57(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  je     L14
  lea    D47(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  je     L74
  lea    D32(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  je     L55
  lea    D98(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L31
  lea    D7(%rip),%rdi
  call   <puts@plt>
  jmp    L12
  nopl   (%rax)
L14:
  mov    %r13,%rsi
  lea    D4(%rip),%rdi
  call   <printf@plt>
L12:
  mov    $0xa,%edi
  call   <putchar@plt>
  pop    %rbp
  mov    $0x1,%edi
  pop    %r12
  pop    %r13
  jmp    10d0 <exit@plt>
L39:
  mov    %r13,%rsi
  lea    D95(%rip),%rdi
  call   <printf@plt>
  jmp    L12
  nopl   0x0(%rax)
L31:
  lea    D20(%rip),%rdi
  call   <puts@plt>
  jmp    L12
  cs nopw 0x0(%rax,%rax,1)
L74:
  lea    D72(%rip),%rdi
  call   <puts@plt>
  jmp    L12
  xchg   %ax,%ax
L55:
  mov    %r12d,%esi
  lea    D13(%rip),%rdi
  call   <printf@plt>
  jmp    L12
```

tool_calls: name: disassemble_data
arguments: label: D39
data_type: string
name: disassemble_data
arguments: label: D57
data_type: string
name: disassemble_data
arguments: label: D47
data_type: string
name: disassemble_data
arguments: label: D32
data_type: string
name: disassemble_data
arguments: label: D98
data_type: string
name: disassemble_data
arguments: label: D7
data_type: string
name: disassemble_data
arguments: label: D4
data_type: string
name: disassemble_data
arguments: label: D95
data_type: string
name: disassemble_data
arguments: label: D20
data_type: string
name: disassemble_data
arguments: label: D72
data_type: string
name: disassemble_data
arguments: label: D13
data_type: string

tool: D39: open

tool: D57: read

tool: D47: interne

tool: D32: constant

tool: D98: nan

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

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


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


tool: D20: ERROR: Internal error.

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

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