// File: /workspace/github_cpp_makefile_star2_O1/onai[P]npio/example1.c
// Function: main
int main()
{
  int i;
  npio_Array array;

  npio_init_array(&array);
  npio_load("test1.npy", &array);

  printf("shape: ");
  for (i = 0; i < array.dim; ++i)
    printf("%ld ", array.shape[i]);
  printf("\n");

  npio_free_array(&array);
  return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x88, %rsp
movw $0x1, (%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rsp)
movups %xmm0, 0x18(%rsp)
movups %xmm0, 0x24(%rsp)
movaps 0xdc7(%rip), %xmm1      # 0x2010
movups %xmm1, 0x34(%rsp)
xorl %eax, %eax
movq %rax, 0x48(%rsp)
movl $0x0, 0x50(%rsp)
movups %xmm0, 0x58(%rsp)
movups %xmm0, 0x68(%rsp)
movq %rax, 0x78(%rsp)
leaq 0xdad(%rip), %rdi       # 0x2020
xorl %esi, %esi
xorl %eax, %eax
callq 0x1100
testl %eax, %eax
js 0x1361
movl %eax, %ebx
cmpl $0x0, 0x80(%rsp)
jne 0x1294
movl %ebx, 0x50(%rsp)
movl %ebx, %edi
xorl %esi, %esi
movl $0x2, %edx
callq 0x1090
testq %rax, %rax
js 0x132c
movq %rax, %r14
xorl %edi, %edi
movq %rax, %rsi
movl $0x3, %edx
movl $0x2, %ecx
movl %ebx, %r8d
xorl %r9d, %r9d
callq 0x1070
cmpq $-0x1, %rax
je 0x1313
movl $0x1, 0x78(%rsp)
movq %rax, 0x58(%rsp)
movq %r14, 0x60(%rsp)
movl $0x16, %ecx
cmpq $0x10, %r14
jb 0x1338
movl $0x4d554e93, %ecx       # imm = 0x4D554E93
xorl (%rax), %ecx
movzwl 0x4(%rax), %edx
xorl $0x5950, %edx           # imm = 0x5950
orl %ecx, %edx
je 0x14ac
xorl %edx, %edx
movl $0x16, %ecx
movq %rax, %rsi
jmp 0x15f0
movl %ebx, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0x1090
testq %rax, %rax
je 0x132c
callq 0x1050
movl (%rax), %ecx
jmp 0x1338
movq %rsp, %rsi
movl %ebx, %edi
callq 0x166f
movl %eax, %ecx
testl %ecx, %ecx
jne 0x135a
xorl %eax, %eax
cmpb $0x1, (%rsp)
movq 0x8(%rsp), %rcx
setne %al
leaq (%rcx,%rax,2), %rax
addq $0xa, %rax
testb $0xf, %al
je 0x1455
movl %ebx, %edi
callq 0x10a0
leaq 0xcc2(%rip), %rdi       # 0x202a
xorl %eax, %eax
callq 0x1080
movq 0x18(%rsp), %r14
testq %r14, %r14
je 0x139e
movq 0x20(%rsp), %r15
leaq 0xcad(%rip), %rbx       # 0x2032
xorl %r12d, %r12d
movq (%r15,%r12,8), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq 0x1080
incq %r12
cmpq %r12, %r14
jne 0x1388
movl $0xa, %edi
callq 0x1040
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x13c0
callq 0x1030
movq $0x0, 0x10(%rsp)
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x13d8
callq 0x1030
movq $0x0, 0x20(%rsp)
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x13f8
cmpq $0x0, 0x58(%rsp)
jne 0x13f8
callq 0x1030
movq $0x0, 0x48(%rsp)
cmpl $0x0, 0x78(%rsp)
je 0x1417
movq 0x58(%rsp), %rdi
movq 0x60(%rsp), %rsi
callq 0x10f0
movq $0x0, 0x58(%rsp)
movl 0x50(%rsp), %edi
testl %edi, %edi
js 0x142c
callq 0x10a0
movl $0xffffffff, 0x50(%rsp) # imm = 0xFFFFFFFF
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x1444
callq 0x1030
movq $0x0, 0x68(%rsp)
xorl %eax, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0x58(%rsp), %rcx
testq %rcx, %rcx
je 0x14e3
movq 0x18(%rsp), %rsi
movl $0x1, %edx
testq %rsi, %rsi
je 0x1487
movq 0x20(%rsp), %rdi
xorl %r8d, %r8d
imulq (%rdi,%r8,8), %rdx
incq %r8
cmpq %r8, %rsi
jne 0x147a
movslq 0x40(%rsp), %rsi
imulq %rdx, %rsi
shrq $0x3, %rsi
addq %rax, %rsi
cmpq 0x60(%rsp), %rsi
jne 0x135a
addq %rax, %rcx
movq %rcx, 0x48(%rsp)
jmp 0x1529
movzbl 0x6(%rax), %ecx
movb %cl, (%rsp)
movb 0x7(%rax), %dl
movb %dl, 0x1(%rsp)
cmpl $0x2, %ecx
je 0x15bd
cmpl $0x1, %ecx
jne 0x1616
movsbl 0x8(%rax), %edx
movsbl 0x9(%rax), %ecx
shll $0x8, %ecx
addl %edx, %ecx
movl $0xa, %esi
jmp 0x15e1
movslq 0x40(%rsp), %r14
imulq 0x28(%rsp), %r14
shrq $0x3, %r14
movq %r14, %rdi
callq 0x10d0
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x135a
movl 0x50(%rsp), %edi
movq %rax, %rsi
movq %r14, %rdx
callq 0x10b0
testq %rax, %rax
js 0x135a
cmpq %r14, %rax
jne 0x135a
cmpl $0x1, 0x34(%rsp)
je 0x135a
movl $0x1, 0x34(%rsp)
movq 0x28(%rsp), %rax
movq 0x48(%rsp), %rcx
movslq 0x40(%rsp), %rdx
addq $-0x8, %rdx
rolq $0x3d, %rdx
cmpq $0x1, %rdx
je 0x1652
cmpq $0x3, %rdx
je 0x1622
cmpq $0x7, %rdx
jne 0x135a
testq %rax, %rax
je 0x135a
xorl %edx, %edx
movb 0x7(%rcx,%rdx,8), %sil
movb (%rcx,%rdx,8), %dil
movb %dil, 0x7(%rcx,%rdx,8)
movb %sil, (%rcx,%rdx,8)
movzwl 0x1(%rcx,%rdx,8), %esi
rolw $0x8, %si
movzwl 0x5(%rcx,%rdx,8), %edi
rolw $0x8, %di
movw %di, 0x1(%rcx,%rdx,8)
movw %si, 0x5(%rcx,%rdx,8)
rolw $0x8, 0x3(%rcx,%rdx,8)
incq %rdx
cmpq %rdx, %rax
jne 0x157c
jmp 0x135a
movsbl 0x8(%rax), %ecx
movsbl 0x9(%rax), %edx
shll $0x8, %edx
addl %ecx, %edx
movsbl 0xa(%rax), %esi
shll $0x10, %esi
movzbl 0xb(%rax), %ecx
shll $0x18, %ecx
addl %esi, %ecx
addl %edx, %ecx
movl $0xc, %esi
movslq %ecx, %rcx
movq %rcx, 0x8(%rsp)
addq %rax, %rsi
xorl %ecx, %ecx
movb $0x1, %dl
testb %dl, %dl
je 0x1338
addq %r14, %rax
movq %rsp, %rdi
movq 0x8(%rdi), %rdx
addq %rsi, %rdx
cmpq %rax, %rdx
cmovaeq %rax, %rdx
callq 0x17af
jmp 0x1336
xorl %edx, %edx
movl $0x5f, %ecx
jmp 0x130b
testq %rax, %rax
je 0x135a
xorl %edx, %edx
movb (%rcx,%rdx,4), %sil
movb 0x3(%rcx,%rdx,4), %dil
movb %sil, 0x3(%rcx,%rdx,4)
movb %dil, (%rcx,%rdx,4)
rolw $0x8, 0x1(%rcx,%rdx,4)
incq %rdx
cmpq %rdx, %rax
jne 0x162d
jmp 0x135a
testq %rax, %rax
je 0x135a
xorl %edx, %edx
rolw $0x8, (%rcx,%rdx,2)
incq %rdx
cmpq %rdx, %rax
jne 0x165d
jmp 0x135a