// File: /workspace/github_cpp_makefile_star2_O3/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 0x884c
leaq 0x52c0(%rip), %rsi      # 0xdace
leaq -0x68(%rbp), %rdi
callq 0x9e68
leaq 0x52ba(%rip), %rsi      # 0xdad8
leaq -0x68(%rbp), %rdi
callq 0x33d0
leaq -0x38(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x889a
movq %rsi, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x88a5
leaq 0x5289(%rip), %rsi      # 0xdadc
leaq -0xb0(%rbp), %rdi
callq 0x9e68
leaq 0x5281(%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 0x88f3
movq %rdx, -0x90(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x80(%rbp)
jmp 0x88fb
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq %r12, %rsi
movq 0x8(%rax), %rdx
movq %rdx, -0x40(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
callq 0x30b0
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0x88d9
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
leaq -0x58(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8a2f
movq -0x58(%rbp), %rsi
jmp 0x8a27
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 0x894a
movq %rdx, -0x68(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x58(%rbp)
jmp 0x8950
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 0x5178(%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 0x899b
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x89a3
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 0x89df
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x89f8
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x3200
movq -0x90(%rbp), %rdi
cmpq %r12, %rdi
je 0x8a10
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x3200
leaq -0xa0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8a2f
movq -0xa0(%rbp), %rsi
incq %rsi
callq 0x3200
leaq -0x48(%rbp), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x79ac
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 0x8a67
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 0x8a99
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x8a99
movq %rax, %r14
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x8ab7
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x8ab7
movq %rax, %r14
movq -0x90(%rbp), %rdi
cmpq %r12, %rdi
je 0x8aee
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x8aee
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0x8b0a
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x8b0a
movq %rax, %r14
leaq -0xa0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8b42
movq -0xa0(%rbp), %rsi
jmp 0x8b35
movq %rax, %r14
leaq -0x58(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8b42
movq -0x58(%rbp), %rsi
jmp 0x8b35
jmp 0x8b3f
jmp 0x8b3f
movq %rax, %r14
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8b42
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x8b42
movq %rax, %r14
movq (%rbx), %rdi
cmpq -0x70(%rbp), %rdi
je 0x8b5a
movq -0x70(%rbp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x3200
movq %r14, %rdi
callq 0x3390