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

```asm
<latlon2ul>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  movl   $0x0,-0x18(%rbp)
  movl   $0x0,-0x14(%rbp)
  movl   $0x0,-0x10(%rbp)
  movl   $0x0,-0xc(%rbp)
  mov    -0x28(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L53
L350:
  mov    -0x18(%rbp),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    %eax,%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x30,%eax
  add    %ecx,%eax
  mov    %eax,-0x18(%rbp)
L53:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  jne    L350
  jmp    L82
L295:
  addq   $0x1,-0x8(%rbp)
L82:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L295
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  je     L353
  jmp    L116
L164:
  mov    -0x14(%rbp),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    %eax,%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x30,%eax
  add    %ecx,%eax
  mov    %eax,-0x14(%rbp)
L116:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  jne    L164
  jmp    L186
L94:
  addq   $0x1,-0x8(%rbp)
L186:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L94
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  je     L92
  jmp    L240
L299:
  mov    -0x10(%rbp),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    %eax,%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x30,%eax
  add    %ecx,%eax
  mov    %eax,-0x10(%rbp)
L240:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  jne    L299
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2e,%al
  jne    L148
  addq   $0x1,-0x8(%rbp)
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  je     L148
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x30,%eax
  imul   $0x64,%eax,%eax
  mov    %eax,-0xc(%rbp)
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  je     L148
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  movzbl (%rax),%eax
  movsbl %al,%eax
  lea    -0x30(%rax),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    %eax,%eax
  add    %eax,-0xc(%rbp)
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  je     L148
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x30,%eax
  add    %eax,-0xc(%rbp)
  jmp    L148
L209:
  addq   $0x1,-0x8(%rbp)
L148:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isspace@plt>
  test   %rax,%rax
  je     L209
  jmp    L39
L354:
  addq   $0x1,-0x8(%rbp)
L39:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L354
  jmp    L126
L353:
  nop
  jmp    L126
L92:
  nop
L126:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x45,%eax
  cmp    $0x32,%eax
  seta   %dl
  test   %dl,%dl
  jne    L99
  mov    $0x1,%edx
  mov    %eax,%ecx
  shl    %cl,%rdx
  movabs $0x4400000044000,%rax
  and    %rdx,%rax
  test   %rax,%rax
  setne  %al
  test   %al,%al
  jne    L107
  movabs $0x20100000201,%rax
  and    %rdx,%rax
  test   %rax,%rax
  setne  %al
  test   %al,%al
  je     L99
  mov    -0x18(%rbp),%eax
  imul   $0x3c,%eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  imul   $0x3c,%eax,%edx
  mov    -0x10(%rbp),%eax
  add    %edx,%eax
  imul   $0x3e8,%eax,%eax
  mov    %eax,%edx
  mov    -0xc(%rbp),%eax
  add    %edx,%eax
  add    $0x80000000,%eax
  mov    %eax,-0x1c(%rbp)
  jmp    L171
L107:
  mov    -0x18(%rbp),%eax
  imul   $0x3c,%eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  imul   $0x3c,%eax,%edx
  mov    -0x10(%rbp),%eax
  add    %edx,%eax
  imul   $0x3e8,%eax,%eax
  mov    %eax,%edx
  mov    -0xc(%rbp),%eax
  add    %eax,%edx
  mov    $0x80000000,%eax
  sub    %edx,%eax
  mov    %eax,-0x1c(%rbp)
  jmp    L171
L99:
  movl   $0x0,-0x1c(%rbp)
  nop
L171:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x45,%eax
  cmp    $0x32,%eax
  seta   %dl
  test   %dl,%dl
  jne    L214
  mov    $0x1,%edx
  mov    %eax,%ecx
  shl    %cl,%rdx
  movabs $0x4000100040001,%rax
  and    %rdx,%rax
  test   %rax,%rax
  setne  %al
  test   %al,%al
  jne    L43
  movabs $0x420000004200,%rax
  and    %rdx,%rax
  test   %rax,%rax
  setne  %al
  test   %al,%al
  je     L214
  mov    -0x30(%rbp),%rax
  movl   $0x1,(%rax)
  jmp    L246
L43:
  mov    -0x30(%rbp),%rax
  movl   $0x2,(%rax)
  jmp    L246
L214:
  mov    -0x30(%rbp),%rax
  movl   $0x0,(%rax)
  nop
L246:
  addq   $0x1,-0x8(%rbp)
  jmp    L48
L119:
  addq   $0x1,-0x8(%rbp)
L48:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isspace@plt>
  test   %rax,%rax
  je     L119
  jmp    L147
L50:
  addq   $0x1,-0x8(%rbp)
L147:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L50
  mov    -0x28(%rbp),%rax
  mov    -0x8(%rbp),%rdx
  mov    %rdx,(%rax)
  mov    -0x1c(%rbp),%eax
  leave
  ret
```

assistant: ```c
u_int32_t latlon2ul(char **latlonstrptr, int *which) {
  char *cp;
  u_int32_t retval;
  int deg = 0, min = 0, secs = 0, secsfrac = 0;
  cp = *latlonstrptr;
  while (isdigit(*cp))
    deg = deg * 10 + (*cp++ - '0');
  while (isspace(*cp))
    cp++;
  if (!(isdigit(*cp)))
    goto fndhemi;
  while (isdigit(*cp))
    min = min * 10 + (*cp++ - '0');
  while (isspace(*cp))
    cp++;
  if (!(isdigit(*cp)))
    goto fndhemi;
  while (isdigit(*cp))
    secs = secs * 10 + (*cp++ - '0');
  if (*cp == '.') {
    cp++;
    if (isdigit(*cp)) {
      secsfrac = (*cp++ - '0') * 100;
      if (isdigit(*cp)) {
        secsfrac += (*cp++ - '0') * 10;
        if (isdigit(*cp)) {
          secsfrac += (*cp++ - '0');
        }
      }
    }
  }
  while (!isspace(*cp))
    cp++;
  while (isspace(*cp))
    cp++;
fndhemi:
  switch (*cp) {
  case 'N':
  case 'n':
  case 'E':
  case 'e':
    retval = ((unsigned)1 << 31) + (((((deg * 60) + min) * 60) + secs) * 1000) + secsfrac;
    break;
  case 'S':
  case 's':
  case 'W':
  case 'w':
    retval = ((unsigned)1 << 31) - (((((deg * 60) + min) * 60) + secs) * 1000) - secsfrac;
    break;
  default:
    retval = 0;
    break;
  }
  switch (*cp) {
  case 'N':
  case 'n':
  case 'S':
  case 's':
    *which = 1;
    break;
  case 'E':
  case 'e':
  case 'W':
  case 'w':
    *which = 2;
    break;
  default:
    *which = 0;
    break;
  }
  cp++;
  while (!isspace(*cp))
    cp++;
  while (isspace(*cp))
    cp++;
  *latlonstrptr = cp;
  return (retval);
}
```