user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<main>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x70,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  movl   $0x746163,0xb(%rsp)
  movl   $0x474f44,0xf(%rsp)
  movl   $0x776f63,0x13(%rsp)
  movabs $0x65706f6c65746e41,%rax
  mov    %rax,0x17(%rsp)
  movb   $0x0,0x1f(%rsp)
  lea    D65(%rip),%rdi
  call   <puts@plt>
  lea    0xf(%rsp),%rsi
  lea    0xb(%rsp),%rdi
  call   <strcasecmp@plt>
  test   %rax,%rax
  js     L76
L27:
  lea    0x13(%rsp),%rsi
  lea    0xf(%rsp),%rdi
  call   <strcasecmp@plt>
  test   %rax,%rax
  jg     L3
L37:
  lea    0x17(%rsp),%rsi
  lea    0xb(%rsp),%rdi
  call   <strcasecmp@plt>
  test   %rax,%rax
  jg     L6
L19:
  lea    0x13(%rsp),%rdi
  lea    D85(%rip),%rsi
  call   <strcasecmp@plt>
  test   %rax,%rax
  je     L0
L50:
  lea    D36(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x20(%rsp),%rbx
  mov    %rbx,%rsi
  lea    D78(%rip),%r12
  mov    %r12,%rdi
  call   <scanf@plt>
  lea    D6(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x40(%rsp),%rbp
  mov    %rbp,%rsi
  mov    %r12,%rdi
  call   <scanf@plt>
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  test   %rax,%rax
  js     L64
  lea    0x40(%rsp),%rsi
  lea    0x20(%rsp),%rdi
  call   <strcasecmp@plt>
  test   %rax,%rax
  jne    L111
  lea    D30(%rip),%rdi
  call   <puts@plt>
  jmp    L29
L76:
  lea    0xf(%rsp),%rdx
  lea    0xb(%rsp),%rsi
  lea    D66(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L27
L3:
  lea    0x13(%rsp),%rdx
  lea    0xf(%rsp),%rsi
  lea    D24(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L37
L6:
  lea    0x17(%rsp),%rdx
  lea    0xb(%rsp),%rsi
  lea    D24(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L19
L0:
  lea    D1(%rip),%rdi
  call   <puts@plt>
  jmp    L50
L64:
  mov    %rbp,%rdx
  mov    %rbx,%rsi
  lea    D35(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L29:
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L32
  mov    $0x0,%eax
  add    $0x70,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
L111:
  lea    0x40(%rsp),%rdx
  lea    0x20(%rsp),%rsi
  lea    D84(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L29
L32:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: label: D65
type: string
name: disassemble_data
arguments: label: D85
type: string
name: disassemble_data
arguments: label: D36
type: string
name: disassemble_data
arguments: label: D78
type: string
name: disassemble_data
arguments: label: D6
type: string
name: disassemble_data
arguments: label: D30
type: string
name: disassemble_data
arguments: label: D66
type: string
name: disassemble_data
arguments: label: D24
type: string
name: disassemble_data
arguments: label: D1
type: string
name: disassemble_data
arguments: label: D35
type: string
name: disassemble_data
arguments: label: D84
type: string

tool: D65: strcasecmp() Examples


tool: D85: cow

tool: D36: Enter first name (no spaces): 

tool: D78: %s

tool: D6: Enter second name (no spaces): 

tool: D30: These strings are the same.


tool: D66: %s appears before %s.



tool: D24: %s appears after %s.



tool: D1: These two strings are the same.


tool: D35: '%s' appears before '%s'.



tool: D84: '%s' appears after '%s'.



assistant: ```c
int main() {
  char str1[] = "cat", str2[] = "DOG", str3[] = "cow", str4[] = "Antelope";
  char name1[30 + 1], name2[30 + 1];
  printf("strcasecmp() Examples\n\n");
  if (strcasecmp(str1, str2) < 0)
    printf("%s appears before %s.\n\n", str1, str2);
  if (strcasecmp(str2, str3) > 0)
    printf("%s appears after %s.\n\n", str2, str3);
  if (strcasecmp(str1, str4) > 0)
    printf("%s appears after %s.\n\n", str1, str4);
  if (strcasecmp(str3, "cow") == 0)
    printf("These two strings are the same.\n\n");
  printf("Enter first name (no spaces): ");
  scanf("%s", name1);
  printf("Enter second name (no spaces): ");
  scanf("%s", name2);
  if (strcasecmp(name1, name2) < 0)
    printf("'%s' appears before '%s'.\n\n", name1, name2);
  else if (strcasecmp(name1, name2) == 0)
    printf("These strings are the same.\n\n");
  else
    printf("'%s' appears after '%s'.\n\n", name1, name2);
  return 0;
}
```