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

```asm
<main>:
  endbr64
  push   %r15
  mov    $0x2e,%esi
  mov    $0xf0,%edi
  mov    $0x1,%r15d
  push   %r14
  push   %r13
  push   %r12
  xor    %r12d,%r12d
  push   %rbp
  push   %rbx
  mov    $0x2e,%ebx
  sub    $0x28,%rsp
  call   <gcd@plt>
  mov    $0xf0,%esi
  mov    $0x2e,%edx
  lea    D41(%rip),%rdi
  mov    %eax,%ecx
  xor    %eax,%eax
  call   <printf@plt>
  xor    %esi,%esi
  mov    $0xf0,%eax
  movl   $0x0,0xc(%rsp)
  movl   $0x1,0x10(%rsp)
  mov    %esi,%ebp
  jmp    L49
  nopl   0x0(%rax)
L11:
  mov    0x14(%rsp),%ecx
  mov    %edx,0xc(%rsp)
  mov    %r13d,%ebx
  mov    %r9d,%r15d
  mov    %ecx,0x10(%rsp)
L49:
  cltd
  mov    %r12d,%r14d
  mov    %r15d,%r11d
  mov    %r12d,0x14(%rsp)
  idiv   %ebx
  mov    0x10(%rsp),%r12d
  mov    0xc(%rsp),%r9d
  add    $0x1,%ebp
  lea    D32(%rip),%rdi
  mov    %ebp,%esi
  imul   %eax,%r14d
  mov    %edx,%r13d
  mov    %edx,%ecx
  mov    %eax,%edx
  imul   %eax,%r11d
  xor    %eax,%eax
  sub    %r14d,%r12d
  sub    %r11d,%r9d
  mov    %r12d,%r8d
  mov    %r11d,0x1c(%rsp)
  mov    %r9d,0x18(%rsp)
  call   <printf@plt>
  test   %r13d,%r13d
  mov    0x18(%rsp),%r9d
  mov    %r15d,%edx
  mov    0x1c(%rsp),%r11d
  mov    %ebx,%eax
  jne    L11
  mov    0x14(%rsp),%edx
  mov    $0xf0,%esi
  xor    %eax,%eax
  mov    %r14d,%r13d
  lea    D0(%rip),%rdi
  mov    %r9d,%r14d
  mov    %r15d,%r8d
  mov    %ebx,%r9d
  mov    $0x2e,%ecx
  mov    %r11d,%ebp
  call   <printf@plt>
  xor    %eax,%eax
  mov    $0x2e,%edx
  mov    $0xf0,%esi
  lea    D7(%rip),%rdi
  call   <printf@plt>
  test   %r12d,%r12d
  je     L10
  cmp    $0x1,%r12d
  je     L27
  test   %r12d,%r12d
  jle    L44
  mov    %ebp,%esi
  mov    %r12d,%edx
  sub    0xc(%rsp),%esi
  xor    %eax,%eax
  lea    D48(%rip),%rdi
  call   <printf@plt>
L63:
  add    $0x28,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L44:
  mov    %r13d,%edx
  mov    %r14d,%esi
  sub    0x10(%rsp),%edx
  xor    %eax,%eax
  lea    D48(%rip),%rdi
  call   <printf@plt>
  jmp    L63
L10:
  lea    D75(%rip),%rdi
  call   <puts@plt>
  jmp    L63
L27:
  mov    %ebp,%esi
  lea    D1(%rip),%rdi
  sub    0xc(%rsp),%esi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L63
```

tool_calls: name: retrieve_data
arguments: label: D41
type_infered: string
name: retrieve_data
arguments: label: D32
type_infered: string
name: retrieve_data
arguments: label: D0
type_infered: string
name: retrieve_data
arguments: label: D7
type_infered: string
name: retrieve_data
arguments: label: D48
type_infered: string
name: retrieve_data
arguments: label: D75
type_infered: string
name: retrieve_data
arguments: label: D1
type_infered: string

tool: D41: %dx+%dy=%d


tool: D32: %d: %d,%d,%d,%d


tool: D0: %d*%d+%d*%d=%d


tool: D7: %d/%d=

tool: D48: %d/%d


tool: D75: Division by zero

tool: D1: %d


assistant: ```c
int main() {
  int a = 240, b = 46;
  int s0 = 1, s1 = 0;
  int t0 = 0, t1 = 1;
  int r0 = a, r1 = b;
  printf("%dx+%dy=%d\n", a, b, gcd(a, b));
  int i = 0;
  while (1) {
    int q1 = r0 / r1;
    int r2 = r0 - q1 * r1;
    int s2 = s0 - q1 * s1;
    int t2 = t0 - q1 * t1;
    i++;
    printf("%d: %d,%d,%d,%d\n", i, q1, r2, s2, t2);
    r0 = r1, r1 = r2;
    s0 = s1, s1 = s2;
    t0 = t1, t1 = t2;
    if (r1 == 0) {
      printf("%d*%d+%d*%d=%d\n", a, s0, b, t0, r0);
      break;
    }
  }
  printf("%d/%d=", a, b);
  int s = s1;
  int t = t1;
  if (s == 0)
    printf("Division by zero\n");
  else if (s == 1)
    printf("%d\n", -t);
  else if (s > 0)
    printf("%d/%d\n", -t, s);
  else
    printf("%d/%d\n", t, -s);
  return 0;
}
```