// File: /workspace/github_c_makefile_star2_O3/DeforaOS[P]libSystem/tests/array.c
// Function: main
int main(void)
{
	int ret;
	intArray * array;

	if((array = array_new(SIZE_MAX)) != NULL)
		return 2;
	if((array = intarray_new()) == NULL)
		return 3;
	if((ret = _test(array)) != 0)
		error_print(PROGNAME);
	array_delete(array);
	return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq $-0x1, %rdi
callq 0x10d0
movl $0x2, %r14d
testq %rax, %rax
jne 0x125f
movl $0x4, %edi
callq 0x10d0
testq %rax, %rax
je 0x1259
movq %rax, %rbx
movq %rax, %rdi
xorl %esi, %esi
callq 0x10c0
movl $0x2, %ebp
testq %rax, %rax
je 0x126d
leaq 0xdbd(%rip), %rdi       # 0x2004
callq 0x10e0
movl %ebp, %r14d
movq %rbx, %rdi
callq 0x1080
jmp 0x125f
movl $0x3, %r14d
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rsp, %rdx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x10f0
testl %eax, %eax
je 0x1240
movq %rsp, %rdx
movl $0x0, (%rdx)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x1090
movl $0x3, %ebp
testl %eax, %eax
jne 0x1240
movq %rbx, %rdi
movq $-0x1, %rsi
xorl %edx, %edx
callq 0x1090
testl %eax, %eax
je 0x14c4
movq %rsp, %r14
movl $0xffffffff, (%r14)     # imm = 0xFFFFFFFF
xorl %r15d, %r15d
movq %rbx, %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0x10f0
movl $0x5, %ebp
orl (%r14), %eax
jne 0x1240
movq %rsp, %r14
movl $0x0, (%r14)
movslq %r15d, %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1090
testl %eax, %eax
jne 0x14ce
movl (%rsp), %eax
leal 0x1(%rax), %r15d
movl %r15d, (%rsp)
cmpl $0x3ff, %eax            # imm = 0x3FF
jl 0x12e5
movl $0x0, (%rsp)
xorl %eax, %eax
leaq 0x4(%rsp), %r14
movslq %eax, %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x10f0
testl %eax, %eax
jne 0x14d8
movl 0x4(%rsp), %ecx
cmpl (%rsp), %ecx
jne 0x14e2
leal 0x1(%rcx), %eax
movl %eax, (%rsp)
cmpl $0x3fe, %ecx            # imm = 0x3FE
jle 0x131b
movq %rbx, %rdi
callq 0x1040
movl $0x9, %ebp
cmpq $0x400, %rax            # imm = 0x400
jne 0x1240
movl $0x200, %esi            # imm = 0x200
movq %rbx, %rdi
callq 0x10c0
movl $0xa, %ebp
testq %rax, %rax
je 0x1240
cmpl $0x200, (%rax)          # imm = 0x200
jne 0x1240
leaq 0x4(%rsp), %r14
movl $0x0, (%r14)
leaq 0x157(%rip), %rsi       # 0x14f6
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1030
movl $0xb, %ebp
cmpl $0x7fe00, (%r14)        # imm = 0x7FE00
jne 0x1240
leaq 0x4(%rsp), %r14
movl $0x0, (%r14)
leaq 0x12c(%rip), %rsi       # 0x14fb
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1050
movl $0xc, %ebp
cmpl $0x7fe00, (%r14)        # imm = 0x7FE00
jne 0x1240
movl $0x200, %esi            # imm = 0x200
movq %rbx, %rdi
callq 0x10a0
movl $0xd, %ebp
testl %eax, %eax
jne 0x1240
movl $0x200, %esi            # imm = 0x200
movq %rbx, %rdi
callq 0x10c0
movl $0xe, %ebp
testq %rax, %rax
je 0x1240
cmpl $0x201, (%rax)          # imm = 0x201
jne 0x1240
leaq 0xcc(%rip), %rsi        # 0x1500
movq %rbx, %rdi
xorl %edx, %edx
callq 0x10b0
testq %rax, %rax
je 0x14ec
movq %rax, %r14
movq %rax, %rdi
callq 0x1040
movl $0x10, %ebp
cmpq $0x3fe, %rax            # imm = 0x3FE
jne 0x1240
movq %r14, %rdi
callq 0x1080
leaq 0x8e(%rip), %rsi        # 0x1500
movq %rbx, %rdi
xorl %edx, %edx
callq 0x1060
movq %rbx, %rdi
callq 0x1040
movl $0x11, %ebp
cmpq $0x3fe, %rax            # imm = 0x3FE
jne 0x1240
leaq 0x6b(%rip), %rsi        # 0x1507
xorl %r14d, %r14d
movq %rbx, %rdi
xorl %edx, %edx
callq 0x1070
movq %rbx, %rdi
callq 0x1040
movl $0x12, %ebp
testq %rax, %rax
jne 0x1240
jmp 0x124f
movl $0x4, %ebp
jmp 0x1240
movl $0x6, %ebp
jmp 0x1240
movl $0x7, %ebp
jmp 0x1240
movl $0x8, %ebp
jmp 0x1240
movl $0xf, %ebp
jmp 0x1240