user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  movl   $0x3,-0x10(%rbp)
  movl   $0x5,-0xc(%rbp)
  movl   $0xf,-0x8(%rbp)
  movb   $0x3c,-0x11(%rbp)
  mov    -0x8(%rbp),%eax
  cltd
  idivl  -0xc(%rbp)
  mov    %eax,-0x4(%rbp)
  lea    D14(%rip),%rax
  mov    %rax,%rdi
  call   <print_string@plt>
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <print_int@plt>
  lea    D75(%rip),%rax
  mov    %rax,%rdi
  call   <print_string@plt>
  movsbl -0x11(%rbp),%eax
  cltd
  idivl  -0x8(%rbp)
  mov    %eax,-0x4(%rbp)
  lea    D111(%rip),%rax
  mov    %rax,%rdi
  call   <print_string@plt>
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <print_int@plt>
  lea    D75(%rip),%rax
  mov    %rax,%rdi
  call   <print_string@plt>
  mov    -0xc(%rbp),%eax
  lea    0x0(,%rax,8),%edx
  mov    -0x10(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x4(%rbp)
  lea    D37(%rip),%rax
  mov    %rax,%rdi
  call   <print_string@plt>
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <print_int@plt>
  lea    D75(%rip),%rax
  mov    %rax,%rdi
  call   <print_string@plt>
  mov    -0x10(%rbp),%eax
  imul   -0x8(%rbp),%eax
  cltd
  idivl  -0xc(%rbp)
  mov    %eax,-0x4(%rbp)
  lea    D21(%rip),%rax
  mov    %rax,%rdi
  call   <print_string@plt>
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <print_int@plt>
  lea    D75(%rip),%rax
  mov    %rax,%rdi
  call   <print_string@plt>
  movsbl -0x11(%rbp),%edx
  mov    -0x8(%rbp),%eax
  add    %edx,%eax
  cltd
  idivl  -0x8(%rbp)
  mov    %eax,-0x4(%rbp)
  lea    D45(%rip),%rax
  mov    %rax,%rdi
  call   <print_string@plt>
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <print_int@plt>
  lea    D75(%rip),%rax
  mov    %rax,%rdi
  call   <print_string@plt>
  mov    -0x10(%rbp),%eax
  sub    $0x2,%eax
  add    %eax,%eax
  mov    %eax,-0x4(%rbp)
  lea    D84(%rip),%rax
  mov    %rax,%rdi
  call   <print_string@plt>
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <print_int@plt>
  lea    D75(%rip),%rax
  mov    %rax,%rdi
  call   <print_string@plt>
  movsbl -0x11(%rbp),%edx
  mov    -0x8(%rbp),%eax
  add    %eax,%edx
  mov    -0x8(%rbp),%eax
  lea    (%rdx,%rax,1),%ecx
  mov    $0xffffffd3,%eax
  cltd
  idivl  -0x10(%rbp)
  add    %ecx,%eax
  mov    %eax,-0x4(%rbp)
  lea    D74(%rip),%rax
  mov    %rax,%rdi
  call   <print_string@plt>
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <print_int@plt>
  lea    D75(%rip),%rax
  mov    %rax,%rdi
  call   <print_string@plt>
  mov    -0x8(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  lea    (%rax,%rdx,1),%ecx
  mov    -0x8(%rbp),%eax
  lea    (%rax,%rax,1),%edx
  mov    -0x10(%rbp),%eax
  imul   -0xc(%rbp),%eax
  mov    %eax,%esi
  mov    %edx,%eax
  sub    %esi,%eax
  imul   -0x10(%rbp),%eax
  mov    %eax,%esi
  mov    %ecx,%eax
  cltd
  idiv   %esi
  mov    %eax,%edx
  mov    -0x8(%rbp),%eax
  add    %eax,%edx
  mov    -0x8(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x4(%rbp)
  lea    D78(%rip),%rax
  mov    %rax,%rdi
  call   <print_string@plt>
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <print_int@plt>
  lea    D75(%rip),%rax
  mov    %rax,%rdi
  call   <print_string@plt>
  mov    -0x10(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  mov    %eax,-0x4(%rbp)
  lea    D21(%rip),%rax
  mov    %rax,%rdi
  call   <print_string@plt>
  mov    -0x4(%rbp),%eax
  mov    %eax,%edi
  call   <print_int@plt>
  lea    D75(%rip),%rax
  mov    %rax,%rdi
  call   <print_string@plt>
  nop
  leave
  ret
```

tool_calls: name: parse_data
arguments: label: D14
type_guessed: string
name: parse_data
arguments: label: D75
type_guessed: string
name: parse_data
arguments: label: D111
type_guessed: string
name: parse_data
arguments: label: D37
type_guessed: string
name: parse_data
arguments: label: D21
type_guessed: string
name: parse_data
arguments: label: D45
type_guessed: string
name: parse_data
arguments: label: D84
type_guessed: string
name: parse_data
arguments: label: D74
type_guessed: string
name: parse_data
arguments: label: D78
type_guessed: string

tool: D14: Should get 3
Got: 

tool: D75: 


tool: D111: Should get 4
Got: 

tool: D37: Should get 43
Got: 

tool: D21: Should get 9
Got: 

tool: D45: Should get 5
Got: 

tool: D84: Should get 2
Got: 

tool: D74: Should get 75
Got: 

tool: D78: Should get 31
Got: 

assistant: ```c
void main(void) {
  int num;
  int x;
  int y;
  int z;
  char c;
  x = 3;
  y = 5;
  z = 15;
  c = '<';
  num = z / y;
  print_string("Should get 3\nGot: ");
  print_int(num);
  print_string("\n");
  num = c / z;
  print_string("Should get 4\nGot: ");
  print_int(num);
  print_string("\n");
  num = x + 8 * y;
  print_string("Should get 43\nGot: ");
  print_int(num);
  print_string("\n");
  num = x * z / y;
  print_string("Should get 9\nGot: ");
  print_int(num);
  print_string("\n");
  num = (c + z) / z;
  print_string("Should get 5\nGot: ");
  print_int(num);
  print_string("\n");
  num = 2 * (x - 2);
  print_string("Should get 2\nGot: ");
  print_int(num);
  print_string("\n");
  num = z + c + z - 45 / x;
  print_string("Should get 75\nGot: ");
  print_int(num);
  print_string("\n");
  num = (z * 3) / ((2 * z - x * (y + y - y)) * x) + z + z;
  print_string("Should get 31\nGot: ");
  print_int(num);
  print_string("\n");
  num = (z / z) * (x + x) + x;
  print_string("Should get 9\nGot: ");
  print_int(num);
  print_string("\n");
}
```