user: Demonstrate the C code that generates the assembly output below:

```asm
<find_index>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xa0,%rsp
  mov    %rdi,%rbp
  mov    %fs:0x28,%rax
  mov    %rax,0x98(%rsp)
  xor    %eax,%eax
  lea    D41(%rip),%rax
  mov    %rax,(%rsp)
  lea    D184(%rip),%rax
  mov    %rax,0x8(%rsp)
  lea    D119(%rip),%rax
  mov    %rax,0x10(%rsp)
  lea    D51(%rip),%rax
  mov    %rax,0x18(%rsp)
  lea    D50(%rip),%rax
  mov    %rax,0x20(%rsp)
  lea    D11(%rip),%rax
  mov    %rax,0x28(%rsp)
  lea    D187(%rip),%rax
  mov    %rax,0x30(%rsp)
  lea    D166(%rip),%rax
  mov    %rax,0x38(%rsp)
  lea    D101(%rip),%rax
  mov    %rax,0x40(%rsp)
  lea    D33(%rip),%rax
  mov    %rax,0x48(%rsp)
  lea    D134(%rip),%rax
  mov    %rax,0x50(%rsp)
  lea    D58(%rip),%rax
  mov    %rax,0x58(%rsp)
  lea    D62(%rip),%rax
  mov    %rax,0x60(%rsp)
  lea    D31(%rip),%rax
  mov    %rax,0x68(%rsp)
  lea    D10(%rip),%rax
  mov    %rax,0x70(%rsp)
  lea    D129(%rip),%rax
  mov    %rax,0x78(%rsp)
  lea    D108(%rip),%rax
  mov    %rax,0x80(%rsp)
  lea    D0(%rip),%rax
  mov    %rax,0x88(%rsp)
  lea    D113(%rip),%rax
  mov    %rax,0x90(%rsp)
  mov    $0x0,%ebx
L19:
  mov    %ebx,%r12d
  mov    (%rsp,%rbx,8),%rdi
  mov    %rbp,%rsi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L23
  add    $0x1,%rbx
  cmp    $0x13,%rbx
  jne    L19
  mov    $0xffffffff,%r12d
L23:
  mov    0x98(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L0
  mov    %r12d,%eax
  add    $0xa0,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
L0:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D41
data_type: string
name: disassemble_data
arguments: data_label: D184
data_type: string
name: disassemble_data
arguments: data_label: D119
data_type: string
name: disassemble_data
arguments: data_label: D51
data_type: string
name: disassemble_data
arguments: data_label: D50
data_type: string
name: disassemble_data
arguments: data_label: D11
data_type: string
name: disassemble_data
arguments: data_label: D187
data_type: string
name: disassemble_data
arguments: data_label: D166
data_type: string
name: disassemble_data
arguments: data_label: D101
data_type: string
name: disassemble_data
arguments: data_label: D33
data_type: string
name: disassemble_data
arguments: data_label: D134
data_type: string
name: disassemble_data
arguments: data_label: D58
data_type: string
name: disassemble_data
arguments: data_label: D62
data_type: string
name: disassemble_data
arguments: data_label: D31
data_type: string
name: disassemble_data
arguments: data_label: D10
data_type: string
name: disassemble_data
arguments: data_label: D129
data_type: string
name: disassemble_data
arguments: data_label: D108
data_type: string
name: disassemble_data
arguments: data_label: D0
data_type: string
name: disassemble_data
arguments: data_label: D113
data_type: string

tool: D41: pop

tool: D184: no

tool: D119: zip

tool: D51: zotz

tool: D50: tzec

tool: D11: xul

tool: D187: yoxkin

tool: D166: mol

tool: D101: chen

tool: D33: yax

tool: D134: zac

tool: D58: ceh

tool: D62: mac

tool: D31: kankin

tool: D10: muan

tool: D129: pax

tool: D108: koyab

tool: D0: cumhu

tool: D113: uayet

assistant: ```c
int find_index(const char *str) {
  char *haab_mons[19] = {"pop", "no", "zip", "zotz", "tzec", "xul", "yoxkin", "mol", "chen", "yax", "zac", "ceh", "mac", "kankin", "muan", "pax", "koyab", "cumhu", "uayet"};
  int i = 0;
  for (; i < 19; i++)
    if (strcmp(haab_mons[i], str) == 0)
      return i;
  return -1;
}
```