// File: /workspace/github_cpp_makefile_star2_O1/gprateek93[P]LaTeX_to_HTML/converter.cpp
// Function: converter::traverseAnchor[abi:cxx11](ast_node*, int)
string converter :: traverseAnchor(ast_node * root, int type){
    string s = "";
    if(type == 9){
        //label
        s += "<a name=\"" + root->data + "\"/>";
    }
    else{
        //ref
        s += "<a href=\"#" + root->data + "\">" + root->data + "</a>";
    }
    s += traverseChildren(root);
    return s;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, -0x70(%rbp)
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
addq $0x8, %rdx
cmpl $0x9, %ecx
jne 0x8a36
leaq 0x50d6(%rip), %rsi      # 0xdace
leaq -0x68(%rbp), %rdi
callq 0xa05d
leaq 0x50d0(%rip), %rsi      # 0xdad8
leaq -0x68(%rbp), %rdi
callq 0x33d0
leaq -0x38(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8a84
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x8a8c
leaq 0x509f(%rip), %rsi      # 0xdadc
leaq -0xb0(%rbp), %rdi
callq 0xa05d
leaq 0x5097(%rip), %rsi      # 0xdae7
leaq -0xb0(%rbp), %rdi
callq 0x33d0
leaq -0x80(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8ae2
movq %rdx, -0x90(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x80(%rbp)
jmp 0x8aea
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, -0x40(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %rbx, %rdi
callq 0x30b0
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0x8ac8
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
leaq -0x58(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8c1e
movq -0x58(%rbp), %rsi
jmp 0x8c16
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq -0x90(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
callq 0x30b0
leaq -0x58(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8b39
movq %rdx, -0x68(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x58(%rbp)
jmp 0x8b3f
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq -0x68(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x4f89(%rip), %rsi      # 0xdaea
callq 0x33d0
leaq -0x38(%rbp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8b8a
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x8b92
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, -0x40(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %rbx, %rdi
callq 0x30b0
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x8bce
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x8be7
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x3200
movq -0x90(%rbp), %rdi
cmpq %r12, %rdi
je 0x8bff
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x3200
leaq -0xa0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8c1e
movq -0xa0(%rbp), %rsi
incq %rsi
callq 0x3200
leaq -0x48(%rbp), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x7b96
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %rbx, %rdi
callq 0x30b0
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8c56
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x8c88
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x8c88
movq %rax, %r14
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x8ca6
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x8ca6
movq %rax, %r14
movq -0x90(%rbp), %rdi
cmpq %r12, %rdi
je 0x8cdd
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x8cdd
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0x8cf9
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x8cf9
movq %rax, %r14
leaq -0xa0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8d31
movq -0xa0(%rbp), %rsi
jmp 0x8d24
movq %rax, %r14
leaq -0x58(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8d31
movq -0x58(%rbp), %rsi
jmp 0x8d24
jmp 0x8d2e
jmp 0x8d2e
movq %rax, %r14
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8d31
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x8d31
movq %rax, %r14
movq (%rbx), %rdi
cmpq -0x70(%rbp), %rdi
je 0x8d49
movq -0x70(%rbp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x3200
movq %r14, %rdi
callq 0x3390
nop