user: 下面的汇编指令对应的C源代码是什么:

```asm
<get_stdin>:
  endbr64
  push   %r15
  mov    $0x2,%edx
  xor    %esi,%esi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x138,%rsp
  mov    %rdi,0x8(%rsp)
  lea    0x1e(%rsp),%rbx
  lea    0x20(%rsp),%r13
  mov    %rbx,%rdi
  lea    0xa0(%rsp),%r12
  lea    0x1f(%rsp),%rbp
  mov    %fs:0x28,%rax
  mov    %rax,0x128(%rsp)
  xor    %eax,%eax
  call   <memset@plt>
  mov    $0x80,%esi
  mov    $0x1,%edi
  call   <calloc@plt>
  mov    $0x80,%esi
  mov    $0x1,%edi
  mov    %rax,%r14
  call   <calloc@plt>
  mov    $0x80,%edx
  xor    %esi,%esi
  mov    %r13,%rdi
  mov    %rax,(%rsp)
  call   <memset@plt>
  mov    $0x80,%edx
  xor    %esi,%esi
  mov    %r12,%rdi
  call   <memset@plt>
L149:
  cmpb   $0x0,0x20(%rsp)
  jne    L35
L180:
  mov    $0x80,%edx
  xor    %esi,%esi
  mov    %r13,%rdi
  mov    $0x1,%r15d
  call   <memset@plt>
  jmp    L132
  nopl   0x0(%rax,%rax,1)
L7:
  test   %eax,%eax
  jle    L234
  movzbl 0x1e(%rsp),%edx
L248:
  cmp    $0x7f,%r15d
  setne  %sil
  cmp    $0xa,%dl
  setne  %dl
  add    $0x1,%r15
  test   %dl,%sil
  je     L86
L132:
  xor    %edi,%edi
  mov    $0x1,%edx
  mov    %rbx,%rsi
  call   <read@plt>
  cmp    $0x1,%eax
  jne    L7
  movzbl 0x1e(%rsp),%edx
  mov    %dl,0x0(%rbp,%r15,1)
  jmp    L248
  nopl   0x0(%rax)
L86:
  test   %eax,%eax
  je     L285
  cmpb   $0xa,0x1e(%rsp)
  je     L43
  cmp    $0x1,%eax
  je     L67
  jmp    L43
  nopl   (%rax)
L161:
  cmp    $0x1,%eax
  jne    L218
L67:
  xor    %edi,%edi
  mov    $0x1,%edx
  mov    %rbx,%rsi
  call   <read@plt>
  cmpb   $0xa,0x1e(%rsp)
  jne    L161
L218:
  test   %eax,%eax
  js     L184
  je     L285
  cmpb   $0x0,0x20(%rsp)
  je     L180
L35:
  mov    %r12,%rsi
  mov    %r13,%rdi
  xor    %ebx,%ebx
  call   <cleanline@plt>
  mov    %eax,%r15d
  test   %eax,%eax
  jg     L282
  jmp    L29
  nopl   (%rax)
L46:
  movzbl (%r12,%rbx,1),%ecx
  cmp    $0x20,%cl
  je     L81
  mov    %cl,(%r14,%rbx,1)
  add    $0x1,%rbx
L282:
  mov    %r12,%rdi
  call   <strlen@plt>
  lea    0x1(%rbx),%edx
  cmp    %ebx,%eax
  jg     L46
L81:
  mov    (%rsp),%rcx
  movslq %edx,%r13
  lea    0x9f(%rsp),%rbp
  lea    -0x1(%rcx),%rbx
  sub    %r13,%rbx
  jmp    L109
  nopl   0x0(%rax)
L284:
  add    $0x1,%r13
  movzbl 0x0(%rbp,%r13,1),%eax
  cmp    $0x20,%al
  je     L64
  mov    %al,(%rbx,%r13,1)
  mov    %r12,%rdi
  call   <strlen@plt>
L109:
  cmp    %r13d,%eax
  jg     L284
L64:
  mov    0x8(%rsp),%rbx
  mov    $0x80,%edx
  mov    %r14,%rsi
  mov    (%rbx),%rdi
  call   <strlcpy@plt>
  mov    0x8(%rbx),%rdi
  mov    (%rsp),%rbx
  mov    $0x80,%edx
  mov    %rbx,%rsi
  call   <strlcpy@plt>
  mov    %r14,%rdi
  call   <free@plt>
  mov    %rbx,%rdi
  call   <free@plt>
L13:
  mov    0x128(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L224
  add    $0x138,%rsp
  mov    %r15d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L234:
  jne    L184
L285:
  cmpb   $0x0,0x20(%rsp)
  jne    L35
  mov    %r14,%rdi
  mov    $0xfffffffe,%r15d
  call   <free@plt>
  mov    (%rsp),%rdi
  call   <free@plt>
  jmp    L13
L43:
  test   %eax,%eax
  jns    L149
L184:
  mov    %r14,%rdi
  mov    $0xffffffff,%r15d
  call   <free@plt>
  mov    (%rsp),%rdi
  call   <free@plt>
  jmp    L13
L29:
  mov    %r14,%rdi
  call   <free@plt>
  mov    (%rsp),%rdi
  call   <free@plt>
  jmp    L13
L224:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int get_stdin(char *args[]) {
  char buf[2], sbuf[128], dbuf[128], *arg1, *arg2;
  int x, y, z, argmax;
  memset(buf, 0, sizeof(buf));
  argmax = 128 - 1;
  arg1 = (char *)calloc(1, 128);
  arg2 = (char *)calloc(1, 128);
  memset(sbuf, 0, sizeof(sbuf));
  memset(dbuf, 0, sizeof(dbuf));
  while (!sbuf[0]) {
    x = 0;
    y = 0;
    memset(sbuf, 0, sizeof(sbuf));
    do {
      x = read(0, buf, 1);
      if (x == 1)
        sbuf[y] = buf[0];
      y++;
    } while (x > 0 && buf[0] != '\n' && y < ((int)sizeof(sbuf) - 1));
    if (x < 0) {
      free(arg1);
      free(arg2);
      return -1;
    }
    if (!x)
      break;
    while (buf[0] != '\n' && x == 1)
      x = read(0, buf, 1);
    if (x < 0) {
      free(arg1);
      free(arg2);
      return -1;
    }
    if (!x)
      break;
  };
  if (!sbuf[0]) {
    free(arg1);
    free(arg2);
    return -2;
  }
  x = cleanline(sbuf, dbuf);
  if (x < 1) {
    free(arg1);
    free(arg2);
    return x;
  }
  y = 0;
  while (y < (int)strlen(dbuf) && y < argmax && dbuf[y] != ' ') {
    arg1[y] = dbuf[y];
    y++;
  }
  y++;
  z = 0;
  while (y < (int)strlen(dbuf) && z < argmax && dbuf[y] != ' ') {
    arg2[z] = dbuf[y];
    y++;
    z++;
  }
  strlcpy(args[0], arg1, 128);
  strlcpy(args[1], arg2, 128);
  free(arg1);
  free(arg2);
  return x;
}
```