user: What is the c source code of the assembly code below?

```asm
<main>:
  endbr64
  push   %rbx
  xor    %edi,%edi
  sub    $0x10,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  call   <time@plt>
  mov    %eax,%edi
  call   <srand@plt>
  lea    D83(%rip),%rdi
  movb   $0x78,0x2(%rsp)
  movb   $0x78,0x3(%rsp)
  movl   $0x0,0x4(%rsp)
  call   <puts@plt>
  lea    D55(%rip),%rdi
  call   <puts@plt>
  lea    D109(%rip),%rdi
  call   <puts@plt>
  lea    D5(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %eax,%eax
  lea    0x2(%rsp),%rsi
  lea    D99(%rip),%rdi
  call   <scanf@plt>
  cmpb   $0x79,0x2(%rsp)
  je     L9
L58:
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L36
  add    $0x10,%rsp
  xor    %eax,%eax
  pop    %rbx
  ret
L9:
  lea    D0(%rip),%rdi
  call   <puts@plt>
  lea    0x4(%rsp),%rsi
  lea    D91(%rip),%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D4(%rip),%rdi
  call   <puts@plt>
  xor    %eax,%eax
  lea    0x3(%rsp),%rsi
  lea    D68(%rip),%rdi
  call   <scanf@plt>
  cmpb   $0x72,0x3(%rsp)
  jne    L58
  xor    %eax,%eax
  call   <rand@plt>
  mov    $0x6,%ecx
  lea    D42(%rip),%rdi
  cltd
  idiv   %ecx
  xor    %eax,%eax
  lea    0x1(%rdx),%ebx
  mov    %ebx,%esi
  call   <printf@plt>
  sub    $0x1,%ebx
  je     L48
  cmpb   $0x68,0x3(%rsp)
  jne    L58
  cmpl   $0x0,0x4(%rsp)
  jle    L83
  lea    D40(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L58
L48:
  cmpl   $0x0,0x4(%rsp)
  jg     L58
  lea    D52(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L58
L83:
  lea    D112(%rip),%rdi
  call   <puts@plt>
  jmp    L58
L36:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: tag: D83
datatype: string
name: disassemble_data
arguments: tag: D55
datatype: string
name: disassemble_data
arguments: tag: D109
datatype: string
name: disassemble_data
arguments: tag: D5
datatype: string
name: disassemble_data
arguments: tag: D99
datatype: string
name: disassemble_data
arguments: tag: D0
datatype: string
name: disassemble_data
arguments: tag: D91
datatype: string
name: disassemble_data
arguments: tag: D4
datatype: string
name: disassemble_data
arguments: tag: D68
datatype: string
name: disassemble_data
arguments: tag: D42
datatype: string
name: disassemble_data
arguments: tag: D40
datatype: string
name: disassemble_data
arguments: tag: D52
datatype: string
name: disassemble_data
arguments: tag: D112
datatype: string

tool: D83: 
welcome to a game  of pigthrones

tool: D55: ---------------------------

tool: D109:   made by dominick hera   

tool: D5: 
do you and your friend want to play a game? (y/n) :

tool: D99: %c

tool: D0: please set the game total: 

tool: D91: %d

tool: D4: do you want to (r)oll or (h)old? : 

tool: D68: 
%c

tool: D42: %d


tool: D40: it's now the next players turn

tool: D52: Player one wins! weo weo weo

tool: D112: Player one wins! weo weo weo 

assistant: ```c
int main(void) {
  srand((int)time(0));
  char charAnswer = 'x';
  char rollAnswer = 'x';
  int gameTotal = 0;
  int playerOneTotal = 0;
  int playerTwoTotal = 0;
  int randomNumber = 0;
  printf("\nwelcome to a game  of pigthrones\n");
  printf("---------------------------\n");
  printf("  made by dominick hera   \n");
  printf("\ndo you and your friend want to play a game? (y/n) :");
  scanf("%c", &charAnswer);
  if (charAnswer == 'y') {
    printf("please set the game total: \n");
    scanf("%d", &gameTotal);
    printf("do you want to (r)oll or (h)old? : \n");
    scanf("\n%c", &rollAnswer);
    if (rollAnswer == 'r') {
      randomNumber = ((rand() % 6) + 1);
      printf("%d\n", randomNumber);
      if (randomNumber == 1) {
        if (playerOneTotal >= gameTotal) {
          printf("Player one wins! weo weo weo");
          return 0;
        } else if (playerTwoTotal >= gameTotal) {
          printf("Player two wins! weo weo weo");
        }
      } else if (rollAnswer == 'h') {
        if (playerOneTotal >= gameTotal) {
          printf("Player one wins! weo weo weo \n");
          return 0;
        } else if (playerTwoTotal >= gameTotal) {
          printf("Player two wins! weo weo weo \n");
          return 0;
        } else {
          printf("it's now the next players turn");
        }
      }
    }
  }
  return 0;
}
```