user: 下面的汇编指令对应的C源代码是什么：

```asm
<validate_sys_macaddr>:
  endbr64
  push   %r12
  push   %rbp
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  test   %rdi,%rdi
  je     L109
  mov    %rdi,%rbp
  call   <validate_macaddr@plt>
  test   %eax,%eax
  jne    L29
L109:
  xor    %r12d,%r12d
L89:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L31
  add    $0x28,%rsp
  mov    %r12d,%eax
  pop    %rbp
  pop    %r12
  ret
  xchg   %ax,%ax
L29:
  lea    0x14(%rsp),%rax
  mov    %rsp,%rdx
  lea    0x4(%rsp),%rcx
  mov    %rbp,%rdi
  push   %rax
  lea    D32(%rip),%rsi
  lea    0x18(%rsp),%rax
  push   %rax
  lea    0x1c(%rsp),%r9
  lea    0x18(%rsp),%r8
  call   <sscanf@plt>
  pop    %r8
  pop    %r9
  cmp    $0x6,%eax
  jne    L105
  mov    (%rsp),%esi
  mov    0x4(%rsp),%edx
  mov    0x8(%rsp),%ecx
  test   $0x1,%sil
  jne    L47
  cmp    $0x5e,%ecx
  je     L78
L55:
  movdqa (%rsp),%xmm0
  mov    0x10(%rsp),%eax
  mov    0x14(%rsp),%edx
  psrldq $0x8,%xmm0
  paddd  (%rsp),%xmm0
  add    %edx,%eax
  movdqa %xmm0,%xmm1
  psrldq $0x4,%xmm1
  paddd  %xmm1,%xmm0
  movd   %xmm0,%r12d
  add    %eax,%r12d
  je     L115
  mov    $0x1,%r12d
  jmp    L89
  nopl   0x0(%rax,%rax,1)
L105:
  lea    D25(%rip),%rdi
  call   <puts@plt>
  jmp    L109
  nopl   0x0(%rax)
L47:
  sub    $0x8,%rsp
  lea    D41(%rip),%rdi
  xor    %r12d,%r12d
  mov    0x1c(%rsp),%eax
  push   %rax
  mov    0x20(%rsp),%r9d
  xor    %eax,%eax
  mov    0x1c(%rsp),%r8d
  call   <printf@plt>
  pop    %rsi
  pop    %rdi
  jmp    L89
  nopl   0x0(%rax,%rax,1)
L115:
  lea    D36(%rip),%rdi
  call   <puts@plt>
  jmp    L89
  nopl   0x0(%rax)
L78:
  or     %edx,%esi
  or     0xc(%rsp),%esi
  mov    %esi,%r12d
  jne    L55
  cmpl   $0x1,0x10(%rsp)
  jne    L55
  push   %rax
  mov    0x1c(%rsp),%eax
  xor    %edx,%edx
  mov    $0x1,%r9d
  xor    %r8d,%r8d
  xor    %esi,%esi
  lea    D47(%rip),%rdi
  push   %rax
  xor    %eax,%eax
  call   <printf@plt>
  pop    %rdx
  pop    %rcx
  jmp    L89
L31:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D32
type_guessed: string
name: parse_data
arguments: label: D25
type_guessed: string
name: parse_data
arguments: label: D41
type_guessed: string
name: parse_data
arguments: label: D36
type_guessed: string
name: parse_data
arguments: label: D47
type_guessed: string

tool: D32: %x:%x:%x:%x:%x:%x

tool: D25: Error: wrong number of octets

tool: D41: Error: %x:%x:%x:%x:%x:%x is a multicast address


tool: D36: Error: zero is not a valid address

tool: D47: Error: %x:%x:%x:%x:%x:%x is a vrrp mac address


assistant: ```c
int validate_sys_macaddr(const char *str) {
  if (!str)
    return 0;
  if (!validate_macaddr(str))
    return 0;
  int a[6];
  int sum = 0;
  if (sscanf(str, "%x:%x:%x:%x:%x:%x", &a[0], &a[1], &a[2], &a[3], &a[4], &a[5]) != 6) {
    printf("Error: wrong number of octets\n");
    return 0;
  }
  if (a[0] & 1) {
    printf("Error: %x:%x:%x:%x:%x:%x is a multicast address\n", a[0], a[1], a[2], a[3], a[4], a[5]);
    return 0;
  }
  if ((a[0] == 0) && (a[1] == 0) && (a[2] == 94) && (a[3] == 0) && (a[4] == 1)) {
    printf("Error: %x:%x:%x:%x:%x:%x is a vrrp mac address\n", a[0], a[1], a[2], a[3], a[4], a[5]);
    return 0;
  }
  int i;
  for (i = 0; i < 6; ++i) {
    sum += a[i];
  }
  if (sum == 0) {
    printf("Error: zero is not a valid address\n");
    return 0;
  }
  return 1;
}
```