user: Please show me the C implementation that matches the assembly code listed below:

```asm
<main>:
  endbr64
  push   %r15
  lea    D58(%rip),%r15
  push   %r14
  mov    %r15,%rsi
  lea    D68(%rip),%r14
  push   %r13
  lea    D65(%rip),%r13
  push   %r12
  lea    D19(%rip),%r12
  push   %rbp
  mov    %r12,%rdi
  lea    D75(%rip),%rbp
  push   %rbx
  lea    D20(%rip),%rbx
  sub    $0x8,%rsp
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r12,%rsi
  mov    %rbx,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %rbx,%rsi
  mov    %r15,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r13,%rsi
  mov    %r14,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r15,%rsi
  mov    %r13,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r14,%rsi
  mov    %r12,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r13,%rsi
  mov    %rbx,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r14,%rsi
  mov    %r15,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %rbx,%rsi
  mov    %r14,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r12,%rsi
  mov    %r13,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r12,%rsi
  mov    %r15,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r15,%rsi
  mov    %rbx,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r14,%rsi
  mov    %r13,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r13,%rsi
  mov    %r15,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r12,%rsi
  mov    %r14,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %rbx,%rsi
  mov    %r13,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r15,%rsi
  mov    %r14,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r14,%rsi
  mov    %rbx,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r13,%rsi
  mov    %r12,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r15,%rsi
  mov    %r12,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r12,%rsi
  mov    %r12,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r14,%rsi
  mov    %r12,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r13,%rsi
  mov    %r12,%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  mov    %r12,%rdi
  xor    %esi,%esi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  lea    D66(%rip),%rsi
  lea    D35(%rip),%rdi
  call   <rpsls@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  call   <printf@plt>
  add    $0x8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: read_data
arguments: data_tag: D58
type: string
name: read_data
arguments: data_tag: D68
type: string
name: read_data
arguments: data_tag: D65
type: string
name: read_data
arguments: data_tag: D19
type: string
name: read_data
arguments: data_tag: D75
type: string
name: read_data
arguments: data_tag: D20
type: string
name: read_data
arguments: data_tag: D66
type: string
name: read_data
arguments: data_tag: D35
type: string

tool: D58: scissors

tool: D68: lizard

tool: D65: spock

tool: D19: rock

tool: D75: %d


tool: D20: paper

tool: D66: rOck

tool: D35: Scissors

assistant: ```c
int main(void) {
  printf("%d\n", rpsls("rock", "scissors"));
  printf("%d\n", rpsls("paper", "rock"));
  printf("%d\n", rpsls("scissors", "paper"));
  printf("%d\n", rpsls("lizard", "spock"));
  printf("%d\n", rpsls("spock", "scissors"));
  printf("%d\n", rpsls("rock", "lizard"));
  printf("%d\n", rpsls("paper", "spock"));
  printf("%d\n", rpsls("scissors", "lizard"));
  printf("%d\n", rpsls("lizard", "paper"));
  printf("%d\n", rpsls("spock", "rock"));
  printf("%d\n", rpsls("scissors", "rock"));
  printf("%d\n", rpsls("rock", "paper"));
  printf("%d\n", rpsls("paper", "scissors"));
  printf("%d\n", rpsls("spock", "lizard"));
  printf("%d\n", rpsls("scissors", "spock"));
  printf("%d\n", rpsls("lizard", "rock"));
  printf("%d\n", rpsls("spock", "paper"));
  printf("%d\n", rpsls("lizard", "scissors"));
  printf("%d\n", rpsls("paper", "lizard"));
  printf("%d\n", rpsls("rock", "spock"));
  printf("%d\n", rpsls("rock", "paper"));
  printf("%d\n", rpsls("rock", "scissors"));
  printf("%d\n", rpsls("rock", "rock"));
  printf("%d\n", rpsls("rock", "lizard"));
  printf("%d\n", rpsls("rock", "spock"));
  printf("%d\n", rpsls("rock", (char *)0));
  printf("%d\n", rpsls("Scissors", "rOck"));
  return 0;
}
```