user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<get_real_mac_osx>:
  endbr64
  push   %rbp
  lea    D164(%rip),%rsi
  mov    %rdi,%rbp
  call   <strstr@plt>
  test   %rax,%rax
  jne    L36
  lea    D32(%rip),%rsi
  mov    %rbp,%rdi
  call   <strstr@plt>
  test   %rax,%rax
  jne    L20
  lea    D97(%rip),%rsi
  mov    %rbp,%rdi
  call   <strstr@plt>
  test   %rax,%rax
  jne    L52
  lea    D155(%rip),%rsi
  mov    %rbp,%rdi
  call   <strstr@plt>
  test   %rax,%rax
  jne    L10
  lea    D139(%rip),%rsi
  mov    %rbp,%rdi
  call   <strstr@plt>
  test   %rax,%rax
  jne    L76
  lea    D9(%rip),%rsi
  mov    %rbp,%rdi
  call   <strstr@plt>
  test   %rax,%rax
  jne    L69
  lea    D121(%rip),%rsi
  mov    %rbp,%rdi
  call   <strstr@plt>
  test   %rax,%rax
  jne    L18
  lea    D13(%rip),%rsi
  mov    %rbp,%rdi
  call   <strstr@plt>
  test   %rax,%rax
  jne    L64
  lea    D66(%rip),%rsi
  mov    %rbp,%rdi
  call   <strstr@plt>
  test   %rax,%rax
  jne    L108
  lea    D36(%rip),%rsi
  mov    %rbp,%rdi
  call   <strstr@plt>
  test   %rax,%rax
  jne    L8
  lea    D20(%rip),%rsi
  mov    %rbp,%rdi
  call   <strstr@plt>
  test   %rax,%rax
  jne    L44
  mov    %rbp,%rdi
  pop    %rbp
  jmp    1060 <alloc_string@plt>
  cs nopw 0x0(%rax,%rax,1)
L20:
  lea    D92(%rip),%rdi
  pop    %rbp
  jmp    1060 <alloc_string@plt>
  nopl   (%rax)
L36:
  lea    D186(%rip),%rdi
  pop    %rbp
  jmp    1060 <alloc_string@plt>
  nopl   (%rax)
L10:
  lea    D39(%rip),%rdi
  pop    %rbp
  jmp    1060 <alloc_string@plt>
  nopl   (%rax)
L52:
  lea    D200(%rip),%rdi
  pop    %rbp
  jmp    1060 <alloc_string@plt>
  nopl   (%rax)
L76:
  lea    D87(%rip),%rdi
  pop    %rbp
  jmp    1060 <alloc_string@plt>
  nopl   (%rax)
L64:
  lea    D120(%rip),%rdi
  pop    %rbp
  jmp    1060 <alloc_string@plt>
  nopl   (%rax)
L69:
  lea    D84(%rip),%rdi
  pop    %rbp
  jmp    1060 <alloc_string@plt>
  nopl   (%rax)
L18:
  lea    D114(%rip),%rdi
  pop    %rbp
  jmp    1060 <alloc_string@plt>
  nopl   (%rax)
L108:
  lea    D7(%rip),%rdi
  pop    %rbp
  jmp    1060 <alloc_string@plt>
L8:
  lea    D25(%rip),%rdi
  pop    %rbp
  jmp    1060 <alloc_string@plt>
L44:
  lea    D89(%rip),%rdi
  pop    %rbp
  jmp    1060 <alloc_string@plt>
```

tool_calls: name: parse_data
arguments: data_label: D164
type: string
name: parse_data
arguments: data_label: D32
type: string
name: parse_data
arguments: data_label: D97
type: string
name: parse_data
arguments: data_label: D155
type: string
name: parse_data
arguments: data_label: D139
type: string
name: parse_data
arguments: data_label: D9
type: string
name: parse_data
arguments: data_label: D121
type: string
name: parse_data
arguments: data_label: D13
type: string
name: parse_data
arguments: data_label: D66
type: string
name: parse_data
arguments: data_label: D36
type: string
name: parse_data
arguments: data_label: D20
type: string
name: parse_data
arguments: data_label: D92
type: string
name: parse_data
arguments: data_label: D186
type: string
name: parse_data
arguments: data_label: D39
type: string
name: parse_data
arguments: data_label: D200
type: string
name: parse_data
arguments: data_label: D87
type: string
name: parse_data
arguments: data_label: D120
type: string
name: parse_data
arguments: data_label: D84
type: string
name: parse_data
arguments: data_label: D114
type: string
name: parse_data
arguments: data_label: D7
type: string
name: parse_data
arguments: data_label: D25
type: string
name: parse_data
arguments: data_label: D89
type: string

tool: D164: 10.10

tool: D32: 10.9

tool: D97: 10.8

tool: D155: 10.7

tool: D139: 10.6

tool: D9: 10.5

tool: D121: 10.4

tool: D13: 10.3

tool: D66: 10.2

tool: D36: 10.1

tool: D20: 10.0

tool: D92: OS X Mavericks

tool: D186: OS X Yosemite

tool: D39: OS X Lion

tool: D200: OS X Mountain Lion

tool: D87: OS X Snow Leopard

tool: D120: OS X Panther

tool: D84: OS X Leopard

tool: D114: OS X Tiger

tool: D7: OS X Jaguar

tool: D25: OS X Puma

tool: D89: OS X Cheetah

assistant: ```c
char *get_real_mac_osx(const char *osx) {
  if (strstr(osx, "10.10"))
    return alloc_string("OS X Yosemite");
  else if (strstr(osx, "10.9"))
    return alloc_string("OS X Mavericks");
  else if (strstr(osx, "10.8"))
    return alloc_string("OS X Mountain Lion");
  else if (strstr(osx, "10.7"))
    return alloc_string("OS X Lion");
  else if (strstr(osx, "10.6"))
    return alloc_string("OS X Snow Leopard");
  else if (strstr(osx, "10.5"))
    return alloc_string("OS X Leopard");
  else if (strstr(osx, "10.4"))
    return alloc_string("OS X Tiger");
  else if (strstr(osx, "10.3"))
    return alloc_string("OS X Panther");
  else if (strstr(osx, "10.2"))
    return alloc_string("OS X Jaguar");
  else if (strstr(osx, "10.1"))
    return alloc_string("OS X Puma");
  else if (strstr(osx, "10.0"))
    return alloc_string("OS X Cheetah");
  return alloc_string(osx);
}
```