user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```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     L70
  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>
L70:
  mov    $0x13,%eax
  sub    %r15d,%eax
  cmp    $0x13,%eax
  jg     L125
  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>
L125:
  cmpb   $0x0,0x53(%rsp)
  jne    L93
  test   %r15d,%r15d
  je     L251
L93:
  mov    %r15d,%ecx
  mov    %rbp,%rdx
  mov    %r12d,%esi
  mov    %rbx,%rdi
  call   <compare@plt>
  cmp    $0x1,%eax
  je     L168
  cmp    $0x3,%eax
  jne    L193
  lea    D8(%rip),%rdi
  call   <puts@plt>
  lea    D5(%rip),%rdi
  call   <puts@plt>
L254:
  mov    0x78(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L39
  add    $0x88,%rsp
  mov    $0x1,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L193:
  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    L153
  sub    %eax,%r14d
  lea    (%r14,%rcx,8),%eax
  mov    %eax,0x8(%rsp)
L184:
  mov    0x8(%rsp),%eax
  test   %eax,%eax
  jle    L38
  xor    %r14d,%r14d
  nopw   0x0(%rax,%rax,1)
L229:
  mov    %r15d,%esi
  mov    %rbp,%rdi
  add    $0x1,%r14d
  call   <shiftleft@plt>
  mov    %eax,%r15d
  cmp    %r14d,0x8(%rsp)
  jne    L229
L38:
  mov    0x14(%rsp),%eax
  mov    0x1c(%rsp),%ecx
  lea    (%rax,%rcx,8),%eax
  sub    0x18(%rsp),%eax
  mov    %eax,0x8(%rsp)
  js     L98
  xor    %r13d,%r13d
  xor    %r14d,%r14d
  jmp    L200
  nopw   0x0(%rax,%rax,1)
L197:
  mov    %r15d,%esi
  mov    %rbp,%rdi
  add    $0x1,%r14d
  call   <shiftright@plt>
  mov    %eax,%r15d
  cmp    %r14d,0x8(%rsp)
  jl     L1
L200:
  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     L197
  mov    %r12d,%esi
  mov    %r15d,%ecx
  mov    %rbp,%rdx
  mov    %rbx,%rdi
  orb    $0x1,0x73(%rsp)
  call   <deduct@plt>
  mov    %eax,%r12d
  jmp    L197
L168:
  lea    D75(%rip),%rdi
  mov    $0x13,%ebp
  lea    D64(%rip),%r14
  mov    $0x13,%r12d
  call   <puts@plt>
  lea    D44(%rip),%rdi
  call   <puts@plt>
  cmp    $0x13,%r13d
  jg     L254
  nopl   0x0(%rax)
L245:
  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    L245
  jmp    L254
  nopl   0x0(%rax)
L251:
  lea    D69(%rip),%rdi
  call   <puts@plt>
  jmp    L254
  nopl   0x0(%rax)
L153:
  mov    0x14(%rsp),%ecx
  sub    0x18(%rsp),%ecx
  cmp    %r12d,%r15d
  lea    0x8(%rcx),%eax
  cmove  %ecx,%eax
  mov    %eax,0x8(%rsp)
  jmp    L184
  nopw   0x0(%rax,%rax,1)
L1:
  lea    D17(%rip),%rdi
  call   <puts@plt>
  lea    D82(%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     L78
  mov    $0x13,%r12d
  lea    D24(%rip),%r14
  mov    $0x13,%r15d
  nopw   0x0(%rax,%rax,1)
L187:
  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    L187
L78:
  mov    $0xa,%edi
  mov    $0x13,%ebp
  lea    D24(%rip),%r14
  mov    $0x13,%r12d
  call   <putchar@plt>
  lea    D72(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  cmp    $0x13,%r13d
  jg     L129
  nopw   0x0(%rax,%rax,1)
L28:
  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    L28
L129:
  mov    $0xa,%edi
  call   <putchar@plt>
  jmp    L254
L98:
  lea    D17(%rip),%rdi
  lea    D24(%rip),%r14
  call   <puts@plt>
  lea    D82(%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    L78
L39:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_tag: D8
type_guessed: string
name: disassemble_data
arguments: data_tag: D5
type_guessed: string
name: disassemble_data
arguments: data_tag: D75
type_guessed: string
name: disassemble_data
arguments: data_tag: D64
type_guessed: string
name: disassemble_data
arguments: data_tag: D44
type_guessed: string
name: disassemble_data
arguments: data_tag: D69
type_guessed: string
name: disassemble_data
arguments: data_tag: D17
type_guessed: string
name: disassemble_data
arguments: data_tag: D82
type_guessed: string
name: disassemble_data
arguments: data_tag: D24
type_guessed: string
name: disassemble_data
arguments: data_tag: D72
type_guessed: string

tool: D8: quotient is 1

tool: D5: remainder is 0

tool: D75: quotient is 0

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


tool: D44: reminder: 

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

tool: D17: 


tool: D82: quotient:  

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

tool: D72: 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;
}
```