// File: /workspace/github_cpp_makefile_star2_O1/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, %r12
movq %rsi, %r14
movq %rdi, %r15
movq (%rdx), %rax
movq %rdx, %rdi
callq *0x8(%rax)
cmpq $0xe, %rax
jb 0x57f3
movq (%r12), %rax
movq %r12, %rdi
callq *(%rax)
cmpw $0xe188, 0xc(%rax)      # imm = 0xE188
sete %bl
jmp 0x57f5
xorl %ebx, %ebx
testb %bl, %bl
je 0x5ad7
movq %r12, %rdi
movl $0xa001, %esi           # imm = 0xA001
callq 0x62f0
testb %al, %al
je 0x5887
movq (%r12), %rax
movq %r12, %rdi
callq *0x8(%rax)
cmpq $0x17, %rax
jb 0x5887
xorps %xmm0, %xmm0
movq %rsp, %r13
movaps %xmm0, 0x40(%r13)
movaps %xmm0, 0x30(%r13)
movaps %xmm0, 0x20(%r13)
movaps %xmm0, 0x10(%r13)
movaps %xmm0, (%r13)
movq $0x0, 0x4f(%r13)
movq (%r12), %rax
movq %r12, %rdi
callq *(%rax)
movq %rax, %rbp
movq (%r12), %rax
movq %r12, %rdi
callq *0x8(%rax)
cmpq $0x57, %rax
movl $0x57, %edx
cmovbq %rax, %rdx
movq %r13, %rdi
movq %rbp, %rsi
callq 0x4210
movq (%r15), %rax
movq %r15, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq *0x8(%rax)
jmp 0x5ad7
movq %r12, %rdi
movl $0xa025, %esi           # imm = 0xA025
callq 0x62f0
testb %al, %al
je 0x58fe
movq (%r12), %rax
movq %r12, %rdi
callq *0x8(%rax)
cmpq $0x24, %rax
jb 0x58fe
movq %rsp, %rdi
movl $0x424, %ebp            # imm = 0x424
movl $0x424, %edx            # imm = 0x424
xorl %esi, %esi
callq 0x41b0
movq (%r12), %rax
movq %r12, %rdi
callq *(%rax)
movq %rax, %r13
movq (%r12), %rax
movq %r12, %rdi
callq *0x8(%rax)
cmpq %rbp, %rax
cmovbq %rax, %rbp
movq %rsp, %r12
movq %r12, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x4210
movq (%r15), %rax
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq *0x10(%rax)
jmp 0x5ad7
movq %r12, %rdi
callq 0x623c
testb %al, %al
je 0x5963
movq %rsp, %rdi
movl $0x5e5, %ebp            # imm = 0x5E5
movl $0x5e5, %edx            # imm = 0x5E5
xorl %esi, %esi
callq 0x41b0
movq (%r12), %rax
movq %r12, %rdi
callq *(%rax)
movq %r14, %r13
movq %rax, %r14
movq (%r12), %rax
movq %r12, %rdi
callq *0x8(%rax)
cmpq %rbp, %rax
cmovbq %rax, %rbp
movq %rsp, %r12
movq %r12, %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0x4210
movq (%r15), %rax
movq %r15, %rdi
movq %r13, %rsi
movq %r12, %rdx
callq *0x18(%rax)
jmp 0x5ad7
movq %r12, %rdi
callq 0x6296
testb %al, %al
je 0x59c9
movq %rsp, %rdi
movq %r14, %r13
movl $0x5dc, %r14d           # imm = 0x5DC
movl $0x5dc, %edx            # imm = 0x5DC
xorl %esi, %esi
callq 0x41b0
movq (%r12), %rax
movq %r12, %rdi
callq *(%rax)
movq %rax, %rbp
movq (%r12), %rax
movq %r12, %rdi
callq *0x8(%rax)
cmpq %r14, %rax
cmovbq %rax, %r14
movq %rsp, %r12
movq %r12, %rdi
movq %rbp, %rsi
movq %r14, %rdx
callq 0x4210
movq (%r15), %rax
movq %r15, %rdi
movq %r13, %rsi
movq %r12, %rdx
callq *0x20(%rax)
jmp 0x5ad7
movq %r14, %rbp
movq %r12, %rdi
movl $0xa051, %esi           # imm = 0xA051
callq 0x62f0
testb %al, %al
je 0x5a41
movq (%r12), %rax
movq %r12, %rdi
callq *0x8(%rax)
cmpq $0x15, %rax
jb 0x5a41
xorps %xmm0, %xmm0
movq %rsp, %r14
movaps %xmm0, (%r14)
movq $0x0, 0xd(%r14)
movq (%r12), %rax
movq %r12, %rdi
callq *(%rax)
movq %rax, %r13
movq (%r12), %rax
movq %r12, %rdi
callq *0x8(%rax)
cmpq $0x15, %rax
movl $0x15, %edx
cmovbq %rax, %rdx
movq %r14, %rdi
movq %r13, %rsi
callq 0x4210
movq (%r15), %rax
movq %r15, %rdi
movq %rbp, %rsi
movq %r14, %rdx
callq *0x28(%rax)
jmp 0x5ad7
movq %r12, %rdi
movl $0xa055, %esi           # imm = 0xA055
callq 0x62f0
testb %al, %al
je 0x5ac8
movq (%r12), %rax
movq %r12, %rdi
callq *0x8(%rax)
cmpq $0x16, %rax
jb 0x5ac8
xorps %xmm0, %xmm0
movq %rsp, %r13
movaps %xmm0, 0x40(%r13)
movaps %xmm0, 0x30(%r13)
movaps %xmm0, 0x20(%r13)
movaps %xmm0, 0x10(%r13)
movaps %xmm0, (%r13)
movq $0x0, 0x4e(%r13)
movq (%r12), %rax
movq %r12, %rdi
callq *(%rax)
movq %rax, %r14
movq (%r12), %rax
movq %r12, %rdi
callq *0x8(%rax)
cmpq $0x56, %rax
movl $0x56, %edx
cmovbq %rax, %rdx
movq %r13, %rdi
movq %r14, %rsi
callq 0x4210
movq (%r15), %rax
movq %r15, %rdi
movq %rbp, %rsi
movq %r13, %rdx
callq *0x30(%rax)
jmp 0x5ad7
movq (%r15), %rax
movq %r15, %rdi
movq %rbp, %rsi
movq %r12, %rdx
callq *0x38(%rax)
movl %ebx, %eax
addq $0x5e8, %rsp            # imm = 0x5E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop