// File: /workspace/github_c_makefile_star2_O1/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, %ebp
testq %rax, %rax
jne 0x125e
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 0x126b
testl %ebp, %ebp
je 0x124f
leaq 0xdba(%rip), %rdi       # 0x2004
callq 0x10e0
movq %rbx, %rdi
callq 0x1080
jmp 0x125e
movl $0x3, %ebp
movl %ebp, %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 0x123f
movq %rsp, %rdx
movl $0x0, (%rdx)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x1090
movl $0x3, %ebp
testl %eax, %eax
jne 0x123f
movq %rbx, %rdi
movq $-0x1, %rsi
xorl %edx, %edx
callq 0x1090
testl %eax, %eax
je 0x14c0
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 0x123f
movq %rsp, %r14
movl $0x0, (%r14)
movslq %r15d, %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1090
testl %eax, %eax
jne 0x14ca
movl (%rsp), %eax
leal 0x1(%rax), %r15d
movl %r15d, (%rsp)
cmpl $0x3ff, %eax            # imm = 0x3FF
jl 0x12e3
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 0x14d4
movl (%rsp), %ecx
cmpl %ecx, 0x4(%rsp)
jne 0x14de
leal 0x1(%rcx), %eax
movl %eax, (%rsp)
cmpl $0x3fe, %ecx            # imm = 0x3FE
jle 0x1319
movq %rbx, %rdi
callq 0x1040
movl $0x9, %ebp
cmpq $0x400, %rax            # imm = 0x400
jne 0x123f
movl $0x200, %esi            # imm = 0x200
movq %rbx, %rdi
callq 0x10c0
movl $0xa, %ebp
testq %rax, %rax
je 0x123f
cmpl $0x200, (%rax)          # imm = 0x200
jne 0x123f
leaq 0x4(%rsp), %r14
movl $0x0, (%r14)
leaq 0x155(%rip), %rsi       # 0x14f2
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1030
movl $0xb, %ebp
cmpl $0x7fe00, (%r14)        # imm = 0x7FE00
jne 0x123f
leaq 0x4(%rsp), %r14
movl $0x0, (%r14)
leaq 0x12a(%rip), %rsi       # 0x14f7
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1050
movl $0xc, %ebp
cmpl $0x7fe00, (%r14)        # imm = 0x7FE00
jne 0x123f
movl $0x200, %esi            # imm = 0x200
movq %rbx, %rdi
callq 0x10a0
movl $0xd, %ebp
testl %eax, %eax
jne 0x123f
movl $0x200, %esi            # imm = 0x200
movq %rbx, %rdi
callq 0x10c0
movl $0xe, %ebp
testq %rax, %rax
je 0x123f
cmpl $0x201, (%rax)          # imm = 0x201
jne 0x123f
leaq 0xca(%rip), %rsi        # 0x14fc
movq %rbx, %rdi
xorl %edx, %edx
callq 0x10b0
testq %rax, %rax
je 0x14e8
movq %rax, %r14
movq %rax, %rdi
callq 0x1040
movl $0x10, %ebp
cmpq $0x3fe, %rax            # imm = 0x3FE
jne 0x123f
movq %r14, %rdi
callq 0x1080
leaq 0x8c(%rip), %rsi        # 0x14fc
xorl %r14d, %r14d
movq %rbx, %rdi
xorl %edx, %edx
callq 0x1060
movq %rbx, %rdi
callq 0x1040
movl $0x11, %ebp
cmpq $0x3fe, %rax            # imm = 0x3FE
jne 0x123f
leaq 0x66(%rip), %rsi        # 0x1503
movq %rbx, %rdi
xorl %edx, %edx
callq 0x1070
movq %rbx, %rdi
callq 0x1040
testq %rax, %rax
movl $0x12, %ebp
cmovel %r14d, %ebp
jmp 0x123f
movl $0x4, %ebp
jmp 0x123f
movl $0x6, %ebp
jmp 0x123f
movl $0x7, %ebp
jmp 0x123f
movl $0x8, %ebp
jmp 0x123f
movl $0xf, %ebp
jmp 0x123f