user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<get_date_time>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  lea    D69(%rip),%r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdx,%rbx
  sub    $0x38,%rsp
  mov    %r8,0x18(%rsp)
  lea    0x24(%rsp),%rbp
  mov    %rcx,0x10(%rsp)
  mov    %rsi,0x8(%rsp)
  mov    %rdi,(%rsp)
  mov    %rbp,%rdi
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  call   <time@plt>
  mov    %rbp,%rdi
  xor    %ebp,%ebp
  call   <localtime@plt>
  mov    %rax,%rdi
  call   <asctime@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <strcpy@plt>
  mov    %r13,%rsi
  mov    %rbp,%rdi
  call   <strtok@plt>
  mov    %r13,%rsi
  xor    %edi,%edi
  mov    %rax,%r12
  call   <strtok@plt>
  mov    %r13,%rsi
  xor    %edi,%edi
  lea    D133(%rip),%r13
  mov    %rax,%rbp
  call   <strtok@plt>
  mov    %r13,%rsi
  xor    %edi,%edi
  mov    %rax,%r15
  call   <strtok@plt>
  mov    %r13,%rsi
  xor    %edi,%edi
  mov    %rax,%r14
  call   <strtok@plt>
  lea    D125(%rip),%rsi
  mov    %r12,%rdi
  mov    %rax,%r13
  call   <strcmp@plt>
  mov    %rax,%r8
  xor    %eax,%eax
  test   %r8,%r8
  jne    L142
