// File: /workspace/github_c_makefile_star2_O3/wjmelements[P]evm/tst/vector.c
// Function: main
int main() {
    ints_t naturals;
    ints_init(&naturals, 1);
    for (int i = 0; i < 100; i++) {
        for (int j = 0; j < i; j++) {
            assert(naturals.sints[j] == j);
        }
        ints_append(&naturals, i);
        for (int j = 0; j <= i; j++) {
            assert(naturals.sints[j] == j);
        }
    }
    for (int i = 100; i--> 0;) {
        assert(ints_pop(&naturals) == i);
    }
    string_t alpha;
    string_init(&alpha, 4);
    for (char i = 'a'; i < 'z'; i++) {
        for (char j = 'a'; j < i; j++) {
            assert(alpha.schars[j - 'a'] == j);
        }
        string_append(&alpha, i);
        for (char j = 'a'; j <= i; j++) {
            assert(alpha.schars[j - 'a'] == j);
        }
    }

    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl $0x1, %r13d
movl $0x1, %edi
movl $0x4, %esi
callq 0x1050
movq %rax, %rbx
xorl %ebp, %ebp
movl $0x1, %r14d
testq %rbp, %rbp
je 0x11b2
xorl %eax, %eax
movl (%rbx,%rax,4), %ecx
cmpq %rcx, %rax
jne 0x1349
incq %rax
cmpq %rax, %rbp
jne 0x119e
cmpq %r14, %rbp
jb 0x11eb
leaq (%r14,%r14), %r15
movl $0x4, %esi
movq %r15, %rdi
callq 0x1050
movq %rax, %r12
shlq $0x2, %r14
movq %rax, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x1060
movq %rbx, %rdi
callq 0x1030
movq %r15, %r14
movq %r12, %rbx
leaq 0x1(%rbp), %rax
movl %ebp, (%rbx,%rbp,4)
xorl %ecx, %ecx
movl (%rbx,%rcx,4), %edx
cmpq %rdx, %rcx
jne 0x130b
incq %rcx
cmpq %rcx, %r13
jne 0x11f4
incq %r13
movq %rax, %rbp
cmpq $0x64, %rax
jne 0x1197
movl $0x64, %eax
testl %eax, %eax
je 0x1249
leaq -0x1(%rax), %rcx
cmpl -0x4(%rbx,%rax,4), %ecx
movq %rcx, %rax
je 0x1219
leaq 0xe02(%rip), %rdi       # 0x2033
leaq 0xde3(%rip), %rsi       # 0x201b
leaq 0xde9(%rip), %rcx       # 0x2028
movl $0x16, %edx
callq 0x1040
movl $0x4, %r15d
movl $0x4, %edi
movl $0x1, %esi
callq 0x1050
movq %rax, %r14
movl $0x61, %r13d
xorl %ebp, %ebp
xorl %ebx, %ebx
cmpq $0x62, %r13
jb 0x1295
movl $0x61, %eax
movzbl -0x61(%r14,%rax), %ecx
cmpq %rcx, %rax
jne 0x1368
leaq (%rax,%rbp), %rcx
incq %rcx
incq %rax
cmpq $0x61, %rcx
jne 0x1276
cmpq %r15, %rbx
jb 0x12d1
leaq (%r15,%r15), %rdi
movq %rdi, (%rsp)
movl $0x1, %esi
callq 0x1050
movq %rax, %r12
btrq $0x3f, %r15
movq %rax, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x1060
movq %r14, %rdi
callq 0x1030
movq (%rsp), %r15
movq %r12, %r14
movb %r13b, (%r14,%rbx)
incq %rbx
xorl %eax, %eax
leal 0x61(%rax), %ecx
cmpb (%r14,%rax), %cl
jne 0x132a
incq %rax
cmpb %al, %bl
jne 0x12da
incq %r13
decq %rbp
cmpq $0x19, %rbx
jne 0x126b
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xcf2(%rip), %rdi       # 0x2004
leaq 0xd02(%rip), %rsi       # 0x201b
leaq 0xd08(%rip), %rcx       # 0x2028
movl $0x12, %edx
callq 0x1040
leaq 0xd1b(%rip), %rdi       # 0x204c
leaq 0xce3(%rip), %rsi       # 0x201b
leaq 0xce9(%rip), %rcx       # 0x2028
movl $0x20, %edx
callq 0x1040
leaq 0xcb4(%rip), %rdi       # 0x2004
leaq 0xcc4(%rip), %rsi       # 0x201b
leaq 0xcca(%rip), %rcx       # 0x2028
movl $0xe, %edx
callq 0x1040
leaq 0xcdd(%rip), %rdi       # 0x204c
leaq 0xca5(%rip), %rsi       # 0x201b
leaq 0xcab(%rip), %rcx       # 0x2028
movl $0x1c, %edx
callq 0x1040