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

```asm
<microqr_expand_binary>:
  endbr64
  push   %r15
  mov    $0x4,%r15d
  push   %r14
  mov    %rdi,%r14
  push   %r13
  lea    D99(%rip),%r13
  push   %r12
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  mov    %edx,%ebx
  sub    $0x28,%rsp
  call   <strlen@plt>
  mov    %ebx,%ecx
  mov    %eax,%r12d
  mov    $0x1,%eax
  shl    %cl,%r15d
  shl    %cl,%eax
  mov    %r15d,0x10(%rsp)
  xor    %r15d,%r15d
  mov    %eax,0x14(%rsp)
  mov    $0x2,%eax
  shl    %cl,%eax
  mov    %eax,0xc(%rsp)
  nopw   0x0(%rax,%rax,1)
L284:
  movslq %r15d,%rdx
  movzbl (%r14,%rdx,1),%eax
  sub    $0x30,%eax
  cmp    $0x1e,%al
  ja     L161
  movzbl %al,%eax
  movslq 0x0(%r13,%rax,4),%rax
  add    %r13,%rax
  notrack jmp *%rax
  nopl   (%rax)
  cmp    $0x2,%ebx
  je     L7
  cmp    $0x3,%ebx
  je     L45
  cmp    $0x1,%ebx
  je     L165
L179:
  movsbl 0x1(%r14,%rdx,1),%esi
  mov    0xc(%rsp),%edx
  mov    %rbp,%rdi
  add    $0x2,%r15d
  call   <qr_diran@plt>
L161:
  cmp    %r12d,%r15d
  jl     L284
L275:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
  cmp    $0x2,%ebx
  je     L245
  cmp    $0x3,%ebx
  je     L29
  cmp    $0x1,%ebx
  je     L235
L76:
  movsbl 0x1(%r14,%rdx,1),%esi
  mov    0x10(%rsp),%edx
  mov    %rbp,%rdi
  add    $0x2,%r15d
  call   <qr_diran@plt>
  cmp    %r12d,%r15d
  jl     L284
  jmp    L275
  nopl   0x0(%rax)
  cmp    $0x2,%ebx
  je     L42
  cmp    $0x3,%ebx
  jne    L254
  lea    D49(%rip),%rsi
  mov    %rbp,%rdi
  mov    %rdx,0x18(%rsp)
  call   <concat@plt>
  mov    0x18(%rsp),%rdx
L254:
  movsbl 0x1(%r14,%rdx,1),%esi
  mov    0x14(%rsp),%edx
  mov    %rbp,%rdi
  add    $0x2,%r15d
  call   <qr_diran@plt>
  cmp    %r12d,%r15d
  jl     L284
  jmp    L275
  nopl   0x0(%rax,%rax,1)
  cmp    $0x2,%ebx
  je     L82
  cmp    $0x3,%ebx
  jne    L179
  lea    D71(%rip),%rsi
  mov    %rbp,%rdi
  mov    %rdx,0x18(%rsp)
  call   <concat@plt>
  mov    0x18(%rsp),%rdx
  jmp    L179
  lea    D30(%rip),%rsi
  mov    %rbp,%rdi
  add    $0x1,%r15d
  call   <concat@plt>
  cmp    %r12d,%r15d
  jl     L284
  jmp    L275
  nopl   0x0(%rax)
  lea    D63(%rip),%rsi
  mov    %rbp,%rdi
  add    $0x1,%r15d
  call   <concat@plt>
  cmp    %r12d,%r15d
  jl     L284
  jmp    L275
  nopl   0x0(%rax)
L165:
  lea    D30(%rip),%rsi
  mov    %rbp,%rdi
  mov    %rdx,0x18(%rsp)
  call   <concat@plt>
  mov    0x18(%rsp),%rdx
  jmp    L179
  xchg   %ax,%ax
L82:
  lea    D86(%rip),%rsi
  mov    %rbp,%rdi
  mov    %rdx,0x18(%rsp)
  call   <concat@plt>
  mov    0x18(%rsp),%rdx
  jmp    L179
  xchg   %ax,%ax
L42:
  lea    D11(%rip),%rsi
  mov    %rbp,%rdi
  mov    %rdx,0x18(%rsp)
  call   <concat@plt>
  mov    0x18(%rsp),%rdx
  jmp    L254
  xchg   %ax,%ax
L235:
  lea    D63(%rip),%rsi
  mov    %rbp,%rdi
  mov    %rdx,0x18(%rsp)
  call   <concat@plt>
  mov    0x18(%rsp),%rdx
  jmp    L76
  xchg   %ax,%ax
L45:
  lea    D8(%rip),%rsi
  mov    %rbp,%rdi
  mov    %rdx,0x18(%rsp)
  call   <concat@plt>
  mov    0x18(%rsp),%rdx
  jmp    L179
  xchg   %ax,%ax
L7:
  lea    D53(%rip),%rsi
  mov    %rbp,%rdi
  mov    %rdx,0x18(%rsp)
  call   <concat@plt>
  mov    0x18(%rsp),%rdx
  jmp    L179
  xchg   %ax,%ax
L29:
  lea    D121(%rip),%rsi
  mov    %rbp,%rdi
  mov    %rdx,0x18(%rsp)
  call   <concat@plt>
  mov    0x18(%rsp),%rdx
  jmp    L76
  xchg   %ax,%ax
L245:
  lea    D32(%rip),%rsi
  mov    %rbp,%rdi
  mov    %rdx,0x18(%rsp)
  call   <concat@plt>
  mov    0x18(%rsp),%rdx
  jmp    L76
```

tool_calls: name: unpack_data
arguments: data_label: D49
datatype: string
name: unpack_data
arguments: data_label: D71
datatype: string
name: unpack_data
arguments: data_label: D30
datatype: string
name: unpack_data
arguments: data_label: D63
datatype: string
name: unpack_data
arguments: data_label: D86
datatype: string
name: unpack_data
arguments: data_label: D11
datatype: string
name: unpack_data
arguments: data_label: D8
datatype: string
name: unpack_data
arguments: data_label: D53
datatype: string
name: unpack_data
arguments: data_label: D121
datatype: string
name: unpack_data
arguments: data_label: D32
datatype: string

tool: D49: 011

tool: D71: 010

tool: D30: 1

tool: D63: 0

tool: D86: 10

tool: D11: 11

tool: D8: 001

tool: D53: 01

tool: D121: 000

tool: D32: 00

assistant: ```c
void microqr_expand_binary(char binary_stream[], char full_stream[], int version) {
  int i, length;
  length = strlen(binary_stream);
  i = 0;
  do {
    switch (binary_stream[i]) {
    case '1':
      concat(full_stream, "1");
      i++;
      break;
    case '0':
      concat(full_stream, "0");
      i++;
      break;
    case 'N':
      switch (version) {
      case 1:
        concat(full_stream, "0");
        break;
      case 2:
        concat(full_stream, "00");
        break;
      case 3:
        concat(full_stream, "000");
        break;
      }
      qr_diran(full_stream, binary_stream[i + 1], 4 << version);
      i += 2;
      break;
    case 'A':
      switch (version) {
      case 1:
        concat(full_stream, "1");
        break;
      case 2:
        concat(full_stream, "01");
        break;
      case 3:
        concat(full_stream, "001");
        break;
      }
      qr_diran(full_stream, binary_stream[i + 1], 2 << version);
      i += 2;
      break;
    case 'B':
      switch (version) {
      case 2:
        concat(full_stream, "10");
        break;
      case 3:
        concat(full_stream, "010");
        break;
      }
      qr_diran(full_stream, binary_stream[i + 1], 2 << version);
      i += 2;
      break;
    case 'K':
      switch (version) {
      case 2:
        concat(full_stream, "11");
        break;
      case 3:
        concat(full_stream, "011");
        break;
      }
      qr_diran(full_stream, binary_stream[i + 1], 1 << version);
      i += 2;
      break;
    }
  } while (i < length);
}
```