// File: /workspace/github_cpp_makefile_star2_O3/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 0x2815f(%rip), %rbx     # 0x385b8
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x19d9(%rip), %rcx     # 0xea92
movq %rcx, (%rax)
movl $0x2, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x416(%rip), %rcx      # 0x10076
movq %rcx, (%rax)
movl $0x3, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x44b(%rip), %rcx      # 0x10062
movq %rcx, (%rax)
movl $0x0, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x1583(%rip), %r15     # 0xef4b
movq %r15, (%rax)
movl $0x1a, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x12d3(%rip), %rcx     # 0xf21c
movq %rcx, (%rax)
movl $0x6, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x1388(%rip), %rcx     # 0xf188
movq %rcx, (%rax)
movl $0x13, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x5ab(%rip), %rcx      # 0xff86
movq %rcx, (%rax)
movl $0x19, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x5f9(%rip), %rcx      # 0xff59
movq %rcx, (%rax)
movl $0x18, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x649(%rip), %rcx      # 0xff2a
movq %rcx, (%rax)
movl $0x4, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x50a(%rip), %rcx      # 0x1008a
movq %rcx, (%rax)
movl $0x5, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x408(%rip), %rcx      # 0x101ad
movq %rcx, (%rax)
movl $0xd, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x26f(%rip), %rcx      # 0x10367
movq %rcx, (%rax)
movl $0xc, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x2d2(%rip), %rcx      # 0x10325
movq %rcx, (%rax)
movl $0xb, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x319(%rip), %rcx      # 0x102ff
movq %rcx, (%rax)
movl $0xa, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x36c(%rip), %rcx      # 0x102cd
movq %rcx, (%rax)
movl $0x8, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x8a8(%rip), %rcx      # 0xfdb2
movq %rcx, (%rax)
movl $0x21, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x9aa(%rip), %rcx      # 0xfcd1
movq %rcx, (%rax)
movl $0x9, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x7f7(%rip), %rcx      # 0xfea5
movq %rcx, (%rax)
movl $0x12, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x7dd(%rip), %rcx      # 0xfee0
movq %rcx, (%rax)
movl $0x15, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0xa36(%rip), %rcx      # 0xfca8
movq %rcx, (%rax)
movl $0x1c, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x372(%rip), %rcx      # 0x1038d
movq %rcx, (%rax)
movl $0x1d, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x389(%rip), %rcx      # 0x10397
movq %rcx, (%rax)
movl $0x24, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x1d7a(%rip), %rcx     # 0xe9c7
movq %rcx, (%rax)
movl $0x1f, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x399(%rip), %rcx      # 0x103c9
movq %rcx, (%rax)
movl $0x1e, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x124b(%rip), %rcx     # 0xf538
movq %rcx, (%rax)
movl $0x1b, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0xf73(%rip), %rcx      # 0xf831
movq %rcx, (%rax)
movl $0x23, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0xc15(%rip), %rcx      # 0xfbb0
movq %rcx, (%rax)
movl $0x7, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x1529(%rip), %rcx     # 0xf2bd
movq %rcx, (%rax)
movl $0x17, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x13ab(%rip), %rcx     # 0xf45c
movq %rcx, (%rax)
movl $0x16, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x14d0(%rip), %rcx     # 0xf358
movq %rcx, (%rax)
movl $0x20, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x18fb(%rip), %rcx     # 0xef4e
movq %rcx, (%rax)
movl $0x10, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x513(%rip), %rcx      # 0x10357
movq %rcx, (%rax)
movl $0x25, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x45b(%rip), %rcx      # 0x10430
movq %rcx, (%rax)
movl $0xf, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x50b(%rip), %rcx      # 0x103a1
movq %rcx, (%rax)
movl $0x11, (%r14)
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b56
leaq -0x518(%rip), %rcx      # 0x103b5
movq %rcx, (%rax)
movl $0xe, (%r14)
leaq 0xc(%rsp), %rsi
movq %rbx, %rdi
callq 0x10b56
movq %r15, (%rax)
callq 0xe54f
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq