// File: /workspace/github_cpp_makefile_star2_O3/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, %r15
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, -0xd0(%rbp)
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movl %ecx, %eax
andl $-0x2, %eax
cmpl $0x16, %eax
jne 0x9224
leaq 0x8(%r14), %rdx
leaq 0x493c(%rip), %rsi      # 0xdb0d
leaq -0x118(%rbp), %rdi
callq 0x9e68
leaq 0x492f(%rip), %rsi      # 0xdb13
leaq -0x118(%rbp), %rdi
callq 0x33d0
leaq -0xb8(%rbp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x92a5
movq %rdx, -0xc8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xb8(%rbp)
jmp 0x92ad
cmpl $0x15, %r12d
je 0x9355
cmpl $0x14, %r12d
jne 0x9781
leaq -0x88(%rbp), %rsi
movl $0x14, (%rsi)
movq %r15, %rdi
callq 0x9efa
leaq -0x58(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq -0x68(%rbp), %rdi
callq 0x3c9c
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
leaq -0x68(%rbp), %rdi
callq 0x30b0
leaq -0x38(%rbp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x9640
movq %rsi, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x964b
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, -0xc0(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0xf4(%rbp), %rsi
movl %r12d, (%rsi)
movq %r15, %rdi
callq 0x9efa
leaq -0xe0(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq -0xf0(%rbp), %rdi
callq 0x3c9c
movq -0xc8(%rbp), %rcx
movq -0xc0(%rbp), %r8
movq -0xe8(%rbp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r13, %rcx
je 0x9325
movq -0xb8(%rbp), %rdi
movq -0xf0(%rbp), %rsi
cmpq %rdi, %rax
jbe 0x9347
movl $0xf, %edi
cmpq %r12, %rsi
je 0x9342
movq -0xe0(%rbp), %rdi
cmpq %rdi, %rax
jbe 0x93ad
leaq -0xc8(%rbp), %rdi
callq 0x30b0
jmp 0x93bd
leaq 0x8(%r14), %rdx
leaq 0x42ca(%rip), %rsi      # 0xd62a
leaq -0xa8(%rbp), %rdi
callq 0x9e68
leaq 0x47b4(%rip), %rsi      # 0xdb27
leaq -0xa8(%rbp), %rdi
callq 0x33d0
leaq -0x78(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x95eb
movq %rdx, -0x88(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x78(%rbp)
jmp 0x95f1
leaq -0xf0(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3240
leaq -0x98(%rbp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x93e7
movq %rsi, -0xa8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x98(%rbp)
jmp 0x93ed
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0xa0(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x4707(%rip), %rsi      # 0xdb1a
leaq -0xa8(%rbp), %rdi
callq 0x33d0
leaq -0x78(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9446
movq %rdx, -0x88(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x78(%rbp)
jmp 0x944c
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq -0x88(%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), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x949b
movq %rdx, -0x68(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x58(%rbp)
jmp 0x94a3
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq %r15, %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 0x4658(%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 0x94f1
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x94f8
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 0x9534
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
movq %r12, %r15
je 0x954c
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x3200
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
leaq -0xb8(%rbp), %r12
je 0x956f
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x3200
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x958e
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x3200
movq -0xf0(%rbp), %rdi
leaq -0xe0(%rbp), %rax
cmpq %rax, %rdi
je 0x95b0
movq -0xe0(%rbp), %rsi
incq %rsi
callq 0x3200
movq -0xc8(%rbp), %rdi
cmpq %r12, %rdi
je 0x95cb
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x3200
leaq -0x108(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9781
movq -0x108(%rbp), %rsi
jmp 0x9779
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq -0x88(%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), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9695
movq %rdx, -0x68(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x58(%rbp)
jmp 0x969d
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq %r13, %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 %r13, %rdi
je 0x967f
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
movq -0x68(%rbp), %rdi
cmpq %r12, %rdi
je 0x9781
movq -0x58(%rbp), %rsi
jmp 0x9779
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq %r15, %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 0x429f(%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 0x96eb
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x96f2
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 0x972e
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
movq %r12, %r15
je 0x9746
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x3200
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0x9762
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x3200
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9781
movq -0x98(%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 0x97b9
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 0x97eb
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x97eb
movq %rax, %r14
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0x981f
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x981f
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x9840
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x9840
movq %rax, %r14
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0x9859
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x9859
movq %rax, %r14
movq -0x68(%rbp), %rdi
cmpq %r12, %rdi
je 0x9989
movq -0x58(%rbp), %rsi
jmp 0x9981
movq %rax, %r14
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9989
movq -0x98(%rbp), %rsi
jmp 0x9981
jmp 0x9940
jmp 0x9940
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x98a0
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x98a0
movq %rax, %r14
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0x98ba
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x98ba
movq %rax, %r14
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0x98db
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x98db
movq %rax, %r14
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x98ff
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x98ff
movq %rax, %r14
movq -0xf0(%rbp), %rdi
leaq -0xe0(%rbp), %rax
cmpq %rax, %rdi
je 0x9948
movq -0xe0(%rbp), %rsi
incq %rsi
callq 0x3200
jmp 0x9948
movq %rax, %r14
jmp 0x996a
jmp 0x9940
movq %rax, %r14
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9989
movq -0x38(%rbp), %rsi
jmp 0x9981
movq %rax, %r14
jmp 0x9989
movq %rax, %r14
movq -0xc8(%rbp), %rdi
leaq -0xb8(%rbp), %rax
cmpq %rax, %rdi
je 0x996a
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x3200
leaq -0x108(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9989
movq -0x108(%rbp), %rsi
incq %rsi
callq 0x3200
movq (%rbx), %rdi
cmpq -0xd0(%rbp), %rdi
je 0x99a7
movq -0xd0(%rbp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x3200
movq %r14, %rdi
callq 0x3390
nop