user: Please show me the C implementation that matches the assembly code listed below:

```asm
<main>:
  endbr64
  push   %r15
  lea    D34(%rip),%rdi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  movl   $0x0,0x4(%rsp)
  call   <puts@plt>
  cmpl   $0xffffffff,0x4(%rsp)
  je     L224
  lea    D70(%rip),%r12
  lea    0x4(%rsp),%rbp
  lea    D80(%rip),%rbx
  lea    D35(%rip),%r13
  jmp    L216
  nopl   (%rax)
L66:
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <printf@plt>
L60:
  mov    $0xa,%edi
  call   <putchar@plt>
  cmpl   $0xffffffff,0x4(%rsp)
  je     L224
L216:
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  mov    0x4(%rsp),%r15d
  cmp    $0xffffffff,%r15d
  je     L224
  lea    -0x1(%r15),%eax
  cmp    $0x63,%eax
  ja     L66
  lea    D42(%rip),%rdi
  xor    %eax,%eax
  lea    D29(%rip),%r14
  call   <printf@plt>
  mov    0x4(%rsp),%esi
  lea    D39(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  nopl   0x0(%rax,%rax,1)
L99:
  cmp    $0x64,%r15d
  jne    L69
  mov    $0x43,%edi
  call   <putchar@plt>
  jmp    L60
  nopw   0x0(%rax,%rax,1)
L69:
  cmp    $0x59,%r15d
  jg     L250
  cmp    $0x31,%r15d
  jg     L50
  cmp    $0x27,%r15d
  jg     L67
  cmp    $0x9,%r15d
  jg     L88
  je     L76
  cmp    $0x4,%r15d
  jg     L56
  je     L76
  mov    $0x49,%edi
  sub    $0x1,%r15d
  call   <putchar@plt>
L191:
  test   %r15d,%r15d
  jne    L99
  jmp    L60
  nopw   0x0(%rax,%rax,1)
L250:
  mov    %r14,%rdi
  xor    %eax,%eax
  sub    $0x5a,%r15d
  call   <printf@plt>
  test   %r15d,%r15d
  jne    L99
  jmp    L60
  nopl   0x0(%rax,%rax,1)
L50:
  mov    $0x4c,%edi
  sub    $0x32,%r15d
  call   <putchar@plt>
  test   %r15d,%r15d
  jne    L99
  jmp    L60
  nopl   0x0(%rax)
L67:
  lea    D3(%rip),%rdi
  xor    %eax,%eax
  sub    $0x28,%r15d
  call   <printf@plt>
  test   %r15d,%r15d
  jne    L99
  jmp    L60
L88:
  mov    $0x58,%edi
  sub    $0xa,%r15d
  call   <putchar@plt>
  test   %r15d,%r15d
  jne    L99
  jmp    L60
  nopl   0x0(%rax)
L224:
  xor    %eax,%eax
  lea    D66(%rip),%rdi
  call   <printf@plt>
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L97
  add    $0x18,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L76:
  lea    D14(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L60
L56:
  mov    $0x56,%edi
  sub    $0x5,%r15d
  call   <putchar@plt>
  jmp    L191
L97:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: tag: D34
type: string
name: disassemble_data
arguments: tag: D70
type: string
name: disassemble_data
arguments: tag: D80
type: string
name: disassemble_data
arguments: tag: D35
type: string
name: disassemble_data
arguments: tag: D42
type: string
name: disassemble_data
arguments: tag: D29
type: string
name: disassemble_data
arguments: tag: D39
type: string
name: disassemble_data
arguments: tag: D3
type: string
name: disassemble_data
arguments: tag: D66
type: string
name: disassemble_data
arguments: tag: D14
type: string

tool: D34: Programdan cikmak icin -1 giriniz.

tool: D70: 1-100 arasi bir sayi giriniz: 

tool: D80: %d

tool: D35: 1 ile 100 arasinda bir sayi girmediniz!!

tool: D42: Onluk Tabandaki Sayi %7sRoma Rakami Karsiligi


tool: D29: XC

tool: D39: %d%-28s

tool: D3: XL

tool: D66: Programdan ciktiniz :)

tool: D14: IV

assistant: ```c
int main() {
  int onluk_tabanda_sayi = 0;
  printf("Programdan cikmak icin -1 giriniz.\n");
  while (onluk_tabanda_sayi != -1) {
    printf("1-100 arasi bir sayi giriniz: ");
    scanf("%d", &onluk_tabanda_sayi);
    if (onluk_tabanda_sayi == -1) {
      break;
    }
    if (onluk_tabanda_sayi <= 100 && onluk_tabanda_sayi > 0) {
      int hesaplanan_deger;
      hesaplanan_deger = onluk_tabanda_sayi;
      printf("Onluk Tabandaki Sayi %7sRoma Rakami Karsiligi\n");
      printf("%d%-28s", onluk_tabanda_sayi);
      while (hesaplanan_deger != 0) {
        if (hesaplanan_deger >= 100) {
          printf("C");
          hesaplanan_deger = hesaplanan_deger - 100;
        } else if (hesaplanan_deger >= 90) {
          printf("XC");
          hesaplanan_deger = hesaplanan_deger - 90;
        } else if (hesaplanan_deger >= 50) {
          printf("L");
          hesaplanan_deger = hesaplanan_deger - 50;
        } else if (hesaplanan_deger >= 40) {
          printf("XL");
          hesaplanan_deger = hesaplanan_deger - 40;
        } else if (hesaplanan_deger >= 10) {
          printf("X");
          hesaplanan_deger = hesaplanan_deger - 10;
        } else if (hesaplanan_deger == 9) {
          printf("IV");
          hesaplanan_deger = hesaplanan_deger - 9;
        } else if (hesaplanan_deger >= 5) {
          printf("V");
          hesaplanan_deger = hesaplanan_deger - 5;
        } else if (hesaplanan_deger == 4) {
          printf("IV");
          hesaplanan_deger = hesaplanan_deger - 4;
        } else if (hesaplanan_deger >= 1) {
          printf("I");
          hesaplanan_deger = hesaplanan_deger - 1;
        }
      }
    } else {
      printf("1 ile 100 arasinda bir sayi girmediniz!!");
    }
    printf("\n");
  }
  printf("Programdan ciktiniz :)");
  return 0;
}
```