user: 下面的汇编指令对应的C源代码是什么:

```asm
<micro_qr_intermediate>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x68,%rsp
  mov    %rdi,%r15
  mov    %rsi,0x28(%rsp)
  mov    %rdx,0x20(%rsp)
  mov    %ecx,%ebp
  mov    %r8,0x30(%rsp)
  mov    %r9,0x38(%rsp)
  mov    0xa0(%rsp),%rax
  mov    %rax,0x40(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x58(%rsp)
  xor    %eax,%eax
  lea    D25(%rip),%rsi
  call   <strcpy@plt>
  movl   $0x0,0x48(%rsp)
  mov    $0x1,%r13d
  mov    %ebp,%r12d
  jmp    L218
L311:
  cmp    $0x4e,%sil
  jne    L260
  lea    D35(%rip),%rsi
  mov    %r15,%rdi
  call   <strcat@plt>
  mov    %bl,0x56(%rsp)
  movb   $0x0,0x57(%rsp)
  lea    0x56(%rsp),%rsi
  mov    %r15,%rdi
  call   <strcat@plt>
  test   %ebx,%ebx
  jle    L260
  mov    0x28(%rsp),%rax
  lea    (%rax,%rbp,4),%r14
  mov    $0x0,%ebp
  mov    %r12d,0x4c(%rsp)
  jmp    L54
L202:
  lea    D83(%rip),%rsi
  mov    %r15,%rdi
  call   <strcat@plt>
  mov    0x30(%rsp),%rax
  movl   $0x1,(%rax)
  mov    %bl,0x56(%rsp)
  movb   $0x0,0x57(%rsp)
  lea    0x56(%rsp),%rsi
  mov    %r15,%rdi
  call   <strcat@plt>
  test   %ebx,%ebx
  jle    L260
  mov    0x28(%rsp),%rax
  lea    (%rax,%rbp,4),%rbp
  mov    $0x0,%ebx
  mov    0xc(%rsp),%r14d
L101:
  mov    0x0(%rbp,%rbx,4),%eax
  lea    -0xc140(%rax),%edx
  cmp    $0x9fff,%eax
  cmovg  %edx,%eax
  mov    %eax,%edx
  sar    $0x4,%edx
  and    $0xff0,%edx
  lea    (%rdx,%rdx,2),%esi
  shl    $0x6,%esi
  movzbl %al,%eax
  add    %eax,%esi
  mov    $0x1000,%edx
  mov    %r15,%rdi
  call   <qr_diran@plt>
  mov    %r15,%rdi
  call   <strlen@plt>
  cmp    $0x80,%eax
  jg     L388
  add    $0x1,%rbx
  lea    -0x1(%rbx),%eax
  cmp    %eax,%r14d
  jg     L101
L260:
  lea    -0x1(%r12),%eax
  cmp    %eax,0x48(%rsp)
  jge    L240
L218:
  mov    %r15,%rdi
  call   <strlen@plt>
  cmp    $0x80,%eax
  jg     L337
  mov    0x48(%rsp),%eax
  movslq %eax,%rbp
  mov    0x20(%rsp),%rcx
  lea    (%rcx,%rbp,1),%rdi
  mov    %rdi,0x10(%rsp)
  movzbl (%rdi),%esi
  add    $0x1,%eax
  lea    0x1(%rcx,%rbp,1),%rdx
  mov    $0x0,%ebx
L282:
  mov    %ebx,%r8d
  add    $0x1,%ebx
  mov    %eax,%edi
  cmp    %r12d,%eax
  jge    L379
  movzbl (%rdx),%ecx
  add    $0x1,%eax
  add    $0x1,%rdx
  cmp    %sil,%cl
  je     L282
L379:
  mov    %edi,0x48(%rsp)
  mov    %r8d,0xc(%rsp)
  cmp    $0x4b,%sil
  je     L202
  jg     L311
  cmp    $0x41,%sil
  je     L178
  cmp    $0x42,%sil
  jne    L260
  lea    D55(%rip),%rsi
  mov    %r15,%rdi
  call   <strcat@plt>
  mov    0x40(%rsp),%rax
  movl   $0x1,(%rax)
  mov    %bl,0x56(%rsp)
  movb   $0x0,0x57(%rsp)
  lea    0x56(%rsp),%rsi
  mov    %r15,%rdi
  call   <strcat@plt>
  test   %ebx,%ebx
  jle    L260
  mov    0x28(%rsp),%rax
  lea    (%rax,%rbp,4),%rbp
  mov    $0x0,%ebx
  mov    0xc(%rsp),%r14d
L124:
  mov    0x0(%rbp,%rbx,4),%esi
  mov    $0x80,%edx
  mov    %r15,%rdi
  call   <qr_diran@plt>
  mov    %r15,%rdi
  call   <strlen@plt>
  cmp    $0x80,%eax
  jg     L331
  add    $0x1,%rbx
  lea    -0x1(%rbx),%eax
  cmp    %eax,%r14d
  jg     L124
  jmp    L260
L178:
  lea    D12(%rip),%rsi
  mov    %r15,%rdi
  call   <strcat@plt>
  mov    0x38(%rsp),%rax
  movl   $0x1,(%rax)
  mov    %bl,0x56(%rsp)
  movb   $0x0,0x57(%rsp)
  lea    0x56(%rsp),%rsi
  mov    %r15,%rdi
  call   <strcat@plt>
  test   %ebx,%ebx
  jle    L260
  mov    0x28(%rsp),%rax
  lea    (%rax,%rbp,4),%r14
  mov    $0x0,%ebp
  mov    %r12d,0x18(%rsp)
  jmp    L133
L291:
  lea    (%rax,%rax,4),%ecx
  mov    %r13d,%edx
  shl    %cl,%edx
  mov    %r12d,%esi
  mov    %r15,%rdi
  call   <qr_diran@plt>
  mov    %r15,%rdi
  call   <strlen@plt>
  cmp    $0x80,%eax
  jg     L136
  add    $0x2,%rbp
  cmp    %ebp,%ebx
  jle    L332
L133:
  movsbl (%r14,%rbp,4),%esi
  lea    D15(%rip),%rdi
  call   <posn@plt>
  mov    %eax,%r12d
  mov    %r13d,%eax
  cmp    %ebp,0xc(%rsp)
  jle    L291
  mov    0x10(%rsp),%rdi
  cmpb   $0x41,0x1(%rdi,%rbp,1)
  jne    L291
  movsbl 0x4(%r14,%rbp,4),%esi
  lea    D15(%rip),%rdi
  call   <posn@plt>
  imul   $0x2d,%r12d,%r12d
  add    %eax,%r12d
  mov    $0x2,%eax
  jmp    L291
L332:
  mov    0x18(%rsp),%r12d
  jmp    L260
L357:
  mov    0x18(%rsp),%rax
  movsbl 0x4(%rax),%esi
  lea    D44(%rip),%rdi
  call   <posn@plt>
  lea    (%r12,%r12,4),%edx
  lea    (%rax,%rdx,2),%r12d
  mov    $0x2,%eax
  jmp    L229
L281:
  lea    (%rax,%rax,2),%ecx
  mov    %r13d,%edx
  shl    %cl,%edx
  mov    %r12d,%esi
  mov    %r15,%rdi
  call   <qr_diran@plt>
  mov    %r15,%rdi
  call   <strlen@plt>
  cmp    $0x80,%eax
  jg     L166
  add    $0x3,%rbp
  add    $0xc,%r14
  cmp    %ebp,%ebx
  jle    L129
L54:
  mov    %r14,0x18(%rsp)
  movsbl (%r14),%esi
  lea    D44(%rip),%rdi
  call   <posn@plt>
  mov    %eax,%r12d
  mov    %r13d,%eax
  cmp    %ebp,0xc(%rsp)
  jle    L229
  mov    0x10(%rsp),%rcx
  cmpb   $0x4e,0x1(%rcx,%rbp,1)
  je     L357
L229:
  lea    0x2(%rbp),%edx
  cmp    %edx,%ebx
  jle    L281
  mov    0x10(%rsp),%rdi
  cmpb   $0x4e,0x2(%rdi,%rbp,1)
  jne    L281
  mov    0x18(%rsp),%rax
  movsbl 0x8(%rax),%esi
  lea    D44(%rip),%rdi
  call   <posn@plt>
  lea    (%r12,%r12,4),%edx
  lea    (%rax,%rdx,2),%r12d
  mov    $0x3,%eax
  jmp    L281
L129:
  mov    0x4c(%rsp),%r12d
  jmp    L260
L240:
  mov    $0x0,%eax
  jmp    L22
L337:
  mov    $0x5,%eax
  jmp    L22
L388:
  mov    $0x5,%eax
L22:
  mov    0x58(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L397
  add    $0x68,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L331:
  mov    $0x5,%eax
  jmp    L22
L136:
  mov    $0x5,%eax
  jmp    L22
L166:
  mov    $0x5,%eax
  jmp    L22
L397:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D25
data_type: string
name: extract_symbolic_data
arguments: data_label: D35
data_type: string
name: extract_symbolic_data
arguments: data_label: D83
data_type: string
name: extract_symbolic_data
arguments: data_label: D55
data_type: string
name: extract_symbolic_data
arguments: data_label: D12
data_type: string
name: extract_symbolic_data
arguments: data_label: D15
data_type: string
name: extract_symbolic_data
arguments: data_label: D44
data_type: string

tool: 

tool: D35: N

tool: D83: K

tool: D55: B

tool: D12: A

tool: D15: 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:

tool: D44: 0123456789

assistant: ```c
int micro_qr_intermediate(char binary[], int jisdata[], char mode[], int length, int *kanji_used, int *alphanum_used, int *byte_used) {
  int position = 0, debug = 0;
  int short_data_block_length, i;
  char data_block;
  char buffer[2];
  strcpy(binary, "");
  if (debug) {
    for (i = 0; i < length; i++) {
      printf("%c", mode[i]);
    }
    printf("\n");
  }
  do {
    if (strlen(binary) > 128) {
      return 5;
    }
    data_block = mode[position];
    short_data_block_length = 0;
    do {
      short_data_block_length++;
    } while (((short_data_block_length + position) < length) && (mode[position + short_data_block_length] == data_block));
    switch (data_block) {
    case 'K':
      strcat(binary, "K");
      *kanji_used = 1;
      buffer[0] = short_data_block_length;
      buffer[1] = '\0';
      strcat(binary, buffer);
      if (debug) {
        printf("Kanji block (length %d)\n\t", short_data_block_length);
      }
      for (i = 0; i < short_data_block_length; i++) {
        int jis = jisdata[position + i];
        int msb, lsb, prod;
        if (jis > 0x9fff) {
          jis -= 0xc140;
        }
        msb = (jis & 0xff00) >> 4;
        lsb = (jis & 0xff);
        prod = (msb * 0xc0) + lsb;
        qr_diran(binary, prod, 0x1000);
        if (debug) {
          printf("0x%4X ", prod);
        }
        if (strlen(binary) > 128) {
          return 5;
        }
      }
      if (debug) {
        printf("\n");
      }
      break;
    case 'B':
      strcat(binary, "B");
      *byte_used = 1;
      buffer[0] = short_data_block_length;
      buffer[1] = '\0';
      strcat(binary, buffer);
      if (debug) {
        printf("Byte block (length %d)\n\t", short_data_block_length);
      }
      for (i = 0; i < short_data_block_length; i++) {
        int byte = jisdata[position + i];
        qr_diran(binary, byte, 0x80);
        if (debug) {
          printf("0x%4X ", byte);
        }
        if (strlen(binary) > 128) {
          return 5;
        }
      }
      if (debug) {
        printf("\n");
      }
      break;
    case 'A':
      strcat(binary, "A");
      *alphanum_used = 1;
      buffer[0] = short_data_block_length;
      buffer[1] = '\0';
      strcat(binary, buffer);
      if (debug) {
        printf("Alpha block (length %d)\n\t", short_data_block_length);
      }
      i = 0;
      while (i < short_data_block_length) {
        int count;
        int first = 0, second = 0, prod;
        first = posn("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", (char)jisdata[position + i]);
        count = 1;
        prod = first;
        if (i + 1 < short_data_block_length && mode[position + i + 1] == 'A') {
          second = posn("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", (char)jisdata[position + i + 1]);
          count = 2;
          prod = (first * 45) + second;
        }
        qr_diran(binary, prod, 1 << (5 * count));
        if (debug) {
          printf("0x%4X ", prod);
        }
        if (strlen(binary) > 128) {
          return 5;
        }
        i += 2;
      };
      if (debug) {
        printf("\n");
      }
      break;
    case 'N':
      strcat(binary, "N");
      buffer[0] = short_data_block_length;
      buffer[1] = '\0';
      strcat(binary, buffer);
      if (debug) {
        printf("Number block (length %d)\n\t", short_data_block_length);
      }
      i = 0;
      while (i < short_data_block_length) {
        int count;
        int first = 0, second = 0, third = 0, prod;
        first = posn("0123456789", (char)jisdata[position + i]);
        count = 1;
        prod = first;
        if (i + 1 < short_data_block_length && mode[position + i + 1] == 'N') {
          second = posn("0123456789", (char)jisdata[position + i + 1]);
          count = 2;
          prod = (prod * 10) + second;
        }
        if (i + 2 < short_data_block_length && mode[position + i + 2] == 'N') {
          third = posn("0123456789", (char)jisdata[position + i + 2]);
          count = 3;
          prod = (prod * 10) + third;
        }
        qr_diran(binary, prod, 1 << (3 * count));
        if (debug) {
          printf("0x%4X (%d)", prod, prod);
        }
        if (strlen(binary) > 128) {
          return 5;
        }
        i += 3;
      };
      if (debug) {
        printf("\n");
      }
      break;
    }
    position += short_data_block_length;
  } while (position < length - 1);
  return 0;
}
```