user: Translate the below assembly code into C programming language:

```asm
<main>:
  endbr64
  push   %rbp
  push   %rbx
  sub    $0x8,%rsp
  cmp    $0x4,%edi
  je     L1
  lea    D49(%rip),%rdi
  call   <puts@plt>
  mov    $0x0,%eax
L107:
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  ret
L1:
  mov    %rsi,%rbx
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    0x10(%rbx),%rax
  cmpb   $0x2b,(%rax)
  je     L58
L113:
  mov    0x10(%rbx),%rax
  cmpb   $0x2d,(%rax)
  je     L9
L10:
  mov    0x10(%rbx),%rax
  cmpb   $0x78,(%rax)
  je     L67
L45:
  mov    0x10(%rbx),%rax
  cmpb   $0x2f,(%rax)
  je     L18
L96:
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    $0x0,%eax
  jmp    L107
L58:
  mov    0x8(%rbx),%rdi
  call   <atoi@plt>
  mov    %eax,%ebp
  mov    0x18(%rbx),%rdi
  call   <atoi@plt>
  mov    0x18(%rbx),%rcx
  mov    0x10(%rbx),%rdx
  movsbl (%rdx),%edx
  mov    0x8(%rbx),%rsi
  lea    0x0(%rbp,%rax,1),%r8d
  lea    D59(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L113
L9:
  mov    0x8(%rbx),%rdi
  call   <atoi@plt>
  mov    %eax,%ebp
  mov    0x18(%rbx),%rdi
  call   <atoi@plt>
  mov    0x18(%rbx),%rcx
  mov    0x10(%rbx),%rdx
  movsbl (%rdx),%edx
  mov    0x8(%rbx),%rsi
  mov    %ebp,%r8d
  sub    %eax,%r8d
  lea    D59(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L10
L67:
  mov    0x8(%rbx),%rdi
  call   <atoi@plt>
  mov    %eax,%ebp
  mov    0x18(%rbx),%rdi
  call   <atoi@plt>
  mov    0x18(%rbx),%rcx
  mov    0x10(%rbx),%rdx
  movsbl (%rdx),%edx
  mov    0x8(%rbx),%rsi
  mov    %ebp,%r8d
  imul   %eax,%r8d
  lea    D59(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L45
L18:
  mov    0x18(%rbx),%rdi
  call   <atoi@plt>
  test   %eax,%eax
  je     L65
  mov    0x8(%rbx),%rdi
  call   <atoi@plt>
  mov    %eax,%ebp
  mov    0x18(%rbx),%rdi
  call   <atoi@plt>
  mov    %eax,%ecx
  mov    %ebp,%eax
  cltd
  idiv   %ecx
  mov    %eax,%r8d
  mov    0x18(%rbx),%rcx
  mov    0x10(%rbx),%rax
  movsbl (%rax),%edx
  mov    0x8(%rbx),%rsi
  lea    D59(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L96
L65:
  lea    D33(%rip),%rdi
  call   <printf@plt>
  mov    $0x1,%eax
  jmp    L107
```

tool_calls: name: disassemble_data
arguments: tag: D49
type: string
name: disassemble_data
arguments: tag: D59
type: string
name: disassemble_data
arguments: tag: D33
type: string

tool: D49: Operators: +, -, x, / 
Usage: number1 operator number2

tool: D59: %s %c %s = %d

tool: D33: Cannot divide by 0.

assistant: ```c
int main(int argc, char *argv[]) {
  if (argc != 4)
    printf("Operators: +, -, x, / \nUsage: number1 operator number2\n");
  else {
    printf("\n");
    if (*argv[2] == '+')
      printf("%s %c %s = %d", argv[1], *argv[2], argv[3], atoi(argv[1]) + atoi(argv[3]));
    if (*argv[2] == '-')
      printf("%s %c %s = %d", argv[1], *argv[2], argv[3], atoi(argv[1]) - atoi(argv[3]));
    if (*argv[2] == 'x')
      printf("%s %c %s = %d", argv[1], *argv[2], argv[3], atoi(argv[1]) * atoi(argv[3]));
    if (*argv[2] == '/') {
      if (atoi(argv[3]) == 0) {
        printf("Cannot divide by 0.");
        return 1;
      } else
        printf("%s %c %s = %d", argv[1], *argv[2], argv[3], atoi(argv[1]) / atoi(argv[3]));
    }
    printf("\n");
  }
  return 0;
}
```