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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0x5000(%rsp),%r11
L1595:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L1595
  sub    $0xd28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x5d18(%rsp)
  xor    %eax,%eax
  lea    0x3e10(%rsp),%rbp
  call   <check_offloading@plt>
  lea    0x5d10(%rsp),%rdx
  mov    %rbp,%rax
L1330:
  mov    D594(%rip),%rdi
  add    $0x8,%rax
  mov    %rdi,-0x8(%rax)
  cmp    %rax,%rdx
  jne    L1330
  lea    0x10(%rsp),%rbx
  xor    %eax,%eax
  mov    $0x3e0,%ecx
  mov    %rbp,%rdx
  mov    %rbx,%rdi
  mov    %rbx,%r12
  lea    0x1010(%rsp),%r15
  rep stos %rax,%es:(%rdi)
  mov    %rbx,%rax
L4:
  movsd  (%rax),%xmm0
  addsd  (%rdx),%xmm0
  add    $0x8,%rax
  add    $0x8,%rdx
  movsd  %xmm0,-0x8(%rax)
  cmp    %r15,%rax
  jne    L4
  xor    %r13d,%r13d
  xor    %edx,%edx
  lea    D673(%rip),%r14
  jmp    L1052
L637:
  add    $0x1,%r13
  cmp    $0x200,%r13
  je     L168
L1052:
  movsd  (%rbx,%r13,8),%xmm1
  ucomisd D594(%rip),%xmm1
  mov    %r13d,%esi
  jp     L336
  je     L637
L336:
  mov    D594(%rip),%rax
  mov    %r14,%rdi
  add    $0x1,%r13
  movq   %rax,%xmm0
  mov    $0x2,%eax
  call   <printf@plt>
  mov    $0x1,%edx
  cmp    $0x200,%r13
  jne    L1052
