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

```asm
<httpd_decode_url>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x38(%rbp)
  movl   $0x0,-0x24(%rbp)
  movl   $0x0,-0x20(%rbp)
  jmp    L213
L248:
  mov    -0x24(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x25,%al
  jne    L402
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x1(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2f,%al
  jle    L119
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x1(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x39,%al
  jg     L119
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x1(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x30,%eax
  jmp    L280
L119:
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x1(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x40,%al
  jle    L300
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x1(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x46,%al
  jg     L300
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x1(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x37,%eax
  jmp    L280
L300:
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x1(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x60,%al
  jle    L547
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x1(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x66,%al
  jg     L547
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x1(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x57,%eax
  jmp    L280
L547:
  mov    $0xffffffff,%eax
L280:
  mov    %eax,-0x18(%rbp)
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x2(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2f,%al
  jle    L221
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x2(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x39,%al
  jg     L221
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x2(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x30,%eax
  jmp    L364
L221:
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x2(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x40,%al
  jle    L470
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x2(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x46,%al
  jg     L470
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x2(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x37,%eax
  jmp    L364
L470:
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x2(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x60,%al
  jle    L619
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x2(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x66,%al
  jg     L619
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x2(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x57,%eax
  jmp    L364
L619:
  mov    $0xffffffff,%eax
L364:
  mov    %eax,-0x14(%rbp)
  cmpl   $0x1,-0x18(%rbp)
  jle    L424
  cmpl   $0x0,-0x14(%rbp)
  js     L424
  addl   $0x3,-0x24(%rbp)
  mov    -0x18(%rbp),%eax
  shl    $0x4,%eax
  mov    %eax,%edx
  mov    -0x14(%rbp),%eax
  lea    (%rdx,%rax,1),%ecx
  mov    -0x20(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x20(%rbp)
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  jmp    L538
L424:
  cmpl   $0x0,-0x18(%rbp)
  js     L213
  cmpl   $0x1,-0x18(%rbp)
  jg     L213
  mov    $0x0,%eax
  jmp    L102
L538:
  jmp    L213
L402:
  mov    -0x24(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2b,%al
  jne    L614
  mov    -0x20(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x20(%rbp)
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movb   $0x20,(%rax)
  addl   $0x1,-0x24(%rbp)
  jmp    L213
L614:
  mov    -0x24(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x24(%rbp)
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x20(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x20(%rbp)
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rax,%rdx
  movzbl (%rcx),%eax
  mov    %al,(%rdx)
L213:
  mov    -0x24(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L584
  mov    -0x24(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x3f,%al
  jne    L248
L584:
  mov    -0x20(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  movl   $0x0,-0x20(%rbp)
  mov    -0x20(%rbp),%eax
  mov    %eax,-0x24(%rbp)
  jmp    L425
L603:
  mov    -0x24(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,-0x10(%rbp)
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x1(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,-0xc(%rbp)
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x2(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x3(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x24(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x7c,%al
  je     L403
  mov    -0x24(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x3c,%al
  je     L403
  mov    -0x24(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x3e,%al
  je     L403
  mov    -0x24(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x3f,%al
  je     L403
  mov    -0x24(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2a,%al
  jne    L207
L403:
  mov    $0x0,%eax
  jmp    L102
L207:
  cmpl   $0x2f,-0x10(%rbp)
  jne    L34
  cmpl   $0x2f,-0xc(%rbp)
  je     L477
  cmpl   $0x5c,-0xc(%rbp)
  jne    L34
L477:
  addl   $0x1,-0x24(%rbp)
  mov    -0x24(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movb   $0x2f,(%rax)
  jmp    L425
L34:
  cmpl   $0x2f,-0x10(%rbp)
  je     L370
  cmpl   $0x5c,-0x10(%rbp)
  jne    L299
L370:
  cmpl   $0x2e,-0xc(%rbp)
  jne    L299
  cmpl   $0x2f,-0x8(%rbp)
  je     L550
  cmpl   $0x5c,-0x8(%rbp)
  jne    L299
L550:
  addl   $0x2,-0x24(%rbp)
  mov    -0x24(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movb   $0x2f,(%rax)
  jmp    L425
L299:
  cmpl   $0x2f,-0x10(%rbp)
  je     L287
  cmpl   $0x5c,-0x10(%rbp)
  jne    L14
L287:
  cmpl   $0x2e,-0xc(%rbp)
  jne    L14
  cmpl   $0x2e,-0x8(%rbp)
  jne    L14
  cmpl   $0x2f,-0x4(%rbp)
  je     L413
  cmpl   $0x5c,-0x4(%rbp)
  jne    L14
L413:
  cmpl   $0x0,-0x20(%rbp)
  jg     L170
  mov    $0x0,%eax
  jmp    L102
L170:
  mov    -0x20(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x1c(%rbp)
  jmp    L504
L414:
  subl   $0x1,-0x1c(%rbp)
L504:
  cmpl   $0x0,-0x1c(%rbp)
  js     L71
  mov    -0x1c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2f,%al
  jne    L414
L71:
  cmpl   $0x0,-0x1c(%rbp)
  jns    L437
  mov    $0x0,%eax
  jmp    L102
L437:
  addl   $0x3,-0x24(%rbp)
  mov    -0x1c(%rbp),%eax
  mov    %eax,-0x20(%rbp)
  mov    -0x24(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movb   $0x2f,(%rax)
  jmp    L425
L14:
  mov    -0x24(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x24(%rbp)
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x20(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x20(%rbp)
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rax,%rdx
  movzbl (%rcx),%eax
  mov    %al,(%rdx)
L425:
  mov    -0x24(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L423
  mov    -0x24(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x3f,%al
  jne    L603
L423:
  mov    -0x20(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    $0x1,%eax
L102:
  pop    %rbp
  ret
```

