Jump to content
giofrida

[GUIDE] HP G62 - Mac OS X Mavericks

46 posts in this topic

Recommended Posts

If i Disable it  is there any way i can enable it back?...cause ATI Graphic Heat up system.

 

Of course you can. Just re-change the 'OS SKU' value to the default one and write the configuration again. [TESTED]

Share this post


Link to post
Share on other sites
Advertisement

Thanks but i have already install the maverick on it and it booted alright.....

 

Questions==How can i know the gpu am using now?

                     And if i disable it....will the maverick boot to desktop?

                     Please is there any drivers for The ATI GPU 5470M

                     And i always boot the maverick with cpus=1. Is there any to boot it without using the flag

                     I always boot to windows 8 before i boot to maverick....is there any bootloader i can use without booting windows 8.

Share this post


Link to post
Share on other sites

 

 Yes, I think so.

 

Thanks but i have already install the maverick on it and it booted alright.....

 

Questions==How can i know the gpu am using now?

                     And if i disable it....will the maverick boot to desktop?

                     Please is there any drivers for The ATI GPU 5470M

                     And i always boot the maverick with cpus=1. Is there any to boot it without using the flag

                     I always boot to windows 8 before i boot to maverick....is there any bootloader i can use without booting windows 8.

 

1. Well, if you haven't done any modifications your current GPU is Intel one.

2. Yes, it will. If not, add "AtiConfig=Eulemur" or "AtiConfig=Hoolock" in the Chameleon bootloader and you should get to the desktop. But please, consider installing Clover instead of Chameleon (to fix gradients and other things..).

3. The drivers are the native ones. 

