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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  lea    -0x48(%rbp),%rsi
  lea    D21(%rip),%rdi
  call   <scanf@plt>
  cmpl   $0x0,-0x48(%rbp)
  je     L173
  lea    D8(%rip),%r14
  lea    D21(%rip),%r13
  jmp    L120
L100:
  mov    %rsi,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L193
  orq    $0x0,-0x8(%rsp,%rax,1)
L193:
  mov    %rsp,%r12
  test   %edx,%edx
  jle    L36
  lea    0x4(%r12),%rax
  lea    -0x1(%rdx),%edx
  lea    0x8(%r12,%rdx,4),%rdx
L19:
  movl   $0x1,(%rax)
  add    $0x4,%rax
  cmp    %rdx,%rax
  jne    L19
  cmpl   $0x0,-0x40(%rbp)
  jle    L76
L222:
  mov    $0x1,%ebx
L85:
  lea    -0x3c(%rbp),%rsi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movslq -0x3c(%rbp),%rax
  movl   $0x0,(%r12,%rax,4)
  add    $0x1,%ebx
  cmp    %ebx,-0x40(%rbp)
  jge    L85
  cmpl   $0x0,-0x44(%rbp)
  jle    L124
L76:
  mov    $0x1,%ebx
  jmp    L78
L181:
  add    $0x1,%ebx
  cmp    %ebx,-0x44(%rbp)
  jl     L124
L78:
  movslq %ebx,%rax
  cmpl   $0x0,(%r12,%rax,4)
  je     L181
  mov    %ebx,%esi
  mov    %r14,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movslq %ebx,%rax
  movl   $0x0,(%r12,%rax,4)
  lea    0x1(%rbx),%eax
  cltq
L97:
  mov    %eax,%ebx
  add    $0x1,%rax
  cmpl   $0x0,-0x4(%r12,%rax,4)
  je     L97
  jmp    L181
L229:
  add    $0x1,%rbx
  cmp    %ebx,-0x44(%rbp)
  jl     L134
L146:
  mov    %ebx,%esi
  cmpl   $0x0,(%r12,%rbx,4)
  je     L229
  mov    %r14,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L229
L134:
  subl   $0x1,-0x48(%rbp)
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    %r15,%rsp
  cmpl   $0x0,-0x48(%rbp)
  je     L173
L120:
  mov    %rsp,%r15
  lea    -0x40(%rbp),%rdx
  lea    -0x44(%rbp),%rsi
  lea    D12(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x44(%rbp),%edx
  movslq %edx,%rax
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rsi
  and    $0xfffffffffffffff0,%rsi
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rcx
  sub    %rax,%rcx
L98:
  cmp    %rcx,%rsp
  je     L100
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L98
L173:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L82
  mov    $0x0,%eax
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L36:
  cmpl   $0x0,-0x40(%rbp)
  jg     L222
L124:
  mov    $0xa,%edi
  call   <putchar@plt>
  cmpl   $0x0,-0x44(%rbp)
  jle    L134
  mov    $0x1,%ebx
  jmp    L146
L82:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_tag: D21
type: string
name: read_data
arguments: data_tag: D8
type: string
name: read_data
arguments: data_tag: D12
type: string

tool: D21: %d

tool: D8: %d 

tool: D12: %d%d

assistant: ```c
int main() {
  int t;
  scanf("%d", &t);
  while (t != 0) {
    int i;
    int n, m;
    scanf("%d%d", &n, &m);
    int a[n];
    for (i = 1; i <= n; ++i)
      a[i] = 1;
    for (i = 1; i <= m; ++i) {
      int o;
      scanf("%d", &o);
      a[o] = 0;
    }
    for (i = 1; i <= n; ++i) {
      if (a[i] != 0) {
        printf("%d ", i);
        a[i] = 0;
        while (a[i] == 0)
          i++;
      }
    }
    printf("\n");
    for (i = 1; i <= n; ++i) {
      if (a[i] != 0) {
        printf("%d ", i);
      }
    }
    t--;
    printf("\n");
  }
  return 0;
}
```