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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x88,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x18(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x88(%rbp)
  movl   $0x0,-0x84(%rbp)
  lea    D21(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x80(%rbp),%rax
  mov    %rax,%rsi
  lea    D10(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0x88(%rbp),%eax
  cltq
  movzbl -0x80(%rbp,%rax,1),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <Roman_Value@plt>
  test   %eax,%eax
  jg     L44
  lea    D30(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  jmp    L57
L25:
  mov    -0x88(%rbp),%eax
  cltq
  movzbl -0x80(%rbp,%rax,1),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <Roman_Value@plt>
  mov    %eax,%ebx
  mov    -0x88(%rbp),%eax
  add    $0x1,%eax
  cltq
  movzbl -0x80(%rbp,%rax,1),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <Roman_Value@plt>
  cmp    %eax,%ebx
  jge    L77
  mov    -0x88(%rbp),%eax
  add    $0x1,%eax
  cltq
  movzbl -0x80(%rbp,%rax,1),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <Roman_Value@plt>
  mov    %eax,%ebx
  mov    -0x88(%rbp),%eax
  cltq
  movzbl -0x80(%rbp,%rax,1),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <Roman_Value@plt>
  mov    %eax,%edx
  mov    %ebx,%eax
  sub    %edx,%eax
  add    %eax,-0x84(%rbp)
  addl   $0x1,-0x88(%rbp)
  jmp    L73
L77:
  mov    -0x88(%rbp),%eax
  cltq
  movzbl -0x80(%rbp,%rax,1),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <Roman_Value@plt>
  add    %eax,-0x84(%rbp)
L73:
  addl   $0x1,-0x88(%rbp)
L44:
  mov    -0x88(%rbp),%eax
  cltq
  movzbl -0x80(%rbp,%rax,1),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <Roman_Value@plt>
  test   %eax,%eax
  jne    L25
  cmpl   $0x100,-0x84(%rbp)
  jle    L58
  lea    D30(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  jmp    L57
L58:
  mov    -0x84(%rbp),%eax
  mov    %eax,%esi
  lea    D33(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
L57:
  mov    -0x18(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L15
  call   <__stack_chk_fail@plt>
L15:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: tag: D21
type_guessed: string
name: extract_symbolic_data
arguments: tag: D10
type_guessed: string
name: extract_symbolic_data
arguments: tag: D30
type_guessed: string
name: extract_symbolic_data
arguments: tag: D33
type_guessed: string

tool: D21: Enter Roman number:

tool: D10: %s

tool: D30: Invalid number.

tool: D33: %d

assistant: ```c
int main() {
  char string[100];
  int counter = 0, number = 0;
  printf("Enter Roman number:");
  scanf("%s", string);
  if (Roman_Value(string[counter]) <= 0) {
    printf("Invalid number.");
    return 0;
  }
  while (Roman_Value(string[counter]) != 0) {
    if (Roman_Value(string[counter]) < Roman_Value(string[counter + 1])) {
      number += Roman_Value(string[counter + 1]) - Roman_Value(string[counter]);
      counter++;
    } else
      number = number + Roman_Value(string[counter]);
    counter++;
  }
  if (number > 256) {
    printf("Invalid number.");
    return 0;
  }
  printf("%d", number);
  return 0;
}
```