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

```asm
<draw>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x58,%rsp
  mov    %edi,-0x64(%rbp)
  mov    %esi,-0x68(%rbp)
  mov    %fs:0x28,%rcx
  mov    %rcx,-0x38(%rbp)
  xor    %ecx,%ecx
  mov    %rsp,%rcx
  mov    %rcx,%r15
  mov    -0x64(%rbp),%ecx
  add    %ecx,%ecx
  add    $0x1,%ecx
  mov    -0x64(%rbp),%esi
  add    %esi,%esi
  movslq %ecx,%rdi
  sub    $0x1,%rdi
  mov    %rdi,-0x50(%rbp)
  movslq %ecx,%rdi
  mov    %rdi,-0x80(%rbp)
  movq   $0x0,-0x78(%rbp)
  movslq %ecx,%rbx
  movslq %esi,%rdi
  sub    $0x1,%rdi
  mov    %rdi,-0x48(%rbp)
  movslq %ecx,%rdi
  mov    %rdi,%r12
  mov    $0x0,%r13d
  movslq %esi,%rdi
  mov    %rdi,%rax
  mov    $0x0,%edx
  mov    %r13,%r14
  imul   %rax,%r14
  mov    %rdx,%rdi
  imul   %r12,%rdi
  add    %r14,%rdi
  mul    %r12
  add    %rdx,%rdi
  mov    %rdi,%rdx
  movslq %ecx,%rax
  mov    %rax,%r10
  mov    $0x0,%r11d
  movslq %esi,%rax
  mov    %rax,%r8
  mov    $0x0,%r9d
  mov    %r11,%rdx
  imul   %r8,%rdx
  mov    %r9,%rax
  imul   %r10,%rax
  lea    (%rdx,%rax,1),%rdi
  mov    %r10,%rax
  mul    %r8
  add    %rdx,%rdi
  mov    %rdi,%rdx
  movslq %ecx,%rdx
  movslq %esi,%rax
  imul   %rdx,%rax
  mov    $0x10,%edx
  sub    $0x1,%rdx
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L297:
  cmp    %rdx,%rsp
  je     L252
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L297
L252:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L140
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L140:
  mov    %rsp,%rax
  add    $0x0,%rax
  mov    %rax,-0x40(%rbp)
  movl   $0x0,-0x54(%rbp)
  movb   $0x0,-0x56(%rbp)
  jmp    L251
L110:
  movb   $0x0,-0x55(%rbp)
  jmp    L126
L125:
  movsbl -0x56(%rbp),%eax
  movsbl -0x55(%rbp),%edx
  mov    -0x40(%rbp),%rcx
  movslq %edx,%rdx
  cltq
  imul   %rbx,%rax
  add    %rcx,%rdx
  add    %rdx,%rax
  movb   $0x20,(%rax)
  movzbl -0x55(%rbp),%eax
  add    $0x1,%eax
  mov    %al,-0x55(%rbp)
L126:
  mov    -0x64(%rbp),%eax
  lea    (%rax,%rax,1),%edx
  movsbl -0x55(%rbp),%eax
  cmp    %eax,%edx
  jge    L125
  movzbl -0x56(%rbp),%eax
  add    $0x1,%eax
  mov    %al,-0x56(%rbp)
L251:
  movsbl -0x56(%rbp),%eax
  mov    -0x64(%rbp),%edx
  add    %edx,%edx
  cmp    %edx,%eax
  jl     L110
  movb   $0x0,-0x56(%rbp)
  jmp    L181
L294:
  movb   $0x0,-0x55(%rbp)
  jmp    L270
L264:
  movsbl -0x56(%rbp),%eax
  mov    -0x40(%rbp),%rdx
  cltq
  imul   %rbx,%rax
  movb   $0x2a,(%rdx,%rax,1)
  movsbl -0x56(%rbp),%eax
  mov    -0x64(%rbp),%edx
  add    %edx,%edx
  mov    -0x40(%rbp),%rcx
  movslq %edx,%rdx
  cltq
  imul   %rbx,%rax
  add    %rcx,%rdx
  add    %rdx,%rax
  movb   $0x2a,(%rax)
  cmpb   $0x0,-0x56(%rbp)
  je     L210
  movsbl -0x56(%rbp),%eax
  mov    -0x64(%rbp),%edx
  add    %edx,%edx
  sub    $0x1,%edx
  cmp    %edx,%eax
  jne    L227
L210:
  movzbl -0x55(%rbp),%eax
  and    $0x1,%eax
  test   %al,%al
  jne    L168
  movsbl -0x55(%rbp),%eax
  mov    -0x64(%rbp),%edx
  add    %edx,%edx
  cmp    %edx,%eax
  je     L168
  movsbl -0x56(%rbp),%eax
  movsbl -0x55(%rbp),%edx
  mov    -0x40(%rbp),%rcx
  movslq %edx,%rdx
  cltq
  imul   %rbx,%rax
  add    %rcx,%rdx
  add    %rdx,%rax
  movb   $0x20,(%rax)
  jmp    L235
L168:
  movsbl -0x56(%rbp),%eax
  movsbl -0x55(%rbp),%edx
  mov    -0x40(%rbp),%rcx
  movslq %edx,%rdx
  cltq
  imul   %rbx,%rax
  add    %rcx,%rdx
  add    %rdx,%rax
  movb   $0x2a,(%rax)
  jmp    L235
L227:
  movsbl -0x56(%rbp),%eax
  mov    -0x64(%rbp),%edx
  add    %edx,%edx
  add    $0x1,%edx
  mov    %edx,%ecx
  shr    $0x1f,%ecx
  add    %ecx,%edx
  sar    %edx
  cmp    %edx,%eax
  jge    L50
  movsbl -0x56(%rbp),%eax
  movsbl -0x56(%rbp),%edx
  add    $0x1,%edx
  mov    -0x40(%rbp),%rcx
  movslq %edx,%rdx
  cltq
  imul   %rbx,%rax
  add    %rcx,%rdx
  add    %rdx,%rax
  movb   $0x2a,(%rax)
  movsbl -0x56(%rbp),%eax
  mov    -0x64(%rbp),%edx
  add    %edx,%edx
  sub    $0x1,%edx
  movsbl -0x56(%rbp),%ecx
  sub    %ecx,%edx
  mov    -0x40(%rbp),%rcx
  movslq %edx,%rdx
  cltq
  imul   %rbx,%rax
  add    %rcx,%rdx
  add    %rdx,%rax
  movb   $0x2a,(%rax)
  jmp    L235
L50:
  movsbl -0x56(%rbp),%eax
  movsbl -0x56(%rbp),%edx
  mov    -0x40(%rbp),%rcx
  movslq %edx,%rdx
  cltq
  imul   %rbx,%rax
  add    %rcx,%rdx
  add    %rdx,%rax
  movb   $0x2a,(%rax)
  movsbl -0x56(%rbp),%eax
  mov    -0x64(%rbp),%edx
  add    %edx,%edx
  movsbl -0x56(%rbp),%ecx
  sub    %ecx,%edx
  mov    -0x40(%rbp),%rcx
  movslq %edx,%rdx
  cltq
  imul   %rbx,%rax
  add    %rcx,%rdx
  add    %rdx,%rax
  movb   $0x2a,(%rax)
L235:
  movzbl -0x55(%rbp),%eax
  add    $0x1,%eax
  mov    %al,-0x55(%rbp)
L270:
  mov    -0x64(%rbp),%eax
  lea    (%rax,%rax,1),%edx
  movsbl -0x55(%rbp),%eax
  cmp    %eax,%edx
  jge    L264
  movzbl -0x56(%rbp),%eax
  add    $0x1,%eax
  mov    %al,-0x56(%rbp)
L181:
  movsbl -0x56(%rbp),%eax
  mov    -0x64(%rbp),%edx
  add    %edx,%edx
  cmp    %edx,%eax
  jl     L294
  movb   $0x0,-0x56(%rbp)
  jmp    L345
L207:
  movl   $0x0,-0x54(%rbp)
  movb   $0x0,-0x55(%rbp)
  jmp    L379
L36:
  cmpb   $0x0,-0x56(%rbp)
  je     L189
  movsbl -0x56(%rbp),%eax
  mov    -0x64(%rbp),%edx
  add    %edx,%edx
  sub    $0x1,%edx
  cmp    %edx,%eax
  je     L189
  movsbl -0x56(%rbp),%eax
  cmp    %eax,-0x64(%rbp)
  je     L189
  movsbl -0x56(%rbp),%eax
  mov    -0x64(%rbp),%edx
  sub    $0x1,%edx
  cmp    %edx,%eax
  je     L189
  movsbl -0x56(%rbp),%eax
  cmp    %eax,-0x68(%rbp)
  jge    L190
  movsbl -0x56(%rbp),%eax
  cmp    %eax,-0x64(%rbp)
  jg     L212
L190:
  movsbl -0x56(%rbp),%edx
  mov    -0x64(%rbp),%eax
  add    %eax,%eax
  sub    $0x1,%eax
  sub    -0x68(%rbp),%eax
  cmp    %eax,%edx
  jl     L189
L212:
  movsbl -0x56(%rbp),%eax
  movsbl -0x55(%rbp),%edx
  mov    -0x40(%rbp),%rcx
  movslq %edx,%rdx
  cltq
  imul   %rbx,%rax
  add    %rcx,%rdx
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2a,%al
  jne    L134
  addl   $0x1,-0x54(%rbp)
L134:
  cmpl   $0x2,-0x54(%rbp)
  jne    L189
  movsbl -0x56(%rbp),%eax
  movsbl -0x55(%rbp),%edx
  mov    -0x40(%rbp),%rcx
  movslq %edx,%rdx
  cltq
  imul   %rbx,%rax
  add    %rcx,%rdx
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2a,%al
  je     L189
  movsbl -0x56(%rbp),%eax
  movsbl -0x55(%rbp),%edx
  mov    -0x40(%rbp),%rcx
  movslq %edx,%rdx
  cltq
  imul   %rbx,%rax
  add    %rcx,%rdx
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  jne    L189
  movsbl -0x56(%rbp),%eax
  movsbl -0x55(%rbp),%edx
  mov    -0x40(%rbp),%rcx
  movslq %edx,%rdx
  cltq
  imul   %rbx,%rax
  add    %rcx,%rdx
  add    %rdx,%rax
  movb   $0x2e,(%rax)
L189:
  movzbl -0x55(%rbp),%eax
  add    $0x1,%eax
  mov    %al,-0x55(%rbp)
L379:
  mov    -0x64(%rbp),%eax
  lea    (%rax,%rax,1),%edx
  movsbl -0x55(%rbp),%eax
  cmp    %eax,%edx
  jge    L36
  movzbl -0x56(%rbp),%eax
  add    $0x1,%eax
  mov    %al,-0x56(%rbp)
L345:
  movsbl -0x56(%rbp),%eax
  mov    -0x64(%rbp),%edx
  add    %edx,%edx
  cmp    %edx,%eax
  jl     L207
  movb   $0x0,-0x56(%rbp)
  jmp    L40
L328:
  movb   $0x0,-0x55(%rbp)
  jmp    L47
L31:
  movsbl -0x56(%rbp),%eax
  movsbl -0x55(%rbp),%edx
  mov    -0x40(%rbp),%rcx
  movslq %edx,%rdx
  cltq
  imul   %rbx,%rax
  add    %rcx,%rdx
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <putchar@plt>
  movzbl -0x55(%rbp),%eax
  add    $0x1,%eax
  mov    %al,-0x55(%rbp)
L47:
  mov    -0x64(%rbp),%eax
  lea    (%rax,%rax,1),%edx
  movsbl -0x55(%rbp),%eax
  cmp    %eax,%edx
  jge    L31
  mov    $0xa,%edi
  call   <putchar@plt>
  movzbl -0x56(%rbp),%eax
  add    $0x1,%eax
  mov    %al,-0x56(%rbp)
L40:
  movsbl -0x56(%rbp),%eax
  mov    -0x64(%rbp),%edx
  add    %edx,%edx
  cmp    %edx,%eax
  jl     L328
  mov    %r15,%rsp
  nop
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L116
  call   <__stack_chk_fail@plt>
L116:
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

assistant: ```c
void draw(int size, int sand) {
  char a[(size * 2)][((size * 2) + 1)], i, j;
  int flag = 0;
  for (i = 0; i < (size * 2); i++) {
    for (j = 0; j < ((size * 2) + 1); j++) {
      a[i][j] = ' ';
    }
  }
  for (i = 0; i < (size * 2); i++) {
    for (j = 0; j < ((size * 2) + 1); j++) {
      a[i][0] = '*';
      a[i][((size * 2) + 1) - 1] = '*';
      if ((i == 0) || (i == (size * 2) - 1)) {
        if (((j % 2) == 0) && (j != ((size * 2) + 1) - 1)) {
          a[i][j] = ' ';
        } else {
          a[i][j] = '*';
        }
      } else {
        if (i < ((size * 2) + 1) / 2) {
          a[i][i + 1] = '*';
          a[i][(((size * 2) + 1) - 2) - i] = '*';
        } else {
          a[i][i] = '*';
          a[i][(((size * 2) + 1) - 2) - (i - 1)] = '*';
        }
      }
    }
  }
  for (i = 0; i < (size * 2); i++) {
    flag = 0;
    for (j = 0; j < ((size * 2) + 1); j++) {
      if ((i != 0) && (i != ((size * 2) - 1)) && (i != ((size * 2) / 2)) && (i != ((size * 2) / 2) - 1)) {
        if (((!(i <= sand)) && (i < (size * 2) / 2)) || (i >= ((size * 2) - 1) - sand)) {
          if (a[i][j] == '*') {
            flag++;
          }
          if ((flag == 2) && (a[i][j] != '*') && (a[i][j] == ' ')) {
            a[i][j] = '.';
          }
        }
      }
    }
  }
  for (i = 0; i < (size * 2); i++) {
    for (j = 0; j < ((size * 2) + 1); j++) {
      printf("%c", a[i][j]);
    }
    printf("\n");
  }
}
```