user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  lea    -0x48(%rbp),%rsi
  push   %r13
  push   %r12
  lea    D7(%rip),%r12
  push   %rbx
  mov    %r12,%rdi
  sub    $0x48,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  call   <scanf@plt>
  mov    -0x48(%rbp),%ebx
  test   %ebx,%ebx
  je     L17
  lea    -0x40(%rbp),%rax
  lea    D14(%rip),%r13
  mov    %rax,-0x68(%rbp)
  lea    -0x44(%rbp),%rax
  mov    %rax,-0x60(%rbp)
  nopl   0x0(%rax)
L10:
  mov    -0x68(%rbp),%rdx
  mov    -0x60(%rbp),%rsi
  xor    %eax,%eax
  mov    %rsp,-0x58(%rbp)
  lea    D3(%rip),%rdi
  call   <scanf@plt>
  movslq -0x44(%rbp),%rax
  mov    %rsp,%rsi
  mov    %rax,%rcx
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rsi
  and    $0xfffffffffffffff0,%rdx
  cmp    %rsi,%rsp
  je     L171
L24:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rsi,%rsp
  jne    L24
L171:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  je     L90
  orq    $0x0,-0x8(%rsp,%rdx,1)
L90:
  mov    %rsp,%r15
  test   %ecx,%ecx
  jle    L3
  sub    $0x1,%ecx
  lea    0x4(%r15),%rax
  lea    0x8(%r15,%rcx,4),%rcx
  nopl   0x0(%rax)
L114:
  movl   $0x1,(%rax)
  add    $0x4,%rax
  cmp    %rcx,%rax
  jne    L114
  mov    -0x40(%rbp),%edx
  test   %edx,%edx
  jle    L73
L91:
  mov    $0x1,%r14d
  lea    -0x3c(%rbp),%rbx
  nopl   0x0(%rax,%rax,1)
L144:
  mov    %rbx,%rsi
  mov    %r12,%rdi
  xor    %eax,%eax
  add    $0x1,%r14d
  call   <scanf@plt>
  movslq -0x3c(%rbp),%rax
  movl   $0x0,(%r15,%rax,4)
  cmp    %r14d,-0x40(%rbp)
  jge    L144
  mov    -0x44(%rbp),%r11d
  test   %r11d,%r11d
  jle    L140
L73:
  mov    $0x1,%ebx
  jmp    L223
  nopl   0x0(%rax,%rax,1)
L207:
  add    $0x1,%ebx
  cmp    %ebx,-0x44(%rbp)
  jl     L140
L223:
  movslq %ebx,%r14
  mov    (%r15,%r14,4),%r10d
  test   %r10d,%r10d
  je     L207
  mov    %ebx,%esi
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x1,%ebx
  call   <printf@plt>
  movl   $0x0,(%r15,%r14,4)
  movslq %ebx,%rax
  cs nopw 0x0(%rax,%rax,1)
L50:
  mov    %eax,%ebx
  add    $0x1,%rax
  mov    -0x4(%r15,%rax,4),%r9d
  test   %r9d,%r9d
  je     L50
  add    $0x1,%ebx
  cmp    %ebx,-0x44(%rbp)
  jge    L223
  nopl   0x0(%rax,%rax,1)
L140:
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    -0x44(%rbp),%r8d
  test   %r8d,%r8d
  jle    L67
  mov    $0x1,%ebx
  jmp    L136
  nopw   0x0(%rax,%rax,1)
L101:
  add    $0x1,%rbx
  cmp    %ebx,-0x44(%rbp)
  jl     L67
L136:
  mov    (%r15,%rbx,4),%edi
  mov    %ebx,%esi
  test   %edi,%edi
  je     L101
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x1,%rbx
  call   <printf@plt>
  cmp    %ebx,-0x44(%rbp)
  jge    L136
L67:
  mov    $0xa,%edi
  subl   $0x1,-0x48(%rbp)
  call   <putchar@plt>
  mov    -0x48(%rbp),%ecx
  mov    -0x58(%rbp),%rsp
  test   %ecx,%ecx
  jne    L10
L17:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L204
  lea    -0x28(%rbp),%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L3:
  mov    -0x40(%rbp),%eax
  test   %eax,%eax
  jg     L91
  jmp    L140
L204:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: tag: D7
type_infered: string
name: retrieve_data
arguments: tag: D14
type_infered: string
name: retrieve_data
arguments: tag: D3
type_infered: string

tool: D7: %d

tool: D14: %d 

tool: D3: %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;
}
```