user: What is the c source code of the assembly code below?

```asm
<main>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0xd000(%rsp),%r11
L47:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L47
  sub    $0x8c0,%rsp
  xor    %ecx,%ecx
  mov    $0x40,%edx
  mov    %fs:0x28,%rax
  mov    %rax,0xd8b8(%rsp)
  xor    %eax,%eax
  mov    $0xa140,%eax
  jmp    L43
  nopl   0x0(%rax)
L137:
  add    $0x1,%eax
  movzbl %al,%edx
  cmp    $0xf9ff,%eax
  je     L164
L43:
  cmp    $0xff,%edx
  je     L137
  cmp    $0x3f,%edx
  jle    L137
  sub    $0x7f,%edx
  cmp    $0x21,%edx
  jbe    L137
  cmp    $0xa3bf,%eax
  jg     L51
L18:
  movslq %ecx,%rdx
  add    $0x1,%ecx
  mov    %eax,(%rsp,%rdx,4)
  add    $0x1,%eax
  movzbl %al,%edx
  cmp    $0xf9ff,%eax
  jne    L43
L164:
  mov    $0x362b,%ebp
  xor    %ebx,%ebx
  lea    D9(%rip),%r12
  nopl   0x0(%rax)
L101:
  xor    %eax,%eax
  call   <random@plt>
  pxor   %xmm0,%xmm0
  movslq %eax,%rdx
  imul   $0xffffffffd9e2cbcb,%rdx,%rdx
  shr    $0x20,%rdx
  add    %eax,%edx
  sar    $0x1f,%eax
  sar    $0x11,%edx
  sub    %eax,%edx
  cvtsi2ss %edx,%xmm0
  cvttss2si %xmm0,%eax
  cmp    $0x362b,%eax
  jg     L101
  cltq
  mov    %r12,%rdi
  add    $0x1,%ebx
  mov    (%rsp,%rax,4),%esi
  xor    %eax,%eax
  movzbl %sil,%edx
  sar    $0x8,%esi
  call   <printf@plt>
  cmp    $0x27,%ebx
  je     L54
  sub    $0x1,%ebp
  jne    L101
L59:
  mov    0xd8b8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L69
  add    $0xd8c0,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
L51:
  lea    -0xa440(%rax),%edx
  cmp    $0x223e,%edx
  jbe    L18
  lea    -0xc6a1(%rax),%edx
  cmp    $0x232,%edx
  ja     L173
  movslq %ecx,%rdx
  add    $0x1,%ecx
  mov    %eax,(%rsp,%rdx,4)
  add    $0x1,%eax
  movzbl %al,%edx
  jmp    L43
L173:
  cmp    $0xc93f,%eax
  jg     L18
  jmp    L137
  nopw   0x0(%rax,%rax,1)
L54:
  mov    $0xa,%edi
  call   <putchar@plt>
  sub    $0x1,%ebp
  je     L59
  xor    %ebx,%ebx
  jmp    L101
L69:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: tag: D9
datatype: string

tool: D9: %c%c

assistant: ```c
main() {
  int b2_s[2], b2_end[2], code_start[4], code_end[4], out;
  int hanzi, j, hanzilsb;
  int count, column;
  float count1;
  int hanzi_code[13868];
  b2_s[0] = 0x40;
  b2_s[1] = 0xa1;
  b2_end[0] = 0x7e;
  b2_end[1] = 0xfe;
  code_start[0] = 0xa140;
  code_end[0] = 0xa3bf;
  code_start[1] = 0xa440;
  code_end[1] = 0xc67e;
  code_start[2] = 0xc6a1;
  code_end[2] = 0xc8d3;
  code_start[3] = 0xc940;
  code_end[3] = 0xf9fe;
  out = 1;
  count = 0;
  hanzi = code_start[0];
  hanzilsb = hanzi & 0xff;
  while ((hanzi != code_end[3] + 1)) {
    if (hanzilsb < b2_s[0])
      ;
    else if (hanzilsb > b2_end[1])
      ;
    else if ((hanzilsb > b2_end[0]) && (hanzilsb < b2_s[1]))
      ;
    else {
      for (j = 0; j < 4; j++) {
        if ((hanzi >= code_start[j]) && (hanzi <= code_end[j])) {
          hanzi_code[count] = hanzi;
          count++;
        }
      }
    }
    hanzi++;
    hanzilsb = hanzi & 0xff;
  }
  column = 0;
  for (j = 0; j < 13867; j++) {
  again:
    count1 = (random() / 0x25990);
    count = (int)count1;
    if (count > 13867)
      goto again;
    printf("%c%c", (hanzi_code[count] >> 8), (hanzi_code[count] & 0xff));
    column++;
    if (column == 39) {
      printf("\n");
      column = 0;
    }
  }
}
```