user: 这段汇编代码用C语言表示是什么样的？

```asm
<get_wday>:
  endbr64
  push   %rbx
  mov    %rdi,%rbx
  lea    D131(%rip),%rsi
  call   <strcasecmp@plt>
  mov    %eax,%edx
  mov    $0x1,%eax
  test   %edx,%edx
  je     L36
  lea    D23(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  mov    %eax,%edx
  mov    $0x1,%eax
  test   %edx,%edx
  je     L36
  lea    D96(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  mov    %eax,%edx
  mov    $0x2,%eax
  test   %edx,%edx
  je     L36
  lea    D55(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  mov    %eax,%edx
  mov    $0x2,%eax
  test   %edx,%edx
  je     L36
  lea    D63(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  mov    %eax,%edx
  mov    $0x3,%eax
  test   %edx,%edx
  je     L36
  lea    D58(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  mov    %eax,%edx
  mov    $0x3,%eax
  test   %edx,%edx
  je     L36
  lea    D80(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  mov    %eax,%edx
  mov    $0x4,%eax
  test   %edx,%edx
  je     L36
  lea    D27(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  mov    %eax,%edx
  mov    $0x4,%eax
  test   %edx,%edx
  je     L36
  lea    D19(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  mov    %eax,%edx
  mov    $0x5,%eax
  test   %edx,%edx
  je     L36
  lea    D89(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  mov    %eax,%edx
  mov    $0x5,%eax
  test   %edx,%edx
  je     L36
  lea    D21(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  mov    %eax,%edx
  mov    $0x6,%eax
  test   %edx,%edx
  je     L36
  lea    D138(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  mov    %eax,%edx
  mov    $0x6,%eax
  test   %edx,%edx
  je     L36
  lea    D45(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  test   %eax,%eax
  je     L36
  lea    D20(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  neg    %eax
  sbb    %eax,%eax
L36:
  pop    %rbx
  ret
```

tool_calls: name: parse_data
arguments: data_label: D131
type_infered: string
name: parse_data
arguments: data_label: D23
type_infered: string
name: parse_data
arguments: data_label: D96
type_infered: string
name: parse_data
arguments: data_label: D55
type_infered: string
name: parse_data
arguments: data_label: D63
type_infered: string
name: parse_data
arguments: data_label: D58
type_infered: string
name: parse_data
arguments: data_label: D80
type_infered: string
name: parse_data
arguments: data_label: D27
type_infered: string
name: parse_data
arguments: data_label: D19
type_infered: string
name: parse_data
arguments: data_label: D89
type_infered: string
name: parse_data
arguments: data_label: D21
type_infered: string
name: parse_data
arguments: data_label: D138
type_infered: string
name: parse_data
arguments: data_label: D45
type_infered: string
name: parse_data
arguments: data_label: D20
type_infered: string

tool: D131: Mon

tool: D23: Monday

tool: D96: Tue

tool: D55: Tuesday

tool: D63: Wed

tool: D58: Wednesday

tool: D80: Thu

tool: D27: Thursday

tool: D19: Fri

tool: D89: Friday

tool: D21: Sat

tool: D138: Saturday

tool: D45: Sun

tool: D20: Sunday

assistant: ```c
int get_wday(char *wday) {
  if (!strcasecmp(wday, "Mon") || !strcasecmp(wday, "Monday"))
    return 1;
  else if (!strcasecmp(wday, "Tue") || !strcasecmp(wday, "Tuesday"))
    return 2;
  else if (!strcasecmp(wday, "Wed") || !strcasecmp(wday, "Wednesday"))
    return 3;
  else if (!strcasecmp(wday, "Thu") || !strcasecmp(wday, "Thursday"))
    return 4;
  else if (!strcasecmp(wday, "Fri") || !strcasecmp(wday, "Friday"))
    return 5;
  else if (!strcasecmp(wday, "Sat") || !strcasecmp(wday, "Saturday"))
    return 6;
  else if (!strcasecmp(wday, "Sun") || !strcasecmp(wday, "Sunday"))
    return 0;
  else
    return -1;
}
```