user: Demonstrate the C code that generates the assembly output below:

```asm
<_glp_bigdiv>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %edi,-0x24(%rbp)
  mov    %esi,-0x28(%rbp)
  mov    %rdx,-0x30(%rbp)
  mov    %rcx,-0x38(%rbp)
  cmpl   $0x0,-0x24(%rbp)
  jns    L103
  mov    $0x87,%edx
  lea    D11(%rip),%rax
  mov    %rax,%rsi
  lea    D52(%rip),%rax
  mov    %rax,%rdi
  call   <glp_assert_@plt>
L103:
  cmpl   $0x0,-0x28(%rbp)
  jg     L361
  mov    $0x88,%edx
  lea    D11(%rip),%rax
  mov    %rax,%rsi
  lea    D28(%rip),%rax
  mov    %rax,%rdi
  call   <glp_assert_@plt>
L361:
  mov    -0x28(%rbp),%eax
  cltq
  add    %rax,%rax
  lea    -0x2(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%eax
  test   %ax,%ax
  jne    L365
  mov    $0x89,%edx
  lea    D11(%rip),%rax
  mov    %rax,%rsi
  lea    D32(%rip),%rax
  mov    %rax,%rdi
  call   <glp_assert_@plt>
L365:
  cmpl   $0x1,-0x28(%rbp)
  jne    L87
  movw   $0x0,-0x12(%rbp)
  mov    -0x24(%rbp),%eax
  mov    %eax,-0xc(%rbp)
  jmp    L72
L366:
  movzwl -0x12(%rbp),%eax
  shl    $0x10,%eax
  mov    %eax,%edx
  mov    -0xc(%rbp),%eax
  cltq
  lea    (%rax,%rax,1),%rcx
  mov    -0x30(%rbp),%rax
  add    %rcx,%rax
  movzwl (%rax),%eax
  movzwl %ax,%eax
  add    %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x38(%rbp),%rax
  movzwl (%rax),%eax
  movzwl %ax,%edi
  mov    -0x4(%rbp),%eax
  mov    $0x0,%edx
  div    %edi
  mov    %eax,%edx
  mov    -0xc(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    (%rax,%rax,1),%rcx
  mov    -0x30(%rbp),%rax
  add    %rcx,%rax
  mov    %dx,(%rax)
  mov    -0x38(%rbp),%rax
  movzwl (%rax),%eax
  movzwl %ax,%ecx
  mov    -0x4(%rbp),%eax
  mov    $0x0,%edx
  div    %ecx
  mov    %edx,%eax
  mov    %ax,-0x12(%rbp)
  subl   $0x1,-0xc(%rbp)
L72:
  cmpl   $0x0,-0xc(%rbp)
  jns    L366
  mov    -0x30(%rbp),%rax
  movzwl -0x12(%rbp),%edx
  mov    %dx,(%rax)
  jmp    L267
L87:
  mov    -0x28(%rbp),%eax
  cltq
  add    %rax,%rax
  lea    -0x2(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%eax
  movzwl %ax,%eax
  lea    0x1(%rax),%esi
  mov    $0x10000,%eax
  mov    $0x0,%edx
  div    %esi
  mov    %ax,-0x12(%rbp)
  cmpw   $0x1,-0x12(%rbp)
  jne    L280
  mov    -0x24(%rbp),%edx
  mov    -0x28(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    (%rax,%rax,1),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movw   $0x0,(%rax)
  jmp    L147
L280:
  movl   $0x0,-0x4(%rbp)
  movl   $0x0,-0xc(%rbp)
  jmp    L356
L404:
  mov    -0xc(%rbp),%eax
  cltq
  lea    (%rax,%rax,1),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%eax
  movzwl %ax,%edx
  movzwl -0x12(%rbp),%eax
  imul   %edx,%eax
  add    %eax,-0x4(%rbp)
  mov    -0xc(%rbp),%eax
  cltq
  lea    (%rax,%rax,1),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    -0x4(%rbp),%edx
  mov    %dx,(%rax)
  shrl   $0x10,-0x4(%rbp)
  addl   $0x1,-0xc(%rbp)
L356:
  mov    -0x24(%rbp),%edx
  mov    -0x28(%rbp),%eax
  add    %edx,%eax
  cmp    %eax,-0xc(%rbp)
  jl     L404
  mov    -0x24(%rbp),%edx
  mov    -0x28(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    (%rax,%rax,1),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    -0x4(%rbp),%edx
  mov    %dx,(%rax)
  movl   $0x0,-0x4(%rbp)
  movl   $0x0,-0x8(%rbp)
  jmp    L18
L325:
  mov    -0x8(%rbp),%eax
  cltq
  lea    (%rax,%rax,1),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%eax
  movzwl %ax,%edx
  movzwl -0x12(%rbp),%eax
  imul   %edx,%eax
  add    %eax,-0x4(%rbp)
  mov    -0x8(%rbp),%eax
  cltq
  lea    (%rax,%rax,1),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    -0x4(%rbp),%edx
  mov    %dx,(%rax)
  shrl   $0x10,-0x4(%rbp)
  addl   $0x1,-0x8(%rbp)
L18:
  mov    -0x8(%rbp),%eax
  cmp    -0x28(%rbp),%eax
  jl     L325
L147:
  mov    -0x24(%rbp),%eax
  mov    %eax,-0xc(%rbp)
  jmp    L245
L269:
  mov    -0xc(%rbp),%edx
  mov    -0x28(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    (%rax,%rax,1),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%edx
  mov    -0x28(%rbp),%eax
  cltq
  add    %rax,%rax
  lea    -0x2(%rax),%rcx
  mov    -0x38(%rbp),%rax
  add    %rcx,%rax
  movzwl (%rax),%eax
  cmp    %ax,%dx
  jae    L362
  mov    -0xc(%rbp),%edx
  mov    -0x28(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    (%rax,%rax,1),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%eax
  movzwl %ax,%eax
  shl    $0x10,%eax
  mov    %eax,%ecx
  mov    -0xc(%rbp),%edx
  mov    -0x28(%rbp),%eax
  add    %edx,%eax
  cltq
  add    %rax,%rax
  lea    -0x2(%rax),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%eax
  movzwl %ax,%eax
  add    %ecx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x28(%rbp),%eax
  cltq
  add    %rax,%rax
  lea    -0x2(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%eax
  movzwl %ax,%edi
  mov    -0x4(%rbp),%eax
  mov    $0x0,%edx
  div    %edi
  mov    %ax,-0x10(%rbp)
  mov    -0x28(%rbp),%eax
  cltq
  add    %rax,%rax
  lea    -0x2(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%eax
  movzwl %ax,%ecx
  mov    -0x4(%rbp),%eax
  mov    $0x0,%edx
  div    %ecx
  mov    %edx,%eax
  mov    %ax,-0xe(%rbp)
  cmpw   $0x0,-0x10(%rbp)
  jne    L286
  jmp    L285
L362:
  movw   $0x0,-0x10(%rbp)
  mov    -0xc(%rbp),%edx
  mov    -0x28(%rbp),%eax
  add    %edx,%eax
  cltq
  add    %rax,%rax
  lea    -0x2(%rax),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%eax
  mov    %ax,-0xe(%rbp)
  jmp    L151
L291:
  nop
  jmp    L151
L333:
  nop
L151:
  movzwl -0x10(%rbp),%eax
  sub    $0x1,%eax
  mov    %ax,-0x10(%rbp)
  movzwl -0xe(%rbp),%edx
  mov    -0x28(%rbp),%eax
  cltq
  add    %rax,%rax
  lea    -0x2(%rax),%rcx
  mov    -0x38(%rbp),%rax
  add    %rcx,%rax
  movzwl (%rax),%eax
  movzwl %ax,%eax
  add    %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  mov    %ax,-0xe(%rbp)
  cmpl   $0xffff,-0x4(%rbp)
  ja     L150
  jmp    L332
L286:
  nop
L332:
  mov    -0x28(%rbp),%eax
  cltq
  add    %rax,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%eax
  movzwl %ax,%edx
  movzwl -0x10(%rbp),%eax
  imul   %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  shr    $0x10,%eax
  cmp    %ax,-0xe(%rbp)
  jb     L291
  mov    -0x4(%rbp),%eax
  shr    $0x10,%eax
  cmp    %ax,-0xe(%rbp)
  ja     L93
  mov    -0x4(%rbp),%eax
  mov    %eax,%ecx
  mov    -0xc(%rbp),%edx
  mov    -0x28(%rbp),%eax
  add    %edx,%eax
  cltq
  add    %rax,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%eax
  cmp    %ax,%cx
  ja     L333
  jmp    L89
L150:
  nop
  jmp    L89
L93:
  nop
L89:
  cmpw   $0x0,-0x10(%rbp)
  je     L294
  movl   $0x0,-0x4(%rbp)
  movl   $0x0,-0x8(%rbp)
  jmp    L105
L173:
  mov    -0x8(%rbp),%eax
  cltq
  lea    (%rax,%rax,1),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%eax
  movzwl %ax,%edx
  movzwl -0x10(%rbp),%eax
  imul   %edx,%eax
  add    %eax,-0x4(%rbp)
  mov    -0xc(%rbp),%edx
  mov    -0x8(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    (%rax,%rax,1),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%eax
  mov    -0x4(%rbp),%edx
  cmp    %dx,%ax
  jae    L377
  addl   $0x10000,-0x4(%rbp)
L377:
  mov    -0xc(%rbp),%edx
  mov    -0x8(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    (%rax,%rax,1),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%edx
  mov    -0x4(%rbp),%eax
  mov    %eax,%esi
  mov    -0xc(%rbp),%ecx
  mov    -0x8(%rbp),%eax
  add    %ecx,%eax
  cltq
  lea    (%rax,%rax,1),%rcx
  mov    -0x30(%rbp),%rax
  add    %rcx,%rax
  sub    %esi,%edx
  mov    %dx,(%rax)
  shrl   $0x10,-0x4(%rbp)
  addl   $0x1,-0x8(%rbp)
L105:
  mov    -0x8(%rbp),%eax
  cmp    -0x28(%rbp),%eax
  jl     L173
  mov    -0xc(%rbp),%edx
  mov    -0x28(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    (%rax,%rax,1),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%eax
  mov    -0x4(%rbp),%edx
  cmp    %dx,%ax
  jae    L216
  movzwl -0x10(%rbp),%eax
  sub    $0x1,%eax
  mov    %ax,-0x10(%rbp)
  movl   $0x0,-0x4(%rbp)
  movl   $0x0,-0x8(%rbp)
  jmp    L398
L49:
  mov    -0xc(%rbp),%edx
  mov    -0x8(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    (%rax,%rax,1),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%eax
  movzwl %ax,%edx
  mov    -0x8(%rbp),%eax
  cltq
  lea    (%rax,%rax,1),%rcx
  mov    -0x38(%rbp),%rax
  add    %rcx,%rax
  movzwl (%rax),%eax
  movzwl %ax,%eax
  add    %edx,%eax
  add    %eax,-0x4(%rbp)
  mov    -0xc(%rbp),%edx
  mov    -0x8(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    (%rax,%rax,1),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    -0x4(%rbp),%edx
  mov    %dx,(%rax)
  shrl   $0x10,-0x4(%rbp)
  addl   $0x1,-0x8(%rbp)
L398:
  mov    -0x8(%rbp),%eax
  cmp    -0x28(%rbp),%eax
  jl     L49
  jmp    L285
L294:
  nop
  jmp    L285
L216:
  nop
L285:
  mov    -0xc(%rbp),%edx
  mov    -0x28(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    (%rax,%rax,1),%rdx
  mov    -0x30(%rbp),%rax
  add    %rax,%rdx
  movzwl -0x10(%rbp),%eax
  mov    %ax,(%rdx)
  subl   $0x1,-0xc(%rbp)
L245:
  cmpl   $0x0,-0xc(%rbp)
  jns    L269
  cmpw   $0x1,-0x12(%rbp)
  jbe    L350
  movl   $0x0,-0x4(%rbp)
  mov    -0x28(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0xc(%rbp)
  jmp    L372
L327:
  mov    -0x4(%rbp),%eax
  shl    $0x10,%eax
  mov    %eax,%edx
  mov    -0xc(%rbp),%eax
  cltq
  lea    (%rax,%rax,1),%rcx
  mov    -0x30(%rbp),%rax
  add    %rcx,%rax
  movzwl (%rax),%eax
  movzwl %ax,%eax
  add    %edx,%eax
  mov    %eax,-0x4(%rbp)
  movzwl -0x12(%rbp),%esi
  mov    -0x4(%rbp),%eax
  mov    $0x0,%edx
  div    %esi
  mov    %eax,%edx
  mov    -0xc(%rbp),%eax
  cltq
  lea    (%rax,%rax,1),%rcx
  mov    -0x30(%rbp),%rax
  add    %rcx,%rax
  mov    %dx,(%rax)
  movzwl -0x12(%rbp),%ecx
  mov    -0x4(%rbp),%eax
  mov    $0x0,%edx
  div    %ecx
  mov    %edx,-0x4(%rbp)
  subl   $0x1,-0xc(%rbp)
L372:
  cmpl   $0x0,-0xc(%rbp)
  jns    L327
  movl   $0x0,-0x4(%rbp)
  mov    -0x28(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x8(%rbp)
  jmp    L218
L50:
  mov    -0x4(%rbp),%eax
  shl    $0x10,%eax
  mov    %eax,%edx
  mov    -0x8(%rbp),%eax
  cltq
  lea    (%rax,%rax,1),%rcx
  mov    -0x38(%rbp),%rax
  add    %rcx,%rax
  movzwl (%rax),%eax
  movzwl %ax,%eax
  add    %edx,%eax
  mov    %eax,-0x4(%rbp)
  movzwl -0x12(%rbp),%edi
  mov    -0x4(%rbp),%eax
  mov    $0x0,%edx
  div    %edi
  mov    %eax,%edx
  mov    -0x8(%rbp),%eax
  cltq
  lea    (%rax,%rax,1),%rcx
  mov    -0x38(%rbp),%rax
  add    %rcx,%rax
  mov    %dx,(%rax)
  movzwl -0x12(%rbp),%ecx
  mov    -0x4(%rbp),%eax
  mov    $0x0,%edx
  div    %ecx
  mov    %edx,-0x4(%rbp)
  subl   $0x1,-0x8(%rbp)
L218:
  cmpl   $0x0,-0x8(%rbp)
  jns    L50
L350:
  nop
L267:
  nop
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: label: D11
data_type: string
name: disassemble_data
arguments: label: D52
data_type: string
name: disassemble_data
arguments: label: D28
data_type: string
name: disassemble_data
arguments: label: D32
data_type: string

tool: D11: /scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/MarhesLab/NeeleyThesisCode/refs/heads/master/lib/glpk-4.52/src/misc/bignum.c

tool: D52: n >= 0

tool: D28: m >= 1

tool: D32: y[m-1] != 0

assistant: ```c
void _glp_bigdiv(int n, int m, unsigned short x[], unsigned short y[]) {
  int i, j;
  unsigned int t;
  unsigned short d, q, r;
  ((void)((n >= 0) || (glp_assert_("n >= 0", "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/MarhesLab/NeeleyThesisCode/refs/heads/master/lib/glpk-4.52/src/misc/bignum.c", 135), 1)));
  ((void)((m >= 1) || (glp_assert_("m >= 1", "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/MarhesLab/NeeleyThesisCode/refs/heads/master/lib/glpk-4.52/src/misc/bignum.c", 136), 1)));
  ((void)((y[m - 1] != 0) || (glp_assert_("y[m-1] != 0", "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/MarhesLab/NeeleyThesisCode/refs/heads/master/lib/glpk-4.52/src/misc/bignum.c", 137), 1)));
  if (m == 1) {
    d = 0;
    for (i = n; i >= 0; i--) {
      t = ((unsigned int)d << 16) + (unsigned int)x[i];
      x[i + 1] = (unsigned short)(t / y[0]);
      d = (unsigned short)(t % y[0]);
    }
    x[0] = d;
    goto done;
  }
  d = (unsigned short)(0x10000 / ((unsigned int)y[m - 1] + 1));
  if (d == 1)
    x[n + m] = 0;
  else {
    t = 0;
    for (i = 0; i < n + m; i++) {
      t += (unsigned int)x[i] * (unsigned int)d;
      x[i] = (unsigned short)t;
      t >>= 16;
    }
    x[n + m] = (unsigned short)t;
    t = 0;
    for (j = 0; j < m; j++) {
      t += (unsigned int)y[j] * (unsigned int)d;
      y[j] = (unsigned short)t;
      t >>= 16;
    }
  }
  for (i = n; i >= 0; i--) {
    if (x[i + m] < y[m - 1]) {
      t = ((unsigned int)x[i + m] << 16) + (unsigned int)x[i + m - 1];
      q = (unsigned short)(t / (unsigned int)y[m - 1]);
      r = (unsigned short)(t % (unsigned int)y[m - 1]);
      if (q == 0)
        goto putq;
      else
        goto test;
    }
    q = 0;
    r = x[i + m - 1];
  decr:
    q--;
    t = (unsigned int)r + (unsigned int)y[m - 1];
    r = (unsigned short)t;
    if (t > 0xFFFF)
      goto msub;
  test:
    t = (unsigned int)y[m - 2] * (unsigned int)q;
    if ((unsigned short)(t >> 16) > r)
      goto decr;
    if ((unsigned short)(t >> 16) < r)
      goto msub;
    if ((unsigned short)t > x[i + m - 2])
      goto decr;
  msub:
    if (q == 0)
      goto putq;
    t = 0;
    for (j = 0; j < m; j++) {
      t += (unsigned int)y[j] * (unsigned int)q;
      if (x[i + j] < (unsigned short)t)
        t += 0x10000;
      x[i + j] -= (unsigned short)t;
      t >>= 16;
    }
    if (x[i + m] >= (unsigned short)t)
      goto putq;
    q--;
    t = 0;
    for (j = 0; j < m; j++) {
      t += (unsigned int)x[i + j] + (unsigned int)y[j];
      x[i + j] = (unsigned short)t;
      t >>= 16;
    }
  putq:
    x[i + m] = q;
  }
  if (d > 1) {
    t = 0;
    for (i = m - 1; i >= 0; i--) {
      t = (t << 16) + (unsigned int)x[i];
      x[i] = (unsigned short)(t / (unsigned int)d);
      t %= (unsigned int)d;
    }
    t = 0;
    for (j = m - 1; j >= 0; j--) {
      t = (t << 16) + (unsigned int)y[j];
      y[j] = (unsigned short)(t / (unsigned int)d);
      t %= (unsigned int)d;
    }
  }
done:
  return;
}
```