L148:
  mov    %eax,(%rbx)
  lea    D183(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0x1,%eax
  test   %r8,%r8
  jne    L111
L91:
  mov    (%rsp),%rbx
  mov    %r15,%rdi
  mov    %eax,(%rbx)
  call   <atoi@plt>
  mov    0x8(%rsp),%rcx
  mov    %r14,%rdi
  mov    %eax,(%rcx)
  call   <atoi@plt>
  mov    0x10(%rsp),%rbx
  mov    %r13,%rdi
  mov    %eax,(%rbx)
  call   <atoi@plt>
  mov    0x18(%rsp),%rdx
  mov    %eax,(%rdx)
  mov    $0x1,%eax
L66:
  mov    0x28(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L125
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L142:
  lea    D80(%rip),%rsi
  mov    %r12,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0x1,%eax
  test   %r8,%r8
  je     L148
  lea    D52(%rip),%rsi
  mov    %r12,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0x2,%eax
  test   %r8,%r8
  je     L148
  lea    D66(%rip),%rsi
  mov    %r12,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0x3,%eax
  test   %r8,%r8
  je     L148
  lea    D25(%rip),%rsi
  mov    %r12,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0x4,%eax
  test   %r8,%r8
  je     L148
  lea    D36(%rip),%rsi
  mov    %r12,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0x5,%eax
  test   %r8,%r8
  je     L148
  lea    D170(%rip),%rsi
  mov    %r12,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0x6,%eax
  test   %r8,%r8
  je     L148
L43:
  xor    %eax,%eax
  jmp    L66
  nopw   0x0(%rax,%rax,1)
L111:
  lea    D131(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0x2,%eax
  test   %r8,%r8
  je     L91
  lea    D45(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0x3,%eax
  test   %r8,%r8
  je     L91
  lea    D44(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0x4,%eax
  test   %r8,%r8
  je     L91
  lea    D93(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0x5,%eax
  test   %r8,%r8
  je     L91
  lea    D67(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0x6,%eax
  test   %r8,%r8
  je     L91
  lea    D8(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0x7,%eax
  test   %r8,%r8
  je     L91
  lea    D40(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0x8,%eax
  test   %r8,%r8
  je     L91
  lea    D7(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0x9,%eax
  test   %r8,%r8
  je     L91
  lea    D102(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0xa,%eax
  test   %r8,%r8
  je     L91
  lea    D146(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  mov    $0xb,%eax
  test   %r8,%r8
  je     L91
  lea    D91(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L43
  mov    $0xc,%eax
  jmp    L91
L125:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D69
type_infered: string
name: unpack_data
arguments: data_tag: D133
type_infered: string
name: unpack_data
arguments: data_tag: D125
type_infered: string
name: unpack_data
arguments: data_tag: D183
type_infered: string
name: unpack_data
arguments: data_tag: D80
type_infered: string
name: unpack_data
arguments: data_tag: D52
type_infered: string
name: unpack_data
arguments: data_tag: D66
type_infered: string
name: unpack_data
arguments: data_tag: D25
type_infered: string
name: unpack_data
arguments: data_tag: D36
type_infered: string
name: unpack_data
arguments: data_tag: D170
type_infered: string
name: unpack_data
arguments: data_tag: D131
type_infered: string
name: unpack_data
arguments: data_tag: D45
type_infered: string
name: unpack_data
arguments: data_tag: D44
type_infered: string
name: unpack_data
arguments: data_tag: D93
type_infered: string
name: unpack_data
arguments: data_tag: D67
type_infered: string
name: unpack_data
arguments: data_tag: D8
type_infered: string
name: unpack_data
arguments: data_tag: D40
type_infered: string
name: unpack_data
arguments: data_tag: D7
type_infered: string
name: unpack_data
arguments: data_tag: D102
type_infered: string
name: unpack_data
arguments: data_tag: D146
type_infered: string
name: unpack_data
arguments: data_tag: D91
type_infered: string

tool: D69:  

tool: D133: :

tool: D125: Mon

tool: D183: Jan

tool: D80: Tue

tool: D52: Wed

tool: D66: Thu

tool: D25: Fri

tool: D36: Sat

tool: D170: Sun

tool: D131: Feb

tool: D45: Mar

tool: D44: Apr

tool: D93: May

tool: D67: Jun

tool: D8: Jul

tool: D40: Aug

tool: D7: Sep

tool: D102: Oct

tool: D146: Nov

tool: D91: Dec

assistant: ```c
int get_date_time(int *dm, int *dd, int *wd, int *th, int *tm) {
  char *date_month, *date_day, *weekday, *time_hour, *time_min, *s;
  time_t rawtime;
  struct tm *timeinfo;
  time(&rawtime);
  timeinfo = localtime(&rawtime);
  strcpy(s, asctime(timeinfo));
  weekday = strtok(s, " ");
  date_month = strtok(NULL, " ");
  date_day = strtok(NULL, " ");
  time_hour = strtok(NULL, ":");
  time_min = strtok(NULL, ":");
  if (strcmp(weekday, "Mon") == 0)
    *wd = 0;
  else if (strcmp(weekday, "Tue") == 0)
    *wd = 1;
  else if (strcmp(weekday, "Wed") == 0)
    *wd = 2;
  else if (strcmp(weekday, "Thu") == 0)
    *wd = 3;
  else if (strcmp(weekday, "Fri") == 0)
    *wd = 4;
  else if (strcmp(weekday, "Sat") == 0)
    *wd = 5;
  else if (strcmp(weekday, "Sun") == 0)
    *wd = 6;
  else
    return 0;
  if (strcmp(date_month, "Jan") == 0)
    *dm = 1;
  else if (strcmp(date_month, "Feb") == 0)
    *dm = 2;
  else if (strcmp(date_month, "Mar") == 0)
    *dm = 3;
  else if (strcmp(date_month, "Apr") == 0)
    *dm = 4;
  else if (strcmp(date_month, "May") == 0)
    *dm = 5;
  else if (strcmp(date_month, "Jun") == 0)
    *dm = 6;
  else if (strcmp(date_month, "Jul") == 0)
    *dm = 7;
  else if (strcmp(date_month, "Aug") == 0)
    *dm = 8;
  else if (strcmp(date_month, "Sep") == 0)
    *dm = 9;
  else if (strcmp(date_month, "Oct") == 0)
    *dm = 10;
  else if (strcmp(date_month, "Nov") == 0)
    *dm = 11;
  else if (strcmp(date_month, "Dec") == 0)
    *dm = 12;
  else
    return 0;
  *dd = atoi(date_day);
  *th = atoi(time_hour);
  *tm = atoi(time_min);
  return 1;
}
```