user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x10,%rsp
  movl   $0x1,-0x10(%rbp)
  movl   $0x1,-0x4(%rbp)
  movl   $0x0,-0xc(%rbp)
  movl   $0x0,-0x8(%rbp)
  jmp    L46
L186:
  addl   $0x1,-0x8(%rbp)
  jmp    L99
L202:
  addl   $0x1,-0x10(%rbp)
  mov    -0x10(%rbp),%eax
  add    $0x2,%eax
  mov    %eax,-0x4(%rbp)
  cmpl   $0x3,-0x10(%rbp)
  je     L205
  cmpl   $0x5,-0x10(%rbp)
  jne    L211
L205:
  addl   $0x1,-0xc(%rbp)
  mov    -0x4(%rbp),%edx
  mov    -0x10(%rbp),%eax
  mov    %eax,%esi
  lea    D13(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L99
L211:
  mov    -0x10(%rbp),%eax
  and    $0x1,%eax
  test   %eax,%eax
  je     L99
  mov    -0x10(%rbp),%edx
  movslq %edx,%rax
  imul   $0x55555556,%rax,%rax
  shr    $0x20,%rax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  mov    %eax,%ecx
  add    %ecx,%ecx
  add    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  test   %eax,%eax
  je     L99
  mov    -0x10(%rbp),%eax
  and    $0x3,%eax
  test   %eax,%eax
  je     L99
  mov    -0x10(%rbp),%edx
  movslq %edx,%rax
  imul   $0x66666667,%rax,%rax
  shr    $0x20,%rax
  sar    %eax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  mov    %eax,%ecx
  shl    $0x2,%ecx
  add    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  test   %eax,%eax
  je     L99
  mov    -0x10(%rbp),%ecx
  movslq %ecx,%rax
  imul   $0x2aaaaaab,%rax,%rax
  shr    $0x20,%rax
  mov    %ecx,%esi
  sar    $0x1f,%esi
  mov    %eax,%edx
  sub    %esi,%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  add    %eax,%eax
  mov    %ecx,%edx
  sub    %eax,%edx
  test   %edx,%edx
  je     L99
  mov    -0x10(%rbp),%edx
  movslq %edx,%rax
  imul   $0xffffffff92492493,%rax,%rax
  shr    $0x20,%rax
  add    %edx,%eax
  sar    $0x2,%eax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  mov    %eax,%ecx
  shl    $0x3,%ecx
  sub    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  test   %eax,%eax
  je     L99
  mov    -0x10(%rbp),%eax
  and    $0x7,%eax
  test   %eax,%eax
  je     L99
  mov    -0x10(%rbp),%edx
  movslq %edx,%rax
  imul   $0x38e38e39,%rax,%rax
  shr    $0x20,%rax
  sar    %eax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  mov    %eax,%ecx
  shl    $0x3,%ecx
  add    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  test   %eax,%eax
  je     L99
  mov    -0x4(%rbp),%eax
  and    $0x1,%eax
  test   %eax,%eax
  je     L99
  mov    -0x4(%rbp),%edx
  movslq %edx,%rax
  imul   $0x55555556,%rax,%rax
  shr    $0x20,%rax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  mov    %eax,%ecx
  add    %ecx,%ecx
  add    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  test   %eax,%eax
  je     L99
  mov    -0x4(%rbp),%eax
  and    $0x3,%eax
  test   %eax,%eax
  je     L99
  mov    -0x4(%rbp),%edx
  movslq %edx,%rax
  imul   $0x66666667,%rax,%rax
  shr    $0x20,%rax
  sar    %eax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  mov    %eax,%ecx
  shl    $0x2,%ecx
  add    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  test   %eax,%eax
  je     L99
  mov    -0x4(%rbp),%ecx
  movslq %ecx,%rax
  imul   $0x2aaaaaab,%rax,%rax
  shr    $0x20,%rax
  mov    %ecx,%esi
  sar    $0x1f,%esi
  mov    %eax,%edx
  sub    %esi,%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  add    %eax,%eax
  mov    %ecx,%edx
  sub    %eax,%edx
  test   %edx,%edx
  je     L99
  mov    -0x4(%rbp),%edx
  movslq %edx,%rax
  imul   $0xffffffff92492493,%rax,%rax
  shr    $0x20,%rax
  add    %edx,%eax
  sar    $0x2,%eax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  mov    %eax,%ecx
  shl    $0x3,%ecx
  sub    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  test   %eax,%eax
  je     L99
  mov    -0x4(%rbp),%eax
  and    $0x7,%eax
  test   %eax,%eax
  je     L99
  mov    -0x4(%rbp),%edx
  movslq %edx,%rax
  imul   $0x38e38e39,%rax,%rax
  shr    $0x20,%rax
  sar    %eax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  mov    %eax,%ecx
  shl    $0x3,%ecx
  add    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  test   %eax,%eax
  je     L99
  addl   $0x1,-0xc(%rbp)
  mov    -0x4(%rbp),%edx
  mov    -0x10(%rbp),%eax
  mov    %eax,%esi
  lea    D13(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L99:
  mov    -0xc(%rbp),%eax
  cmp    -0x8(%rbp),%eax
  jne    L202
L46:
  cmpl   $0x9,-0xc(%rbp)
  jle    L186
  mov    $0x0,%eax
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: data_label: D13
type_guessed: string

tool: D13: (%d, %d)


assistant: ```c
int main() {
  int a, b, c, d;
  a = 1;
  b = 1;
  c = 0;
  d = 0;
  while (c < 10) {
    d++;
    while (c != d) {
      a++;
      b = a + 2;
      if (a == 3 || a == 5) {
        c++;
        printf("(%d, %d)\n", a, b);
      } else {
        if (a % 2 != 0 && a % 3 != 0 && a % 4 != 0 && a % 5 != 0 && a % 6 != 0 && a % 7 != 0 && a % 8 != 0 && a % 9 != 0 && b % 2 != 0 && b % 3 != 0 && b % 4 != 0 && b % 5 != 0 && b % 6 != 0 && b % 7 != 0 && b % 8 != 0 && b % 9 != 0) {
          c++;
          printf("(%d, %d)\n", a, b);
        }
      }
    }
  }
  return 0;
}
```