user: 请将以下的汇编代码转换成C语言代码:

```asm
<is_valid_email_address>:
  endbr64
  test   %rdi,%rdi
  je     L27
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x8,%rsp
  movzbl (%rdi),%eax
  test   %al,%al
  je     L173
  mov    %rdi,%rdx
  xor    %ebp,%ebp
  movabs $0xfbffffffffffffde,%rdi
  jmp    L365
  cs nopw 0x0(%rax,%rax,1)
L26:
  movzbl 0x1(%rdx),%eax
  add    $0x1,%rdx
  test   %al,%al
  je     L217
L365:
  lea    -0x21(%rax),%ecx
  cmp    $0x5d,%cl
  lea    -0x22(%rax),%ecx
  seta   %sil
  cmp    $0x3a,%cl
  ja     L355
  mov    %rdi,%r8
  sar    %cl,%r8
  mov    %r8,%rcx
  and    $0x1,%ecx
  xor    $0x1,%ecx
  or     %ecx,%esi
L355:
  test   %sil,%sil
  jne    L173
  cmp    $0x40,%al
  jne    L26
  test   %rbp,%rbp
  jne    L173
  mov    %rdx,%rbp
  movzbl 0x1(%rdx),%eax
  add    $0x1,%rdx
  test   %al,%al
  jne    L365
L217:
  cmp    %rbx,%rbp
  je     L173
  test   %rbp,%rbp
  je     L173
  movzbl 0x1(%rbp),%edi
  test   %dil,%dil
  je     L173
  lea    0x1(%rbp),%r12
  nopw   0x0(%rax,%rax,1)
L333:
  call   <isalnum@plt>
  test   %rax,%rax
  movzbl (%r12),%eax
  jne    L373
  lea    -0x2d(%rax),%edx
  cmp    $0x1,%dl
  jbe    L373
  cmp    $0x5f,%al
  jne    L173
L373:
  cmp    $0x2e,%al
  je     L335
  movzbl 0x1(%r12),%edi
  add    $0x1,%r12
  test   %dil,%dil
  jne    L333
  movabs $0xa000a80000000000,%r13
  mov    %rbx,%r12
  cmp    %rbx,%rbp
  ja     L22
  jmp    L319
  nopl   (%rax)
L210:
  cmp    %r12,%rbx
  je     L173
  movzbl 0x1(%r12),%eax
  cmp    $0x40,%al
  je     L173
  cmp    $0x2e,%al
  je     L173
L332:
  add    $0x1,%r12
  cmp    %r12,%rbp
  je     L319
L22:
  movzbl (%r12),%edi
  cmp    $0x2e,%dil
  je     L210
  call   <isalnum@plt>
  test   %rax,%rax
  jne    L332
  movzbl (%r12),%eax
  mov    %eax,%edx
  and    $0xfffffffd,%edx
  cmp    $0x21,%dl
  je     L332
  cmp    $0x3f,%al
  ja     L341
  cmp    $0x2a,%al
  jbe    L173
  bt     %rax,%r13
  jb     L332
  nopw   0x0(%rax,%rax,1)
L173:
  xor    %eax,%eax
L184:
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopl   (%rax)
L27:
  xor    %eax,%eax
  ret
  nopl   0x0(%rax,%rax,1)
L335:
  cmpb   $0x40,-0x1(%r12)
  je     L173
  movzbl 0x1(%r12),%edi
  cmp    $0x2e,%dil
  je     L173
  test   %dil,%dil
  je     L173
  add    $0x1,%r12
  jmp    L333
L341:
  cmp    $0x5f,%al
  ja     L168
  cmp    $0x5d,%al
  jbe    L173
  jmp    L332
L168:
  cmp    $0x7e,%al
  je     L332
  jmp    L173
L319:
  mov    $0x1,%eax
  jmp    L184
```

assistant: ```c
int is_valid_email_address(const unsigned char *email_address) {
  if (!email_address || !*email_address)
    return 0;
  const unsigned char *p;
  const unsigned char *at_ptr = 0;
  for (p = email_address; *p; ++p) {
    if (*p <= ' ' || *p >= 127 || *p == '\\' || *p == '\'' || *p == '\"')
      return 0;
    if (*p == '@') {
      if (at_ptr)
        return 0;
      at_ptr = p;
    }
  }
  if (!at_ptr)
    return 0;
  if (at_ptr == email_address || !at_ptr[1])
    return 0;
  for (p = at_ptr + 1; *p; ++p) {
    if (!isalnum(*p) && *p != '-' && *p != '_' && *p != '.')
      return 0;
    if (*p == '.' && (p[-1] == '@' || !p[1] || p[1] == '.'))
      return 0;
  }
  for (p = email_address; p < at_ptr; ++p) {
    if (*p == '.') {
      if (p == email_address || p[1] == '@' || p[1] == '.')
        return 0;
    } else if (isalnum(*p)) {
    } else if (*p == '!' || *p == '#' || *p == '+' || *p == '-' || *p == '/' || *p == '=' || *p == '?' || *p == '^' || *p == '_' || *p == '~') {
    } else {
      return 0;
    }
  }
  return 1;
}
```