// File: /workspace/github_cpp_makefile_star2_O1/rockytriton[P]dreamsys_emu_gb/src/op_handler.cpp
// Function: dsemu::cpu::init_handlers()
void init_handlers() {
    handlerMap[LD] = handleLD;
    handlerMap[LDI] = handleLDI;
    handlerMap[LDD] = handleLDD;
    handlerMap[NOP] = handleNOP;
    handlerMap[JP] = handleJump;
    handlerMap[JR] = handleJumpRelative;
    handlerMap[XOR] = handleXOR;
    handlerMap[OR] = handleOR;
    handlerMap[AND] = handleAND;
    handlerMap[INC] = handleINC;
    handlerMap[DEC] = handleDEC;
    handlerMap[RRCA] = handleRRCA;
    handlerMap[RRA] = handleRRA;
    handlerMap[RLCA] = handleRLCA;
    handlerMap[RLA] = handleRLA;

    handlerMap[ADD] = handleADD;
    handlerMap[ADC] = handleADC;
    handlerMap[SUB] = handleSUB;
    handlerMap[SBC] = handleSBC;
    handlerMap[CP] = handleCP;
    handlerMap[DI] = handleDI;
    handlerMap[EI] = handleEI;
    handlerMap[LDH] = handleLDH;
    handlerMap[RST] = handleRST;
    handlerMap[CALL] = handleCALL;
    handlerMap[RET] = handleRET;
    handlerMap[RETI] = handleRETI;
    handlerMap[DAA] = handleDAA;
    handlerMap[PUSH] = handlePUSH;
    handlerMap[POP] = handlePOP;
    handlerMap[CB] = handleCB;
    handlerMap[CPL] = handleCPL;
    handlerMap[HALT] = handleHALT;
    handlerMap[SCF] = handleSCF;
    handlerMap[CCF] = handleCCF;
    handlerMap[STOP] = handleNOP;

    initParamTypeMap();
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
leaq 0xc(%rsp), %r14
movl $0x1, (%r14)
leaq 0x27f5c(%rip), %rbx     # 0x385b8
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x1a88(%rip), %rcx     # 0xebe6
movq %rcx, (%rax)
movl $0x2, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x427(%rip), %rcx      # 0x10268
movq %rcx, (%rax)
movl $0x3, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x45c(%rip), %rcx      # 0x10254
movq %rcx, (%rax)
movl $0x0, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x161d(%rip), %r15     # 0xf0b4
movq %r15, (%rax)
movl $0x1a, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x134e(%rip), %rcx     # 0xf3a4
movq %rcx, (%rax)
movl $0x6, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x1403(%rip), %rcx     # 0xf310
movq %rcx, (%rax)
movl $0x13, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x5bc(%rip), %rcx      # 0x10178
movq %rcx, (%rax)
movl $0x19, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x60a(%rip), %rcx      # 0x1014b
movq %rcx, (%rax)
movl $0x18, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x65a(%rip), %rcx      # 0x1011c
movq %rcx, (%rax)
movl $0x4, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x51b(%rip), %rcx      # 0x1027c
movq %rcx, (%rax)
movl $0x5, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x419(%rip), %rcx      # 0x1039f
movq %rcx, (%rax)
movl $0xd, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x280(%rip), %rcx      # 0x10559
movq %rcx, (%rax)
movl $0xc, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x2e3(%rip), %rcx      # 0x10517
movq %rcx, (%rax)
movl $0xb, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x32a(%rip), %rcx      # 0x104f1
movq %rcx, (%rax)
movl $0xa, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x37d(%rip), %rcx      # 0x104bf
movq %rcx, (%rax)
movl $0x8, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x8b9(%rip), %rcx      # 0xffa4
movq %rcx, (%rax)
movl $0x21, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x9cb(%rip), %rcx      # 0xfeb3
movq %rcx, (%rax)
movl $0x9, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x808(%rip), %rcx      # 0x10097
movq %rcx, (%rax)
movl $0x12, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x7ee(%rip), %rcx      # 0x100d2
movq %rcx, (%rax)
movl $0x15, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0xa57(%rip), %rcx      # 0xfe8a
movq %rcx, (%rax)
movl $0x1c, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x383(%rip), %rcx      # 0x1057f
movq %rcx, (%rax)
movl $0x1d, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x39a(%rip), %rcx      # 0x10589
movq %rcx, (%rax)
movl $0x24, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x1e29(%rip), %rcx     # 0xeb1b
movq %rcx, (%rax)
movl $0x1f, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x39b(%rip), %rcx      # 0x105ca
movq %rcx, (%rax)
movl $0x1e, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x12b8(%rip), %rcx     # 0xf6ce
movq %rcx, (%rax)
movl $0x1b, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0xfd2(%rip), %rcx      # 0xf9d5
movq %rcx, (%rax)
movl $0x23, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0xc44(%rip), %rcx      # 0xfd84
movq %rcx, (%rax)
movl $0x7, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x15a1(%rip), %rcx     # 0xf448
movq %rcx, (%rax)
movl $0x17, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x141f(%rip), %rcx     # 0xf5eb
movq %rcx, (%rax)
movl $0x16, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x154c(%rip), %rcx     # 0xf4df
movq %rcx, (%rax)
movl $0x20, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x1995(%rip), %rcx     # 0xf0b7
movq %rcx, (%rax)
movl $0x10, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x524(%rip), %rcx      # 0x10549
movq %rcx, (%rax)
movl $0x25, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x45b(%rip), %rcx      # 0x10633
movq %rcx, (%rax)
movl $0xf, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x51c(%rip), %rcx      # 0x10593
movq %rcx, (%rax)
movl $0x11, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10d72
leaq -0x529(%rip), %rcx      # 0x105a7
movq %rcx, (%rax)
movl $0xe, (%r14)
leaq 0xc(%rsp), %rsi
movq %rbx, %rdi
callq 0x10d72
movq %r15, (%rax)
callq 0xe6a3
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq