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

```asm
<check_address>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x60,%rsp
  mov    %rdi,-0x58(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x58(%rbp),%rax
  lea    D12(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <re_match@plt>
  test   %rax,%rax
  je     L144
  mov    -0x58(%rbp),%rax
  mov    $0x1,%edx
  mov    %rax,%rsi
  lea    D63(%rip),%rax
  mov    %rax,%rdi
  call   <validateType@plt>
  test   %eax,%eax
  jne    L128
  mov    -0x58(%rbp),%rax
  mov    %rax,%rsi
  lea    D18(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  jmp    L8
L128:
  movl   $0x0,-0x44(%rbp)
  movl   $0x0,-0x3c(%rbp)
  movl   $0xffffff00,-0x34(%rbp)
  lea    -0x30(%rbp),%rax
  lea    0xc(%rax),%r8
  lea    -0x30(%rbp),%rax
  lea    0x8(%rax),%rdi
  lea    -0x30(%rbp),%rax
  lea    0x4(%rax),%rcx
  lea    -0x30(%rbp),%rdx
  mov    -0x58(%rbp),%rax
  lea    -0x20(%rbp),%rsi
  add    $0xc,%rsi
  push   %rsi
  lea    -0x20(%rbp),%rsi
  add    $0x8,%rsi
  push   %rsi
  lea    -0x20(%rbp),%rsi
  add    $0x4,%rsi
  push   %rsi
  lea    -0x20(%rbp),%rsi
  push   %rsi
  mov    %r8,%r9
  mov    %rdi,%r8
  lea    D6(%rip),%rsi
  mov    %rax,%rdi
  call   <sscanf@plt>
  add    $0x20,%rsp
  cmp    $0x8,%eax
  je     L140
  mov    $0x0,%eax
  jmp    L8
L140:
  movl   $0x0,-0x38(%rbp)
  jmp    L130
L49:
  mov    -0x44(%rbp),%eax
  shl    $0x8,%eax
  mov    %eax,-0x44(%rbp)
  mov    -0x38(%rbp),%eax
  cltq
  mov    -0x30(%rbp,%rax,4),%edx
  mov    -0x44(%rbp),%eax
  or     %edx,%eax
  mov    %eax,-0x44(%rbp)
  shll   $0x8,-0x3c(%rbp)
  mov    -0x38(%rbp),%eax
  cltq
  mov    -0x20(%rbp,%rax,4),%edx
  mov    -0x3c(%rbp),%eax
  or     %edx,%eax
  mov    %eax,-0x3c(%rbp)
  addl   $0x1,-0x38(%rbp)
L130:
  cmpl   $0x3,-0x38(%rbp)
  jle    L49
  mov    -0x44(%rbp),%eax
  and    -0x34(%rbp),%eax
  mov    %eax,-0x44(%rbp)
  mov    -0x34(%rbp),%eax
  and    %eax,-0x3c(%rbp)
  mov    -0x44(%rbp),%eax
  cmp    %eax,-0x3c(%rbp)
  je     L12
  mov    -0x44(%rbp),%eax
  mov    %eax,%edi
  call   <htonl@plt>
  mov    %eax,-0x44(%rbp)
  lea    -0x44(%rbp),%rcx
  lea    -0x40(%rbp),%rax
  mov    $0x4,%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  mov    -0x40(%rbp),%eax
  mov    %eax,%edi
  call   <inet_ntoa@plt>
  mov    %rax,%rsi
  lea    D45(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  jmp    L8
L12:
  mov    $0x1,%eax
  jmp    L8
L144:
  mov    -0x58(%rbp),%rax
  lea    D23(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L103
  lea    D52(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  jmp    L8
L103:
  mov    -0x58(%rbp),%rax
  mov    $0x1,%edx
  mov    %rax,%rsi
  lea    D10(%rip),%rax
  mov    %rax,%rdi
  call   <validateType@plt>
  test   %eax,%eax
  jne    L90
  mov    -0x58(%rbp),%rax
  mov    %rax,%rsi
  lea    D27(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  jmp    L8
L90:
  mov    $0x1,%eax
L8:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L28
  call   <__stack_chk_fail@plt>
L28:
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: tag: D12
type_infered: string
name: retrieve_data
arguments: tag: D63
type_infered: string
name: retrieve_data
arguments: tag: D18
type_infered: string
name: retrieve_data
arguments: tag: D6
type_infered: string
name: retrieve_data
arguments: tag: D45
type_infered: string
name: retrieve_data
arguments: tag: D23
type_infered: string
name: retrieve_data
arguments: tag: D52
type_infered: string
name: retrieve_data
arguments: tag: D10
type_infered: string
name: retrieve_data
arguments: tag: D27
type_infered: string

tool: D12: ^[^-]+-[^-]+

tool: D63: ipv4range

tool: D18: Error: [%s] is not a valid IPv4 address range


tool: D6: %u.%u.%u.%u-%u.%u.%u.%u

tool: D45: Error: address range must be within %s/24


tool: D23: 0.0.0.0

tool: D52: Error: zero IP address not valid in address-group

tool: D10: ipv4

tool: D27: Error: [%s] isn't valid IPv4 address


assistant: ```c
int check_address(char *addr) {
  if (re_match(addr, "^[^-]+-[^-]+")) {
    if (!validateType("ipv4range", addr, 1)) {
      printf("Error: [%s] is not a valid IPv4 address range\n", addr);
      return 0;
    }
    unsigned int a1[4], a2[4];
    uint32_t addr1 = 0;
    uint32_t addr2 = 0;
    uint32_t mask = 0xffffff00;
    if (sscanf(addr, "%u.%u.%u.%u-%u.%u.%u.%u", &a1[0], &a1[1], &a1[2], &a1[3], &a2[0], &a2[1], &a2[2], &a2[3]) != 8)
      return 0;
    int i;
    for (i = 0; i < 4; ++i) {
      addr1 <<= 8;
      addr1 |= a1[i];
      addr2 <<= 8;
      addr2 |= a2[i];
    }
    addr1 = addr1 & mask;
    addr2 = addr2 & mask;
    struct in_addr in;
    if (addr1 != addr2) {
      addr1 = htonl(addr1);
      memcpy(&in, &addr1, sizeof(struct in_addr));
      printf("Error: address range must be within %s/24\n", inet_ntoa(in));
      return 0;
    }
    return 1;
  }
  if (strcmp(addr, "0.0.0.0") == 0) {
    printf("Error: zero IP address not valid in address-group");
    return 0;
  }
  if (!validateType("ipv4", addr, 1)) {
    printf("Error: [%s] isn't valid IPv4 address\n", addr);
    return 0;
  }
  return 1;
}
```