// File: /workspace/github_cpp_makefile_star2_O3/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 0x4598d(%rip), %r12     # 0x55fd0
leaq 0x2b581(%rip), %rsi     # 0x3bbcb
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 0x2b54e(%rip), %rsi     # 0x3bbe5
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x1096b
leaq 0x2b548(%rip), %rsi     # 0x3bbf6
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b539(%rip), %rsi     # 0x3bbfe
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b531(%rip), %rsi     # 0x3bc0d
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b529(%rip), %rsi     # 0x3bc1c
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b521(%rip), %rsi     # 0x3bc2b
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b51e(%rip), %rsi     # 0x3bc3f
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b514(%rip), %rsi     # 0x3bc4c
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b50a(%rip), %rsi     # 0x3bc59
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b500(%rip), %rsi     # 0x3bc66
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b4f7(%rip), %rsi     # 0x3bc74
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b4f1(%rip), %rsi     # 0x3bc85
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b4ee(%rip), %rsi     # 0x3bc99
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b4f1(%rip), %rsi     # 0x3bcb3
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b4eb(%rip), %rsi     # 0x3bcc4
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b4e8(%rip), %rsi     # 0x3bcd8
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b4e5(%rip), %rsi     # 0x3bcec
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b4e2(%rip), %rsi     # 0x3bd00
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b4dd(%rip), %rsi     # 0x3bd12
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b4d8(%rip), %rsi     # 0x3bd24
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b4d3(%rip), %rsi     # 0x3bd36
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b4cb(%rip), %rsi     # 0x3bd45
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b4c3(%rip), %rsi     # 0x3bd54
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b4bb(%rip), %rsi     # 0x3bd63
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b4b8(%rip), %rsi     # 0x3bd77
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b4b6(%rip), %rsi     # 0x3bd8c
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b4b7(%rip), %rsi     # 0x3bda4
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b4bc(%rip), %rsi     # 0x3bdc0
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b4b5(%rip), %rsi     # 0x3bdd0
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b4aa(%rip), %rsi     # 0x3bddc
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b4aa(%rip), %rsi     # 0x3bdef
movq %rbx, %rdi
callq 0xa190
testl %eax, %eax
je 0x109b3
leaq 0x2b4ab(%rip), %rsi     # 0x3be03
movq %rbx, %rdi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0xa190
leaq 0x2b279(%rip), %rsi     # 0x3bbeb
movq %r15, %rdi
callq 0xf994
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0xfb96
addq $0x50, %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0xa720
movq (%rbx), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x109b3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5d0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop