// File: /workspace/github_cpp_makefile_star2_O2/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 %rbx
subq $0x20, %rsp
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq 0x41733(%rip), %rdi     # 0x50fb0
leaq 0x22397(%rip), %rsi     # 0x31c1b
callq 0xa5e0
movq %rax, %rdi
movq %rbx, %rsi
callq 0xa2e0
movq %rax, %rdi
callq 0xaa10
leaq 0x22392(%rip), %rsi     # 0x31c35
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
je 0xf8e8
leaq 0x22385(%rip), %rsi     # 0x31c3b
movq %r15, %rdi
callq 0xee6e
movq %rsp, %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0xeff6
addq $0x50, %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0xa540
movq %rbx, %rdi
callq 0xac38
jmp 0xfb7e
leaq 0x22357(%rip), %rsi     # 0x31c46
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x22348(%rip), %rsi     # 0x31c4e
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x22340(%rip), %rsi     # 0x31c5d
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x22338(%rip), %rsi     # 0x31c6c
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x22330(%rip), %rsi     # 0x31c7b
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x2232d(%rip), %rsi     # 0x31c8f
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x22323(%rip), %rsi     # 0x31c9c
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x22319(%rip), %rsi     # 0x31ca9
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x2230f(%rip), %rsi     # 0x31cb6
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x22306(%rip), %rsi     # 0x31cc4
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x22300(%rip), %rsi     # 0x31cd5
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x222fd(%rip), %rsi     # 0x31ce9
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x22300(%rip), %rsi     # 0x31d03
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x222fa(%rip), %rsi     # 0x31d14
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x222f7(%rip), %rsi     # 0x31d28
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x222f4(%rip), %rsi     # 0x31d3c
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x222f1(%rip), %rsi     # 0x31d50
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x222ec(%rip), %rsi     # 0x31d62
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x222e7(%rip), %rsi     # 0x31d74
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x222e2(%rip), %rsi     # 0x31d86
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x222da(%rip), %rsi     # 0x31d95
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x222d2(%rip), %rsi     # 0x31da4
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x222ca(%rip), %rsi     # 0x31db3
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x222c7(%rip), %rsi     # 0x31dc7
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x222c9(%rip), %rsi     # 0x31ddc
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x222ce(%rip), %rsi     # 0x31df4
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x222d7(%rip), %rsi     # 0x31e10
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x222d4(%rip), %rsi     # 0x31e20
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x222cd(%rip), %rsi     # 0x31e2c
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
jne 0xfb7e
leaq 0x222cd(%rip), %rsi     # 0x31e3f
movq %rbx, %rdi
callq 0xfbba
testb %al, %al
je 0xfb88
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
leaq 0x222c4(%rip), %rsi     # 0x31e53
movq %rbx, %rdi
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
jmp 0xfbba