user: Converte this assembly snippet into its equivalent C code:

```asm
<main>:
  endbr64
  push   %r15
  lea    D27(%rip),%rdi
  lea    D1(%rip),%r15
  push   %r14
  lea    D4(%rip),%r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  mov    %rsp,%r13
  lea    0x20(%rsp),%rbx
  call   <puts@plt>
  nopl   0x0(%rax)
L27:
  mov    %r15,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r13,%rdi
  call   <gets@plt>
  mov    %r13,%rdi
  call   <string_handler@plt>
  mov    %r14,%rdi
  mov    %eax,%r12d
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbx,%rdi
  call   <gets@plt>
  mov    %rbx,%rdi
  call   <string_handler@plt>
  mov    %eax,%ebp
  cmp    $0xffffffff,%eax
  je     L27
  cmp    $0xffffffff,%r12d
  je     L27
  lea    D85(%rip),%rdi
  call   <puts@plt>
  mov    %r12d,%edx
  mov    %ebp,%esi
  xor    %eax,%eax
  lea    D45(%rip),%rdi
  call   <printf@plt>
  lea    D30(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %esi,%esi
  mov    $0x20,%edx
  mov    %ebp,%edi
  call   <printbin@plt>
  lea    D11(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %esi,%esi
  mov    $0x20,%edx
  mov    %r12d,%edi
  call   <printbin@plt>
  lea    D55(%rip),%rdi
  call   <puts@plt>
  mov    %r12d,%edi
  mov    %ebp,%esi
  call   <booth@plt>
  lea    D6(%rip),%rdi
  call   <puts@plt>
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L6
  add    $0x48,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L6:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D27
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D1
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D4
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D85
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D45
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D30
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D11
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D55
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D6
type_infered: string

tool: D27: Start of program:


tool: D1: 
Enter multiplier:   

tool: D4: Enter multiplicand: 

tool: D85: 
================================================================

tool: D45: Multiplying:   %d X %d


tool: D30: Multiplicand: 

tool: D11: 
Multiplier:   

tool: D55: 
=================================================================




tool: D6: 



assistant: ```c
int main() {
  printf("Start of program:\n\n");
  char strMultiplier[20], strMultiplicand[20];
  int multiplier, multiplicand;
  while (1) {
    printf("\nEnter multiplier:   ");
    gets(strMultiplier);
    multiplier = string_handler(strMultiplier);
    printf("Enter multiplicand: ");
    gets(strMultiplicand);
    multiplicand = string_handler(strMultiplicand);
    if (multiplicand != -1 && multiplier != -1)
      break;
  }
  printf("\n================================================================\n");
  printf("Multiplying:   %d X %d\n", multiplicand, multiplier);
  printf("Multiplicand: ");
  printbin(multiplicand, 0, 32);
  printf("\nMultiplier:   ");
  printbin(multiplier, 0, 32);
  printf("\n=================================================================\n\n\n\n");
  booth(multiplier, multiplicand);
  printf("\n\n\n");
  return 0;
}
```