user: 这段汇编代码用C语言表示是什么样的?

```asm
<micro_qr_m2>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,%rbp
  mov    %esi,%r13d
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  cmp    $0x2,%esi
  setne  %r14b
  movzbl %r14b,%r14d
  lea    0x20(,%r14,8),%r14d
  call   <strlen@plt>
  mov    %r14d,%r12d
  sub    %eax,%r12d
  cmp    $0x5,%r12d
  jg     L28
  test   %r12d,%r12d
  jle    L83
  mov    $0x0,%ebx
  lea    D41(%rip),%r14
L51:
  mov    %r14,%rsi
  mov    %rbp,%rdi
  call   <concat@plt>
  add    $0x1,%ebx
  cmp    %ebx,%r12d
  jne    L51
L83:
  cmp    $0x2,%r13d
  sete   %r12b
  movzbl %r12b,%r12d
  add    $0x5,%r12d
  cmp    $0x2,%r13d
  setne  %bl
  movzbl %bl,%ebx
  add    $0x4,%ebx
  lea    0xb(%rsp),%rsi
  mov    %rbp,%rcx
  lea    -0x1(%rbx),%eax
  lea    0x8(%rbp,%rax,8),%r9
  mov    $0xffffff80,%r8d
  jmp    L213
L28:
  lea    D8(%rip),%rsi
  mov    %rbp,%rdi
  call   <concat@plt>
  mov    %rbp,%rdi
  call   <strlen@plt>
  cltd
  shr    $0x1d,%edx
  add    %edx,%eax
  and    $0x7,%eax
  sub    %eax,%edx
  lea    0x8(%rdx),%r12d
  je     L241
  mov    $0x0,%ebx
  lea    D41(%rip),%r15
L113:
  mov    %r15,%rsi
  mov    %rbp,%rdi
  call   <concat@plt>
  add    $0x1,%ebx
  cmp    %ebx,%r12d
  jne    L113
L241:
  mov    %rbp,%rdi
  call   <strlen@plt>
  sub    %eax,%r14d
  lea    0x7(%r14),%r12d
  cmovns %r14d,%r12d
  sar    $0x3,%r12d
  cmp    $0x7,%r14d
  jle    L83
  mov    $0x0,%ebx
  lea    D43(%rip),%r15
  lea    D7(%rip),%r14
L14:
  test   $0x1,%bl
  mov    %r14,%rsi
  cmovne %r15,%rsi
  mov    %rbp,%rdi
  call   <concat@plt>
  add    $0x1,%ebx
  cmp    %ebx,%r12d
  jg     L14
  jmp    L83
L209:
  addb   $0x40,(%rdx)
  jmp    L221
L186:
  addb   $0x20,(%rdx)
  jmp    L230
L117:
  addb   $0x10,(%rdx)
  jmp    L47
L121:
  addb   $0x8,(%rdx)
  jmp    L204
L180:
  addb   $0x4,(%rdx)
  jmp    L177
L114:
  addb   $0x2,(%rdx)
  jmp    L172
L32:
  add    $0x1,%rsi
  add    $0x8,%rcx
  cmp    %r9,%rcx
  je     L130
L213:
  mov    %rsi,%rdx
  movb   $0x0,(%rsi)
  mov    %rcx,%rax
  mov    %r8d,%edi
  cmpb   $0x31,(%rcx)
  je     L124
  mov    $0x0,%edi
L124:
  mov    %dil,(%rdx)
  cmpb   $0x31,0x1(%rax)
  je     L209
L221:
  cmpb   $0x31,0x2(%rax)
  je     L186
L230:
  cmpb   $0x31,0x3(%rax)
  je     L117
L47:
  cmpb   $0x31,0x4(%rax)
  je     L121
L204:
  cmpb   $0x31,0x5(%rax)
  je     L180
L177:
  cmpb   $0x31,0x6(%rax)
  je     L114
L172:
  cmpb   $0x31,0x7(%rax)
  jne    L32
  addb   $0x1,(%rdx)
  jmp    L32
L130:
  mov    $0x11d,%edi
  call   <rs_init_gf@plt>
  mov    $0x0,%esi
  mov    %r12d,%edi
  call   <rs_init_code@plt>
  lea    0x11(%rsp),%r13
  lea    0xb(%rsp),%rsi
  mov    %r13,%rdx
  mov    %ebx,%edi
  call   <rs_encode@plt>
  mov    $0x0,%eax
  call   <rs_free@plt>
  movslq %r12d,%rax
  lea    -0x1(%r13,%rax,1),%rbx
  lea    0xf(%rsp,%rax,1),%rax
  lea    -0x1(%r12),%edx
  sub    %rdx,%rax
  mov    %rax,%r12
L64:
  movzbl (%rbx),%esi
  mov    $0x80,%edx
  mov    %rbp,%rdi
  call   <qr_diran@plt>
  sub    $0x1,%rbx
  cmp    %r12,%rbx
  jne    L64
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L93
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L93:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: tag: D41
data_type: string
name: disassemble_data
arguments: tag: D8
data_type: string
name: disassemble_data
arguments: tag: D43
data_type: string
name: disassemble_data
arguments: tag: D7
data_type: string

tool: D41: 0

tool: D8: 00000

tool: D43: 00010001

tool: D7: 11101100

assistant: ```c
void micro_qr_m2(char binary_data[], int ecc_mode) {
  int i, latch;
  int bits_total, bits_left, remainder;
  int data_codewords, ecc_codewords;
  unsigned char data_blocks[6], ecc_blocks[7];
  latch = 0;
  if (ecc_mode == 1) {
    bits_total = 40;
  }
  if (ecc_mode == 2) {
    bits_total = 32;
  }
  bits_left = bits_total - strlen(binary_data);
  if (bits_left <= 5) {
    for (i = 0; i < bits_left; i++) {
      concat(binary_data, "0");
    }
    latch = 1;
  } else {
    concat(binary_data, "00000");
  }
  if (latch == 0) {
    remainder = 8 - (strlen(binary_data) % 8);
    if (remainder == 8) {
      remainder = 0;
    }
    for (i = 0; i < remainder; i++) {
      concat(binary_data, "0");
    }
    bits_left = bits_total - strlen(binary_data);
    remainder = bits_left / 8;
    for (i = 0; i < remainder; i++) {
      concat(binary_data, i & 1 ? "00010001" : "11101100");
    }
  }
  if (ecc_mode == 1) {
    data_codewords = 5;
    ecc_codewords = 5;
  }
  if (ecc_mode == 2) {
    data_codewords = 4;
    ecc_codewords = 6;
  }
  for (i = 0; i < data_codewords; i++) {
    data_blocks[i] = 0;
    if (binary_data[i * 8] == '1') {
      data_blocks[i] += 0x80;
    }
    if (binary_data[(i * 8) + 1] == '1') {
      data_blocks[i] += 0x40;
    }
    if (binary_data[(i * 8) + 2] == '1') {
      data_blocks[i] += 0x20;
    }
    if (binary_data[(i * 8) + 3] == '1') {
      data_blocks[i] += 0x10;
    }
    if (binary_data[(i * 8) + 4] == '1') {
      data_blocks[i] += 0x08;
    }
    if (binary_data[(i * 8) + 5] == '1') {
      data_blocks[i] += 0x04;
    }
    if (binary_data[(i * 8) + 6] == '1') {
      data_blocks[i] += 0x02;
    }
    if (binary_data[(i * 8) + 7] == '1') {
      data_blocks[i] += 0x01;
    }
  }
  rs_init_gf(0x11d);
  rs_init_code(ecc_codewords, 0);
  rs_encode(data_codewords, data_blocks, ecc_blocks);
  rs_free();
  for (i = 0; i < ecc_codewords; i++) {
    qr_diran(binary_data, ecc_blocks[ecc_codewords - i - 1], 0x80);
  }
  return;
}
```