// File: /workspace/github_c_makefile_star2_O2/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 0x12416(%rip), %rdi     # 0x260f0
testq %rdi, %rdi
je 0x13ce4
callq 0x6150
movq 0x12435(%rip), %r15     # 0x26120
testq %r15, %r15
je 0x13cf9
movq 0x118(%r15), %rax
jmp 0x13cfb
xorl %eax, %eax
movq %r15, %rbx
testq %rbx, %rbx
je 0x13f7c
movq %rax, %r15
leaq 0x100(%rbx), %r12
movq 0x100(%rbx), %r13
testq %r13, %r13
je 0x13d26
movq 0x110(%r13), %rax
jmp 0x13d28
xorl %eax, %eax
movq %r13, %r14
testq %r14, %r14
je 0x13e44
movq %rax, %r13
movq 0x108(%r14), %rax
testq %rax, %rax
je 0x13d49
movq (%r12), %rdx
jmp 0x13d5b
cmpq $0x0, 0x110(%r14)
movq (%r12), %rdx
je 0x13e1e
leaq 0x100(%r14), %rcx
movq 0x100(%rdx), %rdi
cmpq 0x18(%rdi), %rcx
jne 0x13d7a
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 0x13d9b
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 0x13db3
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 0x13ddd
addq %rax, %rsi
movq 0x120(%r14), %rax
movq %rax, (%rsi)
movq 0x118(%r14), %rax
movq 0x120(%r14), %rcx
testq %rax, %rax
je 0x13df4
movq %rcx, 0x20(%rax)
testq %rcx, %rcx
je 0x13dfd
movq %rax, 0x18(%rcx)
decl 0x10(%rdx)
movq %r14, %rdi
callq 0x6050
movl $0x0, %eax
movq %r13, %r14
testq %r13, %r13
je 0x13d2b
jmp 0x13d1d
movq 0x100(%rdx), %rax
movq (%rax), %rdi
callq 0x6050
movq (%r12), %rax
movq 0x100(%rax), %rdi
callq 0x6050
andq $0x0, (%r12)
jmp 0x13e00
movq 0x110(%rbx), %rcx
testq %rcx, %rcx
je 0x13e59
movq 0x122c9(%rip), %rdx     # 0x26120
jmp 0x13e6e
cmpq $0x0, 0x118(%rbx)
movq 0x122b8(%rip), %rdx     # 0x26120
je 0x13f50
leaq 0x108(%rbx), %rax
movq 0x108(%rdx), %rsi
cmpq 0x18(%rsi), %rax
jne 0x13e8d
movq 0x20(%rsi), %rdx
addq %rcx, %rdx
movq %rdx, 0x18(%rsi)
movq 0x118(%rbx), %rdx
testq %rcx, %rcx
je 0x13eab
movq 0x20(%rsi), %rsi
movq %rdx, 0x10(%rcx,%rsi)
movq 0x12277(%rip), %rsi     # 0x26120
jmp 0x13eb5
movq %rdx, 0x1226e(%rip)     # 0x26120
movq %rdx, %rsi
testq %rdx, %rdx
je 0x13ed1
movq 0x108(%rsi), %rsi
movq 0x20(%rsi), %rsi
movq %rcx, 0x8(%rdx,%rsi)
movq 0x1224f(%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 0x13f01
addq %rcx, %rdx
movq 0x128(%rbx), %rax
movq %rax, (%rdx)
movq 0x120(%rbx), %rax
movq 0x128(%rbx), %rcx
testq %rax, %rax
je 0x13f18
movq %rcx, 0x20(%rax)
testq %rcx, %rcx
je 0x13f21
movq %rax, 0x18(%rcx)
movq 0x121f8(%rip), %rax     # 0x26120
movq 0x108(%rax), %rax
decl 0x10(%rax)
movq %rbx, %rdi
callq 0x6050
movl $0x0, %eax
movq %r15, %rbx
testq %r15, %r15
je 0x13cfe
jmp 0x13cf0
movq 0x108(%rdx), %rax
movq (%rax), %rdi
callq 0x6050
movq 0x121ba(%rip), %rax     # 0x26120
movq 0x108(%rax), %rdi
callq 0x6050
andq $0x0, 0x121a6(%rip)     # 0x26120
jmp 0x13f32
movq 0x121a5(%rip), %r14     # 0x26128
testq %r14, %r14
je 0x13f91
movq 0x310(%r14), %rax
jmp 0x13f93
xorl %eax, %eax
movq %r14, %rbx
testq %rbx, %rbx
je 0x140da
movq %rax, %r14
movq 0x308(%rbx), %rcx
testq %rcx, %rcx
je 0x13fb7
movq 0x12173(%rip), %rdx     # 0x26128
jmp 0x13fcc
cmpq $0x0, 0x310(%rbx)
movq 0x12162(%rip), %rdx     # 0x26128
je 0x140ae
leaq 0x300(%rbx), %rax
movq 0x300(%rdx), %rsi
cmpq 0x18(%rsi), %rax
jne 0x13feb
movq 0x20(%rsi), %rdx
addq %rcx, %rdx
movq %rdx, 0x18(%rsi)
movq 0x310(%rbx), %rdx
testq %rcx, %rcx
je 0x14009
movq 0x20(%rsi), %rsi
movq %rdx, 0x10(%rcx,%rsi)
movq 0x12121(%rip), %rsi     # 0x26128
jmp 0x14013
movq %rdx, 0x12118(%rip)     # 0x26128
movq %rdx, %rsi
testq %rdx, %rdx
je 0x1402f
movq 0x300(%rsi), %rsi
movq 0x20(%rsi), %rsi
movq %rcx, 0x8(%rdx,%rsi)
movq 0x120f9(%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 0x1405f
addq %rcx, %rdx
movq 0x320(%rbx), %rax
movq %rax, (%rdx)
movq 0x318(%rbx), %rax
movq 0x320(%rbx), %rcx
testq %rax, %rax
je 0x14076
movq %rcx, 0x20(%rax)
testq %rcx, %rcx
je 0x1407f
movq %rax, 0x18(%rcx)
movq 0x120a2(%rip), %rax     # 0x26128
movq 0x300(%rax), %rax
decl 0x10(%rax)
movq %rbx, %rdi
callq 0x6050
movl $0x0, %eax
movq %r14, %rbx
testq %r14, %r14
je 0x13f96
jmp 0x13f88
movq 0x300(%rdx), %rax
movq (%rax), %rdi
callq 0x6050
movq 0x12064(%rip), %rax     # 0x26128
movq 0x300(%rax), %rdi
callq 0x6050
andq $0x0, 0x12050(%rip)     # 0x26128
jmp 0x14090
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq