user: 请从给定的汇编指令推导出C源代码：

```asm
<Rename_GET_RAW>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  movslq %esi,%r13
  push   %r12
  push   %rbp
  lea    D4(%rip),%rbp
  push   %rbx
  mov    %r13,%rbx
  imul   $0x66666667,%r13,%r13
  mov    %ebx,%eax
  mov    %ebx,%r15d
  sar    $0x1f,%eax
  sar    $0x22,%r13
  sub    $0x18,%rsp
  sub    %eax,%r13d
  mov    %rdi,0x8(%rsp)
  lea    0x0(%r13,%r13,4),%eax
  add    %eax,%eax
  sub    %eax,%r15d
  xor    %eax,%eax
  call   <getchar@plt>
  lea    -0x30(%rax),%edx
  cmp    $0x9,%edx
  ja     L160
  jmp    L187
  nopl   (%rax)
L153:
  xor    %eax,%eax
  call   <getchar@plt>
L160:
  cmp    $0xa,%eax
  jne    L153
  mov    %ebx,%esi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %eax,%eax
  call   <getchar@plt>
  lea    -0x30(%rax),%edx
  cmp    $0x9,%edx
  ja     L160
L187:
  lea    0x0(%r13,%r13,4),%r14d
  xor    %r12d,%r12d
  lea    D4(%rip),%rbp
  add    %r14d,%r14d
  nopl   0x0(%rax)
L156:
  cmp    %r12d,%r13d
  jg     L184
L121:
  jne    L0
  cmp    %edx,%r15d
  jl     L84
  xor    %eax,%eax
  lea    (%r14,%rdx,1),%r12d
  call   <getchar@plt>
L98:
  lea    -0x30(%rax),%edx
  cmp    $0x9,%edx
  ja     L118
  cmp    %r12d,%r13d
  jle    L121
L184:
  lea    (%r12,%r12,4),%eax
  lea    (%rdx,%rax,2),%r12d
  xor    %eax,%eax
  call   <getchar@plt>
  jmp    L98
  nopl   0x0(%rax)
L0:
  xor    %eax,%eax
  call   <getchar@plt>
  cmp    $0xa,%eax
  jne    L0
  nopl   0x0(%rax)
L132:
  mov    %ebx,%esi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %eax,%eax
  call   <getchar@plt>
  lea    -0x30(%rax),%edx
  cmp    $0x9,%edx
  jbe    L10
  nopw   0x0(%rax,%rax,1)
L83:
  cmp    $0xa,%eax
  je     L132
  xor    %eax,%eax
  call   <getchar@plt>
  jmp    L83
  xchg   %ax,%ax
L84:
  xor    %eax,%eax
  call   <getchar@plt>
  cmp    $0xa,%eax
  jne    L84
  nopl   0x0(%rax)
L123:
  mov    %ebx,%esi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %eax,%eax
  call   <getchar@plt>
  lea    -0x30(%rax),%edx
  cmp    $0x9,%edx
  jbe    L10
  nopl   0x0(%rax,%rax,1)
L44:
  cmp    $0xa,%eax
  je     L123
  xor    %eax,%eax
  call   <getchar@plt>
  jmp    L44
  xchg   %ax,%ax
L74:
  xor    %eax,%eax
  call   <getchar@plt>
L118:
  cmp    $0xa,%eax
  jne    L74
  mov    0x8(%rsp),%rax
  mov    %r12d,(%rax)
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L10:
  xor    %r12d,%r12d
  jmp    L156
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D4
data_type: string

tool: D4:     Not a token (0..%d) - Re-Input: 

assistant: ```c
void Rename_GET_RAW(r, d) int *r, d;
{
  register int c, m, k, l, n;
  {
    k = d / 10;
    l = d - 10 * (d / 10);
    c = getchar();
    n = 0;
    while ((c < '0') || (c > '9')) {
      while (c != '\n') {
        c = getchar();
      };
      printf("    Not a token (0..%d) - Re-Input: ", d);
      c = getchar();
    };
    while ((c >= '0') && (c <= '9')) {
      m = c - '0';
      if (n < k) {
        n = 10 * n + m;
        c = getchar();
      } else if (n == k) {
        if (m <= l) {
          n = 10 * n + m;
          c = getchar();
        } else {
          while (c != '\n') {
            c = getchar();
          };
          printf("    Not a token (0..%d) - Re-Input: ", d);
          c = getchar();
          n = 0;
          while ((c < '0') || (c > '9')) {
            while (c != '\n') {
              c = getchar();
            };
            printf("    Not a token (0..%d) - Re-Input: ", d);
            c = getchar();
          };
        };
      } else {
        while (c != '\n') {
          c = getchar();
        };
        printf("    Not a token (0..%d) - Re-Input: ", d);
        c = getchar();
        n = 0;
        while ((c < '0') || (c > '9')) {
          while (c != '\n') {
            c = getchar();
          };
          printf("    Not a token (0..%d) - Re-Input: ", d);
          c = getchar();
        };
      };
    };
    while (c != '\n') {
      c = getchar();
    };
    *r = n;
  };
}
```