assistant: ```c
int httpd_decode_url(char *url) {
  int s = 0, d = 0;
  while (url[s] != '\0' && url[s] != '?') {
    if (url[s] == '%') {
      int a1 = ((url[s + 1] >= '0' && url[s + 1] <= '9') ? url[s + 1] - '0' : (url[s + 1] >= 'A' && url[s + 1] <= 'F') ? url[s + 1] - 'A' + 10 : (url[s + 1] >= 'a' && url[s + 1] <= 'f') ? url[s + 1] - 'a' + 10 : -1), a2 = ((url[s + 2] >= '0' && url[s + 2] <= '9') ? url[s + 2] - '0' : (url[s + 2] >= 'A' && url[s + 2] <= 'F') ? url[s + 2] - 'A' + 10 : (url[s + 2] >= 'a' && url[s + 2] <= 'f') ? url[s + 2] - 'a' + 10 : -1);
      if (a1 >= 2 && a2 >= 0) {
        s += 3;
        url[d++] = (a1 << 4) + a2;
      } else if (a1 >= 0 && a1 < 2) {
        return 0;
      }
      continue;
    } else if (url[s] == '+') {
      url[d++] = ' ';
      s++;
      continue;
    }
    url[d++] = url[s++];
  }
  url[d] = '\0';
  s = d = 0;
  while (url[s] != '\0' && url[s] != '?') {
    int c0 = url[s], c1 = url[s + 1], c2 = url[s + 2], c3 = url[s + 3];
    if (url[s] == '|' || url[s] == '<' || url[s] == '>' || url[s] == '?' || url[s] == '*')
      return 0;
    if (c0 == '/' && (c1 == '/' || c1 == '\\')) {
      s++;
      url[s] = '/';
      continue;
    } else if ((c0 == '/' || c0 == '\\') && c1 == '.' && (c2 == '/' || c2 == '\\')) {
      s += 2;
      url[s] = '/';
      continue;
    } else if ((c0 == '/' || c0 == '\\') && c1 == '.' && c2 == '.' && (c3 == '/' || c3 == '\\')) {
      int r;
      if (d <= 0)
        return 0;
      for (r = d - 1; r >= 0 && url[r] != '/'; r--)
        ;
      if (r < 0)
        return 0;
      s += 3;
      d = r;
      url[s] = '/';
      continue;
    }
    url[d++] = url[s++];
  }
  url[d] = '\0';
  return 1;
}
```