// File: /workspace/github_c_makefile_star2_O3/c-zhou[P]yahs/link.c
// Function: kh_put_str
KHASH_SET_INIT_STR(str)

void intra_link_mat_destroy(intra_link_mat_t *link_mat)
{
    if (!link_mat) return;
    uint32_t i;
    for (i = 0; i < link_mat->n; ++i)
        if (link_mat->links[i].n)
            free(link_mat->links[i].link);
    if (link_mat->links)
        free(link_mat->links);
    free(link_mat);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movl 0x8(%rdi), %eax
cmpl 0xc(%rdi), %eax
jb 0x10b9e
movl (%r14), %esi
movl 0x4(%r14), %eax
addl %eax, %eax
cmpl %eax, %esi
jbe 0x10b8c
decl %esi
jmp 0x10b8e
incl %esi
movq %r14, %rdi
callq 0x11f2f
testl %eax, %eax
js 0x10c98
movl (%r14), %r13d
leal -0x1(%r13), %esi
movsbl (%r15), %r12d
testl %r12d, %r12d
je 0x10bd5
movb 0x1(%r15), %al
testb %al, %al
je 0x10bd8
leaq 0x2(%r15), %rcx
movl %r12d, %edx
shll $0x5, %edx
subl %r12d, %edx
movsbl %al, %r12d
addl %edx, %r12d
movb (%rcx), %al
incq %rcx
testb %al, %al
jne 0x10bba
jmp 0x10bd8
xorl %r12d, %r12d
andl %esi, %r12d
movq 0x10(%r14), %rdi
movl %r12d, %eax
shrl $0x4, %eax
movl (%rdi,%rax,4), %eax
leal (%r12,%r12), %ecx
shrl %cl, %eax
testb $0x2, %al
je 0x10bfa
movl %r12d, %r13d
jmp 0x10cdb
movq %r15, 0x8(%rsp)
movq %r14, 0x10(%rsp)
movq %rbx, 0x28(%rsp)
movl $0x1, %r14d
movl %r12d, %ebx
movq %r13, 0x20(%rsp)
movl %esi, 0x1c(%rsp)
movq %rdi, 0x30(%rsp)
movl %ebx, %eax
shrl $0x4, %eax
movl (%rdi,%rax,4), %r15d
leal (%rbx,%rbx), %ebp
andl $0x1e, %ebp
movl %r15d, %eax
movl %ebp, %ecx
shrl %cl, %eax
testb $0x2, %al
jne 0x10ca6
testb $0x1, %al
jne 0x10c64
movq 0x10(%rsp), %rax
movq 0x18(%rax), %rax
movl %ebx, %ecx
movq (%rax,%rcx,8), %rdi
movq 0x8(%rsp), %rsi
callq 0x22a0
movq 0x30(%rsp), %rdi
movl 0x1c(%rsp), %esi
testl %eax, %eax
je 0x10ca6
btl %ebp, %r15d
cmovbl %ebx, %r13d
addl %r14d, %ebx
andl %esi, %ebx
incl %r14d
cmpl %r12d, %ebx
jne 0x10c20
movb $0x1, %al
movq 0x20(%rsp), %rdx
movl %edx, %ecx
cmpl %edx, %r13d
movq 0x28(%rsp), %rbx
movq 0x10(%rsp), %r14
movq 0x8(%rsp), %r15
je 0x10ccc
jmp 0x10cdb
movl $0xffffffff, (%rbx)     # imm = 0xFFFFFFFF
movl (%r14), %r13d
jmp 0x10d5f
movl %ebp, %ecx
shrl %cl, %r15d
testb $0x2, %r15b
sete %al
movl %r13d, %ecx
movl %ebx, %r12d
movq 0x28(%rsp), %rbx
movq 0x10(%rsp), %r14
movq 0x8(%rsp), %r15
movq 0x20(%rsp), %rdx
cmpl %edx, %ecx
cmovel %r12d, %ecx
testb %al, %al
cmovnel %r12d, %ecx
movl %ecx, %r13d
movl %r13d, %eax
shrl $0x4, %eax
movl (%rdi,%rax,4), %edx
leal (,%r13,2), %ecx
andl $0x1e, %ecx
shrl %cl, %edx
testb $0x2, %dl
jne 0x10d03
testb $0x1, %dl
jne 0x10d3a
movl $0x0, (%rbx)
jmp 0x10d5f
movq 0x18(%r14), %rdx
movl $0x3, %esi
shll %cl, %esi
movl %r13d, %ecx
movq %r15, (%rdx,%rcx,8)
notl %esi
movq 0x10(%r14), %rcx
andl %esi, (%rcx,%rax,4)
movq 0x4(%r14), %xmm0
pcmpeqd %xmm1, %xmm1
psubd %xmm1, %xmm0
movq %xmm0, 0x4(%r14)
movl $0x1, (%rbx)
jmp 0x10d5f
movq 0x18(%r14), %rdx
movl %r13d, %esi
movq %r15, (%rdx,%rsi,8)
movl $0x3, %edx
shll %cl, %edx
notl %edx
movq 0x10(%r14), %rcx
andl %edx, (%rcx,%rax,4)
incl 0x4(%r14)
movl $0x2, (%rbx)
movl %r13d, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq