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

```asm
<form_field_getstr_phone>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  cmpq   $0x0,-0x18(%rbp)
  je     L20
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L77
L20:
  mov    $0x16,%edx
  lea    D136(%rip),%rax
  mov    %rax,%rsi
  lea    D53(%rip),%rax
  mov    %rax,%rdi
  call   <strlcpy@plt>
  lea    D53(%rip),%rax
  jmp    L158
L77:
  mov    -0x18(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  movl   $0x0,-0xc(%rbp)
  mov    $0x16,%esi
  lea    D53(%rip),%rax
  mov    %rax,%rdi
  call   <bzero@plt>
L179:
  cmpl   $0xf,-0xc(%rbp)
  ja     L42
  mov    -0xc(%rbp),%eax
  lea    0x0(,%rax,4),%rdx
  lea    D91(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D91(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
  mov    -0xc(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0xc(%rbp)
  cltq
  lea    D53(%rip),%rdx
  movb   $0x28,(%rax,%rdx,1)
  jmp    L42
  mov    -0xc(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0xc(%rbp)
  cltq
  lea    D53(%rip),%rdx
  movb   $0x29,(%rax,%rdx,1)
  mov    -0xc(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0xc(%rbp)
  cltq
  lea    D53(%rip),%rdx
  movb   $0x20,(%rax,%rdx,1)
  jmp    L42
  mov    -0xc(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0xc(%rbp)
  cltq
  lea    D53(%rip),%rdx
  movb   $0x2d,(%rax,%rdx,1)
  jmp    L42
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L186
  mov    -0xc(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0xc(%rbp)
  cltq
  lea    D53(%rip),%rdx
  movb   $0x20,(%rax,%rdx,1)
L186:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L128
  mov    -0xc(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0xc(%rbp)
  cltq
  lea    D53(%rip),%rdx
  movb   $0x78,(%rax,%rdx,1)
L128:
  nop
L42:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  je     L29
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0xc(%rbp),%edx
  lea    0x1(%rdx),%ecx
  mov    %ecx,-0xc(%rbp)
  movzbl (%rax),%ecx
  movslq %edx,%rax
  lea    D53(%rip),%rdx
  mov    %cl,(%rax,%rdx,1)
  jmp    L1
L29:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <tolower@plt>
  cmp    $0x78,%al
  jne    L136
  cmpl   $0xd,-0xc(%rbp)
  jg     L0
  mov    -0xc(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0xc(%rbp)
  cltq
  lea    D53(%rip),%rdx
  movb   $0x5f,(%rax,%rdx,1)
  jmp    L1
L0:
  mov    -0x8(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,-0x8(%rbp)
  jmp    L1
L136:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L57
  cmpl   $0xd,-0xc(%rbp)
  jg     L57
  mov    -0xc(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0xc(%rbp)
  cltq
  lea    D53(%rip),%rdx
  movb   $0x5f,(%rax,%rdx,1)
  jmp    L1
L57:
  addl   $0x1,-0xc(%rbp)
L1:
  mov    -0xc(%rbp),%eax
  cmp    $0x14,%eax
  jbe    L179
  lea    D53(%rip),%rax
L158:
  leave
  ret
```

tool_calls: name: read_data
arguments: data_label: D136
type_guessed: string

tool: D136: (___) ___-____

assistant: ```c
const char *form_field_getstr_phone(const char *raw, void *arg) {
  static char str[sizeof("(NPA) NXX-NMBR xEXTN5")];
  const char *r;
  int len;
  if (raw == NULL || *raw == '\0') {
    strlcpy(str, "(___) ___-____", sizeof(str));
    return str;
  }
  r = raw;
  len = 0;
  bzero(str, sizeof(str));
  do {
    switch (len) {
    case 0:
      str[len++] = '(';
      break;
    case 4:
      str[len++] = ')';
    case 5:
      str[len++] = ' ';
      break;
    case 9:
      str[len++] = '-';
      break;
    case 14:
      if (*r != '\0')
        str[len++] = ' ';
    case 15:
      if (*r != '\0')
        str[len++] = 'x';
      break;
    }
    if (isdigit(*r))
      str[len++] = *r++;
    else if (tolower(*r) == 'x') {
      if (len < 14)
        str[len++] = '_';
      else
        *r++;
    } else if (*r == '\0' && len < 14)
      str[len++] = '_';
    else
      len++;
  } while (len < (sizeof("(NPA) NXX-NMBR xEXTN5") - 1));
  return str;
}
```