// File: /workspace/github_cpp_makefile_star2_O3/dguglielmi[P]dlan-linux-software/tools/../common/hpmmes.h
// Function: HomePlugAvMMEs::CDispatcher::Dispatch(CMACAddress const&, IPacket const&)
virtual bool Dispatch(const CMACAddress& adapter, const IPacket& pkt)
    {
      if(CMACHeader::IsValid(pkt, uEtherType))
      {
        if(ThunderGetVersion::CConfirm::IsValid(pkt))
          OnThunderGetVersionConfirm(adapter, ThunderGetVersion::CConfirm(pkt));
        else if(ThunderReadModuleData::CConfirm::IsValid(pkt))
          OnThunderReadModuleDataConfirm(adapter, ThunderReadModuleData::CConfirm(pkt));
        else if(ThunderNetworkInfo::CConfirm::IsValid(pkt))
          OnThunderNetworkInfoConfirm(adapter, ThunderNetworkInfo::CConfirm(pkt));
        else if(ThunderNetworkInfoV1::CConfirm::IsValid(pkt))
          OnThunderNetworkInfoV1Confirm(adapter, ThunderNetworkInfoV1::CConfirm(pkt));
        else if(ThunderSetKey::CConfirm::IsValid(pkt))
          OnThunderSetKeyConfirm(adapter, ThunderSetKey::CConfirm(pkt));
        else if(ThunderGetManufacturingString::CConfirm::IsValid(pkt))
          OnThunderGetManufacturingStringConfirm(adapter, ThunderGetManufacturingString::CConfirm(pkt));
        else
          OnUnknownMme(adapter, pkt);

        return true;
      }
      else
        return false;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x5e8, %rsp            # imm = 0x5E8
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdx), %rax
movq %rdx, %rdi
callq *0x8(%rax)
cmpq $0xe, %rax
jb 0x5851
movq (%r15), %rax
movq %r15, %rdi
callq *(%rax)
cmpw $0xe188, 0xc(%rax)      # imm = 0xE188
jne 0x5851
movq %r15, %rdi
movl $0xa001, %esi           # imm = 0xA001
callq 0x62a6
testb %al, %al
je 0x5858
movq (%r15), %rax
movq %r15, %rdi
callq *0x8(%rax)
cmpq $0x17, %rax
jb 0x5858
xorps %xmm0, %xmm0
movq %rsp, %r12
movaps %xmm0, 0x40(%r12)
movaps %xmm0, 0x30(%r12)
movaps %xmm0, 0x20(%r12)
movaps %xmm0, 0x10(%r12)
movaps %xmm0, (%r12)
movq $0x0, 0x4f(%r12)
movq (%r15), %rax
movq %r15, %rdi
callq *(%rax)
movq %rax, %r13
movq (%r15), %rax
movq %r15, %rdi
callq *0x8(%rax)
cmpq $0x57, %rax
movl $0x57, %edx
cmovbq %rax, %rdx
movq %r12, %rdi
movq %r13, %rsi
callq 0x4210
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq *0x8(%rax)
jmp 0x5a9b
xorl %eax, %eax
jmp 0x5a9d
movq %r15, %rdi
movl $0xa025, %esi           # imm = 0xA025
callq 0x62a6
testb %al, %al
je 0x58cd
movq (%r15), %rax
movq %r15, %rdi
callq *0x8(%rax)
cmpq $0x24, %rax
jb 0x58cd
movq %rsp, %r12
movl $0x424, %r13d           # imm = 0x424
movl $0x424, %edx            # imm = 0x424
movq %r12, %rdi
xorl %esi, %esi
callq 0x41b0
movq (%r15), %rax
movq %r15, %rdi
callq *(%rax)
movq %rax, %rbp
movq (%r15), %rax
movq %r15, %rdi
callq *0x8(%rax)
cmpq %r13, %rax
cmovbq %rax, %r13
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
callq 0x4210
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq *0x10(%rax)
jmp 0x5a9b
movq %r15, %rdi
callq 0x61f2
testb %al, %al
je 0x592e
movq %rsp, %r12
movl $0x5e5, %r13d           # imm = 0x5E5
movl $0x5e5, %edx            # imm = 0x5E5
movq %r12, %rdi
xorl %esi, %esi
callq 0x41b0
movq (%r15), %rax
movq %r15, %rdi
callq *(%rax)
movq %rax, %rbp
movq (%r15), %rax
movq %r15, %rdi
callq *0x8(%rax)
cmpq %r13, %rax
cmovbq %rax, %r13
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
callq 0x4210
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq *0x18(%rax)
jmp 0x5a9b
movq %r15, %rdi
callq 0x624c
testb %al, %al
je 0x598f
movq %rsp, %r12
movl $0x5dc, %r13d           # imm = 0x5DC
movl $0x5dc, %edx            # imm = 0x5DC
movq %r12, %rdi
xorl %esi, %esi
callq 0x41b0
movq (%r15), %rax
movq %r15, %rdi
callq *(%rax)
movq %rax, %rbp
movq (%r15), %rax
movq %r15, %rdi
callq *0x8(%rax)
cmpq %r13, %rax
cmovbq %rax, %r13
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
callq 0x4210
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq *0x20(%rax)
jmp 0x5a9b
movq %r15, %rdi
movl $0xa051, %esi           # imm = 0xA051
callq 0x62a6
testb %al, %al
je 0x5a03
movq (%r15), %rax
movq %r15, %rdi
callq *0x8(%rax)
cmpq $0x15, %rax
jb 0x5a03
xorps %xmm0, %xmm0
movq %rsp, %r12
movaps %xmm0, (%r12)
movq $0x0, 0xd(%r12)
movq (%r15), %rax
movq %r15, %rdi
callq *(%rax)
movq %rax, %r13
movq (%r15), %rax
movq %r15, %rdi
callq *0x8(%rax)
cmpq $0x15, %rax
movl $0x15, %edx
cmovbq %rax, %rdx
movq %r12, %rdi
movq %r13, %rsi
callq 0x4210
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq *0x28(%rax)
jmp 0x5a9b
movq %r15, %rdi
movl $0xa055, %esi           # imm = 0xA055
callq 0x62a6
testb %al, %al
je 0x5a8c
movq (%r15), %rax
movq %r15, %rdi
callq *0x8(%rax)
cmpq $0x16, %rax
jb 0x5a8c
xorps %xmm0, %xmm0
movq %rsp, %r12
movaps %xmm0, 0x40(%r12)
movaps %xmm0, 0x30(%r12)
movaps %xmm0, 0x20(%r12)
movaps %xmm0, 0x10(%r12)
movaps %xmm0, (%r12)
movq $0x0, 0x4e(%r12)
movq (%r15), %rax
movq %r15, %rdi
callq *(%rax)
movq %rax, %r13
movq (%r15), %rax
movq %r15, %rdi
callq *0x8(%rax)
cmpq $0x56, %rax
movl $0x56, %edx
cmovbq %rax, %rdx
movq %r12, %rdi
movq %r13, %rsi
callq 0x4210
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq *0x30(%rax)
jmp 0x5a9b
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq *0x38(%rax)
movb $0x1, %al
addq $0x5e8, %rsp            # imm = 0x5E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop