user: What is the c source code of the assembly code below?

```asm
<intToRoman>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x128,%rsp
  mov    %edi,%r15d
  mov    %fs:0x28,%rax
  mov    %rax,0x118(%rsp)
  xor    %eax,%eax
  movl   $0x3e8,0x20(%rsp)
  movl   $0x384,0x24(%rsp)
  movl   $0x1f4,0x28(%rsp)
  movl   $0x190,0x2c(%rsp)
  movl   $0x64,0x30(%rsp)
  movl   $0x5a,0x34(%rsp)
  movl   $0x32,0x38(%rsp)
  movl   $0x28,0x3c(%rsp)
  movl   $0xa,0x40(%rsp)
  movl   $0x9,0x44(%rsp)
  movl   $0x5,0x48(%rsp)
  movl   $0x4,0x4c(%rsp)
  movl   $0x1,0x50(%rsp)
  movq   $0x4d,0x60(%rsp)
  movl   $0x0,0x68(%rsp)
  movb   $0x0,0x6c(%rsp)
  movq   $0x4d43,0x6d(%rsp)
  movl   $0x0,0x75(%rsp)
  movb   $0x0,0x79(%rsp)
  movq   $0x44,0x7a(%rsp)
  movl   $0x0,0x82(%rsp)
  movb   $0x0,0x86(%rsp)
  movq   $0x4443,0x87(%rsp)
  movl   $0x0,0x8f(%rsp)
  movb   $0x0,0x93(%rsp)
  movq   $0x43,0x94(%rsp)
  movl   $0x0,0x9c(%rsp)
  movb   $0x0,0xa0(%rsp)
  movq   $0x4358,0xa1(%rsp)
  movl   $0x0,0xa9(%rsp)
  movb   $0x0,0xad(%rsp)
  movq   $0x4c,0xae(%rsp)
  movl   $0x0,0xb6(%rsp)
  movb   $0x0,0xba(%rsp)
  movq   $0x4c58,0xbb(%rsp)
  movl   $0x0,0xc3(%rsp)
  movb   $0x0,0xc7(%rsp)
  movq   $0x58,0xc8(%rsp)
  movl   $0x0,0xd0(%rsp)
  movb   $0x0,0xd4(%rsp)
  movq   $0x5849,0xd5(%rsp)
  movl   $0x0,0xdd(%rsp)
  movb   $0x0,0xe1(%rsp)
  movq   $0x56,0xe2(%rsp)
  movl   $0x0,0xea(%rsp)
  movb   $0x0,0xee(%rsp)
  movq   $0x5649,0xef(%rsp)
  movl   $0x0,0xf7(%rsp)
  movb   $0x0,0xfb(%rsp)
  movq   $0x49,0xfc(%rsp)
  movl   $0x0,0x104(%rsp)
  movb   $0x0,0x108(%rsp)
  mov    $0x20,%edi
  call   <malloc@plt>
  mov    %rax,(%rsp)
  movq   $0x0,(%rax)
  movq   $0x0,0x8(%rax)
  movq   $0x0,0x10(%rax)
  movq   $0x0,0x18(%rax)
  test   %r15d,%r15d
  jle    L2
  lea    0x20(%rsp),%rax
  mov    %rax,0x8(%rsp)
  lea    0x60(%rsp),%rax
  mov    %rax,0x10(%rsp)
  mov    $0x0,%r12d
L49:
  mov    0x8(%rsp),%rax
  mov    (%rax),%eax
  mov    %eax,%ecx
  mov    %eax,0x1c(%rsp)
  mov    %r15d,%eax
  cltd
  idiv   %ecx
  mov    %eax,%r14d
  test   %eax,%eax
  jle    L37
  mov    0x10(%rsp),%r13
  mov    $0x0,%ebp
L25:
  mov    %r13,%rdi
  call   <strlen@plt>
  mov    %rax,%rbx
  movslq %eax,%rdx
  movslq %r12d,%rdi
  add    (%rsp),%rdi
  mov    %r13,%rsi
  call   <strncat@plt>
  add    %ebx,%r12d
  add    $0x1,%ebp
  cmp    %ebp,%r14d
  jne    L25
  mov    0x1c(%rsp),%eax
  sub    %eax,%r15d
  sub    $0x1,%r14d
  imul   %r14d,%eax
  sub    %eax,%r15d
L37:
  addq   $0x4,0x8(%rsp)
  addq   $0xd,0x10(%rsp)
  test   %r15d,%r15d
  jg     L49
L2:
  mov    0x118(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L20
  mov    (%rsp),%rax
  add    $0x128,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L20:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
char *intToRoman(int num) {
  int values[] = {1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1};
  char symbols[13][13] = {"M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V", "IV", "I"};
  char *ret = (char *)malloc(sizeof(char) * 32);
  int i = 0;
  int j = 0;
  int cur = 0;
  int len = 0;
  memset(ret, 0, sizeof(char) * 32);
  while (num > 0) {
    int k = num / values[i];
    for (j = 0; j < k; j++) {
      len = strlen(symbols[i]);
      strncat(ret + cur, symbols[i], len);
      cur += len;
      num -= values[i];
    }
    i++;
  }
  return ret;
}
```