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

```asm
<searchttl>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r13
  mov    %rdi,%r13
  push   %r12
  push   %rbx
  sub    $0x18,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x28(%rbp)
  xor    %eax,%eax
  call   <strlen@plt>
  mov    %rsp,%rcx
  add    $0x1,%eax
  cltq
  add    $0xf,%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L9
L10:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L10
L9:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L39
L138:
  lea    D0(%rip),%rsi
  mov    %r13,%rdi
  mov    %rsp,%r12
  call   <strstr@plt>
  test   %rax,%rax
  je     L133
  movzbl 0x4(%rax),%edx
  lea    0x4(%rax),%rsi
  cmp    $0x3a,%dl
  je     L133
  test   %dl,%dl
  je     L133
  mov    $0x1,%edx
  nopl   0x0(%rax)
L139:
  movzbl 0x4(%rax,%rdx,1),%ecx
  movslq %edx,%rbx
  add    $0x1,%rdx
  test   %cl,%cl
  je     L109
  cmp    $0x3a,%cl
  jne    L139
L109:
  mov    %ebx,%edx
  mov    %r12,%rdi
  call   <strncpy@plt>
  movb   $0x0,(%r12,%rbx,1)
  mov    $0x64,%esi
  mov    %r12,%rdi
  xor    %ebx,%ebx
  call   <strchr@plt>
  test   %rax,%rax
  je     L58
  movb   $0x0,(%rax)
  mov    %r12,%rdi
  lea    0x1(%rax),%r13
  mov    %r13,%r12
  call   <atoi@plt>
  imul   $0x15180,%eax,%ebx
L58:
  mov    $0x68,%esi
  mov    %r12,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  je     L59
  movb   $0x0,(%rax)
  mov    %r12,%rdi
  lea    0x1(%rax),%r13
  mov    %r13,%r12
  call   <atoi@plt>
  imul   $0xe10,%eax,%eax
  add    %eax,%ebx
L59:
  mov    $0x6d,%esi
  mov    %r12,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  je     L108
  movb   $0x0,(%rax)
  mov    %r12,%rdi
  lea    0x1(%rax),%r13
  mov    %r13,%r12
  call   <atoi@plt>
  imul   $0x3c,%eax,%eax
  add    %eax,%ebx
L108:
  mov    $0x73,%esi
  mov    %r12,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  je     L16
  movb   $0x0,(%rax)
L16:
  mov    %r12,%rdi
  call   <atoi@plt>
  add    %ebx,%eax
L81:
  mov    -0x28(%rbp),%rdx
  sub    %fs:0x28,%rdx
  jne    L100
  lea    -0x18(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %rbp
  ret
  xchg   %ax,%ax
L133:
  mov    $0xa8c0,%eax
  jmp    L81
  nopw   0x0(%rax,%rax,1)
L39:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L138
L100:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D0
type_infered: string

tool: D0: ttl=

assistant: ```c
uint32_t searchttl(char *str) {
  char buf[strlen(str) + 1];
  char *cptr, *dptr;
  uint32_t time;
  int i;
  dptr = strstr(str, "ttl=");
  if (dptr == NULL)
    return 43200;
  ;
  dptr += 4;
  i = 0;
  while (dptr[i] != '\0' && dptr[i] != ':')
    i++;
  if (i == 0)
    return 43200;
  strncpy(buf, dptr, i);
  buf[i] = '\0';
  time = 0;
  dptr = buf;
  cptr = strchr(dptr, 'd');
  if (cptr != NULL) {
    *cptr = '\0';
    cptr++;
    time += atoi(dptr) * 60 * 60 * 24;
    dptr = cptr;
  }
  cptr = strchr(dptr, 'h');
  if (cptr != NULL) {
    *cptr = '\0';
    cptr++;
    time += atoi(dptr) * 60 * 60;
    dptr = cptr;
  }
  cptr = strchr(dptr, 'm');
  if (cptr != NULL) {
    *cptr = '\0';
    cptr++;
    time += atoi(dptr) * 60;
    dptr = cptr;
  }
  cptr = strchr(dptr, 's');
  if (cptr != NULL)
    *cptr = '\0';
  time += atoi(dptr);
  return time;
}
```