// File: lukewagner[P]asmjs2wasm/src/cashew/parser.cpp
// Function: cashew::Init::Init()
Init() {
    // operators, rtl, type
    operatorClasses.push_back(OperatorClass(".",         false, OperatorClass::Binary));
    operatorClasses.push_back(OperatorClass("! ~ + -",   true,  OperatorClass::Prefix));
    operatorClasses.push_back(OperatorClass("* / %",     false, OperatorClass::Binary));
    operatorClasses.push_back(OperatorClass("+ -",       false, OperatorClass::Binary));
    operatorClasses.push_back(OperatorClass("<< >> >>>", false, OperatorClass::Binary));
    operatorClasses.push_back(OperatorClass("< <= > >=", false, OperatorClass::Binary));
    operatorClasses.push_back(OperatorClass("== !=",     false, OperatorClass::Binary));
    operatorClasses.push_back(OperatorClass("&",         false, OperatorClass::Binary));
    operatorClasses.push_back(OperatorClass("^",         false, OperatorClass::Binary));
    operatorClasses.push_back(OperatorClass("|",         false, OperatorClass::Binary));
    operatorClasses.push_back(OperatorClass("? :",       true,  OperatorClass::Tertiary));
    operatorClasses.push_back(OperatorClass("=",         true,  OperatorClass::Binary));
    operatorClasses.push_back(OperatorClass(",",         true,  OperatorClass::Binary));

    precedences.resize(OperatorClass::Tertiary + 1);

    for (size_t prec = 0; prec < operatorClasses.size(); prec++) {
      for (auto curr : operatorClasses[prec].ops) {
        precedences[operatorClasses[prec].type][curr] = prec;
      }
    }
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x400, %rsp            # imm = 0x400
movq %rdi, -0x8(%rbp)
leaq 0x6882(%rip), %rsi      # 0x163e8
leaq -0x48(%rbp), %rdi
movq %rdi, -0x388(%rbp)
xorl %ecx, %ecx
movl %ecx, %edx
callq 0x113b0
movq -0x388(%rbp), %rsi
leaq 0x12918(%rip), %rdi     # 0x224a0
callq 0x11380
jmp 0xfb8f
leaq -0x48(%rbp), %rdi
callq 0x11400
leaq 0x6851(%rip), %rsi      # 0x163f0
leaq -0x98(%rbp), %rdi
movq %rdi, -0x390(%rbp)
movl $0x1, %ecx
movl %ecx, %edx
callq 0x113b0
movq -0x390(%rbp), %rsi
leaq 0x128d9(%rip), %rdi     # 0x224a0
callq 0x11380
jmp 0xfbce
leaq -0x98(%rbp), %rdi
callq 0x11400
leaq 0x6817(%rip), %rsi      # 0x163f8
leaq -0xd8(%rbp), %rdi
movq %rdi, -0x398(%rbp)
xorl %ecx, %ecx
movl %ecx, %edx
callq 0x113b0
movq -0x398(%rbp), %rsi
leaq 0x1289a(%rip), %rdi     # 0x224a0
callq 0x11380
jmp 0xfc0d
leaq -0xd8(%rbp), %rdi
callq 0x11400
leaq 0x67d4(%rip), %rsi      # 0x163f4
leaq -0x118(%rbp), %rdi
movq %rdi, -0x3a0(%rbp)
xorl %ecx, %ecx
movl %ecx, %edx
callq 0x113b0
movq -0x3a0(%rbp), %rsi
leaq 0x1285b(%rip), %rdi     # 0x224a0
callq 0x11380
jmp 0xfc4c
leaq -0x118(%rbp), %rdi
callq 0x11400
leaq 0x679f(%rip), %rsi      # 0x163fe
leaq -0x158(%rbp), %rdi
movq %rdi, -0x3a8(%rbp)
xorl %ecx, %ecx
movl %ecx, %edx
callq 0x113b0
movq -0x3a8(%rbp), %rsi
leaq 0x1281c(%rip), %rdi     # 0x224a0
callq 0x11380
jmp 0xfc8b
leaq -0x158(%rbp), %rdi
callq 0x11400
leaq 0x676a(%rip), %rsi      # 0x16408
leaq -0x198(%rbp), %rdi
movq %rdi, -0x3b0(%rbp)
xorl %ecx, %ecx
movl %ecx, %edx
callq 0x113b0
movq -0x3b0(%rbp), %rsi
leaq 0x127dd(%rip), %rdi     # 0x224a0
callq 0x11380
jmp 0xfcca
leaq -0x198(%rbp), %rdi
callq 0x11400
leaq 0x6735(%rip), %rsi      # 0x16412
leaq -0x1d8(%rbp), %rdi
movq %rdi, -0x3b8(%rbp)
xorl %ecx, %ecx
movl %ecx, %edx
callq 0x113b0
movq -0x3b8(%rbp), %rsi
leaq 0x1279e(%rip), %rdi     # 0x224a0
callq 0x11380
jmp 0xfd09
leaq -0x1d8(%rbp), %rdi
callq 0x11400
leaq 0x65b1(%rip), %rsi      # 0x162cd
leaq -0x218(%rbp), %rdi
movq %rdi, -0x3c0(%rbp)
xorl %ecx, %ecx
movl %ecx, %edx
callq 0x113b0
movq -0x3c0(%rbp), %rsi
leaq 0x1275f(%rip), %rdi     # 0x224a0
callq 0x11380
jmp 0xfd48
leaq -0x218(%rbp), %rdi
callq 0x11400
leaq 0x6574(%rip), %rsi      # 0x162cf
leaq -0x258(%rbp), %rdi
movq %rdi, -0x3c8(%rbp)
xorl %ecx, %ecx
movl %ecx, %edx
callq 0x113b0
movq -0x3c8(%rbp), %rsi
leaq 0x12720(%rip), %rdi     # 0x224a0
callq 0x11380
jmp 0xfd87
leaq -0x258(%rbp), %rdi
callq 0x11400
leaq 0x6531(%rip), %rsi      # 0x162cb
leaq -0x298(%rbp), %rdi
movq %rdi, -0x3d0(%rbp)
xorl %ecx, %ecx
movl %ecx, %edx
callq 0x113b0
movq -0x3d0(%rbp), %rsi
leaq 0x126e1(%rip), %rdi     # 0x224a0
callq 0x11380
jmp 0xfdc6
leaq -0x298(%rbp), %rdi
callq 0x11400
leaq 0x663f(%rip), %rsi      # 0x16418
leaq -0x2d8(%rbp), %rdi
movq %rdi, -0x3d8(%rbp)
movl $0x1, %edx
movl $0x3, %ecx
callq 0x113b0
movq -0x3d8(%rbp), %rsi
leaq 0x1269c(%rip), %rdi     # 0x224a0
callq 0x11380
jmp 0xfe0b
leaq -0x2d8(%rbp), %rdi
callq 0x11400
leaq 0x65f8(%rip), %rsi      # 0x16416
leaq -0x318(%rbp), %rdi
movq %rdi, -0x3e0(%rbp)
movl $0x1, %edx
xorl %ecx, %ecx
callq 0x113b0
movq -0x3e0(%rbp), %rsi
leaq 0x1265a(%rip), %rdi     # 0x224a0
callq 0x11380
jmp 0xfe4d
leaq -0x318(%rbp), %rdi
callq 0x11400
leaq 0x58d3(%rip), %rsi      # 0x15733
leaq -0x358(%rbp), %rdi
movq %rdi, -0x3e8(%rbp)
movl $0x1, %edx
xorl %ecx, %ecx
callq 0x113b0
movq -0x3e8(%rbp), %rsi
leaq 0x12618(%rip), %rdi     # 0x224a0
callq 0x11380
jmp 0xfe8f
leaq -0x358(%rbp), %rdi
callq 0x11400
leaq 0x12616(%rip), %rdi     # 0x224b8
movl $0x4, %esi
callq 0x11420
movq $0x0, -0x360(%rbp)
movq -0x360(%rbp), %rax
movq %rax, -0x3f0(%rbp)
leaq 0x125d4(%rip), %rdi     # 0x224a0
callq 0x114b0
movq %rax, %rcx
movq -0x3f0(%rbp), %rax
cmpq %rcx, %rax
jae 0x10132
movq -0x360(%rbp), %rsi
leaq 0x125ae(%rip), %rdi     # 0x224a0
callq 0x101a0
movq %rax, -0x368(%rbp)
movq -0x368(%rbp), %rdi
callq 0x114d0
movq %rax, -0x370(%rbp)
movq -0x368(%rbp), %rdi
callq 0x11500
movq %rax, -0x378(%rbp)
leaq -0x370(%rbp), %rdi
leaq -0x378(%rbp), %rsi
callq 0x11530
testb $0x1, %al
jne 0xff40
jmp 0x10119
leaq -0x370(%rbp), %rdi
callq 0x11560
movq (%rax), %rax
movq %rax, -0x380(%rbp)
movq -0x360(%rbp), %rax
movl %eax, -0x3f4(%rbp)
movq -0x360(%rbp), %rsi
leaq 0x1252f(%rip), %rdi     # 0x224a0
callq 0x101a0
movl 0x3c(%rax), %eax
movl %eax, %esi
leaq 0x12536(%rip), %rdi     # 0x224b8
callq 0x10150
movq %rax, %rdi
leaq -0x380(%rbp), %rsi
callq 0x10170
movl -0x3f4(%rbp), %ecx
movl %ecx, (%rax)
leaq -0x370(%rbp), %rdi
callq 0x11590
jmp 0xff24
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x11400
jmp 0x1013b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x98(%rbp), %rdi
callq 0x11400
jmp 0x1013b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0xd8(%rbp), %rdi
callq 0x11400
jmp 0x1013b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x118(%rbp), %rdi
callq 0x11400
jmp 0x1013b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x158(%rbp), %rdi
callq 0x11400
jmp 0x1013b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x198(%rbp), %rdi
callq 0x11400
jmp 0x1013b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x1d8(%rbp), %rdi
callq 0x11400
jmp 0x1013b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x218(%rbp), %rdi
callq 0x11400
jmp 0x1013b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x258(%rbp), %rdi
callq 0x11400
jmp 0x1013b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x298(%rbp), %rdi
callq 0x11400
jmp 0x1013b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x2d8(%rbp), %rdi
callq 0x11400
jmp 0x1013b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x318(%rbp), %rdi
callq 0x11400
jmp 0x1013b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x358(%rbp), %rdi
callq 0x11400
jmp 0x1013b
jmp 0x1011b
movq -0x360(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x360(%rbp)
jmp 0xfeb7
addq $0x400, %rsp            # imm = 0x400
popq %rbp
retq
movq -0x50(%rbp), %rdi
callq 0x22b0
nopw %cs:(%rax,%rax)
nop