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

```asm
<division>:
  endbr64
  push   %r15
  mov    %ecx,%r15d
  push   %r14
  mov    %rdi,%r14
  push   %r13
  mov    $0x13,%r13d
  push   %r12
  mov    %esi,%r12d
  mov    $0x14,%esi
  push   %rbp
  sub    %r12d,%r13d
  push   %rbx
  sub    $0x88,%rsp
  mov    %rdx,0x8(%rsp)
  lea    0x20(%rsp),%rbx
  lea    0x40(%rsp),%rbp
  mov    %fs:0x28,%rax
  mov    %rax,0x78(%rsp)
  xor    %eax,%eax
  lea    0x60(%rsp),%rax
  mov    %rax,%rdi
  mov    %rax,(%rsp)
  call   <bzero@plt>
  mov    $0x14,%esi
  mov    %rbx,%rdi
  call   <bzero@plt>
  mov    $0x14,%esi
  mov    %rbp,%rdi
  call   <bzero@plt>
  cmp    $0x13,%r13d
  jg     L148
  mov    %r12d,%edx
  mov    $0x13,%eax
  sub    %rdx,%rax
  add    $0x1,%rdx
  lea    (%rbx,%rax,1),%rdi
  lea    (%r14,%rax,1),%rsi
  call   <memcpy@plt>
L148:
  mov    $0x13,%eax
  sub    %r15d,%eax
  cmp    $0x13,%eax
  jg     L185
  mov    %r15d,%edx
  mov    0x8(%rsp),%rsi
  mov    $0x13,%eax
  sub    %rdx,%rax
  add    $0x1,%rdx
  lea    0x0(%rbp,%rax,1),%rdi
  add    %rax,%rsi
  call   <memcpy@plt>
L185:
  cmpb   $0x0,0x53(%rsp)
  jne    L74
  test   %r15d,%r15d
  je     L204
L74:
  mov    %r15d,%ecx
  mov    %rbp,%rdx
  mov    %r12d,%esi
  mov    %rbx,%rdi
  call   <compare@plt>
  cmp    $0x1,%eax
  je     L213
  cmp    $0x3,%eax
  jne    L163
  lea    D30(%rip),%rdi
  call   <puts@plt>
  lea    D120(%rip),%rdi
  call   <puts@plt>
L146:
  mov    0x78(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L26
  add    $0x88,%rsp
  mov    $0x1,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L163:
  mov    %r12d,%esi
  mov    %rbx,%rdi
  call   <get_highbit@plt>
  mov    %r15d,%esi
  mov    %rbp,%rdi
  mov    %eax,0x14(%rsp)
  mov    %eax,%r14d
  call   <get_highbit@plt>
  mov    %r12d,%ecx
  sub    %r15d,%ecx
  mov    %eax,0x18(%rsp)
  mov    %ecx,0x1c(%rsp)
  cmp    $0x1,%ecx
  jle    L19
  sub    %eax,%r14d
  lea    (%r14,%rcx,8),%eax
  mov    %eax,0x8(%rsp)
L6:
  mov    0x8(%rsp),%eax
  test   %eax,%eax
  jle    L246
  xor    %r14d,%r14d
  nopw   0x0(%rax,%rax,1)
L240:
  mov    %r15d,%esi
  mov    %rbp,%rdi
  add    $0x1,%r14d
  call   <shiftleft@plt>
  mov    %eax,%r15d
  cmp    %r14d,0x8(%rsp)
  jne    L240
L246:
  mov    0x14(%rsp),%eax
  mov    0x1c(%rsp),%ecx
  lea    (%rax,%rcx,8),%eax
  sub    0x18(%rsp),%eax
  mov    %eax,0x8(%rsp)
  js     L93
  xor    %r13d,%r13d
  xor    %r14d,%r14d
  jmp    L154
  nopw   0x0(%rax,%rax,1)
L187:
  mov    %r15d,%esi
  mov    %rbp,%rdi
  add    $0x1,%r14d
  call   <shiftright@plt>
  mov    %eax,%r15d
  cmp    %r14d,0x8(%rsp)
  jl     L230
L154:
  mov    (%rsp),%rdi
  mov    %r13d,%esi
  call   <shiftleft@plt>
  mov    %r15d,%ecx
  mov    %rbp,%rdx
  mov    %r12d,%esi
  mov    %rbx,%rdi
  mov    %eax,%r13d
  call   <compare@plt>
  sub    $0x2,%eax
  cmp    $0x1,%eax
  ja     L187
  mov    %r12d,%esi
  mov    %r15d,%ecx
  mov    %rbp,%rdx
  mov    %rbx,%rdi
  orb    $0x1,0x73(%rsp)
  call   <deduct@plt>
  mov    %eax,%r12d
  jmp    L187
L213:
  lea    D122(%rip),%rdi
  mov    $0x13,%ebp
  lea    D88(%rip),%r14
  mov    $0x13,%r12d
  call   <puts@plt>
  lea    D14(%rip),%rdi
  call   <puts@plt>
  cmp    $0x13,%r13d
  jg     L146
  nopl   0x0(%rax)
L165:
  movzbl (%rbx,%rbp,1),%esi
  mov    %r12d,%edx
  mov    %r14,%rdi
  xor    %eax,%eax
  sub    %ebp,%edx
  sub    $0x1,%rbp
  call   <printf@plt>
  cmp    %ebp,%r13d
  jle    L165
  jmp    L146
  nopl   0x0(%rax)
L204:
  lea    D33(%rip),%rdi
  call   <puts@plt>
  jmp    L146
  nopl   0x0(%rax)
L19:
  mov    0x14(%rsp),%ecx
  sub    0x18(%rsp),%ecx
  cmp    %r12d,%r15d
  lea    0x8(%rcx),%eax
  cmove  %ecx,%eax
  mov    %eax,0x8(%rsp)
  jmp    L6
  nopw   0x0(%rax,%rax,1)
L230:
  lea    D58(%rip),%rdi
  call   <puts@plt>
  lea    D25(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    $0x13,%eax
  mov    %eax,%ebp
  sub    %r12d,%eax
  sub    %r13d,%ebp
  mov    %eax,%r13d
  cmp    $0x13,%ebp
  jg     L145
  mov    $0x13,%r12d
  lea    D106(%rip),%r14
  mov    $0x13,%r15d
  nopw   0x0(%rax,%rax,1)
L94:
  mov    (%rsp),%rax
  mov    %r15d,%edx
  mov    %r14,%rdi
  sub    %r12d,%edx
  movzbl (%rax,%r12,1),%esi
  xor    %eax,%eax
  sub    $0x1,%r12
  call   <printf@plt>
  cmp    %r12d,%ebp
  jle    L94
L145:
  mov    $0xa,%edi
  mov    $0x13,%ebp
  lea    D106(%rip),%r14
  mov    $0x13,%r12d
  call   <putchar@plt>
  lea    D36(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  cmp    $0x13,%r13d
  jg     L191
  nopw   0x0(%rax,%rax,1)
L174:
  movzbl (%rbx,%rbp,1),%esi
  mov    %r12d,%edx
  mov    %r14,%rdi
  xor    %eax,%eax
  sub    %ebp,%edx
  sub    $0x1,%rbp
  call   <printf@plt>
  cmp    %ebp,%r13d
  jle    L174
L191:
  mov    $0xa,%edi
  call   <putchar@plt>
  jmp    L146
L93:
  lea    D58(%rip),%rdi
  lea    D106(%rip),%r14
  call   <puts@plt>
  lea    D25(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  movzbl 0x73(%rsp),%esi
  xor    %edx,%edx
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L145
L26:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: label: D30
type: string
name: extract_symbolic_data
arguments: label: D120
type: string
name: extract_symbolic_data
arguments: label: D122
type: string
name: extract_symbolic_data
arguments: label: D88
type: string
name: extract_symbolic_data
arguments: label: D14
type: string
name: extract_symbolic_data
arguments: label: D33
type: string
name: extract_symbolic_data
arguments: label: D58
type: string
name: extract_symbolic_data
arguments: label: D25
type: string
name: extract_symbolic_data
arguments: label: D106
type: string
name: extract_symbolic_data
arguments: label: D36
type: string

tool: D30: quotient is 1

tool: D120: remainder is 0

tool: D122: quotient is 0

tool: D88: + %d * 256^%d


tool: D14: reminder: 

tool: D33: Please don't let divisor = 0

tool: D58: 


tool: D25: quotient:  

tool: D106: + %d *256^%d

tool: D36: reminder:  

assistant: ```c
int division(unsigned char *dividend, int a_len, unsigned char *divisor, int b_len) {
  int i, j = 0, comp, number = 0, b_shift_len = b_len, quo_len = 0, quo_total_len;
  int a_highbit, b_highbit;
  unsigned char a[20], b[20], quotient[20];
  bzero(quotient, sizeof(quotient));
  bzero(a, sizeof(a));
  bzero(b, sizeof(b));
  for (i = 20 - 1; i >= 20 - 1 - a_len; i--)
    a[i] = dividend[i];
  for (i = 20 - 1; i >= 20 - 1 - b_len; i--)
    b[i] = divisor[i];
  if ((b[20 - 1] == 0) && (b_len == 0)) {
    printf("Please don't let divisor = 0\n");
    return 1;
  }
  comp = compare(a, a_len, b, b_len);
  switch (comp) {
  case 1:
    printf("quotient is 0\n");
    printf("reminder: \n");
    for (i = 20 - 1, j = 0; i >= 20 - 1 - a_len; i--, j++)
      printf("+ %d * 256^%d\n", a[i], j);
    return 1;
  case 3:
    printf("quotient is 1\n");
    printf("remainder is 0\n");
    return 1;
  }
  a_highbit = get_highbit(a, a_len);
  b_highbit = get_highbit(b, b_len);
  if (a_len - b_len >= 2) {
    number = (a_len - b_len - 1) << 3;
    number += a_highbit - b_highbit + 8;
  } else if (a_len - b_len)
    number = a_highbit - b_highbit + 8;
  else
    number = a_highbit - b_highbit;
  for (i = 0; i < number; i++)
    b_shift_len = shiftleft(b, b_shift_len);
  quo_total_len = ((a_len - b_len) << 3) + a_highbit - b_highbit;
  for (i = 0; i <= quo_total_len; i++) {
    quo_len = shiftleft(quotient, quo_len);
    comp = compare(a, a_len, b, b_shift_len);
    switch (comp) {
    case 1:
      break;
    case 2:
    case 3:
      quotient[20 - 1] |= 0x1;
      a_len = deduct(a, a_len, b, b_shift_len);
      break;
    }
    b_shift_len = shiftright(b, b_shift_len);
  }
  printf("\n\n");
  printf("quotient:  ");
  for (i = 20 - 1, j = 0; i >= 20 - 1 - quo_len; i--, j++)
    printf("+ %d *256^%d", quotient[i], j);
  printf("\n");
  printf("reminder:  ");
  for (i = 20 - 1, j = 0; i >= 20 - 1 - a_len; i--, j++)
    printf("+ %d *256^%d", a[i], j);
  printf("\n");
  return 1;
}
```