// File: /workspace/github_c_makefile_star2_O2/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
pushq $0x1
popq %r15
pushq $0x4
popq %r13
movq %r15, %rdi
movq %r13, %rsi
callq 0x1050
movq %rax, %r14
xorl %ebx, %ebx
pushq $-0x1
popq %rsi
xorl %ebp, %ebp
cmpq $0x64, %rbp
je 0x1228
movq %rsi, %rax
leaq (%rbx,%rax), %rcx
cmpq $-0x1, %rcx
je 0x11bd
movl 0x4(%r14,%rax,4), %ecx
incq %rax
cmpq %rcx, %rax
je 0x11a1
jmp 0x131b
cmpq %r15, %rbp
jb 0x11fb
leaq (%r15,%r15), %r12
movq %r12, %rdi
movq %r13, %rsi
callq 0x1050
movq %rax, %r13
shlq $0x2, %r15
movq %rax, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x1060
movq %r14, %rdi
callq 0x1030
pushq $-0x1
popq %rsi
movq %r12, %r15
movq %r13, %r14
pushq $0x4
popq %r13
leaq 0x1(%rbp), %rax
movl %ebp, (%r14,%rbp,4)
movq %rsi, %rcx
cmpq %rcx, %rbp
je 0x121d
movl 0x4(%r14,%rcx,4), %edx
incq %rcx
cmpq %rdx, %rcx
je 0x1206
jmp 0x1334
decq %rbx
movq %rax, %rbp
jmp 0x1194
pushq $0x64
popq %rax
testl %eax, %eax
je 0x1259
leaq -0x1(%rax), %rcx
cmpl -0x4(%r14,%rax,4), %ecx
movq %rcx, %rax
je 0x122b
leaq 0xdef(%rip), %rdi       # 0x2033
leaq 0xdd0(%rip), %rsi       # 0x201b
leaq 0xdd6(%rip), %rcx       # 0x2028
pushq $0x16
jmp 0x137d
pushq $0x1
popq %rsi
movq %r13, %rdi
callq 0x1050
movq %rax, %r15
pushq $0x61
popq %rdi
xorl %r14d, %r14d
pushq $0x60
popq %rbp
xorl %ebx, %ebx
cmpq $0x19, %rbx
je 0x130a
movq %rbp, %rax
leaq (%r14,%rax), %rcx
cmpq $0x60, %rcx
je 0x129c
movzbl -0x60(%r15,%rax), %ecx
incq %rax
cmpq %rcx, %rax
je 0x127f
jmp 0x134d
cmpq %r13, %rbx
jb 0x12e0
leaq (,%r13,2), %r12
movq %rdi, (%rsp)
movq %r12, %rdi
pushq $0x1
popq %rsi
callq 0x1050
movq %r13, %rdx
movq %rax, %r13
btrq $0x3f, %rdx
movq %rax, %rdi
movq %r15, %rsi
callq 0x1060
movq %r15, %rdi
callq 0x1030
movq (%rsp), %rdi
movq %r13, %r15
movq %r12, %r13
movb %dil, (%r15,%rbx)
incq %rbx
xorl %eax, %eax
cmpb %al, %bl
je 0x12ff
leaq 0x1(%rax), %rcx
leal 0x60(%rcx), %edx
cmpb (%r15,%rax), %dl
movq %rcx, %rax
je 0x12e9
jmp 0x1366
incq %rdi
decq %r14
jmp 0x1272
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xce2(%rip), %rdi       # 0x2004
leaq 0xcf2(%rip), %rsi       # 0x201b
leaq 0xcf8(%rip), %rcx       # 0x2028
pushq $0xe
jmp 0x137d
leaq 0xcc9(%rip), %rdi       # 0x2004
leaq 0xcd9(%rip), %rsi       # 0x201b
leaq 0xcdf(%rip), %rcx       # 0x2028
pushq $0x12
jmp 0x137d
leaq 0xcf8(%rip), %rdi       # 0x204c
leaq 0xcc0(%rip), %rsi       # 0x201b
leaq 0xcc6(%rip), %rcx       # 0x2028
pushq $0x1c
jmp 0x137d
leaq 0xcdf(%rip), %rdi       # 0x204c
leaq 0xca7(%rip), %rsi       # 0x201b
leaq 0xcad(%rip), %rcx       # 0x2028
pushq $0x20
popq %rdx
callq 0x1040