L168:
  mov    %edx,0x8(%rsp)
  test   %edx,%edx
  je     L50
  lea    D936(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
L1478:
  xor    %eax,%eax
  mov    $0x3e0,%ecx
  mov    %rbx,%rdi
  rep stos %rax,%es:(%rdi)
  lea    0xfa0(%rbx),%r14
  mov    %rbp,%rcx
  mov    %rbx,%rax
L1379:
  movsd  (%rax),%xmm0
  addsd  (%rcx),%xmm0
  add    $0x8,%rax
  add    $0x8,%rcx
  movsd  %xmm0,-0x8(%rax)
  cmp    %rax,%r14
  jne    L1379
  xor    %r13d,%r13d
  lea    D673(%rip),%rcx
  jmp    L1342
L292:
  add    $0x1,%r13
  cmp    $0x1f4,%r13
  je     L727
L1342:
  movsd  (%rbx,%r13,8),%xmm1
  ucomisd D594(%rip),%xmm1
  mov    %r13d,%esi
  jp     L1168
  je     L292
L1168:
  mov    D594(%rip),%rax
  mov    %rcx,%rdi
  add    $0x1,%r13
  movq   %rax,%xmm0
  mov    $0x2,%eax
  call   <printf@plt>
  mov    $0x1,%edx
  lea    D673(%rip),%rcx
  cmp    $0x1f4,%r13
  jne    L1342
L727:
  mov    %edx,0x8(%rsp)
  test   %edx,%edx
  je     L163
  lea    D936(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
L883:
  xor    %eax,%eax
  mov    $0x3e0,%ecx
  mov    %rbx,%rdi
  rep stos %rax,%es:(%rdi)
  lea    0x3d8(%rbx),%r13
  mov    %rbp,%rcx
  mov    %rbx,%rax
L325:
  movsd  (%rax),%xmm0
  addsd  (%rcx),%xmm0
  add    $0x8,%rax
  add    $0x8,%rcx
  movsd  %xmm0,-0x8(%rax)
  cmp    %rax,%r13
  jne    L325
  xor    %ecx,%ecx
  lea    D673(%rip),%rdi
  jmp    L964
L104:
  add    $0x1,%rcx
  cmp    $0x7b,%rcx
  je     L250
L964:
  movsd  (%rbx,%rcx,8),%xmm1
  ucomisd D594(%rip),%xmm1
  mov    %ecx,%esi
  jp     L1088
  je     L104
L1088:
  mov    D594(%rip),%rax
  mov    %rcx,0x8(%rsp)
  movq   %rax,%xmm0
  mov    $0x2,%eax
  call   <printf@plt>
  mov    0x8(%rsp),%rcx
  mov    $0x1,%edx
  lea    D673(%rip),%rdi
  add    $0x1,%rcx
  cmp    $0x7b,%rcx
  jne    L964
L250:
  mov    %edx,0x8(%rsp)
  test   %edx,%edx
  je     L1103
  lea    D936(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
L568:
  xor    %eax,%eax
  mov    $0x3e0,%ecx
  mov    %rbx,%rdi
  rep stos %rax,%es:(%rdi)
  mov    %rbp,%rcx
  mov    %rbx,%rax
L898:
  movsd  (%rax),%xmm0
  addsd  (%rcx),%xmm0
  add    $0x8,%rax
  add    $0x8,%rcx
  movsd  %xmm0,-0x8(%rax)
  cmp    %r15,%rax
  jne    L898
  xor    %ecx,%ecx
  lea    D673(%rip),%rdi
  jmp    L1344
L16:
  add    $0x1,%rcx
  cmp    $0x200,%rcx
  je     L180
L1344:
  movsd  (%rbx,%rcx,8),%xmm1
  ucomisd D594(%rip),%xmm1
  mov    %ecx,%esi
  jp     L865
  je     L16
L865:
  mov    D594(%rip),%rax
  mov    %rcx,0x8(%rsp)
  movq   %rax,%xmm0
  mov    $0x2,%eax
  call   <printf@plt>
  mov    0x8(%rsp),%rcx
  mov    $0x1,%edx
  lea    D673(%rip),%rdi
  add    $0x1,%rcx
  cmp    $0x200,%rcx
  jne    L1344
L180:
  mov    %edx,0x8(%rsp)
  test   %edx,%edx
  je     L49
  lea    D936(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
L1568:
  xor    %eax,%eax
  mov    $0x3e0,%ecx
  mov    %rbx,%rdi
  rep stos %rax,%es:(%rdi)
  mov    %rbp,%rcx
  mov    %rbx,%rax
L1102:
  movsd  (%rax),%xmm0
  addsd  (%rcx),%xmm0
  add    $0x8,%rax
  add    $0x8,%rcx
  movsd  %xmm0,-0x8(%rax)
  cmp    %rax,%r15
  jne    L1102
  xor    %ecx,%ecx
  lea    D673(%rip),%rdi
  jmp    L323
L659:
  add    $0x1,%rcx
  cmp    $0x200,%rcx
  je     L546
L323:
  movsd  (%rbx,%rcx,8),%xmm1
  ucomisd D594(%rip),%xmm1
  mov    %ecx,%esi
  jp     L1308
  je     L659
L1308:
  mov    D594(%rip),%rax
  mov    %rcx,0x8(%rsp)
  movq   %rax,%xmm0
  mov    $0x2,%eax
  call   <printf@plt>
  mov    0x8(%rsp),%rcx
  mov    $0x1,%edx
  lea    D673(%rip),%rdi
  add    $0x1,%rcx
  cmp    $0x200,%rcx
  jne    L323
L546:
  mov    %edx,0x8(%rsp)
  test   %edx,%edx
  je     L257
  lea    D936(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
L813:
  xor    %eax,%eax
  mov    $0x3e0,%ecx
  mov    %rbx,%rdi
  rep stos %rax,%es:(%rdi)
  mov    %rbp,%rcx
  mov    %rbx,%rax
L1098:
  movsd  (%rax),%xmm0
  addsd  (%rcx),%xmm0
  add    $0x8,%rax
  add    $0x8,%rcx
  movsd  %xmm0,-0x8(%rax)
  cmp    %r15,%rax
  jne    L1098
  xor    %r15d,%r15d
  lea    D673(%rip),%rcx
  jmp    L1530
L81:
  add    $0x1,%r15
  cmp    $0x200,%r15
  je     L501
L1530:
  movsd  (%rbx,%r15,8),%xmm1
  ucomisd D594(%rip),%xmm1
  mov    %r15d,%esi
  jp     L452
  je     L81
L452:
  mov    D594(%rip),%rax
  mov    %rcx,%rdi
  add    $0x1,%r15
  movq   %rax,%xmm0
  mov    $0x2,%eax
  call   <printf@plt>
  mov    $0x1,%edx
  lea    D673(%rip),%rcx
  cmp    $0x200,%r15
  jne    L1530
L501:
  mov    %edx,0x8(%rsp)
  test   %edx,%edx
  je     L857
  lea    D936(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
L599:
  xor    %eax,%eax
  mov    $0x3e0,%ecx
  mov    %rbx,%rdi
  rep stos %rax,%es:(%rdi)
  mov    %rbp,%rcx
  mov    %rbx,%rax
L1340:
  movsd  (%rax),%xmm0
  addsd  (%rcx),%xmm0
  add    $0x8,%rax
  add    $0x8,%rcx
  movsd  %xmm0,-0x8(%rax)
  cmp    %rax,%r14
  jne    L1340
  xor    %r15d,%r15d
  lea    D673(%rip),%rcx
  jmp    L1388
L906:
  add    $0x1,%r15
  cmp    $0x1f4,%r15
  je     L1481
L1388:
  movsd  (%rbx,%r15,8),%xmm1
  ucomisd D594(%rip),%xmm1
  mov    %r15d,%esi
  jp     L1582
  je     L906
L1582:
  mov    D594(%rip),%rax
  mov    %rcx,%rdi
  add    $0x1,%r15
  movq   %rax,%xmm0
  mov    $0x2,%eax
  call   <printf@plt>
  mov    $0x1,%edx
  lea    D673(%rip),%rcx
  cmp    $0x1f4,%r15
  jne    L1388
L1481:
  mov    %edx,0x8(%rsp)
  test   %edx,%edx
  je     L837
  lea    D936(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
L295:
  xor    %eax,%eax
  mov    $0x3e0,%ecx
  mov    %rbx,%rdi
  rep stos %rax,%es:(%rdi)
  mov    %rbp,%rcx
  mov    %rbx,%rax
L447:
  movsd  (%rax),%xmm0
  addsd  (%rcx),%xmm0
  add    $0x8,%rax
  add    $0x8,%rcx
  movsd  %xmm0,-0x8(%rax)
  cmp    %rax,%r14
  jne    L447
  xor    %r15d,%r15d
  lea    D673(%rip),%rcx
  jmp    L364
L123:
  add    $0x1,%r15
  cmp    $0x1f4,%r15
  je     L979
L364:
  movsd  (%rbx,%r15,8),%xmm1
  ucomisd D594(%rip),%xmm1
  mov    %r15d,%esi
  jp     L1050
  je     L123
L1050:
  mov    D594(%rip),%rax
  mov    %rcx,%rdi
  add    $0x1,%r15
  movq   %rax,%xmm0
  mov    $0x2,%eax
  call   <printf@plt>
  mov    $0x1,%edx
  lea    D673(%rip),%rcx
  cmp    $0x1f4,%r15
  jne    L364
L979:
  mov    %edx,0x8(%rsp)
  test   %edx,%edx
  je     L1398
  lea    D936(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
L211:
  xor    %eax,%eax
  mov    $0x3e0,%ecx
  mov    %rbx,%rdi
  rep stos %rax,%es:(%rdi)
  mov    %rbp,%rcx
  mov    %rbx,%rax
L723:
  movsd  (%rax),%xmm0
  addsd  (%rcx),%xmm0
  add    $0x8,%rax
  add    $0x8,%rcx
  movsd  %xmm0,-0x8(%rax)
  cmp    %rax,%r14
  jne    L723
  xor    %r14d,%r14d
  lea    D673(%rip),%r15
  jmp    L480
L58:
  add    $0x1,%r14
  cmp    $0x1f4,%r14
  je     L1566
L480:
  movsd  (%rbx,%r14,8),%xmm1
  ucomisd D594(%rip),%xmm1
  mov    %r14d,%esi
  jp     L369
  je     L58
L369:
  mov    D594(%rip),%rax
  mov    %r15,%rdi
  add    $0x1,%r14
  movq   %rax,%xmm0
  mov    $0x2,%eax
  call   <printf@plt>
  mov    $0x1,%edx
  cmp    $0x1f4,%r14
  jne    L480
L1566:
  mov    %edx,0x8(%rsp)
  test   %edx,%edx
  je     L1549
  lea    D936(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
L1012:
  xor    %eax,%eax
  mov    $0x3e0,%ecx
  mov    %rbx,%rdi
  rep stos %rax,%es:(%rdi)
  mov    %rbp,%rcx
  mov    %rbx,%rax
L1293:
  movsd  (%rax),%xmm0
  addsd  (%rcx),%xmm0
  add    $0x8,%rax
  add    $0x8,%rcx
  movsd  %xmm0,-0x8(%rax)
  cmp    %rax,%r13
  jne    L1293
  xor    %r14d,%r14d
  lea    D673(%rip),%r15
  jmp    L991
L1562:
  add    $0x1,%r14
  cmp    $0x7b,%r14
  je     L1305
L991:
  movsd  (%rbx,%r14,8),%xmm1
  ucomisd D594(%rip),%xmm1
  mov    %r14d,%esi
  jp     L70
  je     L1562
L70:
  mov    D594(%rip),%rax
  mov    %r15,%rdi
  add    $0x1,%r14
  movq   %rax,%xmm0
  mov    $0x2,%eax
  call   <printf@plt>
  mov    $0x1,%edx
  cmp    $0x7b,%r14
  jne    L991
L1305:
  mov    %edx,0x8(%rsp)
  test   %edx,%edx
  je     L790
  lea    D936(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
L1214:
  xor    %eax,%eax
  mov    $0x3e0,%ecx
  mov    %rbx,%rdi
  rep stos %rax,%es:(%rdi)
  mov    %rbp,%rcx
  mov    %rbx,%rax
L732:
  movsd  (%rax),%xmm0
  addsd  (%rcx),%xmm0
  add    $0x8,%rax
  add    $0x8,%rcx
  movsd  %xmm0,-0x8(%rax)
  cmp    %r13,%rax
  jne    L732
  xor    %r14d,%r14d
  lea    D673(%rip),%r15
  jmp    L1365
L1419:
  add    $0x1,%r14
  cmp    $0x7b,%r14
  je     L76
L1365:
  movsd  (%rbx,%r14,8),%xmm1
  ucomisd D594(%rip),%xmm1
  mov    %r14d,%esi
  jp     L1120
  je     L1419
L1120:
  mov    D594(%rip),%rax
  mov    %r15,%rdi
  add    $0x1,%r14
  movq   %rax,%xmm0
  mov    $0x2,%eax
  call   <printf@plt>
  mov    $0x1,%edx
  cmp    $0x7b,%r14
  jne    L1365
L76:
  mov    %edx,0x8(%rsp)
  test   %edx,%edx
  je     L968
  lea    D936(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
L22:
  xor    %eax,%eax
  mov    $0x3e0,%ecx
  mov    %rbx,%rdi
  rep stos %rax,%es:(%rdi)
  mov    %rbx,%rax
L1152:
  movsd  (%rax),%xmm0
  addsd  0x0(%rbp),%xmm0
  add    $0x8,%rax
  add    $0x8,%rbp
  movsd  %xmm0,-0x8(%rax)
  cmp    %r13,%rax
  jne    L1152
  xor    %ebp,%ebp
  lea    D673(%rip),%r13
  jmp    L1156
L213:
  add    $0x1,%rbp
  cmp    $0x7b,%rbp
  je     L1123
L1156:
  movsd  (%rbx,%rbp,8),%xmm1
  ucomisd D594(%rip),%xmm1
  mov    %ebp,%esi
  jp     L106
  je     L213
L106:
  mov    D594(%rip),%rax
  mov    %r13,%rdi
  add    $0x1,%rbp
  movq   %rax,%xmm0
  mov    $0x2,%eax
  call   <printf@plt>
  mov    $0x1,%edx
  cmp    $0x7b,%rbp
  jne    L1156
L1123:
  mov    %edx,0x8(%rsp)
  test   %edx,%edx
  je     L1585
  lea    D936(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
L845:
  xor    %eax,%eax
  lea    0x1f10(%rsp),%rbp
  mov    $0x3e0,%ecx
  mov    %rbx,%rdi
  rep stos %rax,%es:(%rdi)
  mov    $0x3e0,%ecx
  mov    %rbp,%rdi
  mov    %rbp,%r13
  movsd  D444(%rip),%xmm3
  movsd  D15(%rip),%xmm2
  lea    0x1f00(%rbx),%rsi
  rep stos %rax,%es:(%rdi)
  mov    %rbp,%rcx
  mov    %rbx,%rax
L1300:
  movsd  (%rax),%xmm0
  add    $0x8,%rax
  add    $0x8,%rcx
  addsd  %xmm3,%xmm0
  movsd  %xmm0,-0x8(%rax)
  movsd  -0x8(%rcx),%xmm0
  addsd  %xmm2,%xmm0
  movsd  %xmm0,-0x8(%rcx)
  cmp    %rsi,%rax
  jne    L1300
  xor    %r14d,%r14d
  lea    D530(%rip),%r15
  jmp    L253
L785:
  movsd  0x0(%rbp,%r14,8),%xmm1
  ucomisd %xmm2,%xmm1
  jp     L156
L1258:
  jne    L156
  add    $0x1,%r14
  cmp    $0x3e0,%r14
  je     L381
L253:
  movsd  (%rbx,%r14,8),%xmm1
  mov    %r14d,%esi
  ucomisd %xmm3,%xmm1
  jp     L1122
  je     L785
L1122:
  movapd %xmm3,%xmm0
  mov    %r15,%rdi
  mov    $0x2,%eax
  mov    %esi,0x8(%rsp)
  call   <printf@plt>
  mov    D15(%rip),%rax
  mov    0x8(%rsp),%esi
  mov    $0x1,%edx
  movsd  0x0(%rbp,%r14,8),%xmm1
  movq   %rax,%xmm2
  mov    D444(%rip),%rax
  ucomisd %xmm2,%xmm1
  movq   %rax,%xmm3
  jnp    L1258
L156:
  movapd %xmm2,%xmm0
  lea    D428(%rip),%rdi
  mov    $0x2,%eax
  add    $0x1,%r14
  call   <printf@plt>
  mov    D444(%rip),%rax
  mov    $0x1,%edx
  movq   %rax,%xmm3
  mov    D15(%rip),%rax
  movq   %rax,%xmm2
  cmp    $0x3e0,%r14
  jne    L253
L381:
  mov    %edx,0x8(%rsp)
  test   %edx,%edx
  je     L1033
  lea    D936(%rip),%rdi
  call   <puts@plt>
  mov    D444(%rip),%rax
  mov    0x8(%rsp),%edx
  movq   %rax,%xmm3
  mov    D15(%rip),%rax
  movq   %rax,%xmm2
L419:
  xor    %eax,%eax
  mov    $0x3e0,%ecx
  movapd %xmm3,%xmm0
  mov    %rbx,%rdi
  rep stos %rax,%es:(%rdi)
  movsd  D628(%rip),%xmm1
  mov    $0x3e0,%ecx
  mov    %rbp,%rdi
  rep stos %rax,%es:(%rdi)
  lea    0x400(%rbx),%rax
L30:
  addsd  %xmm2,%xmm0
  movsd  (%r12),%xmm4
  add    $0x8,%r12
  add    $0x8,%r13
  addsd  D147(%rip),%xmm1
  addsd  %xmm0,%xmm4
  movsd  %xmm4,-0x8(%r12)
  movsd  -0x8(%r13),%xmm4
  addsd  %xmm1,%xmm4
  movsd  %xmm4,-0x8(%r13)
  cmp    %rax,%r12
  jne    L30
  movsd  D121(%rip),%xmm4
  xor    %r12d,%r12d
  lea    D428(%rip),%r14
  lea    D530(%rip),%r13
  jmp    L1099
L85:
  ucomisd %xmm4,%xmm1
  jp     L69
  jne    L69
L1243:
  movsd  0x0(%rbp,%r12,8),%xmm1
  movsd  D672(%rip),%xmm0
  ucomisd %xmm0,%xmm1
  jp     L733
  jne    L733
L1234:
  add    $0x1,%r12
  cmp    $0x80,%r12
  je     L74
L1099:
  movsd  (%rbx,%r12,8),%xmm1
  mov    %r12d,%r15d
  test   $0x1,%r12b
  je     L85
  ucomisd D629(%rip),%xmm1
  jp     L1049
  jne    L1049
L1503:
  movsd  0x0(%rbp,%r12,8),%xmm1
  ucomisd D276(%rip),%xmm1
  jp     L1576
  je     L1234
L1576:
  mov    D276(%rip),%rax
  movq   %rax,%xmm0
L733:
  mov    %r15d,%esi
  mov    %r14,%rdi
  mov    $0x2,%eax
  add    $0x1,%r12
  call   <printf@plt>
  mov    D121(%rip),%rax
  mov    $0x1,%edx
  movq   %rax,%xmm4
  cmp    $0x80,%r12
  jne    L1099
L74:
  mov    %edx,0x8(%rsp)
  test   %edx,%edx
  je     L1517
  lea    D936(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
L392:
  xor    %ebx,%ebx
  mov    $0xffffffff,%ebp
  jmp    L874
L705:
  xor    %eax,%eax
  mov    %edx,0x8(%rsp)
  add    $0x1,%ebx
  call   <omp_get_team_num@plt>
  mov    0x8(%rsp),%edx
  mov    %eax,%ebp
L874:
  xor    %eax,%eax
  mov    %edx,0x8(%rsp)
  call   <omp_get_num_teams@plt>
  mov    0x8(%rsp),%edx
  cmp    %ebx,%eax
  jg     L705
  cmp    $0x9,%ebp
  jne    L426
  test   %edx,%edx
  je     L670
L508:
  lea    D936(%rip),%rdi
  call   <puts@plt>
  mov    $0x1,%edx
L1539:
  mov    $0x782000,%edi
  mov    %edx,0x8(%rsp)
  call   <malloc@plt>
  mov    $0x782000,%edi
  mov    %rax,%rbx
  call   <malloc@plt>
  mov    $0x782000,%edi
  mov    %rax,%rbp
  call   <malloc@plt>
  mov    0x8(%rsp),%edx
  mov    $0x1f00,%esi
  mov    %rax,%rcx
  mov    D444(%rip),%rax
  movq   %rax,%xmm3
  mov    D15(%rip),%rax
  movq   %rax,%xmm2
L259:
  lea    -0x1f00(%rsi),%rax
L742:
  mov    D594(%rip),%rdi
  movq   $0x0,(%rbx,%rax,1)
  mov    %rdi,0x0(%rbp,%rax,1)
  movsd  %xmm3,(%rcx,%rax,1)
  add    $0x8,%rax
  cmp    %rax,%rsi
  jne    L742
  add    $0x1f00,%rsi
  cmp    $0x783f00,%rsi
  jne    L259
  mov    $0x1f00,%esi
L1499:
  lea    -0x1f00(%rsi),%rax
L1083:
  movsd  0x0(%rbp,%rax,1),%xmm0
  addsd  (%rcx,%rax,1),%xmm0
  addsd  (%rbx,%rax,1),%xmm0
  movsd  %xmm0,(%rbx,%rax,1)
  add    $0x8,%rax
  cmp    %rax,%rsi
  jne    L1083
  add    $0x1f00,%rsi
  cmp    $0x783f00,%rsi
  jne    L1499
  xor    %r12d,%r12d
  lea    D1144(%rip),%r13
L1109:
  xor    %ebp,%ebp
  jmp    L1579
L390:
  add    $0x1,%rbp
  cmp    $0x3e0,%rbp
  je     L220
L1579:
  movsd  (%rbx,%rbp,8),%xmm1
  mov    %ebp,%r8d
  ucomisd %xmm2,%xmm1
  jp     L893
  je     L390
L893:
  movapd %xmm2,%xmm0
  mov    %r8d,%edx
  mov    %r12d,%esi
  mov    %r13,%rdi
  mov    $0x2,%eax
  add    $0x1,%rbp
  call   <printf@plt>
  mov    D15(%rip),%rax
  mov    $0x1,%edx
  movq   %rax,%xmm2
  cmp    $0x3e0,%rbp
  jne    L1579
L220:
  add    $0x1,%r12d
  add    $0x1f00,%rbx
  cmp    $0x3e0,%r12d
  jne    L1109
  mov    %edx,0x8(%rsp)
  test   %edx,%edx
  je     L1059
  lea    D936(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
L1238:
  mov    $0xe8be00,%edi
  mov    %edx,0x8(%rsp)
  call   <malloc@plt>
  mov    $0xe8be00,%edi
  mov    %rax,%rbx
  call   <malloc@plt>
  mov    0x8(%rsp),%edx
  mov    $0x3e0,%esi
  xor    %r8d,%r8d
  mov    %rax,%rcx
  mov    D444(%rip),%rax
  movq   %rax,%xmm3
  mov    D15(%rip),%rax
  movq   %rax,%xmm2
  mov    D121(%rip),%rax
  movq   %rax,%xmm4
L347:
  lea    0x1e080(%rsi),%rdi
L460:
  lea    -0x3e0(%rsi),%rax
  nopl   0x0(%rax)
L1003:
  movsd  %xmm3,(%rbx,%rax,1)
  movsd  %xmm2,(%rcx,%rax,1)
  add    $0x8,%rax
  cmp    %rsi,%rax
  jne    L1003
  lea    0x3e0(%rax),%rsi
  cmp    %rdi,%rsi
  jne    L460
  add    $0x3c10,%r8d
  cmp    $0x1d17c0,%r8d
  jne    L347
  xor    %r8d,%r8d
L1541:
  mov    %rbp,%rsi
  lea    0x1e080(%rbp),%rdi
L206:
  lea    -0x3e0(%rsi),%rax
  nopl   0x0(%rax,%rax,1)
L1471:
  movsd  (%rbx,%rax,1),%xmm0
  addsd  (%rcx,%rax,1),%xmm0
  movsd  %xmm0,(%rbx,%rax,1)
  add    $0x8,%rax
  cmp    %rax,%rsi
  jne    L1471
  add    $0x3e0,%rsi
  cmp    %rdi,%rsi
  jne    L206
  add    $0x3c10,%r8d
  cmp    $0x1d17c0,%r8d
  je     L370
  mov    %rsi,%rbp
  jmp    L1541
L50:
  lea    D768(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
  jmp    L1478
L163:
  lea    D768(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
  jmp    L883
L1103:
  lea    D768(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
  jmp    L568
L49:
  lea    D768(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
  jmp    L1568
L257:
  lea    D768(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
  jmp    L813
L857:
  lea    D768(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
  jmp    L599
L837:
  lea    D768(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
  jmp    L295
L1398:
  lea    D768(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
  jmp    L211
L1549:
  lea    D768(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
  jmp    L1012
L790:
  lea    D768(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
  jmp    L1214
L968:
  lea    D768(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
  jmp    L22
L1585:
  lea    D768(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
  jmp    L845
L1033:
  lea    D768(%rip),%rdi
  call   <puts@plt>
  mov    D15(%rip),%rax
  mov    0x8(%rsp),%edx
  movq   %rax,%xmm2
  mov    D444(%rip),%rax
  movq   %rax,%xmm3
  jmp    L419
  cs nopw 0x0(%rax,%rax,1)
L69:
  movapd %xmm4,%xmm0
  mov    %r15d,%esi
  mov    %r13,%rdi
  mov    $0x2,%eax
  call   <printf@plt>
  mov    D121(%rip),%rax
  mov    $0x1,%edx
  movq   %rax,%xmm4
  jmp    L1243
L1049:
  mov    D629(%rip),%rax
  mov    %r15d,%esi
  mov    %r13,%rdi
  movq   %rax,%xmm0
  mov    $0x2,%eax
  call   <printf@plt>
  mov    D121(%rip),%rax
  mov    $0x1,%edx
  movq   %rax,%xmm4
  jmp    L1503
L1517:
  lea    D768(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
  jmp    L392
L1059:
  lea    D768(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%edx
  jmp    L1238
L370:
  lea    0x3e0(%rbx),%rbp
  xor    %r13d,%r13d
  lea    D1144(%rip),%r14
L229:
  mov    %rbp,%r15
  xor    %r12d,%r12d
L404:
  lea    -0x3e0(%r15),%rbx
  jmp    L644
  cs nopw 0x0(%rax,%rax,1)
L1151:
  add    $0x8,%rbx
  cmp    %rbx,%r15
  je     L107
L644:
  movsd  (%rbx),%xmm1
  ucomisd %xmm4,%xmm1
  jp     L1262
  je     L1151
L1262:
  movapd %xmm2,%xmm0
  mov    %r12d,%edx
  mov    %r13d,%esi
  mov    %r14,%rdi
  mov    $0x2,%eax
  add    $0x8,%rbx
  call   <printf@plt>
  mov    D121(%rip),%rax
  mov    $0x1,%edx
  movq   %rax,%xmm4
  mov    D15(%rip),%rax
  movq   %rax,%xmm2
  cmp    %rbx,%r15
  jne    L644
L107:
  add    $0x1,%r12d
  add    $0x3e0,%r15
  cmp    $0x7c,%r12d
  jne    L404
  add    $0x1,%r13d
  add    $0x1e080,%rbp
  cmp    $0x7c,%r13d
  jne    L229
  test   %edx,%edx
  je     L1220
  lea    D936(%rip),%rdi
  call   <puts@plt>
L838:
  mov    0x5d18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L341
  add    $0x5d28,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L1220:
  lea    D768(%rip),%rdi
  call   <puts@plt>
  jmp    L838
L426:
  mov    $0x9,%edx
  mov    %ebp,%esi
  lea    D937(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L508
L670:
  lea    D768(%rip),%rdi
  mov    %edx,0x8(%rsp)
  call   <puts@plt>
  mov    0x8(%rsp),%edx
  jmp    L1539
L341:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D594
type_infered: f64
name: unpack_data
arguments: data_label: D673
type_infered: string
name: unpack_data
arguments: data_label: D936
type_infered: string
name: unpack_data
arguments: data_label: D444
type_infered: f64
name: unpack_data
arguments: data_label: D15
type_infered: f64
name: unpack_data
arguments: data_label: D530
type_infered: string
name: unpack_data
arguments: data_label: D428
type_infered: string
name: unpack_data
arguments: data_label: D628
type_infered: f64
name: unpack_data
arguments: data_label: D147
type_infered: f64
name: unpack_data
arguments: data_label: D121
type_infered: f32[2]
name: unpack_data
arguments: data_label: D672
type_infered: f32[2]
name: unpack_data
arguments: data_label: D629
type_infered: f32[2]
name: unpack_data
arguments: data_label: D276
type_infered: f32[2]
name: unpack_data
arguments: data_label: D1144
type_infered: string
name: unpack_data
arguments: data_label: D768
type_infered: string
name: unpack_data
arguments: data_label: D937
type_infered: string

tool: D594: 1

tool: D673: Error at %d, h = %lf, d = %lf


tool: D936: Failed

tool: D444: 2

tool: D15: 3

tool: D530: Error at A[%d], h = %lf, d = %lf


tool: D428: Error at B[%d], h = %lf, d = %lf


tool: D628: 4

tool: D147: 7

tool: {"D121": [0.0,2.3125]}

tool: {"D672": [0.0,2.59375]}

tool: {"D629": [0.0,2.5]}

tool: {"D276": [0.0,2.78125]}

tool: D1144: Error at (%d,%d), h = %lf, d = %lf


tool: D768: Succeeded

tool: D937: lastpriv value is %d and should have been %d


assistant: ```c
int main(void) {
  check_offloading();
  double A[(992)], B[(992)], C[(992)], D[(992)], E[(992)];
  int fail = 0;
  {
    int i;
    for (i = 0; i < (992); i++) {
      {
        C[i] = 1;
        D[i] = i;
        E[i] = -i;
      }
    }
  };
  {
    int i;
    for (i = 0; i < (992); i++) {
      A[i] = 0;
    }
  };
  for (int t = 0; t < (1); t++) {
#pragma omp target
#pragma omp teams num_teams(512)
#pragma omp distribute parallel for simd
    for (int i = 0; i < 512; i++) {
      A[i] += C[i];
    }
  }
  for (int i = 0; i < 512; i++)
    if (A[i] != (1)) {
      printf("Error at %d, h = %lf, d = %lf\n", i, (double)(1), A[i]);
      fail = 1;
    }
  if (fail)
    printf("Failed\n");
  else
    printf("Succeeded\n");
  {
    int i;
    for (i = 0; i < (992); i++) {
      A[i] = 0;
    }
  };
  for (int t = 0; t < (1); t++) {
#pragma omp target
#pragma omp teams num_teams(256)
#pragma omp distribute parallel for simd
    for (int i = 0; i < 500; i++) {
      A[i] += C[i];
    }
  }
  for (int i = 0; i < 500; i++)
    if (A[i] != (1)) {
      printf("Error at %d, h = %lf, d = %lf\n", i, (double)(1), A[i]);
      fail = 1;
    }
  if (fail)
    printf("Failed\n");
  else
    printf("Succeeded\n");
  {
    int i;
    for (i = 0; i < (992); i++) {
      A[i] = 0;
    }
  };
  for (int t = 0; t < (1); t++) {
#pragma omp target
#pragma omp teams num_teams(256)
#pragma omp distribute parallel for simd
    for (int i = 0; i < 123; i++) {
      A[i] += C[i];
    }
  }
  for (int i = 0; i < 123; i++)
    if (A[i] != (1)) {
      printf("Error at %d, h = %lf, d = %lf\n", i, (double)(1), A[i]);
      fail = 1;
    }
  if (fail)
    printf("Failed\n");
  else
    printf("Succeeded\n");
  {
    int i;
    for (i = 0; i < (992); i++) {
      A[i] = 0;
    }
  };
  for (int t = 0; t < (1); t++) {
#pragma omp target
#pragma omp teams num_teams(512)
#pragma omp distribute parallel for simd dist_schedule(static, 1)
    for (int i = 0; i < 512; i++) {
      A[i] += C[i];
    }
  }
  for (int i = 0; i < 512; i++)
    if (A[i] != (1)) {
      printf("Error at %d, h = %lf, d = %lf\n", i, (double)(1), A[i]);
      fail = 1;
    }
  if (fail)
    printf("Failed\n");
  else
    printf("Succeeded\n");
  {
    int i;
    for (i = 0; i < (992); i++) {
      A[i] = 0;
    }
  };
  for (int t = 0; t < (1); t++) {
#pragma omp target
#pragma omp teams num_teams(512)
#pragma omp distribute parallel for simd dist_schedule(static, 512)
    for (int i = 0; i < 512; i++) {
      A[i] += C[i];
    }
  }
  for (int i = 0; i < 512; i++)
    if (A[i] != (1)) {
      printf("Error at %d, h = %lf, d = %lf\n", i, (double)(1), A[i]);
      fail = 1;
    }
  if (fail)
    printf("Failed\n");
  else
    printf("Succeeded\n");
  {
    int i;
    for (i = 0; i < (992); i++) {
      A[i] = 0;
    }
  };
  int ten = 10;
  int chunkSize = 512 / ten;
  for (int t = 0; t < (1); t++) {
#pragma omp target
#pragma omp teams num_teams(512)
#pragma omp distribute parallel for simd dist_schedule(static, chunkSize)
    for (int i = 0; i < 512; i++) {
      A[i] += C[i];
    }
  }
  for (int i = 0; i < 512; i++)
    if (A[i] != (1)) {
      printf("Error at %d, h = %lf, d = %lf\n", i, (double)(1), A[i]);
      fail = 1;
    }
  if (fail)
    printf("Failed\n");
  else
    printf("Succeeded\n");
  {
    int i;
    for (i = 0; i < (992); i++) {
      A[i] = 0;
    }
  };
  for (int t = 0; t < (1); t++) {
#pragma omp target
#pragma omp teams num_teams(256)
#pragma omp distribute parallel for simd dist_schedule(static, 1)
    for (int i = 0; i < 500; i++) {
      A[i] += C[i];
    }
  }
  for (int i = 0; i < 500; i++)
    if (A[i] != (1)) {
      printf("Error at %d, h = %lf, d = %lf\n", i, (double)(1), A[i]);
      fail = 1;
    }
  if (fail)
    printf("Failed\n");
  else
    printf("Succeeded\n");
  {
    int i;
    for (i = 0; i < (992); i++) {
      A[i] = 0;
    }
  };
  for (int t = 0; t < (1); t++) {
#pragma omp target
#pragma omp teams num_teams(256)
#pragma omp distribute parallel for simd dist_schedule(static, 500)
    for (int i = 0; i < 500; i++) {
      A[i] += C[i];
    }
  }
  for (int i = 0; i < 500; i++)
    if (A[i] != (1)) {
      printf("Error at %d, h = %lf, d = %lf\n", i, (double)(1), A[i]);
      fail = 1;
    }
  if (fail)
    printf("Failed\n");
  else
    printf("Succeeded\n");
  {
    int i;
    for (i = 0; i < (992); i++) {
      A[i] = 0;
    }
  };
  ten = 10;
  chunkSize = 500 / ten;
  for (int t = 0; t < (1); t++) {
#pragma omp target
#pragma omp teams num_teams(256)
#pragma omp distribute parallel for simd dist_schedule(static, chunkSize)
    for (int i = 0; i < 500; i++) {
      A[i] += C[i];
    }
  }
  for (int i = 0; i < 500; i++)
    if (A[i] != (1)) {
      printf("Error at %d, h = %lf, d = %lf\n", i, (double)(1), A[i]);
      fail = 1;
    }
  if (fail)
    printf("Failed\n");
  else
    printf("Succeeded\n");
  {
    int i;
    for (i = 0; i < (992); i++) {
      A[i] = 0;
    }
  };
  for (int t = 0; t < (1); t++) {
#pragma omp target
#pragma omp teams num_teams(256)
#pragma omp distribute parallel for simd dist_schedule(static, 1)
    for (int i = 0; i < 123; i++) {
      A[i] += C[i];
    }
  }
  for (int i = 0; i < 123; i++)
    if (A[i] != (1)) {
      printf("Error at %d, h = %lf, d = %lf\n", i, (double)(1), A[i]);
      fail = 1;
    }
  if (fail)
    printf("Failed\n");
  else
    printf("Succeeded\n");
  {
    int i;
    for (i = 0; i < (992); i++) {
      A[i] = 0;
    }
  };
  for (int t = 0; t < (1); t++) {
#pragma omp target
#pragma omp teams num_teams(256)
#pragma omp distribute parallel for simd dist_schedule(static, 123)
    for (int i = 0; i < 123; i++) {
      A[i] += C[i];
    }
  }
  for (int i = 0; i < 123; i++)
    if (A[i] != (1)) {
      printf("Error at %d, h = %lf, d = %lf\n", i, (double)(1), A[i]);
      fail = 1;
    }
  if (fail)
    printf("Failed\n");
  else
    printf("Succeeded\n");
  {
    int i;
    for (i = 0; i < (992); i++) {
      A[i] = 0;
    }
  };
  ten = 10;
  chunkSize = 123 / ten;
  for (int t = 0; t < (1); t++) {
#pragma omp target
#pragma omp teams num_teams(256)
#pragma omp distribute parallel for simd dist_schedule(static, chunkSize)
    for (int i = 0; i < 123; i++) {
      A[i] += C[i];
    }
  }
  for (int i = 0; i < 123; i++)
    if (A[i] != (1)) {
      printf("Error at %d, h = %lf, d = %lf\n", i, (double)(1), A[i]);
      fail = 1;
    }
  if (fail)
    printf("Failed\n");
  else
    printf("Succeeded\n");
  {
    int i;
    for (i = 0; i < (992); i++) {
      A[i] = 0;
    }
  };
  {
    int i;
    for (i = 0; i < (992); i++) {
      B[i] = 0;
    }
  };
  double p = 2.0, q = 4.0;
  for (int t = 0; t < (1); t++) {
#pragma omp target
#pragma omp teams num_teams(256)
    {
#pragma omp distribute parallel for simd private(p, q)
      for (int i = 0; i < (992); i++) {
        p = 2;
        q = 3;
        A[i] += p;
        B[i] += q;
      }
    }
  }
  for (int i = 0; i < (992); i++) {
    if (A[i] != (1) * 2) {
      printf("Error at A[%d], h = %lf, d = %lf\n", i, (double)(1) * 2, A[i]);
      fail = 1;
    }
    if (B[i] != (1) * 3) {
      printf("Error at B[%d], h = %lf, d = %lf\n", i, (double)(1) * 3, B[i]);
      fail = 1;
    }
  }
  if (fail)
    printf("Failed\n");
  else
    printf("Succeeded\n");
  {
    int i;
    for (i = 0; i < (992); i++) {
      A[i] = 0;
    }
  };
  {
    int i;
    for (i = 0; i < (992); i++) {
      B[i] = 0;
    }
  };
  p = 2.0, q = 4.0;
  for (int t = 0; t < (1); t++) {
#pragma omp target
#pragma omp teams num_teams(64)
    {
#pragma omp distribute simd firstprivate(p, q)
      for (int i = 0; i < 128; i++) {
        p += 3.0;
        q += 7.0;
        A[i] += p;
        B[i] += q;
      }
    }
  }
  for (int i = 0; i < 128; i++) {
    if (i % 2 == 0) {
      if (A[i] != (2.0 + 3.0) * (1)) {
        printf("Error at A[%d], h = %lf, d = %lf\n", i, (double)(2.0 + 3.0) * (1), A[i]);
        fail = 1;
      }
      if (B[i] != (4.0 + 7.0) * (1)) {
        printf("Error at B[%d], h = %lf, d = %lf\n", i, (double)(4.0 + 7.0) * (1), B[i]);
        fail = 1;
      }
    } else {
      if (A[i] != (2.0 + 3.0 * 2) * (1)) {
        printf("Error at A[%d], h = %lf, d = %lf\n", i, (double)(2.0 + 3.0 * 2) * (1), A[i]);
        fail = 1;
      }
      if (B[i] != (4.0 + 7.0 * 2) * (1)) {
        printf("Error at B[%d], h = %lf, d = %lf\n", i, (double)(4.0 + 7.0 * 2) * (1), B[i]);
        fail = 1;
      }
    }
  }
  if (fail)
    printf("Failed\n");
  else
    printf("Succeeded\n");
  int lastpriv = -1;
#pragma omp target map(tofrom : lastpriv)
#pragma omp teams num_teams(10)
#pragma omp distribute parallel for simd lastprivate(lastpriv)
  for (int i = 0; i < omp_get_num_teams(); i++)
    lastpriv = omp_get_team_num();
  if (lastpriv != 9) {
    printf("lastpriv value is %d and should have been %d\n", lastpriv, 9);
    fail = 1;
  }
  if (fail)
    printf("Failed\n");
  else
    printf("Succeeded\n");
  double *S = malloc((992) * (992) * sizeof(double));
  double *T = malloc((992) * (992) * sizeof(double));
  double *U = malloc((992) * (992) * sizeof(double));
  for (int i = 0; i < (992); i++)
    for (int j = 0; j < (992); j++) {
      S[i * (992) + j] = 0.0;
      T[i * (992) + j] = 1.0;
      U[i * (992) + j] = 2.0;
    }
  for (int t = 0; t < (1); t++) {
#pragma omp target map(tofrom : S[:N * N]), map(to : T[:N * N], U[:N * N])
#pragma omp teams num_teams(512)
#pragma omp distribute parallel for simd collapse(2)
    for (int i = 0; i < (992); i++)
      for (int j = 0; j < (992); j++)
        S[i * (992) + j] += T[i * (992) + j] + U[i * (992) + j];
  }
  for (int i = 0; i < (992); i++)
    for (int j = 0; j < (992); j++)
      if (S[i * (992) + j] != (1) * 3.0) {
        printf("Error at (%d,%d), h = %lf, d = %lf\n", i, j, (double)(1) * 3.0, S[i * (992) + j]);
        fail = 1;
      }
  if (fail)
    printf("Failed\n");
  else
    printf("Succeeded\n");
  int M = (992) / 8;
  double *V = malloc(M * M * M * sizeof(double));
  double *Z = malloc(M * M * M * sizeof(double));
  for (int i = 0; i < M; i++)
    for (int j = 0; j < M; j++)
      for (int k = 0; k < M; k++) {
        V[i * M * M + j * M + k] = 2.0;
        Z[i * M * M + j * M + k] = 3.0;
      }
  for (int t = 0; t < (1); t++) {
#pragma omp target map(tofrom : V[:M * M * M]), map(to : Z[:M * M * M])
#pragma omp teams num_teams(512)
#pragma omp distribute parallel for simd collapse(3)
    for (int i = 0; i < M; i++)
      for (int j = 0; j < M; j++)
        for (int k = 0; k < M; k++)
          V[i * M * M + j * M + k] += Z[i * M * M + j * M + k];
  }
  for (int i = 0; i < M; i++)
    for (int j = 0; j < M; j++)
      for (int k = 0; k < M; k++)
        if (V[i * M * M + j * M + k] != 2.0 + (1) * 3.0) {
          printf("Error at (%d,%d), h = %lf, d = %lf\n", i, j, (double)(1) * 3.0, V[i * M * M + j * M + k]);
          fail = 1;
        }
  if (fail)
    printf("Failed\n");
  else
    printf("Succeeded\n");
  return 0;
}
```