4. You can use the lapic patched kernel if using Chameleon or edit the config.plist in Clover (see post #1, Installation).

5. You can use Chameleon or Clover, but I recommend using Clover (see post #1, Installtion).

Share this post


Link to post
Share on other sites

thanks....all the two gpu are working now but how can i switch to the ati gpu instead of intel?

 

You have to mod the BIOS (see page 1)

Share this post


Link to post
Share on other sites

can't see it i only see MOD BIOS..... Please can you show me....thanks and please my microphone does make noise when i touch the camera place.....or closing the LED.Is not even working.

Share this post


Link to post
Share on other sites

can't see it i only see MOD BIOS..... Please can you show me....thanks and please my microphone does make noise when i touch the camera place.....or closing the LED.Is not even working.

 

Here to disable Intel HD Graphics: http://www.insanelymac.com/forum/topic/295612-guide-hp-g62-mac-os-x-mavericks/?do=findComment&comment=1989781

 

To fix sleep you have to patch the DSDT: http://www.insanelymac.com/forum/topic/295612-guide-hp-g62-mac-os-x-mavericks/?do=findComment&comment=1990811

Share this post


Link to post
Share on other sites

Hi Giofrida (sono italiano anch'io, se puoi rispondi in italiano per favore) i have a problem with DSDT. I have an hp g62 with i3 core and Intel HD Graphics and an Atheros AR9285.  When i patch the fix (but before too) some errors appears:

 

 

Errori.png

 
This is my DSDT:
 
DefinitionBlock ("dsdt.aml", "DSDT", 2, "HPQOEM", "SLIC-MPC", 0x00000001)
{
    External (TNOT, MethodObj)    // 0 Arguments
    External (PDC7)
    External (PDC6)
    External (PDC5)
    External (PDC4)
    External (PDC3)
    External (PDC2)
    External (PDC1)
    External (PDC0)
    External (CFGD)
    External (HNOT, MethodObj)    // 1 Arguments
    External (SNXD)
    External (IDAB, MethodObj)    // 0 Arguments
    External (HDOS, MethodObj)    // 0 Arguments
    External (ECST, MethodObj)    // 1 Arguments
    External (\_PR_.CPU0._PPC)
    External (\_SB_.PCI0.IEIT.EITV, MethodObj)    // 0 Arguments
    Name (SP2O, 0x4E)
    Name (SP1O, 0x2E)
    Name (IO1B, 0x0600)
    Name (IO1L, 0x70)
    Name (IO2B, 0x0600)
    Name (IO2L, 0x20)
    Name (IO3B, 0x0290)
    Name (IO3L, 0x10)
    Name (SP3O, 0x2E)
    Name (IO4B, 0x0A20)
    Name (IO4L, 0x20)
    Name (MCHB, 0xFED10000)
    Name (MCHL, 0x4000)
    Name (EGPB, 0xFED19000)
    Name (EGPL, 0x1000)
    Name (DMIB, 0xFED1B000)
    Name (DMIL, 0x1000)
    Name (IFPB, 0xFED14000)
    Name (IFPL, 0x1000)
    Name (PEBS, 0xE0000000)
    Name (PELN, 0x10000000)
    Name (TTTB, 0xFED20000)
    Name (TTTL, 0x00020000)
    Name (SMBS, 0xEFA0)
    Name (PBLK, 0x0410)
    Name (PMBS, 0x0400)
    Name (PMLN, 0x80)
    Name (LVL2, 0x0414)
    Name (LVL3, 0x0415)
    Name (LVL4, 0x0416)
    Name (SMIP, 0xB2)
    Name (GPBS, 0x0500)
    Name (GPLN, 0x80)
    Name (APCB, 0xFEC00000)
    Name (APCL, 0x1000)
    Name (PM30, 0x0430)
    Name (SRCB, 0xFED1C000)
    Name (SRCL, 0x4000)
    Name (SUSW, 0xFF)
    Name (HPTB, 0xFED00000)
    Name (HPTC, 0xFED1F404)
    Name (ACPH, 0xDE)
    Name (ASSB, Zero)
    Name (AOTB, Zero)
    Name (AAXB, Zero)
    Name (PEHP, Zero)
    Name (SHPC, One)
    Name (PEPM, Zero)
    Name (PEER, Zero)
    Name (PECS, Zero)
    Name (ITKE, Zero)
    Name (FHPP, One)
    Name (DSSP, Zero)
    Name (FMBL, One)
    Name (FDTP, 0x02)
    Name (BRF, One)
    Name (BPH, 0x02)
    Name (BLC, 0x03)
    Name (BRFS, 0x04)
    Name (BPHS, 0x05)
    Name (BLCT, 0x06)
    Name (BRF4, 0x07)
    Name (BEP, 0x08)
    Name (BBF, 0x09)
    Name (BOF, 0x0A)
    Name (BPT, 0x0B)
    Name (SRAF, 0x0C)
    Name (WWP, 0x0D)
    Name (SDOE, 0x0E)
    Name (TRTP, One)
    Name (TRTD, 0x02)
    Name (TRTI, 0x03)
    Name (GCDD, One)
    Name (DSTA, 0x0A)
    Name (DSLO, 0x0C)
    Name (DSLC, 0x0E)
    Name (PITS, 0x10)
    Name (SBCS, 0x12)
    Name (SALS, 0x13)
    Name (LSSS, 0x2A)
    Name (SOOT, 0x35)
    Name (PDBR, 0x4D)
    Name (SMBL, 0x10)
    Name (TCGM, One)
    Name (MUWK, Zero)
    Name (KBWK, Zero)
    Name (LAWK, Zero)
    Name (WAOK, Zero)
    Name (BCL7, Package (0x0D)
    {
        0x0E, 
        0x0F, 
        0x16, 
        0x1E, 
        0x25, 
        0x28, 
        0x2B, 
        0x34, 
        0x3D, 
        0x45, 
        0x51
    })
    Name (BCLT, Package (0x0D)
    {
        0x64, 
        0x32, 
        Zero, 
        0x0A, 
        0x14, 
        0x1E, 
        0x28, 
        0x32, 
        0x3C, 
        0x46, 
        0x50, 
        0x5A, 
        0x64
    })
    Name (BCLU, Package (0x0D)
    {
        0x5A, 
        0x32, 
        0x0A, 
        0x12, 
        0x1A, 
        0x22, 
        0x2A, 
        0x32, 
        0x3A, 
        0x42, 
        0x4A, 
        0x52, 
        0x5A
    })
    Name (BCLV, Package (0x0D)
    {
        0x54, 
        0x18, 
        0x07, 
        0x0A, 
        0x0C, 
        0x10, 
        0x14, 
        0x18, 
        0x2A, 
        0x32, 
        0x42, 
        0x4B, 
        0x54
    })
    Name (CCBL, Zero)
    Name (WA40, Zero)
    OperationRegion (GNVS, SystemMemory, 0x777BDE18, 0x00000174)
    Field (GNVS, AnyAcc, Lock, Preserve)
    {
        OSYS,   16, 
        SMIF,   8, 
        PRM0,   8, 
        PRM1,   8, 
        SCIF,   8, 
        PRM2,   8, 
        PRM3,   8, 
        LCKF,   8, 
        PRM4,   8, 
        PRM5,   8, 
        P80D,   32, 
        LIDS,   8, 
        PWRS,   8, 
        DBGS,   8, 
        THOF,   8, 
        ACT1,   8, 
        ACTT,   8, 
        PSVT,   8, 
        TC1V,   8, 
        TC2V,   8, 
        TSPV,   8, 
        CRTT,   8, 
        DTSE,   8, 
        DTS1,   8, 
        DTS2,   8, 
        DTSF,   8, 
        Offset (0x25), 
        REVN,   8, 
        Offset (0x28), 
        APIC,   8, 
        TCNT,   8, 
        PCP0,   8, 
        PCP1,   8, 
        PPCM,   8, 
        PPMF,   32, 
        Offset (0x32), 
        NATP,   8, 
        CMAP,   8, 
        CMBP,   8, 
        LPTP,   8, 
        FDCP,   8, 
        COMA,   8, 
        COMB,   8, 
        SMSC,   8, 
        W381,   8, 
        SMC1,   8, 
        IGDS,   8, 
        TLST,   8, 
        CADL,   8, 
        PADL,   8, 
        CSTE,   16, 
        NSTE,   16, 
        SSTE,   16, 
        NDID,   8, 
        DID1,   32, 
        DID2,   32, 
        DID3,   32, 
        DID4,   32, 
        DID5,   32, 
        KSV0,   32, 
        KSV1,   8, 
        Offset (0x67), 
        BLCS,   8, 
        BRTL,   8, 
        ALSE,   8, 
        ALAF,   8, 
        LLOW,   8, 
        LHIH,   8, 
        Offset (0x6E), 
        EMAE,   8, 
        EMAP,   16, 
        EMAL,   16, 
        Offset (0x74), 
        MEFE,   8, 
        DSTS,   8, 
        Offset (0x78), 
        TPMP,   8, 
        TPME,   8, 
        MORD,   8, 
        TCGP,   8, 
        PPRP,   32, 
        PPRQ,   8, 
        LPPR,   8, 
        GTF0,   56, 
        GTF2,   56, 
        IDEM,   8, 
        GTF1,   56, 
        BID,    8, 
        Offset (0xAA), 
        ASLB,   32, 
        IBTT,   8, 
        IPAT,   8, 
        ITVF,   8, 
        ITVM,   8, 
        IPSC,   8, 
        IBLC,   8, 
        IBIA,   8, 
        ISSC,   8, 
        I409,   8, 
        I509,   8, 
        I609,   8, 
        I709,   8, 
        IPCF,   8, 
        IDMS,   8, 
        IF1E,   8, 
        HVCO,   8, 
        NXD1,   32, 
        NXD2,   32, 
        NXD3,   32, 
        NXD4,   32, 
        NXD5,   32, 
        NXD6,   32, 
        NXD7,   32, 
        NXD8,   32, 
        GSMI,   8, 
        PAVP,   8, 
        Offset (0xE1), 
        OSCC,   8, 
        NEXP,   8, 
        SDGV,   8, 
        SDDV,   8, 
        Offset (0xEB), 
        DSEN,   8, 
        ECON,   8, 
        GPIC,   8, 
        CTYP,   8, 
        L01C,   8, 
        VFN0,   8, 
        VFN1,   8, 
        Offset (0x100), 
        NVGA,   32, 
        NVHA,   32, 
        AMDA,   32, 
        DID6,   32, 
        DID7,   32, 
        DID8,   32, 
        EBAS,   32, 
        CPSP,   32, 
        EECP,   32, 
        EVCP,   32, 
        XBAS,   32, 
        OBS1,   32, 
        OBS2,   32, 
        OBS3,   32, 
        OBS4,   32, 
        OBS5,   32, 
        OBS6,   32, 
        OBS7,   32, 
        OBS8,   32, 
        Offset (0x157), 
        ATMC,   8, 
        PTMC,   8, 
        ATRA,   8, 
        PTRA,   8, 
        PNHM,   32, 
        TBAB,   32, 
        TBAH,   32, 
        RTIP,   8, 
        TSOD,   8, 
        ATPC,   8, 
        PTPC,   8, 
        PFLV,   8, 
        BREV,   8, 
        DPBM,   8, 
        DPCM,   8, 
        DPDM,   8, 
        ALFP,   8, 
        IMON,   8, 
        S3DS,   8, 
        PMEE,   8
    }
    OperationRegion (OGNS, SystemMemory, 0x777BCD98, 0x000000E2)
    Field (OGNS, AnyAcc, Lock, Preserve)
    {
        OG00,   8, 
        OG01,   8, 
        OG02,   8, 
        OG03,   8, 
        OG04,   8, 
        OG05,   8, 
        OG06,   8, 
        OG07,   8, 
        OG08,   8, 
        OG09,   8, 
        OG10,   8, 
        SMP0,   8, 
        SMP1,   8, 
        SMP2,   8, 
        SMP3,   8, 
        SMP4,   8, 
        SMP5,   8, 
        SMP6,   8, 
        SMP7,   8, 
        WMIA,   8, 
        WMIO,   8, 
        ACPS,   8, 
        HPBD,   8, 
        IVIM,   8, 
        EXTM,   8, 
        WDI0,   8, 
        WDI1,   8, 
        WDI2,   8, 
        WDI3,   8, 
        WSI0,   8, 
        WSI1,   8, 
        WSI2,   8, 
        WSI3,   8, 
        NCDD,   8, 
        NCAD,   8, 
        NNDD,   8, 
        EXCM,   8, 
        VBTL,   8, 
        SID0,   8, 
        SID1,   8, 
        SID2,   8, 
        SID3,   8, 
        SID4,   8, 
        SID5,   8, 
        SID6,   8, 
        SID7,   8, 
        WBLC,   8, 
        WLD0,   8, 
        WLD1,   8, 
        WLD2,   8, 
        WLD3,   8, 
        WLD4,   8, 
        WLD5,   8, 
        WLD6,   8, 
        WLD7,   8, 
        WBD0,   8, 
        WBD1,   8, 
        WBD2,   8, 
        WBD3,   8, 
        WWD0,   8, 
        WWD1,   8, 
        WWD2,   8, 
        WWD3,   8, 
        WAB0,   8, 
        WAB1,   8, 
        WAB2,   8, 
        WAB3,   8, 
        WAB4,   8, 
        WAB5,   8, 
        DBGD,   32, 
        CMTF,   8, 
        CMTI,   32, 
        CMTO,   8, 
        MSRA,   8, 
        BLLV,   8, 
        PSTN,   8, 
        VGAT,   8, 
        U67T,   8, 
        DPBL,   8, 
        PCHV,   8, 
        TJMX,   8, 
        PLSZ,   8, 
        BRNS,   8, 
        PSRV,   8, 
        PCID,   8, 
        TSMS,   8, 
        GPVD,   16, 
        GPDD,   16
    }
    OperationRegion (H1DA, SystemMemory, 0x777BEF98, 0x00000006)
    Field (H1DA, AnyAcc, Lock, Preserve)
    {
        H1SG,   32, 
        FACM,   16
    }
    OperationRegion (MBOX, SystemMemory, 0x777BDA98, 0x00000320)
    Field (MBOX, AnyAcc, NoLock, Preserve)
    {
        PCI1,   8, 
        PCI2,   8, 
        PCI3,   8, 
        PCI4,   8, 
        PCI5,   8, 
        PCI6,   8, 
        PCI7,   8, 
        PCI8,   8, 
        NLCK,   8, 
        ZIPE,   8, 
        COA1,   8, 
        CAIO,   8, 
        CAIP,   8, 
        CAMD,   8, 
        CADA,   8, 
        COB1,   8, 
        CBIO,   8, 
        CBIP,   8, 
        CBMD,   8, 
        CBDA,   8, 
        FHSD,   8, 
        COMC,   8, 
        CCIO,   8, 
        CCIP,   8, 
        CCMD,   8, 
        CCDA,   8, 
        COMD,   8, 
        CDIO,   8, 
        CDIP,   8, 
        CDMD,   8, 
        CDDA,   8, 
        LPT1,   8, 
        L1IO,   8, 
        L1IP,   8, 
        L1MD,   8, 
        L1DA,   8, 
        LPT2,   8, 
        L2IO,   8, 
        L2IP,   8, 
        L2MD,   8, 
        L2DA,   8, 
        LPT3,   8, 
        L3IO,   8, 
        L3IP,   8, 
        L3MD,   8, 
        L3DA,   8, 
        FDDC,   8, 
        FDWP,   8, 
        HGMP,   8, 
        LGMP,   8, 
        MIDI,   8, 
        AZLA,   8, 
        AUDO,   8, 
        MODM,   8, 
        IDEC,   8, 
        SSED,   8, 
        PACT,   8, 
        SCFG,   8, 
        AMOD,   8, 
        IMOD,   8, 
        LCFG,   8, 
        IDLY,   8, 
        PMTP,   8, 
        PM32,   8, 
        PMBM,   8, 
        PMTM,   8, 
        PSTP,   8, 
        PSIO,   8, 
        PSBM,   8, 
        PSTM,   8, 
        IDE0,   8, 
        IDE1,   8, 
        IDE2,   8, 
        IDE3,   8, 
        IDE4,   8, 
        IDE5,   8, 
        IDE6,   8, 
        IDE7,   8, 
        HIUB,   8, 
        LUBS,   8, 
        PLYT,   8, 
        EDCG,   8, 
        SDFY,   8, 
        SDTC,   8, 
        SDRP,   8, 
        SDCL,   8, 
        SDRC,   8, 
        SDRE,   8, 
        FC2L,   8, 
        FC3L,   8, 
        FCS4,   8, 
        APIM,   8, 
        HPTS,   8, 
        HPTA,   8, 
        EMAS,   8, 
        VGAO,   8, 
        SOFF,   8, 
        KBPO,   8, 
        MSPO,   8, 
        USBB,   8, 
        EVTL,   8, 
        SYBE,   8, 
        ETLC,   8, 
        ACPV,   8, 
        TPMD,   8, 
        TPMO,   8, 
        TPMC,   8, 
        TPMM,   8, 
        TPCC,   8, 
        TPLC,   8, 
        TPLR,   32, 
        QBOT,   8, 
        BOTQ,   8, 
        PBOT,   8, 
        M256,   8, 
        PEGF,   8, 
        OSY1,   16, 
        BMTP,   8, 
        BNPT,   8, 
        LNMT,   8, 
        NBTO,   8, 
        NABD,   8, 
        NEBD,   8, 
        NLBD,   8, 
        DFBT,   16, 
        NPSP,   16, 
        LANG,   8, 
        UACL,   8, 
        SUPS,   8, 
        DVET,   8, 
        S3RS,   8, 
        DAS1,   8, 
        DAS3,   8, 
        WKPM,   8, 
        WKMD,   8, 
        WKS5,   8, 
        HOUR,   8, 
        MINS,   8, 
        SECS,   8, 
        DOFM,   8, 
        NBTV,   64, 
        BTOD,   64, 
        SPVP,   16, 
        POPW,   16, 
        USPW,   16, 
        HDPW,   16, 
        SAHP,   16, 
        SAHF,   8, 
        SUVF,   8, 
        USRF,   8, 
        UMPW,   8, 
        SMHP,   16, 
        SAMP,   16, 
        SAMF,   8, 
        SPFA,   8, 
        SPFB,   8, 
        SPFC,   8, 
        SPFD,   8, 
        SPFE,   8, 
        SPFF,   8, 
        SPFG,   8, 
        SPFH,   8, 
        SPFI,   8, 
        SPFJ,   8, 
        SPFK,   8, 
        SPFL,   8, 
        SPFM,   8, 
        SPFN,   8, 
        SPFO,   8, 
        SPFP,   8, 
        SPFQ,   8, 
        SPFR,   8, 
        SPFS,   8, 
        SPFT,   8, 
        SPFU,   8, 
        SPFV,   8, 
        SPFW,   8, 
        SPFX,   8, 
        SPFY,   8, 
        SPFZ,   8, 
        SPF0,   8, 
        SPF1,   8, 
        SPF2,   8, 
        SPF3,   8, 
        SPF4,   8, 
        SPF5,   8, 
        CRD0,   8, 
        CRD1,   8, 
        CRD2,   8, 
        CRD3,   8, 
        CRD4,   8, 
        CRD5,   8, 
        CRD6,   8, 
        CRD7,   8, 
        SPCR,   8, 
        KRSV,   64, 
        LANE,   8, 
        AORS,   8, 
        P0HP,   8, 
        P1HP,   8, 
        P2HP,   8, 
        P3HP,   8, 
        P4HP,   8, 
        P5HP,   8, 
        P0IL,   8, 
        P1IL,   8, 
        P2IL,   8, 
        WOLN,   8, 
        DVPA,   8, 
        DTGM,   8, 
        Offset (0xF5), 
        Offset (0xF6), 
        BOTT,   8, 
        PANT,   8, 
        TVTP,   8, 
        U201,   8, 
        U202,   8, 
        U111,   8, 
        U112,   8, 
        U113,   8, 
        U114,   8, 
        U115,   8, 
        UPPC,   8, 
        UP00,   8, 
        UP01,   8, 
        UP02,   8, 
        UP03,   8, 
        UP04,   8, 
        UP05,   8, 
        UP06,   8, 
        UP07,   8, 
        UP08,   8, 
        UP09,   8, 
        UP10,   8, 
        UP11,   8, 
        P80R,   8, 
        WDOG,   8, 
        WDTO,   16, 
        WDTB,   16, 
        MASF,   8, 
        MAMT,   8, 
        ABXP,   8, 
        SPIL,   8, 
        PWDW,   8, 
        HETO,   8, 
        AWTR,   16, 
        EOPT,   8, 
        ASFB,   8, 
        MBTX,   8, 
        IDER,   8, 
        SOLE,   8, 
        UCME,   8, 
        MEDM,   8, 
        PPDA,   8, 
        PPCG,   8, 
        PPBV,   8, 
        PPV1,   8, 
        PPPV,   8, 
        PPMV,   8, 
        PRE0,   8, 
        PRE1,   8, 
        PRE2,   8, 
        PRE3,   8, 
        PRE4,   8, 
        PRE5,   8, 
        PRE6,   8, 
        PRE7,   8, 
        PRA0,   8, 
        PRA1,   8, 
        PRA2,   8, 
        PRA3,   8, 
        PRA4,   8, 
        PRA5,   8, 
        PRA6,   8, 
        PRA7,   8, 
        PRU0,   8, 
        PRU1,   8, 
        PRU2,   8, 
        PRU3,   8, 
        PRU4,   8, 
        PRU5,   8, 
        PRU6,   8, 
        PRU7,   8, 
        PRF0,   8, 
        PRF1,   8, 
        PRF2,   8, 
        PRF3,   8, 
        PRF4,   8, 
        PRF5,   8, 
        PRF6,   8, 
        PRF7,   8, 
        PRN0,   8, 
        PRN1,   8, 
        PRN2,   8, 
        PRN3,   8, 
        PRN4,   8, 
        PRN5,   8, 
        PRN6,   8, 
        PRN7,   8, 
        PRC0,   8, 
        PRC1,   8, 
        PRC2,   8, 
        PRC3,   8, 
        PRC4,   8, 
        PRC5,   8, 
        PRC6,   8, 
        PRC7,   8, 
        CTD0,   8, 
        CTD1,   8, 
        CTD2,   8, 
        CTD3,   8, 
        CTD4,   8, 
        CTD5,   8, 
        CTD6,   8, 
        CTD7,   8, 
        PIE0,   8, 
        PIE1,   8, 
        PIE2,   8, 
        PIE3,   8, 
        PIE4,   8, 
        PIE5,   8, 
        PIE6,   8, 
        PIE7,   8, 
        SFE0,   8, 
        SFE1,   8, 
        SFE2,   8, 
        SFE3,   8, 
        SFE4,   8, 
        SFE5,   8, 
        SFE6,   8, 
        SFE7,   8, 
        SNE0,   8, 
        SNE1,   8, 
        SNE2,   8, 
        SNE3,   8, 
        SNE4,   8, 
        SNE5,   8, 
        SNE6,   8, 
        SNE7,   8, 
        SCE0,   8, 
        SCE1,   8, 
        SCE2,   8, 
        SCE3,   8, 
        SCE4,   8, 
        SCE5,   8, 
        SCE6,   8, 
        SCE7,   8, 
        PPS0,   8, 
        PPS1,   8, 
        PPS2,   8, 
        PPS3,   8, 
        PPS4,   8, 
        PPS5,   8, 
        PPS6,   8, 
        PPS7,   8, 
        PHP0,   8, 
        PHP1,   8, 
        PHP2,   8, 
        PHP3,   8, 
        PHP4,   8, 
        PHP5,   8, 
        PHP6,   8, 
        PHP7,   8, 
        PEGA,   8, 
        PGAA,   8, 
        PGL0,   8, 
        PL0A,   8, 
        PGL1,   8, 
        Offset (0x196), 
        PAV1,   8, 
        ISTC,   8, 
        TRML,   8, 
        ATHF,   8, 
        PTTP,   8, 
        XDMD,   8, 
        PCRR,   8, 
        PROH,   8, 
        TUBM,   8, 
        TSTE,   8, 
        BPST,   8, 
        VTST,   8, 
        CSTS,   8, 
        ENCS,   8, 
        ENC6,   8, 
        CMPE,   8, 
        MDST,   8, 
        EXBR,   8, 
        TXTE,   8, 
        VTDE,   8, 
        CART,   8, 
        CATT,   8, 
        STBE,   8, 
        PEBE,   8, 
        PCBE,   8, 
        EHBE,   8, 
        UHBE,   8, 
        HABE,   8, 
        ERS2,   8, 
        GLPM,   8, 
        GRTT,   8, 
        CRID,   8, 
        ATLF,   8, 
        PTC1,   8, 
        PTC2,   8, 
        PTSP,   8, 
        CTTP,   8, 
        HTSP,   8, 
        U116,   8, 
        U117,   8, 
        UP12,   8, 
        UP13,   8, 
        DALC,   8, 
        ENC7,   8, 
        CSIT,   8, 
        CSIF,   8, 
        CSL1,   8, 
        MIRP,   8, 
        MEMF,   8, 
        CHIL,   8, 
        RKIL,   8, 
        QPIF,   8, 
        DLMF,   8, 
        GPPS,   8, 
        AGLP,   8, 
        EIPS,   8, 
        MTUB,   8, 
        CPEC,   8, 
        IPSP,   8, 
        CTLT,   8, 
        CTLV,   16, 
        MPLT,   8, 
        MPLV,   16, 
        PPLT,   8, 
        PPLV,   16, 
        CPLT,   8, 
        CPLV,   16, 
        RTIF,   8, 
        DPPM,   8, 
        RELT,   8, 
        INTR,   8, 
        PATD,   8, 
        COHE,   8, 
        CTBO,   8, 
        FBOT,   8, 
        CTRD,   8, 
        CERD,   8, 
        MTRD,   8, 
        PTRD,   8, 
        ALEL,   8, 
        CALE,   8, 
        MALE,   8, 
        PALE,   8, 
        DALE,   8, 
        TODM,   8, 
        D1TR,   8, 
        D2TR,   8, 
        D3TR,   8, 
        D4TR,   8, 
        LFPC,   8, 
        RMHM,   8, 
        METR,   8, 
        ECML,   8, 
        MPEC,   8, 
        TRTS,   8, 
        CACK,   8, 
        AZHI,   8, 
        IMEP,   8, 
        IMFE,   8, 
        SAG3,   8, 
        CRSV,   160, 
        CBSD,   8, 
        ED3E,   8, 
        FAON,   8, 
        FFDL,   8, 
        CDBT,   8, 
        FLBT,   8, 
        ENSV,   8, 
        SEHD,   8, 
        FK11,   8, 
        FLFG,   8, 
        ORSV,   480, 
        LPSD,   8, 
        FNKY,   8, 
        VTDT,   8, 
        PIDV,   8, 
        SCTN,   8, 
        DRSV,   760, 
        MEFD,   8, 
        FWVB,   8, 
        USBP,   8, 
        FWPR,   8, 
        MELF,   8, 
        MEFQ,   8, 
        HP0S,   8, 
        HP1S,   8, 
        HP2S,   8, 
        HP3S,   8, 
        HP4S,   8, 
        HP5S,   8, 
        TDTC,   8, 
        TDTP,   8, 
        TDTS,   8, 
        TXTS,   8, 
        PEG1,   8, 
        CPMD,   8, 
        MESK,   8, 
        ENIF,   8, 
        HTFG,   8, 
        TMST,   8, 
        PRSV,   624
    }
    Scope (_SB)
    {
        Name (PR00, Package (0x1B)
        {
            Package (0x04)
            {
                0x0003FFFF, 
                Zero, 
                LNKA, 
                Zero
            }, 
            Package (0x04)
            {
                0x0003FFFF, 
                Zero, 
                LNKB, 
                Zero
            }, 
            Package (0x04)
            {
                0x0001FFFF, 
                Zero, 
                LNKA, 
                Zero
            }, 
            Package (0x04)
            {
                0x0001FFFF, 
                One, 
                LNKB, 
                Zero
            }, 
            Package (0x04)
            {
                0x0002FFFF, 
                Zero, 
                LNKA, 
                Zero
            }, 
            Package (0x04)
            {
                0x0002FFFF, 
                Zero, 
                LNKB, 
                Zero
            }, 
            Package (0x04)
            {
                0x001FFFFF, 
                Zero, 
                LNKF, 
                Zero
            }, 
            Package (0x04)
            {
                0x001FFFFF, 
                One, 
                LNKD, 
                Zero
            }, 
            Package (0x04)
            {
                0x001FFFFF, 
                0x02, 
                LNKD, 
                Zero
            }, 
            Package (0x04)
            {
                0x001FFFFF, 
                0x03, 
                LNKA, 
                Zero
            }, 
            Package (0x04)
            {
                0x001DFFFF, 
                Zero, 
                LNKF, 
                Zero
            }, 
            Package (0x04)
            {
                0x001DFFFF, 
                One, 
                LNKD, 
                Zero
            }, 
            Package (0x04)
            {
                0x001DFFFF, 
                0x02, 
                LNKC, 
                Zero
            }, 
            Package (0x04)
            {
                0x001DFFFF, 
                0x03, 
                LNKA, 
                Zero
            }, 
            Package (0x04)
            {
                0x001AFFFF, 
                Zero, 
                LNKA, 
                Zero
            }, 
            Package (0x04)
            {
                0x001AFFFF, 
                One, 
                LNKF, 
                Zero
            }, 
            Package (0x04)
            {
                0x001AFFFF, 
                0x02, 
                LNKD, 
                Zero
            }, 
            Package (0x04)
            {
                0x001AFFFF, 
                0x03, 
                LNKC, 
                Zero
            }, 
            Package (0x04)
            {
                0x001BFFFF, 
                Zero, 
                LNKG, 
                Zero
            }, 
            Package (0x04)
            {
                0x001CFFFF, 
                Zero, 
                LNKB, 
                Zero
            }, 
            Package (0x04)
            {
                0x001CFFFF, 
                One, 
                LNKA, 
                Zero
            }, 
            Package (0x04)
            {
                0x001CFFFF, 
                0x02, 
                LNKC, 
                Zero
            }, 
            Package (0x04)
            {
                0x001CFFFF, 
                0x03, 
                LNKD, 
                Zero
            }, 
            Package (0x04)
            {
                0x0016FFFF, 
                Zero, 
                LNKA, 
                Zero
            }, 
            Package (0x04)
            {
                0x0016FFFF, 
                One, 
                LNKB, 
                Zero
            }, 
            Package (0x04)
            {
                0x0016FFFF, 
                0x02, 
                LNKC, 
                Zero
            }, 
            Package (0x04)
            {
                0x0016FFFF, 
                0x03, 
                LNKD, 
                Zero
            }
        })
        Name (AR00, Package (0x1B)
        {
            Package (0x04)
            {
                0x0003FFFF, 
                Zero, 
                Zero, 
                0x10
            }, 
            Package (0x04)
            {
                0x0003FFFF, 
                Zero, 
                Zero, 
                0x11
            }, 
            Package (0x04)
            {
                0x0001FFFF, 
                Zero, 
                Zero, 
                0x10
            }, 
            Package (0x04)
            {
                0x0001FFFF, 
                Zero, 
                Zero, 
                0x11
            }, 
            Package (0x04)
            {
                0x0002FFFF, 
                Zero, 
                Zero, 
                0x10
            }, 
            Package (0x04)
            {
                0x0002FFFF, 
                Zero, 
                Zero, 
                0x11
            }, 
            Package (0x04)
            {
                0x001FFFFF, 
                Zero, 
                Zero, 
                0x15
            }, 
            Package (0x04)
            {
                0x001FFFFF, 
                One, 
                Zero, 
                0x13
            }, 
            Package (0x04)
            {
                0x001FFFFF, 
                0x02, 
                Zero, 
                0x13
            }, 
            Package (0x04)
            {
                0x001FFFFF, 
                0x03, 
                Zero, 
                0x10
            }, 
            Package (0x04)
            {
                0x001DFFFF, 
                Zero, 
                Zero, 
                0x15
            }, 
            Package (0x04)
            {
                0x001DFFFF, 
                One, 
                Zero, 
                0x13
            }, 
            Package (0x04)
            {
                0x001DFFFF, 
                0x02, 
                Zero, 
                0x12
            }, 
            Package (0x04)
            {
                0x001DFFFF, 
                0x03, 
                Zero, 
                0x10
            }, 
            Package (0x04)
            {
                0x001AFFFF, 
                Zero, 
                Zero, 
                0x10
            }, 
            Package (0x04)
            {
                0x001AFFFF, 
                One, 
                Zero, 
                0x15
            }, 
            Package (0x04)
            {
                0x001AFFFF, 
                0x02, 
                Zero, 
                0x13
            }, 
            Package (0x04)
            {
                0x001AFFFF, 
                0x03, 
                Zero, 
                0x12
            }, 
            Package (0x04)
            {
                0x001BFFFF, 
                Zero, 
                Zero, 
                0x16
            }, 
            Package (0x04)
            {
                0x001CFFFF, 
                Zero, 
                Zero, 
                0x11
            }, 
            Package (0x04)
            {
                0x001CFFFF, 
                One, 
                Zero, 
                0x10
            }, 
            Package (0x04)
            {
                0x001CFFFF, 
                0x02, 
                Zero, 
                0x12
            }, 
            Package (0x04)
            {
                0x001CFFFF, 
                0x03, 
                Zero, 
                0x13
            }, 
            Package (0x04)
            {
                0x0016FFFF, 
                Zero, 
                Zero, 
                0x10
            }, 
            Package (0x04)
            {
                0x0016FFFF, 
                One, 
                Zero, 
                0x11
            }, 
            Package (0x04)
            {
                0x0016FFFF, 
                0x02, 
                Zero, 
                0x12
            }, 
            Package (0x04)
            {
                0x0016FFFF, 
                0x03, 
                Zero, 
                0x13
            }
        })
        Name (PR02, Package (0x02)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                LNKA, 
                Zero
            }, 
            Package (0x04)
            {
                0xFFFF, 
                One, 
                LNKB, 
                Zero
            }
        })
        Name (AR02, Package (0x02)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                Zero, 
                0x10
            }, 
            Package (0x04)
            {
                0xFFFF, 
                One, 
                Zero, 
                0x11
            }
        })
        Name (PR04, Package (0x04)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                LNKA, 
                Zero
            }, 
            Package (0x04)
            {
                0xFFFF, 
                One, 
                LNKB, 
                Zero
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x02, 
                LNKC, 
                Zero
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x03, 
                LNKD, 
                Zero
            }
        })
        Name (AR04, Package (0x04)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                Zero, 
                0x10
            }, 
            Package (0x04)
            {
                0xFFFF, 
                One, 
                Zero, 
                0x11
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x02, 
                Zero, 
                0x12
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x03, 
                Zero, 
                0x13
            }
        })
        Name (PR05, Package (0x04)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                LNKB, 
                Zero
            }, 
            Package (0x04)
            {
                0xFFFF, 
                One, 
                LNKC, 
                Zero
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x02, 
                LNKD, 
                Zero
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x03, 
                LNKA, 
                Zero
            }
        })
        Name (AR05, Package (0x04)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                Zero, 
                0x11
            }, 
            Package (0x04)
            {
                0xFFFF, 
                One, 
                Zero, 
                0x12
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x02, 
                Zero, 
                0x13
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x03, 
                Zero, 
                0x10
            }
        })
        Name (PR06, Package (0x04)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                LNKC, 
                Zero
            }, 
            Package (0x04)
            {
                0xFFFF, 
                One, 
                LNKD, 
                Zero
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x02, 
                LNKA, 
                Zero
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x03, 
                LNKB, 
                Zero
            }
        })
        Name (AR06, Package (0x04)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                Zero, 
                0x12
            }, 
            Package (0x04)
            {
                0xFFFF, 
                One, 
                Zero, 
                0x13
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x02, 
                Zero, 
                0x10
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x03, 
                Zero, 
                0x11
            }
        })
        Name (PR07, Package (0x04)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                LNKD, 
                Zero
            }, 
            Package (0x04)
            {
                0xFFFF, 
                One, 
                LNKA, 
                Zero
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x02, 
                LNKB, 
                Zero
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x03, 
                LNKC, 
                Zero
            }
        })
        Name (AR07, Package (0x04)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                Zero, 
                0x13
            }, 
            Package (0x04)
            {
                0xFFFF, 
                One, 
                Zero, 
                0x10
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x02, 
                Zero, 
                0x11
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x03, 
                Zero, 
                0x12
            }
        })
        Name (PR08, Package (0x04)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                LNKA, 
                Zero
            }, 
            Package (0x04)
            {
                0xFFFF, 
                One, 
                LNKB, 
                Zero
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x02, 
                LNKC, 
                Zero
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x03, 
                LNKD, 
                Zero
            }
        })
        Name (AR08, Package (0x04)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                Zero, 
                0x10
            }, 
            Package (0x04)
            {
                0xFFFF, 
                One, 
                Zero, 
                0x11
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x02, 
                Zero, 
                0x12
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x03, 
                Zero, 
                0x13
            }
        })
        Name (PR0B, Package (0x04)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                LNKD, 
                Zero
            }, 
            Package (0x04)
            {
                0xFFFF, 
                One, 
                LNKA, 
                Zero
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x02, 
                LNKB, 
                Zero
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x03, 
                LNKC, 
                Zero
            }
        })
        Name (AR0B, Package (0x04)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                Zero, 
                0x13
            }, 
            Package (0x04)
            {
                0xFFFF, 
                One, 
                Zero, 
                0x10
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x02, 
                Zero, 
                0x11
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x03, 
                Zero, 
                0x12
            }
        })
        Name (PR01, Package (0x00) {})
        Name (AR01, Package (0x00) {})
        Name (PR0C, Package (0x04)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                LNKA, 
                Zero
            }, 
            Package (0x04)
            {
                0xFFFF, 
                One, 
                LNKB, 
                Zero
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x02, 
                LNKC, 
                Zero
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x03, 
                LNKD, 
                Zero
            }
        })
        Name (AR0C, Package (0x04)
        {
            Package (0x04)
            {
                0xFFFF, 
                Zero, 
                Zero, 
                0x10
            }, 
            Package (0x04)
            {
                0xFFFF, 
                One, 
                Zero, 
                0x11
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x02, 
                Zero, 
                0x12
            }, 
            Package (0x04)
            {
                0xFFFF, 
                0x03, 
                Zero, 
                0x13
            }
        })
        Name (PRSA, ResourceTemplate ()
        {
            IRQ (Level, ActiveLow, Shared, )
                {3,4,5,6,7,10,11,12,14,15}
        })
        Alias (PRSA, PRSB)
        Alias (PRSA, PRSC)
        Alias (PRSA, PRSD)
        Alias (PRSA, PRSE)
        Alias (PRSA, PRSF)
        Alias (PRSA, PRSG)
        Alias (PRSA, PRSH)
        Device (PWRB)
        {
            Name (_HID, EisaId ("PNP0C0C"))
        }
        Device (LID0)
        {
            Name (_HID, EisaId ("PNP0C0D"))
            Name (LSTS, Zero)
            Method (_LID, 0, NotSerialized)
            {
                If (ECON)
                {
                    If (LEqual (^^PCI0.LPCB.EC0.ECLS, One))
                    {
                        Store (Zero, LSTS)
                    }
                    Else
                    {
                        Store (One, LSTS)
                    }
                    If (IGDS)
                    {
                        Store (LSTS, LIDS)
                        Store (LSTS, ^^PCI0.GFX0.CLID)
                    }
                    Return (LSTS)
                }
                Else
                {
                    If (IGDS)
                    {
                        Store (One, LIDS)
                    }
                    If (IGDS)
                    {
                        Store (LIDS, ^^PCI0.GFX0.CLID)
                    }
                    Return (One)
                }
            }
        }
        Name (OFCC, Zero)
        Method (GBFE, 3, NotSerialized)
        {
            CreateByteField (Arg0, Arg1, TIDX)
            Store (TIDX, Arg2)
        }
        Method (PBFE, 3, NotSerialized)
        {
            CreateByteField (Arg0, Arg1, TIDX)
            Store (Arg2, TIDX)
        }
        Method (ITOS, 1, NotSerialized)
        {
            Store (Buffer (0x05)
                {
                     0x20, 0x20, 0x20, 0x20, 0x20
                }, Local0)
            Store (Buffer (0x11)
                {
                    "0123456789ABCDEF"
                }, Local7)
            Store (0x05, Local1)
            Store (Zero, Local2)
            Store (Zero, Local3)
            While (Local1)
            {
                Decrement (Local1)
                And (ShiftRight (Arg0, ShiftLeft (Local1, 0x02)), 0x0F, Local4)
                GBFE (Local7, Local4, RefOf (Local5))
                PBFE (Local0, Local2, Local5)
                Increment (Local2)
            }
            Return (Local0)
        }
        Device (ACAD)
        {
            Name (_HID, "ACPI0003")
            Name (_PCL, Package (0x01)
            {
                _SB
            })
            Name (ACP, Ones)
            Method (_PSR, 0, NotSerialized)
            {
                If (ECON)
                {
                    And (One, ^^PCI0.LPCB.EC0.SW2S, Local0)
                    Store (Local0, PWRS)
                    Return (Local0)
                }
            }
            Method (_STA, 0, NotSerialized)
            {
                Return (0x0F)
            }
        }
        Device (BAT0)
        {
            Name (FRST, One)
            Name (_HID, EisaId ("PNP0C0A"))
            Name (_UID, One)
            Name (_PCL, Package (0x01)
            {
                _SB
            })
            Name (PBIF, Package (0x0D)
            {
                One, 
                0xFFFFFFFF, 
                0xFFFFFFFF, 
                One, 
                0xFFFFFFFF, 
                0xFA, 
                0x96, 
                0x0A, 
                0x19, 
                "BAT1", 
                " ", 
                " ", 
                " "
            })
            Name (PBST, Package (0x04)
            {
                Zero, 
                0xFFFFFFFF, 
                0xFFFFFFFF, 
                0x2710
            })
            Name (BAST, Zero)
            Name (B1ST, 0x0F)
            Name (B1WT, Zero)
            Name (FABL, 0xFFFFFFFF)
            Method (_STA, 0, NotSerialized)
            {
                If (ECON)
                {
                    If (^^PCI0.LPCB.EC0.MBTS)
                    {
                        Store (0x1F, B1ST)
                    }
                    Else
                    {
                        Store (0x0F, B1ST)
                    }
                }
                Else
                {
                    Store (0x0F, B1ST)
                }
                Return (B1ST)
            }
            Method (_BIF, 0, NotSerialized)
            {
                If (ECON)
                {
                    If (^^PCI0.LPCB.EC0.MBTS)
                    {
                        UPBI ()
                    }
                    Else
                    {
                        IVBI ()
                    }
                }
                Else
                {
                    IVBI ()
                }
                Return (PBIF)
            }
            Method (_BST, 0, NotSerialized)
            {
                If (ECON)
                {
                    If (^^PCI0.LPCB.EC0.MBTS)
                    {
                        UPBS ()
                    }
                    Else
                    {
                        IVBS ()
                    }
                }
                Else
                {
                    IVBS ()
                }
                Return (PBST)
            }
            Method (UPBI, 0, NotSerialized)
            {
                Store (^^PCI0.LPCB.EC0.BFLB, Local0)
                Store (^^PCI0.LPCB.EC0.BFHB, Local1)
                ShiftLeft (Local1, 0x08, Local1)
                Or (Local0, Local1, Local0)
                Store (Local0, Local5)
                If (LEqual (And (Local5, 0x8000), 0x8000))
                {
                    ^^PCI0.LPCB.EC0.SMRD (0x09, 0x16, 0x10, RefOf (Local5))
                }
                If (LNotEqual (And (Local5, 0x8000), 0x8000))
                {
                    ShiftRight (Local5, 0x05, Local5)
                    ShiftLeft (Local5, 0x05, Local5)
                    Store (Local5, Index (PBIF, 0x02))
                    If (LEqual (^^PCI0.LPCB.EC0.B47W, One))
                    {
                        Store (Local5, OFCC)
                    }
                    Divide (Local5, 0x64, , Local2)
                    Add (Local2, One, Local2)
                    If (LGreaterEqual (PCID, 0x05))
                    {
                        If (LLessEqual (TSMS, 0x04))
                        {
                            Store (One, ^^PCI0.LPCB.EC0.SMSZ)
                            Multiply (Local2, 0x0A, Local4)
                            Add (Local4, 0x02, Index (PBIF, 0x05))
                            Multiply (Local2, 0x05, Local4)
                            Add (Local4, 0x02, Index (PBIF, 0x06))
                            If (LEqual (^^PCI0.LPCB.EC0.B47W, One))
                            {
                                Multiply (Local2, 0x07, Local4)
                            }
                            Else
                            {
                                Multiply (Local2, 0x07, Local4)
                            }
                            Add (Local4, 0x02, FABL)
                        }
                        Else
                        {
                            Store (Zero, ^^PCI0.LPCB.EC0.SMSZ)
                            Multiply (Local2, 0x0C, Local4)
                            Add (Local4, 0x02, Index (PBIF, 0x05))
                            Multiply (Local2, 0x07, Local4)
                            Add (Local4, 0x02, Index (PBIF, 0x06))
                            Multiply (Local2, 0x09, Local4)
                            Add (Local4, 0x02, FABL)
                        }
                    }
                    Else
                    {
                        Store (Zero, ^^PCI0.LPCB.EC0.SMSZ)
                        Multiply (Local2, 0x0C, Local4)
                        Add (Local4, 0x02, Index (PBIF, 0x05))
                        Multiply (Local2, 0x07, Local4)
                        Add (Local4, 0x02, Index (PBIF, 0x06))
                        Multiply (Local2, 0x09, Local4)
                        Add (Local4, 0x02, FABL)
                    }
                }
                If (^^PCI0.LPCB.EC0.MBNH)
                {
                    Store (^^PCI0.LPCB.EC0.BFLB, Local0)
                    Store (^^PCI0.LPCB.EC0.BFHB, Local1)
                    ShiftLeft (Local1, 0x08, Local1)
                    Or (Local0, Local1, Local0)
                    If (LEqual (And (Local0, 0x8000), 0x8000))
                    {
                        ^^PCI0.LPCB.EC0.SMRD (0x09, 0x16, 0x10, RefOf (Local0))
                    }
                    ShiftRight (Local0, 0x05, Local0)
                    ShiftLeft (Local0, 0x05, Local0)
                    Store (Local0, Index (PBIF, One))
                    Store (^^PCI0.LPCB.EC0.BVLB, Local0)
                    Store (^^PCI0.LPCB.EC0.BVHB, Local1)
                    ShiftLeft (Local1, 0x08, Local1)
                    Or (Local0, Local1, Local0)
                    Store (Local0, Index (PBIF, 0x04))
                    Store ("OANI$", Index (PBIF, 0x09))
                    Store ("NiMH", Index (PBIF, 0x0B))
                }
                Else
                {
                    Store (^^PCI0.LPCB.EC0.BFLB, Local0)
                    Store (^^PCI0.LPCB.EC0.BFHB, Local1)
                    ShiftLeft (Local1, 0x08, Local1)
                    Or (Local0, Local1, Local0)
                    If (LEqual (And (Local0, 0x8000), 0x8000))
                    {
                        ^^PCI0.LPCB.EC0.SMRD (0x09, 0x16, 0x10, RefOf (Local0))
                    }
                    ShiftRight (Local0, 0x05, Local0)
                    ShiftLeft (Local0, 0x05, Local0)
                    Store (Local0, Index (PBIF, One))
                    Store (^^PCI0.LPCB.EC0.BVLB, Local0)
                    Store (^^PCI0.LPCB.EC0.BVHB, Local1)
                    ShiftLeft (Local1, 0x08, Local1)
                    Or (Local0, Local1, Local0)
                    Store (Local0, Index (PBIF, 0x04))
                    Sleep (0x32)
                    Store ("LION", Index (PBIF, 0x0B))
                }
                Store ("Primary", Index (PBIF, 0x09))
                UPUM ()
                Store (One, Index (PBIF, Zero))
            }
            Method (UPUM, 0, NotSerialized)
            {
                Store (Buffer (0x0A)
                    {
                        /* 0000 */   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                        /* 0008 */   0x00, 0x00
                    }, Local0)
                Store (Buffer (0x05)
                    {
                         0x36, 0x35, 0x35, 0x33, 0x35
                    }, Local6)
                Store (Buffer (0x05)
                    {
                         0x31, 0x32, 0x33, 0x32, 0x31
                    }, Local7)
                Store ("Hewlett-Packard", Index (PBIF, 0x0C))
            }
            Method (UPBS, 0, NotSerialized)
            {
                If (LGreaterEqual (PSRV, 0x0D))
                {
                    Store (^^PCI0.LPCB.EC0.MCUR, Local5)
                    Store (POSW (Local5), Index (PBST, One))
                }
                If (LEqual (^^PCI0.LPCB.EC0.B47W, One))
                {
                    Store (DerefOf (Index (PBST, 0x02)), Local4)
                }
                Store (^^PCI0.LPCB.EC0.MBRM, Local5)
                If (LNot (And (Local5, 0x8000)))
                {
                    If (LEqual (^^PCI0.LPCB.EC0.B47W, One))
                    {
                        Store (Local5, Local1)
                    }
                    ShiftRight (Local5, 0x05, Local5)
                    ShiftLeft (Local5, 0x05, Local5)
                    If (LNotEqual (Local5, DerefOf (Index (PBST, 0x02))))
                    {
                        Store (Local5, Index (PBST, 0x02))
                    }
                }
                If (LEqual (^^PCI0.LPCB.EC0.BACR, One))
                {
                    If (LEqual (^^PCI0.LPCB.EC0.Q22L, 0x22))
                    {
                        Increment (^^PCI0.LPCB.EC0.Q22C)
                        If (LGreater (^^PCI0.LPCB.EC0.Q22C, 0x0F))
                        {
                            Store (Zero, ^^PCI0.LPCB.EC0.BACR)
                        }
                    }
                    Store (FABL, Index (PBST, 0x02))
                }
                Else
                {
                    If (LAnd (^^PCI0.LPCB.EC0.SMSZ, ^^PCI0.LPCB.EC0.B47W))
                    {
                        Store (Local5, Index (PBST, 0x02))
                        If (LOr (LEqual (OFCC, Zero), LEqual (And (OFCC, 0x8000), 
                            0x8000)))
                        {
                            Sleep (0x03E8)
                            Notify (BAT0, 0x81)
                            Store (^^PCI0.LPCB.EC0.BFLB, Local0)
                            Store (^^PCI0.LPCB.EC0.BFHB, Local1)
                            ShiftLeft (Local1, 0x08, Local1)
                            Or (Local0, Local1, Local0)
                            If (LEqual (And (Local0, 0x8000), 0x8000))
                            {
                                ^^PCI0.LPCB.EC0.SMRD (0x09, 0x16, 0x10, RefOf (Local0))
                            }
                            ShiftRight (Local0, 0x05, Local0)
                            ShiftLeft (Local0, 0x05, Local0)
                        }
                        Else
                        {
                            Store (OFCC, Local0)
                        }
                        Divide (Local0, 0x64, , Local0)
                        Increment (Local0)
                        Store (Local1, Local5)
                        If (LAnd (LLess (Local5, Add (Multiply (Local0, 0x0F), Divide (
                            Local0, 0x02, ))), LGreater (Local5, Add (Multiply (Local0, 0x09
                            ), Divide (Local0, 0x02, )))))
                        {
                            Subtract (Add (Multiply (Local0, 0x0F), Divide (Local0, 0x02, 
                                )), Add (Multiply (Local0, 0x09), Divide (Local0, 0x02, 
                                )), Local1)
                            Subtract (Add (Multiply (Local0, 0x0F), Divide (Local0, 0x02, 
                                )), Add (Multiply (Local0, 0x05), Divide (Local0, 0x02, 
                                )), Local2)
                            Add (Add (Multiply (Local0, 0x05), Divide (Local0, 0x02, 
                                )), Divide (Multiply (Subtract (Local5, Add (Multiply (Local0, 0x09), 
                                Divide (Local0, 0x02, ))), Local2), Local1, 
                                ), Local1)
                            Store (Local1, Index (PBST, 0x02))
                        }
                        Else
                        {
                            If (LAnd (LLessEqual (Local5, Add (Multiply (Local0, 0x09), 
                                Divide (Local0, 0x02, ))), LGreater (Local5, Subtract (Multiply (Local0, 
                                0x09), Divide (Local0, 0x02, )))))
                            {
                                Store (Multiply (Local0, 0x05), Local1)
                                Store (Local1, Index (PBST, 0x02))
                            }
                            Else
                            {
                                If (LLessEqual (Local5, Subtract (Multiply (Local0, 0x09), Divide (
                                    Local0, 0x02, ))))
                                {
                                    Store (Subtract (Multiply (Local0, 0x09), Divide (Local0, 0x02, 
                                        )), Local1)
                                    Store (Subtract (Multiply (Local0, 0x05), Divide (Local0, 0x02, 
                                        )), Local2)
                                    Subtract (Subtract (Multiply (Local0, 0x05), Divide (Local0, 0x02, 
                                        )), Divide (Multiply (Subtract (Subtract (Multiply (Local0, 0x09), Divide (
                                        Local0, 0x02, )), Local5), Local2), Local1, 
                                        ), Local1)
                                    Store (Local1, Index (PBST, 0x02))
                                    If (LAnd (LAnd (LGreater (Local4, Local1), LNotEqual (^^PCI0.LPCB.EC0.MBRM, Zero)), 
                                        LLessEqual (Local4, Subtract (Multiply (Local0, 0x09), Divide (Local0, 0x02, 
                                        )))))
                                    {
                                        If (LGreater (Subtract (Local4, Local1), Multiply (Local0, 0x02)))
                                        {
                                            Store (Subtract (Local4, Local0), Index (PBST, 0x02))
                                        }
                                    }
                                }
                            }
                        }
                    }
                    Else
                    {
                        Store (Local5, Index (PBST, 0x02))
                    }
                }
                If (LNot (^^PCI0.LPCB.EC0.BACR))
                {
                    Store (Zero, ^^PCI0.LPCB.EC0.Q22L)
                    Store (Zero, ^^PCI0.LPCB.EC0.Q22C)
                }
                Store (^^PCI0.LPCB.EC0.MBCV, Index (PBST, 0x03))
                Store (^^PCI0.LPCB.EC0.MBST, Index (PBST, Zero))
            }
            Method (IVBI, 0, NotSerialized)
            {
                Store (0xFFFFFFFF, Index (PBIF, One))
                Store (0xFFFFFFFF, Index (PBIF, 0x02))
                Store (0xFFFFFFFF, Index (PBIF, 0x04))
                Store ("Bad", Index (PBIF, 0x09))
                Store ("Bad", Index (PBIF, 0x0A))
                Store ("Bad", Index (PBIF, 0x0B))
                Store ("Bad", Index (PBIF, 0x0C))
            }
            Method (IVBS, 0, NotSerialized)
            {
                Store (Zero, Index (PBST, Zero))
                Store (0xFFFFFFFF, Index (PBST, One))
                Store (0xFFFFFFFF, Index (PBST, 0x02))
                Store (0x2710, Index (PBST, 0x03))
            }
        }
        Method (POSW, 1, NotSerialized)
        {
            If (And (Arg0, 0x8000))
            {
                If (LEqual (Arg0, 0xFFFF))
                {
                    Return (0xFFFFFFFF)
                }
                Else
                {
                    Not (Arg0, Local0)
                    Increment (Local0)
                    And (Local0, 0xFFFF, Local0)
                    Return (Local0)
                }
            }
            Else
            {
                Return (Arg0)
            }
        }
        Device (PCI0)
        {
            Name (_HID, EisaId ("PNP0A08"))
            Name (_CID, EisaId ("PNP0A03"))
            Name (_ADR, Zero)
            Method (^BN00, 0, NotSerialized)
            {
                Return (Zero)
            }
            Method (_BBN, 0, NotSerialized)
            {
                Return (BN00 ())
            }
            Name (_UID, Zero)
            Method (_PRT, 0, NotSerialized)
            {
                If (PICM)
                {
                    Return (AR00)
                }
                Return (PR00)
            }
            OperationRegion (HBUS, PCI_Config, 0x40, 0xC0)
            Field (HBUS, DWordAcc, NoLock, Preserve)
            {
                EPEN,   1, 
                    ,   11, 
                EPBR,   20, 
                Offset (0x08), 
                MHEN,   1, 
                    ,   13, 
                MHBR,   18, 
                Offset (0x10), 
                IIEN,   1, 
                    ,   11, 
                DIBI,   20, 
                Offset (0x28), 
                DIEN,   1, 
                    ,   11, 
                DIBR,   20, 
                Offset (0x30), 
                IPEN,   1, 
                    ,   11, 
                IPBR,   20, 
                Offset (0x62), 
                TUUD,   16, 
                Offset (0x70), 
                    ,   4, 
                TLUD,   12, 
                Offset (0x89), 
                    ,   3, 
                GTSE,   1, 
                Offset (0x8A)
            }
            OperationRegion (MCHT, SystemMemory, 0xFED10000, 0x1100)
            Field (MCHT, ByteAcc, NoLock, Preserve)
            {
                Offset (0xD40), 
                ADVE,   1, 
                    ,   11, 
                ADVT,   20, 
                Offset (0x101E), 
                T0IS,   16, 
                Offset (0x105E), 
                T1IS,   16, 
                Offset (0x10EF), 
                ESCS,   8
            }
            Name (BUF0, ResourceTemplate ()
            {
                WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
                    0x0000,             // Granularity
                    0x0000,             // Range Minimum
                    0x00FE,             // Range Maximum
                    0x0000,             // Translation Offset
                    0x00FF,             // Length
                    ,, _Y00)
                DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
                    0x00000000,         // Granularity
                    0x00000000,         // Range Minimum
                    0x00000CF7,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00000CF8,         // Length
                    ,, , TypeStatic)
                IO (Decode16,
                    0x0CF8,             // Range Minimum
                    0x0CF8,             // Range Maximum
                    0x01,               // Alignment
                    0x08,               // Length
                    )
                DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
                    0x00000000,         // Granularity
                    0x00000D00,         // Range Minimum
                    0x0000FFFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x0000F300,         // Length
                    ,, , TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000A0000,         // Range Minimum
                    0x000BFFFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00020000,         // Length
                    ,, , AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000C0000,         // Range Minimum
                    0x000C3FFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y01, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000C4000,         // Range Minimum
                    0x000C7FFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y02, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000C8000,         // Range Minimum
                    0x000CBFFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y03, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000CC000,         // Range Minimum
                    0x000CFFFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y04, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000D0000,         // Range Minimum
                    0x000D3FFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y05, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000D4000,         // Range Minimum
                    0x000D7FFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y06, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000D8000,         // Range Minimum
                    0x000DBFFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y07, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000DC000,         // Range Minimum
                    0x000DFFFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y08, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000E0000,         // Range Minimum
                    0x000E3FFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y09, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000E4000,         // Range Minimum
                    0x000E7FFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y0A, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000E8000,         // Range Minimum
                    0x000EBFFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y0B, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000EC000,         // Range Minimum
                    0x000EFFFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y0C, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000F0000,         // Range Minimum
                    0x000FFFFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00010000,         // Length
                    ,, _Y0D, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x00000000,         // Range Minimum
                    0xFEAFFFFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0xfeb00000,         // Length
                    ,, _Y0E, AddressRangeMemory, TypeStatic)
            })
            Method (_CRS, 0, Serialized)
            {
                CreateWordField (BUF0, \_SB.PCI0._Y00._MAX, PBMX)
                Store (Subtract (ShiftRight (PELN, 0x14), 0x02), PBMX)
                CreateWordField (BUF0, \_SB.PCI0._Y00._LEN, PBLN)
                Store (Subtract (ShiftRight (PELN, 0x14), One), PBLN)
                If (^^CPBG.IMCH.PM1L)
                {
                    CreateDWordField (BUF0, \_SB.PCI0._Y01._LEN, C0LN)
                    Store (Zero, C0LN)
                }
                If (LEqual (^^CPBG.IMCH.PM1L, One))
                {
                    CreateBitField (BUF0, \_SB.PCI0._Y01._RW, C0RW)
                    Store (Zero, C0RW)
                }
                If (^^CPBG.IMCH.PM1H)
                {
                    CreateDWordField (BUF0, \_SB.PCI0._Y02._LEN, C4LN)
                    Store (Zero, C4LN)
                }
                If (LEqual (^^CPBG.IMCH.PM1H, One))
                {
                    CreateBitField (BUF0, \_SB.PCI0._Y02._RW, C4RW)
                    Store (Zero, C4RW)
                }
                If (^^CPBG.IMCH.PM2L)
                {
                    CreateDWordField (BUF0, \_SB.PCI0._Y03._LEN, C8LN)
                    Store (Zero, C8LN)
                }
                If (LEqual (^^CPBG.IMCH.PM2L, One))
                {
                    CreateBitField (BUF0, \_SB.PCI0._Y03._RW, C8RW)
                    Store (Zero, C8RW)
                }
                If (^^CPBG.IMCH.PM2H)
                {
                    CreateDWordField (BUF0, \_SB.PCI0._Y04._LEN, CCLN)
                    Store (Zero, CCLN)
                }
                If (LEqual (^^CPBG.IMCH.PM2H, One))
                {
                    CreateBitField (BUF0, \_SB.PCI0._Y04._RW, CCRW)
                    Store (Zero, CCRW)
                }
                If (^^CPBG.IMCH.PM3L)
                {
                    CreateDWordField (BUF0, \_SB.PCI0._Y05._LEN, D0LN)
                    Store (Zero, D0LN)
                }
                If (LEqual (^^CPBG.IMCH.PM3L, One))
                {
                    CreateBitField (BUF0, \_SB.PCI0._Y05._RW, D0RW)
                    Store (Zero, D0RW)
                }
                If (^^CPBG.IMCH.PM3H)
                {
                    CreateDWordField (BUF0, \_SB.PCI0._Y06._LEN, D4LN)
                    Store (Zero, D4LN)
                }
                If (LEqual (^^CPBG.IMCH.PM3H, One))
                {
                    CreateBitField (BUF0, \_SB.PCI0._Y06._RW, D4RW)
                    Store (Zero, D4RW)
                }
                If (^^CPBG.IMCH.PM4L)
                {
                    CreateDWordField (BUF0, \_SB.PCI0._Y07._LEN, D8LN)
                    Store (Zero, D8LN)
                }
                If (LEqual (^^CPBG.IMCH.PM4L, One))
                {
                    CreateBitField (BUF0, \_SB.PCI0._Y07._RW, D8RW)
                    Store (Zero, D8RW)
                }
                If (^^CPBG.IMCH.PM4H)
                {
                    CreateDWordField (BUF0, \_SB.PCI0._Y08._LEN, DCLN)
                    Store (Zero, DCLN)
                }
                If (LEqual (^^CPBG.IMCH.PM4H, One))
                {
                    CreateBitField (BUF0, \_SB.PCI0._Y08._RW, DCRW)
                    Store (Zero, DCRW)
                }
                If (^^CPBG.IMCH.PM5L)
                {
                    CreateDWordField (BUF0, \_SB.PCI0._Y09._LEN, E0LN)
                    Store (Zero, E0LN)
                }
                If (LEqual (^^CPBG.IMCH.PM5L, One))
                {
                    CreateBitField (BUF0, \_SB.PCI0._Y09._RW, E0RW)
                    Store (Zero, E0RW)
                }
                If (^^CPBG.IMCH.PM5H)
                {
                    CreateDWordField (BUF0, \_SB.PCI0._Y0A._LEN, E4LN)
                    Store (Zero, E4LN)
                }
                If (LEqual (^^CPBG.IMCH.PM5H, One))
                {
                    CreateBitField (BUF0, \_SB.PCI0._Y0A._RW, E4RW)
                    Store (Zero, E4RW)
                }
                If (^^CPBG.IMCH.PM6L)
                {
                    CreateDWordField (BUF0, \_SB.PCI0._Y0B._LEN, E8LN)
                    Store (Zero, E8LN)
                }
                If (LEqual (^^CPBG.IMCH.PM6L, One))
                {
                    CreateBitField (BUF0, \_SB.PCI0._Y0B._RW, E8RW)
                    Store (Zero, E8RW)
                }
                If (^^CPBG.IMCH.PM6H)
                {
                    CreateDWordField (BUF0, \_SB.PCI0._Y0C._LEN, ECLN)
                    Store (Zero, ECLN)
                }
                If (LEqual (^^CPBG.IMCH.PM6H, One))
                {
                    CreateBitField (BUF0, \_SB.PCI0._Y0C._RW, ECRW)
                    Store (Zero, ECRW)
                }
                If (^^CPBG.IMCH.PM0H)
                {
                    CreateDWordField (BUF0, \_SB.PCI0._Y0D._LEN, F0LN)
                    Store (Zero, F0LN)
                }
                If (LEqual (^^CPBG.IMCH.PM0H, One))
                {
                    CreateBitField (BUF0, \_SB.PCI0._Y0D._RW, F0RW)
                    Store (Zero, F0RW)
                }
                CreateDWordField (BUF0, \_SB.PCI0._Y0E._MIN, M1MN)
                CreateDWordField (BUF0, \_SB.PCI0._Y0E._MAX, M1MX)
                CreateDWordField (BUF0, \_SB.PCI0._Y0E._LEN, M1LN)
                If (Or (LEqual (And (PNHM, 0x000FFFF0), 0x000106E0), LEqual (And (
                    PNHM, 0x000FFFF0), 0x000106A0)))
                {
                    If (LGreaterEqual (PNHM, 0x000106E1))
                    {
                        Store (^IO10.TOLM, Local0)
                        ShiftLeft (Increment (Local0), 0x1A, M1MN)
                    }
                    Else
                    {
                        Store (^IIO0.TOLM, Local0)
                        ShiftLeft (Increment (Local0), 0x1A, M1MN)
                    }
                }
                Else
                {
                    ShiftLeft (TLUD, 0x14, M1MN)
                }
                Add (Subtract (M1MX, M1MN), One, M1LN)
                Return (BUF0)
            }
            Name (GUID, Buffer (0x10)
            {
                /* 0000 */   0x5B, 0x4D, 0xDB, 0x33, 0xF7, 0x1F, 0x1C, 0x40,
                /* 0008 */   0x96, 0x57, 0x74, 0x41, 0xC0, 0x3D, 0xD7, 0x66
            })
            Name (SUPP, Zero)
            Name (CTRL, Zero)
            Method (_OSC, 4, Serialized)
            {
                Store (Arg3, Local0)
                CreateDWordField (Local0, Zero, CDW1)
                CreateDWordField (Local0, 0x04, CDW2)
                CreateDWordField (Local0, 0x08, CDW3)
                If (LAnd (LEqual (Arg0, GUID), NEXP))
                {
                    Store (CDW2, SUPP)
                    Store (CDW3, CTRL)
                    If (Not (And (CDW1, One)))
                    {
                        If (And (CTRL, 0x02))
                        {
                            NHPG ()
                        }
                        If (And (CTRL, 0x04))
                        {
                            NPME ()
                        }
                    }
                    If (LNotEqual (Arg1, One))
                    {
                        Or (CDW1, 0x08, CDW1)
                    }
                    If (LNotEqual (CDW3, CTRL))
                    {
                        Or (CDW1, 0x10, CDW1)
                    }
                    Store (CTRL, CDW3)
                    Store (CTRL, OSCC)
                    Return (Local0)
                }
                Else
                {
                    Or (CDW1, 0x04, CDW1)
                    Return (Local0)
                }
            }
            Device (GFX0)
            {
                Name (_ADR, 0x00020000)
                Method (PCPC, 0, NotSerialized)
                {
                    ECST (0x6F)
                }
                Method (PAPR, 0, NotSerialized)
                {
                    If (ECON)
                    {
                        Return (Zero)
                    }
                    Else
                    {
                        Return (Zero)
                    }
                }
                Method (_DOS, 1, NotSerialized)
                {
                    Store (And (Arg0, 0x07), DSEN)
                    If (LEqual (And (Arg0, 0x03), Zero))
                    {
                        If (CondRefOf (HDOS))
                        {
                            HDOS ()
                        }
                    }
                }
                Method (_DOD, 0, NotSerialized)
                {
                    If (CondRefOf (IDAB))
                    {
                        Store (Zero, NDID)
                        IDAB ()
                    }
                    Else
                    {
                        Store (Zero, NDID)
                        If (LNotEqual (DIDL, Zero))
                        {
                            Store (SDDL (DIDL), DID1)
                        }
                        If (LNotEqual (DDL2, Zero))
                        {
                            Store (SDDL (DDL2), DID2)
                        }
                        If (LNotEqual (DDL3, Zero))
                        {
                            Store (SDDL (DDL3), DID3)
                        }
                        If (LNotEqual (DDL4, Zero))
                        {
                            Store (SDDL (DDL4), DID4)
                        }
                        If (LNotEqual (DDL5, Zero))
                        {
                            Store (SDDL (DDL5), DID5)
                        }
                        If (LNotEqual (DDL6, Zero))
                        {
                            Store (SDDL (DDL6), DID6)
                        }
                        If (LNotEqual (DDL7, Zero))
                        {
                            Store (SDDL (DDL7), DID7)
                        }
                        If (LNotEqual (DDL8, Zero))
                        {
                            Store (SDDL (DDL8), DID8)
                        }
                    }
                    If (LEqual (NDID, One))
                    {
                        Name (TMP1, Package (0x01)
                        {
                            0xFFFFFFFF
                        })
                        Store (Or (0x00010000, DID1), Index (TMP1, Zero))
                        Return (TMP1)
                    }
                    If (LEqual (NDID, 0x02))
                    {
                        Name (TMP2, Package (0x02)
                        {
                            0xFFFFFFFF, 
                            0xFFFFFFFF
                        })
                        Store (Or (0x00010000, DID1), Index (TMP2, Zero))
                        Store (Or (0x00010000, DID2), Index (TMP2, One))
                        Return (TMP2)
                    }
                    If (LEqual (NDID, 0x03))
                    {
                        Name (TMP3, Package (0x03)
                        {
                            0xFFFFFFFF, 
                            0xFFFFFFFF, 
                            0xFFFFFFFF
                        })
                        Store (Or (0x00010000, DID1), Index (TMP3, Zero))
                        Store (Or (0x00010000, DID2), Index (TMP3, One))
                        Store (Or (0x00010000, DID3), Index (TMP3, 0x02))
                        Return (TMP3)
                    }
                    If (LEqual (NDID, 0x04))
                    {
                        Name (TMP4, Package (0x04)
                        {
                            0xFFFFFFFF, 
                            0xFFFFFFFF, 
                            0xFFFFFFFF, 
                            0xFFFFFFFF
                        })
                        Store (Or (0x00010000, DID1), Index (TMP4, Zero))
                        Store (Or (0x00010000, DID2), Index (TMP4, One))
                        Store (Or (0x00010000, DID3), Index (TMP4, 0x02))
                        Store (Or (0x00010000, DID4), Index (TMP4, 0x03))
                        Return (TMP4)
                    }
                    If (LEqual (NDID, 0x05))
                    {
                        Name (TMP5, Package (0x05)
                        {
                            0xFFFFFFFF, 
                            0xFFFFFFFF, 
                            0xFFFFFFFF, 
                            0xFFFFFFFF, 
                            0xFFFFFFFF
                        })
                        Store (Or (0x00010000, DID1), Index (TMP5, Zero))
                        Store (Or (0x00010000, DID2), Index (TMP5, One))
                        Store (Or (0x00010000, DID3), Index (TMP5, 0x02))
                        Store (Or (0x00010000, DID4), Index (TMP5, 0x03))
                        Store (Or (0x00010000, DID5), Index (TMP5, 0x04))
                        Return (TMP5)
                    }
                    If (LEqual (NDID, 0x06))
                    {
                        Name (TMP6, Package (0x06)
                        {
                            0xFFFFFFFF, 
                            0xFFFFFFFF, 
                            0xFFFFFFFF, 
                            0xFFFFFFFF, 
                            0xFFFFFFFF, 
                            0xFFFFFFFF
                        })
                        Store (Or (0x00010000, DID1), Index (TMP6, Zero))
                        Store (Or (0x00010000, DID2), Index (TMP6, One))
                        Store (Or (0x00010000, DID3), Index (TMP6, 0x02))
                        Store (Or (0x00010000, DID4), Index (TMP6, 0x03))
                        Store (Or (0x00010000, DID5), Index (TMP6, 0x04))
                        Store (Or (0x00010000, DID6), Index (TMP6, 0x05))
                        Return (TMP6)
                    }
                    If (LEqual (NDID, 0x07))
                    {
                        Name (TMP7, Package (0x07)
                        {
                            0xFFFFFFFF, 
                            0xFFFFFFFF, 
                            0xFFFFFFFF, 
                            0xFFFFFFFF, 
                            0xFFFFFFFF, 
                            0xFFFFFFFF, 
                            0xFFFFFFFF
                        })
                        Store (Or (0x00010000, DID1), Index (TMP7, Zero))
                        Store (Or (0x00010000, DID2), Index (TMP7, One))
                        Store (Or (0x00010000, DID3), Index (TMP7, 0x02))
                        Store (Or (0x00010000, DID4), Index (TMP7, 0x03))
                        Store (Or (0x00010000, DID5), Index (TMP7, 0x04))
                        Store (Or (0x00010000, DID6), Index (TMP7, 0x05))
                        Store (Or (0x00010000, DID7), Index (TMP7, 0x06))
                        Return (TMP7)
                    }
                    If (LEqual (NDID, 0x08))
                    {
                        Name (TMP8, Package (0x08)
                        {
                            0xFFFFFFFF, 
                            0xFFFFFFFF, 
                            0xFFFFFFFF, 
                            0xFFFFFFFF, 
                            0xFFFFFFFF, 
                            0xFFFFFFFF, 
                            0xFFFFFFFF, 
                            0xFFFFFFFF
                        })
                        Store (Or (0x00010000, DID1), Index (TMP8, Zero))
                        Store (Or (0x00010000, DID2), Index (TMP8, One))
                        Store (Or (0x00010000, DID3), Index (TMP8, 0x02))
                        Store (Or (0x00010000, DID4), Index (TMP8, 0x03))
                        Store (Or (0x00010000, DID5), Index (TMP8, 0x04))
                        Store (Or (0x00010000, DID6), Index (TMP8, 0x05))
                        Store (Or (0x00010000, DID7), Index (TMP8, 0x06))
                        Store (Or (0x00010000, DID8), Index (TMP8, 0x07))
                        Return (TMP8)
                    }
                    Return (Package (0x01)
                    {
                        0x0400
                    })
                }
                Device (DD01)
                {
                    Method (_ADR, 0, Serialized)
                    {
                        If (LEqual (DID1, Zero))
                        {
                            Return (One)
                        }
                        Else
                        {
                            Return (And (0xFFFF, DID1))
                        }
                    }
                    Method (_DCS, 0, NotSerialized)
                    {
                        Return (CDDS (DID1))
                    }
                    Method (_DGS, 0, NotSerialized)
                    {
                        If (CondRefOf (SNXD))
                        {
                            Return (NXD1)
                        }
                        Return (NDDS (DID1))
                    }
                    Method (_DSS, 1, NotSerialized)
                    {
                        If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
                        {
                            Store (NSTE, CSTE)
                        }
                    }
                }
                Device (DD02)
                {
                    Method (_ADR, 0, Serialized)
                    {
                        Store (0xE3, DBGD)
                        TRAP (TRTI, 0x21)
                        If (LEqual (DID2, Zero))
                        {
                            Return (0x02)
                        }
                        Else
                        {
                            Return (And (0xFFFF, DID2))
                        }
                    }
                    Method (_DCS, 0, NotSerialized)
                    {
                        If (LEqual (LIDS, Zero))
                        {
                            Return (Zero)
                        }
                        Return (CDDS (DID2))
                    }
                    Method (_DGS, 0, NotSerialized)
                    {
                        If (CondRefOf (SNXD))
                        {
                            Return (NXD2)
                        }
                        Return (NDDS (DID2))
                    }
                    Method (_DSS, 1, NotSerialized)
                    {
                        If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
                        {
                            Store (NSTE, CSTE)
                        }
                    }
                    Method (_BCL, 0, NotSerialized)
                    {
                        If (IGDS)
                        {
                            Name (_T_0, Zero)
                            Store (LCDD, _T_0)
                            If (LEqual (_T_0, 0x058EE509))
                            {
                                Store (0x8A1C8017, BCL0)
                                Store (0x9E39942B, BCL1)
                                Store (0xB256A847, BCL2)
                                Store (0xC68FBC65, BCL3)
                                Store (0xDAE8D0BC, BCL4)
                                Store (0xE4FC, BCL5)
                            }
                            Else
                            {
                                If (LEqual (_T_0, 0x059DE509))
                                {
                                    Store (0x8A188012, BCL0)
                                    Store (0x9E309423, BCL1)
                                    Store (0xB248A83C, BCL2)
                                    Store (0xC678BC53, BCL3)
                                    Store (0xDAC3D09E, BCL4)
                                    Store (0xE4FA, BCL5)
                                }
                                Else
                                {
                                    If (LEqual (_T_0, 0x183CAF06))
                                    {
                                        Store (0x8A178014, BCL0)
                                        Store (0x9E2D9422, BCL1)
                                        Store (0xB242A838, BCL2)
                                        Store (0xC66CBC4D, BCL3)
                                        Store (0xDAABD08B, BCL4)
                                        Store (0xE4E4, BCL5)
                                    }
                                    Else
                                    {
                                        If (LEqual (_T_0, 0x22ECAF06))
                                        {
                                            Store (0x8A178014, BCL0)
                                            Store (0x9E2D9422, BCL1)
                                            Store (0xB242A838, BCL2)
                                            Store (0xC663BC4D, BCL3)
                                            Store (0xDAA1D082, BCL4)
                                            Store (0xE4E4, BCL5)
                                        }
                                        Else
                                        {
                                            If (LEqual (_T_0, 0x139EAF06))
                                            {
                                                Store (0x8A178014, BCL0)
                                                Store (0x9E2D9422, BCL1)
                                                Store (0xB242A838, BCL2)
                                                Store (0xC66CBC4D, BCL3)
                                                Store (0xDAABD08B, BCL4)
                                                Store (0xE4E4, BCL5)
                                            }
                                            Else
                                            {
                                                If (LEqual (_T_0, 0x1461AF0D))
                                                {
                                                    Store (0x8A178014, BCL0)
                                                    Store (0x9E2D9422, BCL1)
                                                    Store (0xB242A838, BCL2)
                                                    Store (0xC66CBC4D, BCL3)
                                                    Store (0xDAABD08B, BCL4)
                                                    Store (0xE4E4, BCL5)
                                                }
                                                Else
                                                {
                                                    If (LEqual (_T_0, 0x1592AF0D))
                                                    {
                                                        Store (0x8A178013, BCL0)
                                                        Store (0x9E2D9421, BCL1)
                                                        Store (0xB242A837, BCL2)
                                                        Store (0xC66DBC4E, BCL3)
                                                        Store (0xDAB2D08E, BCL4)
                                                        Store (0xE4D5, BCL5)
                                                    }
                                                    Else
                                                    {
                                                        If (LEqual (_T_0, 0x15A2AF0D))
                                                        {
                                                            Store (0x8A178013, BCL0)
                                                            Store (0x9E2D9421, BCL1)
                                                            Store (0xB242A837, BCL2)
                                                            Store (0xC66DBC4E, BCL3)
                                                            Store (0xDAB2D08E, BCL4)
                                                            Store (0xE4D5, BCL5)
                                                        }
                                                        Else
                                                        {
                                                            If (LEqual (_T_0, 0x15A6AF0D))
                                                            {
                                                                Store (0x8A178013, BCL0)
                                                                Store (0x9E2D9421, BCL1)
                                                                Store (0xB242A837, BCL2)
                                                                Store (0xC66DBC4E, BCL3)
                                                                Store (0xDAB2D08E, BCL4)
                                                                Store (0xE4D5, BCL5)
                                                            }
                                                            Else
                                                            {
                                                                If (LEqual (_T_0, 0x1593AF0D))
                                                                {
                                                                    Store (0x8A3E8037, BCL0)
                                                                    Store (0x9E649450, BCL1)
                                                                    Store (0xB276A870, BCL2)
                                                                    Store (0xC69ABC83, BCL3)
                                                                    Store (0xDAC7D0B0, BCL4)
                                                                    Store (0xE4FA, BCL5)
                                                                }
                                                                Else
                                                                {
                                                                    If (LEqual (_T_0, 0x1711AF0D))
                                                                    {
                                                                        Store (0x8A178014, BCL0)
                                                                        Store (0x9E2D9422, BCL1)
                                                                        Store (0xB242A838, BCL2)
                                                                        Store (0xC66CBC4D, BCL3)
                                                                        Store (0xDAABD08B, BCL4)
                                                                        Store (0xE4E4, BCL5)
                                                                    }
                                                                    Else
                                                                    {
                                                                        If (LEqual (_T_0, 0x05836422))
                                                                        {
                                                                            Store (0x8A1B8013, BCL0)
                                                                            Store (0x9E339426, BCL1)
                                                                            Store (0xB250A83F, BCL2)
                                                                            Store (0xC67FBC5F, BCL3)
                                                                            Store (0xDACFD0A9, BCL4)
                                                                            Store (0xE4FF, BCL5)
                                                                        }
                                                                        Else
                                                                        {
                                                                            If (LEqual (_T_0, 0x0007CC25))
                                                                            {
                                                                                Store (0x8A158012, BCL0)
                                                                                Store (0x9E29941F, BCL1)
                                                                                Store (0xB23DA833, BCL2)
                                                                                Store (0xC665BC47, BCL3)
                                                                                Store (0xDAA1D083, BCL4)
                                                                                Store (0xE4C9, BCL5)
                                                                            }
                                                                            Else
                                                                            {
                                                                                If (LEqual (_T_0, 0x0015CC25))
                                                                                {
                                                                                    Store (0x8A158012, BCL0)
                                                                                    Store (0x9E29941F, BCL1)
                                                                                    Store (0xB23DA833, BCL2)
                                                                                    Store (0xC665BC47, BCL3)
                                                                                    Store (0xDAA1D083, BCL4)
                                                                                    Store (0xE4C9, BCL5)
                                                                                }
                                                                                Else
                                                                                {
                                                                                    If (LEqual (_T_0, 0x003BCC25))
                                                                                    {
                                                                                        Store (0x8A188015, BCL0)
                                                                                        Store (0x9E2B9421, BCL1)
                                                                                        Store (0xB240A836, BCL2)
                                                                                        Store (0xC670BC4A, BCL3)
                                                                                        Store (0xDAB4D091, BCL4)
                                                                                        Store (0xE4DE, BCL5)
                                                                                    }
                                                                                    Else
                                                                                    {
                                                                                        If (LEqual (_T_0, 0x0224E430))
                                                                                        {
                                                                                            Store (0x8A178014, BCL0)
                                                                                            Store (0x9E2D9422, BCL1)
                                                                                            Store (0xB242A838, BCL2)
                                                                                            Store (0xC66CBC4D, BCL3)
                                                                                            Store (0xDAABD08B, BCL4)
                                                                                            Store (0xE4E4, BCL5)
                                                                                        }
                                                                                        Else
                                                                                        {
                                                                                            If (LEqual (_T_0, 0x0251E430))
                                                                                            {
                                                                                                Store (0x8A188014, BCL0)
                                                                                                Store (0x9E2D9423, BCL1)
                                                                                                Store (0xB243A83A, BCL2)
                                                                                                Store (0xC670BC50, BCL3)
                                                                                                Store (0xDAB0D090, BCL4)
                                                                                                Store (0xE4F0, BCL5)
                                                                                            }
                                                                                            Else
                                                                                            {
                                                                                                If (LEqual (_T_0, 0x027AE430))
                                                                                                {
                                                                                                    Store (0x8A178013, BCL0)
                                                                                                    Store (0x9E2D9421, BCL1)
                                                                                                    Store (0xB242A837, BCL2)
                                                                                                    Store (0xC66DBC4E, BCL3)
                                                                                                    Store (0xDAB2D08E, BCL4)
                                                                                                    Store (0xE4D5, BCL5)
                                                                                                }
                                                                                                Else
                                                                                                {
                                                                                                    If (LEqual (_T_0, 0x02B2E430))
                                                                                                    {
                                                                                                        Store (0x8A1A8014, BCL0)
                                                                                                        Store (0x9E329425, BCL1)
                                                                                                        Store (0xB24AA83E, BCL2)
                                                                                                        Store (0xC682BC55, BCL3)
                                                                                                        Store (0xDACDD0A5, BCL4)
                                                                                                        Store (0xE4FA, BCL5)
                                                                                                    }
                                                                                                    Else
                                                                                                    {
                                                                                                        If (LEqual (_T_0, 0x026AE430))
                                                                                                        {
                                                                                                            Store (0x8A178014, BCL0)
                                                                                                            Store (0x9E2D9422, BCL1)
                                                                                                            Store (0xB242A838, BCL2)
                                                                                                            Store (0xC66CBC4D, BCL3)
                                                                                                            Store (0xDAABD08B, BCL4)
                                                                                                            Store (0xE4E4, BCL5)
                                                                                                        }
                                                                                                        Else
                                                                                                        {
                                                                                                            If (LEqual (_T_0, 0x02ACE430))
                                                                                                            {
                                                                                                                Store (0x8A178014, BCL0)
                                                                                                                Store (0x9E2D9422, BCL1)
                                                                                                                Store (0xB242A838, BCL2)
                                                                                                                Store (0xC66CBC4D, BCL3)
                                                                                                                Store (0xDAABD08B, BCL4)
                                                                                                                Store (0xE4E4, BCL5)
                                                                                                            }
                                                                                                            Else
                                                                                                            {
                                                                                                                If (LEqual (_T_0, 0x0226E430))
                                                                                                                {
                                                                                                                    Store (0x8A178014, BCL0)
                                                                                                                    Store (0x9E2D9422, BCL1)
                                                                                                                    Store (0xB242A838, BCL2)
                                                                                                                    Store (0xC66CBC4D, BCL3)
                                                                                                                    Store (0xDAABD08B, BCL4)
                                                                                                                    Store (0xE4E4, BCL5)
                                                                                                                }
                                                                                                                Else
                                                                                                                {
                                                                                                                    If (LEqual (_T_0, 0x02D1E430))
                                                                                                                    {
                                                                                                                        Store (0x8A178014, BCL0)
                                                                                                                        Store (0x9E2D9422, BCL1)
                                                                                                                        Store (0xB242A838, BCL2)
                                                                                                                        Store (0xC66CBC4D, BCL3)
                                                                                                                        Store (0xDAABD08B, BCL4)
                                                                                                                        Store (0xE4E4, BCL5)
                                                                                                                    }
                                                                                                                    Else
                                                                                                                    {
                                                                                                                        If (LEqual (_T_0, 0x3842A34C))
                                                                                                                        {
                                                                                                                            Store (0x8A148010, BCL0)
                                                                                                                            Store (0x9E269419, BCL1)
                                                                                                                            Store (0xB238A82E, BCL2)
                                                                                                                            Store (0xC663BC42, BCL3)
                                                                                                                            Store (0xDA9ED07D, BCL4)
                                                                                                                            Store (0xE4CA, BCL5)
                                                                                                                        }
                                                                                                                        Else
                                                                                                                        {
                                                                                                                            If (LEqual (_T_0, 0x5742A34C))
                                                                                                                            {
                                                                                                                                Store (0x8A118010, BCL0)
                                                                                                                                Store (0x9E23941A, BCL1)
                                                                                                                                Store (0xB234A82C, BCL2)
                                                                                                                                Store (0xC657BC3D, BCL3)
                                                                                                                                Store (0xDA8AD070, BCL4)
                                                                                                                                Store (0xE4B0, BCL5)
                                                                                                                            }
                                                                                                                            Else
                                                                                                                            {
                                                                                                                                If (LEqual (_T_0, 0x3651A34C))
                                                                                                                                {
                                                                                                                                    Store (0x8A178014, BCL0)
                                                                                                                                    Store (0x9E2D9422, BCL1)
                                                                                                                                    Store (0xB242A838, BCL2)
                                                                                                                                    Store (0xC66CBC4D, BCL3)
                                                                                                                                    Store (0xDAABD08B, BCL4)
                                                                                                                                    Store (0xE4E4, BCL5)
                                                                                                                                }
                                                                                                                                Else
                                                                                                                                {
                                                                                                                                    If (LEqual (_T_0, 0x4251A34C))
                                                                                                                                    {
                                                                                                                                        Store (0x8A178014, BCL0)
                                                                                                                                        Store (0x9E2D9422, BCL1)
                                                                                                                                        Store (0xB242A838, BCL2)
                                                                                                                                        Store (0xC66CBC4D, BCL3)
                                                                                                                                        Store (0xDAABD08B, BCL4)
                                                                                                                                        Store (0xE4E4, BCL5)
                                                                                                                                    }
                                                                                                                                    Else
                                                                                                                                    {
                                                                                                                                        If (LEqual (_T_0, 0x4151A34C))
                                                                                                                                        {
                                                                                                                                            Store (0x8A178014, BCL0)
                                                                                                                                            Store (0x9E2D9422, BCL1)
                                                                                                                                            Store (0xB242A838, BCL2)
                                                                                                                                            Store (0xC66CBC4D, BCL3)
                                                                                                                                            Store (0xDAABD08B, BCL4)
                                                                                                                                            Store (0xE4E4, BCL5)
                                                                                                                                        }
                                                                                                                                        Else
                                                                                                                                        {
                                                                                                                                            If (LEqual (_T_0, 0x3354A34C))
                                                                                                                                            {
                                                                                                                                                Store (0x8A178014, BCL0)
                                                                                                                                                Store (0x9E2D9422, BCL1)
                                                                                                                                                Store (0xB242A838, BCL2)
                                                                                                                                                Store (0xC66CBC4D, BCL3)
                                                                                                                                                Store (0xDAB0D090, BCL4)
                                                                                                                                                Store (0xE4E4, BCL5)
                                                                                                                                            }
                                                                                                                                            Else
                                                                                                                                            {
                                                                                                                                                If (LEqual (_T_0, 0x02E9E430))
                                                                                                                                                {
                                                                                                                                                    Store (0x8A1B8016, BCL0)
                                                                                                                                                    Store (0x9E319425, BCL1)
                                                                                                                                                    Store (0xB246A83B, BCL2)
                                                                                                                                                    Store (0xC673BC52, BCL3)
                                                                                                                                                    Store (0xDABAD098, BCL4)
                                                                                                                                                    Store (0xE4FC, BCL5)
                                                                                                                                                }
                                                                                                                                                Else
                                                                                                                                                {
                                                                                                                                                    If (LEqual (_T_0, 0x02F2E430))
                                                                                                                                                    {
                                                                                                                                                        Store (0x8A188014, BCL0)
                                                                                                                                                        Store (0x9E2E9422, BCL1)
                                                                                                                                                        Store (0xB242A838, BCL2)
                                                                                                                                                        Store (0xC66EBC50, BCL3)
                                                                                                                                                        Store (0xDAB9D092, BCL4)
                                                                                                                                                        Store (0xE4F0, BCL5)
                                                                                                                                                    }
                                                                                                                                                    Else
                                                                                                                                                    {
                                                                                                                                                        Store (LCDD, Local0)
                                                                                                                                                        And (Local0, 0x1111, Local1)
                                                                                                                                                        Name (_T_1, Zero)
                                                                                                                                                        Store (Local1, _T_1)
                                                                                                                                                        If (LEqual (_T_1, 0xA34C))
                                                                                                                                                        {
                                                                                                                                                            Store (0x8A178014, BCL0)
                                                                                                                                                            Store (0x9E2D9422, BCL1)
                                                                                                                                                            Store (0xB242A838, BCL2)
                                                                                                                                                            Store (0xC66CBC4D, BCL3)
                                                                                                                                                            Store (0xDAABD08B, BCL4)
                                                                                                                                                            Store (0xE4E4, BCL5)
                                                                                                                                                        }
                                                                                                                                                        Else
                                                                                                                                                        {
                                                                                                                                                            If (LEqual (_T_1, 0xE430))
                                                                                                                                                            {
                                                                                                                                                                Store (0x8A178013, BCL0)
                                                                                                                                                                Store (0x9E2D9421, BCL1)
                                                                                                                                                                Store (0xB242A837, BCL2)
                                                                                                                                                                Store (0xC66DBC4E, BCL3)
                                                                                                                                                                Store (0xDAB2D08E, BCL4)
                                                                                                                                                                Store (0xE4D5, BCL5)
                                                                                                                                                            }
                                                                                                                                                            Else
                                                                                                                                                            {
                                                                                                                                                                If (LEqual (_T_1, 0x6422))
                                                                                                                                                                {
                                                                                                                                                                    Store (0x8A178013, BCL0)
                                                                                                                                                                    Store (0x9E2D9421, BCL1)
                                                                                                                                                                    Store (0xB242A837, BCL2)
                                                                                                                                                                    Store (0xC66DBC4E, BCL3)
                                                                                                                                                                    Store (0xDAB2D08E, BCL4)
                                                                                                                                                                    Store (0xE4D5, BCL5)
                                                                                                                                                                }
                                                                                                                                                                Else
                                                                                                                                                                {
                                                                                                                                                                    If (LEqual (_T_1, 0xAF0D))
                                                                                                                                                                    {
                                                                                                                                                                        Store (0x8A138011, BCL0)
                                                                                                                                                                        Store (0x9E2A9420, BCL1)
                                                                                                                                                                        Store (0xB238A833, BCL2)
                                                                                                                                                                        Store (0xC57DBC42, BCL3)
                                                                                                                                                                        Store (0xDA8FD070, BCL4)
                                                                                                                                                                        Store (0xE4B5, BCL5)
                                                                                                                                                                    }
                                                                                                                                                                    Else
                                                                                                                                                                    {
                                                                                                                                                                        Store (0x8A178014, BCL0)
                                                                                                                                                                        Store (0x9E2D9422, BCL1)
                                                                                                                                                                        Store (0xB242A838, BCL2)
                                                                                                                                                                        Store (0xC66CBC4D, BCL3)
                                                                                                                                                                        Store (0xDAABD08B, BCL4)
                                                                                                                                                                        Store (0xE4E4, BCL5)
                                                                                                                                                                    }
                                                                                                                                                                }
                                                                                                                                                            }
                                                                                                                                                        }
                                                                                                                                                    }
                                                                                                                                                }
                                                                                                                                            }
                                                                                                                                        }
                                                                                                                                    }
                                                                                                                                }
                                                                                                                            }
                                                                                                                        }
                                                                                                                    }
                                                                                                                }
                                                                                                            }
                                                                                                        }
                                                                                                    }
                                                                                                }
                                                                                            }
                                                                                        }
                                                                                    }
                                                                                }
                                                                            }
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                            Return (BCLT)
                        }
                        Else
                        {
                            Return (BCLT)
                        }
                    }
                    Method (_BCM, 1, NotSerialized)
                    {
                        If (IGDS)
                        {
                            If (LAnd (LGreaterEqual (Arg0, 0x0A), LLessEqual (Arg0, 0x64)))
                            {
                                AINT (One, Arg0)
                                Store (Arg0, BRNS)
                            }
                        }
                        Else
                        {
                            Store (Arg0, BRNS)
                            TRAP (TRTI, 0x23)
                        }
                    }
                    Method (_BQC, 0, NotSerialized)
                    {
                        If (IGDS) {}
                        Else
                        {
                            TRAP (TRTI, 0x22)
                            Return (BRNS)
                        }
                    }
                }
                Device (DD03)
                {
                    Method (_ADR, 0, Serialized)
                    {
                        If (LEqual (DID3, Zero))
                        {
                            Return (0x03)
                        }
                        Else
                        {
                            Return (And (0xFFFF, DID3))
                        }
                    }
                    Method (_DCS, 0, NotSerialized)
                    {
                        If (LEqual (DID3, Zero))
                        {
                            Return (0x0B)
                        }
                        Else
                        {
                            Return (CDDS (DID3))
                        }
                    }
                    Method (_DGS, 0, NotSerialized)
                    {
                        If (CondRefOf (SNXD))
                        {
                            Return (NXD3)
                        }
                        Return (NDDS (DID3))
                    }
                    Method (_DSS, 1, NotSerialized)
                    {
                        If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
                        {
                            Store (NSTE, CSTE)
                        }
                    }
                }
                Device (DD04)
                {
                    Method (_ADR, 0, Serialized)
                    {
                        If (LEqual (DID4, Zero))
                        {
                            Return (0x04)
                        }
                        Else
                        {
                            Return (And (0xFFFF, DID4))
                        }
                    }
                    Method (_DCS, 0, NotSerialized)
                    {
                        If (LEqual (DID4, Zero))
                        {
                            Return (0x0B)
                        }
                        Else
                        {
                            Return (CDDS (DID4))
                        }
                    }
                    Method (_DGS, 0, NotSerialized)
                    {
                        If (CondRefOf (SNXD))
                        {
                            Return (NXD4)
                        }
                        Return (NDDS (DID4))
                    }
                    Method (_DSS, 1, NotSerialized)
                    {
                        If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
                        {
                            Store (NSTE, CSTE)
                        }
                    }
                }
                Device (DD05)
                {
                    Method (_ADR, 0, Serialized)
                    {
                        If (LEqual (DID5, Zero))
                        {
                            Return (0x05)
                        }
                        Else
                        {
                            Return (And (0xFFFF, DID5))
                        }
                    }
                    Method (_DCS, 0, NotSerialized)
                    {
                        If (LEqual (DID5, Zero))
                        {
                            Return (0x0B)
                        }
                        Else
                        {
                            Return (CDDS (DID5))
                        }
                    }
                    Method (_DGS, 0, NotSerialized)
                    {
                        If (CondRefOf (SNXD))
                        {
                            Return (NXD5)
                        }
                        Return (NDDS (DID5))
                    }
                    Method (_DSS, 1, NotSerialized)
                    {
                        If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
                        {
                            Store (NSTE, CSTE)
                        }
                    }
                }
                Device (DD06)
                {
                    Method (_ADR, 0, Serialized)
                    {
                        If (LEqual (DID6, Zero))
                        {
                            Return (0x06)
                        }
                        Else
                        {
                            Return (And (0xFFFF, DID6))
                        }
                    }
                    Method (_DCS, 0, NotSerialized)
                    {
                        If (LEqual (DID6, Zero))
                        {
                            Return (0x0B)
                        }
                        Else
                        {
                            Return (CDDS (DID6))
                        }
                    }
                    Method (_DGS, 0, NotSerialized)
                    {
                        If (CondRefOf (SNXD))
                        {
                            Return (NXD6)
                        }
                        Return (NDDS (DID6))
                    }
                    Method (_DSS, 1, NotSerialized)
                    {
                        If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
                        {
                            Store (NSTE, CSTE)
                        }
                    }
                }
                Device (DD07)
                {
                    Method (_ADR, 0, Serialized)
                    {
                        If (LEqual (DID7, Zero))
                        {
                            Return (0x07)
                        }
                        Else
                        {
                            Return (And (0xFFFF, DID7))
                        }
                    }
                    Method (_DCS, 0, NotSerialized)
                    {
                        If (LEqual (DID7, Zero))
                        {
                            Return (0x0B)
                        }
                        Else
                        {
                            Return (CDDS (DID7))
                        }
                    }
                    Method (_DGS, 0, NotSerialized)
                    {
                        If (CondRefOf (SNXD))
                        {
                            Return (NXD7)
                        }
                        Return (NDDS (DID7))
                    }
                    Method (_DSS, 1, NotSerialized)
                    {
                        If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
                        {
                            Store (NSTE, CSTE)
                        }
                    }
                }
                Device (DD08)
                {
                    Method (_ADR, 0, Serialized)
                    {
                        If (LEqual (DID8, Zero))
                        {
                            Return (0x08)
                        }
                        Else
                        {
                            Return (And (0xFFFF, DID8))
                        }
                    }
                    Method (_DCS, 0, NotSerialized)
                    {
                        If (LEqual (DID8, Zero))
                        {
                            Return (0x0B)
                        }
                        Else
                        {
                            Return (CDDS (DID8))
                        }
                    }
                    Method (_DGS, 0, NotSerialized)
                    {
                        If (CondRefOf (SNXD))
                        {
                            Return (NXD8)
                        }
                        Return (NDDS (DID8))
                    }
                    Method (_DSS, 1, NotSerialized)
                    {
                        If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
                        {
                            Store (NSTE, CSTE)
                        }
                    }
                }
                Method (SDDL, 1, NotSerialized)
                {
                    Increment (NDID)
                    Store (And (Arg0, 0x0F0F), Local0)
                    Or (0x80000000, Local0, Local1)
                    If (LEqual (DIDL, Local0))
                    {
                        Return (Local1)
                    }
                    If (LEqual (DDL2, Local0))
                    {
                        Return (Local1)
                    }
                    If (LEqual (DDL3, Local0))
                    {
                        Return (Local1)
                    }
                    If (LEqual (DDL4, Local0))
                    {
                        Return (Local1)
                    }
                    If (LEqual (DDL5, Local0))
                    {
                        Return (Local1)
                    }
                    If (LEqual (DDL6, Local0))
                    {
                        Return (Local1)
                    }
                    If (LEqual (DDL7, Local0))
                    {
                        Return (Local1)
                    }
                    If (LEqual (DDL8, Local0))
                    {
                        Return (Local1)
                    }
                    Return (Zero)
                }
                Method (CDDS, 1, NotSerialized)
                {
                    Store (And (Arg0, 0x0F0F), Local0)
                    If (LEqual (Zero, Local0))
                    {
                        Return (0x1D)
                    }
                    If (LEqual (CADL, Local0))
                    {
                        Return (0x1F)
                    }
                    If (LEqual (CAL2, Local0))
                    {
                        Return (0x1F)
                    }
                    If (LEqual (CAL3, Local0))
                    {
                        Return (0x1F)
                    }
                    If (LEqual (CAL4, Local0))
                    {
                        Return (0x1F)
                    }
                    If (LEqual (CAL5, Local0))
                    {
                        Return (0x1F)
                    }
                    If (LEqual (CAL6, Local0))
                    {
                        Return (0x1F)
                    }
                    If (LEqual (CAL7, Local0))
                    {
                        Return (0x1F)
                    }
                    If (LEqual (CAL8, Local0))
                    {
                        Return (0x1F)
                    }
                    Return (0x1D)
                }
                Method (NDDS, 1, NotSerialized)
                {
                    Store (And (Arg0, 0x0F0F), Local0)
                    If (LEqual (Zero, Local0))
                    {
                        Return (Zero)
                    }
                    If (LEqual (NADL, Local0))
                    {
                        Return (One)
                    }
                    If (LEqual (NDL2, Local0))
                    {
                        Return (One)
                    }
                    If (LEqual (NDL3, Local0))
                    {
                        Return (One)
                    }
                    If (LEqual (NDL4, Local0))
                    {
                        Return (One)
                    }
                    If (LEqual (NDL5, Local0))
                    {
                        Return (One)
                    }
                    If (LEqual (NDL6, Local0))
                    {
                        Return (One)
                    }
                    If (LEqual (NDL7, Local0))
                    {
                        Return (One)
                    }
                    If (LEqual (NDL8, Local0))
                    {
                        Return (One)
                    }
                    Return (Zero)
                }
                Scope (^^PCI0)
                {
                    OperationRegion (MCHP, PCI_Config, 0x40, 0xC0)
                    Field (MCHP, AnyAcc, NoLock, Preserve)
                    {
                        Offset (0x60), 
                        TASM,   10, 
                        Offset (0x62)
                    }
                }
                OperationRegion (IGDP, PCI_Config, 0x40, 0xC0)
                Field (IGDP, AnyAcc, NoLock, Preserve)
                {
                    Offset (0x12), 
                        ,   1, 
                    GIVD,   1, 
                        ,   2, 
                    GUMA,   3, 
                    Offset (0x14), 
                        ,   4, 
                    GMFN,   1, 
                    Offset (0x18), 
                    Offset (0xA4), 
                    ASLE,   8, 
                    Offset (0xA8), 
                    GSSE,   1, 
                    GSSB,   14, 
                    GSES,   1, 
                    Offset (0xB0), 
                        ,   12, 
                    CDVL,   1, 
                    Offset (0xB2), 
                    Offset (0xB5), 
                    LBPC,   8, 
                    Offset (0xBC), 
                    ASLS,   32
                }
                OperationRegion (IGDM, SystemMemory, ASLB, 0x2000)
                Field (IGDM, AnyAcc, NoLock, Preserve)
                {
                    SIGN,   128, 
                    SIZE,   32, 
                    OVER,   32, 
                    SVER,   256, 
                    VVER,   128, 
                    GVER,   128, 
                    MBOX,   32, 
                    DMOD,   32, 
                    Offset (0x100), 
                    DRDY,   32, 
                    CSTS,   32, 
                    CEVT,   32, 
                    Offset (0x120), 
                    DIDL,   32, 
                    DDL2,   32, 
                    DDL3,   32, 
                    DDL4,   32, 
                    DDL5,   32, 
                    DDL6,   32, 
                    DDL7,   32, 
                    DDL8,   32, 
                    CPDL,   32, 
                    CPL2,   32, 
                    CPL3,   32, 
                    CPL4,   32, 
                    CPL5,   32, 
                    CPL6,   32, 
                    CPL7,   32, 
                    CPL8,   32, 
                    CADL,   32, 
                    CAL2,   32, 
                    CAL3,   32, 
                    CAL4,   32, 
                    CAL5,   32, 
                    CAL6,   32, 
                    CAL7,   32, 
                    CAL8,   32, 
                    NADL,   32, 
                    NDL2,   32, 
                    NDL3,   32, 
                    NDL4,   32, 
                    NDL5,   32, 
                    NDL6,   32, 
                    NDL7,   32, 
                    NDL8,   32, 
                    ASLP,   32, 
                    TIDX,   32, 
                    CHPD,   32, 
                    CLID,   32, 
                    CDCK,   32, 
                    SXSW,   32, 
                    EVTS,   32, 
                    CNOT,   32, 
                    NRDY,   32, 
                    Offset (0x200), 
                    SCIE,   1, 
                    GEFC,   4, 
                    GXFC,   3, 
                    GESF,   8, 
                    Offset (0x204), 
                    PARM,   32, 
                    DSLP,   32, 
                    Offset (0x300), 
                    ARDY,   32, 
                    ASLC,   32, 
                    TCHE,   32, 
                    ALSI,   32, 
                    BCLP,   32, 
                    PFIT,   32, 
                    CBLV,   32, 
                    BCL0,   32, 
                    BCL1,   32, 
                    BCL2,   32, 
                    BCL3,   32, 
                    BCL4,   32, 
                    BCL5,   32, 
                    BCL6,   32, 
                    BCL7,   32, 
                    BCL8,   32, 
                    BCL9,   32, 
                    CPFM,   32, 
                    EPFM,   32, 
                    PLUT,   592, 
                    PFMB,   32, 
                    CCDV,   32, 
                    PCFT,   32, 
                    Offset (0x400), 
                    GVD1,   49152, 
                    PHED,   32, 
                    BDDC,   2048
                }
                Name (DBTB, Package (0x15)
                {
                    Zero, 
                    0x07, 
                    0x38, 
                    0x01C0, 
                    0x0E00, 
                    0x3F, 
                    0x01C7, 
                    0x0E07, 
                    0x01F8, 
                    0x0E38, 
                    0x0FC0, 
                    Zero, 
                    Zero, 
                    Zero, 
                    Zero, 
                    Zero, 
                    0x7000, 
                    0x7007, 
                    0x7038, 
                    0x71C0, 
                    0x7E00
                })
                Name (CDCT, Package (0x05)
                {
                    Package (0x02)
                    {
                        0xE4, 
                        0x0140
                    }, 
                    Package (0x02)
                    {
                        0xDE, 
                        0x014D
                    }, 
                    Package (0x02)
                    {
                        0xDE, 
                        0x014D
                    }, 
                    Package (0x02)
                    {
                        Zero, 
                        Zero
                    }, 
                    Package (0x02)
                    {
                        0xDE, 
                        0x014D
                    }
                })
                Name (SUCC, One)
                Name (NVLD, 0x02)
                Name (CRIT, 0x04)
                Name (NCRT, 0x06)
                Method (GSCI, 0, Serialized)
                {
                    Method (GBDA, 0, Serialized)
                    {
                        If (LEqual (GESF, Zero))
                        {
                            Store (0x0679, PARM)
                            Store (Zero, GESF)
                            Return (SUCC)
                        }
                        If (LEqual (GESF, One))
                        {
                            Store (0x0240, PARM)
                            Store (Zero, GESF)
                            Return (SUCC)
                        }
                        If (LEqual (GESF, 0x04))
                        {
                            And (PARM, 0xEFFF0000, PARM)
                            And (PARM, ShiftLeft (DerefOf (Index (DBTB, IBTT)), 0x10), 
                                PARM)
                            Or (IBTT, PARM, PARM)
                            Store (Zero, GESF)
                            Return (SUCC)
                        }
                        If (LEqual (GESF, 0x05))
                        {
                            Store (IPSC, PARM)
                            Or (PARM, ShiftLeft (IPAT, 0x08), PARM)
                            Add (PARM, 0x0100, PARM)
                            Or (PARM, ShiftLeft (LIDS, 0x10), PARM)
                            Add (PARM, 0x00010000, PARM)
                            Or (PARM, ShiftLeft (IBIA, 0x14), PARM)
                            Store (Zero, GESF)
                            Return (SUCC)
                        }
                        If (LEqual (GESF, 0x06))
                        {
                            Store (ITVF, PARM)
                            Or (PARM, ShiftLeft (ITVM, 0x04), PARM)
                            Store (Zero, GESF)
                            Return (SUCC)
                        }
                        If (LEqual (GESF, 0x07))
                        {
                            Store (GIVD, PARM)
                            XOr (PARM, One, PARM)
                            Or (PARM, ShiftLeft (GMFN, One), PARM)
                            Or (PARM, 0x1800, PARM)
                            Or (PARM, ShiftLeft (IDMS, 0x11), PARM)
                            Or (ShiftLeft (DerefOf (Index (DerefOf (Index (CDCT, HVCO)), CDVL
                                )), 0x15), PARM, PARM)
                            Store (One, GESF)
                            Return (SUCC)
                        }
                        If (LEqual (GESF, 0x0A))
                        {
                            Store (Zero, PARM)
                            If (ISSC)
                            {
                                Or (PARM, 0x03, PARM)
                            }
                            Store (Zero, GESF)
                            Return (SUCC)