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

```asm
<microqr_expand_binary>:
  endbr64
  push   %r15
  xor    %r15d,%r15d
  push   %r14
  lea    D126(%rip),%r14
  push   %r13
  mov    %rdi,%r13
  push   %r12
  mov    %rsi,%r12
  push   %rbp
  mov    %edx,%ebp
  push   %rbx
  xor    %ebx,%ebx
  sub    $0x18,%rsp
  call   <strlen@plt>
  mov    %rax,0x8(%rsp)
L126:
  movzbl 0x0(%r13,%r15,1),%eax
  sub    $0x30,%eax
  cmp    $0x1e,%al
  ja     L191
  movzbl %al,%eax
  movslq (%r14,%rax,4),%rax
  add    %r14,%rax
  notrack jmp *%rax
  nopw   0x0(%rax,%rax,1)
  cmp    $0x2,%ebp
  je     L168
  cmp    $0x3,%ebp
  je     L188
  cmp    $0x1,%ebp
  je     L173
L100:
  lea    0x3(%rbp),%esi
L1:
  movsbl 0x1(%r13,%r15,1),%edi
  mov    %r12,%rdx
  add    $0x2,%ebx
  movslq %ebx,%r15
  call   <bin_append@plt>
L191:
  cmp    %r15,0x8(%rsp)
  ja     L126
L248:
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
  cmp    $0x2,%ebp
  je     L210
  cmp    $0x3,%ebp
  jne    L95
  lea    D32(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
L95:
  lea    0x1(%rbp),%esi
  jmp    L1
  nopw   0x0(%rax,%rax,1)
  cmp    $0x2,%ebp
  je     L11
  cmp    $0x3,%ebp
  jne    L145
  lea    D116(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  nopl   (%rax)
L145:
  lea    0x2(%rbp),%esi
  jmp    L1
  nopl   (%rax)
  cmp    $0x2,%ebp
  je     L174
  cmp    $0x3,%ebp
  je     L92
  cmp    $0x1,%ebp
  jne    L145
  lea    D26(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L145
  nopl   0x0(%rax,%rax,1)
  lea    D26(%rip),%rsi
  mov    %r12,%rdi
  add    $0x1,%ebx
  call   <strcat@plt>
  movslq %ebx,%r15
  cmp    %r15,0x8(%rsp)
  ja     L126
  jmp    L248
  nopl   (%rax)
  lea    D78(%rip),%rsi
  mov    %r12,%rdi
  add    $0x1,%ebx
  call   <strcat@plt>
  movslq %ebx,%r15
  cmp    %r15,0x8(%rsp)
  ja     L126
  jmp    L248
  nopl   (%rax)
L11:
  lea    D22(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L145
  nopl   0x0(%rax)
L210:
  lea    D19(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L95
  nopl   0x0(%rax)
L173:
  lea    D78(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L100
  nopl   0x0(%rax)
L92:
  lea    D95(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L145
  nopl   0x0(%rax)
L174:
  lea    D43(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L145
  nopl   0x0(%rax)
L188:
  lea    D70(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L100
  nopl   0x0(%rax)
L168:
  lea    D51(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L100
```

tool_calls: name: disassemble_data
arguments: data_label: D32
type_infered: string
name: disassemble_data
arguments: data_label: D116
type_infered: string
name: disassemble_data
arguments: data_label: D26
type_infered: string
name: disassemble_data
arguments: data_label: D78
type_infered: string
name: disassemble_data
arguments: data_label: D22
type_infered: string
name: disassemble_data
arguments: data_label: D19
type_infered: string
name: disassemble_data
arguments: data_label: D95
type_infered: string
name: disassemble_data
arguments: data_label: D43
type_infered: string
name: disassemble_data
arguments: data_label: D70
type_infered: string
name: disassemble_data
arguments: data_label: D51
type_infered: string

tool: D32: 011

tool: D116: 010

tool: D26: 1

tool: D78: 0

tool: D22: 10

tool: D19: 11

tool: D95: 001

tool: D43: 01

tool: D70: 000

tool: D51: 00

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