user: Converte this assembly snippet into its equivalent C code:

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0xa000(%rsp),%r11
L45:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L45
  sub    $0x128,%rsp
  lea    D21(%rip),%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0xa118(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%rax
  lea    0x1c(%rsp),%r12
  mov    %rax,0x8(%rsp)
  nopw   0x0(%rax,%rax,1)
L132:
  mov    0x8(%rsp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  mov    0x10(%rsp),%eax
  test   %eax,%eax
  je     L212
  jle    L97
  lea    -0x1(%rax),%edx
  lea    0x348(%rsp),%rcx
  imul   $0x194,%rdx,%rdx
  lea    0x0(,%rax,4),%rbp
  lea    0x4dc(%rsp,%rdx,1),%r13
  nopl   0x0(%rax)
L182:
  mov    %rcx,%rdi
  mov    %rbp,%rdx
  xor    %esi,%esi
  call   <memset@plt>
  mov    %rax,%rcx
  add    $0x194,%rcx
  cmp    %r13,%rcx
  jne    L182
  mov    $0x1,%r13d
  lea    0x14(%rsp),%r14
  nop
L5:
  mov    %r14,%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  mov    0x14(%rsp),%eax
  test   %eax,%eax
  jle    L217
  movslq %r13d,%rax
  xor    %r15d,%r15d
  lea    (%rax,%rax,4),%rcx
  lea    (%rcx,%rcx,4),%rcx
  lea    (%rax,%rcx,4),%rbp
  nopl   (%rax)
L143:
  mov    %r12,%rsi
  mov    %rbx,%rdi
  add    $0x1,%r15d
  call   <scanf@plt>
  movslq 0x1c(%rsp),%rax
  add    %rbp,%rax
  movl   $0x1,0x1b0(%rsp,%rax,4)
  cmp    %r15d,0x14(%rsp)
  jg     L143
L217:
  add    $0x1,%r13d
  cmp    %r13d,0x10(%rsp)
  jge    L5
L97:
  lea    0x18(%rsp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  mov    0x18(%rsp),%r9d
  test   %r9d,%r9d
  jle    L109
  lea    0x20(%rsp),%r13
  xor    %ebp,%ebp
  nopw   0x0(%rax,%rax,1)
L229:
  mov    %r13,%rsi
  mov    %rbx,%rdi
  add    $0x1,%ebp
  add    $0x4,%r13
  call   <scanf@plt>
  mov    0x18(%rsp),%r9d
  cmp    %ebp,%r9d
  jg     L229
L109:
  mov    0x10(%rsp),%r10d
  xor    %r11d,%r11d
  xor    %ebp,%ebp
  mov    $0x1,%r8d
  lea    0x1(%r9),%edi
  test   %r10d,%r10d
  jle    L126
  nopl   0x0(%rax)
L147:
  xor    %edx,%edx
  test   %r9d,%r9d
  jle    L93
  movslq %r8d,%rdx
  mov    $0x1,%eax
  lea    0x20(%rsp),%rsi
  lea    (%rdx,%rdx,4),%rcx
  lea    (%rcx,%rcx,4),%rcx
  lea    (%rdx,%rcx,4),%rcx
  jmp    L133
  nopw   0x0(%rax,%rax,1)
L32:
  mov    %eax,%edx
  add    $0x1,%rax
  cmp    %rax,%rdi
  je     L93
L133:
  movslq -0x4(%rsi,%rax,4),%rdx
  add    %rcx,%rdx
  cmpl   $0x1,0x1b0(%rsp,%rdx,4)
  je     L32
L185:
  add    $0x1,%r8d
  cmp    %r8d,%r10d
  jge    L147
L48:
  cmp    $0x1,%r11d
  jne    L126
  mov    %ebp,%esi
  lea    D7(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L132
  nopl   0x0(%rax)
L93:
  cmp    %edx,%r9d
  jne    L185
  cmp    $0x1,%r11d
  je     L126
  mov    %r8d,%ebp
  add    $0x1,%r8d
  mov    $0x1,%r11d
  cmp    %r8d,%r10d
  jge    L147
  jmp    L48
L126:
  lea    D5(%rip),%rdi
  call   <puts@plt>
  jmp    L132
L212:
  mov    0xa118(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L52
  add    $0xa128,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L52:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D21
type_guessed: string
name: parse_data
arguments: label: D7
type_guessed: string
name: parse_data
arguments: label: D5
type_guessed: string

tool: D21: %d

tool: D7: %d


tool: D5: -1

assistant: ```c
int main(void) {
  int n, info[101][101], i, j, m, k, temp, list[100], flag, count;
  while (1) {
    scanf("%d", &n);
    if (n == 0)
      break;
    for (i = 1; i <= n; i++) {
      for (j = 1; j <= n; j++)
        info[i][j] = 0;
    }
    for (i = 1; i <= n; i++) {
      scanf("%d", &m);
      for (j = 0; j < m; j++) {
        scanf("%d", &temp);
        info[i][temp] = 1;
      }
    }
    scanf("%d", &k);
    for (i = 0; i < k; i++)
      scanf("%d", &list[i]);
    flag = 0, count = 0;
    for (i = 1; i <= n; i++) {
      for (j = 0; j < k; j++) {
        if (info[i][list[j]] != 1)
          break;
      }
      if (j == k) {
        flag = i;
        count++;
      }
      if (count > 1)
        break;
    }
    if (count == 1) {
      printf("%d\n", flag);
    } else {
      printf("-1\n");
    }
  }
  return 0;
}
```