// File: /workspace/github_cpp_makefile_star2_O1/gprateek93[P]LaTeX_to_HTML/converter.cpp
// Function: converter::traverseMath[abi:cxx11](ast_node*, int)
string converter :: traverseMath(ast_node *root, int type){
    string s = "";
    if(type == 22 || type == 23){
        s+="<sub>" + root->data + "</sub>" + getMapping(type) + "<sup>" + root->attributes + "</sup>";
    }
    else if(type == 20){
        s+=getMapping(type)+root->data;
    }
    else if(type == 21){
        s+="("+root->data+")/("+root->attributes+")";
    }
    s+=traverseChildren(root);
    return s;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movl %ecx, %r12d
movq %rdx, %r14
movq %rsi, %r13
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, -0xf0(%rbp)
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movl %ecx, %eax
andl $-0x2, %eax
cmpl $0x16, %eax
jne 0x9414
leaq 0x8(%r14), %rdx
leaq 0x474c(%rip), %rsi      # 0xdb0d
leaq -0x120(%rbp), %rdi
callq 0xa05d
leaq 0x473f(%rip), %rsi      # 0xdb13
leaq -0x120(%rbp), %rdi
callq 0x33d0
leaq -0xb8(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9495
movq %rdx, -0xc8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xb8(%rbp)
jmp 0x949c
cmpl $0x15, %r12d
je 0x9548
cmpl $0x14, %r12d
jne 0x997e
leaq -0xa8(%rbp), %rsi
movl $0x14, (%rsi)
movq %r13, %rdi
callq 0xa0f0
leaq -0x58(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq -0x68(%rbp), %rdi
callq 0x3ddc
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
leaq -0x68(%rbp), %rdi
callq 0x30b0
leaq -0x38(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x983e
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x9845
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, -0xc0(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0xfc(%rbp), %rsi
movl %r12d, (%rsi)
movq %r13, %rdi
callq 0xa0f0
leaq -0xd8(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq -0xe8(%rbp), %rdi
callq 0x3ddc
movq -0xc8(%rbp), %rcx
movq -0xc0(%rbp), %r8
movq -0xe0(%rbp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r15, %rcx
je 0x9514
movq -0xb8(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x9533
movl $0xf, %esi
cmpq %r12, -0xe8(%rbp)
je 0x952e
movq -0xd8(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x95a7
movq -0xe8(%rbp), %rsi
leaq -0xc8(%rbp), %rdi
callq 0x30b0
jmp 0x95b7
leaq 0x8(%r14), %rdx
leaq 0x40d7(%rip), %rsi      # 0xd62a
leaq -0x88(%rbp), %rdi
callq 0xa05d
leaq 0x45c1(%rip), %rsi      # 0xdb27
leaq -0x88(%rbp), %rdi
callq 0x33d0
leaq -0x98(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x97dd
movq %rdx, -0xa8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x98(%rbp)
jmp 0x97e5
leaq -0xe8(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3240
leaq -0x78(%rbp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x95db
movq %rsi, -0x88(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x78(%rbp)
jmp 0x95e1
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0x80(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x4516(%rip), %rsi      # 0xdb1a
leaq -0x88(%rbp), %rdi
callq 0x33d0
leaq -0x98(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x963d
movq %rdx, -0xa8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x98(%rbp)
jmp 0x9643
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq -0xa8(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x28(%r14), %rsi
movq 0x30(%r14), %rdx
callq 0x30b0
leaq -0x58(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9693
movq %rdx, -0x68(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x58(%rbp)
jmp 0x969b
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq -0x68(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x4463(%rip), %rsi      # 0xdb20
callq 0x33d0
leaq -0x38(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x96e6
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x96ed
movups (%rcx), %xmm0
movups %xmm0, (%r15)
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 %r15, %rdi
je 0x9729
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
movq -0x68(%rbp), %rdi
cmpq %r12, %rdi
leaq -0xb8(%rbp), %r15
je 0x9745
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x3200
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
leaq -0xd8(%rbp), %r12
je 0x976e
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x3200
leaq -0x78(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9787
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x3200
movq -0xe8(%rbp), %rdi
cmpq %r12, %rdi
je 0x97a2
movq -0xd8(%rbp), %rsi
incq %rsi
callq 0x3200
movq -0xc8(%rbp), %rdi
cmpq %r15, %rdi
je 0x97bd
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x3200
leaq -0x110(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x997e
movq -0x110(%rbp), %rsi
jmp 0x9976
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq %r13, -0xf8(%rbp)
movq 0x8(%rax), %rdx
leaq -0xa8(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x28(%r14), %rsi
movq 0x30(%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 0x9897
movq %rsi, %r13
movq %rdx, -0x68(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x58(%rbp)
jmp 0x98a0
movups (%rcx), %xmm0
movups %xmm0, (%r15)
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 %r15, %rdi
je 0x9881
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
movq -0x68(%rbp), %rdi
cmpq %r12, %rdi
je 0x997e
movq -0x58(%rbp), %rsi
jmp 0x9976
movups (%rcx), %xmm0
movq %rsi, %r13
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 0x409f(%rip), %rsi      # 0xd961
callq 0x33d0
leaq -0x38(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x98eb
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x98f2
movups (%rcx), %xmm0
movups %xmm0, (%r15)
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 %r15, %rdi
je 0x992e
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0x9943
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x3200
movq -0xa8(%rbp), %rdi
cmpq %r12, %rdi
movq -0xf8(%rbp), %r13
je 0x9965
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x3200
leaq -0x78(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x997e
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x3200
leaq -0x48(%rbp), %rdi
movq %r13, %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 0x99b6
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
movq %rbx, %rax
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x99e8
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x99e8
movq %rax, %r14
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0x9a1c
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x9a1c
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x9a3c
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x9a3c
movq %rax, %r14
movq -0xa8(%rbp), %rdi
cmpq %r12, %rdi
je 0x9a55
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x9a55
movq %rax, %r14
movq -0x68(%rbp), %rdi
cmpq %r12, %rdi
je 0x9b7f
movq -0x58(%rbp), %rsi
jmp 0x9b77
movq %rax, %r14
leaq -0x78(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9b7f
movq -0x78(%rbp), %rsi
jmp 0x9b77
jmp 0x9b36
jmp 0x9b36
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x9a96
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x9a96
movq %rax, %r14
movq -0x68(%rbp), %rdi
cmpq %r12, %rdi
je 0x9ab0
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x9ab0
movq %rax, %r14
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x9ad7
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x9ad7
movq %rax, %r14
leaq -0x78(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9af5
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x9af5
movq %rax, %r14
movq -0xe8(%rbp), %rdi
leaq -0xd8(%rbp), %rax
cmpq %rax, %rdi
je 0x9b3e
movq -0xd8(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x9b3e
movq %rax, %r14
jmp 0x9b60
jmp 0x9b36
movq %rax, %r14
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9b7f
movq -0x38(%rbp), %rsi
jmp 0x9b77
movq %rax, %r14
jmp 0x9b7f
movq %rax, %r14
movq -0xc8(%rbp), %rdi
leaq -0xb8(%rbp), %rax
cmpq %rax, %rdi
je 0x9b60
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x3200
leaq -0x110(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9b7f
movq -0x110(%rbp), %rsi
incq %rsi
callq 0x3200
movq (%rbx), %rdi
cmpq -0xf0(%rbp), %rdi
je 0x9b9d
movq -0xf0(%rbp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x3200
movq %r14, %rdi
callq 0x3390
nop