// File: /workspace/github_c_makefile_star2_O3/adsr[P]phpspy/phpspy.c
// Function: cleanup
static void cleanup() {
    varpeek_entry_t *entry, *entry_tmp;
    varpeek_var_t *var, *var_tmp;
    glopeek_entry_t *gentry, *gentry_tmp;

    if (opt_filter_re) {
        regfree(opt_filter_re);
    }

    HASH_ITER(hh, varpeek_map, entry, entry_tmp) {
        HASH_ITER(hh, entry->varmap, var, var_tmp) {
            HASH_DEL(entry->varmap, var);
            free(var);
        }
        HASH_DEL(varpeek_map, entry);
        free(entry);
    }

    HASH_ITER(hh, glopeek_map, gentry, gentry_tmp) {
        HASH_DEL(glopeek_map, gentry);
        free(gentry);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq 0x12391(%rip), %rdi     # 0x260f0
testq %rdi, %rdi
je 0x13d69
callq 0x6150
movq 0x123b0(%rip), %rbx     # 0x26120
testq %rbx, %rbx
je 0x13fd9
movq 0x100(%rbx), %r14
movq 0x118(%rbx), %r15
testq %r14, %r14
je 0x13ea6
leaq 0x100(%rbx), %r12
movq 0x108(%r14), %rax
movq 0x110(%r14), %r13
testq %rax, %rax
je 0x13db0
movq (%r12), %rdx
jmp 0x13dc2
cmpq $0x0, 0x110(%r14)
movq (%r12), %rdx
je 0x13e7d
leaq 0x100(%r14), %rcx
movq 0x100(%rdx), %rdi
cmpq 0x18(%rdi), %rcx
jne 0x13de1
movq 0x20(%rdi), %rsi
addq %rax, %rsi
movq %rsi, 0x18(%rdi)
movq 0x110(%r14), %rsi
movq %r12, %r8
movq %rsi, %r9
testq %rax, %rax
je 0x13e02
movq 0x20(%rdi), %rdi
leaq (%rax,%rdi), %r8
addq $0x10, %r8
movq %rdx, %r9
movq %rsi, (%r8)
movq 0x100(%r9), %rdx
testq %rsi, %rsi
je 0x13e1a
movq 0x20(%rdx), %rdi
movq %rax, 0x8(%rsi,%rdi)
movl 0x8(%rdx), %eax
decl %eax
andl 0x134(%r14), %eax
movq (%rdx), %rsi
shlq $0x4, %rax
decl 0x8(%rsi,%rax)
cmpq %rcx, (%rsi,%rax)
jne 0x13e44
addq %rax, %rsi
movq 0x120(%r14), %rax
movq %rax, (%rsi)
movq 0x118(%r14), %rax
movq 0x120(%r14), %rcx
testq %rax, %rax
je 0x13e5b
movq %rcx, 0x20(%rax)
testq %rcx, %rcx
je 0x13e64
movq %rax, 0x18(%rcx)
decl 0x10(%rdx)
movq %r14, %rdi
callq 0x6050
movq %r13, %r14
testq %r13, %r13
jne 0x13d97
jmp 0x13ea6
movq 0x100(%rdx), %rax
movq (%rax), %rdi
callq 0x6050
movq (%r12), %rax
movq 0x100(%rax), %rdi
callq 0x6050
movq $0x0, (%r12)
jmp 0x13e67
movq 0x110(%rbx), %rcx
testq %rcx, %rcx
je 0x13ebb
movq 0x12267(%rip), %rdx     # 0x26120
jmp 0x13ed0
cmpq $0x0, 0x118(%rbx)
movq 0x12256(%rip), %rdx     # 0x26120
je 0x13faa
leaq 0x108(%rbx), %rax
movq 0x108(%rdx), %rsi
cmpq 0x18(%rsi), %rax
jne 0x13eef
movq 0x20(%rsi), %rdx
addq %rcx, %rdx
movq %rdx, 0x18(%rsi)
movq 0x118(%rbx), %rdx
testq %rcx, %rcx
je 0x13f0d
movq 0x20(%rsi), %rsi
movq %rdx, 0x10(%rcx,%rsi)
movq 0x12215(%rip), %rsi     # 0x26120
jmp 0x13f17
movq %rdx, 0x1220c(%rip)     # 0x26120
movq %rdx, %rsi
testq %rdx, %rdx
je 0x13f33
movq 0x108(%rsi), %rsi
movq 0x20(%rsi), %rsi
movq %rcx, 0x8(%rdx,%rsi)
movq 0x121ed(%rip), %rsi     # 0x26120
movq 0x108(%rsi), %rdx
movl 0x8(%rdx), %ecx
decl %ecx
andl 0x13c(%rbx), %ecx
movq (%rdx), %rdx
shlq $0x4, %rcx
decl 0x8(%rdx,%rcx)
cmpq %rax, (%rdx,%rcx)
jne 0x13f63
addq %rcx, %rdx
movq 0x128(%rbx), %rax
movq %rax, (%rdx)
movq 0x120(%rbx), %rax
movq 0x128(%rbx), %rcx
testq %rax, %rax
je 0x13f7a
movq %rcx, 0x20(%rax)
testq %rcx, %rcx
je 0x13f83
movq %rax, 0x18(%rcx)
movq 0x12196(%rip), %rax     # 0x26120
movq 0x108(%rax), %rax
decl 0x10(%rax)
movq %rbx, %rdi
callq 0x6050
movq %r15, %rbx
testq %r15, %r15
jne 0x13d79
jmp 0x13fd9
movq 0x108(%rdx), %rax
movq (%rax), %rdi
callq 0x6050
movq 0x12160(%rip), %rax     # 0x26120
movq 0x108(%rax), %rdi
callq 0x6050
movq $0x0, 0x12149(%rip) # 0x26120
jmp 0x13f94
movq 0x12148(%rip), %rbx     # 0x26128
testq %rbx, %rbx
je 0x14123
movq 0x308(%rbx), %rcx
movq 0x310(%rbx), %r14
testq %rcx, %rcx
je 0x14005
movq 0x12125(%rip), %rdx     # 0x26128
jmp 0x1401a
cmpq $0x0, 0x310(%rbx)
movq 0x12114(%rip), %rdx     # 0x26128
je 0x140f4
leaq 0x300(%rbx), %rax
movq 0x300(%rdx), %rsi
cmpq 0x18(%rsi), %rax
jne 0x14039
movq 0x20(%rsi), %rdx
addq %rcx, %rdx
movq %rdx, 0x18(%rsi)
movq 0x310(%rbx), %rdx
testq %rcx, %rcx
je 0x14057
movq 0x20(%rsi), %rsi
movq %rdx, 0x10(%rcx,%rsi)
movq 0x120d3(%rip), %rsi     # 0x26128
jmp 0x14061
movq %rdx, 0x120ca(%rip)     # 0x26128
movq %rdx, %rsi
testq %rdx, %rdx
je 0x1407d
movq 0x300(%rsi), %rsi
movq 0x20(%rsi), %rsi
movq %rcx, 0x8(%rdx,%rsi)
movq 0x120ab(%rip), %rsi     # 0x26128
movq 0x300(%rsi), %rdx
movl 0x8(%rdx), %ecx
decl %ecx
andl 0x334(%rbx), %ecx
movq (%rdx), %rdx
shlq $0x4, %rcx
decl 0x8(%rdx,%rcx)
cmpq %rax, (%rdx,%rcx)
jne 0x140ad
addq %rcx, %rdx
movq 0x320(%rbx), %rax
movq %rax, (%rdx)
movq 0x318(%rbx), %rax
movq 0x320(%rbx), %rcx
testq %rax, %rax
je 0x140c4
movq %rcx, 0x20(%rax)
testq %rcx, %rcx
je 0x140cd
movq %rax, 0x18(%rcx)
movq 0x12054(%rip), %rax     # 0x26128
movq 0x300(%rax), %rax
decl 0x10(%rax)
movq %rbx, %rdi
callq 0x6050
movq %r14, %rbx
testq %r14, %r14
jne 0x13fe9
jmp 0x14123
movq 0x300(%rdx), %rax
movq (%rax), %rdi
callq 0x6050
movq 0x1201e(%rip), %rax     # 0x26128
movq 0x300(%rax), %rdi
callq 0x6050
movq $0x0, 0x12007(%rip) # 0x26128
jmp 0x140de
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq