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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  lea    D30(%rip),%r15
  jmp    L294
L295:
  mov    -0x3c(%rbp),%ecx
  movslq %ecx,%rax
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rdi
  and    $0xfffffffffffffff0,%rdi
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rsi
  sub    %rax,%rsi
L217:
  cmp    %rsi,%rsp
  je     L117
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L217
L117:
  mov    %rdi,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L9
  orq    $0x0,-0x8(%rsp,%rax,1)
L9:
  mov    %rsp,%r12
  lea    0x1(%rdx),%eax
  cltq
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rsi
  and    $0xfffffffffffffff0,%rsi
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rdi
  sub    %rax,%rdi
L155:
  cmp    %rdi,%rsp
  je     L236
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L155
L236:
  mov    %rsi,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L24
  orq    $0x0,-0x8(%rsp,%rax,1)
L24:
  mov    %rsp,%rbx
  test   %edx,%edx
  js     L25
  mov    $0x0,%eax
L144:
  movl   $0x0,(%rbx,%rax,4)
  add    $0x1,%rax
  cmp    %eax,%edx
  jge    L144
L107:
  test   %ecx,%ecx
  jle    L275
L59:
  mov    %r12,%r14
  mov    $0x0,%r13d
L214:
  mov    %r12,%rsi
  mov    %r15,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  add    $0x1,%r13d
  mov    -0x3c(%rbp),%r8d
  add    $0x4,%r12
  cmp    %r13d,%r8d
  jg     L214
  test   %r8d,%r8d
  jle    L275
  mov    $0x0,%eax
L248:
  add    $0x1,%eax
  cmp    %eax,%r8d
  jne    L248
  lea    -0x1(%r8),%r11d
  mov    %r8d,%r10d
  mov    %r14,%r9
  mov    $0x0,%edi
  add    $0x4,%r14
  jmp    L39
L19:
  mov    (%r9),%esi
  mov    %r11d,%eax
  sub    %edi,%eax
  add    %rdi,%rax
  lea    (%r14,%rax,4),%rcx
  mov    %r9,%rdx
L209:
  mov    %esi,%r12d
  sub    (%rdx),%r12d
  mov    %r12d,%eax
  neg    %eax
  cmovs  %r12d,%eax
  cltq
  movl   $0x1,(%rbx,%rax,4)
  add    $0x4,%rdx
  cmp    %rcx,%rdx
  jne    L209
L81:
  add    $0x1,%rdi
  add    $0x4,%r9
  cmp    %r10,%rdi
  je     L275
L39:
  cmp    %edi,%r8d
  jg     L19
  jmp    L81
L275:
  mov    -0x40(%rbp),%edx
  test   %edx,%edx
  js     L120
  mov    $0x0,%eax
L18:
  cmpl   $0x0,(%rbx,%rax,4)
  je     L307
  add    $0x1,%rax
  cmp    %eax,%edx
  jge    L18
L120:
  lea    D22(%rip),%rdi
  call   <printf@plt>
L313:
  mov    -0x48(%rbp),%rsp
L294:
  mov    %rsp,-0x48(%rbp)
  lea    -0x3c(%rbp),%rdx
  lea    -0x40(%rbp),%rsi
  lea    D12(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x40(%rbp),%edx
  test   %edx,%edx
  jne    L295
  mov    -0x3c(%rbp),%ecx
  test   %ecx,%ecx
  je     L33
  movslq %ecx,%rax
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rsi
  and    $0xfffffffffffffff0,%rsi
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rdx
  sub    %rax,%rdx
L138:
  cmp    %rdx,%rsp
  je     L5
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L138
L307:
  lea    D2(%rip),%rdi
  call   <printf@plt>
  jmp    L313
L33:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L162
  mov    $0x0,%eax
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L5:
  mov    %rsi,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L153
  orq    $0x0,-0x8(%rsp,%rax,1)
L153:
  mov    %rsp,%r12
  mov    %rsp,%rax
L230:
  cmp    %rax,%rsp
  je     L326
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L230
L326:
  sub    $0x10,%rsp
  orq    $0x0,0x8(%rsp)
  lea    0x3(%rsp),%rbx
  mov    %rbx,%rax
  shr    $0x2,%rax
  and    $0xfffffffffffffffc,%rbx
  movl   $0x0,0x0(,%rax,4)
  jmp    L107
L25:
  test   %ecx,%ecx
  jg     L59
  jmp    L120
L162:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: label: D30
type: string
name: extract_symbolic_data
arguments: label: D22
type: string
name: extract_symbolic_data
arguments: label: D12
type: string
name: extract_symbolic_data
arguments: label: D2
type: string

tool: D30: %d

tool: D22: Y


tool: D12: %d%d

tool: D2: N


assistant: ```c
int main() {
  int n, b, i, j;
  while (1) {
    int flag = 0;
    scanf("%d%d", &n, &b);
    if (n == 0 && b == 0)
      break;
    int barray[b], yes[n + 1];
    for (i = 0; i < n + 1; i++)
      yes[i] = 0;
    for (i = 0; i < b; i++) {
      scanf("%d", &barray[i]);
    }
    for (i = 0; i < b; i++) {
      int value = barray[i];
    }
    for (i = 0; i < b; i++) {
      for (j = i; j < b; j++) {
        int value = abs(barray[i] - barray[j]);
        yes[value] = 1;
      }
    }
    for (i = 0; i < n + 1; i++) {
      if (yes[i] == 0) {
        printf("N\n");
        flag = 1;
        break;
      }
    }
    if (flag == 0)
      printf("Y\n");
  }
  return 0;
}
```