// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/src/dispatch.cc
// Function: cordpp::Gateway::dispatch(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer> const&)
void Gateway::dispatch(const std::string &event, const Json &data) {
  std::cout << "[cordpp] Handling event: " << event << std::endl;

  if (event == "READY") {
    session_id = data["session_id"];
    
  } else if (event == "RESUMED") {

  } else if (event == "CHANNEL_CREATE") {
    
  } else if (event == "CHANNEL_UPDATE") {
    
  } else if (event == "CHANNEL_DELETE") {
    
  } else if (event == "CHANNEL_PINS_UPDATE") {
    
  } else if (event == "GUILD_CREATE") {
    
    
  } else if (event == "GUILD_UPDATE") {
    
  } else if (event == "GUILD_DELETE") {
    
  } else if (event == "GUILD_BAN_ADD") {
    
  } else if (event == "GUILD_BAN_REMOVE") {
    
  } else if (event == "GUILD_EMOJIS_UPDATE") {
    
  } else if (event == "GUILD_INTEGRATIONS_UPDATE") {
    
  } else if (event == "GUILD_MEMBER_ADD") {
    
  } else if (event == "GUILD_MEMBER_REMOVE") {
    
  } else if (event == "GUILD_MEMBER_UPDATE") {
    
  } else if (event == "GUILD_MEMBERS_CHUNK") {
    
  } else if (event == "GUILD_ROLE_CREATE") {
    
  } else if (event == "GUILD_ROLE_UPDATE") {
    
  } else if (event == "GUILD_ROLE_DELETE") {
    
  } else if (event == "MESSAGE_CREATE") {
    
  } else if (event == "MESSAGE_UPDATE") {
    
  } else if (event == "MESSAGE_DELETE") {
    
  } else if (event == "MESSAGE_DELETE_BULK") {
    
  } else if (event == "MESSAGE_REACTION_ADD") {
    
  } else if (event == "MESSAGE_REACTION_REMOVE") {
    
  } else if (event == "MESSAGE_REACTION_REMOVE_ALL") {
    
  } else if (event == "PRESENCE_UPDATE") {
    
  } else if (event == "USER_UPDATE") {
    
  } else if (event == "VOICE_STATE_UPDATE") {
    
  } else if (event == "VOICE_SERVER_UPDATE") {
    
  } else if (event == "WEBHOOKS_UPDATE") {
    
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq 0x46909(%rip), %r12     # 0x56fd0
leaq 0x2c4fd(%rip), %rsi     # 0x3cbcb
movl $0x19, %edx
movq %r12, %rdi
callq 0xa6a0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r12, %rdi
callq 0xa6a0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0xa590
movsbl %al, %esi
movq %r12, %rdi
callq 0xa050
movq %rax, %rdi
callq 0xa3f0
leaq 0x2c4ca(%rip), %rsi     # 0x3cbe5
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109ef
leaq 0x2c4c4(%rip), %rsi     # 0x3cbf6
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c4b5(%rip), %rsi     # 0x3cbfe
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c4ad(%rip), %rsi     # 0x3cc0d
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c4a5(%rip), %rsi     # 0x3cc1c
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c49d(%rip), %rsi     # 0x3cc2b
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c49a(%rip), %rsi     # 0x3cc3f
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c490(%rip), %rsi     # 0x3cc4c
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c486(%rip), %rsi     # 0x3cc59
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c47c(%rip), %rsi     # 0x3cc66
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c473(%rip), %rsi     # 0x3cc74
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c46d(%rip), %rsi     # 0x3cc85
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c46a(%rip), %rsi     # 0x3cc99
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c46d(%rip), %rsi     # 0x3ccb3
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c467(%rip), %rsi     # 0x3ccc4
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c464(%rip), %rsi     # 0x3ccd8
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c461(%rip), %rsi     # 0x3ccec
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c45e(%rip), %rsi     # 0x3cd00
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c459(%rip), %rsi     # 0x3cd12
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c454(%rip), %rsi     # 0x3cd24
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c44f(%rip), %rsi     # 0x3cd36
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c447(%rip), %rsi     # 0x3cd45
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c43f(%rip), %rsi     # 0x3cd54
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c437(%rip), %rsi     # 0x3cd63
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c434(%rip), %rsi     # 0x3cd77
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c432(%rip), %rsi     # 0x3cd8c
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c433(%rip), %rsi     # 0x3cda4
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c438(%rip), %rsi     # 0x3cdc0
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c431(%rip), %rsi     # 0x3cdd0
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c426(%rip), %rsi     # 0x3cddc
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c426(%rip), %rsi     # 0x3cdef
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x10a37
leaq 0x2c427(%rip), %rsi     # 0x3ce03
movq %rbx, %rdi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0xa190
leaq 0x2c1f5(%rip), %rsi     # 0x3cbeb
movq %r15, %rdi
callq 0xfa62
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0xfc46
addq $0x50, %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0xa720
movq (%rbx), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x10a37
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5d0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop