Contribute
Register

I can't boot the USB in my Lenovo T410s

Status
Not open for further replies.
After apply HPET patch and compile found more than 200 errors! Is it like that?

Code:
06/02/14 12:05:01, iASLj7908t.dsl(14454) : error    6116: Forward references from Scope operator not allowed (_SB.PCI0.LPC.EC.HKEY)
06/02/14 12:05:01, iASLj7908t.dsl(14454) : error    6085: Object not found or not accessible from scope (_SB.PCI0.LPC.EC.HKEY)
06/02/14 12:05:01, iASLj7908t.dsl(14020) : error    6116: Forward references from Scope operator not allowed (_SB.PCI0.EXP4.SLOT)
06/02/14 12:05:01, iASLj7908t.dsl(14020) : error    6085: Object not found or not accessible from scope (_SB.PCI0.EXP4.SLOT)
06/02/14 12:05:01, iASLj7908t.dsl(14015) : error    6116: Forward references from Scope operator not allowed (_SB.PCI0.EHC1.URTH.URMH.PRT5)
06/02/14 12:05:01, iASLj7908t.dsl(14015) : error    6085: Object not found or not accessible from scope (_SB.PCI0.EHC1.URTH.URMH.PRT5)
06/02/14 12:05:01, iASLj7908t.dsl(14010) : error    6116: Forward references from Scope operator not allowed (_SB.PCI0.EHC2.URTH.URMH.PRTC)
06/02/14 12:05:01, iASLj7908t.dsl(14010) : error    6085: Object not found or not accessible from scope (_SB.PCI0.EHC2.URTH.URMH.PRTC)
06/02/14 12:05:01, iASLj7908t.dsl(14005) : error    6116: Forward references from Scope operator not allowed (_SB.PCI0.LPC.ECP)
06/02/14 12:05:01, iASLj7908t.dsl(14005) : error    6085: Object not found or not accessible from scope (_SB.PCI0.LPC.ECP)
06/02/14 12:05:01, iASLj7908t.dsl(14000) : error    6116: Forward references from Scope operator not allowed (_SB.PCI0.LPC.LPT)
06/02/14 12:05:01, iASLj7908t.dsl(14000) : error    6085: Object not found or not accessible from scope (_SB.PCI0.LPC.LPT)
06/02/14 12:05:01, iASLj7908t.dsl(13995) : error    6116: Forward references from Scope operator not allowed (_SB.PCI0.LPC.UART)
06/02/14 12:05:01, iASLj7908t.dsl(13995) : error    6085: Object not found or not accessible from scope (_SB.PCI0.LPC.UART)
06/02/14 12:05:01, iASLj7908t.dsl(13805) : error    6116: Forward references from Scope operator not allowed (PCI0.PEG.VID)
06/02/14 12:05:01, iASLj7908t.dsl(13805) : error    6085: Object not found or not accessible from scope (PCI0.PEG.VID)
06/02/14 12:05:01, iASLj7908t.dsl(13288) : error    6116: Forward references from Scope operator not allowed (PCI0.VID)
06/02/14 12:05:01, iASLj7908t.dsl(13288) : error    6085: Object not found or not accessible from scope (PCI0.VID)
06/02/14 12:05:01, iASLj7908t.dsl(11048) : error    6116: Forward references from Scope operator not allowed (PCI0.LPC.EC.HKEY)
06/02/14 12:05:01, iASLj7908t.dsl(11048) : error    6085: Object not found or not accessible from scope (PCI0.LPC.EC.HKEY)
06/02/14 12:05:01, iASLj7908t.dsl(10693) : error    6116: Forward references from Scope operator not allowed (PCI0.LPC.EC.BAT1)
06/02/14 12:05:01, iASLj7908t.dsl(10693) : error    6085: Object not found or not accessible from scope (PCI0.LPC.EC.BAT1)
06/02/14 12:05:01, iASLj7908t.dsl(10259) : error    6116: Forward references from Scope operator not allowed (PCI0.LPC.EC)
06/02/14 12:05:01, iASLj7908t.dsl(10259) : error    6085: Object not found or not accessible from scope (PCI0.LPC.EC)
06/02/14 12:05:01, iASLj7908t.dsl(8959) : error    6116: Forward references from Scope operator not allowed (^^PCI0)
06/02/14 12:05:01, iASLj7908t.dsl(8959) : error    6085: Object not found or not accessible from scope (^^PCI0)
06/02/14 12:05:01, iASLj7908t.dsl(7807) : error    6116: Forward references from Scope operator not allowed (\_SB.PCI0.LPC.EC)
06/02/14 12:05:01, iASLj7908t.dsl(7807) : error    6085: Object not found or not accessible from scope (\_SB.PCI0.LPC.EC)
06/02/14 12:05:01, iASLj7908t.dsl(4863) : error    6088: Object is not accessible from this scope (PPD_)
06/02/14 12:05:01, iASLj7908t.dsl(4859) : error    6088: Object is not accessible from this scope (PMDS)
06/02/14 12:05:01, iASLj7908t.dsl(4855) : error    6088: Object is not accessible from this scope (PMDS)
06/02/14 12:05:01, iASLj7908t.dsl(4848) : error    6088: Object is not accessible from this scope (PMDS)
06/02/14 12:05:01, iASLj7908t.dsl(4844) : error    6088: Object is not accessible from this scope (PMDS)
06/02/14 12:05:01, iASLj7908t.dsl(4837) : error    6088: Object is not accessible from this scope (IRQN)
06/02/14 12:05:01, iASLj7908t.dsl(4833) : error    6088: Object is not accessible from this scope (IRQN)
06/02/14 12:05:01, iASLj7908t.dsl(4832) : error    6088: Object is not accessible from this scope (RLIQ)
06/02/14 12:05:01, iASLj7908t.dsl(4830) : error    6088: Object is not accessible from this scope (RLIQ)
06/02/14 12:05:01, iASLj7908t.dsl(4829) : error    6088: Object is not accessible from this scope (IOHI)
06/02/14 12:05:01, iASLj7908t.dsl(4829) : error    6088: Object is not accessible from this scope (RLIH)
06/02/14 12:05:01, iASLj7908t.dsl(4828) : error    6088: Object is not accessible from this scope (IOLW)
06/02/14 12:05:01, iASLj7908t.dsl(4828) : error    6088: Object is not accessible from this scope (RLIL)
06/02/14 12:05:01, iASLj7908t.dsl(4827) : error    6088: Object is not accessible from this scope (LDA_)
06/02/14 12:05:01, iASLj7908t.dsl(4826) : error    6088: Object is not accessible from this scope (LDN_)
06/02/14 12:05:01, iASLj7908t.dsl(4825) : error    6088: Object is not accessible from this scope (RLIQ)
06/02/14 12:05:01, iASLj7908t.dsl(4824) : error    6088: Object is not accessible from this scope (RLIO)
06/02/14 12:05:01, iASLj7908t.dsl(4823) : error    6088: Object is not accessible from this scope (RLIH)
06/02/14 12:05:01, iASLj7908t.dsl(4822) : error    6088: Object is not accessible from this scope (RLIL)
06/02/14 12:05:01, iASLj7908t.dsl(4820) : error    6088: Object is not accessible from this scope (_SRS)
06/02/14 12:05:01, iASLj7908t.dsl(4772) : error    6088: Object is not accessible from this scope (PEPP)
06/02/14 12:05:01, iASLj7908t.dsl(4702) : error    6088: Object is not accessible from this scope (PLPT)
06/02/14 12:05:01, iASLj7908t.dsl(4698) : error    6088: Object is not accessible from this scope (PLPT)
06/02/14 12:05:01, iASLj7908t.dsl(4694) : error    6088: Object is not accessible from this scope (PEPP)
06/02/14 12:05:01, iASLj7908t.dsl(4690) : error    6088: Object is not accessible from this scope (_PRS)
06/02/14 12:05:01, iASLj7908t.dsl(4687) : error    6088: Object is not accessible from this scope (PPBF)
06/02/14 12:05:01, iASLj7908t.dsl(4684) : error    6088: Object is not accessible from this scope (LPIQ)
06/02/14 12:05:01, iASLj7908t.dsl(4680) : error    6088: Object is not accessible from this scope (LPIQ)
06/02/14 12:05:01, iASLj7908t.dsl(4680) : error    6088: Object is not accessible from this scope (IRQN)
06/02/14 12:05:01, iASLj7908t.dsl(4677) : error    6088: Object is not accessible from this scope (IRQN)
06/02/14 12:05:01, iASLj7908t.dsl(4674) : error    6088: Object is not accessible from this scope (LPL0)
06/02/14 12:05:00, iASLj7908t.dsl(4670) : error    6088: Object is not accessible from this scope (LPL0)
06/02/14 12:05:00, iASLj7908t.dsl(4667) : error    6088: Object is not accessible from this scope (LPX0)
06/02/14 12:05:00, iASLj7908t.dsl(4666) : error    6088: Object is not accessible from this scope (LPN0)
06/02/14 12:05:00, iASLj7908t.dsl(4665) : error    6088: Object is not accessible from this scope (IOLW)
06/02/14 12:05:00, iASLj7908t.dsl(4665) : error    6088: Object is not accessible from this scope (IOHI)
06/02/14 12:05:00, iASLj7908t.dsl(4664) : error    6088: Object is not accessible from this scope (LDN_)
06/02/14 12:05:00, iASLj7908t.dsl(4661) : error    6088: Object is not accessible from this scope (PPBF)
06/02/14 12:05:00, iASLj7908t.dsl(4657) : error    6088: Object is not accessible from this scope (_CRS)
06/02/14 12:05:00, iASLj7908t.dsl(4656) : error    6084: Object does not exist (\_SB.PCI0.LPC.LPT._Y21._INT)
06/02/14 12:05:00, iASLj7908t.dsl(4656) : error    6088: Object is not accessible from this scope (PPBF)
06/02/14 12:05:00, iASLj7908t.dsl(4656) : error    6088: Object is not accessible from this scope (LPIQ)
06/02/14 12:05:00, iASLj7908t.dsl(4655) : error    6084: Object does not exist (\_SB.PCI0.LPC.LPT._Y20._LEN)
06/02/14 12:05:00, iASLj7908t.dsl(4655) : error    6088: Object is not accessible from this scope (PPBF)
06/02/14 12:05:00, iASLj7908t.dsl(4655) : error    6088: Object is not accessible from this scope (LPL0)
06/02/14 12:05:00, iASLj7908t.dsl(4654) : error    6084: Object does not exist (\_SB.PCI0.LPC.LPT._Y20._MAX)
06/02/14 12:05:00, iASLj7908t.dsl(4654) : error    6088: Object is not accessible from this scope (PPBF)
06/02/14 12:05:00, iASLj7908t.dsl(4654) : error    6088: Object is not accessible from this scope (LPX0)
06/02/14 12:05:00, iASLj7908t.dsl(4653) : error    6084: Object does not exist (\_SB.PCI0.LPC.LPT._Y20._MIN)
06/02/14 12:05:00, iASLj7908t.dsl(4653) : error    6088: Object is not accessible from this scope (PPBF)
06/02/14 12:05:00, iASLj7908t.dsl(4653) : error    6088: Object is not accessible from this scope (LPN0)
06/02/14 12:05:00, iASLj7908t.dsl(4642) : error    6088: Object is not accessible from this scope (PPBF)
06/02/14 12:05:00, iASLj7908t.dsl(4639) : error    6088: Object is not accessible from this scope (PPD_)
06/02/14 12:05:00, iASLj7908t.dsl(4638) : error    6088: Object is not accessible from this scope (LDA_)
06/02/14 12:05:00, iASLj7908t.dsl(4637) : error    6088: Object is not accessible from this scope (IRQN)
06/02/14 12:05:00, iASLj7908t.dsl(4636) : error    6088: Object is not accessible from this scope (LDN_)
06/02/14 12:05:00, iASLj7908t.dsl(4635) : error    6088: Object is not accessible from this scope (XPE_)
06/02/14 12:05:00, iASLj7908t.dsl(4633) : error    6088: Object is not accessible from this scope (_DIS)
06/02/14 12:05:00, iASLj7908t.dsl(4617) : error    6088: Object is not accessible from this scope (XPE_)
06/02/14 12:05:00, iASLj7908t.dsl(4609) : error    6088: Object is not accessible from this scope (SIOD)
06/02/14 12:05:00, iASLj7908t.dsl(4607) : error    6088: Object is not accessible from this scope (_STA)
06/02/14 12:05:00, iASLj7908t.dsl(4606) : error    6088: Object is not accessible from this scope (_HID)
06/02/14 12:05:00, iASLj7908t.dsl(4604) : error    6088: Object is not accessible from this scope (LPT_)
06/02/14 12:05:00, iASLj7908t.dsl(4599) : error    6088: Object is not accessible from this scope (LDA_)
06/02/14 12:05:00, iASLj7908t.dsl(4598) : error    6088: Object is not accessible from this scope (LDN_)
06/02/14 12:05:00, iASLj7908t.dsl(4596) : error    6088: Object is not accessible from this scope (_PS3)
06/02/14 12:05:00, iASLj7908t.dsl(4592) : error    6088: Object is not accessible from this scope (LDA_)
06/02/14 12:05:00, iASLj7908t.dsl(4591) : error    6088: Object is not accessible from this scope (LDN_)
06/02/14 12:05:00, iASLj7908t.dsl(4589) : error    6088: Object is not accessible from this scope (_PS0)
06/02/14 12:05:00, iASLj7908t.dsl(4579) : error    6088: Object is not accessible from this scope (LDA_)
06/02/14 12:05:00, iASLj7908t.dsl(4578) : error    6088: Object is not accessible from this scope (LDN_)
06/02/14 12:05:00, iASLj7908t.dsl(4576) : error    6088: Object is not accessible from this scope (_PSC)
06/02/14 12:05:00, iASLj7908t.dsl(4572) : error    6088: Object is not accessible from this scope (XU1E)
06/02/14 12:05:00, iASLj7908t.dsl(4562) : error    6088: Object is not accessible from this scope (XU1A)
06/02/14 12:05:00, iASLj7908t.dsl(4560) : error    6088: Object is not accessible from this scope (RUIO)
06/02/14 12:05:00, iASLj7908t.dsl(4556) : error    6088: Object is not accessible from this scope (XU1A)
06/02/14 12:05:00, iASLj7908t.dsl(4554) : error    6088: Object is not accessible from this scope (RUIO)
06/02/14 12:05:00, iASLj7908t.dsl(4550) : error    6088: Object is not accessible from this scope (XU1A)
06/02/14 12:05:00, iASLj7908t.dsl(4548) : error    6088: Object is not accessible from this scope (RUIO)
06/02/14 12:05:00, iASLj7908t.dsl(4544) : error    6088: Object is not accessible from this scope (XU1A)
06/02/14 12:05:00, iASLj7908t.dsl(4542) : error    6088: Object is not accessible from this scope (RUIO)
06/02/14 12:05:00, iASLj7908t.dsl(4541) : error    6088: Object is not accessible from this scope (LDA_)
06/02/14 12:05:00, iASLj7908t.dsl(4540) : error    6088: Object is not accessible from this scope (SP1D)
06/02/14 12:05:00, iASLj7908t.dsl(4537) : error    6088: Object is not accessible from this scope (IRQN)
06/02/14 12:05:00, iASLj7908t.dsl(4533) : error    6088: Object is not accessible from this scope (IRQN)
06/02/14 12:05:00, iASLj7908t.dsl(4532) : error    6088: Object is not accessible from this scope (RUIQ)
06/02/14 12:05:00, iASLj7908t.dsl(4530) : error    6088: Object is not accessible from this scope (RUIQ)
06/02/14 12:05:00, iASLj7908t.dsl(4529) : error    6088: Object is not accessible from this scope (IOHI)
06/02/14 12:05:00, iASLj7908t.dsl(4529) : error    6088: Object is not accessible from this scope (RUIH)
06/02/14 12:05:00, iASLj7908t.dsl(4528) : error    6088: Object is not accessible from this scope (IOLW)
06/02/14 12:05:00, iASLj7908t.dsl(4528) : error    6088: Object is not accessible from this scope (RUIL)
06/02/14 12:05:00, iASLj7908t.dsl(4527) : error    6088: Object is not accessible from this scope (LDA_)
06/02/14 12:05:00, iASLj7908t.dsl(4526) : error    6088: Object is not accessible from this scope (LDN_)
06/02/14 12:05:00, iASLj7908t.dsl(4525) : error    6088: Object is not accessible from this scope (RUIQ)
06/02/14 12:05:00, iASLj7908t.dsl(4524) : error    6088: Object is not accessible from this scope (RUIO)
06/02/14 12:05:00, iASLj7908t.dsl(4523) : error    6088: Object is not accessible from this scope (RUIH)
06/02/14 12:05:00, iASLj7908t.dsl(4522) : error    6088: Object is not accessible from this scope (RUIL)
06/02/14 12:05:00, iASLj7908t.dsl(4520) : error    6088: Object is not accessible from this scope (_SRS)
06/02/14 12:05:00, iASLj7908t.dsl(4428) : error    6088: Object is not accessible from this scope (_PRS)
06/02/14 12:05:00, iASLj7908t.dsl(4425) : error    6088: Object is not accessible from this scope (U1BF)
06/02/14 12:05:00, iASLj7908t.dsl(4422) : error    6088: Object is not accessible from this scope (U1IQ)
06/02/14 12:05:00, iASLj7908t.dsl(4418) : error    6088: Object is not accessible from this scope (U1IQ)
06/02/14 12:05:00, iASLj7908t.dsl(4418) : error    6088: Object is not accessible from this scope (IRQN)
06/02/14 12:05:00, iASLj7908t.dsl(4415) : error    6088: Object is not accessible from this scope (IRQN)
06/02/14 12:05:00, iASLj7908t.dsl(4414) : error    6088: Object is not accessible from this scope (U1MX)
06/02/14 12:05:00, iASLj7908t.dsl(4413) : error    6088: Object is not accessible from this scope (U1MN)
06/02/14 12:05:00, iASLj7908t.dsl(4412) : error    6088: Object is not accessible from this scope (IOLW)
06/02/14 12:05:00, iASLj7908t.dsl(4412) : error    6088: Object is not accessible from this scope (IOHI)
06/02/14 12:05:00, iASLj7908t.dsl(4411) : error    6088: Object is not accessible from this scope (LDN_)
06/02/14 12:05:00, iASLj7908t.dsl(4409) : error    6088: Object is not accessible from this scope (_CRS)
06/02/14 12:05:00, iASLj7908t.dsl(4408) : error    6084: Object does not exist (\_SB.PCI0.LPC.UART._Y1F._INT)
06/02/14 12:05:00, iASLj7908t.dsl(4408) : error    6088: Object is not accessible from this scope (U1BF)
06/02/14 12:05:00, iASLj7908t.dsl(4408) : error    6088: Object is not accessible from this scope (U1IQ)
06/02/14 12:05:00, iASLj7908t.dsl(4407) : error    6084: Object does not exist (\_SB.PCI0.LPC.UART._Y1E._MAX)
06/02/14 12:05:00, iASLj7908t.dsl(4407) : error    6088: Object is not accessible from this scope (U1BF)
06/02/14 12:05:00, iASLj7908t.dsl(4407) : error    6088: Object is not accessible from this scope (U1MX)
06/02/14 12:05:00, iASLj7908t.dsl(4406) : error    6084: Object does not exist (\_SB.PCI0.LPC.UART._Y1E._MIN)
06/02/14 12:05:00, iASLj7908t.dsl(4406) : error    6088: Object is not accessible from this scope (U1BF)
06/02/14 12:05:00, iASLj7908t.dsl(4406) : error    6088: Object is not accessible from this scope (U1MN)
06/02/14 12:05:00, iASLj7908t.dsl(4395) : error    6088: Object is not accessible from this scope (U1BF)
06/02/14 12:05:00, iASLj7908t.dsl(4388) : error    6088: Object is not accessible from this scope (XU1E)
06/02/14 12:05:00, iASLj7908t.dsl(4386) : error    6088: Object is not accessible from this scope (_DIS)
06/02/14 12:05:00, iASLj7908t.dsl(4367) : error    6088: Object is not accessible from this scope (_STA)
06/02/14 12:05:00, iASLj7908t.dsl(4341) : error    6088: Object is not accessible from this scope (_PSW)
06/02/14 12:05:00, iASLj7908t.dsl(4336) : error    6088: Object is not accessible from this scope (_PRW)
06/02/14 12:05:00, iASLj7908t.dsl(3996) : error    6088: Object is not accessible from this scope (BUF0)
06/02/14 12:05:00, iASLj7908t.dsl(3994) : error    6074: Name already exists in scope (_CRS)
06/02/14 12:05:00, iASLj7908t.dsl(3843) : error    6085: Object not found or not accessible from scope (^^TPM.BUF1)
06/02/14 12:05:00, iASLj7908t.dsl(3840) : error    6085: Object not found or not accessible from scope (^^TPM.BUF1)
06/02/14 12:05:00, iASLj7908t.dsl(3832) : error    6085: Object not found or not accessible from scope (^^TPM._STA)
06/02/14 12:04:59, iASLj7908t.dsl(2321) : error    6085: Object not found or not accessible from scope (^^PEG.VID._DOD)
06/02/14 12:04:59, iASLj7908t.dsl(2310) : error    6088: Object is not accessible from this scope (ISOP)
06/02/14 12:04:59, iASLj7908t.dsl(2147) : error    6085: Object not found or not accessible from scope (^EXP5.PMCS)
06/02/14 12:04:59, iASLj7908t.dsl(2146) : error    6085: Object not found or not accessible from scope (^EXP5.PMCE)
06/02/14 12:04:59, iASLj7908t.dsl(2144) : error    6085: Object not found or not accessible from scope (^EXP5.PMCE)
06/02/14 12:04:59, iASLj7908t.dsl(2141) : error    6085: Object not found or not accessible from scope (^EXP4.PMCS)
06/02/14 12:04:59, iASLj7908t.dsl(2140) : error    6085: Object not found or not accessible from scope (^EXP4.PMCE)
06/02/14 12:04:59, iASLj7908t.dsl(2138) : error    6085: Object not found or not accessible from scope (^EXP4.PMCE)
06/02/14 12:04:59, iASLj7908t.dsl(2135) : error    6085: Object not found or not accessible from scope (^EXP3.PMCS)
06/02/14 12:04:59, iASLj7908t.dsl(2134) : error    6085: Object not found or not accessible from scope (^EXP3.PMCE)
06/02/14 12:04:59, iASLj7908t.dsl(2132) : error    6085: Object not found or not accessible from scope (^EXP3.PMCE)
06/02/14 12:04:59, iASLj7908t.dsl(2129) : error    6085: Object not found or not accessible from scope (^EXP2.PMCS)
06/02/14 12:04:59, iASLj7908t.dsl(2128) : error    6085: Object not found or not accessible from scope (^EXP2.PMCE)
06/02/14 12:04:59, iASLj7908t.dsl(2126) : error    6085: Object not found or not accessible from scope (^EXP2.PMCE)
06/02/14 12:04:59, iASLj7908t.dsl(2123) : error    6085: Object not found or not accessible from scope (^EXP1.PMCS)
06/02/14 12:04:59, iASLj7908t.dsl(2122) : error    6085: Object not found or not accessible from scope (^EXP1.PMCE)
06/02/14 12:04:59, iASLj7908t.dsl(2120) : error    6085: Object not found or not accessible from scope (^EXP1.PMCE)
06/02/14 12:04:59, iASLj7908t.dsl(2117) : error    6085: Object not found or not accessible from scope (^PEG.GMGP)
06/02/14 12:04:59, iASLj7908t.dsl(2116) : error    6085: Object not found or not accessible from scope (^PEG.PMGP)
06/02/14 12:04:59, iASLj7908t.dsl(2108) : error    6085: Object not found or not accessible from scope (^EXP4.PDC)
06/02/14 12:04:59, iASLj7908t.dsl(2107) : error    6085: Object not found or not accessible from scope (^EXP4.HPCS)
06/02/14 12:04:59, iASLj7908t.dsl(2106) : error    6085: Object not found or not accessible from scope (^EXP4.HPCE)
06/02/14 12:04:59, iASLj7908t.dsl(2103) : error    6085: Object not found or not accessible from scope (^PEG.GMGP)
06/02/14 12:04:59, iASLj7908t.dsl(2102) : error    6085: Object not found or not accessible from scope (^PEG.HPGP)
06/02/14 12:04:59, iASLj7908t.dsl(1994) : error    6085: Object not found or not accessible from scope (^IIO1.TOUD)
06/02/14 12:04:59, iASLj7908t.dsl(1348) : error    6085: Object not found or not accessible from scope (^^PCI0.LPC.EC.HWFN)
06/02/14 12:04:59, iASLj7908t.dsl(1344) : error    6085: Object not found or not accessible from scope (^^PCI0.LPC.EC.HWFN)
06/02/14 12:04:59, iASLj7908t.dsl(1309) : error    6085: Object not found or not accessible from scope (^^PCI0.LPC.EC.HWLO)
06/02/14 12:04:59, iASLj7908t.dsl(1305) : error    6085: Object not found or not accessible from scope (^^PCI0.LPC.EC.HWLO)
06/02/14 12:04:59, iASLj7908t.dsl(1275) : error    6085: Object not found or not accessible from scope (^^PCI0.LPC.EC.HPLD)
06/02/14 12:04:59, iASLj7908t.dsl(1258) : error    6085: Object not found or not accessible from scope (^^PCI0.LPC.TPM._STA)
06/02/14 12:04:59, iASLj7908t.dsl(530) : error    6085: Object not found or not accessible from scope (^PCI0.SMBU.RID)
06/02/14 12:04:59, iASLj7908t.dsl(529) : error    6085: Object not found or not accessible from scope (^PCI0.SAT1.RID)
06/02/14 12:04:59, iASLj7908t.dsl(527) : error    6085: Object not found or not accessible from scope (^PCI0.EHC2.RID)
06/02/14 12:04:59, iASLj7908t.dsl(526) : error    6085: Object not found or not accessible from scope (^PCI0.EHC1.RID)
06/02/14 12:04:59, iASLj7908t.dsl(525) : error    6085: Object not found or not accessible from scope (^PCI0.EXP4.RID)
06/02/14 12:04:59, iASLj7908t.dsl(524) : error    6085: Object not found or not accessible from scope (^PCI0.EXP3.RID)
06/02/14 12:04:59, iASLj7908t.dsl(523) : error    6085: Object not found or not accessible from scope (^PCI0.EXP2.RID)
06/02/14 12:04:59, iASLj7908t.dsl(522) : error    6085: Object not found or not accessible from scope (^PCI0.EXP1.RID)
06/02/14 12:04:59, iASLj7908t.dsl(519) : error    6085: Object not found or not accessible from scope (^PCI0.PEG.RID)
06/02/14 12:04:59, iASLj7908t.dsl(508) : error    6085: Object not found or not accessible from scope (^PCI0.LPC.EC.SAUM)
06/02/14 12:04:59, iASLj7908t.dsl(505) : error    6085: Object not found or not accessible from scope (^PCI0.LPC.MOU.MHID)
06/02/14 12:04:59, iASLj7908t.dsl(504) : error    6085: Object not found or not accessible from scope (^PCI0.LPC.EC.AC._PSR)
06/02/14 12:04:59, ACPI Warning: NsLookup: Type mismatch on UART (Scope), searching for (Device) (20131218/nsaccess-725)
06/02/14 12:04:59, ACPI Warning: NsLookup: Type mismatch on _CRS (Buffer), searching for (Method) (20131218/nsaccess-725)
 
Code:
06/02/14 12:05:01, iASLj7908t.dsl(14454) : error    6116: Forward references from Scope operator not allowed (_SB.PCI0.LPC.EC.HKEY)
06/02/14 12:05:01, iASLj7908t.dsl(14454) : error    6085: Object not found or not accessible from scope (_SB.PCI0.LPC.EC.HKEY)
06/02/14 12:05:01, iASLj7908t.dsl(14020) : error    6116: Forward references from Scope operator not allowed (_SB.PCI0.EXP4.SLOT)
06/02/14 12:05:01, iASLj7908t.dsl(14020) : error    6085: Object not found or not accessible from scope (_SB.PCI0.EXP4.SLOT)
06/02/14 12:05:01, iASLj7908t.dsl(14015) : error    6116: Forward references from Scope operator not allowed (_SB.PCI0.EHC1.URTH.URMH.PRT5)
06/02/14 12:05:01, iASLj7908t.dsl(14015) : error    6085: Object not found or not accessible from scope (_SB.PCI0.EHC1.URTH.URMH.PRT5)
06/02/14 12:05:01, iASLj7908t.dsl(14010) : error    6116: Forward references from Scope operator not allowed (_SB.PCI0.EHC2.URTH.URMH.PRTC)
06/02/14 12:05:01, iASLj7908t.dsl(14010) : error    6085: Object not found or not accessible from scope (_SB.PCI0.EHC2.URTH.URMH.PRTC)
06/02/14 12:05:01, iASLj7908t.dsl(14005) : error    6116: Forward references from Scope operator not allowed (_SB.PCI0.LPC.ECP)
06/02/14 12:05:01, iASLj7908t.dsl(14005) : error    6085: Object not found or not accessible from scope (_SB.PCI0.LPC.ECP)
06/02/14 12:05:01, iASLj7908t.dsl(14000) : error    6116: Forward references from Scope operator not allowed (_SB.PCI0.LPC.LPT)
06/02/14 12:05:01, iASLj7908t.dsl(14000) : error    6085: Object not found or not accessible from scope (_SB.PCI0.LPC.LPT)
06/02/14 12:05:01, iASLj7908t.dsl(13995) : error    6116: Forward references from Scope operator not allowed (_SB.PCI0.LPC.UART)
06/02/14 12:05:01, iASLj7908t.dsl(13995) : error    6085: Object not found or not accessible from scope (_SB.PCI0.LPC.UART)
06/02/14 12:05:01, iASLj7908t.dsl(13805) : error    6116: Forward references from Scope operator not allowed (PCI0.PEG.VID)
06/02/14 12:05:01, iASLj7908t.dsl(13805) : error    6085: Object not found or not accessible from scope (PCI0.PEG.VID)
06/02/14 12:05:01, iASLj7908t.dsl(13288) : error    6116: Forward references from Scope operator not allowed (PCI0.VID)
06/02/14 12:05:01, iASLj7908t.dsl(13288) : error    6085: Object not found or not accessible from scope (PCI0.VID)
06/02/14 12:05:01, iASLj7908t.dsl(11048) : error    6116: Forward references from Scope operator not allowed (PCI0.LPC.EC.HKEY)
06/02/14 12:05:01, iASLj7908t.dsl(11048) : error    6085: Object not found or not accessible from scope (PCI0.LPC.EC.HKEY)
06/02/14 12:05:01, iASLj7908t.dsl(10693) : error    6116: Forward references from Scope operator not allowed (PCI0.LPC.EC.BAT1)
06/02/14 12:05:01, iASLj7908t.dsl(10693) : error    6085: Object not found or not accessible from scope (PCI0.LPC.EC.BAT1)
06/02/14 12:05:01, iASLj7908t.dsl(10259) : error    6116: Forward references from Scope operator not allowed (PCI0.LPC.EC)
06/02/14 12:05:01, iASLj7908t.dsl(10259) : error    6085: Object not found or not accessible from scope (PCI0.LPC.EC)
06/02/14 12:05:01, iASLj7908t.dsl(8959) : error    6116: Forward references from Scope operator not allowed (^^PCI0)
06/02/14 12:05:01, iASLj7908t.dsl(8959) : error    6085: Object not found or not accessible from scope (^^PCI0)
06/02/14 12:05:01, iASLj7908t.dsl(7807) : error    6116: Forward references from Scope operator not allowed (\_SB.PCI0.LPC.EC)
06/02/14 12:05:01, iASLj7908t.dsl(7807) : error    6085: Object not found or not accessible from scope (\_SB.PCI0.LPC.EC)
06/02/14 12:05:01, iASLj7908t.dsl(4863) : error    6088: Object is not accessible from this scope (PPD_)
06/02/14 12:05:01, iASLj7908t.dsl(4859) : error    6088: Object is not accessible from this scope (PMDS)
06/02/14 12:05:01, iASLj7908t.dsl(4855) : error    6088: Object is not accessible from this scope (PMDS)
06/02/14 12:05:01, iASLj7908t.dsl(4848) : error    6088: Object is not accessible from this scope (PMDS)
06/02/14 12:05:01, iASLj7908t.dsl(4844) : error    6088: Object is not accessible from this scope (PMDS)
06/02/14 12:05:01, iASLj7908t.dsl(4837) : error    6088: Object is not accessible from this scope (IRQN)
06/02/14 12:05:01, iASLj7908t.dsl(4833) : error    6088: Object is not accessible from this scope (IRQN)
06/02/14 12:05:01, iASLj7908t.dsl(4832) : error    6088: Object is not accessible from this scope (RLIQ)
06/02/14 12:05:01, iASLj7908t.dsl(4830) : error    6088: Object is not accessible from this scope (RLIQ)
06/02/14 12:05:01, iASLj7908t.dsl(4829) : error    6088: Object is not accessible from this scope (IOHI)
06/02/14 12:05:01, iASLj7908t.dsl(4829) : error    6088: Object is not accessible from this scope (RLIH)
06/02/14 12:05:01, iASLj7908t.dsl(4828) : error    6088: Object is not accessible from this scope (IOLW)
06/02/14 12:05:01, iASLj7908t.dsl(4828) : error    6088: Object is not accessible from this scope (RLIL)
06/02/14 12:05:01, iASLj7908t.dsl(4827) : error    6088: Object is not accessible from this scope (LDA_)
06/02/14 12:05:01, iASLj7908t.dsl(4826) : error    6088: Object is not accessible from this scope (LDN_)
06/02/14 12:05:01, iASLj7908t.dsl(4825) : error    6088: Object is not accessible from this scope (RLIQ)
06/02/14 12:05:01, iASLj7908t.dsl(4824) : error    6088: Object is not accessible from this scope (RLIO)
06/02/14 12:05:01, iASLj7908t.dsl(4823) : error    6088: Object is not accessible from this scope (RLIH)
06/02/14 12:05:01, iASLj7908t.dsl(4822) : error    6088: Object is not accessible from this scope (RLIL)
06/02/14 12:05:01, iASLj7908t.dsl(4820) : error    6088: Object is not accessible from this scope (_SRS)
06/02/14 12:05:01, iASLj7908t.dsl(4772) : error    6088: Object is not accessible from this scope (PEPP)
06/02/14 12:05:01, iASLj7908t.dsl(4702) : error    6088: Object is not accessible from this scope (PLPT)
06/02/14 12:05:01, iASLj7908t.dsl(4698) : error    6088: Object is not accessible from this scope (PLPT)
06/02/14 12:05:01, iASLj7908t.dsl(4694) : error    6088: Object is not accessible from this scope (PEPP)
06/02/14 12:05:01, iASLj7908t.dsl(4690) : error    6088: Object is not accessible from this scope (_PRS)
06/02/14 12:05:01, iASLj7908t.dsl(4687) : error    6088: Object is not accessible from this scope (PPBF)
06/02/14 12:05:01, iASLj7908t.dsl(4684) : error    6088: Object is not accessible from this scope (LPIQ)
06/02/14 12:05:01, iASLj7908t.dsl(4680) : error    6088: Object is not accessible from this scope (LPIQ)
06/02/14 12:05:01, iASLj7908t.dsl(4680) : error    6088: Object is not accessible from this scope (IRQN)
06/02/14 12:05:01, iASLj7908t.dsl(4677) : error    6088: Object is not accessible from this scope (IRQN)
06/02/14 12:05:01, iASLj7908t.dsl(4674) : error    6088: Object is not accessible from this scope (LPL0)
06/02/14 12:05:00, iASLj7908t.dsl(4670) : error    6088: Object is not accessible from this scope (LPL0)
06/02/14 12:05:00, iASLj7908t.dsl(4667) : error    6088: Object is not accessible from this scope (LPX0)
06/02/14 12:05:00, iASLj7908t.dsl(4666) : error    6088: Object is not accessible from this scope (LPN0)
06/02/14 12:05:00, iASLj7908t.dsl(4665) : error    6088: Object is not accessible from this scope (IOLW)
06/02/14 12:05:00, iASLj7908t.dsl(4665) : error    6088: Object is not accessible from this scope (IOHI)
06/02/14 12:05:00, iASLj7908t.dsl(4664) : error    6088: Object is not accessible from this scope (LDN_)
06/02/14 12:05:00, iASLj7908t.dsl(4661) : error    6088: Object is not accessible from this scope (PPBF)
06/02/14 12:05:00, iASLj7908t.dsl(4657) : error    6088: Object is not accessible from this scope (_CRS)
06/02/14 12:05:00, iASLj7908t.dsl(4656) : error    6084: Object does not exist (\_SB.PCI0.LPC.LPT._Y21._INT)
06/02/14 12:05:00, iASLj7908t.dsl(4656) : error    6088: Object is not accessible from this scope (PPBF)
06/02/14 12:05:00, iASLj7908t.dsl(4656) : error    6088: Object is not accessible from this scope (LPIQ)
06/02/14 12:05:00, iASLj7908t.dsl(4655) : error    6084: Object does not exist (\_SB.PCI0.LPC.LPT._Y20._LEN)
06/02/14 12:05:00, iASLj7908t.dsl(4655) : error    6088: Object is not accessible from this scope (PPBF)
06/02/14 12:05:00, iASLj7908t.dsl(4655) : error    6088: Object is not accessible from this scope (LPL0)
06/02/14 12:05:00, iASLj7908t.dsl(4654) : error    6084: Object does not exist (\_SB.PCI0.LPC.LPT._Y20._MAX)
06/02/14 12:05:00, iASLj7908t.dsl(4654) : error    6088: Object is not accessible from this scope (PPBF)
06/02/14 12:05:00, iASLj7908t.dsl(4654) : error    6088: Object is not accessible from this scope (LPX0)
06/02/14 12:05:00, iASLj7908t.dsl(4653) : error    6084: Object does not exist (\_SB.PCI0.LPC.LPT._Y20._MIN)
06/02/14 12:05:00, iASLj7908t.dsl(4653) : error    6088: Object is not accessible from this scope (PPBF)
06/02/14 12:05:00, iASLj7908t.dsl(4653) : error    6088: Object is not accessible from this scope (LPN0)
06/02/14 12:05:00, iASLj7908t.dsl(4642) : error    6088: Object is not accessible from this scope (PPBF)
06/02/14 12:05:00, iASLj7908t.dsl(4639) : error    6088: Object is not accessible from this scope (PPD_)
06/02/14 12:05:00, iASLj7908t.dsl(4638) : error    6088: Object is not accessible from this scope (LDA_)
06/02/14 12:05:00, iASLj7908t.dsl(4637) : error    6088: Object is not accessible from this scope (IRQN)
06/02/14 12:05:00, iASLj7908t.dsl(4636) : error    6088: Object is not accessible from this scope (LDN_)
06/02/14 12:05:00, iASLj7908t.dsl(4635) : error    6088: Object is not accessible from this scope (XPE_)
06/02/14 12:05:00, iASLj7908t.dsl(4633) : error    6088: Object is not accessible from this scope (_DIS)
06/02/14 12:05:00, iASLj7908t.dsl(4617) : error    6088: Object is not accessible from this scope (XPE_)
06/02/14 12:05:00, iASLj7908t.dsl(4609) : error    6088: Object is not accessible from this scope (SIOD)
06/02/14 12:05:00, iASLj7908t.dsl(4607) : error    6088: Object is not accessible from this scope (_STA)
06/02/14 12:05:00, iASLj7908t.dsl(4606) : error    6088: Object is not accessible from this scope (_HID)
06/02/14 12:05:00, iASLj7908t.dsl(4604) : error    6088: Object is not accessible from this scope (LPT_)
06/02/14 12:05:00, iASLj7908t.dsl(4599) : error    6088: Object is not accessible from this scope (LDA_)
06/02/14 12:05:00, iASLj7908t.dsl(4598) : error    6088: Object is not accessible from this scope (LDN_)
06/02/14 12:05:00, iASLj7908t.dsl(4596) : error    6088: Object is not accessible from this scope (_PS3)
06/02/14 12:05:00, iASLj7908t.dsl(4592) : error    6088: Object is not accessible from this scope (LDA_)
06/02/14 12:05:00, iASLj7908t.dsl(4591) : error    6088: Object is not accessible from this scope (LDN_)
06/02/14 12:05:00, iASLj7908t.dsl(4589) : error    6088: Object is not accessible from this scope (_PS0)
06/02/14 12:05:00, iASLj7908t.dsl(4579) : error    6088: Object is not accessible from this scope (LDA_)
06/02/14 12:05:00, iASLj7908t.dsl(4578) : error    6088: Object is not accessible from this scope (LDN_)
06/02/14 12:05:00, iASLj7908t.dsl(4576) : error    6088: Object is not accessible from this scope (_PSC)
06/02/14 12:05:00, iASLj7908t.dsl(4572) : error    6088: Object is not accessible from this scope (XU1E)
06/02/14 12:05:00, iASLj7908t.dsl(4562) : error    6088: Object is not accessible from this scope (XU1A)
06/02/14 12:05:00, iASLj7908t.dsl(4560) : error    6088: Object is not accessible from this scope (RUIO)
06/02/14 12:05:00, iASLj7908t.dsl(4556) : error    6088: Object is not accessible from this scope (XU1A)
06/02/14 12:05:00, iASLj7908t.dsl(4554) : error    6088: Object is not accessible from this scope (RUIO)
06/02/14 12:05:00, iASLj7908t.dsl(4550) : error    6088: Object is not accessible from this scope (XU1A)
06/02/14 12:05:00, iASLj7908t.dsl(4548) : error    6088: Object is not accessible from this scope (RUIO)
06/02/14 12:05:00, iASLj7908t.dsl(4544) : error    6088: Object is not accessible from this scope (XU1A)
06/02/14 12:05:00, iASLj7908t.dsl(4542) : error    6088: Object is not accessible from this scope (RUIO)
06/02/14 12:05:00, iASLj7908t.dsl(4541) : error    6088: Object is not accessible from this scope (LDA_)
06/02/14 12:05:00, iASLj7908t.dsl(4540) : error    6088: Object is not accessible from this scope (SP1D)
06/02/14 12:05:00, iASLj7908t.dsl(4537) : error    6088: Object is not accessible from this scope (IRQN)
06/02/14 12:05:00, iASLj7908t.dsl(4533) : error    6088: Object is not accessible from this scope (IRQN)
06/02/14 12:05:00, iASLj7908t.dsl(4532) : error    6088: Object is not accessible from this scope (RUIQ)
06/02/14 12:05:00, iASLj7908t.dsl(4530) : error    6088: Object is not accessible from this scope (RUIQ)
06/02/14 12:05:00, iASLj7908t.dsl(4529) : error    6088: Object is not accessible from this scope (IOHI)
06/02/14 12:05:00, iASLj7908t.dsl(4529) : error    6088: Object is not accessible from this scope (RUIH)
06/02/14 12:05:00, iASLj7908t.dsl(4528) : error    6088: Object is not accessible from this scope (IOLW)
06/02/14 12:05:00, iASLj7908t.dsl(4528) : error    6088: Object is not accessible from this scope (RUIL)
06/02/14 12:05:00, iASLj7908t.dsl(4527) : error    6088: Object is not accessible from this scope (LDA_)
06/02/14 12:05:00, iASLj7908t.dsl(4526) : error    6088: Object is not accessible from this scope (LDN_)
06/02/14 12:05:00, iASLj7908t.dsl(4525) : error    6088: Object is not accessible from this scope (RUIQ)
06/02/14 12:05:00, iASLj7908t.dsl(4524) : error    6088: Object is not accessible from this scope (RUIO)
06/02/14 12:05:00, iASLj7908t.dsl(4523) : error    6088: Object is not accessible from this scope (RUIH)
06/02/14 12:05:00, iASLj7908t.dsl(4522) : error    6088: Object is not accessible from this scope (RUIL)
06/02/14 12:05:00, iASLj7908t.dsl(4520) : error    6088: Object is not accessible from this scope (_SRS)
06/02/14 12:05:00, iASLj7908t.dsl(4428) : error    6088: Object is not accessible from this scope (_PRS)
06/02/14 12:05:00, iASLj7908t.dsl(4425) : error    6088: Object is not accessible from this scope (U1BF)
06/02/14 12:05:00, iASLj7908t.dsl(4422) : error    6088: Object is not accessible from this scope (U1IQ)
06/02/14 12:05:00, iASLj7908t.dsl(4418) : error    6088: Object is not accessible from this scope (U1IQ)
06/02/14 12:05:00, iASLj7908t.dsl(4418) : error    6088: Object is not accessible from this scope (IRQN)
06/02/14 12:05:00, iASLj7908t.dsl(4415) : error    6088: Object is not accessible from this scope (IRQN)
06/02/14 12:05:00, iASLj7908t.dsl(4414) : error    6088: Object is not accessible from this scope (U1MX)
06/02/14 12:05:00, iASLj7908t.dsl(4413) : error    6088: Object is not accessible from this scope (U1MN)
06/02/14 12:05:00, iASLj7908t.dsl(4412) : error    6088: Object is not accessible from this scope (IOLW)
06/02/14 12:05:00, iASLj7908t.dsl(4412) : error    6088: Object is not accessible from this scope (IOHI)
06/02/14 12:05:00, iASLj7908t.dsl(4411) : error    6088: Object is not accessible from this scope (LDN_)
06/02/14 12:05:00, iASLj7908t.dsl(4409) : error    6088: Object is not accessible from this scope (_CRS)
06/02/14 12:05:00, iASLj7908t.dsl(4408) : error    6084: Object does not exist (\_SB.PCI0.LPC.UART._Y1F._INT)
06/02/14 12:05:00, iASLj7908t.dsl(4408) : error    6088: Object is not accessible from this scope (U1BF)
06/02/14 12:05:00, iASLj7908t.dsl(4408) : error    6088: Object is not accessible from this scope (U1IQ)
06/02/14 12:05:00, iASLj7908t.dsl(4407) : error    6084: Object does not exist (\_SB.PCI0.LPC.UART._Y1E._MAX)
06/02/14 12:05:00, iASLj7908t.dsl(4407) : error    6088: Object is not accessible from this scope (U1BF)
06/02/14 12:05:00, iASLj7908t.dsl(4407) : error    6088: Object is not accessible from this scope (U1MX)
06/02/14 12:05:00, iASLj7908t.dsl(4406) : error    6084: Object does not exist (\_SB.PCI0.LPC.UART._Y1E._MIN)
06/02/14 12:05:00, iASLj7908t.dsl(4406) : error    6088: Object is not accessible from this scope (U1BF)
06/02/14 12:05:00, iASLj7908t.dsl(4406) : error    6088: Object is not accessible from this scope (U1MN)
06/02/14 12:05:00, iASLj7908t.dsl(4395) : error    6088: Object is not accessible from this scope (U1BF)
06/02/14 12:05:00, iASLj7908t.dsl(4388) : error    6088: Object is not accessible from this scope (XU1E)
06/02/14 12:05:00, iASLj7908t.dsl(4386) : error    6088: Object is not accessible from this scope (_DIS)
06/02/14 12:05:00, iASLj7908t.dsl(4367) : error    6088: Object is not accessible from this scope (_STA)
06/02/14 12:05:00, iASLj7908t.dsl(4341) : error    6088: Object is not accessible from this scope (_PSW)
06/02/14 12:05:00, iASLj7908t.dsl(4336) : error    6088: Object is not accessible from this scope (_PRW)
06/02/14 12:05:00, iASLj7908t.dsl(3996) : error    6088: Object is not accessible from this scope (BUF0)
06/02/14 12:05:00, iASLj7908t.dsl(3994) : error    6074: Name already exists in scope (_CRS)
06/02/14 12:05:00, iASLj7908t.dsl(3843) : error    6085: Object not found or not accessible from scope (^^TPM.BUF1)
06/02/14 12:05:00, iASLj7908t.dsl(3840) : error    6085: Object not found or not accessible from scope (^^TPM.BUF1)
06/02/14 12:05:00, iASLj7908t.dsl(3832) : error    6085: Object not found or not accessible from scope (^^TPM._STA)
06/02/14 12:04:59, iASLj7908t.dsl(2321) : error    6085: Object not found or not accessible from scope (^^PEG.VID._DOD)
06/02/14 12:04:59, iASLj7908t.dsl(2310) : error    6088: Object is not accessible from this scope (ISOP)
06/02/14 12:04:59, iASLj7908t.dsl(2147) : error    6085: Object not found or not accessible from scope (^EXP5.PMCS)
06/02/14 12:04:59, iASLj7908t.dsl(2146) : error    6085: Object not found or not accessible from scope (^EXP5.PMCE)
06/02/14 12:04:59, iASLj7908t.dsl(2144) : error    6085: Object not found or not accessible from scope (^EXP5.PMCE)
06/02/14 12:04:59, iASLj7908t.dsl(2141) : error    6085: Object not found or not accessible from scope (^EXP4.PMCS)
06/02/14 12:04:59, iASLj7908t.dsl(2140) : error    6085: Object not found or not accessible from scope (^EXP4.PMCE)
06/02/14 12:04:59, iASLj7908t.dsl(2138) : error    6085: Object not found or not accessible from scope (^EXP4.PMCE)
06/02/14 12:04:59, iASLj7908t.dsl(2135) : error    6085: Object not found or not accessible from scope (^EXP3.PMCS)
06/02/14 12:04:59, iASLj7908t.dsl(2134) : error    6085: Object not found or not accessible from scope (^EXP3.PMCE)
06/02/14 12:04:59, iASLj7908t.dsl(2132) : error    6085: Object not found or not accessible from scope (^EXP3.PMCE)
06/02/14 12:04:59, iASLj7908t.dsl(2129) : error    6085: Object not found or not accessible from scope (^EXP2.PMCS)
06/02/14 12:04:59, iASLj7908t.dsl(2128) : error    6085: Object not found or not accessible from scope (^EXP2.PMCE)
06/02/14 12:04:59, iASLj7908t.dsl(2126) : error    6085: Object not found or not accessible from scope (^EXP2.PMCE)
06/02/14 12:04:59, iASLj7908t.dsl(2123) : error    6085: Object not found or not accessible from scope (^EXP1.PMCS)
06/02/14 12:04:59, iASLj7908t.dsl(2122) : error    6085: Object not found or not accessible from scope (^EXP1.PMCE)
06/02/14 12:04:59, iASLj7908t.dsl(2120) : error    6085: Object not found or not accessible from scope (^EXP1.PMCE)
06/02/14 12:04:59, iASLj7908t.dsl(2117) : error    6085: Object not found or not accessible from scope (^PEG.GMGP)
06/02/14 12:04:59, iASLj7908t.dsl(2116) : error    6085: Object not found or not accessible from scope (^PEG.PMGP)
06/02/14 12:04:59, iASLj7908t.dsl(2108) : error    6085: Object not found or not accessible from scope (^EXP4.PDC)
06/02/14 12:04:59, iASLj7908t.dsl(2107) : error    6085: Object not found or not accessible from scope (^EXP4.HPCS)
06/02/14 12:04:59, iASLj7908t.dsl(2106) : error    6085: Object not found or not accessible from scope (^EXP4.HPCE)
06/02/14 12:04:59, iASLj7908t.dsl(2103) : error    6085: Object not found or not accessible from scope (^PEG.GMGP)
06/02/14 12:04:59, iASLj7908t.dsl(2102) : error    6085: Object not found or not accessible from scope (^PEG.HPGP)
06/02/14 12:04:59, iASLj7908t.dsl(1994) : error    6085: Object not found or not accessible from scope (^IIO1.TOUD)
06/02/14 12:04:59, iASLj7908t.dsl(1348) : error    6085: Object not found or not accessible from scope (^^PCI0.LPC.EC.HWFN)
06/02/14 12:04:59, iASLj7908t.dsl(1344) : error    6085: Object not found or not accessible from scope (^^PCI0.LPC.EC.HWFN)
06/02/14 12:04:59, iASLj7908t.dsl(1309) : error    6085: Object not found or not accessible from scope (^^PCI0.LPC.EC.HWLO)
06/02/14 12:04:59, iASLj7908t.dsl(1305) : error    6085: Object not found or not accessible from scope (^^PCI0.LPC.EC.HWLO)
06/02/14 12:04:59, iASLj7908t.dsl(1275) : error    6085: Object not found or not accessible from scope (^^PCI0.LPC.EC.HPLD)
06/02/14 12:04:59, iASLj7908t.dsl(1258) : error    6085: Object not found or not accessible from scope (^^PCI0.LPC.TPM._STA)
06/02/14 12:04:59, iASLj7908t.dsl(530) : error    6085: Object not found or not accessible from scope (^PCI0.SMBU.RID)
06/02/14 12:04:59, iASLj7908t.dsl(529) : error    6085: Object not found or not accessible from scope (^PCI0.SAT1.RID)
06/02/14 12:04:59, iASLj7908t.dsl(527) : error    6085: Object not found or not accessible from scope (^PCI0.EHC2.RID)
06/02/14 12:04:59, iASLj7908t.dsl(526) : error    6085: Object not found or not accessible from scope (^PCI0.EHC1.RID)
06/02/14 12:04:59, iASLj7908t.dsl(525) : error    6085: Object not found or not accessible from scope (^PCI0.EXP4.RID)
06/02/14 12:04:59, iASLj7908t.dsl(524) : error    6085: Object not found or not accessible from scope (^PCI0.EXP3.RID)
06/02/14 12:04:59, iASLj7908t.dsl(523) : error    6085: Object not found or not accessible from scope (^PCI0.EXP2.RID)
06/02/14 12:04:59, iASLj7908t.dsl(522) : error    6085: Object not found or not accessible from scope (^PCI0.EXP1.RID)
06/02/14 12:04:59, iASLj7908t.dsl(519) : error    6085: Object not found or not accessible from scope (^PCI0.PEG.RID)
06/02/14 12:04:59, iASLj7908t.dsl(508) : error    6085: Object not found or not accessible from scope (^PCI0.LPC.EC.SAUM)
06/02/14 12:04:59, iASLj7908t.dsl(505) : error    6085: Object not found or not accessible from scope (^PCI0.LPC.MOU.MHID)
06/02/14 12:04:59, iASLj7908t.dsl(504) : error    6085: Object not found or not accessible from scope (^PCI0.LPC.EC.AC._PSR)
06/02/14 12:04:59, ACPI Warning: NsLookup: Type mismatch on UART (Scope), searching for (Device) (20131218/nsaccess-725)
06/02/14 12:04:59, ACPI Warning: NsLookup: Type mismatch on _CRS (Buffer), searching for (Method) (20131218/nsaccess-725)

An error listing is not adequate to diagnose the problem. You need to post the DSDT.
 
Here is the DSDT before the HPET fix. No errors:

Code:
/* * Intel ACPI Component Architecture
 * AML Disassembler version 20131218-64 [Jan  8 2014]
 * Copyright (c) 2000 - 2013 Intel Corporation
 * 
 * Disassembly of iASLA8IY52.aml, Thu Feb  6 14:52:46 2014
 *
 * Original Table Header:
 *     Signature        "DSDT"
 *     Length           0x0000DB94 (56212)
 *     Revision         0x01 **** 32-bit table (V1), no 64-bit math support
 *     Checksum         0xBC
 *     OEM ID           "LENOVO"
 *     OEM Table ID     "TP-6U   "
 *     OEM Revision     0x00001490 (5264)
 *     Compiler ID      "INTL"
 *     Compiler Version 0x20100331 (537920305)
 */
DefinitionBlock ("iASLA8IY52.aml", "DSDT", 1, "LENOVO", "TP-6U   ", 0x00001490)
{


    External (_SB_.PCI0.SAT1.PRIM.GTME)
    External (_SB_.PCI0.SAT1.PRT1)
    External (_SB_.PCI0.SAT1.SCND.GTME)
    External (_SB_.PCI0.SAT1.SCND.MSTR)
    External (PDC0)
    External (PDC1)
    External (PDC2)
    External (PDC3)
    External (PDC4)
    External (PDC5)
    External (PDC6)
    External (PDC7)
    External (SSBY)


    Scope (_PR)
    {
        Processor (CPU0, 0x00, 0x00001010, 0x06) {}
        Processor (CPU1, 0x01, 0x00001010, 0x06) {}
        Processor (CPU2, 0x02, 0x00001010, 0x06) {}
        Processor (CPU3, 0x03, 0x00001010, 0x06) {}
        Processor (CPU4, 0x04, 0x00001010, 0x06) {}
        Processor (CPU5, 0x05, 0x00001010, 0x06) {}
        Processor (CPU6, 0x06, 0x00001010, 0x06) {}
        Processor (CPU7, 0x07, 0x00001010, 0x06) {}
    }


    Scope (\)
    {
        Method (PNTF, 1, NotSerialized)
        {
            If (And (PPMF, 0x01000000))
            {
                If (LOr (LAnd (And (PDC0, 0x08), LOr (LEqual (Arg0, 
                    0x80), LEqual (Arg0, 0x82))), LAnd (And (PDC0, 0x10), LEqual (Arg0, 
                    0x81))))
                {
                    Notify (\_PR.CPU0, Arg0)
                }


                If (LOr (LAnd (And (PDC1, 0x08), LOr (LEqual (Arg0, 
                    0x80), LEqual (Arg0, 0x82))), LAnd (And (PDC1, 0x10), LEqual (Arg0, 
                    0x81))))
                {
                    Notify (\_PR.CPU1, Arg0)
                }


                If (LOr (LAnd (And (PDC2, 0x08), LOr (LEqual (Arg0, 
                    0x80), LEqual (Arg0, 0x82))), LAnd (And (PDC2, 0x10), LEqual (Arg0, 
                    0x81))))
                {
                    Notify (\_PR.CPU2, Arg0)
                }


                If (LOr (LAnd (And (PDC3, 0x08), LOr (LEqual (Arg0, 
                    0x80), LEqual (Arg0, 0x82))), LAnd (And (PDC3, 0x10), LEqual (Arg0, 
                    0x81))))
                {
                    Notify (\_PR.CPU3, Arg0)
                }


                If (LOr (LAnd (And (PDC4, 0x08), LOr (LEqual (Arg0, 
                    0x80), LEqual (Arg0, 0x82))), LAnd (And (PDC4, 0x10), LEqual (Arg0, 
                    0x81))))
                {
                    Notify (\_PR.CPU4, Arg0)
                }


                If (LOr (LAnd (And (PDC5, 0x08), LOr (LEqual (Arg0, 
                    0x80), LEqual (Arg0, 0x82))), LAnd (And (PDC5, 0x10), LEqual (Arg0, 
                    0x81))))
                {
                    Notify (\_PR.CPU5, Arg0)
                }


                If (LOr (LAnd (And (PDC6, 0x08), LOr (LEqual (Arg0, 
                    0x80), LEqual (Arg0, 0x82))), LAnd (And (PDC6, 0x10), LEqual (Arg0, 
                    0x81))))
                {
                    Notify (\_PR.CPU6, Arg0)
                }


                If (LOr (LAnd (And (PDC7, 0x08), LOr (LEqual (Arg0, 
                    0x80), LEqual (Arg0, 0x82))), LAnd (And (PDC7, 0x10), LEqual (Arg0, 
                    0x81))))
                {
                    Notify (\_PR.CPU7, Arg0)
                }
            }
            Else
            {
                If (LOr (LEqual (Arg0, 0x80), LOr (LEqual (Arg0, 0x81), LEqual (
                    Arg0, 0x82))))
                {
                    Notify (\_PR.CPU0, Arg0)
                }
            }
        }
    }


    OperationRegion (MNVS, SystemMemory, 0xBB6E7000, 0x1000)
    Field (MNVS, DWordAcc, NoLock, Preserve)
    {
        Offset (0xE00), 
        GAPA,   32, 
        GAPL,   32, 
        DCKI,   32, 
        DCKS,   32, 
        VCDL,   1, 
        VCDC,   1, 
        VCDT,   1, 
        VCDD,   1, 
        VIGD,   1, 
        VCSS,   1, 
        VCDB,   1, 
        VCIN,   1, 
        VPDF,   1, 
        Offset (0xE12), 
        VLID,   4, 
        VVPO,   4, 
        BRLV,   4, 
        BRFQ,   2, 
        BRHB,   1, 
        BREV,   1, 
        CDFL,   8, 
        CDAH,   8, 
        PMOD,   2, 
        PDIR,   1, 
        PDMA,   1, 
        Offset (0xE17), 
        LFDC,   1, 
        Offset (0xE18), 
        C2NA,   1, 
        C3NA,   1, 
        C4NA,   1, 
        C6NA,   1, 
        C7NA,   1, 
        Offset (0xE19), 
        Offset (0xE1A), 
            ,   2, 
            ,   1, 
        NHPS,   1, 
        NPME,   1, 
        Offset (0xE1B), 
        UOPT,   8, 
        BTID,   32, 
        DPP0,   1, 
        DPP1,   1, 
        DPP2,   1, 
        DPP3,   1, 
        DPP4,   1, 
        DPP5,   1, 
        Offset (0xE21), 
        Offset (0xE22), 
        TCRT,   16, 
        TPSV,   16, 
        TTC1,   16, 
        TTC2,   16, 
        TTSP,   16, 
        SRAH,   8, 
        SRHE,   8, 
        SRE1,   8, 
        SRE2,   8, 
        SRE3,   8, 
        SRE4,   8, 
        SRE5,   8, 
        SRE6,   8, 
        SRU1,   8, 
        SRU2,   8, 
        SRU3,   8, 
        SRU7,   8, 
        SRU4,   8, 
        SRU5,   8, 
        SRU8,   8, 
        SRPB,   8, 
        SRLP,   8, 
        SRSA,   8, 
        SRSM,   8, 
        CWAC,   1, 
        CWAS,   1, 
        CWUE,   1, 
        CWUS,   1, 
        Offset (0xE40), 
        CWAP,   16, 
        CWAT,   16, 
        DBGC,   1, 
        Offset (0xE45), 
        FS1L,   16, 
        FS1M,   16, 
        FS1H,   16, 
        FS2L,   16, 
        FS2M,   16, 
        FS2H,   16, 
        FS3L,   16, 
        FS3M,   16, 
        FS3H,   16, 
        TATC,   1, 
            ,   6, 
        TATL,   1, 
        TATW,   8, 
        TNFT,   4, 
        TNTT,   4, 
        TDFA,   4, 
        TDTA,   4, 
        TDFD,   4, 
        TDTD,   4, 
        TCFA,   4, 
        TCTA,   4, 
        TCFD,   4, 
        TCTD,   4, 
        TSFT,   4, 
        TSTT,   4, 
        TIT0,   8, 
        TCR0,   16, 
        TPS0,   16, 
        TIT1,   8, 
        TCR1,   16, 
        TPS1,   16, 
        TIT2,   8, 
        TCR2,   16, 
        TPS2,   16, 
        TIF0,   8, 
        TIF1,   8, 
        TIF2,   8, 
        Offset (0xE75), 
        TCZ1,   8, 
        TCZ2,   8, 
        TCZ3,   8, 
        BTHI,   1, 
        Offset (0xE79), 
        HDIR,   1, 
        HDEH,   1, 
        HDSP,   1, 
        HDPP,   1, 
        HDUB,   1, 
        HDMC,   1, 
        Offset (0xE7A), 
        TPMP,   1, 
        TPMS,   1, 
        Offset (0xE7B), 
        BIDE,   4, 
        IDET,   4, 
            ,   1, 
        DTSE,   1, 
        Offset (0xE7D), 
        DTS0,   8, 
        DTS1,   8, 
        DT00,   1, 
        DT01,   1, 
        DT02,   1, 
        DT03,   1, 
        Offset (0xE80), 
        LIDB,   1, 
        C4WR,   1, 
        C4AC,   1, 
        ODDX,   1, 
        CMPR,   1, 
        Offset (0xE81), 
        PH01,   8, 
        PH02,   8, 
        PH03,   8, 
        PPRQ,   8, 
        PPLO,   8, 
        PPRP,   8, 
        PPOR,   8, 
        TPRS,   8, 
        TPMV,   8, 
        MOR,    8, 
        RSV0,   8, 
        IPAT,   4, 
        IPSC,   1, 
        IDMM,   1, 
        IDMS,   2, 
        HVCO,   3, 
        IF1E,   1, 
        ISSC,   1, 
        LIDS,   1, 
        IBIA,   2, 
        IBTT,   8, 
        ITVF,   4, 
        ITVM,   4, 
        TCG0,   1, 
        TCG1,   1, 
        Offset (0xE91), 
        SWGP,   8, 
        IPMS,   8, 
        IPMB,   120, 
        IPMR,   24, 
        IPMO,   24, 
        IPMA,   8, 
        Offset (0xEAD), 
        ASFT,   8, 
        Offset (0xEB0), 
        CHKC,   32, 
        CHKE,   32, 
        ATRB,   32, 
        Offset (0xEBD), 
        PPCR,   8, 
        TPCR,   5, 
        Offset (0xEBF), 
        ATMB,   128, 
        PPCA,   8, 
        TPCA,   5, 
        Offset (0xED1), 
        BFWB,   296
    }


    Field (MNVS, ByteAcc, NoLock, Preserve)
    {
        Offset (0xC00), 
        WITM,   8, 
        WSEL,   8, 
        WLS0,   8, 
        WLS1,   8, 
        WLS2,   8, 
        WLS3,   8, 
        WLS4,   8, 
        WLS5,   8, 
        WLS6,   8, 
        WLS7,   8, 
        WENC,   8, 
        WKBD,   8, 
        WPTY,   8, 
        WPAS,   1032, 
        WPNW,   1032, 
        WSPM,   8, 
        WSPS,   8, 
        WSMN,   8, 
        WSMX,   8, 
        WSEN,   8, 
        WSKB,   8
    }


    Field (MNVS, ByteAcc, NoLock, Preserve)
    {
        Offset (0xB00), 
        DBGS,   1024
    }


    OperationRegion (GNVS, SystemMemory, 0xBB6B5602, 0x0200)
    Field (GNVS, AnyAcc, Lock, Preserve)
    {
        OSYS,   16, 
        SMIF,   8, 
        PRM0,   8, 
        PRM1,   8, 
        Offset (0x10), 
        PWRS,   8, 
        Offset (0x1E), 
        Offset (0x28), 
        APIC,   8, 
        MPEN,   8, 
        PCP0,   8, 
        PCP1,   8, 
        PPCM,   8, 
        PPMF,   32, 
        Offset (0x32), 
        Offset (0x3C), 
        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, 
        BDSP,   8, 
        PTY1,   8, 
        PTY2,   8, 
        PSCL,   8, 
        TVF1,   8, 
        TVF2,   8, 
        GETM,   8, 
        BLCS,   8, 
        BRTL,   8, 
        ALSE,   8, 
        ALAF,   8, 
        LLOW,   8, 
        LHIH,   8, 
        Offset (0xAA), 
        ASLB,   32, 
        Offset (0xDF), 
        PAVP,   8, 
        Offset (0x15B), 
        PNHM,   32, 
        TBAB,   32, 
        Offset (0x180), 
        BUSH,   16, 
        BUSM,   16, 
        BUSL,   16, 
        HIST,   32, 
        LPST,   32, 
        LWST,   32, 
        FREH,   32, 
        FREL,   32, 
        SVST,   32, 
        GVEN,   8, 
        GVAC,   8, 
        GVDC,   8, 
        STCL,   8, 
        APCL,   8, 
        OSPX,   1, 
        OSC4,   1, 
        Offset (0x1A4), 
        SPEN,   1, 
            ,   1, 
            ,   1, 
            ,   1, 
        Offset (0x1A5), 
        FTPS,   8, 
        IPEN,   1
    }


    Scope (_SB)
    {
        Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            If (CondRefOf (\_OSI, Local0))
            {
                If (_OSI ("Windows 2001"))
                {
                    Store (One, WNTF)
                    Store (One, WXPF)
                    Store (Zero, WSPV)
                }


                If (_OSI ("Windows 2001 SP1"))
                {
                    Store (One, WSPV)
                }


                If (_OSI ("Windows 2001 SP2"))
                {
                    Store (0x02, WSPV)
                }


                If (_OSI ("Windows 2006"))
                {
                    Store (One, WVIS)
                }


                If (_OSI ("Windows 2009"))
                {
                    Store (One, WIN7)
                }


                If (_OSI ("Windows 2012"))
                {
                    Store (One, WIN8)
                }


                If (_OSI ("Linux"))
                {
                    Store (One, LNUX)
                }


                If (_OSI ("FreeBSD"))
                {
                    Store (One, LNUX)
                }
            }
            Else
            {
                If (LEqual (SCMP (_OS, "Microsoft Windows NT"), Zero))
                {
                    Store (One, WNTF)
                }
            }


            If (LGreaterEqual (_REV, 0x02))
            {
                Store (One, H8DR)
            }


            Store (One, OSIF)
            Store (^PCI0.LPC.EC.AC._PSR (), PWRS)
            ^PCI0.LPC.MOU.MHID ()
            If (LNUX)
            {
                ^PCI0.LPC.EC.SAUM (0x02)
                UCMS (0x1C)
            }


            Store (SRAH, ^PCI0.RID)
            If (VIGD)
            {
                Store (SRHE, ^PCI0.VID.RID)
            }
            Else
            {
                Store (SRHE, ^PCI0.PEG.RID)
            }


            Store (SRE1, ^PCI0.EXP1.RID)
            Store (SRE2, ^PCI0.EXP2.RID)
            Store (SRE3, ^PCI0.EXP3.RID)
            Store (SRE4, ^PCI0.EXP4.RID)
            Store (SRU7, ^PCI0.EHC1.RID)
            Store (SRU8, ^PCI0.EHC2.RID)
            Store (SRLP, ^PCI0.LPC.RID)
            Store (SRSA, ^PCI0.SAT1.RID)
            Store (SRSM, ^PCI0.SMBU.RID)
            Store (VHYB (0x05, Zero), Local1)
            If (And (Local1, 0x80))
            {
                If (WIN7)
                {
                    If (LNotEqual (And (Local1, 0x03), 0x03))
                    {
                        VHYB (0x06, 0x03)
                    }
                }
                Else
                {
                    If (LEqual (And (Local1, 0x03), 0x03))
                    {
                        VHYB (0x06, 0x02)
                    }
                }
            }
        }


        Device (LNKA)
        {
            Name (_HID, EisaId ("PNP0C0F"))  // _HID: Hardware ID
            Name (_UID, One)  // _UID: Unique ID
            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                If (LNot (VPIR (^^PCI0.LPC.PIRA)))
                {
                    Return (0x09)
                }
                Else
                {
                    Return (0x0B)
                }
            }


            Name (_PRS, ResourceTemplate ()  // _PRS: Possible Resource Settings
            {
                IRQ (Level, ActiveLow, Shared, )
                    {3,4,5,6,7,9,10,11}
            })
            Method (_DIS, 0, NotSerialized)  // _DIS: Disable Device
            {
                Or (^^PCI0.LPC.PIRA, 0x80, ^^PCI0.LPC.PIRA)
            }


            Name (BUFA, ResourceTemplate ()
            {
                IRQ (Level, ActiveLow, Shared, )
                    {}
            })
            CreateWordField (BUFA, One, IRA1)
            Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
            {
                And (^^PCI0.LPC.PIRA, 0x8F, Local0)
                If (VPIR (Local0))
                {
                    ShiftLeft (One, Local0, IRA1)
                }
                Else
                {
                    Store (Zero, IRA1)
                }


                Return (BUFA)
            }


            Method (_SRS, 1, NotSerialized)  // _SRS: Set Resource Settings
            {
                CreateWordField (Arg0, One, IRA2)
                FindSetRightBit (IRA2, Local0)
                And (^^PCI0.LPC.PIRA, 0x70, Local1)
                Or (Local1, Decrement (Local0), Local1)
                Store (Local1, ^^PCI0.LPC.PIRA)
            }
        }


        Device (LNKB)
        {
            Name (_HID, EisaId ("PNP0C0F"))  // _HID: Hardware ID
            Name (_UID, 0x02)  // _UID: Unique ID
            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                If (LNot (VPIR (^^PCI0.LPC.PIRB)))
                {
                    Return (0x09)
                }
                Else
                {
                    Return (0x0B)
                }
            }


            Name (_PRS, ResourceTemplate ()  // _PRS: Possible Resource Settings
            {
                IRQ (Level, ActiveLow, Shared, )
                    {3,4,5,6,7,9,10,11}
            })
            Method (_DIS, 0, NotSerialized)  // _DIS: Disable Device
            {
                Or (^^PCI0.LPC.PIRB, 0x80, ^^PCI0.LPC.PIRB)
            }


            Name (BUFB, ResourceTemplate ()
            {
                IRQ (Level, ActiveLow, Shared, )
                    {}
            })
            CreateWordField (BUFB, One, IRB1)
            Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
            {
                And (^^PCI0.LPC.PIRB, 0x8F, Local0)
                If (VPIR (Local0))
                {
                    ShiftLeft (One, Local0, IRB1)
                }
                Else
                {
                    Store (Zero, IRB1)
                }


                Return (BUFB)
            }


            Method (_SRS, 1, NotSerialized)  // _SRS: Set Resource Settings
            {
                CreateWordField (Arg0, One, IRB2)
                FindSetRightBit (IRB2, Local0)
                And (^^PCI0.LPC.PIRB, 0x70, Local1)
                Or (Local1, Decrement (Local0), Local1)
                Store (Local1, ^^PCI0.LPC.PIRB)
            }
        }


        Device (LNKC)
        {
            Name (_HID, EisaId ("PNP0C0F"))  // _HID: Hardware ID
            Name (_UID, 0x03)  // _UID: Unique ID
            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                If (LNot (VPIR (^^PCI0.LPC.PIRC)))
                {
                    Return (0x09)
                }
                Else
                {
                    Return (0x0B)
                }
            }


            Name (_PRS, ResourceTemplate ()  // _PRS: Possible Resource Settings
            {
                IRQ (Level, ActiveLow, Shared, )
                    {3,4,5,6,7,9,10,11}
            })
            Method (_DIS, 0, NotSerialized)  // _DIS: Disable Device
            {
                Or (^^PCI0.LPC.PIRC, 0x80, ^^PCI0.LPC.PIRC)
            }


            Name (BUFC, ResourceTemplate ()
            {
                IRQ (Level, ActiveLow, Shared, )
                    {}
            })
            CreateWordField (BUFC, One, IRC1)
            Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
            {
                And (^^PCI0.LPC.PIRC, 0x8F, Local0)
                If (VPIR (Local0))
                {
                    ShiftLeft (One, Local0, IRC1)
                }
                Else
                {
                    Store (Zero, IRC1)
                }


                Return (BUFC)
            }


            Method (_SRS, 1, NotSerialized)  // _SRS: Set Resource Settings
            {
                CreateWordField (Arg0, One, IRC2)
                FindSetRightBit (IRC2, Local0)
                And (^^PCI0.LPC.PIRC, 0x70, Local1)
                Or (Local1, Decrement (Local0), Local1)
                Store (Local1, ^^PCI0.LPC.PIRC)
            }
        }


        Device (LNKD)
        {
            Name (_HID, EisaId ("PNP0C0F"))  // _HID: Hardware ID
            Name (_UID, 0x04)  // _UID: Unique ID
            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                If (LNot (VPIR (^^PCI0.LPC.PIRD)))
                {
                    Return (0x09)
                }
                Else
                {
                    Return (0x0B)
                }
            }


            Name (_PRS, ResourceTemplate ()  // _PRS: Possible Resource Settings
            {
                IRQ (Level, ActiveLow, Shared, )
                    {3,4,5,6,7,9,10,11}
            })
            Method (_DIS, 0, NotSerialized)  // _DIS: Disable Device
            {
                Or (^^PCI0.LPC.PIRD, 0x80, ^^PCI0.LPC.PIRD)
            }


            Name (BUFD, ResourceTemplate ()
            {
                IRQ (Level, ActiveLow, Shared, )
                    {}
            })
            CreateWordField (BUFD, One, IRD1)
            Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
            {
                And (^^PCI0.LPC.PIRD, 0x8F, Local0)
                If (VPIR (Local0))
                {
                    ShiftLeft (One, Local0, IRD1)
                }
                Else
                {
                    Store (Zero, IRD1)
                }


                Return (BUFD)
            }


            Method (_SRS, 1, NotSerialized)  // _SRS: Set Resource Settings
            {
                CreateWordField (Arg0, One, IRD2)
                FindSetRightBit (IRD2, Local0)
                And (^^PCI0.LPC.PIRD, 0x70, Local1)
                Or (Local1, Decrement (Local0), Local1)
                Store (Local1, ^^PCI0.LPC.PIRD)
            }
        }


        Device (LNKE)
        {
            Name (_HID, EisaId ("PNP0C0F"))  // _HID: Hardware ID
            Name (_UID, 0x05)  // _UID: Unique ID
            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                If (LNot (VPIR (^^PCI0.LPC.PIRE)))
                {
                    Return (0x09)
                }
                Else
                {
                    Return (0x0B)
                }
            }


            Name (_PRS, ResourceTemplate ()  // _PRS: Possible Resource Settings
            {
                IRQ (Level, ActiveLow, Shared, )
                    {3,4,5,6,7,9,10,11}
            })
            Method (_DIS, 0, NotSerialized)  // _DIS: Disable Device
            {
                Or (^^PCI0.LPC.PIRE, 0x80, ^^PCI0.LPC.PIRE)
            }


            Name (BUFE, ResourceTemplate ()
            {
                IRQ (Level, ActiveLow, Shared, )
                    {}
            })
            CreateWordField (BUFE, One, IRE1)
            Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
            {
                And (^^PCI0.LPC.PIRE, 0x8F, Local0)
                If (VPIR (Local0))
                {
                    ShiftLeft (One, Local0, IRE1)
                }
                Else
                {
                    Store (Zero, IRE1)
                }


                Return (BUFE)
            }


            Method (_SRS, 1, NotSerialized)  // _SRS: Set Resource Settings
            {
                CreateWordField (Arg0, One, IRE2)
                FindSetRightBit (IRE2, Local0)
                And (^^PCI0.LPC.PIRE, 0x70, Local1)
                Or (Local1, Decrement (Local0), Local1)
                Store (Local1, ^^PCI0.LPC.PIRE)
            }
        }


        Device (LNKF)
        {
            Name (_HID, EisaId ("PNP0C0F"))  // _HID: Hardware ID
            Name (_UID, 0x06)  // _UID: Unique ID
            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                If (LNot (VPIR (^^PCI0.LPC.PIRF)))
                {
                    Return (0x09)
                }
                Else
                {
                    Return (0x0B)
                }
            }


            Name (_PRS, ResourceTemplate ()  // _PRS: Possible Resource Settings
            {
                IRQ (Level, ActiveLow, Shared, )
                    {3,4,5,6,7,9,10,11}
            })
            Method (_DIS, 0, NotSerialized)  // _DIS: Disable Device
            {
                Or (^^PCI0.LPC.PIRF, 0x80, ^^PCI0.LPC.PIRF)
            }


            Name (BUFF, ResourceTemplate ()
            {
                IRQ (Level, ActiveLow, Shared, )
                    {}
            })
            CreateWordField (BUFF, One, IRF1)
            Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
            {
                And (^^PCI0.LPC.PIRF, 0x8F, Local0)
                If (VPIR (Local0))
                {
                    ShiftLeft (One, Local0, IRF1)
                }
                Else
                {
                    Store (Zero, IRF1)
                }


                Return (BUFF)
            }


            Method (_SRS, 1, NotSerialized)  // _SRS: Set Resource Settings
            {
                CreateWordField (Arg0, One, IRF2)
                FindSetRightBit (IRF2, Local0)
                And (^^PCI0.LPC.PIRF, 0x70, Local1)
                Or (Local1, Decrement (Local0), Local1)
                Store (Local1, ^^PCI0.LPC.PIRF)
            }
        }


        Device (LNKG)
        {
            Name (_HID, EisaId ("PNP0C0F"))  // _HID: Hardware ID
            Name (_UID, 0x07)  // _UID: Unique ID
            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                If (LNot (VPIR (^^PCI0.LPC.PIRG)))
                {
                    Return (0x09)
                }
                Else
                {
                    Return (0x0B)
                }
            }


            Name (_PRS, ResourceTemplate ()  // _PRS: Possible Resource Settings
            {
                IRQ (Level, ActiveLow, Shared, )
                    {3,4,5,6,7,9,10,11}
            })
            Method (_DIS, 0, NotSerialized)  // _DIS: Disable Device
            {
                Or (^^PCI0.LPC.PIRG, 0x80, ^^PCI0.LPC.PIRG)
            }


            Name (BUFG, ResourceTemplate ()
            {
                IRQ (Level, ActiveLow, Shared, )
                    {}
            })
            CreateWordField (BUFG, One, IRG1)
            Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
            {
                And (^^PCI0.LPC.PIRG, 0x8F, Local0)
                If (VPIR (Local0))
                {
                    ShiftLeft (One, Local0, IRG1)
                }
                Else
                {
                    Store (Zero, IRG1)
                }


                Return (BUFG)
            }


            Method (_SRS, 1, NotSerialized)  // _SRS: Set Resource Settings
            {
                CreateWordField (Arg0, One, IRG2)
                FindSetRightBit (IRG2, Local0)
                And (^^PCI0.LPC.PIRG, 0x70, Local1)
                Or (Local1, Decrement (Local0), Local1)
                Store (Local1, ^^PCI0.LPC.PIRG)
            }
        }


        Device (LNKH)
        {
            Name (_HID, EisaId ("PNP0C0F"))  // _HID: Hardware ID
            Name (_UID, 0x08)  // _UID: Unique ID
            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                If (LNot (VPIR (^^PCI0.LPC.PIRH)))
                {
                    Return (0x09)
                }
                Else
                {
                    Return (0x0B)
                }
            }


            Name (_PRS, ResourceTemplate ()  // _PRS: Possible Resource Settings
            {
                IRQ (Level, ActiveLow, Shared, )
                    {3,4,5,6,7,9,10,11}
            })
            Method (_DIS, 0, NotSerialized)  // _DIS: Disable Device
            {
                Or (^^PCI0.LPC.PIRH, 0x80, ^^PCI0.LPC.PIRH)
            }


            Name (BUFH, ResourceTemplate ()
            {
                IRQ (Level, ActiveLow, Shared, )
                    {}
            })
            CreateWordField (BUFH, One, IRH1)
            Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
            {
                And (^^PCI0.LPC.PIRH, 0x8F, Local0)
                If (VPIR (Local0))
                {
                    ShiftLeft (One, Local0, IRH1)
                }
                Else
                {
                    Store (Zero, IRH1)
                }


                Return (BUFH)
            }


            Method (_SRS, 1, NotSerialized)  // _SRS: Set Resource Settings
            {
                CreateWordField (Arg0, One, IRH2)
                FindSetRightBit (IRH2, Local0)
                And (^^PCI0.LPC.PIRH, 0x70, Local1)
                Or (Local1, Decrement (Local0), Local1)
                Store (Local1, ^^PCI0.LPC.PIRH)
            }
        }


        Method (VPIR, 1, NotSerialized)
        {
            Store (One, Local0)
            If (And (Arg0, 0x80))
            {
                Store (Zero, Local0)
            }
            Else
            {
                And (Arg0, 0x0F, Local1)
                If (LLess (Local1, 0x03))
                {
                    Store (Zero, Local0)
                }
                Else
                {
                    If (LOr (LEqual (Local1, 0x08), LEqual (Local1, 0x0D)))
                    {
                        Store (Zero, Local0)
                    }
                }
            }


            Return (Local0)
        }


        Device (MEM)
        {
            Name (_HID, EisaId ("PNP0C01"))  // _HID: Hardware ID
            Name (MEMS, ResourceTemplate ()
            {
                Memory32Fixed (ReadWrite,
                    0x00000000,         // Address Base
                    0x000A0000,         // Address Length
                    )
                Memory32Fixed (ReadOnly,
                    0x000C0000,         // Address Base
                    0x00000000,         // Address Length
                    _Y00)
                Memory32Fixed (ReadOnly,
                    0x000C4000,         // Address Base
                    0x00000000,         // Address Length
                    _Y01)
                Memory32Fixed (ReadOnly,
                    0x000C8000,         // Address Base
                    0x00000000,         // Address Length
                    _Y02)
                Memory32Fixed (ReadOnly,
                    0x000CC000,         // Address Base
                    0x00000000,         // Address Length
                    _Y03)
                Memory32Fixed (ReadOnly,
                    0x000D0000,         // Address Base
                    0x00000000,         // Address Length
                    _Y04)
                Memory32Fixed (ReadOnly,
                    0x000D4000,         // Address Base
                    0x00000000,         // Address Length
                    _Y05)
                Memory32Fixed (ReadOnly,
                    0x000D8000,         // Address Base
                    0x00000000,         // Address Length
                    _Y06)
                Memory32Fixed (ReadOnly,
                    0x000DC000,         // Address Base
                    0x00000000,         // Address Length
                    _Y07)
                Memory32Fixed (ReadOnly,
                    0x000E0000,         // Address Base
                    0x00000000,         // Address Length
                    _Y08)
                Memory32Fixed (ReadOnly,
                    0x000E4000,         // Address Base
                    0x00000000,         // Address Length
                    _Y09)
                Memory32Fixed (ReadOnly,
                    0x000E8000,         // Address Base
                    0x00000000,         // Address Length
                    _Y0A)
                Memory32Fixed (ReadOnly,
                    0x000EC000,         // Address Base
                    0x00000000,         // Address Length
                    _Y0B)
                Memory32Fixed (ReadOnly,
                    0x000F0000,         // Address Base
                    0x00010000,         // Address Length
                    )
                Memory32Fixed (ReadWrite,
                    0x00100000,         // Address Base
                    0x01EE0000,         // Address Length
                    _Y0C)
                Memory32Fixed (ReadOnly,
                    0xFEC00000,         // Address Base
                    0x00140000,         // Address Length
                    _Y0D)
                Memory32Fixed (ReadOnly,
                    0xFED4C000,         // Address Base
                    0x012B4000,         // Address Length
                    _Y0E)
            })
            CreateDWordField (MEMS, \_SB.MEM._Y00._LEN, MC0L)  // _LEN: Length
            CreateDWordField (MEMS, \_SB.MEM._Y01._LEN, MC4L)  // _LEN: Length
            CreateDWordField (MEMS, \_SB.MEM._Y02._LEN, MC8L)  // _LEN: Length
            CreateDWordField (MEMS, \_SB.MEM._Y03._LEN, MCCL)  // _LEN: Length
            CreateDWordField (MEMS, \_SB.MEM._Y04._LEN, MD0L)  // _LEN: Length
            CreateDWordField (MEMS, \_SB.MEM._Y05._LEN, MD4L)  // _LEN: Length
            CreateDWordField (MEMS, \_SB.MEM._Y06._LEN, MD8L)  // _LEN: Length
            CreateDWordField (MEMS, \_SB.MEM._Y07._LEN, MDCL)  // _LEN: Length
            CreateDWordField (MEMS, \_SB.MEM._Y08._LEN, ME0L)  // _LEN: Length
            CreateDWordField (MEMS, \_SB.MEM._Y09._LEN, ME4L)  // _LEN: Length
            CreateDWordField (MEMS, \_SB.MEM._Y0A._LEN, ME8L)  // _LEN: Length
            CreateDWordField (MEMS, \_SB.MEM._Y0B._LEN, MECL)  // _LEN: Length
            CreateBitField (MEMS, \_SB.MEM._Y00._RW, MC0W)  // _RW_: Read-Write Status
            CreateBitField (MEMS, \_SB.MEM._Y01._RW, MC4W)  // _RW_: Read-Write Status
            CreateBitField (MEMS, \_SB.MEM._Y02._RW, MC8W)  // _RW_: Read-Write Status
            CreateBitField (MEMS, \_SB.MEM._Y03._RW, MCCW)  // _RW_: Read-Write Status
            CreateBitField (MEMS, \_SB.MEM._Y04._RW, MD0W)  // _RW_: Read-Write Status
            CreateBitField (MEMS, \_SB.MEM._Y05._RW, MD4W)  // _RW_: Read-Write Status
            CreateBitField (MEMS, \_SB.MEM._Y06._RW, MD8W)  // _RW_: Read-Write Status
            CreateBitField (MEMS, \_SB.MEM._Y07._RW, MDCW)  // _RW_: Read-Write Status
            CreateBitField (MEMS, \_SB.MEM._Y08._RW, ME0W)  // _RW_: Read-Write Status
            CreateBitField (MEMS, \_SB.MEM._Y09._RW, ME4W)  // _RW_: Read-Write Status
            CreateBitField (MEMS, \_SB.MEM._Y0A._RW, ME8W)  // _RW_: Read-Write Status
            CreateBitField (MEMS, \_SB.MEM._Y0B._RW, MECW)  // _RW_: Read-Write Status
            CreateDWordField (MEMS, \_SB.MEM._Y0C._BAS, MEB1)  // _BAS: Base Address
            CreateDWordField (MEMS, \_SB.MEM._Y0C._LEN, MEL1)  // _LEN: Length
            CreateDWordField (MEMS, \_SB.MEM._Y0D._LEN, MEL2)  // _LEN: Length
            CreateDWordField (MEMS, \_SB.MEM._Y0E._LEN, MEL3)  // _LEN: Length
            Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
            {
                And (^^UNCR.SAD.PAM1, 0x03, Local0)
                If (Local0)
                {
                    Store (0x4000, MC0L)
                    If (And (Local0, 0x02))
                    {
                        Store (One, MC0W)
                    }
                }


                And (^^UNCR.SAD.PAM1, 0x30, Local0)
                If (Local0)
                {
                    Store (0x4000, MC4L)
                    If (And (Local0, 0x20))
                    {
                        Store (One, MC4W)
                    }
                }


                And (^^UNCR.SAD.PAM2, 0x03, Local0)
                If (Local0)
                {
                    Store (0x4000, MC8L)
                    If (And (Local0, 0x02))
                    {
                        Store (One, MC8W)
                    }
                }


                And (^^UNCR.SAD.PAM2, 0x30, Local0)
                If (Local0)
                {
                    Store (0x4000, MCCL)
                    If (And (Local0, 0x20))
                    {
                        Store (One, MCCW)
                    }
                }


                And (^^UNCR.SAD.PAM3, 0x03, Local0)
                If (Local0)
                {
                    Store (0x4000, MD0L)
                    If (And (Local0, 0x02))
                    {
                        Store (One, MD0W)
                    }
                }


                And (^^UNCR.SAD.PAM3, 0x30, Local0)
                If (Local0)
                {
                    Store (0x4000, MD4L)
                    If (And (Local0, 0x20))
                    {
                        Store (One, MD4W)
                    }
                }


                And (^^UNCR.SAD.PAM4, 0x03, Local0)
                If (Local0)
                {
                    Store (0x4000, MD8L)
                    If (And (Local0, 0x02))
                    {
                        Store (One, MD8W)
                    }
                }


                And (^^UNCR.SAD.PAM4, 0x30, Local0)
                If (Local0)
                {
                    Store (0x4000, MDCL)
                    If (And (Local0, 0x20))
                    {
                        Store (One, MDCW)
                    }
                }


                And (^^UNCR.SAD.PAM5, 0x03, Local0)
                If (Local0)
                {
                    Store (0x4000, ME0L)
                    If (And (Local0, 0x02))
                    {
                        Store (One, ME0W)
                    }
                }


                And (^^UNCR.SAD.PAM5, 0x30, Local0)
                If (Local0)
                {
                    Store (0x4000, ME4L)
                    If (And (Local0, 0x20))
                    {
                        Store (One, ME4W)
                    }
                }


                And (^^UNCR.SAD.PAM6, 0x03, Local0)
                If (Local0)
                {
                    Store (0x4000, ME8L)
                    If (And (Local0, 0x02))
                    {
                        Store (One, ME8W)
                    }
                }


                And (^^UNCR.SAD.PAM6, 0x30, Local0)
                If (Local0)
                {
                    Store (0x4000, MECL)
                    If (And (Local0, 0x20))
                    {
                        Store (One, MECW)
                    }
                }


                Subtract (MEMX, MEB1, MEL1)
                If (LNotEqual (^^PCI0.LPC.TPM._STA (), 0x0F))
                {
                    Store (0x01400000, MEL2)
                    Store (Zero, MEL3)
                }


                Return (MEMS)
            }
        }


        Device (LID)
        {
            Name (_HID, EisaId ("PNP0C0D"))  // _HID: Hardware ID
            Method (_LID, 0, NotSerialized)  // _LID: Lid Status
            {
                If (H8DR)
                {
                    Return (^^PCI0.LPC.EC.HPLD)
                }
                Else
                {
                    If (And (RBEC (0x46), 0x04))
                    {
                        Return (One)
                    }
                    Else
                    {
                        Return (Zero)
                    }
                }
            }


            Method (_PRW, 0, NotSerialized)  // _PRW: Power Resources for Wake
            {
                Return (Package (0x02)
                {
                    0x1D, 
                    0x03
                })
            }


            Method (_PSW, 1, NotSerialized)  // _PSW: Power State Wake
            {
                If (H8DR)
                {
                    If (Arg0)
                    {
                        Store (One, ^^PCI0.LPC.EC.HWLO)
                    }
                    Else
                    {
                        Store (Zero, ^^PCI0.LPC.EC.HWLO)
                    }
                }
                Else
                {
                    If (Arg0)
                    {
                        MBEC (0x32, 0xFF, 0x04)
                    }
                    Else
                    {
                        MBEC (0x32, 0xFB, Zero)
                    }
                }
            }
        }


        Device (SLPB)
        {
            Name (_HID, EisaId ("PNP0C0E"))  // _HID: Hardware ID
            Method (_PRW, 0, NotSerialized)  // _PRW: Power Resources for Wake
            {
                Return (Package (0x02)
                {
                    0x1D, 
                    0x03
                })
            }


            Method (_PSW, 1, NotSerialized)  // _PSW: Power State Wake
            {
                If (H8DR)
                {
                    If (Arg0)
                    {
                        Store (One, ^^PCI0.LPC.EC.HWFN)
                    }
                    Else
                    {
                        Store (Zero, ^^PCI0.LPC.EC.HWFN)
                    }
                }
                Else
                {
                    If (Arg0)
                    {
                        MBEC (0x32, 0xFF, 0x10)
                    }
                    Else
                    {
                        MBEC (0x32, 0xEF, Zero)
                    }
                }
            }
        }


        Device (UNCR)
        {
            Name (_BBN, 0xFF)  // _BBN: BIOS Bus Number
            Name (_ADR, Zero)  // _ADR: Address
            Name (RID, Zero)
            Name (_HID, EisaId ("PNP0A03"))  // _HID: Hardware ID
            Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
            {
                WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
                    0x0000,             // Granularity
                    0x00FF,             // Range Minimum
                    0x00FF,             // Range Maximum
                    0x0000,             // Translation Offset
                    0x0001,             // Length
                    ,, )
            })
            Device (SAD)
            {
                Name (_ADR, One)  // _ADR: Address
                Name (RID, Zero)
                OperationRegion (SADC, PCI_Config, Zero, 0x0100)
                Field (SADC, DWordAcc, NoLock, Preserve)
                {
                    Offset (0x40), 
                    PAM0,   8, 
                    PAM1,   8, 
                    PAM2,   8, 
                    PAM3,   8, 
                    PAM4,   8, 
                    PAM5,   8, 
                    PAM6,   8
                }
            }
        }


        Device (PCI0)
        {
            Name (_BBN, Zero)  // _BBN: BIOS Bus Number
            Name (_ADR, Zero)  // _ADR: Address
            Name (RID, Zero)
            Name (_S3D, 0x02)  // _S3D: S3 Device State
            Name (LRRT, Package (0x19)
            {
                Package (0x04)
                {
                    0x0001FFFF, 
                    Zero, 
                    LNKA, 
                    Zero
                }, 


                Package (0x04)
                {
                    0x0002FFFF, 
                    Zero, 
                    LNKA, 
                    Zero
                }, 


                Package (0x04)
                {
                    0x0003FFFF, 
                    Zero, 
                    LNKA, 
                    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
                }, 


                Package (0x04)
                {
                    0x0019FFFF, 
                    Zero, 
                    LNKE, 
                    Zero
                }, 


                Package (0x04)
                {
                    0x001AFFFF, 
                    Zero, 
                    LNKE, 
                    Zero
                }, 


                Package (0x04)
                {
                    0x001AFFFF, 
                    One, 
                    LNKF, 
                    Zero
                }, 


                Package (0x04)
                {
                    0x001AFFFF, 
                    0x02, 
                    LNKG, 
                    Zero
                }, 


                Package (0x04)
                {
                    0x001AFFFF, 
                    0x03, 
                    LNKH, 
                    Zero
                }, 


                Package (0x04)
                {
                    0x001BFFFF, 
                    One, 
                    LNKB, 
                    Zero
                }, 


                Package (0x04)
                {
                    0x001CFFFF, 
                    Zero, 
                    LNKE, 
                    Zero
                }, 


                Package (0x04)
                {
                    0x001CFFFF, 
                    One, 
                    LNKF, 
                    Zero
                }, 


                Package (0x04)
                {
                    0x001CFFFF, 
                    0x02, 
                    LNKG, 
                    Zero
                }, 


                Package (0x04)
                {
                    0x001CFFFF, 
                    0x03, 
                    LNKH, 
                    Zero
                }, 


                Package (0x04)
                {
                    0x001DFFFF, 
                    Zero, 
                    LNKA, 
                    Zero
                }, 


                Package (0x04)
                {
                    0x001DFFFF, 
                    One, 
                    LNKB, 
                    Zero
                }, 


                Package (0x04)
                {
                    0x001DFFFF, 
                    0x02, 
                    LNKC, 
                    Zero
                }, 


                Package (0x04)
                {
                    0x001DFFFF, 
                    0x03, 
                    LNKD, 
                    Zero
                }, 


                Package (0x04)
                {
                    0x001FFFFF, 
                    Zero, 
                    LNKH, 
                    Zero
                }, 


                Package (0x04)
                {
                    0x001FFFFF, 
                    One, 
                    LNKA, 
                    Zero
                }, 


                Package (0x04)
                {
                    0x001FFFFF, 
                    0x02, 
                    LNKB, 
                    Zero
                }, 


                Package (0x04)
                {
                    0x001FFFFF, 
                    0x03, 
                    LNKD, 
                    Zero
                }
            })
            Name (ARRT, Package (0x19)
            {
                Package (0x04)
                {
                    0x0001FFFF, 
                    Zero, 
                    Zero, 
                    0x10
                }, 


                Package (0x04)
                {
                    0x0002FFFF, 
                    Zero, 
                    Zero, 
                    0x10
                }, 


                Package (0x04)
                {
                    0x0003FFFF, 
                    Zero, 
                    Zero, 
                    0x10
                }, 


                Package (0x04)
                {
                    0x0016FFFF, 
                    Zero, 
                    Zero, 
                    0x10
                }, 


                Package (0x04)
                {
                    0x0016FFFF, 
                    One, 
                    Zero, 
                    0x11
                }, 


                Package (0x04)
                {
                    0x0016FFFF, 
                    0x02, 
                    Zero, 
                    0x12
                }, 


                Package (0x04)
                {
                    0x0016FFFF, 
                    0x03, 
                    Zero, 
                    0x13
                }, 


                Package (0x04)
                {
                    0x0019FFFF, 
                    Zero, 
                    Zero, 
                    0x14
                }, 


                Package (0x04)
                {
                    0x001AFFFF, 
                    Zero, 
                    Zero, 
                    0x14
                }, 


                Package (0x04)
                {
                    0x001AFFFF, 
                    One, 
                    Zero, 
                    0x15
                }, 


                Package (0x04)
                {
                    0x001AFFFF, 
                    0x02, 
                    Zero, 
                    0x16
                }, 


                Package (0x04)
                {
                    0x001AFFFF, 
                    0x03, 
                    Zero, 
                    0x17
                }, 


                Package (0x04)
                {
                    0x001BFFFF, 
                    One, 
                    Zero, 
                    0x11
                }, 


                Package (0x04)
                {
                    0x001CFFFF, 
                    Zero, 
                    Zero, 
                    0x14
                }, 


                Package (0x04)
                {
                    0x001CFFFF, 
                    One, 
                    Zero, 
                    0x15
                }, 


                Package (0x04)
                {
                    0x001CFFFF, 
                    0x02, 
                    Zero, 
                    0x16
                }, 


                Package (0x04)
                {
                    0x001CFFFF, 
                    0x03, 
                    Zero, 
                    0x17
                }, 


                Package (0x04)
                {
                    0x001DFFFF, 
                    Zero, 
                    Zero, 
                    0x10
                }, 


                Package (0x04)
                {
                    0x001DFFFF, 
                    One, 
                    Zero, 
                    0x11
                }, 


                Package (0x04)
                {
                    0x001DFFFF, 
                    0x02, 
                    Zero, 
                    0x12
                }, 


                Package (0x04)
                {
                    0x001DFFFF, 
                    0x03, 
                    Zero, 
                    0x13
                }, 


                Package (0x04)
                {
                    0x001FFFFF, 
                    Zero, 
                    Zero, 
                    0x17
                }, 


                Package (0x04)
                {
                    0x001FFFFF, 
                    One, 
                    Zero, 
                    0x10
                }, 


                Package (0x04)
                {
                    0x001FFFFF, 
                    0x02, 
                    Zero, 
                    0x11
                }, 


                Package (0x04)
                {
                    0x001FFFFF, 
                    0x03, 
                    Zero, 
                    0x13
                }
            })
            Method (_PRT, 0, NotSerialized)  // _PRT: PCI Routing Table
            {
                If (GPIC)
                {
                    Return (ARRT)
                }
                Else
                {
                    Return (LRRT)
                }
            }


            Name (_HID, EisaId ("PNP0A08"))  // _HID: Hardware ID
            Name (_CID, EisaId ("PNP0A03"))  // _CID: Compatible ID
            OperationRegion (MHCS, PCI_Config, 0x40, 0xC0)
            Field (MHCS, DWordAcc, NoLock, Preserve)
            {
                Offset (0x70), 
                    ,   4, 
                TLUD,   12
            }


            Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
            {
                WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
                    0x0000,             // Granularity
                    0x0000,             // Range Minimum
                    0x00FE,             // Range Maximum
                    0x0000,             // Translation Offset
                    0x00FF,             // Length
                    ,, )
                IO (Decode16,
                    0x0CF8,             // Range Minimum
                    0x0CF8,             // Range Maximum
                    0x01,               // Alignment
                    0x08,               // Length
                    )
                WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
                    0x0000,             // Granularity
                    0x0000,             // Range Minimum
                    0x0CF7,             // Range Maximum
                    0x0000,             // Translation Offset
                    0x0CF8,             // Length
                    ,, , TypeStatic)
                WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
                    0x0000,             // Granularity
                    0x0D00,             // Range Minimum
                    0xFFFF,             // Range Maximum
                    0x0000,             // Translation Offset
                    0xF300,             // 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
                    ,, _Y0F, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000C4000,         // Range Minimum
                    0x000C7FFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y10, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000C8000,         // Range Minimum
                    0x000CBFFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y11, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000CC000,         // Range Minimum
                    0x000CFFFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y12, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000D0000,         // Range Minimum
                    0x000D3FFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y13, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000D4000,         // Range Minimum
                    0x000D7FFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y14, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000D8000,         // Range Minimum
                    0x000DBFFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y15, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000DC000,         // Range Minimum
                    0x000DFFFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y16, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000E0000,         // Range Minimum
                    0x000E3FFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y17, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000E4000,         // Range Minimum
                    0x000E7FFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y18, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000E8000,         // Range Minimum
                    0x000EBFFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y19, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x000EC000,         // Range Minimum
                    0x000EFFFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x00004000,         // Length
                    ,, _Y1A, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0x00100000,         // Range Minimum
                    0xFEBFFFFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0xFEB00000,         // Length
                    ,, _Y1B, AddressRangeMemory, TypeStatic)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,         // Granularity
                    0xFED40000,         // Range Minimum
                    0xFED4BFFF,         // Range Maximum
                    0x00000000,         // Translation Offset
                    0x0000C000,         // Length
                    ,, _Y1C, AddressRangeMemory, TypeStatic)
            })
            CreateDWordField (_CRS, \_SB.PCI0._Y0F._LEN, C0LN)  // _LEN: Length
            CreateDWordField (_CRS, \_SB.PCI0._Y10._LEN, C4LN)  // _LEN: Length
            CreateDWordField (_CRS, \_SB.PCI0._Y11._LEN, C8LN)  // _LEN: Length
            CreateDWordField (_CRS, \_SB.PCI0._Y12._LEN, CCLN)  // _LEN: Length
            CreateDWordField (_CRS, \_SB.PCI0._Y13._LEN, D0LN)  // _LEN: Length
            CreateDWordField (_CRS, \_SB.PCI0._Y14._LEN, D4LN)  // _LEN: Length
            CreateDWordField (_CRS, \_SB.PCI0._Y15._LEN, D8LN)  // _LEN: Length
            CreateDWordField (_CRS, \_SB.PCI0._Y16._LEN, DCLN)  // _LEN: Length
            CreateDWordField (_CRS, \_SB.PCI0._Y17._LEN, E0LN)  // _LEN: Length
            CreateDWordField (_CRS, \_SB.PCI0._Y18._LEN, E4LN)  // _LEN: Length
            CreateDWordField (_CRS, \_SB.PCI0._Y19._LEN, E8LN)  // _LEN: Length
            CreateDWordField (_CRS, \_SB.PCI0._Y1A._LEN, ECLN)  // _LEN: Length
            CreateDWordField (_CRS, \_SB.PCI0._Y1B._MIN, XXMN)  // _MIN: Minimum Base Address
            CreateDWordField (_CRS, \_SB.PCI0._Y1B._MAX, XXMX)  // _MAX: Maximum Base Address
            CreateDWordField (_CRS, \_SB.PCI0._Y1B._LEN, XXLN)  // _LEN: Length
            CreateDWordField (_CRS, \_SB.PCI0._Y1C._MIN, F4MN)  // _MIN: Minimum Base Address
            CreateDWordField (_CRS, \_SB.PCI0._Y1C._MAX, F4MX)  // _MAX: Maximum Base Address
            CreateDWordField (_CRS, \_SB.PCI0._Y1C._LEN, F4LN)  // _LEN: Length
            Method (_INI, 0, Serialized)  // _INI: Initialize
            {
                If (LNot (OSIF))
                {
                    ^^_INI ()
                }


                If (LEqual (PNHM, 0x000106E0))
                {
                    ShiftLeft (Increment (^IIO1.TOUD), 0x1A, Local0)
                }
                Else
                {
                    ShiftLeft (TLUD, 0x14, Local0)
                }


                Store (Local0, MEMX)
                Store (Local0, XXMN)
                Add (Subtract (XXMX, XXMN), One, XXLN)
                If (LNotEqual (And (TPRS, One), One))
                {
                    Store (Zero, F4LN)
                }


                If (And (^^UNCR.SAD.PAM1, 0x03))
                {
                    Store (Zero, C0LN)
                }


                If (And (^^UNCR.SAD.PAM1, 0x30))
                {
                    Store (Zero, C4LN)
                }


                If (And (^^UNCR.SAD.PAM2, 0x03))
                {
                    Store (Zero, C8LN)
                }


                If (And (^^UNCR.SAD.PAM2, 0x30))
                {
                    Store (Zero, CCLN)
                }


                If (And (^^UNCR.SAD.PAM3, 0x03))
                {
                    Store (Zero, D0LN)
                }


                If (And (^^UNCR.SAD.PAM3, 0x30))
                {
                    Store (Zero, D4LN)
                }


                If (And (^^UNCR.SAD.PAM4, 0x03))
                {
                    Store (Zero, D8LN)
                }


                If (And (^^UNCR.SAD.PAM4, 0x30))
                {
                    Store (Zero, DCLN)
                }


                If (And (^^UNCR.SAD.PAM5, 0x03))
                {
                    Store (Zero, E0LN)
                }


                If (And (^^UNCR.SAD.PAM5, 0x30))
                {
                    Store (Zero, E4LN)
                }


                If (And (^^UNCR.SAD.PAM6, 0x03))
                {
                    Store (Zero, E8LN)
                }


                If (And (^^UNCR.SAD.PAM6, 0x30))
                {
                    Store (Zero, ECLN)
                }
            }


            Name (SUPP, Zero)
            Name (CTRL, Zero)
            Method (_OSC, 4, NotSerialized)  // _OSC: Operating System Capabilities
            {
                CreateDWordField (Arg3, Zero, CDW1)
                CreateDWordField (Arg3, 0x04, CDW2)
                CreateDWordField (Arg3, 0x08, CDW3)
                CreateDWordField (Arg0, Zero, IID0)
                CreateDWordField (Arg0, 0x04, IID1)
                CreateDWordField (Arg0, 0x08, IID2)
                CreateDWordField (Arg0, 0x0C, IID3)
                Name (UID0, Buffer (0x10)
                {
                    /* 0000 */   0x5B, 0x4D, 0xDB, 0x33, 0xF7, 0x1F, 0x1C, 0x40,
                    /* 0008 */   0x96, 0x57, 0x74, 0x41, 0xC0, 0x3D, 0xD7, 0x66
                })
                CreateDWordField (UID0, Zero, EID0)
                CreateDWordField (UID0, 0x04, EID1)
                CreateDWordField (UID0, 0x08, EID2)
                CreateDWordField (UID0, 0x0C, EID3)
                If (LAnd (LAnd (LEqual (IID0, EID0), LEqual (IID1, EID1)), LAnd (
                    LEqual (IID2, EID2), LEqual (IID3, EID3))))
                {
                    Store (CDW2, SUPP)
                    Store (CDW3, CTRL)
                    And (CTRL, 0x0D, CTRL)
                    If (LNot (And (CDW1, One)))
                    {
                        If (And (CTRL, One))
                        {
                            If (LNot (VIGD))
                            {
                                Store (Zero, ^PEG.HPGP)
                                Store (Zero, ^PEG.GMGP)
                            }


                            Store (Zero, ^EXP4.HPCE)
                            Store (One, ^EXP4.HPCS)
                            Store (One, ^EXP4.PDC)
                            Store (One, NHPS)
                        }


                        If (And (CTRL, 0x04))
                        {
                            If (LNot (VIGD))
                            {
                                Store (Zero, ^PEG.PMGP)
                                Store (Zero, ^PEG.GMGP)
                            }


                            If (^EXP1.PMCE)
                            {
                                Store (Zero, ^EXP1.PMCE)
                                Store (One, ^EXP1.PMCS)
                            }


                            If (^EXP2.PMCE)
                            {
                                Store (Zero, ^EXP2.PMCE)
                                Store (One, ^EXP2.PMCS)
                            }


                            If (^EXP3.PMCE)
                            {
                                Store (Zero, ^EXP3.PMCE)
                                Store (One, ^EXP3.PMCS)
                            }


                            If (^EXP4.PMCE)
                            {
                                Store (Zero, ^EXP4.PMCE)
                                Store (One, ^EXP4.PMCS)
                            }


                            If (^EXP5.PMCE)
                            {
                                Store (Zero, ^EXP5.PMCE)
                                Store (One, ^EXP5.PMCS)
                            }


                            Store (Zero, ^LPC.EXPE)
                            Store (One, NPME)
                        }
                    }


                    If (LNotEqual (Arg1, One))
                    {
                        Or (CDW1, 0x0A, CDW1)
                    }


                    If (LNotEqual (CDW3, CTRL))
                    {
                        Or (CDW1, 0x10, CDW1)
                    }


                    Store (CTRL, CDW3)
                }
                Else
                {
                    Or (CDW1, 0x06, CDW1)
                }


                Return (Arg3)
            }


            Mutex (MDGS, 0x07)
            Name (VDEE, One)
            Name (VDDA, Buffer (0x02) {})
            CreateBitField (VDDA, Zero, VUPC)
            CreateBitField (VDDA, One, VQDL)
            CreateBitField (VDDA, 0x02, VQDC)
            CreateBitField (VDDA, 0x03, VQD0)
            CreateBitField (VDDA, 0x04, VQD1)
            CreateBitField (VDDA, 0x05, VQD2)
            CreateBitField (VDDA, 0x06, VSDL)
            CreateBitField (VDDA, 0x07, VSDC)
            CreateBitField (VDDA, 0x08, VSD0)
            CreateBitField (VDDA, 0x09, VSD1)
            CreateBitField (VDDA, 0x0A, VSD2)
            CreateBitField (VDDA, 0x0B, VSD3)
            CreateBitField (VDDA, 0x0C, VSD4)
            CreateBitField (VDDA, 0x0D, VSD5)
            CreateBitField (VDDA, 0x0E, MSWT)
            Device (VID)
            {
                Name (_ADR, 0x00020000)  // _ADR: Address
                Name (RID, Zero)
                OperationRegion (VPCG, PCI_Config, Zero, 0x0100)
                Field (VPCG, DWordAcc, NoLock, Preserve)
                {
                    Offset (0xD4), 
                    VPWR,   8
                }


                Name (MIDL, 0x0400)
                Name (MIDC, 0x0100)
                Name (MID0, 0x0300)
                Name (MID1, 0x0301)
                Name (MID2, 0x0302)
                Name (MID3, 0x0303)
                Name (MID4, 0x0304)
                Name (MID5, 0x0305)
                Name (_S3D, 0x03)  // _S3D: S3 Device State
                Method (_INI, 0, NotSerialized)  // _INI: Initialize
                {
                    Noop
                }


                Method (_PS0, 0, NotSerialized)  // _PS0: Power State 0
                {
                    Noop
                }


                Method (_PS1, 0, NotSerialized)  // _PS1: Power State 1
                {
                    Noop
                }


                Method (_PS2, 0, NotSerialized)  // _PS2: Power State 2
                {
                    Noop
                }


                Method (_PS3, 0, NotSerialized)  // _PS3: Power State 3
                {
                    Noop
                }


                Method (VSWT, 0, NotSerialized)
                {
                    GHDS (Zero)
                }


                Method (VLOC, 1, NotSerialized)
                {
                    If (LEqual (Arg0, ^^^LID._LID ()))
                    {
                        VSLD (Arg0)
                        If (LEqual (VPWR, Zero))
                        {
                            Store (Arg0, CLID)
                            GNOT (0x02, Zero)
                        }
                    }
                }


                Method (_DOS, 1, NotSerialized)  // _DOS: Disable Output Switching
                {
                    And (Arg0, 0x03, Arg0)
                    If (LEqual (Arg0, 0x02))
                    {
                        Store (0x14, Local0)
                        While (Local0)
                        {
                            Decrement (Local0)
                            Acquire (MDGS, 0xFFFF)
                            If (LEqual (Zero, MSWT))
                            {
                                Store (One, MSWT)
                                Store (Zero, Local0)
                                Store (Arg0, VDEE)
                            }


                            Release (MDGS)
                            Sleep (0xC8)
                        }
                    }
                    Else
                    {
                        Acquire (MDGS, 0xFFFF)
                        If (LEqual (VDEE, 0x02))
                        {
                            Store (Zero, MSWT)
                        }


                        If (LGreater (Arg0, 0x02))
                        {
                            Store (One, VDEE)
                        }
                        Else
                        {
                            Store (Arg0, VDEE)
                        }


                        Release (MDGS)
                    }
                }


                Method (_DOD, 0, NotSerialized)  // _DOD: Display Output Devices
                {
                    If (LAnd (WVIS, LGreaterEqual (VHYB (0x03, Zero), One)))
                    {
                        Store (0x0410, MIDL)
                        Store (0x80000100, MIDC)
                        Store (0x80006330, MID0)
                        Store (0x80007331, MID1)
                        Store (0x80086342, MID2)
                        Store (0x80087355, MID3)
                        Store (0x80086354, MID4)
                        Store (0x80087343, MID5)
                        If (LAnd (WVIS, ISOP ()))
                        {
                            Return (Package (0x04)
                            {
                                0x80000100, 
                                0x80006330, 
                                0x80007331, 
                                0x80000410
                            })
                        }


                        Return (^^PEG.VID._DOD ())
                    }


                    Store (Zero, NDID)
                    If (LNotEqual (DIDL, Zero))
                    {
                        Increment (NDID)
                    }


                    If (LNotEqual (DDL2, Zero))
                    {
                        Increment (NDID)
                    }


                    If (LNotEqual (DDL3, Zero))
                    {
                        Increment (NDID)
                    }


                    If (LNotEqual (DDL4, Zero))
                    {
                        Increment (NDID)
                    }


                    If (LNotEqual (DDL5, Zero))
                    {
                        Increment (NDID)
                    }


                    If (LNotEqual (DDL6, Zero))
                    {
                        Increment (NDID)
                    }


                    If (LNotEqual (DDL7, Zero))
                    {
                        Increment (NDID)
                    }


                    If (LNotEqual (DDL8, Zero))
                    {
                        Increment (NDID)
                    }


                    If (LEqual (NDID, One))
                    {
                        Name (TMP1, Package (0x01)
                        {
                            Ones
                        })
                        Store (Or (0x80010000, And (0x0F0F, DIDL)), Index (TMP1, 
                            Zero))
                        Return (TMP1)
                    }


                    If (LEqual (NDID, 0x02))
                    {
                        Name (TMP2, Package (0x02)
                        {
                            Ones, 
                            Ones
                        })
                        Store (Or (0x80010000, And (0x0F0F, DIDL)), Index (TMP2, 
                            Zero))
                        Store (Or (0x80010000, And (0x0F0F, DDL2)), Index (TMP2, 
                            One))
                        Return (TMP2)
                    }


                    If (LEqual (NDID, 0x03))
                    {
                        Name (TMP3, Package (0x03)
                        {
                            Ones, 
                            Ones, 
                            Ones
                        })
                        Store (Or (0x80010000, And (0x0F0F, DIDL)), Index (TMP3, 
                            Zero))
                        Store (Or (0x80010000, And (0x0F0F, DDL2)), Index (TMP3, 
                            One))
                        Store (Or (0x80010000, And (0x0F0F, DDL3)), Index (TMP3, 
                            0x02))
                        Return (TMP3)
                    }


                    If (LEqual (NDID, 0x04))
                    {
                        Name (TMP4, Package (0x04)
                        {
                            Ones, 
                            Ones, 
                            Ones, 
                            Ones
                        })
                        Store (Or (0x80010000, And (0x0F0F, DIDL)), Index (TMP4, 
                            Zero))
                        Store (Or (0x80010000, And (0x0F0F, DDL2)), Index (TMP4, 
                            One))
                        Store (Or (0x80010000, And (0x0F0F, DDL3)), Index (TMP4, 
                            0x02))
                        Store (Or (0x80010000, And (0x0F0F, DDL4)), Index (TMP4, 
                            0x03))
                        Return (TMP4)
                    }


                    If (LEqual (NDID, 0x05))
                    {
                        Name (TMP5, Package (0x05)
                        {
                            Ones, 
                            Ones, 
                            Ones, 
                            Ones, 
                            Ones
                        })
                        Store (Or (0x80010000, And (0x0F0F, DIDL)), Index (TMP5, 
                            Zero))
                        Store (Or (0x80010000, And (0x0F0F, DDL2)), Index (TMP5, 
                            One))
                        Store (Or (0x80010000, And (0x0F0F, DDL3)), Index (TMP5, 
                            0x02))
                        Store (Or (0x80010000, And (0x0F0F, DDL4)), Index (TMP5, 
                            0x03))
                        Store (Or (0x80010000, And (0x0F0F, DDL5)), Index (TMP5, 
                            0x04))
                        Return (TMP5)
                    }


                    If (LEqual (NDID, 0x06))
                    {
                        Name (TMP6, Package (0x06)
                        {
                            Ones, 
                            Ones, 
                            Ones, 
                            Ones, 
                            Ones, 
                            Ones
                        })
                        Store (Or (0x80010000, And (0x0F0F, DIDL)), Index (TMP6, 
                            Zero))
                        Store (Or (0x80010000, And (0x0F0F, DDL2)), Index (TMP6, 
                            One))
                        Store (Or (0x80010000, And (0x0F0F, DDL3)), Index (TMP6, 
                            0x02))
                        Store (Or (0x80010000, And (0x0F0F, DDL4)), Index (TMP6, 
                            0x03))
                        Store (Or (0x80010000, And (0x0F0F, DDL5)), Index (TMP6, 
                            0x04))
                        Store (Or (0x80010000, And (0x0F0F, DDL6)), Index (TMP6, 
                            0x05))
                        Return (TMP6)
                    }


                    If (LEqual (NDID, 0x07))
                    {
                        Name (TMP7, Package (0x07)
                        {
                            Ones, 
                            Ones, 
                            Ones, 
                            Ones, 
                            Ones, 
                            Ones, 
                            Ones
                        })
                        Store (Or (0x80010000, And (0x0F0F, DIDL)), Index (TMP7, 
                            Zero))
                        Store (Or (0x80010000, And (0x0F0F, DDL2)), Index (TMP7, 
                            One))
                        Store (Or (0x80010000, And (0x0F0F, DDL3)), Index (TMP7, 
                            0x02))
                        Store (Or (0x80010000, And (0x0F0F, DDL4)), Index (TMP7, 
                            0x03))
                        Store (Or (0x80010000, And (0x0F0F, DDL5)), Index (TMP7, 
                            0x04))
                        Store (Or (0x80010000, And (0x0F0F, DDL6)), Index (TMP7, 
                            0x05))
                        Store (Or (0x80010000, And (0x0F0F, DDL7)), Index (TMP7, 
                            0x06))
                        Return (TMP7)
                    }


                    If (LGreater (NDID, 0x07))
                    {
                        Name (TMP8, Package (0x08)
                        {
                            Ones, 
                            Ones, 
                            Ones, 
                            Ones, 
                            Ones, 
                            Ones, 
                            Ones, 
                            Ones
                        })
                        Store (Or (0x80010000, And (0x0F0F, DIDL)), Index (TMP8, 
                            Zero))
                        Store (Or (0x80010000, And (0x0F0F, DDL2)), Index (TMP8, 
                            One))
                        Store (Or (0x80010000, And (0x0F0F, DDL3)), Index (TMP8, 
                            0x02))
                        Store (Or (0x80010000, And (0x0F0F, DDL4)), Index (TMP8, 
                            0x03))
                        Store (Or (0x80010000, And (0x0F0F, DDL5)), Index (TMP8, 
                            0x04))
                        Store (Or (0x80010000, And (0x0F0F, DDL6)), Index (TMP8, 
                            0x05))
                        Store (Or (0x80010000, And (0x0F0F, DDL7)), Index (TMP8, 
                            0x06))
                        Store (Or (0x80010000, And (0x0F0F, DDL8)), Index (TMP8, 
                            0x07))
                        Return (TMP8)
                    }


                    Return (Package (0x01)
                    {
                        0x0400
                    })
                }


                Method (VDSW, 1, NotSerialized)
                {
                    If (LEqual (VPWR, Zero))
                    {
                        GDCK (Arg0)
                    }
                }


                Method (VCAD, 1, NotSerialized)
                {
                    Store (Zero, Local0)
                    If (LEqual (And (DIDL, 0x0F0F), Arg0))
                    {
                        Store (0x0D, Local0)
                    }
                    Else
                    {
                        If (LEqual (And (DDL2, 0x0F0F), Arg0))
                        {
                            Store (0x0D, Local0)
                        }
                        Else
                        {
                            If (LEqual (And (DDL3, 0x0F0F), Arg0))
                            {
                                Store (0x0D, Local0)
                            }
                            Else
                            {
                                If (LEqual (And (DDL4, 0x0F0F), Arg0))
                                {
                                    Store (0x0D, Local0)
                                }
                                Else
                                {
                                    If (LEqual (And (DDL5, 0x0F0F), Arg0))
                                    {
                                        Store (0x0D, Local0)
                                    }
                                    Else
                                    {
                                        If (LEqual (And (DDL6, 0x0F0F), Arg0))
                                        {
                                            Store (0x0D, Local0)
                                        }
                                        Else
                                        {
                                            If (LEqual (And (DDL7, 0x0F0F), Arg0))
                                            {
                                                Store (0x0D, Local0)
                                            }
                                            Else
                                            {
                                                If (LEqual (And (DDL8, 0x0F0F), Arg0))
                                                {
                                                    Store (0x0D, Local0)
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }


                    If (LEqual (And (CPDL, 0x0F0F), Arg0))
                    {
                        Or (0x10, Local0, Local0)
                    }
                    Else
                    {
                        If (LEqual (And (CPL2, 0x0F0F), Arg0))
                        {
                            Or (0x10, Local0, Local0)
                        }
                        Else
                        {
                            If (LEqual (And (CPL3, 0x0F0F), Arg0))
                            {
                                Or (0x10, Local0, Local0)
                            }
                            Else
                            {
                                If (LEqual (And (CPL4, 0x0F0F), Arg0))
                                {
                                    Or (0x10, Local0, Local0)
                                }
                                Else
                                {
                                    If (LEqual (And (CPL5, 0x0F0F), Arg0))
                                    {
                                        Or (0x10, Local0, Local0)
                                    }
                                    Else
                                    {
                                        If (LEqual (And (CPL6, 0x0F0F), Arg0))
                                        {
                                            Or (0x10, Local0, Local0)
                                        }
                                        Else
                                        {
                                            If (LEqual (And (CPL7, 0x0F0F), Arg0))
                                            {
                                                Or (0x10, Local0, Local0)
                                            }
                                            Else
                                            {
                                                If (LEqual (And (CPL8, 0x0F0F), Arg0))
                                                {
                                                    Or (0x10, Local0, Local0)
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }


                    If (LEqual (And (CADL, 0x0F0F), Arg0))
                    {
                        Or (0x02, Local0, Local0)
                    }
                    Else
                    {
                        If (LEqual (And (CAL2, 0x0F0F), Arg0))
                        {
                            Or (0x02, Local0, Local0)
                        }
                        Else
                        {
                            If (LEqual (And (CAL3, 0x0F0F), Arg0))
                            {
                                Or (0x02, Local0, Local0)
                            }
                            Else
                            {
                                If (LEqual (And (CAL4, 0x0F0F), Arg0))
                                {
                                    Or (0x02, Local0, Local0)
                                }
                                Else
                                {
                                    If (LEqual (And (CAL5, 0x0F0F), Arg0))
                                    {
                                        Or (0x02, Local0, Local0)
                                    }
                                    Else
                                    {
                                        If (LEqual (And (CAL6, 0x0F0F), Arg0))
                                        {
                                            Or (0x02, Local0, Local0)
                                        }
                                        Else
                                        {
                                            If (LEqual (And (CAL7, 0x0F0F), Arg0))
                                            {
                                                Or (0x02, Local0, Local0)
                                            }
                                            Else
                                            {
                                                If (LEqual (And (CAL8, 0x0F0F), Arg0))
                                                {
                                                    Or (0x02, Local0, Local0)
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }


                    Return (Local0)
                }


                Method (NDDS, 1, NotSerialized)
                {
                    If (LEqual (And (NADL, 0x0F0F), Arg0))
                    {
                        Return (One)
                    }
                    Else
                    {
                        If (LEqual (And (NDL2, 0x0F0F), Arg0))
                        {
                            Return (One)
                        }
                        Else
                        {
                            If (LEqual (And (NDL3, 0x0F0F), Arg0))
                            {
                                Return (One)
                            }
                            Else
                            {
                                If (LEqual (And (NDL4, 0x0F0F), Arg0))
                                {
                                    Return (One)
                                }
                                Else
                                {
                                    If (LEqual (And (NDL5, 0x0F0F), Arg0))
                                    {
                                        Return (One)
                                    }
                                    Else
                                    {
                                        If (LEqual (And (NDL6, 0x0F0F), Arg0))
                                        {
                                            Return (One)
                                        }
                                        Else
                                        {
                                            If (LEqual (And (NDL7, 0x0F0F), Arg0))
                                            {
                                                Return (One)
                                            }
                                            Else
                                            {
                                                If (LEqual (And (NDL8, 0x0F0F), Arg0))
                                                {
                                                    Return (One)
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }


                    Return (Zero)
                }


                Device (LCD0)
                {
                    Method (_ADR, 0, NotSerialized)  // _ADR: Address
                    {
                        If (LAnd (WVIS, LGreaterEqual (VHYB (0x03, Zero), One)))
                        {
                            Return (0x0410)
                        }
                        Else
                        {
                            Return (0x0400)
                        }
                    }


                    Method (_DCS, 0, NotSerialized)  // _DCS: Display Current Status
                    {
                        Return (VCAD (MIDL))
                    }


                    Method (_DGS, 0, NotSerialized)  // _DGS: Display Graphics State
                    {
                        Return (NDDS (MIDL))
                    }


                    Method (_DSS, 1, NotSerialized)  // _DSS: Device Set State
                    {
                        And (Arg0, One, VSDL)
                    }
                }


                Device (CRT0)
                {
                    Method (_ADR, 0, NotSerialized)  // _ADR: Address
                    {
                        If (LAnd (WVIS, LGreaterEqual (VHYB (0x03, Zero), One)))
                        {
                            Return (0x80000100)
                        }
                        Else
                        {
                            Return (0x0100)
                        }
                    }


                    Method (_DCS, 0, NotSerialized)  // _DCS: Display Current Status
                    {
                        Return (VCAD (MIDC))
                    }


                    Method (_DGS, 0, NotSerialized)  // _DGS: Display Graphics State
                    {
                        Return (NDDS (MIDC))
                    }


                    Method (_DSS, 1, NotSerialized)  // _DSS: Device Set State
                    {
                        And (Arg0, One, VSDC)
                    }
                }


                Device (DVI0)
                {
                    Method (_ADR, 0, NotSerialized)  // _ADR: Address
                    {
                        If (LAnd (WVIS, LGreaterEqual (VHYB (0x03, Zero), One)))
                        {
                            Return (0x80006330)
                        }
                        Else
                        {
                            Return (0x0300)
                        }
                    }


                    Method (_DCS, 0, NotSerialized)  // _DCS: Display Current Status
                    {
                        Return (VCAD (MID0))
                    }


                    Method (_DGS, 0, NotSerialized)  // _DGS: Display Graphics State
                    {
                        Return (NDDS (MID0))
                    }


                    Method (_DSS, 1, NotSerialized)  // _DSS: Device Set State
                    {
                        And (Arg0, One, VSD0)
                    }
                }


                Device (DVI1)
                {
                    Method (_ADR, 0, NotSerialized)  // _ADR: Address
                    {
                        If (LAnd (WVIS, LGreaterEqual (VHYB (0x03, Zero), One)))
                        {
                            Return (0x80007331)
                        }
                        Else
                        {
                            Return (0x0301)
                        }
                    }


                    Method (_DCS, 0, NotSerialized)  // _DCS: Display Current Status
                    {
                        Return (VCAD (MID1))
                    }


                    Method (_DGS, 0, NotSerialized)  // _DGS: Display Graphics State
                    {
                        Return (NDDS (MID1))
                    }


                    Method (_DSS, 1, NotSerialized)  // _DSS: Device Set State
                    {
                        And (Arg0, One, VSD1)
                    }
                }


                Device (DVI2)
                {
                    Method (_ADR, 0, NotSerialized)  // _ADR: Address
                    {
                        If (LAnd (WVIS, LGreaterEqual (VHYB (0x03, Zero), One)))
                        {
                            Return (0x80086342)
                        }
                        Else
                        {
                            Return (0x0302)
                        }
                    }


                    Method (_DCS, 0, NotSerialized)  // _DCS: Display Current Status
                    {
                        Return (VCAD (MID2))
                    }


                    Method (_DGS, 0, NotSerialized)  // _DGS: Display Graphics State
                    {
                        Return (NDDS (MID2))
                    }


                    Method (_DSS, 1, NotSerialized)  // _DSS: Device Set State
                    {
                        And (Arg0, One, VSD2)
                    }
                }


                Device (DVI3)
                {
                    Method (_ADR, 0, NotSerialized)  // _ADR: Address
                    {
                        If (LAnd (WVIS, LGreaterEqual (VHYB (0x03, Zero), One)))
                        {
                            Return (0x80087355)
                        }
                        Else
                        {
                            Return (0x0303)
                        }
                    }


                    Method (_DCS, 0, NotSerialized)  // _DCS: Display Current Status
                    {
                        Return (VCAD (MID3))
                    }


                    Method (_DGS, 0, NotSerialized)  // _DGS: Display Graphics State
                    {
                        Return (NDDS (MID3))
                    }


                    Method (_DSS, 1, NotSerialized)  // _DSS: Device Set State
                    {
                        And (Arg0, One, VSD3)
                    }
                }


                Device (DVI4)
                {
                    Method (_ADR, 0, NotSerialized)  // _ADR: Address
                    {
                        If (LAnd (WVIS, LGreaterEqual (VHYB (0x03, Zero), One)))
                        {
                            Return (0x80086354)
                        }
                        Else
                        {
                            Return (0x0304)
                        }
                    }


                    Method (_DCS, 0, NotSerialized)  // _DCS: Display Current Status
                    {
                        Return (VCAD (MID4))
                    }


                    Method (_DGS, 0, NotSerialized)  // _DGS: Display Graphics State
                    {
                        Return (NDDS (MID4))
                    }


                    Method (_DSS, 1, NotSerialized)  // _DSS: Device Set State
                    {
                        And (Arg0, One, VSD4)
                    }
                }


                Device (DVI5)
                {
                    Method (_ADR, 0, NotSerialized)  // _ADR: Address
                    {
                        If (LAnd (WVIS, LGreaterEqual (VHYB (0x03, Zero), One)))
                        {
                            Return (0x80087343)
                        }
                        Else
                        {
                            Return (0x0305)
                        }
                    }


                    Method (_DCS, 0, NotSerialized)  // _DCS: Display Current Status
                    {
                        Return (VCAD (MID5))
                    }


                    Method (_DGS, 0, NotSerialized)  // _DGS: Display Graphics State
                    {
                        Return (NDDS (MID5))
                    }


                    Method (_DSS, 1, NotSerialized)  // _DSS: Device Set State
                    {
                        And (Arg0, One, VSD5)
                    }
                }


                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, 
                    BCLM,   320, 
                    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 (DBTC, Package (0x15)
                {
                    Zero, 
                    0x02, 
                    One, 
                    0x08, 
                    Zero, 
                    0x03, 
                    0x0A, 
                    Zero, 
                    0x09, 
                    Zero, 
                    Zero, 
                    Zero, 
                    Zero, 
                    Zero, 
                    Zero, 
                    Zero, 
                    0x04, 
                    0x06, 
                    0x05, 
                    0x0C, 
                    Zero
                })
                Name (SUCC, One)
                Name (NVLD, 0x02)
                Name (CRIT, 0x04)
                Name (NCRT, 0x06)
                Method (GSCI, 0, Serialized)
                {
                    If (LEqual (GEFC, 0x04))
                    {
                        Store (GBDA (), GXFC)
                    }


                    If (LEqual (GEFC, 0x06))
                    {
                        Store (SBCB (), GXFC)
                    }


                    Store (Zero, GEFC)
                    Store (One, ^^LPC.SCIS)
                    Store (Zero, GSSE)
                    Store (Zero, SCIE)
                    Return (Zero)
                }


                Method (GBDA, 0, Serialized)
                {
                    If (LEqual (GESF, Zero))
                    {
                        Store (0x0241, PARM)
                        Store (Zero, GESF)
                        Return (SUCC)
                    }


                    If (LEqual (GESF, One))
                    {
                        Store (0x0202, 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))
                    {
                        If (^^^LID._LID ())
                        {
                            Store (One, LIDS)
                        }
                        Else
                        {
                            Store (Zero, LIDS)
                        }


                        Store (IPSC, PARM)
                        Add (PARM, One, PARM)
                        Add (PARM, 0x0300, PARM)
                        Add (PARM, 0x00010000, PARM)
                        Or (PARM, ShiftLeft (LIDS, 0x10), 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 (One, PARM)
                        Or (PARM, 0x1800, PARM)
                        Or (PARM, 0x00060000, 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)
                        Store (Zero, GESF)
                        Return (SUCC)
                    }


                    Store (Zero, GESF)
                    Return (CRIT)
                }


                Name (EXTD, Zero)
                Method (SBCB, 0, Serialized)
                {
                    If (LEqual (GESF, Zero))
                    {
                        Store (0x0101, PARM)
                        Store (Zero, GESF)
                        Return (SUCC)
                    }


                    If (LEqual (GESF, One))
                    {
                        Store (Zero, GESF)
                        Store (Zero, PARM)
                        Return (SUCC)
                    }


                    If (LEqual (GESF, 0x03))
                    {
                        Store (Zero, GESF)
                        Store (Zero, PARM)
                        Return (SUCC)
                    }


                    If (LEqual (GESF, 0x04))
                    {
                        Store (Zero, GESF)
                        Store (Zero, PARM)
                        Return (SUCC)
                    }


                    If (LEqual (GESF, 0x05))
                    {
                        Store (Zero, GESF)
                        Store (Zero, PARM)
                        Return (SUCC)
                    }


                    If (LEqual (GESF, 0x06))
                    {
                        Store (And (PARM, 0x0F), ITVF)
                        Store (ShiftRight (And (PARM, 0xF0), 0x04), ITVM)
                        Store (Zero, GESF)
                        Store (Zero, PARM)
                        Return (SUCC)
                    }


                    If (LEqual (GESF, 0x07))
                    {
                        Store (Zero, GESF)
                        Store (Zero, PARM)
                        Return (SUCC)
                    }


                    If (LEqual (GESF, 0x08))
                    {
                        Store (Zero, GESF)
                        Store (Zero, PARM)
                        Return (SUCC)
                    }


                    If (LEqual (GESF, 0x09))
                    {
                        And (PARM, 0x80000000, EXTD)
                        And (PARM, 0xFF, Local0)
                        If (LLessEqual (Local0, 0x14))
                        {
                            Store (DerefOf (Index (DBTC, Local0)), IBTT)
                        }
                        Else
                        {
                            Store (Zero, IBTT)
                        }


                        If (IBTT)
                        {
                            UCMS (0x17)
                        }


                        And (PARM, 0xFF, IBTT)
                        Store (Zero, GESF)
                        Store (Zero, PARM)
                        Return (SUCC)
                    }


                    If (LEqual (GESF, 0x0A))
                    {
                        Store (Subtract (And (PARM, 0x03), One), IPSC)
                        UCMS (0x1A)
                        If (And (ShiftRight (PARM, 0x08), 0xFF))
                        {
                            And (ShiftRight (PARM, 0x08), 0xFF, IPAT)
                            Decrement (IPAT)
                        }


                        And (ShiftRight (PARM, 0x14), 0x07, IBIA)
                        Store (Zero, GESF)
                        Store (Zero, PARM)
                        Return (SUCC)
                    }


                    If (LEqual (GESF, 0x0B))
                    {
                        And (ShiftRight (PARM, One), One, IF1E)
                        If (And (PARM, 0x0001E000))
                        {
                            And (ShiftRight (PARM, 0x0D), 0x0F, IDMS)
                            Store (Zero, IDMM)
                        }
                        Else
                        {
                            And (ShiftRight (PARM, 0x11), 0x0F, IDMS)
                            Store (One, IDMM)
                        }


                        Store (Zero, GESF)
                        Store (Zero, PARM)
                        Return (SUCC)
                    }


                    If (LEqual (GESF, 0x10))
                    {
                        Store (Zero, GESF)
                        Store (Zero, PARM)
                        Return (SUCC)
                    }


                    If (LEqual (GESF, 0x11))
                    {
                        Store (ShiftLeft (LIDS, 0x08), PARM)
                        Add (PARM, 0x0100, PARM)
                        Store (Zero, GESF)
                        Return (SUCC)
                    }


                    If (LEqual (GESF, 0x12))
                    {
                        If (And (PARM, One))
                        {
                            If (LEqual (ShiftRight (PARM, One), One))
                            {
                                Store (One, ISSC)
                            }
                            Else
                            {
                                Store (Zero, GESF)
                                Return (CRIT)
                            }
                        }
                        Else
                        {
                            Store (Zero, ISSC)
                        }


                        Store (Zero, GESF)
                        Store (Zero, PARM)
                        Return (SUCC)
                    }


                    If (LEqual (GESF, 0x13))
                    {
                        Store (Zero, GESF)
                        Store (Zero, PARM)
                        Return (SUCC)
                    }


                    If (LEqual (GESF, 0x14))
                    {
                        And (PARM, 0x0F, PAVP)
                        Store (Zero, GESF)
                        Store (Zero, PARM)
                        Return (SUCC)
                    }


                    Store (Zero, GESF)
                    Return (SUCC)
                }


                Method (PDRD, 0, NotSerialized)
                {
                    If (LNot (DRDY))
                    {
                        Sleep (ASLP)
                    }


                    Return (LNot (DRDY))
                }


                Method (PSTS, 0, NotSerialized)
                {
                    If (LGreater (CSTS, 0x02))
                    {
                        Sleep (ASLP)
                    }


                    Return (LEqual (CSTS, 0x03))
                }


                Method (GNOT, 2, NotSerialized)
                {
                    If (PDRD ())
                    {
                        Return (One)
                    }


                    Store (Arg0, CEVT)
                    Store (0x03, CSTS)
                    If (LAnd (LEqual (CHPD, Zero), LEqual (Arg1, Zero)))
                    {
                        If (LNotEqual (Arg0, One))
                        {
                            If (LAnd (WXPF, LNot (WVIS)))
                            {
                                Notify (PCI0, Arg1)
                            }
                            Else
                            {
                                Notify (VID, Arg1)
                            }
                        }
                    }


                    If (LEqual (VHYB (0x03, Zero), 0x03))
                    {
                        Notify (VID, 0x81)
                    }
                    Else
                    {
                        Notify (VID, 0x80)
                    }


                    Return (Zero)
                }


                Method (GHDS, 1, NotSerialized)
                {
                    Store (Arg0, TIDX)
                    Return (GNOT (One, Zero))
                }


                Method (GLID, 1, NotSerialized)
                {
                    Store (Arg0, CLID)
                    Return (GNOT (0x02, Zero))
                }


                Method (GLIS, 1, NotSerialized)
                {
                    Store (Arg0, CLID)
                    Return (Zero)
                }


                Method (GDCK, 1, NotSerialized)
                {
                    Store (Arg0, CDCK)
                    Return (GNOT (0x04, 0x80))
                }


                Method (GDCS, 1, NotSerialized)
                {
                    Store (Arg0, CDCK)
                }


                Method (PARD, 0, NotSerialized)
                {
                    If (LNot (ARDY))
                    {
                        Sleep (ASLP)
                    }


                    Return (LNot (ARDY))
                }


                Method (AINT, 2, NotSerialized)
                {
                    If (LNot (And (TCHE, ShiftLeft (One, Arg0))))
                    {
                        Return (One)
                    }


                    If (PARD ())
                    {
                        Return (One)
                    }


                    If (LEqual (Arg0, 0x02))
                    {
                        XOr (PFIT, 0x07, PFIT)
                        Or (PFIT, 0x80000000, PFIT)
                        Store (0x04, ASLC)
                    }
                    Else
                    {
                        If (LEqual (Arg0, One))
                        {
                            Store (Arg1, BCLP)
                            Or (BCLP, 0x80000000, BCLP)
                            Store (0x0A, ASLC)
                        }
                        Else
                        {
                            If (LEqual (Arg0, 0x03))
                            {
                                Store (Arg1, PFMB)
                                Or (PFMB, 0x80000100, PFMB)
                            }
                            Else
                            {
                                If (LEqual (Arg0, Zero))
                                {
                                    Store (Arg1, ALSI)
                                    Store (One, ASLC)
                                }
                                Else
                                {
                                    Return (One)
                                }
                            }
                        }
                    }


                    Store (One, ASLE)
                    Return (Zero)
                }
            }


            Device (LPC)
            {
                Name (_ADR, 0x001F0000)  // _ADR: Address
                Name (_S3D, 0x03)  // _S3D: S3 Device State
                Name (RID, Zero)
                Device (SIO)
                {
                    Name (_HID, EisaId ("PNP0C02"))  // _HID: Hardware ID
                    Name (_UID, Zero)  // _UID: Unique ID
                    Name (SCRS, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0010,             // Range Minimum
                            0x0010,             // Range Maximum
                            0x01,               // Alignment
                            0x10,               // Length
                            )
                        IO (Decode16,
                            0x0090,             // Range Minimum
                            0x0090,             // Range Maximum
                            0x01,               // Alignment
                            0x10,               // Length
                            )
                        IO (Decode16,
                            0x0024,             // Range Minimum
                            0x0024,             // Range Maximum
                            0x01,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x0028,             // Range Minimum
                            0x0028,             // Range Maximum
                            0x01,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x002C,             // Range Minimum
                            0x002C,             // Range Maximum
                            0x01,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x0030,             // Range Minimum
                            0x0030,             // Range Maximum
                            0x01,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x0034,             // Range Minimum
                            0x0034,             // Range Maximum
                            0x01,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x0038,             // Range Minimum
                            0x0038,             // Range Maximum
                            0x01,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x003C,             // Range Minimum
                            0x003C,             // Range Maximum
                            0x01,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x00A4,             // Range Minimum
                            0x00A4,             // Range Maximum
                            0x01,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x00A8,             // Range Minimum
                            0x00A8,             // Range Maximum
                            0x01,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x00AC,             // Range Minimum
                            0x00AC,             // Range Maximum
                            0x01,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x00B0,             // Range Minimum
                            0x00B0,             // Range Maximum
                            0x01,               // Alignment
                            0x06,               // Length
                            )
                        IO (Decode16,
                            0x00B8,             // Range Minimum
                            0x00B8,             // Range Maximum
                            0x01,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x00BC,             // Range Minimum
                            0x00BC,             // Range Maximum
                            0x01,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x0050,             // Range Minimum
                            0x0050,             // Range Maximum
                            0x01,               // Alignment
                            0x04,               // Length
                            )
                        IO (Decode16,
                            0x0072,             // Range Minimum
                            0x0072,             // Range Maximum
                            0x01,               // Alignment
                            0x06,               // Length
                            )
                        IO (Decode16,
                            0x164E,             // Range Minimum
                            0x164E,             // Range Maximum
                            0x01,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x002E,             // Range Minimum
                            0x002E,             // Range Maximum
                            0x01,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x1000,             // Range Minimum
                            0x1000,             // Range Maximum
                            0x01,               // Alignment
                            0x80,               // Length
                            )
                        IO (Decode16,
                            0x1180,             // Range Minimum
                            0x1180,             // Range Maximum
                            0x01,               // Alignment
                            0x80,               // Length
                            )
                        IO (Decode16,
                            0x0800,             // Range Minimum
                            0x0800,             // Range Maximum
                            0x01,               // Alignment
                            0x10,               // Length
                            )
                        IO (Decode16,
                            0x15E0,             // Range Minimum
                            0x15E0,             // Range Maximum
                            0x01,               // Alignment
                            0x10,               // Length
                            )
                        IO (Decode16,
                            0x1600,             // Range Minimum
                            0x1600,             // Range Maximum
                            0x01,               // Alignment
                            0x42,               // Length
                            )
                        IO (Decode16,
                            0x1644,             // Range Minimum
                            0x1644,             // Range Maximum
                            0x01,               // Alignment
                            0x3C,               // Length
                            )
                        Memory32Fixed (ReadWrite,
                            0xE0000000,         // Address Base
                            0x10000000,         // Address Length
                            )
                        Memory32Fixed (ReadWrite,
                            0x00000000,         // Address Base
                            0x00001000,         // Address Length
                            _Y1D)
                        Memory32Fixed (ReadWrite,
                            0xFED1C000,         // Address Base
                            0x00004000,         // Address Length
                            )
                        Memory32Fixed (ReadWrite,
                            0xFED10000,         // Address Base
                            0x00004000,         // Address Length
                            )
                        Memory32Fixed (ReadWrite,
                            0xFED18000,         // Address Base
                            0x00001000,         // Address Length
                            )
                        Memory32Fixed (ReadWrite,
                            0xFED19000,         // Address Base
                            0x00001000,         // Address Length
                            )
                        Memory32Fixed (ReadWrite,
                            0xFED45000,         // Address Base
                            0x00007000,         // Address Length
                            )
                    })
                    CreateDWordField (SCRS, \_SB.PCI0.LPC.SIO._Y1D._BAS, TRMB)  // _BAS: Base Address
                    Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
                    {
                        Store (TBAB, TRMB)
                        If (LEqual (^^TPM._STA (), 0x0F))
                        {
                            Return (SCRS)
                        }
                        Else
                        {
                            Subtract (SizeOf (SCRS), 0x02, Local0)
                            Name (BUF0, Buffer (Local0) {})
                            Add (Local0, SizeOf (^^TPM.BUF1), Local0)
                            Name (BUF1, Buffer (Local0) {})
                            Store (SCRS, BUF0)
                            Concatenate (BUF0, ^^TPM.BUF1, BUF1)
                            Return (BUF1)
                        }
                    }
                }


                OperationRegion (LPCS, PCI_Config, Zero, 0x0100)
                Field (LPCS, AnyAcc, NoLock, Preserve)
                {
                    Offset (0x60), 
                    PIRA,   8, 
                    PIRB,   8, 
                    PIRC,   8, 
                    PIRD,   8, 
                    SERQ,   8, 
                    Offset (0x68), 
                    PIRE,   8, 
                    PIRF,   8, 
                    PIRG,   8, 
                    PIRH,   8, 
                    Offset (0x80), 
                    XU1A,   3, 
                        ,   1, 
                    XU2A,   3, 
                    Offset (0x81), 
                    XPA,    2, 
                        ,   2, 
                    XFA,    1, 
                    Offset (0x82), 
                    XU1E,   1, 
                    XU2E,   1, 
                    XPE,    1, 
                    XFE,    1, 
                    Offset (0x84), 
                    XG1E,   1, 
                        ,   1, 
                    XG1A,   14, 
                    Offset (0x88), 
                    XG2E,   1, 
                        ,   1, 
                    XG2A,   14, 
                    Offset (0xA0), 
                        ,   2, 
                    CLKR,   1, 
                        ,   7, 
                    EXPE,   1, 
                    Offset (0xA2)
                }


                OperationRegion (LPIO, SystemIO, 0x1180, 0x80)
                Field (LPIO, DWordAcc, NoLock, Preserve)
                {
                    Offset (0x0C), 
                        ,   3, 
                    DOI0,   1, 
                    DOI1,   1, 
                    DOI2,   1, 
                    Offset (0x0D), 
                    Offset (0x0E), 
                        ,   6, 
                    GLIS,   1, 
                    Offset (0x0F), 
                    Offset (0x10)
                }


                OperationRegion (PMIO, SystemIO, 0x1000, 0x80)
                Field (PMIO, AnyAcc, NoLock, Preserve)
                {
                    Offset (0x42), 
                        ,   1, 
                    SWGE,   1, 
                    Offset (0x64), 
                        ,   9, 
                    SCIS,   1, 
                    Offset (0x66)
                }


                OperationRegion (IO_T, SystemIO, 0x0800, 0x10)
                Field (IO_T, ByteAcc, NoLock, Preserve)
                {
                    TRPI,   16, 
                    Offset (0x04), 
                    Offset (0x06), 
                    Offset (0x08), 
                    TRP0,   8, 
                    Offset (0x0A), 
                    Offset (0x0B), 
                    Offset (0x0C), 
                    Offset (0x0D), 
                    Offset (0x0E), 
                    Offset (0x0F), 
                    Offset (0x10)
                }


                Device (PIC)
                {
                    Name (_HID, EisaId ("PNP0000"))  // _HID: Hardware ID
                    Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
                    {
                        IO (Decode16,
                            0x0020,             // Range Minimum
                            0x0020,             // Range Maximum
                            0x01,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x00A0,             // Range Minimum
                            0x00A0,             // Range Maximum
                            0x01,               // Alignment
                            0x02,               // Length
                            )
                        IO (Decode16,
                            0x04D0,             // Range Minimum
                            0x04D0,             // Range Maximum
                            0x01,               // Alignment
                            0x02,               // Length
                            )
                        IRQNoFlags ()
                            {2}
                    })
                }


                Device (TIMR)
                {
                    Name (_HID, EisaId ("PNP0100"))  // _HID: Hardware ID
                    Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
                    {
                        IO (Decode16,
                            0x0040,             // Range Minimum
                            0x0040,             // Range Maximum
                            0x01,               // Alignment
                            0x04,               // Length
                            )
                        IRQNoFlags ()
                            {0}
                    })
                }


                Device (HPET)
                {
                    Name (_HID, EisaId ("PNP0103"))  // _HID: Hardware ID
                    Method (_STA, 0, NotSerialized)  // _STA: Status
                    {
                        If (LAnd (WNTF, LNot (WXPF)))
                        {
                            Return (Zero)
                        }
                        Else
                        {
                            Return (0x0F)
                        }


                        Return (Zero)
                    }


                    Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
                    {
                        Memory32Fixed (ReadOnly,
                            0xFED00000,         // Address Base
                            0x00000400,         // Address Length
                            )
                    })
                }


                Device (DMAC)
                {
                    Name (_HID, EisaId ("PNP0200"))  // _HID: Hardware ID
                    Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
                    {
                        IO (Decode16,
                            0x0000,             // Range Minimum
                            0x0000,             // Range Maximum
                            0x01,               // Alignment
                            0x10,               // Length
                            )
                        IO (Decode16,
                            0x0080,             // Range Minimum
                            0x0080,             // Range Maximum
                            0x01,               // Alignment
                            0x10,               // Length
                            )
                        IO (Decode16,
                            0x00C0,             // Range Minimum
                            0x00C0,             // Range Maximum
                            0x01,               // Alignment
                            0x20,               // Length
                            )
                        DMA (Compatibility, BusMaster, Transfer8_16, )
                            {4}
                    })
                }


                Device (SPKR)
                {
                    Name (_HID, EisaId ("PNP0800"))  // _HID: Hardware ID
                    Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
                    {
                        IO (Decode16,
                            0x0061,             // Range Minimum
                            0x0061,             // Range Maximum
                            0x01,               // Alignment
                            0x01,               // Length
                            )
                    })
                }


                Device (FPU)
                {
                    Name (_HID, EisaId ("PNP0C04"))  // _HID: Hardware ID
                    Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
                    {
                        IO (Decode16,
                            0x00F0,             // Range Minimum
                            0x00F0,             // Range Maximum
                            0x01,               // Alignment
                            0x01,               // Length
                            )
                        IRQNoFlags ()
                            {13}
                    })
                }


                Device (RTC)
                {
                    Name (_HID, EisaId ("PNP0B00"))  // _HID: Hardware ID
                    Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
                    {
                        IO (Decode16,
                            0x0070,             // Range Minimum
                            0x0070,             // Range Maximum
                            0x01,               // Alignment
                            0x02,               // Length
                            )
                        IRQNoFlags ()
                            {8}
                    })
                }


                Device (KBD)
                {
                    Name (_HID, EisaId ("PNP0303"))  // _HID: Hardware ID
                    Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
                    {
                        IO (Decode16,
                            0x0060,             // Range Minimum
                            0x0060,             // Range Maximum
                            0x01,               // Alignment
                            0x01,               // Length
                            )
                        IO (Decode16,
                            0x0064,             // Range Minimum
                            0x0064,             // Range Maximum
                            0x01,               // Alignment
                            0x01,               // Length
                            )
                        IRQNoFlags ()
                            {1}
                    })
                }


                Device (MOU)
                {
                    Name (_HID, EisaId ("IBM3780"))  // _HID: Hardware ID
                    Name (_CID, EisaId ("PNP0F13"))  // _CID: Compatible ID
                    Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
                    {
                        IRQNoFlags ()
                            {12}
                    })
                    Method (MHID, 0, NotSerialized)
                    {
                        If (PADD)
                        {
                            Store (0x80374D24, _HID)
                        }
                        Else
                        {
                            Store (0x1500AE30, _HID)
                        }
                    }
                }


                OperationRegion (IMGA, SystemIO, 0x15E0, 0x10)
                Field (IMGA, ByteAcc, NoLock, Preserve)
                {
                    Offset (0x01), 
                    Offset (0x02), 
                    Offset (0x03), 
                    WAKR,   16, 
                    Offset (0x0C), 
                    GAIX,   8, 
                    Offset (0x0E), 
                    GADT,   8, 
                    Offset (0x10)
                }


                IndexField (GAIX, GADT, ByteAcc, NoLock, Preserve)
                {
                    Offset (0x50), 
                        ,   3, 
                    IVPW,   1, 
                    DVPW,   1, 
                    BLPL,   1, 
                    Offset (0x51), 
                    TP4R,   1, 
                    PADR,   1, 
                    BPAD,   1, 
                        ,   1, 
                        ,   1, 
                    PADD,   1, 
                    Offset (0x60), 
                    EPWG,   1, 
                        ,   1, 
                    CSON,   1, 
                    DSCI,   1, 
                    DSCS,   1, 
                    DLAN,   1, 
                    Offset (0xC2), 
                    GAID,   8
                }


                OperationRegion (NCFG, SystemIO, 0x2E, 0x02)
                Field (NCFG, ByteAcc, NoLock, Preserve)
                {
                    INDX,   8, 
                    DATA,   8
                }


                IndexField (INDX, DATA, ByteAcc, NoLock, Preserve)
                {
                    Offset (0x07), 
                    LDN,    8, 
                    Offset (0x20), 
                    SIOD,   8, 
                    Offset (0x22), 
                    SCF2,   8, 
                    Offset (0x24), 
                    SCF4,   8, 
                        ,   2, 
                    PPSE,   1, 
                        ,   4, 
                    PNF,    1, 
                    FDCD,   1, 
                    PPD,    1, 
                    SP2D,   1, 
                    SP1D,   1, 
                        ,   1, 
                    GPSR,   2, 
                    Offset (0x27), 
                    SRID,   8, 
                    Offset (0x29), 
                    SCF9,   8, 
                    Offset (0x2B), 
                    Offset (0x30), 
                    LDA,    1, 
                    Offset (0x31), 
                    Offset (0x60), 
                    IOHI,   8, 
                    IOLW,   8, 
                    Offset (0x70), 
                    IRQN,   4, 
                    IRQW,   1, 
                    Offset (0x71), 
                    IRQT,   1, 
                    IRQL,   1, 
                    Offset (0x72), 
                    Offset (0x74), 
                    DMA0,   3, 
                    Offset (0x75), 
                    DMA1,   3, 
                    Offset (0x76)
                }


                IndexField (INDX, DATA, ByteAcc, NoLock, Preserve)
                {
                    Offset (0xF0), 
                    PTRS,   1, 
                    PPMC,   1, 
                        ,   2, 
                    PERA,   1, 
                    PMDS,   3
                }


                IndexField (INDX, DATA, ByteAcc, NoLock, Preserve)
                {
                    Offset (0xF0), 
                    STRS,   1, 
                    SPMC,   1, 
                    SBSY,   1, 
                        ,   4, 
                    SBSE,   1
                }


                IndexField (INDX, DATA, ByteAcc, NoLock, Preserve)
                {
                    Offset (0xF0), 
                    GPPS,   8, 
                    GPPC,   8, 
                    GPER,   8
                }


                OperationRegion (CFGS, SystemIO, 0x164E, 0x02)
                Field (CFGS, ByteAcc, NoLock, Preserve)
                {
                    NDXS,   8, 
                    ATAS,   8
                }


                IndexField (NDXS, ATAS, ByteAcc, NoLock, Preserve)
                {
                    Offset (0x07), 
                    LDNS,   8, 
                    Offset (0x20), 
                    Offset (0x21), 
                    Offset (0x22), 
                    Offset (0x23), 
                    Offset (0x24), 
                    Offset (0x25), 
                        ,   2, 
                    PSES,   1, 
                        ,   4, 
                    PNFS,   1, 
                    DCDS,   1, 
                    PPDS,   1, 
                    SP2S,   1, 
                    SP1S,   1, 
                        ,   1, 
                    PSRS,   2, 
                    Offset (0x27), 
                    RIDS,   8, 
                    Offset (0x29), 
                    CCSS,   2, 
                    CCES,   1, 
                    MCSS,   1, 
                    MESS,   1, 
                    Offset (0x2A), 
                    Offset (0x2B), 
                    Offset (0x30), 
                    LDAS,   1, 
                    Offset (0x31), 
                    Offset (0x60), 
                    OHIS,   8, 
                    OLWS,   8, 
                    Offset (0x70), 
                    RQNS,   4, 
                    RQWS,   1, 
                    Offset (0x71), 
                    RQTS,   1, 
                    RQLS,   1, 
                    Offset (0x72), 
                    Offset (0x74), 
                    MA0S,   3, 
                    Offset (0x75), 
                    MA1S,   3, 
                    Offset (0x76)
                }


                IndexField (NDXS, ATAS, ByteAcc, NoLock, Preserve)
                {
                    Offset (0xF0), 
                    TRSS,   1, 
                    PMCS,   1, 
                    BSYS,   1, 
                        ,   4, 
                    SESS,   1
                }


                OperationRegion (NSDL, SystemIO, 0x164C, One)
                Field (NSDL, ByteAcc, NoLock, Preserve)
                {
                    DLPC,   8
                }


                OperationRegion (NSIO, SystemIO, 0x1680, 0x0C)
                Field (NSIO, ByteAcc, NoLock, Preserve)
                {
                    DRST,   1, 
                    DLPD,   1, 
                    ULRT,   1, 
                    ULPD,   1, 
                    Offset (0x01), 
                        ,   4, 
                    DKI0,   1, 
                    Offset (0x02), 
                    Offset (0x09), 
                    DKI1,   1, 
                    DKI2,   1
                }


                OperationRegion (DSIO, SystemIO, 0x1620, 0x0C)
                Field (DSIO, ByteAcc, NoLock, Preserve)
                {
                        ,   1, 
                    DUSB,   1, 
                    Offset (0x01)
                }


                Device (UART)
                {
                    Name (_HID, EisaId ("PNP0501"))  // _HID: Hardware ID
                    Name (_PRW, Package (0x02)  // _PRW: Power Resources for Wake
                    {
                        0x1D, 
                        0x03
                    })
                    Method (_PSW, 1, NotSerialized)  // _PSW: Power State Wake
                    {
                        If (H8DR)
                        {
                            If (Arg0)
                            {
                                Store (One, ^^EC.HWRI)
                            }
                            Else
                            {
                                Store (Zero, ^^EC.HWRI)
                            }
                        }
                        Else
                        {
                            If (Arg0)
                            {
                                MBEC (0x32, 0xFF, 0x40)
                            }
                            Else
                            {
                                MBEC (0x32, 0xBF, Zero)
                            }
                        }
                    }


                    Method (_STA, 0, NotSerialized)  // _STA: Status
                    {
                        If (LEqual (SIOD, 0xFF))
                        {
                            Return (Zero)
                        }
                        Else
                        {
                            If (XU1E)
                            {
                                Return (0x0F)
                            }
                            Else
                            {
                                Return (0x0D)
                            }
                        }
                    }


                    Method (_DIS, 0, NotSerialized)  // _DIS: Disable Device
                    {
                        Store (Zero, XU1E)
                        Store (0x03, LDN)
                        Store (Zero, IRQN)
                        Store (Zero, LDA)
                        Store (One, SP1D)
                    }


                    Name (U1BF, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0000,             // Range Minimum
                            0x0000,             // Range Maximum
                            0x01,               // Alignment
                            0x08,               // Length
                            _Y1E)
                        IRQNoFlags (_Y1F)
                            {}
                    })
                    CreateWordField (U1BF, \_SB.PCI0.LPC.UART._Y1E._MIN, U1MN)  // _MIN: Minimum Base Address
                    CreateWordField (U1BF, \_SB.PCI0.LPC.UART._Y1E._MAX, U1MX)  // _MAX: Maximum Base Address
                    CreateWordField (U1BF, \_SB.PCI0.LPC.UART._Y1F._INT, U1IQ)  // _INT: Interrupts
                    Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
                    {
                        Store (0x03, LDN)
                        Or (ShiftLeft (IOHI, 0x08), IOLW, Local0)
                        Store (Local0, U1MN)
                        Store (Local0, U1MX)
                        Store (IRQN, Local0)
                        If (Local0)
                        {
                            ShiftLeft (One, IRQN, U1IQ)
                        }
                        Else
                        {
                            Store (Zero, U1IQ)
                        }


                        Return (U1BF)
                    }


                    Name (_PRS, ResourceTemplate ()  // _PRS: Possible Resource Settings
                    {
                        StartDependentFn (0x00, 0x00)
                        {
                            IO (Decode16,
                                0x03F8,             // Range Minimum
                                0x03F8,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {4}
                        }
                        StartDependentFn (0x01, 0x00)
                        {
                            IO (Decode16,
                                0x02F8,             // Range Minimum
                                0x02F8,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {3}
                        }
                        StartDependentFn (0x01, 0x00)
                        {
                            IO (Decode16,
                                0x03E8,             // Range Minimum
                                0x03E8,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {4}
                        }
                        StartDependentFn (0x01, 0x00)
                        {
                            IO (Decode16,
                                0x02E8,             // Range Minimum
                                0x02E8,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {3}
                        }
                        StartDependentFn (0x02, 0x00)
                        {
                            IO (Decode16,
                                0x03F8,             // Range Minimum
                                0x03F8,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {3,5,7}
                        }
                        StartDependentFn (0x02, 0x00)
                        {
                            IO (Decode16,
                                0x02F8,             // Range Minimum
                                0x02F8,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {4,5,7}
                        }
                        StartDependentFn (0x02, 0x00)
                        {
                            IO (Decode16,
                                0x03E8,             // Range Minimum
                                0x03E8,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {3,5,7}
                        }
                        StartDependentFn (0x02, 0x00)
                        {
                            IO (Decode16,
                                0x02E8,             // Range Minimum
                                0x02E8,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {4,5,7}
                        }
                        EndDependentFn ()
                    })
                    Method (_SRS, 1, NotSerialized)  // _SRS: Set Resource Settings
                    {
                        CreateByteField (Arg0, 0x02, RUIL)
                        CreateByteField (Arg0, 0x03, RUIH)
                        CreateWordField (Arg0, 0x02, RUIO)
                        CreateWordField (Arg0, 0x09, RUIQ)
                        Store (0x03, LDN)
                        Store (Zero, LDA)
                        Store (RUIL, IOLW)
                        Store (RUIH, IOHI)
                        If (RUIQ)
                        {
                            FindSetRightBit (RUIQ, Local0)
                            Store (Decrement (Local0), IRQN)
                        }
                        Else
                        {
                            Store (Zero, IRQN)
                        }


                        Store (Zero, SP1D)
                        Store (One, LDA)
                        If (LEqual (RUIO, 0x03F8))
                        {
                            Store (Zero, XU1A)
                        }
                        Else
                        {
                            If (LEqual (RUIO, 0x02F8))
                            {
                                Store (One, XU1A)
                            }
                            Else
                            {
                                If (LEqual (RUIO, 0x03E8))
                                {
                                    Store (0x07, XU1A)
                                }
                                Else
                                {
                                    If (LEqual (RUIO, 0x02E8))
                                    {
                                        Store (0x05, XU1A)
                                    }
                                    Else
                                    {
                                        Fatal (0x02, 0x90020000, 0x01AA)
                                    }
                                }
                            }
                        }


                        Store (One, XU1E)
                        Store (One, SSBY)
                    }


                    Method (_PSC, 0, NotSerialized)  // _PSC: Power State Current
                    {
                        Store (0x03, LDN)
                        If (LDA)
                        {
                            Return (Zero)
                        }
                        Else
                        {
                            Return (0x03)
                        }
                    }


                    Method (_PS0, 0, NotSerialized)  // _PS0: Power State 0
                    {
                        Store (0x03, LDN)
                        Store (One, LDA)
                        Store (One, SSBY)
                    }


                    Method (_PS3, 0, NotSerialized)  // _PS3: Power State 3
                    {
                        Store (0x03, LDN)
                        Store (Zero, LDA)
                        Store (Zero, SSBY)
                    }
                }


                Device (LPT)
                {
                    Name (_HID, EisaId ("PNP0400"))  // _HID: Hardware ID
                    Method (_STA, 0, NotSerialized)  // _STA: Status
                    {
                        If (LEqual (SIOD, 0xFF))
                        {
                            Return (Zero)
                        }
                        Else
                        {
                            If (LNotEqual (PMOD, 0x03))
                            {
                                If (XPE)
                                {
                                    Return (0x0F)
                                }
                                Else
                                {
                                    Return (0x0D)
                                }
                            }
                            Else
                            {
                                Return (Zero)
                            }
                        }
                    }


                    Method (_DIS, 0, NotSerialized)  // _DIS: Disable Device
                    {
                        Store (Zero, XPE)
                        Store (One, LDN)
                        Store (Zero, IRQN)
                        Store (Zero, LDA)
                        Store (One, PPD)
                    }


                    Name (PPBF, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0000,             // Range Minimum
                            0x0000,             // Range Maximum
                            0x01,               // Alignment
                            0x00,               // Length
                            _Y20)
                        IRQNoFlags (_Y21)
                            {}
                    })
                    CreateWordField (PPBF, \_SB.PCI0.LPC.LPT._Y20._MIN, LPN0)  // _MIN: Minimum Base Address
                    CreateWordField (PPBF, \_SB.PCI0.LPC.LPT._Y20._MAX, LPX0)  // _MAX: Maximum Base Address
                    CreateByteField (PPBF, \_SB.PCI0.LPC.LPT._Y20._LEN, LPL0)  // _LEN: Length
                    CreateWordField (PPBF, \_SB.PCI0.LPC.LPT._Y21._INT, LPIQ)  // _INT: Interrupts
                    Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
                    {
                        If (LEqual (PMOD, 0x03))
                        {
                            Return (PPBF)
                        }


                        Store (One, LDN)
                        Or (ShiftLeft (IOHI, 0x08), IOLW, Local0)
                        Store (Local0, LPN0)
                        Store (Local0, LPX0)
                        If (LEqual (Local0, 0x03BC))
                        {
                            Store (0x03, LPL0)
                        }
                        Else
                        {
                            Store (0x08, LPL0)
                        }


                        Store (IRQN, Local0)
                        If (Local0)
                        {
                            ShiftLeft (One, IRQN, LPIQ)
                        }
                        Else
                        {
                            Store (Zero, LPIQ)
                        }


                        Return (PPBF)
                    }


                    Method (_PRS, 0, NotSerialized)  // _PRS: Possible Resource Settings
                    {
                        If (PMOD)
                        {
                            Return (PEPP)
                        }
                        Else
                        {
                            Return (PLPT)
                        }
                    }


                    Name (PLPT, ResourceTemplate ()
                    {
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x03BC,             // Range Minimum
                                0x03BC,             // Range Maximum
                                0x01,               // Alignment
                                0x03,               // Length
                                )
                            IRQNoFlags ()
                                {7}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x0378,             // Range Minimum
                                0x0378,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {7}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x0278,             // Range Minimum
                                0x0278,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {5}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x03BC,             // Range Minimum
                                0x03BC,             // Range Maximum
                                0x01,               // Alignment
                                0x03,               // Length
                                )
                            IRQNoFlags ()
                                {5}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x0378,             // Range Minimum
                                0x0378,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {5}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x0278,             // Range Minimum
                                0x0278,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {7}
                        }
                        EndDependentFn ()
                    })
                    Name (PEPP, ResourceTemplate ()
                    {
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x0378,             // Range Minimum
                                0x0378,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {7}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x0278,             // Range Minimum
                                0x0278,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {5}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x0378,             // Range Minimum
                                0x0378,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {5}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x0278,             // Range Minimum
                                0x0278,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {7}
                        }
                        EndDependentFn ()
                    })
                    Method (_SRS, 1, NotSerialized)  // _SRS: Set Resource Settings
                    {
                        CreateByteField (Arg0, 0x02, RLIL)
                        CreateByteField (Arg0, 0x03, RLIH)
                        CreateWordField (Arg0, 0x02, RLIO)
                        CreateWordField (Arg0, 0x09, RLIQ)
                        Store (One, LDN)
                        Store (Zero, LDA)
                        Store (RLIL, IOLW)
                        Store (RLIH, IOHI)
                        If (RLIQ)
                        {
                            FindSetRightBit (RLIQ, Local0)
                            Store (Decrement (Local0), IRQN)
                        }
                        Else
                        {
                            Store (Zero, IRQN)
                        }


                        If (LEqual (PMOD, Zero))
                        {
                            If (PDIR)
                            {
                                Store (One, PMDS)
                            }
                            Else
                            {
                                Store (Zero, PMDS)
                            }
                        }
                        Else
                        {
                            If (LEqual (PMOD, One))
                            {
                                Store (0x02, PMDS)
                            }
                            Else
                            {
                                Store (0x03, PMDS)
                            }
                        }


                        Store (Zero, PPD)
                        Store (One, LDA)
                        If (LEqual (RLIO, 0x0378))
                        {
                            Store (Zero, XPA)
                        }
                        Else
                        {
                            If (LEqual (RLIO, 0x0278))
                            {
                                Store (One, XPA)
                            }
                            Else
                            {
                                If (LEqual (RLIO, 0x03BC))
                                {
                                    Store (0x02, XPA)
                                }
                                Else
                                {
                                    Fatal (0x02, 0x90020000, 0x01CF)
                                }
                            }
                        }


                        Store (One, XPE)
                    }


                    Method (_PSC, 0, NotSerialized)  // _PSC: Power State Current
                    {
                        Store (One, LDN)
                        If (LDA)
                        {
                            Return (Zero)
                        }
                        Else
                        {
                            Return (0x03)
                        }
                    }


                    Method (_PS0, 0, NotSerialized)  // _PS0: Power State 0
                    {
                        Store (One, LDN)
                        Store (One, LDA)
                    }


                    Method (_PS3, 0, NotSerialized)  // _PS3: Power State 3
                    {
                        Store (One, LDN)
                        Store (Zero, LDA)
                    }
                }


                Device (ECP)
                {
                    Name (_HID, EisaId ("PNP0401"))  // _HID: Hardware ID
                    Method (_STA, 0, NotSerialized)  // _STA: Status
                    {
                        If (LEqual (SIOD, 0xFF))
                        {
                            Return (Zero)
                        }
                        Else
                        {
                            If (LEqual (PMOD, 0x03))
                            {
                                If (XPE)
                                {
                                    Return (0x0F)
                                }
                                Else
                                {
                                    Return (0x0D)
                                }
                            }
                            Else
                            {
                                Return (Zero)
                            }
                        }
                    }


                    Method (_DIS, 0, NotSerialized)  // _DIS: Disable Device
                    {
                        Store (Zero, XPE)
                        Store (One, LDN)
                        Store (Zero, IRQN)
                        Store (Zero, LDA)
                        Store (One, PPD)
                    }


                    Name (EPBF, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0000,             // Range Minimum
                            0x0000,             // Range Maximum
                            0x01,               // Alignment
                            0x00,               // Length
                            _Y22)
                        IO (Decode16,
                            0x0000,             // Range Minimum
                            0x0000,             // Range Maximum
                            0x01,               // Alignment
                            0x00,               // Length
                            _Y23)
                        IRQNoFlags (_Y24)
                            {}
                        DMA (Compatibility, NotBusMaster, Transfer8, _Y25)
                            {}
                    })
                    CreateWordField (EPBF, \_SB.PCI0.LPC.ECP._Y22._MIN, ECN0)  // _MIN: Minimum Base Address
                    CreateWordField (EPBF, \_SB.PCI0.LPC.ECP._Y22._MAX, ECX0)  // _MAX: Maximum Base Address
                    CreateByteField (EPBF, \_SB.PCI0.LPC.ECP._Y22._LEN, ECL0)  // _LEN: Length
                    CreateWordField (EPBF, \_SB.PCI0.LPC.ECP._Y23._MIN, ECN1)  // _MIN: Minimum Base Address
                    CreateWordField (EPBF, \_SB.PCI0.LPC.ECP._Y23._MAX, ECX1)  // _MAX: Maximum Base Address
                    CreateByteField (EPBF, \_SB.PCI0.LPC.ECP._Y23._LEN, ECL1)  // _LEN: Length
                    CreateWordField (EPBF, \_SB.PCI0.LPC.ECP._Y24._INT, ECIQ)  // _INT: Interrupts
                    CreateWordField (EPBF, \_SB.PCI0.LPC.ECP._Y25._DMA, ECDQ)  // _DMA: Direct Memory Access
                    Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
                    {
                        If (LNotEqual (PMOD, 0x03))
                        {
                            Return (EPBF)
                        }


                        Store (One, LDN)
                        Or (ShiftLeft (IOHI, 0x08), IOLW, Local0)
                        Store (Local0, ECN0)
                        Store (Local0, ECX0)
                        Add (Local0, 0x0400, ECN1)
                        Add (Local0, 0x0400, ECX1)
                        If (LEqual (Local0, 0x03BC))
                        {
                            Store (0x03, ECL0)
                            Store (0x03, ECL1)
                        }
                        Else
                        {
                            Store (0x08, ECL0)
                            Store (0x08, ECL1)
                        }


                        Store (IRQN, Local0)
                        If (Local0)
                        {
                            ShiftLeft (One, IRQN, ECIQ)
                        }
                        Else
                        {
                            Store (Zero, ECIQ)
                        }


                        Store (DMA0, Local0)
                        If (LLess (Local0, 0x04))
                        {
                            ShiftLeft (One, Local0, ECDQ)
                        }
                        Else
                        {
                            Store (Zero, ECDQ)
                        }


                        Return (EPBF)
                    }


                    Name (_PRS, ResourceTemplate ()  // _PRS: Possible Resource Settings
                    {
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x0378,             // Range Minimum
                                0x0378,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IO (Decode16,
                                0x0778,             // Range Minimum
                                0x0778,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {7}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {0,1,3}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x0278,             // Range Minimum
                                0x0278,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IO (Decode16,
                                0x0678,             // Range Minimum
                                0x0678,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {5}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {0,1,3}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x03BC,             // Range Minimum
                                0x03BC,             // Range Maximum
                                0x01,               // Alignment
                                0x03,               // Length
                                )
                            IO (Decode16,
                                0x07BC,             // Range Minimum
                                0x07BC,             // Range Maximum
                                0x01,               // Alignment
                                0x03,               // Length
                                )
                            IRQNoFlags ()
                                {7}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {0,1,3}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x0378,             // Range Minimum
                                0x0378,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IO (Decode16,
                                0x0778,             // Range Minimum
                                0x0778,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {5}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {0,1,3}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x0278,             // Range Minimum
                                0x0278,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IO (Decode16,
                                0x0678,             // Range Minimum
                                0x0678,             // Range Maximum
                                0x01,               // Alignment
                                0x08,               // Length
                                )
                            IRQNoFlags ()
                                {7}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {0,1,3}
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16,
                                0x03BC,             // Range Minimum
                                0x03BC,             // Range Maximum
                                0x01,               // Alignment
                                0x03,               // Length
                                )
                            IO (Decode16,
                                0x07BC,             // Range Minimum
                                0x07BC,             // Range Maximum
                                0x01,               // Alignment
                                0x03,               // Length
                                )
                            IRQNoFlags ()
                                {5}
                            DMA (Compatibility, NotBusMaster, Transfer8, )
                                {0,1,3}
                        }
                        EndDependentFn ()
                    })
                    Method (_SRS, 1, NotSerialized)  // _SRS: Set Resource Settings
                    {
                        CreateByteField (Arg0, 0x02, RLIL)
                        CreateByteField (Arg0, 0x03, RLIH)
                        CreateWordField (Arg0, 0x02, RLIO)
                        CreateWordField (Arg0, 0x11, RLIQ)
                        CreateByteField (Arg0, 0x14, RLDQ)
                        Store (One, LDN)
                        Store (Zero, LDA)
                        Store (0x07, PMDS)
                        Store (One, PERA)
                        Store (RLIL, IOLW)
                        Store (RLIH, IOHI)
                        If (RLIQ)
                        {
                            FindSetRightBit (RLIQ, Local0)
                            Store (Decrement (Local0), IRQN)
                        }
                        Else
                        {
                            Store (Zero, IRQN)
                        }


                        If (And (RLDQ, 0x0F))
                        {
                            FindSetRightBit (RLDQ, Local0)
                            Store (Decrement (Local0), DMA0)
                        }
                        Else
                        {
                            Store (0x04, DMA0)
                        }


                        Store (Zero, PPD)
                        Store (One, LDA)
                        If (LEqual (RLIO, 0x0378))
                        {
                            Store (Zero, XPA)
                        }
                        Else
                        {
                            If (LEqual (RLIO, 0x0278))
                            {
                                Store (One, XPA)
                            }
                            Else
                            {
                                If (LEqual (RLIO, 0x03BC))
                                {
                                    Store (0x02, XPA)
                                }
                                Else
                                {
                                    Fatal (0x02, 0x90020000, 0x039F)
                                }
                            }
                        }


                        Store (One, XPE)
                    }


                    Method (_PSC, 0, NotSerialized)  // _PSC: Power State Current
                    {
                        Store (One, LDN)
                        If (LDA)
                        {
                            Return (Zero)
                        }
                        Else
                        {
                            Return (0x03)
                        }
                    }


                    Method (_PS0, 0, NotSerialized)  // _PS0: Power State 0
                    {
                        Store (One, LDN)
                        Store (One, LDA)
                    }


                    Method (_PS3, 0, NotSerialized)  // _PS3: Power State 3
                    {
                        Store (One, LDN)
                        Store (Zero, LDA)
                    }
                }


                Device (TPM)
                {
                    Method (_HID, 0, NotSerialized)  // _HID: Hardware ID
                    {
                        TPHY (Zero)
                        If (LEqual (TPMV, One))
                        {
                            Return (0x0201D824)
                        }


                        If (LEqual (TPMV, 0x02))
                        {
                            Return (0x0435CF4D)
                        }


                        If (LEqual (TPMV, 0x03))
                        {
                            Return (0x02016D08)
                        }


                        If (LEqual (TPMV, 0x04))
                        {
                            Return (0x01016D08)
                        }


                        If (LOr (LEqual (TPMV, 0x05), LEqual (TPMV, 0x06)))
                        {
                            Return (0x0010A35C)
                        }


                        If (LEqual (TPMV, 0x08))
                        {
                            Return (0x00128D06)
                        }


                        If (LEqual (TPMV, 0x09))
                        {
                            Return ("INTC0102")
                        }


                        If (LEqual (TPMV, 0x0A))
                        {
                            Return ("SMO1200")
                        }


                        Return (0x310CD041)
                    }


                    Name (_CID, EisaId ("PNP0C31"))  // _CID: Compatible ID
                    Name (_UID, One)  // _UID: Unique ID
                    Method (_STA, 0, NotSerialized)  // _STA: Status
                    {
                        TPHY (Zero)
                        If (TPRS)
                        {
                            Return (0x0F)
                        }


                        Return (Zero)
                    }


                    Name (BUF1, ResourceTemplate ()
                    {
                        Memory32Fixed (ReadOnly,
                            0xFED40000,         // Address Base
                            0x00005000,         // Address Length
                            )
                    })
                    Method (_CRS, 0, Serialized)  // _CRS: Current Resource Settings
                    {
                        Return (BUF1)
                    }


                    Method (UCMP, 2, NotSerialized)
                    {
                        If (LNotEqual (0x10, SizeOf (Arg0)))
                        {
                            Return (Zero)
                        }


                        If (LNotEqual (0x10, SizeOf (Arg1)))
                        {
                            Return (Zero)
                        }


                        Store (Zero, Local0)
                        While (LLess (Local0, 0x10))
                        {
                            If (LNotEqual (DerefOf (Index (Arg0, Local0)), DerefOf (Index (
                                Arg1, Local0))))
                            {
                                Return (Zero)
                            }


                            Increment (Local0)
                        }


                        Return (One)
                    }


                    Method (_DSM, 4, Serialized)  // _DSM: Device-Specific Method
                    {
                        Name (PPRC, Zero)
                        Name (RQS1, Package (0x02)
                        {
                            0x0C, 
                            0x0D
                        })
                        Name (TTMP, Buffer (One)
                        {
                             0x00
                        })
                        CreateByteField (TTMP, Zero, TMPV)
                        If (LEqual (UCMP (Arg0, Buffer (0x10)
                                    {
                                        /* 0000 */   0xA6, 0xFA, 0xDD, 0x3D, 0x1B, 0x36, 0xB4, 0x4E,
                                        /* 0008 */   0xA4, 0x24, 0x8D, 0x10, 0x08, 0x9D, 0x16, 0x53
                                    }), One))
                        {
                            If (LEqual (Arg2, Zero))
                            {
                                Return (Buffer (One)
                                {
                                     0x7F
                                })
                            }


                            If (LEqual (Arg2, One))
                            {
                                Return (Buffer (0x04)
                                {
                                    "1.0"
                                })
                            }


                            If (LEqual (Arg2, 0x02))
                            {
                                If (TPRS)
                                {
                                    Store (Zero, PPRC)
                                    If (LFLS ())
                                    {
                                        Store (0x02, PPRC)
                                    }
                                    Else
                                    {
                                        If (LEqual (DerefOf (Index (Arg3, Zero)), Zero))
                                        {
                                            Store (Zero, PPRQ)
                                        }


                                        If (LEqual (DerefOf (Index (Arg3, Zero)), One))
                                        {
                                            Store (One, PPRQ)
                                        }


                                        If (LEqual (DerefOf (Index (Arg3, Zero)), 0x02))
                                        {
                                            Store (0x02, PPRQ)
                                        }


                                        If (LEqual (DerefOf (Index (Arg3, Zero)), 0x03))
                                        {
                                            Store (0x03, PPRQ)
                                        }


                                        If (LEqual (DerefOf (Index (Arg3, Zero)), 0x04))
                                        {
                                            Store (0x04, PPRQ)
                                        }


                                        If (LEqual (DerefOf (Index (Arg3, Zero)), 0x05))
                                        {
                                            Store (0x05, PPRQ)
                                        }


                                        If (LEqual (DerefOf (Index (Arg3, Zero)), 0x06))
                                        {
                                            Store (0x06, PPRQ)
                                        }


                                        If (LEqual (DerefOf (Index (Arg3, Zero)), 0x07))
                                        {
                                            Store (0x07, PPRQ)
                                        }


                                        If (LEqual (DerefOf (Index (Arg3, Zero)), 0x08))
                                        {
                                            Store (0x08, PPRQ)
                                        }


                                        If (LEqual (DerefOf (Index (Arg3, Zero)), 0x09))
                                        {
                                            Store (0x09, PPRQ)
                                        }


                                        If (LEqual (DerefOf (Index (Arg3, Zero)), 0x0A))
                                        {
                                            Store (0x0A, PPRQ)
                                        }


                                        If (LEqual (DerefOf (Index (Arg3, Zero)), 0x0B))
                                        {
                                            Store (0x0B, PPRQ)
                                        }


                                        If (LEqual (DerefOf (Index (Arg3, Zero)), 0x0C))
                                        {
                                            Store (0x0C, PPRQ)
                                            Return (One)
                                        }


                                        If (LEqual (DerefOf (Index (Arg3, Zero)), 0x0D))
                                        {
                                            Store (0x0D, PPRQ)
                                            Return (One)
                                        }


                                        If (LEqual (DerefOf (Index (Arg3, Zero)), 0x0E))
                                        {
                                            Store (0x0E, PPRQ)
                                        }


                                        If (LGreaterEqual (DerefOf (Index (Arg3, Zero)), 0x0F))
                                        {
                                            Return (One)
                                        }


                                        SFLS ()
                                        Return (PPRC)
                                    }
                                }


                                Return (One)
                            }


                            If (LEqual (Arg2, 0x03))
                            {
                                Name (TMP1, Package (0x02)
                                {
                                    Zero, 
                                    Ones
                                })
                                If (LFLS ())
                                {
                                    Store (One, Index (TMP1, Zero))
                                    Return (TMP1)
                                }


                                Store (PPRQ, Index (TMP1, One))
                                Return (TMP1)
                            }


                            If (LEqual (Arg2, 0x04))
                            {
                                Return (One)
                            }


                            If (LEqual (Arg2, 0x05))
                            {
                                Name (TMP2, Package (0x03)
                                {
                                    Zero, 
                                    Ones, 
                                    Ones
                                })
                                If (LFLS ())
                                {
                                    Store (One, Index (TMP2, Zero))
                                    Return (TMP2)
                                }


                                Store (PPLO, Index (TMP2, One))
                                If (LGreater (PPLO, 0x0E))
                                {
                                    Store (0xFFFFFFF1, Index (TMP2, 0x02))
                                    Return (TMP2)
                                }


                                If (LEqual (PPRQ, 0x1F))
                                {
                                    Store (0xFFFFFFF1, Index (TMP2, 0x02))
                                    Return (TMP2)
                                }


                                If (PPOR)
                                {
                                    Store (0xFFFFFFF0, Index (TMP2, 0x02))
                                    Return (TMP2)
                                }


                                Store (Zero, Index (TMP2, 0x02))
                                Return (TMP2)
                            }


                            If (LEqual (Arg2, 0x06))
                            {
                                CreateByteField (Arg3, 0x04, LAN0)
                                CreateByteField (Arg3, 0x05, LAN1)
                                If (LOr (LEqual (LAN0, 0x65), LEqual (LAN0, 0x45)))
                                {
                                    If (LOr (LEqual (LAN1, 0x6E), LEqual (LAN1, 0x4E)))
                                    {
                                        Return (Zero)
                                    }
                                }


                                Return (One)
                            }


                            Return (One)
                        }


                        If (LEqual (UCMP (Arg0, Buffer (0x10)
                                    {
                                        /* 0000 */   0xED, 0x54, 0x60, 0x37, 0x13, 0xCC, 0x75, 0x46,
                                        /* 0008 */   0x90, 0x1C, 0x47, 0x56, 0xD7, 0xF2, 0xD4, 0x5D
                                    }), One))
                        {
                            If (LEqual (Arg2, Zero))
                            {
                                Return (Buffer (One)
                                {
                                     0x01
                                })
                            }


                            If (LEqual (Arg2, One))
                            {
                                If (LEqual (DerefOf (Index (Arg3, Zero)), Zero))
                                {
                                    If (LFLS ())
                                    {
                                        Return (0x02)
                                    }


                                    Store (Zero, MOR)
                                    SFLS ()
                                    Return (Zero)
                                }


                                If (LEqual (DerefOf (Index (Arg3, Zero)), One))
                                {
                                    If (LFLS ())
                                    {
                                        Return (0x02)
                                    }


                                    Store (One, MOR)
                                    SFLS ()
                                    Return (Zero)
                                }
                            }


                            Return (One)
                        }


                        Return (Buffer (One)
                        {
                             0x00
                        })
                    }


                    Method (LFLS, 0, NotSerialized)
                    {
                        Name (TMPB, Buffer (0x02)
                        {
                             0x00, 0x00
                        })
                        CreateByteField (TMPB, Zero, LPCT)
                        CreateByteField (TMPB, One, SSUM)
                        TPHY (Zero)
                        Store (PH02, LPCT)
                        If (LPCT)
                        {
                            Store (Zero, SSUM)
                            Add (SSUM, PH01, SSUM)
                            Add (SSUM, PH02, SSUM)
                            Add (SSUM, PH03, SSUM)
                            Add (SSUM, PPRQ, SSUM)
                            Add (SSUM, PPLO, SSUM)
                            Add (SSUM, PPRP, SSUM)
                            Add (SSUM, PPOR, SSUM)
                            Add (SSUM, TPRS, SSUM)
                            Add (SSUM, TPMV, SSUM)
                            Add (SSUM, MOR, SSUM)
                            Add (SSUM, RSV0, SSUM)
                            If (SSUM) {}
                            Else
                            {
                                Return (Zero)
                            }


                            Return (0x02)
                        }
                    }


                    Method (SFLS, 0, NotSerialized)
                    {
                        Name (TMPB, Buffer (0x02)
                        {
                             0x00, 0x00
                        })
                        CreateByteField (TMPB, Zero, LPCT)
                        CreateByteField (TMPB, One, SSUM)
                        Store (PH02, LPCT)
                        If (LPCT)
                        {
                            Store (Zero, SSUM)
                            Add (SSUM, PH01, SSUM)
                            Add (SSUM, PH02, SSUM)
                            Add (SSUM, PH03, SSUM)
                            Add (SSUM, PPRQ, SSUM)
                            Add (SSUM, PPLO, SSUM)
                            Add (SSUM, PPRP, SSUM)
                            Add (SSUM, PPOR, SSUM)
                            Add (SSUM, TPRS, SSUM)
                            Add (SSUM, TPMV, SSUM)
                            Add (SSUM, MOR, SSUM)
                            Add (SSUM, RSV0, SSUM)
                            Subtract (Zero, SSUM, PH03)
                            TPHY (One)
                            Return (Zero)
                        }
                        Else
                        {
                            Return (0x02)
                        }
                    }
                }


                Device (EC)
                {
                    Name (_HID, EisaId ("PNP0C09"))  // _HID: Hardware ID
                    Name (_UID, Zero)  // _UID: Unique ID
                    Name (_GPE, 0x11)  // _GPE: General Purpose Events
                    Method (_REG, 2, NotSerialized)  // _REG: Region Availability
                    {
                        If (LEqual (Arg0, 0x03))
                        {
                            Store (Arg1, H8DR)
                        }
                    }


                    OperationRegion (ECOR, EmbeddedControl, Zero, 0x0100)
                    Field (ECOR, ByteAcc, NoLock, Preserve)
                    {
                        HDBM,   1, 
                            ,   1, 
                            ,   1, 
                        HFNE,   1, 
                            ,   1, 
                            ,   1, 
                        HLDM,   1, 
                        Offset (0x01), 
                            ,   1, 
                        BTCM,   1, 
                            ,   1, 
                            ,   1, 
                            ,   1, 
                        HBPR,   1, 
                        BTPC,   1, 
                        Offset (0x02), 
                        HDUE,   1, 
                            ,   4, 
                        SNLK,   1, 
                        Offset (0x03), 
                            ,   1, 
                        HETE,   1, 
                            ,   3, 
                        HAUM,   2, 
                        Offset (0x05), 
                        HSPA,   1, 
                        Offset (0x06), 
                        HSUN,   8, 
                        HSRP,   8, 
                        Offset (0x0C), 
                        HLCL,   8, 
                        Offset (0x0E), 
                        HFNS,   2, 
                        Offset (0x0F), 
                            ,   6, 
                        NULS,   1, 
                        Offset (0x10), 
                        HAM0,   8, 
                        HAM1,   8, 
                        HAM2,   8, 
                        HAM3,   8, 
                        HAM4,   8, 
                        HAM5,   8, 
                        HAM6,   8, 
                        HAM7,   8, 
                        HAM8,   8, 
                        HAM9,   8, 
                        HAMA,   8, 
                        HAMB,   8, 
                        HAMC,   8, 
                        HAMD,   8, 
                        HAME,   8, 
                        HAMF,   8, 
                        Offset (0x23), 
                        HANT,   8, 
                        Offset (0x26), 
                            ,   1, 
                            ,   1, 
                        HANA,   2, 
                            ,   1, 
                            ,   1, 
                        Offset (0x2A), 
                        HATR,   8, 
                        HT0H,   8, 
                        HT0L,   8, 
                        HT1H,   8, 
                        HT1L,   8, 
                        HFSP,   8, 
                            ,   6, 
                        HMUT,   1, 
                        Offset (0x31), 
                            ,   2, 
                        HUWB,   1, 
                        Offset (0x32), 
                        HWPM,   1, 
                        HWLB,   1, 
                        HWLO,   1, 
                        HWDK,   1, 
                        HWFN,   1, 
                        HWBT,   1, 
                        HWRI,   1, 
                        HWBU,   1, 
                        HWLU,   1, 
                        Offset (0x34), 
                            ,   7, 
                        HPLO,   1, 
                        Offset (0x36), 
                        Offset (0x38), 
                        HB0S,   7, 
                        HB0A,   1, 
                        HB1S,   7, 
                        HB1A,   1, 
                        HCMU,   1, 
                            ,   2, 
                        OVRQ,   1, 
                        DCBD,   1, 
                        DCWL,   1, 
                        DCWW,   1, 
                        HB1I,   1, 
                            ,   1, 
                        KBLT,   1, 
                        BTPW,   1, 
                        BTDT,   1, 
                        HUBS,   1, 
                        BDPW,   1, 
                        BDDT,   1, 
                        HUBB,   1, 
                        Offset (0x46), 
                            ,   1, 
                        BTWK,   1, 
                        HPLD,   1, 
                            ,   1, 
                        HPAC,   1, 
                        BTST,   1, 
                        Offset (0x47), 
                        HPBU,   1, 
                            ,   1, 
                        HBID,   1, 
                            ,   3, 
                        HBCS,   1, 
                        HPNF,   1, 
                            ,   1, 
                        GSTS,   1, 
                            ,   2, 
                        HLBU,   1, 
                        DOCD,   1, 
                        HCBL,   1, 
                        Offset (0x4C), 
                        HTMH,   8, 
                        HTML,   8, 
                        HWAK,   16, 
                        HMPR,   8, 
                            ,   7, 
                        HMDN,   1, 
                        Offset (0x78), 
                        TMP0,   8, 
                        Offset (0x80), 
                        Offset (0x81), 
                        HIID,   8, 
                        Offset (0x83), 
                        HFNI,   8, 
                        HSPD,   16, 
                        Offset (0x88), 
                        TSL0,   7, 
                        TSR0,   1, 
                        TSL1,   7, 
                        TSR1,   1, 
                        TSL2,   7, 
                        TSR2,   1, 
                        TSL3,   7, 
                        TSR3,   1, 
                        Offset (0x8D), 
                        HDAA,   3, 
                        HDAB,   3, 
                        HDAC,   2, 
                        Offset (0xB0), 
                        HDEN,   32, 
                        HDEP,   32, 
                        HDEM,   8, 
                        HDES,   8, 
                        Offset (0xC8), 
                        ATMX,   8, 
                        HWAT,   8, 
                        Offset (0xCC), 
                        PWMH,   8, 
                        PWML,   8, 
                        Offset (0xED), 
                            ,   4, 
                        HDDD,   1
                    }


                    Method (_INI, 0, NotSerialized)  // _INI: Initialize
                    {
                        If (H8DR)
                        {
                            Store (Zero, HSPA)
                        }
                        Else
                        {
                            MBEC (0x05, 0xFE, Zero)
                        }


                        BINI ()
                        ^HKEY.WGIN ()
                    }


                    Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
                    {
                        IO (Decode16,
                            0x0062,             // Range Minimum
                            0x0062,             // Range Maximum
                            0x01,               // Alignment
                            0x01,               // Length
                            )
                        IO (Decode16,
                            0x0066,             // Range Minimum
                            0x0066,             // Range Maximum
                            0x01,               // Alignment
                            0x01,               // Length
                            )
                    })
                    Method (LED, 2, NotSerialized)
                    {
                        Or (Arg0, Arg1, Local0)
                        If (H8DR)
                        {
                            Store (Local0, HLCL)
                        }
                        Else
                        {
                            WBEC (0x0C, Local0)
                        }
                    }


                    Name (BAON, Zero)
                    Name (WBON, Zero)
                    Method (BEEP, 1, NotSerialized)
                    {
                        If (LEqual (Arg0, 0x05))
                        {
                            Store (Zero, WBON)
                        }


                        Store (WBON, Local2)
                        If (BAON)
                        {
                            If (LEqual (Arg0, Zero))
                            {
                                Store (Zero, BAON)
                                If (WBON)
                                {
                                    Store (0x03, Local0)
                                    Store (0x08, Local1)
                                }
                                Else
                                {
                                    Store (Zero, Local0)
                                    Store (Zero, Local1)
                                }
                            }
                            Else
                            {
                                Store (0xFF, Local0)
                                Store (0xFF, Local1)
                                If (LEqual (Arg0, 0x11))
                                {
                                    Store (Zero, WBON)
                                }


                                If (LEqual (Arg0, 0x10))
                                {
                                    Store (One, WBON)
                                }
                            }
                        }
                        Else
                        {
                            Store (Arg0, Local0)
                            Store (0xFF, Local1)
                            If (LEqual (Arg0, 0x0F))
                            {
                                Store (Arg0, Local0)
                                Store (0x08, Local1)
                                Store (One, BAON)
                            }


                            If (LEqual (Arg0, 0x11))
                            {
                                Store (Zero, Local0)
                                Store (Zero, Local1)
                                Store (Zero, WBON)
                            }


                            If (LEqual (Arg0, 0x10))
                            {
                                Store (0x03, Local0)
                                Store (0x08, Local1)
                                Store (One, WBON)
                            }
                        }


                        If (LEqual (Arg0, 0x03))
                        {
                            Store (Zero, WBON)
                            If (Local2)
                            {
                                Store (0x07, Local0)
                                If (LOr (LEqual (SPS, 0x03), LEqual (SPS, 0x04)))
                                {
                                    Store (Zero, Local2)
                                    Store (0xFF, Local0)
                                    Store (0xFF, Local1)
                                }
                            }
                        }


                        If (LEqual (Arg0, 0x07))
                        {
                            If (Local2)
                            {
                                Store (Zero, Local2)
                                Store (0xFF, Local0)
                                Store (0xFF, Local1)
                            }
                        }


                        If (H8DR)
                        {
                            If (LAnd (Local2, LNot (WBON)))
                            {
                                Store (Zero, HSRP)
                                Store (Zero, HSUN)
                                Sleep (0x64)
                            }


                            If (LNotEqual (Local1, 0xFF))
                            {
                                Store (Local1, HSRP)
                            }


                            If (LNotEqual (Local0, 0xFF))
                            {
                                Store (Local0, HSUN)
                            }
                        }
                        Else
                        {
                            If (LAnd (Local2, LNot (WBON)))
                            {
                                WBEC (0x07, Zero)
                                WBEC (0x06, Zero)
                                Sleep (0x64)
                            }


                            If (LNotEqual (Local1, 0xFF))
                            {
                                WBEC (0x07, Local1)
                            }


                            If (LNotEqual (Local0, 0xFF))
                            {
                                WBEC (0x06, Local0)
                            }
                        }


                        If (LEqual (Arg0, 0x03)) {}
                        If (LEqual (Arg0, 0x07))
                        {
                            Sleep (0x01F4)
                        }
                    }


                    Method (EVNT, 1, NotSerialized)
                    {
                        If (H8DR)
                        {
                            If (Arg0)
                            {
                                Or (HAM7, One, HAM7)
                                Or (HAM5, 0x04, HAM5)
                            }
                            Else
                            {
                                And (HAM7, 0xFE, HAM7)
                                And (HAM5, 0xFB, HAM5)
                            }
                        }
                        Else
                        {
                            If (Arg0)
                            {
                                MBEC (0x17, 0xFF, One)
                                MBEC (0x15, 0xFF, 0x04)
                            }
                            Else
                            {
                                MBEC (0x17, 0xFE, Zero)
                                MBEC (0x15, 0xFB, Zero)
                            }
                        }
                    }


                    PowerResource (PUBS, 0x03, 0x0000)
                    {
                        Method (_STA, 0, NotSerialized)  // _STA: Status
                        {
                            If (H8DR)
                            {
                                Store (HUBS, Local0)
                            }
                            Else
                            {
                                And (RBEC (0x3B), 0x10, Local0)
                            }


                            If (Local0)
                            {
                                Return (One)
                            }
                            Else
                            {
                                Return (Zero)
                            }
                        }


                        Method (_ON, 0, NotSerialized)  // _ON_: Power On
                        {
                            If (H8DR)
                            {
                                Store (One, HUBS)
                            }
                            Else
                            {
                                MBEC (0x3B, 0xFF, 0x10)
                            }
                        }


                        Method (_OFF, 0, NotSerialized)  // _OFF: Power Off
                        {
                            If (H8DR)
                            {
                                Store (Zero, HUBS)
                            }
                            Else
                            {
                                MBEC (0x3B, 0xEF, Zero)
                            }
                        }
                    }


                    Method (CHKS, 0, NotSerialized)
                    {
                        Store (0x03E8, Local0)
                        While (HMPR)
                        {
                            Sleep (One)
                            Decrement (Local0)
                            If (LNot (Local0))
                            {
                                Return (0x8080)
                            }
                        }


                        If (HMDN)
                        {
                            Return (Zero)
                        }


                        Return (0x8081)
                    }


                    Method (LPMD, 0, NotSerialized)
                    {
                        Store (Zero, Local0)
                        Store (Zero, Local1)
                        Store (Zero, Local2)
                        If (H8DR)
                        {
                            If (HPAC)
                            {
                                If (HPLO)
                                {
                                    Store (LPST, Local0)
                                }
                                Else
                                {
                                    If (LLess (HWAT, 0x5A))
                                    {
                                        If (HB0A)
                                        {
                                            If (LOr (And (HB0S, 0x10), LLess (And (HB0S, 0x0F
                                                ), 0x02)))
                                            {
                                                Store (One, Local1)
                                            }
                                        }
                                        Else
                                        {
                                            Store (One, Local1)
                                        }


                                        If (HB1A)
                                        {
                                            If (LOr (And (HB1S, 0x10), LLess (And (HB1S, 0x0F
                                                ), 0x02)))
                                            {
                                                Store (One, Local2)
                                            }
                                        }
                                        Else
                                        {
                                            Store (One, Local2)
                                        }


                                        If (LAnd (Local1, Local2))
                                        {
                                            Store (LPST, Local0)
                                        }
                                    }
                                }
                            }
                        }
                        Else
                        {
                            If (And (RBEC (0x46), 0x10))
                            {
                                If (And (RBEC (0x34), 0x80))
                                {
                                    Store (LPST, Local0)
                                }
                                Else
                                {
                                    If (LLess (RBEC (0xC9), 0x5A))
                                    {
                                        Store (RBEC (0x38), Local3)
                                        If (And (Local3, 0x80))
                                        {
                                            If (LOr (And (Local3, 0x10), LLess (And (Local3, 0x0F
                                                ), 0x02)))
                                            {
                                                Store (One, Local1)
                                            }
                                        }
                                        Else
                                        {
                                            Store (One, Local2)
                                        }


                                        Store (RBEC (0x39), Local3)
                                        If (And (Local3, 0x80))
                                        {
                                            If (LOr (And (Local3, 0x10), LLess (And (Local3, 0x0F
                                                ), 0x02)))
                                            {
                                                Store (One, Local1)
                                            }
                                        }
                                        Else
                                        {
                                            Store (One, Local2)
                                        }


                                        If (LAnd (Local1, Local2))
                                        {
                                            Store (LPST, Local0)
                                        }
                                    }
                                }
                            }
                        }


                        Return (Local0)
                    }


                    Method (CLPM, 0, NotSerialized)
                    {
                        If (And (PPMF, One))
                        {
                            If (OSPX)
                            {
                                PNTF (0x80)
                            }
                            Else
                            {
                                Store (LPMD (), Local0)
                                If (Local0)
                                {
                                    STEP (0x04)
                                }
                                Else
                                {
                                    STEP (0x05)
                                }
                            }
                        }
                    }


                    Mutex (MCPU, 0x07)
                    Method (_Q10, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (^HKEY.MHKK (One))
                        {
                            ^HKEY.MHKQ (0x1001)
                        }
                    }


                    Method (_Q11, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (^HKEY.MHKK (0x02))
                        {
                            ^HKEY.MHKQ (0x1002)
                        }
                        Else
                        {
                            Noop
                        }
                    }


                    Method (_Q12, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        ^HKEY.MHKQ (0x1003)
                    }


                    Method (_Q13, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (^HKEY.DHKC)
                        {
                            ^HKEY.MHKQ (0x1004)
                        }
                        Else
                        {
                            Notify (SLPB, 0x80)
                        }
                    }


                    Method (_Q64, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (^HKEY.MHKK (0x10))
                        {
                            ^HKEY.MHKQ (0x1005)
                        }
                    }


                    Method (_Q65, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (^HKEY.MHKK (0x20))
                        {
                            ^HKEY.MHKQ (0x1006)
                        }
                    }


                    Method (_Q16, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (^HKEY.MHKK (0x40))
                        {
                            ^HKEY.MHKQ (0x1007)
                        }
                        Else
                        {
                            If (LEqual (VHYB (0x03, Zero), 0x03))
                            {
                                Notify (VID, 0x80)
                                Return (Zero)
                            }


                            If (VIGD)
                            {
                                ^^^VID.VSWT ()
                            }
                            Else
                            {
                                ^^^PEG.VID.VSWT ()
                            }
                        }
                    }


                    Method (_Q17, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (^HKEY.MHKK (0x80))
                        {
                            ^HKEY.MHKQ (0x1008)
                        }
                        Else
                        {
                            If (LNot (WNTF))
                            {
                                VEXP ()
                            }
                        }
                    }


                    Method (_Q18, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (^HKEY.MHKK (0x0100))
                        {
                            ^HKEY.MHKQ (0x1009)
                        }


                        Noop
                    }


                    Method (_Q66, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (^HKEY.MHKK (0x0200))
                        {
                            ^HKEY.MHKQ (0x100A)
                        }
                    }


                    Method (_Q1A, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (^HKEY.MHKK (0x0400))
                        {
                            ^HKEY.MHKQ (0x100B)
                        }
                    }


                    Method (_Q1B, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        ^HKEY.MHKQ (0x100C)
                    }


                    Method (_Q62, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (^HKEY.MHKK (0x1000))
                        {
                            ^HKEY.MHKQ (0x100D)
                        }
                    }


                    Method (_Q60, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (^HKEY.MHKK (0x2000))
                        {
                            ^HKEY.MHKQ (0x100E)
                        }
                    }


                    Method (_Q61, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (^HKEY.MHKK (0x4000))
                        {
                            ^HKEY.MHKQ (0x100F)
                        }
                    }


                    Method (_Q1F, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (^HKEY.MHKK (0x00020000))
                        {
                            ^HKEY.MHKQ (0x1012)
                        }


                        UCMS (0x0E)
                    }


                    Method (_Q67, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (^HKEY.MHKK (0x00040000))
                        {
                            ^HKEY.MHKQ (0x1013)
                        }
                    }


                    Method (_Q1C, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (^HKEY.MHKK (0x01000000))
                        {
                            ^HKEY.MHKQ (0x1019)
                        }
                    }


                    Method (_Q1D, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (^HKEY.MHKK (0x02000000))
                        {
                            ^HKEY.MHKQ (0x101A)
                        }
                    }


                    Method (_Q26, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (VIGD)
                        {
                            If (WVIS)
                            {
                                VBTD ()
                            }


                            BRNS ()
                        }
                        Else
                        {
                            UCMS (0x12)
                        }


                        Notify (^^^PEG.VID, 0xDF)
                        Sleep (0x01F4)
                        Notify (AC, 0x80)
                        Notify (\_TZ.THM0, 0x80)
                        If (WXPF)
                        {
                            Acquire (MCPU, 0xFFFF)
                        }


                        Store (One, PWRS)
                        If (And (PPMF, One))
                        {
                            If (OSPX)
                            {
                                PNTF (0x80)
                            }
                            Else
                            {
                                STEP (Zero)
                            }
                        }


                        If (WXPF)
                        {
                            Sleep (0x64)
                        }


                        If (OSC4)
                        {
                            PNTF (0x81)
                        }


                        If (WXPF)
                        {
                            Release (MCPU)
                        }


                        ATMC ()
                    }


                    Method (_Q27, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (VIGD)
                        {
                            If (WVIS)
                            {
                                VBTD ()
                            }


                            BRNS ()
                        }
                        Else
                        {
                            UCMS (0x12)
                        }


                        Notify (^^^PEG.VID, 0xDF)
                        Sleep (0x01F4)
                        Notify (AC, 0x80)
                        Notify (\_TZ.THM0, 0x80)
                        If (WXPF)
                        {
                            Acquire (MCPU, 0xFFFF)
                        }


                        Store (Zero, PWRS)
                        If (And (PPMF, One))
                        {
                            If (OSPX)
                            {
                                PNTF (0x80)
                            }
                            Else
                            {
                                STEP (One)
                            }
                        }


                        If (WXPF)
                        {
                            Sleep (0x64)
                        }


                        If (OSC4)
                        {
                            PNTF (0x81)
                        }


                        If (WXPF)
                        {
                            Release (MCPU)
                        }


                        ATMC ()
                    }


                    Method (_Q2A, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (VIGD)
                        {
                            ^^^VID.GLIS (One)
                        }
                        Else
                        {
                            If (WVIS)
                            {
                                ^^^VID.GLIS (One)
                            }
                        }


                        If (VIGD)
                        {
                            ^^^VID.VLOC (One)
                        }
                        Else
                        {
                            ^^^PEG.VID.VLOC (One)
                        }


                        ^HKEY.MHKQ (0x5002)
                        Notify (LID, 0x80)
                    }


                    Method (_Q2B, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (VIGD)
                        {
                            ^^^VID.GLIS (Zero)
                        }


                        ^HKEY.MHKQ (0x5001)
                        UCMS (0x0D)
                        Notify (LID, 0x80)
                    }


                    Method (_Q3D, 0, NotSerialized)  // _Qxx: EC Query
                    {
                    }


                    Method (_Q48, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (And (PPMF, One))
                        {
                            If (OSPX)
                            {
                                PNTF (0x80)
                            }
                            Else
                            {
                                STEP (0x04)
                            }
                        }
                    }


                    Method (_Q49, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (And (PPMF, One))
                        {
                            If (OSPX)
                            {
                                PNTF (0x80)
                            }
                            Else
                            {
                                STEP (0x05)
                            }
                        }
                    }


                    Method (_Q7F, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        Fatal (0x01, 0x80010000, 0x039A)
                    }


                    Method (_Q4E, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        ^HKEY.MHKQ (0x6011)
                    }


                    Method (_Q4F, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        ^HKEY.MHKQ (0x6012)
                    }


                    Method (_Q46, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        ^HKEY.MHKQ (0x6012)
                    }


                    Method (_Q22, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        CLPM ()
                        If (HB0A)
                        {
                            Notify (BAT0, 0x80)
                        }


                        If (HB1A)
                        {
                            Notify (BAT1, 0x80)
                        }
                    }


                    Method (_Q4A, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        CLPM ()
                        Notify (BAT0, 0x81)
                    }


                    Method (_Q4B, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        Notify (BAT0, 0x80)
                    }


                    Method (_Q4C, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        CLPM ()
                        If (WNTF)
                        {
                            If (HB1A)
                            {
                                Store (One, ^BAT1.XB1S)
                                Notify (BAT1, One)
                            }
                            Else
                            {
                                Notify (BAT1, 0x03)
                            }
                        }
                        Else
                        {
                            Notify (BAT1, 0x81)
                        }
                    }


                    Method (_Q4D, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (And (^BAT1.B1ST, ^BAT1.XB1S))
                        {
                            Notify (BAT1, 0x80)
                        }
                    }


                    Method (_Q24, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        CLPM ()
                        Notify (BAT0, 0x80)
                    }


                    Method (_Q25, 0, NotSerialized)  // _Qxx: EC Query
                    {
                        If (And (^BAT1.B1ST, ^BAT1.XB1S))
                        {
                            CLPM ()
                            Notify (BAT1, 0x80)
                        }
                    }


                    Field (ECOR, ByteAcc, NoLock, Preserve)
                    {
                        Offset (0xA0), 
                        SBRC,   16, 
                        SBFC,   16, 
                        SBAE,   16, 
                        SBRS,   16, 
                        SBAC,   16, 
                        SBVO,   16, 
                        SBAF,   16, 
                        SBBS,   16
                    }


                    Field (ECOR, ByteAcc, NoLock, Preserve)
                    {
                        Offset (0xA0), 
                            ,   15, 
                        SBCM,   1, 
                        SBMD,   16, 
                        SBCC,   16
                    }


                    Field (ECOR, ByteAcc, NoLock, Preserve)
                    {
                        Offset (0xA0), 
                        SBDC,   16, 
                        SBDV,   16, 
                        SBOM,   16, 
                        SBSI,   16, 
                        SBDT,   16, 
                        SBSN,   16
                    }


                    Field (ECOR, ByteAcc, NoLock, Preserve)
                    {
                        Offset (0xA0), 
                        SBCH,   32
                    }


                    Field (ECOR, ByteAcc, NoLock, Preserve)
                    {
                        Offset (0xA0), 
                        SBMN,   128
                    }


                    Field (ECOR, ByteAcc, NoLock, Preserve)
                    {
                        Offset (0xA0), 
                        SBDN,   128
                    }


                    Mutex (BATM, 0x07)
                    Method (GBIF, 3, NotSerialized)
                    {
                        Acquire (BATM, 0xFFFF)
                        If (Arg2)
                        {
                            Or (Arg0, One, HIID)
                            Store (SBCM, Local7)
                            XOr (Local7, One, Index (Arg1, Zero))
                            Store (Arg0, HIID)
                            If (Local7)
                            {
                                Multiply (SBFC, 0x0A, Local1)
                            }
                            Else
                            {
                                Store (SBFC, Local1)
                            }


                            Store (Local1, Index (Arg1, 0x02))
                            Or (Arg0, 0x02, HIID)
                            If (Local7)
                            {
                                Multiply (SBDC, 0x0A, Local0)
                            }
                            Else
                            {
                                Store (SBDC, Local0)
                            }


                            Store (Local0, Index (Arg1, One))
                            Divide (Local1, 0x14, Local2, Index (Arg1, 0x05))
                            If (Local7)
                            {
                                Store (0xC8, Index (Arg1, 0x06))
                            }
                            Else
                            {
                                If (SBDV)
                                {
                                    Divide (0x00030D40, SBDV, Local2, Index (Arg1, 0x06))
                                }
                                Else
                                {
                                    Store (Zero, Index (Arg1, 0x06))
                                }
                            }


                            Store (SBDV, Index (Arg1, 0x04))
                            Store (SBSN, Local0)
                            Name (SERN, Buffer (0x06)
                            {
                                "     "
                            })
                            Store (0x04, Local2)
                            While (Local0)
                            {
                                Divide (Local0, 0x0A, Local1, Local0)
                                Add (Local1, 0x30, Index (SERN, Local2))
                                Decrement (Local2)
                            }


                            Store (SERN, Index (Arg1, 0x0A))
                            Or (Arg0, 0x06, HIID)
                            Store (SBDN, Index (Arg1, 0x09))
                            Or (Arg0, 0x04, HIID)
                            Name (BTYP, Buffer (0x05)
                            {
                                 0x00, 0x00, 0x00, 0x00, 0x00
                            })
                            Store (SBCH, BTYP)
                            Store (BTYP, Index (Arg1, 0x0B))
                            Or (Arg0, 0x05, HIID)
                            Store (SBMN, Index (Arg1, 0x0C))
                        }
                        Else
                        {
                            Store (Ones, Index (Arg1, One))
                            Store (Zero, Index (Arg1, 0x05))
                            Store (Zero, Index (Arg1, 0x06))
                            Store (Ones, Index (Arg1, 0x02))
                        }


                        Release (BATM)
                        Return (Arg1)
                    }


                    Method (GBST, 4, NotSerialized)
                    {
                        Acquire (BATM, 0xFFFF)
                        If (And (Arg1, 0x20))
                        {
                            Store (0x02, Local0)
                        }
                        Else
                        {
                            If (And (Arg1, 0x40))
                            {
                                Store (One, Local0)
                            }
                            Else
                            {
                                Store (Zero, Local0)
                            }
                        }


                        If (And (Arg1, 0x0F)) {}
                        Else
                        {
                            Or (Local0, 0x04, Local0)
                        }


                        If (LEqual (And (Arg1, 0x0F), 0x0F))
                        {
                            Store (0x04, Local0)
                            Store (Zero, Local1)
                            Store (Zero, Local2)
                            Store (Zero, Local3)
                        }
                        Else
                        {
                            Store (Arg0, HIID)
                            Store (SBVO, Local3)
                            If (Arg2)
                            {
                                Multiply (SBRC, 0x0A, Local2)
                            }
                            Else
                            {
                                Store (SBRC, Local2)
                            }


                            Store (SBAC, Local1)
                            If (LGreaterEqual (Local1, 0x8000))
                            {
                                If (And (Local0, One))
                                {
                                    Subtract (0x00010000, Local1, Local1)
                                }
                                Else
                                {
                                    Store (Zero, Local1)
                                }
                            }
                            Else
                            {
                                If (LNot (And (Local0, 0x02)))
                                {
                                    Store (Zero, Local1)
                                }
                            }


                            If (Arg2)
                            {
                                Multiply (Local3, Local1, Local1)
                                Divide (Local1, 0x03E8, Local7, Local1)
                            }
                        }


                        Store (Local0, Index (Arg3, Zero))
                        Store (Local1, Index (Arg3, One))
                        Store (Local2, Index (Arg3, 0x02))
                        Store (Local3, Index (Arg3, 0x03))
                        Release (BATM)
                        Return (Arg3)
                    }


                    Device (BAT0)
                    {
                        Name (_HID, EisaId ("PNP0C0A"))  // _HID: Hardware ID
                        Name (_UID, Zero)  // _UID: Unique ID
                        Name (_PCL, Package (0x01)  // _PCL: Power Consumer List
                        {
                            _SB
                        })
                        Name (B0ST, Zero)
                        Name (BT0I, Package (0x0D)
                        {
                            Zero, 
                            Ones, 
                            Ones, 
                            One, 
                            0x2A30, 
                            Zero, 
                            Zero, 
                            One, 
                            One, 
                            "", 
                            "", 
                            "", 
                            ""
                        })
                        Name (BT0P, Package (0x04) {})
                        Method (_STA, 0, NotSerialized)  // _STA: Status
                        {
                            If (H8DR)
                            {
                                Store (HB0A, B0ST)
                            }
                            Else
                            {
                                If (And (RBEC (0x38), 0x80))
                                {
                                    Store (One, B0ST)
                                }
                                Else
                                {
                                    Store (Zero, B0ST)
                                }
                            }


                            If (B0ST)
                            {
                                Return (0x1F)
                            }
                            Else
                            {
                                Return (0x0F)
                            }
                        }


                        Method (_BIF, 0, NotSerialized)  // _BIF: Battery Information
                        {
                            Store (Zero, Local7)
                            Store (0x0A, Local6)
                            While (LAnd (LNot (Local7), Local6))
                            {
                                If (HB0A)
                                {
                                    If (LEqual (And (HB0S, 0x0F), 0x0F))
                                    {
                                        Sleep (0x03E8)
                                        Decrement (Local6)
                                    }
                                    Else
                                    {
                                        Store (One, Local7)
                                    }
                                }
                                Else
                                {
                                    Store (Zero, Local6)
                                }
                            }


                            Return (GBIF (Zero, BT0I, Local7))
                        }


                        Method (_BST, 0, NotSerialized)  // _BST: Battery Status
                        {
                            XOr (DerefOf (Index (BT0I, Zero)), One, Local0)
                            Return (GBST (Zero, HB0S, Local0, BT0P))
                        }


                        Method (_BTP, 1, NotSerialized)  // _BTP: Battery Trip Point
                        {
                            And (HAM4, 0xEF, HAM4)
                            If (Arg0)
                            {
                                Store (Arg0, Local1)
                                If (LNot (DerefOf (Index (BT0I, Zero))))
                                {
                                    Divide (Local1, 0x0A, Local0, Local1)
                                }


                                And (Local1, 0xFF, HT0L)
                                And (ShiftRight (Local1, 0x08), 0xFF, HT0H)
                                Or (HAM4, 0x10, HAM4)
                            }
                        }
                    }


                    Device (BAT1)
                    {
                        Name (_HID, EisaId ("PNP0C0A"))  // _HID: Hardware ID
                        Name (_UID, One)  // _UID: Unique ID
                        Name (_PCL, Package (0x01)  // _PCL: Power Consumer List
                        {
                            _SB
                        })
                        Name (B1ST, Zero)
                        Name (XB1S, One)
                        Name (BT1I, Package (0x0D)
                        {
                            Zero, 
                            Ones, 
                            Ones, 
                            One, 
                            0x2A30, 
                            Zero, 
                            Zero, 
                            One, 
                            One, 
                            "", 
                            "", 
                            "", 
                            ""
                        })
                        Name (BT1P, Package (0x04) {})
                        Method (_STA, 0, NotSerialized)  // _STA: Status
                        {
                            If (H8DR)
                            {
                                Store (HB1A, B1ST)
                            }
                            Else
                            {
                                If (And (RBEC (0x39), 0x80))
                                {
                                    Store (One, B1ST)
                                }
                                Else
                                {
                                    Store (Zero, B1ST)
                                }
                            }


                            If (B1ST)
                            {
                                If (XB1S)
                                {
                                    Return (0x1F)
                                }
                                Else
                                {
                                    If (WNTF)
                                    {
                                        Return (Zero)
                                    }
                                    Else
                                    {
                                        Return (0x1F)
                                    }
                                }
                            }
                            Else
                            {
                                If (WNTF)
                                {
                                    Return (Zero)
                                }
                                Else
                                {
                                    Return (0x0F)
                                }
                            }
                        }


                        Method (_BIF, 0, NotSerialized)  // _BIF: Battery Information
                        {
                            Store (Zero, Local7)
                            Store (0x0A, Local6)
                            While (LAnd (LNot (Local7), Local6))
                            {
                                If (HB1A)
                                {
                                    If (LEqual (And (HB1S, 0x0F), 0x0F))
                                    {
                                        Sleep (0x03E8)
                                        Decrement (Local6)
                                    }
                                    Else
                                    {
                                        Store (One, Local7)
                                    }
                                }
                                Else
                                {
                                    Store (Zero, Local6)
                                }
                            }


                            Return (GBIF (0x10, BT1I, Local7))
                        }


                        Method (_BST, 0, NotSerialized)  // _BST: Battery Status
                        {
                            XOr (DerefOf (Index (BT1I, Zero)), One, Local0)
                            Return (GBST (0x10, HB1S, Local0, BT1P))
                        }


                        Method (_BTP, 1, NotSerialized)  // _BTP: Battery Trip Point
                        {
                            And (HAM4, 0xDF, HAM4)
                            If (Arg0)
                            {
                                Store (Arg0, Local1)
                                If (LNot (DerefOf (Index (BT1I, Zero))))
                                {
                                    Divide (Local1, 0x0A, Local0, Local1)
                                }


                                And (Local1, 0xFF, HT1L)
                                And (ShiftRight (Local1, 0x08), 0xFF, HT1H)
                                Or (HAM4, 0x20, HAM4)
                            }
                        }
                    }


                    Device (AC)
                    {
                        Name (_HID, "ACPI0003")  // _HID: Hardware ID
                        Name (_UID, Zero)  // _UID: Unique ID
                        Name (_PCL, Package (0x01)  // _PCL: Power Consumer List
                        {
                            _SB
                        })
                        Method (_PSR, 0, NotSerialized)  // _PSR: Power Source
                        {
                            If (H8DR)
                            {
                                If (HPAC)
                                {
                                    If (DOCD)
                                    {
                                        If (EPWG)
                                        {
                                            Return (One)
                                        }
                                        Else
                                        {
                                            Return (Zero)
                                        }
                                    }
                                    Else
                                    {
                                        Return (One)
                                    }
                                }
                                Else
                                {
                                    Return (Zero)
                                }
                            }
                            Else
                            {
                                If (And (RBEC (0x46), 0x10))
                                {
                                    Return (One)
                                }
                                Else
                                {
                                    Return (Zero)
                                }
                            }
                        }


                        Method (_STA, 0, NotSerialized)  // _STA: Status
                        {
                            Return (0x0F)
                        }
                    }


                    Device (HKEY)
                    {
                        Name (_HID, EisaId ("IBM0068"))  // _HID: Hardware ID
                        Method (_STA, 0, NotSerialized)  // _STA: Status
                        {
                            Return (0x0F)
                        }


                        Method (MHKV, 0, NotSerialized)
                        {
                            Return (0x0100)
                        }


                        Name (DHKC, Zero)
                        Name (DHKB, One)
                        Mutex (XDHK, 0x07)
                        Name (DHKH, Zero)
                        Name (DHKW, Zero)
                        Name (DHKS, Zero)
                        Name (DHKD, Zero)
                        Name (DHKN, 0x080C)
                        Name (DHKT, Zero)
                        Name (DHWW, Zero)
                        Method (MHKA, 0, NotSerialized)
                        {
                            Return (0x07FFFFFF)
                        }


                        Method (MHKN, 0, NotSerialized)
                        {
                            Return (DHKN)
                        }


                        Method (MHKK, 1, NotSerialized)
                        {
                            If (DHKC)
                            {
                                Return (And (DHKN, Arg0))
                            }
                            Else
                            {
                                Return (Zero)
                            }
                        }


                        Method (MHKM, 2, NotSerialized)
                        {
                            Acquire (XDHK, 0xFFFF)
                            If (LGreater (Arg0, 0x20))
                            {
                                Noop
                            }
                            Else
                            {
                                ShiftLeft (One, Decrement (Arg0), Local0)
                                If (And (Local0, 0x07FFFFFF))
                                {
                                    If (Arg1)
                                    {
                                        Or (Local0, DHKN, DHKN)
                                    }
                                    Else
                                    {
                                        And (DHKN, XOr (Local0, Ones), DHKN)
                                    }
                                }
                                Else
                                {
                                    Noop
                                }
                            }


                            Release (XDHK)
                        }


                        Method (MHKS, 0, NotSerialized)
                        {
                            Notify (SLPB, 0x80)
                        }


                        Method (MHKC, 1, NotSerialized)
                        {
                            Store (Arg0, DHKC)
                        }


                        Method (MHKP, 0, NotSerialized)
                        {
                            Acquire (XDHK, 0xFFFF)
                            If (DHWW)
                            {
                                Store (DHWW, Local1)
                                Store (Zero, DHWW)
                            }
                            Else
                            {
                                If (DHKW)
                                {
                                    Store (DHKW, Local1)
                                    Store (Zero, DHKW)
                                }
                                Else
                                {
                                    If (DHKD)
                                    {
                                        Store (DHKD, Local1)
                                        Store (Zero, DHKD)
                                    }
                                    Else
                                    {
                                        If (DHKS)
                                        {
                                            Store (DHKS, Local1)
                                            Store (Zero, DHKS)
                                        }
                                        Else
                                        {
                                            If (DHKT)
                                            {
                                                Store (DHKT, Local1)
                                                Store (Zero, DHKT)
                                            }
                                            Else
                                            {
                                                Store (DHKH, Local1)
                                                Store (Zero, DHKH)
                                            }
                                        }
                                    }
                                }
                            }


                            Release (XDHK)
                            Return (Local1)
                        }


                        Method (MHKE, 1, NotSerialized)
                        {
                            Store (Arg0, DHKB)
                            Acquire (XDHK, 0xFFFF)
                            Store (Zero, DHKH)
                            Store (Zero, DHKW)
                            Store (Zero, DHKS)
                            Store (Zero, DHKD)
                            Store (Zero, DHKT)
                            Store (Zero, DHWW)
                            Release (XDHK)
                        }


                        Method (MHKQ, 1, NotSerialized)
                        {
                            If (DHKB)
                            {
                                If (DHKC)
                                {
                                    Acquire (XDHK, 0xFFFF)
                                    If (LLess (Arg0, 0x1000)) {}
                                    Else
                                    {
                                        If (LLess (Arg0, 0x2000))
                                        {
                                            Store (Arg0, DHKH)
                                        }
                                        Else
                                        {
                                            If (LLess (Arg0, 0x3000))
                                            {
                                                Store (Arg0, DHKW)
                                            }
                                            Else
                                            {
                                                If (LLess (Arg0, 0x4000))
                                                {
                                                    Store (Arg0, DHKS)
                                                }
                                                Else
                                                {
                                                    If (LLess (Arg0, 0x5000))
                                                    {
                                                        Store (Arg0, DHKD)
                                                    }
                                                    Else
                                                    {
                                                        If (LLess (Arg0, 0x6000))
                                                        {
                                                            Store (Arg0, DHKH)
                                                        }
                                                        Else
                                                        {
                                                            If (LLess (Arg0, 0x7000))
                                                            {
                                                                Store (Arg0, DHKT)
                                                            }
                                                            Else
                                                            {
                                                                If (LLess (Arg0, 0x8000))
                                                                {
                                                                    Store (Arg0, DHWW)
                                                                }
                                                                Else
                                                                {
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }


                                    Release (XDHK)
                                    Notify (HKEY, 0x80)
                                }
                                Else
                                {
                                    If (LEqual (Arg0, 0x1004))
                                    {
                                        Notify (SLPB, 0x80)
                                    }
                                }
                            }
                        }


                        Method (MHKB, 1, NotSerialized)
                        {
                            If (LEqual (Arg0, Zero))
                            {
                                BEEP (0x11)
                                Store (Zero, LIDB)
                            }
                            Else
                            {
                                If (LEqual (Arg0, One))
                                {
                                    BEEP (0x10)
                                    Store (One, LIDB)
                                }
                                Else
                                {
                                }
                            }
                        }


                        Method (MHKD, 0, NotSerialized)
                        {
                            If (VIGD)
                            {
                                ^^^^VID.VLOC (Zero)
                            }
                            Else
                            {
                                ^^^^PEG.VID.VLOC (Zero)
                            }
                        }


                        Method (MHQC, 1, NotSerialized)
                        {
                            If (WNTF)
                            {
                                If (LEqual (Arg0, Zero))
                                {
                                    Return (CWAC)
                                }
                                Else
                                {
                                    If (LEqual (Arg0, One))
                                    {
                                        Return (CWAP)
                                    }
                                    Else
                                    {
                                        If (LEqual (Arg0, 0x02))
                                        {
                                            Return (CWAT)
                                        }
                                        Else
                                        {
                                            Noop
                                        }
                                    }
                                }
                            }
                            Else
                            {
                                Noop
                            }


                            Return (Zero)
                        }


                        Method (MHGC, 0, NotSerialized)
                        {
                            If (WNTF)
                            {
                                Acquire (XDHK, 0xFFFF)
                                If (CKC4 (Zero))
                                {
                                    Store (0x03, Local0)
                                }
                                Else
                                {
                                    Store (0x04, Local0)
                                }


                                Release (XDHK)
                                Return (Local0)
                            }
                            Else
                            {
                                Noop
                            }


                            Return (Zero)
                        }


                        Method (MHSC, 1, NotSerialized)
                        {
                            If (LAnd (CWAC, WNTF))
                            {
                                Acquire (XDHK, 0xFFFF)
                                If (OSC4)
                                {
                                    If (LEqual (Arg0, 0x03))
                                    {
                                        If (LNot (CWAS))
                                        {
                                            PNTF (0x81)
                                            Store (One, CWAS)
                                        }
                                    }
                                    Else
                                    {
                                        If (LEqual (Arg0, 0x04))
                                        {
                                            If (CWAS)
                                            {
                                                PNTF (0x81)
                                                Store (Zero, CWAS)
                                            }
                                        }
                                        Else
                                        {
                                            Noop
                                        }
                                    }
                                }


                                Release (XDHK)
                            }
                            Else
                            {
                                Noop
                            }
                        }


                        Method (CKC4, 1, NotSerialized)
                        {
                            Store (Zero, Local0)
                            If (C4WR)
                            {
                                If (LNot (C4AC))
                                {
                                    Or (Local0, One, Local0)
                                }
                            }


                            If (C4NA)
                            {
                                Or (Local0, 0x02, Local0)
                            }


                            If (LAnd (CWAC, CWAS))
                            {
                                Or (Local0, 0x04, Local0)
                            }


                            If (LAnd (CWUE, CWUS))
                            {
                                Or (Local0, 0x08, Local0)
                            }


                            And (Local0, Not (Arg0), Local0)
                            Return (Local0)
                        }


                        Method (MHQE, 0, NotSerialized)
                        {
                            Return (C4WR)
                        }


                        Method (MHGE, 0, NotSerialized)
                        {
                            If (LAnd (C4WR, C4AC))
                            {
                                Return (0x04)
                            }


                            Return (0x03)
                        }


                        Method (MHSE, 1, NotSerialized)
                        {
                            If (C4WR)
                            {
                                Store (C4AC, Local0)
                                If (LEqual (Arg0, 0x03))
                                {
                                    Store (Zero, C4AC)
                                    If (XOr (Local0, C4AC))
                                    {
                                        If (OSC4)
                                        {
                                            PNTF (0x81)
                                        }
                                    }
                                }
                                Else
                                {
                                    If (LEqual (Arg0, 0x04))
                                    {
                                        Store (One, C4AC)
                                        If (XOr (Local0, C4AC))
                                        {
                                            If (OSC4)
                                            {
                                                PNTF (0x81)
                                            }
                                        }
                                    }
                                }
                            }
                        }


                        Method (UAWO, 1, NotSerialized)
                        {
                            Return (UAWS (Arg0))
                        }
                    }


                    Scope (HKEY)
                    {
                        Name (INDV, Zero)
                        Method (MHQI, 0, NotSerialized)
                        {
                            If (And (IPMS, One))
                            {
                                Or (INDV, One, INDV)
                            }


                            If (And (IPMS, 0x02))
                            {
                                Or (INDV, 0x02, INDV)
                            }


                            If (And (IPMS, 0x04))
                            {
                                Or (INDV, 0x0100, INDV)
                            }


                            If (And (IPMS, 0x08))
                            {
                                Or (INDV, 0x0200, INDV)
                            }


                            If (And (IPMS, 0x10))
                            {
                                Or (INDV, 0x04, INDV)
                            }


                            Return (INDV)
                        }


                        Method (MHGI, 1, NotSerialized)
                        {
                            Name (RETB, Buffer (0x10) {})
                            CreateByteField (RETB, Zero, MHGS)
                            ShiftLeft (One, Arg0, Local0)
                            If (And (INDV, Local0))
                            {
                                If (LEqual (Arg0, Zero))
                                {
                                    CreateField (RETB, 0x08, 0x78, BRBU)
                                    Store (IPMB, BRBU)
                                    Store (0x10, MHGS)
                                }
                                Else
                                {
                                    If (LEqual (Arg0, One))
                                    {
                                        CreateField (RETB, 0x08, 0x18, RRBU)
                                        Store (IPMR, RRBU)
                                        Store (0x04, MHGS)
                                    }
                                    Else
                                    {
                                        If (LEqual (Arg0, 0x08))
                                        {
                                            CreateField (RETB, 0x10, 0x18, ODBU)
                                            CreateByteField (RETB, One, MHGZ)
                                            Store (IPMO, ODBU)
                                            If (LEqual (BDEV, 0x03))
                                            {
                                                If (H8DR)
                                                {
                                                    Store (HPBU, Local1)
                                                }
                                                Else
                                                {
                                                    And (RBEC (0x47), One, Local1)
                                                }


                                                If (LNot (Local1))
                                                {
                                                    Or (0x04, MHGZ, MHGZ)
                                                }


                                                If (LEqual (BSTS, Zero))
                                                {
                                                    Or (One, MHGZ, MHGZ)
                                                    Or (0x02, MHGZ, MHGZ)
                                                }
                                            }


                                            Store (0x05, MHGS)
                                        }
                                        Else
                                        {
                                            If (LEqual (Arg0, 0x09))
                                            {
                                                CreateField (RETB, 0x10, 0x08, AUBU)
                                                Store (IPMA, AUBU)
                                                Store (One, Index (RETB, One))
                                                Store (0x03, MHGS)
                                            }
                                            Else
                                            {
                                                If (LEqual (Arg0, 0x02))
                                                {
                                                    Store (VDYN (Zero, Zero), Local1)
                                                    And (Local1, 0x0F, Index (RETB, 0x02))
                                                    ShiftRight (Local1, 0x04, Local1)
                                                    And (Local1, 0x0F, Index (RETB, One))
                                                    Store (0x03, MHGS)
                                                }
                                            }
                                        }
                                    }
                                }
                            }


                            Return (RETB)
                        }


                        Method (MHSI, 2, NotSerialized)
                        {
                            ShiftLeft (One, Arg0, Local0)
                            If (And (INDV, Local0))
                            {
                                If (LEqual (Arg0, 0x08))
                                {
                                    If (Arg1)
                                    {
                                        If (H8DR)
                                        {
                                            Store (HPBU, Local1)
                                        }
                                        Else
                                        {
                                            And (RBEC (0x47), One, Local1)
                                        }


                                        If (LNot (Local1))
                                        {
                                            Store (BGID (Zero), BDEV)
                                            NBIN (Local1)
                                        }
                                    }
                                }
                                Else
                                {
                                    If (LEqual (Arg0, 0x02))
                                    {
                                        VDYN (One, Arg1)
                                    }
                                }
                            }
                        }
                    }


                    Scope (\_SB.PCI0.LPC.EC)
                    {
                        Method (_Q6A, 0, NotSerialized)  // _Qxx: EC Query
                        {
                            If (HDMC)
                            {
                                Noop
                            }
                            Else
                            {
                                If (^HKEY.MHKK (0x04000000))
                                {
                                    ^HKEY.MHKQ (0x101B)
                                }
                            }
                        }
                    }


                    Scope (HKEY)
                    {
                        Method (MMTG, 0, NotSerialized)
                        {
                            Store (0x0101, Local0)
                            If (HDMC)
                            {
                                Or (Local0, 0x00010000, Local0)
                            }


                            Return (Local0)
                        }


                        Method (MMTS, 1, NotSerialized)
                        {
                            If (HDMC)
                            {
                                Noop
                            }
                            Else
                            {
                                If (LEqual (Arg0, 0x02))
                                {
                                    LED (0x0E, 0x80)
                                }
                                Else
                                {
                                    If (LEqual (Arg0, 0x03))
                                    {
                                        LED (0x0E, 0xC0)
                                    }
                                    Else
                                    {
                                        LED (0x0E, Zero)
                                    }
                                }
                            }
                        }
                    }


                    Scope (HKEY)
                    {
                        Method (PWMC, 0, NotSerialized)
                        {
                            Return (One)
                        }


                        Method (PWMG, 0, NotSerialized)
                        {
                            Store (PWMH, Local0)
                            ShiftLeft (Local0, 0x08, Local0)
                            Or (Local0, PWML, Local0)
                            Return (Local0)
                        }
                    }


                    Scope (\_SB.PCI0.LPC.EC)
                    {
                        Method (_Q45, 0, NotSerialized)  // _Qxx: EC Query
                        {
                            If (DOCD)
                            {
                                Sleep (0x64)
                                If (EPWG)
                                {
                                    Noop
                                }
                                Else
                                {
                                    If (HPAC)
                                    {
                                        _Q27 ()
                                    }
                                }


                                ^HKEY.MHKQ (0x4010)
                            }
                            Else
                            {
                                Sleep (0x64)
                                If (HPAC)
                                {
                                    _Q26 ()
                                }


                                ^HKEY.MHKQ (0x4011)
                            }
                        }


                        Method (DKID, 0, NotSerialized)
                        {
                            Store (DOI0, Local0)
                            Store (DOI1, Local1)
                            Store (DOI2, Local2)
                            Or (Local0, ShiftLeft (Local1, One), Local0)
                            Or (Local0, ShiftLeft (Local2, 0x02), Local0)
                            Return (Local0)
                        }
                    }


                    Scope (HKEY)
                    {
                        Method (GDKS, 0, NotSerialized)
                        {
                            Store (Zero, Local0)
                            If (LEqual (DOCD, One))
                            {
                                Or (Local0, One, Local0)
                                Store (DKID (), Local1)
                                ShiftLeft (Local1, 0x08, Local1)
                                Or (Local0, Local1, Local0)
                            }


                            Return (Local0)
                        }
                    }


                    Scope (\_SB.PCI0.LPC.EC)
                    {
                        Method (_Q3F, 0, NotSerialized)  // _Qxx: EC Query
                        {
                            ^HKEY.MHKQ (0x6000)
                        }
                    }


                    Scope (HKEY)
                    {
                        Method (NUMG, 0, NotSerialized)
                        {
                            Store (One, Local0)
                            If (SNLK)
                            {
                                And (Local0, 0xFFFFFFFD, Local0)
                            }
                            Else
                            {
                                Or (Local0, 0x02, Local0)
                            }


                            If (NULS)
                            {
                                Or (Local0, 0x0100, Local0)
                            }
                            Else
                            {
                                And (Local0, 0xFFFFFEFF, Local0)
                            }


                            Return (Local0)
                        }
                    }
                }
            }


            Device (PEG)
            {
                Name (_ADR, 0x00010000)  // _ADR: Address
                Name (_S3D, 0x03)  // _S3D: S3 Device State
                Name (RID, Zero)
                Name (LART, Package (0x02)
                {
                    Package (0x04)
                    {
                        0xFFFF, 
                        Zero, 
                        LNKA, 
                        Zero
                    }, 


                    Package (0x04)
                    {
                        0xFFFF, 
                        One, 
                        LNKB, 
                        Zero
                    }
                })
                Name (AART, Package (0x02)
                {
                    Package (0x04)
                    {
                        0xFFFF, 
                        Zero, 
                        Zero, 
                        0x10
                    }, 


                    Package (0x04)
                    {
                        0xFFFF, 
                        One, 
                        Zero, 
                        0x11
                    }
                })
                Method (_PRT, 0, NotSerialized)  // _PRT: PCI Routing Table
                {
                    If (GPIC)
                    {
                        Return (AART)
                    }
                    Else
                    {
                        Return (LART)
                    }
                }


                Mutex (MDGS, 0x07)
                Name (VDEE, One)
                Name (VDDA, Buffer (0x04) {})
                CreateBitField (VDDA, Zero, VUPC)
                CreateBitField (VDDA, One, VQDL)
                CreateBitField (VDDA, 0x02, VQDC)
                CreateBitField (VDDA, 0x03, VQD0)
                CreateBitField (VDDA, 0x04, VQD1)
                CreateBitField (VDDA, 0x05, VQD2)
                CreateBitField (VDDA, 0x06, VQD3)
                CreateBitField (VDDA, 0x07, VQD4)
                CreateBitField (VDDA, 0x08, VQD5)
                CreateBitField (VDDA, 0x09, VSDL)
                CreateBitField (VDDA, 0x0A, VSDC)
                CreateBitField (VDDA, 0x0B, VSD0)
                CreateBitField (VDDA, 0x0C, VSD1)
                CreateBitField (VDDA, 0x0D, VSD2)
                CreateBitField (VDDA, 0x0E, VSD3)
                CreateBitField (VDDA, 0x0F, VSD4)
                CreateBitField (VDDA, 0x10, VSD5)
                CreateBitField (VDDA, 0x11, MSWT)
                CreateBitField (VDDA, 0x12, VWST)
                Device (VID)
                {
                    Name (_ADR, Zero)  // _ADR: Address
                    OperationRegion (VPCG, PCI_Config, Zero, 0x0100)
                    Field (VPCG, DWordAcc, NoLock, Preserve)
                    {
                        Offset (0x64), 
                        VPWR,   8
                    }


                    Name (_S3D, 0x03)  // _S3D: S3 Device State
                    Method (_INI, 0, NotSerialized)  // _INI: Initialize
                    {
                        VUPS (0x02)
                        Store (VCDL, VQDL)
                        Store (VCDC, VQDC)
                        Store (VCDT, VQD0)
                        Store (VCDD, VQD1)
                    }


                    Name (DGOS, Zero)
                    Method (_PS0, 0, NotSerialized)  // _PS0: Power State 0
                    {
                        If (^^^VID.ISOP ())
                        {
                            If (DGOS)
                            {
                                _ON ()
                                VHYB (0x09, Zero)
                                Store (Zero, HDAS)
                                SWTT (One)
                                Store (Zero, DGOS)
                            }
                        }
                    }


                    Method (_PS1, 0, NotSerialized)  // _PS1: Power State 1
                    {
                        Noop
                    }


                    Method (_PS2, 0, NotSerialized)  // _PS2: Power State 2
                    {
                        Noop
                    }


                    Method (_PS3, 0, NotSerialized)  // _PS3: Power State 3
                    {
                        If (^^^VID.ISOP ())
                        {
                            If (LEqual (OMPR, 0x03))
                            {
                                SWTT (Zero)
                                _OFF ()
                                Store (One, DGOS)
                                Store (0x02, OMPR)
                            }
                        }
                    }


                    Method (_ON, 0, NotSerialized)  // _ON_: Power On
                    {
                        VHYB (0x02, Zero)
                        VHYB (Zero, One)
                        Sleep (0x32)
                        VHYB (0x02, One)
                        VHYB (0x08, One)
                        Sleep (0xC8)
                        VHYB (0x04, Zero)
                        If (^^^VID.ISOP ())
                        {
                            MISA (0x11BA, 0xDF, Zero)
                        }
                    }


                    Method (_OFF, 0, NotSerialized)  // _OFF: Power Off
                    {
                        If (^^^VID.ISOP ())
                        {
                            MISA (0x11BA, 0xDF, 0x20)
                        }


                        VHYB (0x08, Zero)
                        VHYB (0x02, Zero)
                        VHYB (Zero, Zero)
                    }


                    Method (_STA, 0, NotSerialized)  // _STA: Status
                    {
                        If (^^^VID.ISOP ())
                        {
                            Return (0x0F)
                        }


                        If (And (RISA (0x118E), 0x02))
                        {
                            Return (0x0F)
                        }
                        Else
                        {
                            Return (Zero)
                        }
                    }


                    Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                    {
                        If (CMPB (Arg0, Buffer (0x10)
                                {
                                    /* 0000 */   0xF8, 0xD8, 0x86, 0xA4, 0xDA, 0x0B, 0x1B, 0x47,
                                    /* 0008 */   0xA7, 0x2B, 0x60, 0x42, 0xA6, 0xB5, 0xBE, 0xE0
                                }))
                        {
                            Return (NVOP (Arg0, Arg1, Arg2, Arg3))
                        }


                        Return (^^^VID._DSM (Arg0, Arg1, Arg2, Arg3))
                    }


                    Method (_IRC, 0, NotSerialized)  // _IRC: Inrush Current
                    {
                        Return (Zero)
                    }


                    OperationRegion (ATRP, SystemMemory, ATRB, 0x00010000)
                    Field (ATRP, AnyAcc, Lock, Preserve)
                    {
                        IDX0,   262144, 
                        IDX1,   262144
                    }


                    Method (_ROM, 2, Serialized)  // _ROM: Read-Only Memory
                    {
                        If (LGreaterEqual (Arg0, 0x8000))
                        {
                            Return (GETB (Subtract (Arg0, 0x8000), Arg1, IDX1))
                        }


                        If (LGreater (Add (Arg0, Arg1), 0x8000))
                        {
                            Subtract (0x8000, Arg0, Local0)
                            Subtract (Arg1, Local0, Local1)
                            Store (GETB (Arg0, Local0, IDX0), Local3)
                            Store (GETB (Zero, Local1, IDX1), Local4)
                            Concatenate (Local3, Local4, Local5)
                            Return (Local5)
                        }


                        Return (GETB (Arg0, Arg1, IDX0))
                    }


                    Method (GETB, 3, Serialized)
                    {
                        Multiply (Arg0, 0x08, Local0)
                        Multiply (Arg1, 0x08, Local1)
                        CreateField (Arg2, Local0, Local1, TBF3)
                        Return (TBF3)
                    }


                    Method (VSWT, 0, NotSerialized)
                    {
                        If (WVIS)
                        {
                            Store (VEVT (0x07), Local0)
                        }
                        Else
                        {
                            Store (VEVT (0x05), Local0)
                        }


                        And (0xFF, Local0, Local1)
                        If (Local1)
                        {
                            ASWT (Local1, One)
                        }
                    }


                    Method (VLOC, 1, NotSerialized)
                    {
                        If (LEqual (Arg0, ^^^^LID._LID ()))
                        {
                            VSLD (Arg0)
                            If (LEqual (And (VPWR, 0x03), Zero))
                            {
                                If (Arg0)
                                {
                                    Store (VEVT (One), Local0)
                                }
                                Else
                                {
                                    Store (VEVT (0x02), Local0)
                                }


                                And (0x0F, Local0, Local1)
                                If (Local1)
                                {
                                    ASWT (Local1, Zero)
                                }
                            }
                        }
                    }


                    Method (_DOS, 1, NotSerialized)  // _DOS: Disable Output Switching
                    {
                        If (LEqual (Arg0, 0x02))
                        {
                            Store (0x14, Local0)
                            While (Local0)
                            {
                                Decrement (Local0)
                                Acquire (MDGS, 0xFFFF)
                                If (LEqual (Zero, MSWT))
                                {
                                    Store (One, MSWT)
                                    Store (Zero, Local0)
                                    Store (Arg0, VDEE)
                                }


                                Release (MDGS)
                                Sleep (0xC8)
                            }
                        }
                        Else
                        {
                            Acquire (MDGS, 0xFFFF)
                            If (LEqual (VDEE, 0x02))
                            {
                                Store (Zero, MSWT)
                            }


                            If (LGreater (Arg0, 0x02))
                            {
                                Store (One, VDEE)
                            }
                            Else
                            {
                                Store (Arg0, VDEE)
                            }


                            Release (MDGS)
                        }
                    }


                    Method (_DOD, 0, NotSerialized)  // _DOD: Display Output Devices
                    {
                        If (^^^VID.ISOP ())
                        {
                            Return (Package (0x04)
                            {
                                0x80086342, 
                                0x80087343, 
                                0x80086354, 
                                0x80087355
                            })
                        }


                        If (WVIS)
                        {
                            Return (Package (0x08)
                            {
                                0x80000100, 
                                0x80006330, 
                                0x80007331, 
                                0x80086342, 
                                0x80087343, 
                                0x80086354, 
                                0x80087355, 
                                0x80000410
                            })
                        }
                        Else
                        {
                            Return (Package (0x08)
                            {
                                0x0100, 
                                0x0114, 
                                0x0111, 
                                0x0115, 
                                0x0112, 
                                0x0116, 
                                0x0113, 
                                0x0110
                            })
                        }
                    }


                    Method (MXDS, 1, NotSerialized)
                    {
                        If (LNot (Arg0))
                        {
                            Return (LNot (LNot (And (RISA (0x11BA), 0x10))))
                        }
                        Else
                        {
                            SWTT (One)
                            MISA (0x11BA, 0xAB, 0x10)
                        }
                    }


                    Method (MXMX, 1, NotSerialized)
                    {
                        While (One)
                        {
                            Name (_T_0, Zero)  // _T_x: Emitted by ASL Compiler
                            Store (ToInteger (Arg0), _T_0)
                            If (LEqual (_T_0, Zero))
                            {
                                MISA (0x11BA, 0x9F, Zero)
                            }
                            Else
                            {
                                If (LEqual (_T_0, 0x02))
                                {
                                    Return (LEqual (And (RISA (0x11BA), 0x40), Zero))
                                }
                            }


                            Break
                        }


                        Return (One)
                    }


                    Method (ASWT, 2, NotSerialized)
                    {
                        If (LEqual (One, VDEE))
                        {
                            And (One, Arg1, Local1)
                            VSDS (Arg0, Local1)
                        }
                        Else
                        {
                            Store (0x14, Local0)
                            While (Local0)
                            {
                                Decrement (Local0)
                                Acquire (MDGS, 0xFFFF)
                                If (LEqual (Zero, MSWT))
                                {
                                    Store (Zero, Local0)
                                    If (And (One, Arg1))
                                    {
                                        Store (One, VUPC)
                                    }
                                    Else
                                    {
                                        Store (Zero, VUPC)
                                    }


                                    If (And (One, Arg0))
                                    {
                                        Store (One, VQDL)
                                    }
                                    Else
                                    {
                                        Store (Zero, VQDL)
                                    }


                                    If (And (0x02, Arg0))
                                    {
                                        Store (One, VQDC)
                                    }
                                    Else
                                    {
                                        Store (Zero, VQDC)
                                    }


                                    If (And (0x04, Arg0))
                                    {
                                        Store (One, VQD0)
                                    }
                                    Else
                                    {
                                        Store (Zero, VQD0)
                                    }


                                    If (And (0x08, Arg0))
                                    {
                                        Store (One, VQD1)
                                    }
                                    Else
                                    {
                                        Store (Zero, VQD1)
                                    }


                                    If (And (0x10, Arg0))
                                    {
                                        Store (One, VQD2)
                                    }
                                    Else
                                    {
                                        Store (Zero, VQD2)
                                    }


                                    If (And (0x20, Arg0))
                                    {
                                        Store (One, VQD3)
                                    }
                                    Else
                                    {
                                        Store (Zero, VQD3)
                                    }


                                    If (And (0x40, Arg0))
                                    {
                                        Store (One, VQD4)
                                    }
                                    Else
                                    {
                                        Store (Zero, VQD4)
                                    }


                                    If (And (0x80, Arg0))
                                    {
                                        Store (One, VQD5)
                                    }
                                    Else
                                    {
                                        Store (Zero, VQD5)
                                    }
                                }


                                Release (MDGS)
                                Sleep (0xC8)
                            }


                            If (And (0x02, Arg1))
                            {
                                Notify (VID, 0x81)
                            }
                            Else
                            {
                                Notify (VID, 0x80)
                            }
                        }
                    }


                    Method (VDSW, 1, NotSerialized)
                    {
                        If (LEqual (VPWR, Zero))
                        {
                            If (Arg0)
                            {
                                Store (VEVT (0x03), Local0)
                            }
                            Else
                            {
                                Store (VEVT (0x04), Local0)
                            }


                            And (0x0F, Local0, Local1)
                            If (Local1)
                            {
                                ASWT (Local1, Zero)
                            }
                        }
                    }


                    Device (LCD0)
                    {
                        Method (_ADR, 0, NotSerialized)  // _ADR: Address
                        {
                            If (WVIS)
                            {
                                If (^^^^VID.ISHV ())
                                {
                                    Return (0x0410)
                                }
                                Else
                                {
                                    Return (0x80000410)
                                }
                            }
                            Else
                            {
                                Return (0x0110)
                            }
                        }


                        Method (_DCS, 0, NotSerialized)  // _DCS: Display Current Status
                        {
                            VUPS (Zero)
                            If (VCDL)
                            {
                                Return (0x1F)
                            }
                            Else
                            {
                                Return (0x1D)
                            }
                        }


                        Method (_DGS, 0, NotSerialized)  // _DGS: Display Graphics State
                        {
                            Return (VQDL)
                        }


                        Method (_DSS, 1, NotSerialized)  // _DSS: Device Set State
                        {
                            And (Arg0, One, VSDL)
                            If (And (Arg0, 0x80000000))
                            {
                                If (And (Arg0, 0x40000000))
                                {
                                    DSWT (0x02)
                                }
                                Else
                                {
                                    DSWT (One)
                                }
                            }
                        }
                    }


                    Device (CRT0)
                    {
                        Method (_ADR, 0, NotSerialized)  // _ADR: Address
                        {
                            If (WVIS)
                            {
                                Return (0x80000100)
                            }
                            Else
                            {
                                Return (0x0100)
                            }
                        }


                        Method (_DCS, 0, NotSerialized)  // _DCS: Display Current Status
                        {
                            VUPS (One)
                            If (VCSS)
                            {
                                If (VCDC)
                                {
                                    Return (0x1F)
                                }
                                Else
                                {
                                    Return (0x1D)
                                }
                            }
                            Else
                            {
                                If (VCDC)
                                {
                                    Return (0x0F)
                                }
                                Else
                                {
                                    Return (0x0D)
                                }
                            }
                        }


                        Method (_DGS, 0, NotSerialized)  // _DGS: Display Graphics State
                        {
                            Return (VQDC)
                        }


                        Method (_DSS, 1, NotSerialized)  // _DSS: Device Set State
                        {
                            And (Arg0, One, VSDC)
                            If (And (Arg0, 0x80000000))
                            {
                                If (And (Arg0, 0x40000000))
                                {
                                    DSWT (0x02)
                                }
                                Else
                                {
                                    DSWT (One)
                                }
                            }
                        }
                    }


                    Device (DVI0)
                    {
                        Method (_ADR, 0, NotSerialized)  // _ADR: Address
                        {
                            If (WVIS)
                            {
                                Return (0x80007331)
                            }
                            Else
                            {
                                Return (0x0111)
                            }
                        }


                        Method (_DCS, 0, NotSerialized)  // _DCS: Display Current Status
                        {
                            VUPS (Zero)
                            If (VCDD)
                            {
                                Return (0x1F)
                            }
                            Else
                            {
                                Return (0x1D)
                            }
                        }


                        Method (_DGS, 0, NotSerialized)  // _DGS: Display Graphics State
                        {
                            Return (VQD1)
                        }


                        Method (_DSS, 1, NotSerialized)  // _DSS: Device Set State
                        {
                            And (Arg0, One, VSD1)
                            If (And (Arg0, 0x80000000))
                            {
                                If (And (Arg0, 0x40000000))
                                {
                                    DSWT (0x02)
                                }
                                Else
                                {
                                    DSWT (One)
                                }
                            }
                        }
                    }


                    Device (DP0)
                    {
                        Method (_ADR, 0, NotSerialized)  // _ADR: Address
                        {
                            If (WVIS)
                            {
                                Return (0x80006330)
                            }
                            Else
                            {
                                Return (0x0114)
                            }
                        }


                        Method (_DCS, 0, NotSerialized)  // _DCS: Display Current Status
                        {
                            VUPS (Zero)
                            If (VCDT)
                            {
                                Return (0x1F)
                            }
                            Else
                            {
                                Return (0x1D)
                            }
                        }


                        Method (_DGS, 0, NotSerialized)  // _DGS: Display Graphics State
                        {
                            Return (VQD0)
                        }


                        Method (_DSS, 1, NotSerialized)  // _DSS: Device Set State
                        {
                            And (Arg0, One, VSD0)
                            If (And (Arg0, 0x80000000))
                            {
                                If (And (Arg0, 0x40000000))
                                {
                                    DSWT (0x02)
                                }
                                Else
                                {
                                    DSWT (One)
                                }
                            }
                        }
                    }


                    Device (DVI1)
                    {
                        Method (_ADR, 0, NotSerialized)  // _ADR: Address
                        {
                            If (WVIS)
                            {
                                Return (0x80087355)
                            }
                            Else
                            {
                                Return (0x0112)
                            }
                        }


                        Method (_DCS, 0, NotSerialized)  // _DCS: Display Current Status
                        {
                            VUPS (Zero)
                            If (VCDD)
                            {
                                Return (0x1F)
                            }
                            Else
                            {
                                Return (0x1D)
                            }
                        }


                        Method (_DGS, 0, NotSerialized)  // _DGS: Display Graphics State
                        {
                            Return (VQD3)
                        }


                        Method (_DSS, 1, NotSerialized)  // _DSS: Device Set State
                        {
                            And (Arg0, One, VSD3)
                            If (And (Arg0, 0x80000000))
                            {
                                If (And (Arg0, 0x40000000))
                                {
                                    DSWT (0x02)
                                }
                                Else
                                {
                                    DSWT (One)
                                }
                            }
                        }
                    }


                    Device (DP1)
                    {
                        Method (_ADR, 0, NotSerialized)  // _ADR: Address
                        {
                            If (WVIS)
                            {
                                Return (0x80086342)
                            }
                            Else
                            {
                                Return (0x0115)
                            }
                        }


                        Method (_DCS, 0, NotSerialized)  // _DCS: Display Current Status
                        {
                            VUPS (Zero)
                            If (VCDT)
                            {
                                Return (0x1F)
                            }
                            Else
                            {
                                Return (0x1D)
                            }
                        }


                        Method (_DGS, 0, NotSerialized)  // _DGS: Display Graphics State
                        {
                            Return (VQD2)
                        }


                        Method (_DSS, 1, NotSerialized)  // _DSS: Device Set State
                        {
                            And (Arg0, One, VSD2)
                            If (And (Arg0, 0x80000000))
                            {
                                If (And (Arg0, 0x40000000))
                                {
                                    DSWT (0x02)
                                }
                                Else
                                {
                                    DSWT (One)
                                }
                            }
                        }
                    }


                    Device (DVI2)
                    {
                        Method (_ADR, 0, NotSerialized)  // _ADR: Address
                        {
                            If (WVIS)
                            {
                                Return (0x80087343)
                            }
                            Else
                            {
                                Return (0x0113)
                            }
                        }


                        Method (_DCS, 0, NotSerialized)  // _DCS: Display Current Status
                        {
                            VUPS (Zero)
                            If (VCDD)
                            {
                                Return (0x1F)
                            }
                            Else
                            {
                                Return (0x1D)
                            }
                        }


                        Method (_DGS, 0, NotSerialized)  // _DGS: Display Graphics State
                        {
                            Return (VQD5)
                        }


                        Method (_DSS, 1, NotSerialized)  // _DSS: Device Set State
                        {
                            And (Arg0, One, VSD5)
                            If (And (Arg0, 0x80000000))
                            {
                                If (And (Arg0, 0x40000000))
                                {
                                    DSWT (0x02)
                                }
                                Else
                                {
                                    DSWT (One)
                                }
                            }
                        }
                    }


                    Device (DP2)
                    {
                        Method (_ADR, 0, NotSerialized)  // _ADR: Address
                        {
                            If (WVIS)
                            {
                                Return (0x80086354)
                            }
                            Else
                            {
                                Return (0x0116)
                            }
                        }


                        Method (_DCS, 0, NotSerialized)  // _DCS: Display Current Status
                        {
                            VUPS (Zero)
                            If (VCDT)
                            {
                                Return (0x1F)
                            }
                            Else
                            {
                                Return (0x1D)
                            }
                        }


                        Method (_DGS, 0, NotSerialized)  // _DGS: Display Graphics State
                        {
                            Return (VQD4)
                        }


                        Method (_DSS, 1, NotSerialized)  // _DSS: Device Set State
                        {
                            And (Arg0, One, VSD4)
                            If (And (Arg0, 0x80000000))
                            {
                                If (And (Arg0, 0x40000000))
                                {
                                    DSWT (0x02)
                                }
                                Else
                                {
                                    DSWT (One)
                                }
                            }
                        }
                    }


                    Method (DSWT, 1, NotSerialized)
                    {
                        If (VSDL)
                        {
                            Store (One, Local0)
                        }
                        Else
                        {
                            Store (Zero, Local0)
                        }


                        If (VSDC)
                        {
                            Or (0x02, Local0, Local0)
                        }


                        If (VSD0)
                        {
                            Or (0x08, Local0, Local0)
                        }


                        If (Local0)
                        {
                            If (VUPC)
                            {
                                VSDS (Local0, Arg0)
                            }
                        }
                        Else
                        {
                            Noop
                        }
                    }
                }


                Scope (^^PCI0)
                {
                    Device (WMI1)
                    {
                        Name (_HID, "PNP0C14")  // _HID: Hardware ID
                        Name (_UID, "MXM2")  // _UID: Unique ID
                        Name (_WDG, Buffer (0x0190)
                        {
                            /* 0000 */   0x3C, 0x5C, 0xCB, 0xF6, 0xAE, 0x9C, 0xBD, 0x4E,
                            /* 0008 */   0xB5, 0x77, 0x93, 0x1E, 0xA3, 0x2A, 0x2C, 0xC0,
                            /* 0010 */   0x4D, 0x58, 0x01, 0x02, 0x40, 0x2F, 0x1A, 0x92,
                            /* 0018 */   0xC4, 0x0D, 0x2D, 0x40, 0xAC, 0x18, 0xB4, 0x84,
                            /* 0020 */   0x44, 0xEF, 0x9E, 0xD2, 0xD0, 0x00, 0x01, 0x08,
                            /* 0028 */   0x61, 0xD3, 0x2A, 0xC1, 0xA9, 0x9F, 0x74, 0x4C,
                            /* 0030 */   0x90, 0x1F, 0x95, 0xCB, 0x09, 0x45, 0xCF, 0x3E,
                            /* 0038 */   0xD9, 0x00, 0x01, 0x08, 0x64, 0x35, 0x4F, 0xEF,
                            /* 0040 */   0xC8, 0x48, 0x94, 0x48, 0x85, 0xC8, 0xB4, 0x6C,
                            /* 0048 */   0x26, 0xB8, 0x42, 0xC0, 0xDA, 0x00, 0x01, 0x08,
                            /* 0050 */   0x06, 0x80, 0x84, 0x42, 0x86, 0x88, 0x0E, 0x49,
                            /* 0058 */   0x8C, 0x72, 0x2B, 0xDC, 0xA9, 0x3A, 0x8A, 0x09,
                            /* 0060 */   0xDB, 0x00, 0x01, 0x08, 0x62, 0xDE, 0x6B, 0xE0,
                            /* 0068 */   0x75, 0xEE, 0xF4, 0x48, 0xA5, 0x83, 0xB2, 0x3E,
                            /* 0070 */   0x69, 0xAB, 0xF8, 0x91, 0x80, 0x00, 0x01, 0x08,
                            /* 0078 */   0x0F, 0xBD, 0xDE, 0x3A, 0x5F, 0x0C, 0xED, 0x46,
                            /* 0080 */   0xAB, 0x2E, 0x04, 0x96, 0x2B, 0x4F, 0xDC, 0xBC,
                            /* 0088 */   0x81, 0x00, 0x01, 0x08, 0x54, 0x59, 0x06, 0x85,
                            /* 0090 */   0x14, 0x83, 0x06, 0x4A, 0x8B, 0xB4, 0xCC, 0xAB,
                            /* 0098 */   0x45, 0x03, 0x2E, 0x88, 0xE0, 0x00, 0x01, 0x08,
                            /* 00A0 */   0x3F, 0x5E, 0x8F, 0x02, 0x53, 0x88, 0xA5, 0x45,
                            /* 00A8 */   0x80, 0x47, 0x3D, 0x24, 0x62, 0xF5, 0xA7, 0x34,
                            /* 00B0 */   0xE1, 0x00, 0x01, 0x08, 0xEE, 0x63, 0x9E, 0x30,
                            /* 00B8 */   0xB0, 0xED, 0xB6, 0x4F, 0x91, 0x73, 0xF6, 0x80,
                            /* 00C0 */   0x01, 0x3E, 0x73, 0x11, 0xE2, 0x00, 0x01, 0x08,
                            /* 00C8 */   0xAA, 0x56, 0x52, 0x4A, 0x2C, 0x43, 0xAE, 0x4C,
                            /* 00D0 */   0xB4, 0x9F, 0xDC, 0xA7, 0x07, 0x62, 0x2B, 0xAD,
                            /* 00D8 */   0xE3, 0x00, 0x01, 0x08, 0xCC, 0x1D, 0x96, 0x67,
                            /* 00E0 */   0x83, 0x16, 0x21, 0x44, 0xA1, 0x54, 0x68, 0xED,
                            /* 00E8 */   0xE0, 0xFF, 0x90, 0xD2, 0xE4, 0x00, 0x01, 0x08,
                            /* 00F0 */   0x5A, 0x7C, 0xAD, 0xB9, 0xEF, 0x6F, 0x4C, 0x48,
                            /* 00F8 */   0x80, 0xD3, 0x59, 0xA9, 0x21, 0x73, 0x67, 0x50,
                            /* 0100 */   0xE5, 0x00, 0x01, 0x08, 0xE9, 0xB5, 0xD5, 0xF7,
                            /* 0108 */   0x93, 0xCD, 0x43, 0x46, 0x98, 0x98, 0xA4, 0x5B,
                            /* 0110 */   0x2F, 0x2A, 0xE3, 0xE5, 0xE6, 0x00, 0x01, 0x08,
                            /* 0118 */   0xC2, 0xE2, 0xA8, 0x69, 0x22, 0xF5, 0x3A, 0x46,
                            /* 0120 */   0x89, 0x08, 0xC7, 0xE4, 0x65, 0x39, 0xC8, 0xB1,
                            /* 0128 */   0xE7, 0x00, 0x01, 0x08, 0x1B, 0xA5, 0x46, 0xAF,
                            /* 0130 */   0x23, 0x5C, 0x43, 0x4C, 0x96, 0x09, 0x3C, 0xBB,
                            /* 0138 */   0x95, 0x53, 0xD5, 0xA5, 0xE8, 0x00, 0x01, 0x08,
                            /* 0140 */   0xF2, 0x22, 0xD8, 0xA6, 0x67, 0x3A, 0xC7, 0x4D,
                            /* 0148 */   0xAA, 0xD1, 0x55, 0x50, 0x2A, 0x61, 0x62, 0xE8,
                            /* 0150 */   0xE9, 0x00, 0x01, 0x08, 0x29, 0x0A, 0xD2, 0x99,
                            /* 0158 */   0x50, 0x93, 0x14, 0x41, 0xAA, 0x90, 0x28, 0xF0,
                            /* 0160 */   0xEB, 0x83, 0xD3, 0x08, 0xEA, 0x00, 0x01, 0x08,
                            /* 0168 */   0x66, 0x02, 0x22, 0x53, 0x55, 0x2F, 0x18, 0x4E,
                            /* 0170 */   0x9E, 0x9C, 0xD0, 0x8C, 0x67, 0x43, 0xD6, 0xFD,
                            /* 0178 */   0xEB, 0x00, 0x01, 0x08, 0x21, 0x12, 0x90, 0x05,
                            /* 0180 */   0x66, 0xD5, 0xD1, 0x11, 0xB2, 0xF0, 0x00, 0xA0,
                            /* 0188 */   0xC9, 0x06, 0x29, 0x10, 0x58, 0x4D, 0x01, 0x00
                        })
                        Method (WMMX, 3, NotSerialized)
                        {
                            CreateDWordField (Arg2, Zero, FUNC)
                            CreateDWordField (Arg2, 0x04, ARGS)
                            CreateDWordField (Arg2, 0x08, XARG)
                            If (LEqual (FUNC, 0x444F445F))
                            {
                                If (LEqual (Arg1, 0x10))
                                {
                                    Return (^^VID._DOD ())
                                }
                                Else
                                {
                                    Return (^^PEG.VID._DOD ())
                                }
                            }
                            Else
                            {
                                If (LEqual (FUNC, 0x5343445F))
                                {
                                    If (LGreaterEqual (SizeOf (Arg2), 0x08))
                                    {
                                        If (LEqual (ARGS, 0x80000100))
                                        {
                                            If (LEqual (Arg1, 0x10))
                                            {
                                                Return (^^VID.CRT0._DCS ())
                                            }
                                            Else
                                            {
                                                Return (^^PEG.VID.CRT0._DCS ())
                                            }
                                        }
                                        Else
                                        {
                                            If (LEqual (ARGS, 0x80007331))
                                            {
                                                If (LNotEqual (Arg1, 0x10))
                                                {
                                                    Return (^^PEG.VID.DVI0._DCS ())
                                                }
                                            }
                                        }
                                    }
                                }
                                Else
                                {
                                    If (LGreaterEqual (SizeOf (Arg2), 0x04))
                                    {
                                        If (LEqual (FUNC, 0x534F525F))
                                        {
                                            If (LGreaterEqual (SizeOf (Arg2), 0x08))
                                            {
                                                If (LEqual (Arg1, 0x10)) {}
                                                Else
                                                {
                                                    Return (^^PEG.VID._ROM (ARGS, XARG))
                                                }
                                            }
                                        }
                                        Else
                                        {
                                            If (LEqual (FUNC, 0x4D53445F))
                                            {
                                                If (LGreaterEqual (SizeOf (Arg2), 0x18))
                                                {
                                                    CreateField (Arg2, Zero, 0x80, MUID)
                                                    CreateDWordField (Arg2, 0x10, REVI)
                                                    CreateDWordField (Arg2, 0x14, SFNC)
                                                    CreateDWordField (Arg2, 0x18, YARG)
                                                    If (LNotEqual (Arg1, 0x10))
                                                    {
                                                        Return (^^VID._DSM (MUID, REVI, SFNC, YARG))
                                                    }
                                                }
                                            }
                                            Else
                                            {
                                                If (LEqual (FUNC, 0x584D584D))
                                                {
                                                    If (LGreaterEqual (SizeOf (Arg2), 0x08))
                                                    {
                                                        Return (One)
                                                    }
                                                }
                                                Else
                                                {
                                                    If (LEqual (FUNC, 0x5344584D))
                                                    {
                                                        If (LGreaterEqual (SizeOf (Arg2), 0x08))
                                                        {
                                                            If (LEqual (Arg1, 0x10))
                                                            {
                                                                Return (^^VID.MXDS (XARG))
                                                            }
                                                            Else
                                                            {
                                                                Return (^^PEG.VID.MXDS (XARG))
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }


                            Return (Zero)
                        }


                        Name (WQXM, Buffer (0x029C)
                        {
                            /* 0000 */   0x46, 0x4F, 0x4D, 0x42, 0x01, 0x00, 0x00, 0x00,
                            /* 0008 */   0x8B, 0x02, 0x00, 0x00, 0x0C, 0x08, 0x00, 0x00,
                            /* 0010 */   0x44, 0x53, 0x00, 0x01, 0x1A, 0x7D, 0xDA, 0x54,
                            /* 0018 */   0x18, 0xD2, 0x83, 0x00, 0x01, 0x06, 0x18, 0x42,
                            /* 0020 */   0x10, 0x05, 0x10, 0x8A, 0xE6, 0x80, 0x42, 0x04,
                            /* 0028 */   0x92, 0x43, 0xA4, 0x30, 0x30, 0x28, 0x0B, 0x20,
                            /* 0030 */   0x86, 0x90, 0x0B, 0x26, 0x26, 0x40, 0x04, 0x84,
                            /* 0038 */   0xBC, 0x0A, 0xB0, 0x29, 0xC0, 0x24, 0x88, 0xFA,
                            /* 0040 */   0xF7, 0x87, 0x28, 0x09, 0x0E, 0x25, 0x04, 0x42,
                            /* 0048 */   0x12, 0x05, 0x98, 0x17, 0xA0, 0x5B, 0x80, 0x61,
                            /* 0050 */   0x01, 0xB6, 0x05, 0x98, 0x16, 0xE0, 0x18, 0x92,
                            /* 0058 */   0x4A, 0x03, 0xA7, 0x04, 0x96, 0x02, 0x21, 0xA1,
                            /* 0060 */   0x02, 0x94, 0x0B, 0xF0, 0x2D, 0x40, 0x3B, 0xA2,
                            /* 0068 */   0x24, 0x0B, 0xB0, 0x0C, 0x23, 0x02, 0x8F, 0x82,
                            /* 0070 */   0xA1, 0x71, 0x68, 0xEC, 0x30, 0x2C, 0x13, 0x4C,
                            /* 0078 */   0x83, 0x38, 0x8C, 0xB2, 0x91, 0x45, 0x60, 0xDC,
                            /* 0080 */   0x4E, 0x05, 0xC8, 0x15, 0x20, 0x4C, 0x80, 0x78,
                            /* 0088 */   0x54, 0x61, 0x34, 0x07, 0x45, 0xE0, 0x42, 0x63,
                            /* 0090 */   0x64, 0x40, 0xC8, 0xA3, 0x00, 0xAB, 0xA3, 0xD0,
                            /* 0098 */   0xA4, 0x12, 0xD8, 0xBD, 0x00, 0x8D, 0x02, 0xB4,
                            /* 00A0 */   0x09, 0x70, 0x28, 0x40, 0xA1, 0x00, 0x6B, 0x18,
                            /* 00A8 */   0x72, 0x06, 0x21, 0x5B, 0xD8, 0xC2, 0x68, 0x50,
                            /* 00B0 */   0x80, 0x45, 0x14, 0x8D, 0xE0, 0x2C, 0x2A, 0x9E,
                            /* 00B8 */   0x93, 0x50, 0x02, 0xDA, 0x1B, 0x82, 0xF0, 0x8C,
                            /* 00C0 */   0xD9, 0x18, 0x9E, 0x10, 0x83, 0x54, 0x86, 0x21,
                            /* 00C8 */   0x88, 0xB8, 0x11, 0x8E, 0xA5, 0xFD, 0x41, 0x10,
                            /* 00D0 */   0xF9, 0xAB, 0xD7, 0xB8, 0x1D, 0x69, 0x34, 0xA8,
                            /* 00D8 */   0xB1, 0x26, 0x38, 0x76, 0x8F, 0xE6, 0x84, 0x3B,
                            /* 00E0 */   0x17, 0x20, 0x7D, 0x6E, 0x02, 0x39, 0xBA, 0xD3,
                            /* 00E8 */   0xA8, 0x73, 0xD0, 0x64, 0x78, 0x0C, 0x2B, 0xC1,
                            /* 00F0 */   0x7F, 0x80, 0x4F, 0x01, 0x78, 0xD7, 0x80, 0x9A,
                            /* 00F8 */   0xFE, 0xC1, 0x33, 0x41, 0x70, 0xA8, 0x21, 0x7A,
                            /* 0100 */   0xD4, 0xE1, 0x4E, 0xE0, 0xBC, 0x8E, 0x84, 0x41,
                            /* 0108 */   0x1C, 0xD1, 0x71, 0x63, 0x67, 0x75, 0x32, 0x07,
                            /* 0110 */   0x5D, 0xAA, 0x00, 0xB3, 0x07, 0x00, 0x0D, 0x2E,
                            /* 0118 */   0xC1, 0x69, 0x9F, 0x49, 0xE8, 0xF7, 0x80, 0xF3,
                            /* 0120 */   0xE9, 0x79, 0x6C, 0x6C, 0x10, 0xA8, 0x91, 0xF9,
                            /* 0128 */   0xFF, 0x0F, 0xED, 0x41, 0x9E, 0x56, 0xCC, 0x90,
                            /* 0130 */   0xCF, 0x02, 0x87, 0xC5, 0xC4, 0x1E, 0x19, 0xE8,
                            /* 0138 */   0x78, 0xC0, 0x7F, 0x00, 0x78, 0x34, 0x88, 0xF0,
                            /* 0140 */   0x66, 0xE0, 0xF9, 0x9A, 0x60, 0x50, 0x08, 0x39,
                            /* 0148 */   0x19, 0x0F, 0x4A, 0xCC, 0xF9, 0x80, 0xCC, 0x25,
                            /* 0150 */   0xC4, 0x43, 0xC0, 0x31, 0xC4, 0x08, 0x7A, 0x46,
                            /* 0158 */   0x45, 0x23, 0x6B, 0x22, 0x3E, 0x03, 0x78, 0xDC,
                            /* 0160 */   0x96, 0x05, 0x42, 0x09, 0x0C, 0xEC, 0x73, 0xC3,
                            /* 0168 */   0x3B, 0x84, 0x61, 0x71, 0xA3, 0x09, 0xEC, 0xF3,
                            /* 0170 */   0x85, 0x05, 0x0E, 0x0A, 0x05, 0xEB, 0xBB, 0x42,
                            /* 0178 */   0xCC, 0xE7, 0x81, 0xE3, 0x3C, 0x60, 0x0B, 0x9F,
                            /* 0180 */   0x28, 0x01, 0x3E, 0x24, 0x8F, 0x06, 0xDE, 0x20,
                            /* 0188 */   0xE1, 0x5B, 0x3F, 0x02, 0x10, 0xE0, 0x27, 0x06,
                            /* 0190 */   0x13, 0x58, 0x1E, 0x30, 0x7A, 0x94, 0xF6, 0x2B,
                            /* 0198 */   0x00, 0x21, 0xF8, 0x8B, 0xC5, 0x53, 0xC0, 0xEB,
                            /* 01A0 */   0x40, 0x84, 0x63, 0x81, 0x29, 0x72, 0x6C, 0x68,
                            /* 01A8 */   0x78, 0x7E, 0x70, 0x88, 0x1E, 0xF5, 0x5C, 0xC2,
                            /* 01B0 */   0x1F, 0x4D, 0x94, 0x53, 0x38, 0x1C, 0x1F, 0x39,
                            /* 01B8 */   0x8C, 0x10, 0xFE, 0x49, 0xE3, 0xC9, 0xC3, 0x9A,
                            /* 01C0 */   0xEF, 0x00, 0x9A, 0xD2, 0x5B, 0xC0, 0xFB, 0x83,
                            /* 01C8 */   0x47, 0x80, 0x11, 0x20, 0xE1, 0x68, 0x82, 0x89,
                            /* 01D0 */   0x7C, 0x3A, 0x01, 0xD5, 0xFF, 0xFF, 0x74, 0x02,
                            /* 01D8 */   0xB8, 0xBA, 0x01, 0x14, 0x37, 0x6A, 0x9D, 0x49,
                            /* 01E0 */   0x7C, 0x2C, 0xF1, 0xAD, 0xE4, 0xBC, 0x43, 0xC5,
                            /* 01E8 */   0x7F, 0x93, 0x78, 0x3A, 0xF1, 0x34, 0x1E, 0x4C,
                            /* 01F0 */   0x42, 0x44, 0x89, 0x18, 0x21, 0xA2, 0xEF, 0x27,
                            /* 01F8 */   0x46, 0x08, 0x15, 0x31, 0x6C, 0xA4, 0x37, 0x80,
                            /* 0200 */   0xE7, 0x13, 0xE3, 0x84, 0x08, 0xF4, 0x74, 0xC2,
                            /* 0208 */   0x42, 0x3E, 0x34, 0xA4, 0xE1, 0x74, 0x02, 0x50,
                            /* 0210 */   0xE0, 0xFF, 0x7F, 0x3A, 0x81, 0x1F, 0xF5, 0x74,
                            /* 0218 */   0x82, 0x1E, 0xAE, 0x4F, 0x19, 0x18, 0xE4, 0x03,
                            /* 0220 */   0xF2, 0xA9, 0xC3, 0xF7, 0x1F, 0x13, 0xF8, 0x78,
                            /* 0228 */   0xC2, 0x45, 0x1D, 0x4F, 0x50, 0xA7, 0x07, 0x1F,
                            /* 0230 */   0x4F, 0xD8, 0x19, 0xE1, 0x2C, 0x1E, 0x03, 0x7C,
                            /* 0238 */   0x3A, 0xC1, 0xDC, 0x13, 0x7C, 0x3A, 0x01, 0xDB,
                            /* 0240 */   0x68, 0x60, 0x1C, 0x4F, 0xC0, 0x77, 0x74, 0xC1,
                            /* 0248 */   0x1D, 0x4F, 0xC0, 0x30, 0x18, 0x18, 0xE7, 0x13,
                            /* 0250 */   0xE0, 0x31, 0x5E, 0xDC, 0x31, 0xC0, 0x43, 0xE0,
                            /* 0258 */   0x03, 0x78, 0xDC, 0x38, 0x3D, 0x2B, 0x9D, 0x14,
                            /* 0260 */   0xF2, 0x24, 0xC2, 0x07, 0x85, 0x39, 0xB0, 0xE0,
                            /* 0268 */   0x14, 0xDA, 0xF4, 0xA9, 0xD1, 0xA8, 0x55, 0x83,
                            /* 0270 */   0x32, 0x35, 0xCA, 0x34, 0xA8, 0xD5, 0xA7, 0x52,
                            /* 0278 */   0x63, 0xC6, 0xCE, 0x19, 0x0E, 0xF8, 0x10, 0xD0,
                            /* 0280 */   0x89, 0xC0, 0xF2, 0x9E, 0x0D, 0x02, 0xB1, 0x0C,
                            /* 0288 */   0x0A, 0x81, 0x58, 0xFA, 0xAB, 0x45, 0x20, 0x0E,
                            /* 0290 */   0x0E, 0xA2, 0xFF, 0x3F, 0x88, 0x23, 0xD2, 0x0A,
                            /* 0298 */   0xC4, 0xFF, 0x7F, 0x7F
                        })
                    }
                }


                OperationRegion (PEGC, PCI_Config, Zero, 0x0100)
                Field (PEGC, DWordAcc, NoLock, Preserve)
                {
                    Offset (0xEC), 
                    GMGP,   1, 
                    HPGP,   1, 
                    PMGP,   1
                }
            }


            Device (IIO1)
            {
                Name (_ADR, 0x00080000)  // _ADR: Address
                Name (RID, Zero)
                OperationRegion (IIOC, PCI_Config, Zero, 0x0100)
                Field (IIOC, DWordAcc, NoLock, Preserve)
                {
                    Offset (0xD0), 
                        ,   26, 
                    TOUD,   6
                }
            }


            Device (IGBE)
            {
                Name (_ADR, 0x00190000)  // _ADR: Address
                Name (_S3D, 0x03)  // _S3D: S3 Device State
                Name (RID, Zero)
                Name (_PRW, Package (0x02)  // _PRW: Power Resources for Wake
                {
                    0x0D, 
                    0x04
                })
            }


            Device (EXP1)
            {
                Name (_ADR, 0x001C0000)  // _ADR: Address
                Name (RID, Zero)
                OperationRegion (PECS, PCI_Config, Zero, 0x0100)
                Field (PECS, DWordAcc, NoLock, Preserve)
                {
                    Offset (0x62), 
                    PS,     1, 
                    PP,     1, 
                    Offset (0xDB), 
                        ,   7, 
                    PMCE,   1, 
                    Offset (0xDF), 
                        ,   7, 
                    PMCS,   1
                }


                Name (_PRW, Package (0x02)  // _PRW: Power Resources for Wake
                {
                    0x09, 
                    0x04
                })
                Name (LPRT, 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 (APRT, 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
                    }
                })
                Method (_PRT, 0, NotSerialized)  // _PRT: PCI Routing Table
                {
                    If (GPIC)
                    {
                        Return (APRT)
                    }
                    Else
                    {
                        Return (LPRT)
                    }
                }
            }


            Device (EXP2)
            {
                Name (_ADR, 0x001C0001)  // _ADR: Address
                Name (RID, Zero)
                OperationRegion (PECS, PCI_Config, Zero, 0x0100)
                Field (PECS, DWordAcc, NoLock, Preserve)
                {
                    Offset (0x62), 
                    PS,     1, 
                    PP,     1, 
                    Offset (0xDB), 
                        ,   7, 
                    PMCE,   1, 
                    Offset (0xDF), 
                        ,   7, 
                    PMCS,   1
                }


                Name (_PRW, Package (0x02)  // _PRW: Power Resources for Wake
                {
                    0x09, 
                    0x04
                })
                Name (LPRT, 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 (APRT, 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
                    }
                })
                Method (_PRT, 0, NotSerialized)  // _PRT: PCI Routing Table
                {
                    If (GPIC)
                    {
                        Return (APRT)
                    }
                    Else
                    {
                        Return (LPRT)
                    }
                }
            }


            Device (EXP3)
            {
                Name (_ADR, 0x001C0002)  // _ADR: Address
                Name (RID, Zero)
                OperationRegion (PECS, PCI_Config, Zero, 0x0100)
                Field (PECS, DWordAcc, NoLock, Preserve)
                {
                    Offset (0x62), 
                    PS,     1, 
                    PP,     1, 
                    Offset (0xDB), 
                        ,   7, 
                    PMCE,   1, 
                    Offset (0xDF), 
                        ,   7, 
                    PMCS,   1
                }


                Name (_PRW, Package (0x02)  // _PRW: Power Resources for Wake
                {
                    0x09, 
                    0x04
                })
                Name (LPRT, 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 (APRT, 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
                    }
                })
                Method (_PRT, 0, NotSerialized)  // _PRT: PCI Routing Table
                {
                    If (GPIC)
                    {
                        Return (APRT)
                    }
                    Else
                    {
                        Return (LPRT)
                    }
                }
            }


            Device (EXP4)
            {
                Name (_ADR, 0x001C0003)  // _ADR: Address
                Name (RID, Zero)
                OperationRegion (PECS, PCI_Config, Zero, 0x0100)
                Field (PECS, DWordAcc, NoLock, Preserve)
                {
                    Offset (0x5A), 
                        ,   3, 
                    PDC,    1, 
                        ,   2, 
                    PDS,    1, 
                    Offset (0x5B), 
                    Offset (0x62), 
                    PS,     1, 
                    PP,     1, 
                    Offset (0xDB), 
                        ,   6, 
                    HPCE,   1, 
                    PMCE,   1, 
                    Offset (0xDF), 
                        ,   6, 
                    HPCS,   1, 
                    PMCS,   1
                }


                Method (_INI, 0, NotSerialized)  // _INI: Initialize
                {
                    Store (PDS, PDSF)
                }


                Name (_PRW, Package (0x02)  // _PRW: Power Resources for Wake
                {
                    0x09, 
                    0x04
                })
                Name (LPRT, 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 (APRT, 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
                    }
                })
                Method (_PRT, 0, NotSerialized)  // _PRT: PCI Routing Table
                {
                    If (GPIC)
                    {
                        Return (APRT)
                    }
                    Else
                    {
                        Return (LPRT)
                    }
                }


                Name (PDSF, Zero)
                Device (SLOT)
                {
                    Name (_ADR, Zero)  // _ADR: Address
                    Method (_RMV, 0, NotSerialized)  // _RMV: Removal Status
                    {
                        Store (RPCI (0x80050000), Local0)
                        ShiftLeft (RPCI (0x80050001), 0x08, Local1)
                        ShiftLeft (RPCI (0x80050002), 0x10, Local2)
                        ShiftLeft (RPCI (0x80050003), 0x18, Local3)
                        Or (Local0, Local1, Local0)
                        Or (Local0, Local2, Local0)
                        Or (Local0, Local3, Local0)
                        If (LEqual (Local0, 0xE8221180))
                        {
                            Return (Zero)
                        }
                        Else
                        {
                            Return (One)
                        }
                    }
                }
            }


            Device (EXP5)
            {
                Name (_ADR, 0x001C0004)  // _ADR: Address
                Name (RID, Zero)
                OperationRegion (PECS, PCI_Config, Zero, 0x0100)
                Field (PECS, DWordAcc, NoLock, Preserve)
                {
                    Offset (0x62), 
                    PS,     1, 
                    PP,     1, 
                    Offset (0xDB), 
                        ,   7, 
                    PMCE,   1, 
                    Offset (0xDF), 
                        ,   7, 
                    PMCS,   1
                }


                Name (_PRW, Package (0x02)  // _PRW: Power Resources for Wake
                {
                    0x09, 
                    0x04
                })
                Name (LPRT, 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 (APRT, 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
                    }
                })
                Method (_PRT, 0, NotSerialized)  // _PRT: PCI Routing Table
                {
                    If (GPIC)
                    {
                        Return (APRT)
                    }
                    Else
                    {
                        Return (LPRT)
                    }
                }
            }


            Device (PCI1)
            {
                Name (_ADR, 0x001E0000)  // _ADR: Address
                Name (RID, Zero)
            }


            Device (SAT1)
            {
                Name (_ADR, 0x001F0002)  // _ADR: Address
                Name (_S3D, 0x03)  // _S3D: S3 Device State
                Name (RID, Zero)
            }


            Device (SAT2)
            {
                Name (_ADR, 0x001F0005)  // _ADR: Address
                Name (_S3D, 0x03)  // _S3D: S3 Device State
                Name (RID, Zero)
            }


            Device (SMBU)
            {
                Name (_ADR, 0x001F0003)  // _ADR: Address
                Name (_S3D, 0x03)  // _S3D: S3 Device State
                Name (RID, Zero)
            }


            Device (EHC1)
            {
                Name (_ADR, 0x001D0000)  // _ADR: Address
                Name (_S3D, 0x03)  // _S3D: S3 Device State
                Name (RID, Zero)
                OperationRegion (EHCS, PCI_Config, Zero, 0x0100)
                Field (EHCS, DWordAcc, NoLock, Preserve)
                {
                    Offset (0x62), 
                    PWKI,   1, 
                    PWUC,   8, 
                    Offset (0x64)
                }


                Name (_PR0, Package (0x01)  // _PR0: Power Resources for D0
                {
                    ^LPC.EC.PUBS
                })
                Name (_PR1, Package (0x01)  // _PR1: Power Resources for D1
                {
                    ^LPC.EC.PUBS
                })
                Name (_PR2, Package (0x01)  // _PR2: Power Resources for D2
                {
                    ^LPC.EC.PUBS
                })
                Method (_INI, 0, NotSerialized)  // _INI: Initialize
                {
                    Store (One, PWKI)
                    Store (0x23, PWUC)
                }


                Name (_PRW, Package (0x03)  // _PRW: Power Resources for Wake
                {
                    0x0D, 
                    0x03, 
                    ^LPC.EC.PUBS
                })
                Device (URTH)
                {
                    Name (_ADR, Zero)  // _ADR: Address
                    Device (URMH)
                    {
                        Name (_ADR, One)  // _ADR: Address
                        Name (_UPC, Package (0x04)  // _UPC: USB Port Capabilities
                        {
                            0xFF, 
                            0xFF, 
                            Zero, 
                            Zero
                        })
                        Name (_PLD, Package (0x01)  // _PLD: Physical Location of Device
                        {
                            Buffer (0x10)
                            {
                                /* 0000 */   0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                /* 0008 */   0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                                /*           Revision : 01     */
                                /*        IgnoreColor : 01     */
                                /*              Color : 000000 */
                                /*              Width : 0000   */
                                /*             Height : 0000   */
                                /*        UserVisible : 00     */
                                /*               Dock : 00     */
                                /*                Lid : 00     */
                                /*              Panel : 06     */
                                /*   VerticalPosition : 00     */
                                /* HorizontalPosition : 00     */
                                /*              Shape : 07     */
                                /*   GroupOrientation : 00     */
                                /*         GroupToken : 00     */
                                /*      GroupPosition : 00     */
                                /*                Bay : 00     */
                                /*          Ejectable : 00     */
                                /*  OspmEjectRequired : 00     */
                                /*      CabinetNumber : 00     */
                                /*     CardCageNumber : 00     */
                                /*          Reference : 00     */
                                /*           Rotation : 00     */
                                /*              Order : 00     */
                                /*     VerticalOffset : 0000   */
                                /*   HorizontalOffset : 0000   */
                            }
                        })
                        Device (PRT0)
                        {
                            Name (_ADR, One)  // _ADR: Address
                            Name (_UPC, Package (0x04)  // _UPC: USB Port Capabilities
                            {
                                0xFF, 
                                Zero, 
                                Zero, 
                                Zero
                            })
                            Name (_PLD, Package (0x01)  // _PLD: Physical Location of Device
                            {
                                Buffer (0x10)
                                {
                                    /* 0000 */   0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                    /* 0008 */   0x59, 0x0E, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00
                                    /*           Revision : 01     */
                                    /*        IgnoreColor : 01     */
                                    /*              Color : 000000 */
                                    /*              Width : 0000   */
                                    /*             Height : 0000   */
                                    /*        UserVisible : 01     */
                                    /*               Dock : 00     */
                                    /*                Lid : 00     */
                                    /*              Panel : 03     */
                                    /*   VerticalPosition : 01     */
                                    /* HorizontalPosition : 02     */
                                    /*              Shape : 03     */
                                    /*   GroupOrientation : 00     */
                                    /*         GroupToken : 00     */
                                    /*      GroupPosition : 00     */
                                    /*                Bay : 00     */
                                    /*          Ejectable : 01     */
                                    /*  OspmEjectRequired : 01     */
                                    /*      CabinetNumber : 00     */
                                    /*     CardCageNumber : 00     */
                                    /*          Reference : 00     */
                                    /*           Rotation : 00     */
                                    /*              Order : 00     */
                                    /*     VerticalOffset : 0000   */
                                    /*   HorizontalOffset : 0000   */
                                }
                            })
                        }


                        Device (PRT1)
                        {
                            Name (_ADR, 0x02)  // _ADR: Address
                            Name (_UPC, Package (0x04)  // _UPC: USB Port Capabilities
                            {
                                0xFF, 
                                Zero, 
                                Zero, 
                                Zero
                            })
                            Name (_PLD, Package (0x01)  // _PLD: Physical Location of Device
                            {
                                Buffer (0x10)
                                {
                                    /* 0000 */   0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                    /* 0008 */   0x11, 0x12, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00
                                    /*           Revision : 01     */
                                    /*        IgnoreColor : 01     */
                                    /*              Color : 000000 */
                                    /*              Width : 0000   */
                                    /*             Height : 0000   */
                                    /*        UserVisible : 01     */
                                    /*               Dock : 00     */
                                    /*                Lid : 00     */
                                    /*              Panel : 02     */
                                    /*   VerticalPosition : 00     */
                                    /* HorizontalPosition : 02     */
                                    /*              Shape : 04     */
                                    /*   GroupOrientation : 00     */
                                    /*         GroupToken : 00     */
                                    /*      GroupPosition : 00     */
                                    /*                Bay : 00     */
                                    /*          Ejectable : 01     */
                                    /*  OspmEjectRequired : 01     */
                                    /*      CabinetNumber : 00     */
                                    /*     CardCageNumber : 00     */
                                    /*          Reference : 00     */
                                    /*           Rotation : 00     */
                                    /*              Order : 00     */
                                    /*     VerticalOffset : 0000   */
                                    /*   HorizontalOffset : 0000   */
                                }
                            })
                        }


                        Device (PRT2)
                        {
                            Name (_ADR, 0x03)  // _ADR: Address
                            Name (_UPC, Package (0x04)  // _UPC: USB Port Capabilities
                            {
                                0xFF, 
                                0xFF, 
                                Zero, 
                                Zero
                            })
                            Name (_PLD, Package (0x01)  // _PLD: Physical Location of Device
                            {
                                Buffer (0x10)
                                {
                                    /* 0000 */   0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                    /* 0008 */   0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                                    /*           Revision : 01     */
                                    /*        IgnoreColor : 01     */
                                    /*              Color : 000000 */
                                    /*              Width : 0000   */
                                    /*             Height : 0000   */
                                    /*        UserVisible : 00     */
                                    /*               Dock : 00     */
                                    /*                Lid : 00     */
                                    /*              Panel : 06     */
                                    /*   VerticalPosition : 00     */
                                    /* HorizontalPosition : 00     */
                                    /*              Shape : 07     */
                                    /*   GroupOrientation : 00     */
                                    /*         GroupToken : 00     */
                                    /*      GroupPosition : 00     */
                                    /*                Bay : 00     */
                                    /*          Ejectable : 00     */
                                    /*  OspmEjectRequired : 00     */
                                    /*      CabinetNumber : 00     */
                                    /*     CardCageNumber : 00     */
                                    /*          Reference : 00     */
                                    /*           Rotation : 00     */
                                    /*              Order : 00     */
                                    /*     VerticalOffset : 0000   */
                                    /*   HorizontalOffset : 0000   */
                                }
                            })
                        }


                        Device (PRT3)
                        {
                            Name (_ADR, 0x04)  // _ADR: Address
                            Name (_UPC, Package (0x04)  // _UPC: USB Port Capabilities
                            {
                                0xFF, 
                                0xFF, 
                                Zero, 
                                Zero
                            })
                            Name (_PLD, Package (0x01)  // _PLD: Physical Location of Device
                            {
                                Buffer (0x10)
                                {
                                    /* 0000 */   0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                    /* 0008 */   0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                                    /*           Revision : 01     */
                                    /*        IgnoreColor : 01     */
                                    /*              Color : 000000 */
                                    /*              Width : 0000   */
                                    /*             Height : 0000   */
                                    /*        UserVisible : 00     */
                                    /*               Dock : 00     */
                                    /*                Lid : 00     */
                                    /*              Panel : 06     */
                                    /*   VerticalPosition : 00     */
                                    /* HorizontalPosition : 00     */
                                    /*              Shape : 07     */
                                    /*   GroupOrientation : 00     */
                                    /*         GroupToken : 00     */
                                    /*      GroupPosition : 00     */
                                    /*                Bay : 00     */
                                    /*          Ejectable : 00     */
                                    /*  OspmEjectRequired : 00     */
                                    /*      CabinetNumber : 00     */
                                    /*     CardCageNumber : 00     */
                                    /*          Reference : 00     */
                                    /*           Rotation : 00     */
                                    /*              Order : 00     */
                                    /*     VerticalOffset : 0000   */
                                    /*   HorizontalOffset : 0000   */
                                }
                            })
                        }


                        Device (PRT4)
                        {
                            Name (_ADR, 0x05)  // _ADR: Address
                            Name (_UPC, Package (0x04)  // _UPC: USB Port Capabilities
                            {
                                0xFF, 
                                0xFF, 
                                Zero, 
                                Zero
                            })
                            Name (_PLD, Package (0x01)  // _PLD: Physical Location of Device
                            {
                                Buffer (0x10)
                                {
                                    /* 0000 */   0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                    /* 0008 */   0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                                    /*           Revision : 01     */
                                    /*        IgnoreColor : 01     */
                                    /*              Color : 000000 */
                                    /*              Width : 0000   */
                                    /*             Height : 0000   */
                                    /*        UserVisible : 00     */
                                    /*               Dock : 00     */
                                    /*                Lid : 00     */
                                    /*              Panel : 06     */
                                    /*   VerticalPosition : 00     */
                                    /* HorizontalPosition : 00     */
                                    /*              Shape : 07     */
                                    /*   GroupOrientation : 00     */
                                    /*         GroupToken : 00     */
                                    /*      GroupPosition : 00     */
                                    /*                Bay : 00     */
                                    /*          Ejectable : 00     */
                                    /*  OspmEjectRequired : 00     */
                                    /*      CabinetNumber : 00     */
                                    /*     CardCageNumber : 00     */
                                    /*          Reference : 00     */
                                    /*           Rotation : 00     */
                                    /*              Order : 00     */
                                    /*     VerticalOffset : 0000   */
                                    /*   HorizontalOffset : 0000   */
                                }
                            })
                        }


                        Device (PRT5)
                        {
                            Name (_ADR, 0x06)  // _ADR: Address
                            Name (_UPC, Package (0x04)  // _UPC: USB Port Capabilities
                            {
                                0xFF, 
                                0x02, 
                                Zero, 
                                Zero
                            })
                            Name (_PLD, Package (0x01)  // _PLD: Physical Location of Device
                            {
                                Buffer (0x10)
                                {
                                    /* 0000 */   0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                    /* 0008 */   0x19, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00
                                    /*           Revision : 01     */
                                    /*        IgnoreColor : 01     */
                                    /*              Color : 000000 */
                                    /*              Width : 0000   */
                                    /*             Height : 0000   */
                                    /*        UserVisible : 01     */
                                    /*               Dock : 00     */
                                    /*                Lid : 00     */
                                    /*              Panel : 03     */
                                    /*   VerticalPosition : 00     */
                                    /* HorizontalPosition : 00     */
                                    /*              Shape : 04     */
                                    /*   GroupOrientation : 00     */
                                    /*         GroupToken : 00     */
                                    /*      GroupPosition : 00     */
                                    /*                Bay : 00     */
                                    /*          Ejectable : 01     */
                                    /*  OspmEjectRequired : 01     */
                                    /*      CabinetNumber : 00     */
                                    /*     CardCageNumber : 00     */
                                    /*          Reference : 00     */
                                    /*           Rotation : 00     */
                                    /*              Order : 00     */
                                    /*     VerticalOffset : 0000   */
                                    /*   HorizontalOffset : 0000   */
                                }
                            })
                        }


                        Device (PRT6)
                        {
                            Name (_ADR, 0x07)  // _ADR: Address
                            Name (_UPC, Package (0x04)  // _UPC: USB Port Capabilities
                            {
                                0xFF, 
                                0xFF, 
                                Zero, 
                                Zero
                            })
                            Name (_PLD, Package (0x01)  // _PLD: Physical Location of Device
                            {
                                Buffer (0x10)
                                {
                                    /* 0000 */   0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                    /* 0008 */   0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                                    /*           Revision : 01     */
                                    /*        IgnoreColor : 01     */
                                    /*              Color : 000000 */
                                    /*              Width : 0000   */
                                    /*             Height : 0000   */
                                    /*        UserVisible : 00     */
                                    /*               Dock : 00     */
                                    /*                Lid : 00     */
                                    /*              Panel : 06     */
                                    /*   VerticalPosition : 00     */
                                    /* HorizontalPosition : 00     */
                                    /*              Shape : 07     */
                                    /*   GroupOrientation : 00     */
                                    /*         GroupToken : 00     */
                                    /*      GroupPosition : 00     */
                                    /*                Bay : 00     */
                                    /*          Ejectable : 00     */
                                    /*  OspmEjectRequired : 00     */
                                    /*      CabinetNumber : 00     */
                                    /*     CardCageNumber : 00     */
                                    /*          Reference : 00     */
                                    /*           Rotation : 00     */
                                    /*              Order : 00     */
                                    /*     VerticalOffset : 0000   */
                                    /*   HorizontalOffset : 0000   */
                                }
                            })
                        }


                        Device (PRT7)
                        {
                            Name (_ADR, 0x08)  // _ADR: Address
                            Name (_UPC, Package (0x04)  // _UPC: USB Port Capabilities
                            {
                                0xFF, 
                                0xFF, 
                                Zero, 
                                Zero
                            })
                            Name (_PLD, Package (0x01)  // _PLD: Physical Location of Device
                            {
                                Buffer (0x10)
                                {
                                    /* 0000 */   0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                    /* 0008 */   0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                                    /*           Revision : 01     */
                                    /*        IgnoreColor : 01     */
                                    /*              Color : 000000 */
                                    /*              Width : 0000   */
                                    /*             Height : 0000   */
                                    /*        UserVisible : 00     */
                                    /*               Dock : 00     */
                                    /*                Lid : 00     */
                                    /*              Panel : 06     */
                                    /*   VerticalPosition : 00     */
                                    /* HorizontalPosition : 00     */
                                    /*              Shape : 07     */
                                    /*   GroupOrientation : 00     */
                                    /*         GroupToken : 00     */
                                    /*      GroupPosition : 00     */
                                    /*                Bay : 00     */
                                    /*          Ejectable : 00     */
                                    /*  OspmEjectRequired : 00     */
                                    /*      CabinetNumber : 00     */
                                    /*     CardCageNumber : 00     */
                                    /*          Reference : 00     */
                                    /*           Rotation : 00     */
                                    /*              Order : 00     */
                                    /*     VerticalOffset : 0000   */
                                    /*   HorizontalOffset : 0000   */
                                }
                            })
                        }
                    }
                }
            }


            Device (EHC2)
            {
                Name (_ADR, 0x001A0000)  // _ADR: Address
                Name (_S3D, 0x03)  // _S3D: S3 Device State
                Name (RID, Zero)
                OperationRegion (EHCS, PCI_Config, Zero, 0x0100)
                Field (EHCS, DWordAcc, NoLock, Preserve)
                {
                    Offset (0x62), 
                    PWKI,   1, 
                    PWUC,   6, 
                    Offset (0x64)
                }


                Name (_PR0, Package (0x01)  // _PR0: Power Resources for D0
                {
                    ^LPC.EC.PUBS
                })
                Name (_PR1, Package (0x01)  // _PR1: Power Resources for D1
                {
                    ^LPC.EC.PUBS
                })
                Name (_PR2, Package (0x01)  // _PR2: Power Resources for D2
                {
                    ^LPC.EC.PUBS
                })
                Method (_INI, 0, NotSerialized)  // _INI: Initialize
                {
                    Store (One, PWKI)
                    Store (0x13, PWUC)
                }


                Name (_PRW, Package (0x03)  // _PRW: Power Resources for Wake
                {
                    0x0D, 
                    0x03, 
                    ^LPC.EC.PUBS
                })
                Device (URTH)
                {
                    Name (_ADR, Zero)  // _ADR: Address
                    Device (URMH)
                    {
                        Name (_ADR, One)  // _ADR: Address
                        Name (_UPC, Package (0x04)  // _UPC: USB Port Capabilities
                        {
                            0xFF, 
                            0xFF, 
                            Zero, 
                            Zero
                        })
                        Name (_PLD, Package (0x01)  // _PLD: Physical Location of Device
                        {
                            Buffer (0x10)
                            {
                                /* 0000 */   0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                /* 0008 */   0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                                /*           Revision : 01     */
                                /*        IgnoreColor : 01     */
                                /*              Color : 000000 */
                                /*              Width : 0000   */
                                /*             Height : 0000   */
                                /*        UserVisible : 00     */
                                /*               Dock : 00     */
                                /*                Lid : 00     */
                                /*              Panel : 06     */
                                /*   VerticalPosition : 00     */
                                /* HorizontalPosition : 00     */
                                /*              Shape : 07     */
                                /*   GroupOrientation : 00     */
                                /*         GroupToken : 00     */
                                /*      GroupPosition : 00     */
                                /*                Bay : 00     */
                                /*          Ejectable : 00     */
                                /*  OspmEjectRequired : 00     */
                                /*      CabinetNumber : 00     */
                                /*     CardCageNumber : 00     */
                                /*          Reference : 00     */
                                /*           Rotation : 00     */
                                /*              Order : 00     */
                                /*     VerticalOffset : 0000   */
                                /*   HorizontalOffset : 0000   */
                            }
                        })
                        Device (PRT8)
                        {
                            Name (_ADR, One)  // _ADR: Address
                            Name (_UPC, Package (0x04)  // _UPC: USB Port Capabilities
                            {
                                0xFF, 
                                Zero, 
                                Zero, 
                                Zero
                            })
                            Name (_PLD, Package (0x01)  // _PLD: Physical Location of Device
                            {
                                Buffer (0x10)
                                {
                                    /* 0000 */   0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                    /* 0008 */   0x91, 0x11, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00
                                    /*           Revision : 01     */
                                    /*        IgnoreColor : 01     */
                                    /*              Color : 000000 */
                                    /*              Width : 0000   */
                                    /*             Height : 0000   */
                                    /*        UserVisible : 01     */
                                    /*               Dock : 00     */
                                    /*                Lid : 00     */
                                    /*              Panel : 02     */
                                    /*   VerticalPosition : 02     */
                                    /* HorizontalPosition : 01     */
                                    /*              Shape : 04     */
                                    /*   GroupOrientation : 00     */
                                    /*         GroupToken : 00     */
                                    /*      GroupPosition : 00     */
                                    /*                Bay : 00     */
                                    /*          Ejectable : 01     */
                                    /*  OspmEjectRequired : 01     */
                                    /*      CabinetNumber : 00     */
                                    /*     CardCageNumber : 00     */
                                    /*          Reference : 00     */
                                    /*           Rotation : 00     */
                                    /*              Order : 00     */
                                    /*     VerticalOffset : 0000   */
                                    /*   HorizontalOffset : 0000   */
                                }
                            })
                        }


                        Device (PRT9)
                        {
                            Name (_ADR, 0x02)  // _ADR: Address
                            Name (_UPC, Package (0x04)  // _UPC: USB Port Capabilities
                            {
                                0xFF, 
                                Zero, 
                                Zero, 
                                Zero
                            })
                            Name (_PLD, Package (0x01)  // _PLD: Physical Location of Device
                            {
                                Buffer (0x10)
                                {
                                    /* 0000 */   0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                    /* 0008 */   0x91, 0x12, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00
                                    /*           Revision : 01     */
                                    /*        IgnoreColor : 01     */
                                    /*              Color : 000000 */
                                    /*              Width : 0000   */
                                    /*             Height : 0000   */
                                    /*        UserVisible : 01     */
                                    /*               Dock : 00     */
                                    /*                Lid : 00     */
                                    /*              Panel : 02     */
                                    /*   VerticalPosition : 02     */
                                    /* HorizontalPosition : 02     */
                                    /*              Shape : 04     */
                                    /*   GroupOrientation : 00     */
                                    /*         GroupToken : 00     */
                                    /*      GroupPosition : 00     */
                                    /*                Bay : 00     */
                                    /*          Ejectable : 01     */
                                    /*  OspmEjectRequired : 01     */
                                    /*      CabinetNumber : 00     */
                                    /*     CardCageNumber : 00     */
                                    /*          Reference : 00     */
                                    /*           Rotation : 00     */
                                    /*              Order : 00     */
                                    /*     VerticalOffset : 0000   */
                                    /*   HorizontalOffset : 0000   */
                                }
                            })
                        }


                        Device (PRTA)
                        {
                            Name (_ADR, 0x03)  // _ADR: Address
                            Name (_UPC, Package (0x04)  // _UPC: USB Port Capabilities
                            {
                                0xFF, 
                                0xFF, 
                                Zero, 
                                Zero
                            })
                            Name (_PLD, Package (0x01)  // _PLD: Physical Location of Device
                            {
                                Buffer (0x10)
                                {
                                    /* 0000 */   0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                    /* 0008 */   0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                                    /*           Revision : 01     */
                                    /*        IgnoreColor : 01     */
                                    /*              Color : 000000 */
                                    /*              Width : 0000   */
                                    /*             Height : 0000   */
                                    /*        UserVisible : 00     */
                                    /*               Dock : 00     */
                                    /*                Lid : 00     */
                                    /*              Panel : 06     */
                                    /*   VerticalPosition : 00     */
                                    /* HorizontalPosition : 00     */
                                    /*              Shape : 07     */
                                    /*   GroupOrientation : 00     */
                                    /*         GroupToken : 00     */
                                    /*      GroupPosition : 00     */
                                    /*                Bay : 00     */
                                    /*          Ejectable : 00     */
                                    /*  OspmEjectRequired : 00     */
                                    /*      CabinetNumber : 00     */
                                    /*     CardCageNumber : 00     */
                                    /*          Reference : 00     */
                                    /*           Rotation : 00     */
                                    /*              Order : 00     */
                                    /*     VerticalOffset : 0000   */
                                    /*   HorizontalOffset : 0000   */
                                }
                            })
                        }


                        Device (PRTB)
                        {
                            Name (_ADR, 0x04)  // _ADR: Address
                            Name (_UPC, Package (0x04)  // _UPC: USB Port Capabilities
                            {
                                0xFF, 
                                0xFF, 
                                Zero, 
                                Zero
                            })
                            Name (_PLD, Package (0x01)  // _PLD: Physical Location of Device
                            {
                                Buffer (0x10)
                                {
                                    /* 0000 */   0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                    /* 0008 */   0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                                    /*           Revision : 01     */
                                    /*        IgnoreColor : 01     */
                                    /*              Color : 000000 */
                                    /*              Width : 0000   */
                                    /*             Height : 0000   */
                                    /*        UserVisible : 00     */
                                    /*               Dock : 00     */
                                    /*                Lid : 00     */
                                    /*              Panel : 06     */
                                    /*   VerticalPosition : 00     */
                                    /* HorizontalPosition : 00     */
                                    /*              Shape : 07     */
                                    /*   GroupOrientation : 00     */
                                    /*         GroupToken : 00     */
                                    /*      GroupPosition : 00     */
                                    /*                Bay : 00     */
                                    /*          Ejectable : 00     */
                                    /*  OspmEjectRequired : 00     */
                                    /*      CabinetNumber : 00     */
                                    /*     CardCageNumber : 00     */
                                    /*          Reference : 00     */
                                    /*           Rotation : 00     */
                                    /*              Order : 00     */
                                    /*     VerticalOffset : 0000   */
                                    /*   HorizontalOffset : 0000   */
                                }
                            })
                        }


                        Device (PRTC)
                        {
                            Name (_ADR, 0x05)  // _ADR: Address
                            Name (_UPC, Package (0x04)  // _UPC: USB Port Capabilities
                            {
                                0xFF, 
                                Zero, 
                                Zero, 
                                Zero
                            })
                            Name (_PLD, Package (0x01)  // _PLD: Physical Location of Device
                            {
                                Buffer (0x10)
                                {
                                    /* 0000 */   0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                    /* 0008 */   0x69, 0x11, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00
                                    /*           Revision : 01     */
                                    /*        IgnoreColor : 01     */
                                    /*              Color : 000000 */
                                    /*              Width : 0000   */
                                    /*             Height : 0000   */
                                    /*        UserVisible : 01     */
                                    /*               Dock : 00     */
                                    /*                Lid : 00     */
                                    /*              Panel : 05     */
                                    /*   VerticalPosition : 01     */
                                    /* HorizontalPosition : 01     */
                                    /*              Shape : 04     */
                                    /*   GroupOrientation : 00     */
                                    /*         GroupToken : 00     */
                                    /*      GroupPosition : 00     */
                                    /*                Bay : 00     */
                                    /*          Ejectable : 01     */
                                    /*  OspmEjectRequired : 01     */
                                    /*      CabinetNumber : 00     */
                                    /*     CardCageNumber : 00     */
                                    /*          Reference : 00     */
                                    /*           Rotation : 00     */
                                    /*              Order : 00     */
                                    /*     VerticalOffset : 0000   */
                                    /*   HorizontalOffset : 0000   */
                                }
                            })
                        }


                        Device (PRTD)
                        {
                            Name (_ADR, 0x06)  // _ADR: Address
                            Name (_UPC, Package (0x04)  // _UPC: USB Port Capabilities
                            {
                                0xFF, 
                                0xFF, 
                                Zero, 
                                Zero
                            })
                            Name (_PLD, Package (0x01)  // _PLD: Physical Location of Device
                            {
                                Buffer (0x10)
                                {
                                    /* 0000 */   0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                    /* 0008 */   0x30, 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                                    /*           Revision : 01     */
                                    /*        IgnoreColor : 01     */
                                    /*              Color : 000000 */
                                    /*              Width : 0000   */
                                    /*             Height : 0000   */
                                    /*        UserVisible : 00     */
                                    /*               Dock : 00     */
                                    /*                Lid : 00     */
                                    /*              Panel : 06     */
                                    /*   VerticalPosition : 00     */
                                    /* HorizontalPosition : 00     */
                                    /*              Shape : 07     */
                                    /*   GroupOrientation : 00     */
                                    /*         GroupToken : 00     */
                                    /*      GroupPosition : 00     */
                                    /*                Bay : 00     */
                                    /*          Ejectable : 00     */
                                    /*  OspmEjectRequired : 00     */
                                    /*      CabinetNumber : 00     */
                                    /*     CardCageNumber : 00     */
                                    /*          Reference : 00     */
                                    /*           Rotation : 00     */
                                    /*              Order : 00     */
                                    /*     VerticalOffset : 0000   */
                                    /*   HorizontalOffset : 0000   */
                                }
                            })
                        }
                    }
                }
            }


            Device (HDEF)
            {
                Name (_ADR, 0x001B0000)  // _ADR: Address
                Name (_S3D, 0x03)  // _S3D: S3 Device State
                Name (RID, Zero)
                Name (_PRW, Package (0x02)  // _PRW: Power Resources for Wake
                {
                    0x0D, 
                    0x04
                })
                Method (_PSW, 1, NotSerialized)  // _PSW: Power State Wake
                {
                    Noop
                }
            }
        }


        Scope (PCI0.LPC.EC)
        {
            Name (BDEV, 0xFF)
            Name (BSTS, Zero)
            Name (BHKE, Zero)
            Method (_Q2C, 0, NotSerialized)  // _Qxx: EC Query
            {
                If (LEqual (BSTS, Zero))
                {
                    Store (BGID (Zero), BDEV)
                    NBRE (BDEV)
                }
            }


            Method (_Q2D, 0, NotSerialized)  // _Qxx: EC Query
            {
                Store (BGID (Zero), BDEV)
                NBIN (BDEV)
            }


            Method (_Q38, 0, NotSerialized)  // _Qxx: EC Query
            {
                Store (BGID (Zero), Local0)
                If (LEqual (Local0, 0x0F))
                {
                    BDIS ()
                    BHDP (One, Zero)
                    NBEJ (BDEV)
                    Store (Local0, BDEV)
                    If (LEqual (BIDE, 0x03))
                    {
                        Store (Zero, ^^^SAT1.PRIM.GTME)
                        Store (Zero, ^^^SAT1.SCND.GTME)
                    }
                }
                Else
                {
                    If (HPBU) {}
                    Else
                    {
                        Store (Local0, BDEV)
                        NBIN (Local0)
                    }
                }
            }


            Name (ODEJ, Zero)
            Method (_Q44, 0, NotSerialized)  // _Qxx: EC Query
            {
                If (CSON)
                {
                    Store (One, ODEJ)
                    Store (BGID (Zero), BDEV)
                    NBIN (BDEV)
                    Store (Zero, ODEJ)
                    ^HKEY.MHKQ (0x3006)
                }
            }


            Method (NBRE, 1, NotSerialized)
            {
                If (LLess (Arg0, 0x0C))
                {
                    If (LEqual (BIDE, 0x03))
                    {
                        Notify (^^^SAT1.SCND.MSTR, 0x03)
                    }
                    Else
                    {
                        Notify (^^^SAT1.PRT1, 0x03)
                    }
                }


                If (LEqual (Arg0, 0x10))
                {
                    If (LOr (HPAC, HB0A))
                    {
                        If (WNTF)
                        {
                            Notify (BAT1, 0x03)
                        }
                    }
                    Else
                    {
                        BEEP (0x0F)
                        Store (0x02, BSTS)
                    }
                }
            }


            Method (NBEJ, 1, NotSerialized)
            {
                If (LEqual (BSTS, Zero))
                {
                    If (LLess (Arg0, 0x0C))
                    {
                        If (LEqual (BIDE, 0x03))
                        {
                            Notify (^^^SAT1.SCND.MSTR, One)
                        }
                        Else
                        {
                            Notify (^^^SAT1.PRT1, One)
                        }
                    }


                    If (LEqual (Arg0, 0x10))
                    {
                        If (WNTF)
                        {
                            Notify (BAT1, One)
                        }
                        Else
                        {
                            Notify (BAT1, 0x81)
                        }
                    }
                }


                BEEP (Zero)
                Store (Zero, BSTS)
            }


            Method (NBIN, 1, NotSerialized)
            {
                If (LLess (Arg0, 0x0C))
                {
                    BEN (One)
                    If (LEqual (BIDE, 0x03))
                    {
                        Notify (^^^SAT1.SCND.MSTR, One)
                    }
                    Else
                    {
                        Notify (^^^SAT1.PRT1, One)
                    }
                }


                If (LEqual (Arg0, 0x10))
                {
                    If (WNTF)
                    {
                        Store (One, ^BAT1.XB1S)
                        Notify (BAT1, One)
                    }
                    Else
                    {
                        Notify (BAT1, 0x81)
                    }
                }


                BEEP (Zero)
                Store (Zero, BSTS)
            }


            Method (BEJ0, 1, NotSerialized)
            {
                If (Arg0)
                {
                    BDIS ()
                    BHDP (One, Zero)
                    Store (One, BSTS)
                    If (BHKE)
                    {
                        Store (Zero, BHKE)
                        ^HKEY.MHKQ (0x3003)
                    }
                }
                Else
                {
                    Store (Zero, BSTS)
                }
            }


            Method (BEJ3, 1, NotSerialized)
            {
                If (Arg0)
                {
                    BDIS ()
                    Store (One, BSTS)
                }
                Else
                {
                    Store (Zero, BSTS)
                }
            }


            Method (BPTS, 1, NotSerialized)
            {
                Store (One, HDBM)
                If (LNotEqual (BSTS, Zero))
                {
                    Store (0x0F, BDEV)
                    Store (Zero, BSTS)
                }


                Store (Zero, BHKE)
                BUWK (Zero)
            }


            Method (BWAK, 1, NotSerialized)
            {
                BUWK (Zero)
                Store (BGID (Zero), Local0)
                If (LEqual (BSTS, Zero))
                {
                    If (LNotEqual (Local0, BDEV))
                    {
                        NBEJ (BDEV)
                        Store (Local0, BDEV)
                        NBIN (Local0)
                    }
                    Else
                    {
                        If (LOr (LFDC, LNotEqual (BDEV, 0x0D)))
                        {
                            If (LNotEqual (Local0, 0x0F))
                            {
                                If (HPBU)
                                {
                                    If (LLessEqual (Arg0, 0x02)) {}
                                    Else
                                    {
                                        NBRE (Local0)
                                    }
                                }
                            }
                        }
                    }
                }


                If (LLess (BDEV, 0x0C))
                {
                    Store (Zero, GLIS)
                }
                Else
                {
                    Store (One, GLIS)
                }
            }


            Method (BDIS, 0, NotSerialized)
            {
                If (LNot (CSON))
                {
                    If (LNot (GLIS))
                    {
                        Store (One, GLIS)
                    }


                    Store (One, CSON)
                    Store (0x0F, IDET)
                }
            }


            Method (BPON, 1, NotSerialized)
            {
                If (CSON)
                {
                    Store (Zero, CSON)
                    If (GLIS)
                    {
                        Store (Zero, GLIS)
                    }
                }
            }


            Method (BEN, 1, NotSerialized)
            {
                If (CSON)
                {
                    BPON (Arg0)
                    If (LAnd (Arg0, LEqual (ODEJ, One)))
                    {
                        Store (0x09, HANT)
                    }


                    If (Arg0)
                    {
                        IRDY ()
                    }
                }
            }


            Method (BSTA, 1, NotSerialized)
            {
                If (CSON)
                {
                    Return (Zero)
                }


                BINI ()
                If (LEqual (Arg0, One))
                {
                    Return (LLess (BDEV, 0x0C))
                }


                Return (Zero)
            }


            Method (BUWK, 1, NotSerialized)
            {
                If (H8DR)
                {
                    If (Arg0)
                    {
                        Store (One, HWBU)
                    }
                    Else
                    {
                        Store (Zero, HWBU)
                    }
                }
                Else
                {
                    If (Arg0)
                    {
                        MBEC (0x32, 0xFF, 0x80)
                    }
                    Else
                    {
                        MBEC (0x32, 0x7F, Zero)
                    }
                }
            }


            Method (BINI, 0, NotSerialized)
            {
                If (LEqual (BDEV, 0xFF))
                {
                    Store (BGID (Zero), BDEV)
                }
            }


            Method (BGID, 1, NotSerialized)
            {
                If (Arg0)
                {
                    Store (0xFF, Local0)
                }
                Else
                {
                    If (H8DR)
                    {
                        Store (HPBU, Local1)
                        Store (HBID, Local2)
                    }
                    Else
                    {
                        Store (RBEC (0x47), Local2)
                        And (Local2, One, Local1)
                        And (Local2, 0x04, Local2)
                        ShiftRight (Local2, 0x02, Local2)
                    }


                    If (Local2)
                    {
                        Store (0x0F, Local0)
                    }
                    Else
                    {
                        If (HDUB)
                        {
                            Store (0x0F, Local0)
                        }
                        Else
                        {
                            If (LOr (LEqual (IDET, 0x03), LEqual (IDET, 0x06)))
                            {
                                Store (IDET, Local0)
                            }
                            Else
                            {
                                Store (0x07, Local0)
                            }
                        }
                    }


                    If (LEqual (Local0, 0x0F))
                    {
                        If (H8DR)
                        {
                            If (HB1A)
                            {
                                Store (0x10, Local0)
                            }
                        }
                        Else
                        {
                            If (And (RBEC (0x39), 0x80))
                            {
                                Store (0x10, Local0)
                            }
                        }
                    }


                    If (LEqual (Local0, 0x0F)) {}
                }


                If (LAnd (HDUB, LLess (Local0, 0x0C)))
                {
                    Store (0x0F, Local0)
                }


                Return (Local0)
            }


            Method (IRDY, 0, NotSerialized)
            {
                Store (0x01F4, Local0)
                Store (0x3C, Local1)
                Store (Zero, Local2)
                While (Local1)
                {
                    Sleep (Local0)
                    Store (BCHK (), Local3)
                    If (LNot (Local3))
                    {
                        Break
                    }


                    If (LEqual (Local3, 0x02))
                    {
                        Store (One, Local2)
                        Break
                    }


                    Decrement (Local1)
                }


                Return (Local2)
            }
        }


        Scope (PCI0.LPC.EC.BAT1)
        {
            Method (_EJ0, 1, NotSerialized)  // _EJx: Eject Device
            {
                Store (Zero, B1ST)
                Store (Zero, XB1S)
                BEJ0 (Arg0)
            }
        }


        Scope (PCI0.LPC.EC)
        {
            Method (RPTS, 1, NotSerialized)
            {
                Noop
            }


            Method (RWAK, 1, NotSerialized)
            {
            }
        }


        Scope (PCI0.LPC.EC)
        {
            Method (_Q43, 0, NotSerialized)  // _Qxx: EC Query
            {
                UCMS (0x18)
            }


            Method (SAUM, 1, NotSerialized)
            {
                If (LGreater (Arg0, 0x03))
                {
                    Noop
                }
                Else
                {
                    If (H8DR)
                    {
                        Store (Arg0, HAUM)
                    }
                    Else
                    {
                        MBEC (0x03, 0x9F, ShiftLeft (Arg0, 0x05))
                    }
                }
            }
        }


        Scope (PCI0.LPC.EC)
        {
            Name (BRTW, Package (0x12)
            {
                0x64, 
                0x64, 
                One, 
                0x03, 
                0x04, 
                0x05, 
                0x06, 
                0x08, 
                0x0A, 
                0x0D, 
                0x11, 
                0x16, 
                0x1D, 
                0x26, 
                0x31, 
                0x3F, 
                0x50, 
                0x64
            })
            Name (BRTB, Package (0x03)
            {
                Package (0x10)
                {
                    0x03, 
                    0x07, 
                    0x09, 
                    0x0C, 
                    0x0F, 
                    0x14, 
                    0x19, 
                    0x21, 
                    0x2B, 
                    0x38, 
                    0x4A, 
                    0x61, 
                    0x7E, 
                    0xA0, 
                    0xCC, 
                    0xFF
                }, 


                Package (0x10)
                {
                    0x03, 
                    0x07, 
                    0x09, 
                    0x0C, 
                    0x0F, 
                    0x14, 
                    0x19, 
                    0x21, 
                    0x2B, 
                    0x38, 
                    0x4A, 
                    0x61, 
                    0x7E, 
                    0xA0, 
                    0xCC, 
                    0xFF
                }, 


                Package (0x05)
                {
                    0xDC, 
                    0xDC, 
                    0x03, 
                    0x03, 
                    0x03
                }
            })
            Method (_Q14, 0, NotSerialized)  // _Qxx: EC Query
            {
                If (^HKEY.MHKK (0x8000))
                {
                    ^HKEY.MHKQ (0x1010)
                }


                If (NBCF)
                {
                    If (LAnd (WVIS, LEqual (VHYB (0x03, Zero), 0x03)))
                    {
                        If (LEqual (And (RISA (0x11BA), 0x10), 0x10))
                        {
                            Notify (^^^PEG.VID.LCD0, 0x86)
                        }
                        Else
                        {
                            Notify (^^^VID.LCD0, 0x86)
                        }
                    }
                    Else
                    {
                        If (VIGD)
                        {
                            Notify (^^^VID.LCD0, 0x86)
                        }
                        Else
                        {
                            Notify (^^^PEG.VID.LCD0, 0x86)
                        }
                    }
                }
                Else
                {
                    If (VIGD)
                    {
                        Store (UCMS (0x15), BRLV)
                        Store (BRLV, Local0)
                        If (LNotEqual (Local0, 0x0F))
                        {
                            Increment (Local0)
                            Store (Local0, BRLV)
                        }


                        UCMS (0x16)
                        BRNS ()
                    }
                    Else
                    {
                        UCMS (0x04)
                    }
                }
            }


            Method (_Q15, 0, NotSerialized)  // _Qxx: EC Query
            {
                If (VCDB)
                {
                    Store (Zero, VCDB)
                    Store (UCMS (0x15), BRLV)
                    UCMS (0x16)
                    BRNS ()
                    Return (Zero)
                }


                If (^HKEY.MHKK (0x00010000))
                {
                    ^HKEY.MHKQ (0x1011)
                }


                If (NBCF)
                {
                    If (LAnd (WVIS, LEqual (VHYB (0x03, Zero), 0x03)))
                    {
                        If (LEqual (And (RISA (0x11BA), 0x10), 0x10))
                        {
                            Notify (^^^PEG.VID.LCD0, 0x87)
                        }
                        Else
                        {
                            Notify (^^^VID.LCD0, 0x87)
                        }
                    }
                    Else
                    {
                        If (VIGD)
                        {
                            Notify (^^^VID.LCD0, 0x87)
                        }
                        Else
                        {
                            Notify (^^^PEG.VID.LCD0, 0x87)
                        }
                    }
                }
                Else
                {
                    If (VIGD)
                    {
                        Store (UCMS (0x15), BRLV)
                        Store (BRLV, Local0)
                        If (Local0)
                        {
                            Decrement (Local0)
                            Store (Local0, BRLV)
                        }


                        UCMS (0x16)
                        BRNS ()
                    }
                    Else
                    {
                        UCMS (0x05)
                    }
                }
            }


            Method (BRNS, 0, NotSerialized)
            {
                Store (BRLV, Local0)
                If (^^^VID.DRDY)
                {
                    If (LEqual (Zero, Local0))
                    {
                        Store (DerefOf (Index (DerefOf (Index (BRTB, 0x02)), 0x03)), 
                            Local1)
                        Store (DerefOf (Index (DerefOf (Index (BRTB, 0x02)), Zero)), 
                            Local2)
                    }
                    Else
                    {
                        Store (DerefOf (Index (DerefOf (Index (BRTB, 0x02)), 0x04)), 
                            Local1)
                        Store (DerefOf (Index (DerefOf (Index (BRTB, 0x02)), One)), 
                            Local2)
                    }


                    Or (Local1, ShiftLeft (Local2, 0x09), Local2)
                    ^^^VID.AINT (0x03, Local2)
                    Store (Zero, Local1)
                    If (BRHB)
                    {
                        Store (One, Local1)
                    }


                    Store (DerefOf (Index (DerefOf (Index (BRTB, Local1)), Local0)), 
                        Local2)
                    ^^^VID.AINT (One, Local2)
                }
                Else
                {
                    UCMS (0x12)
                }
            }
        }


        Scope (PCI0.LPC.EC)
        {
            Method (_Q19, 0, NotSerialized)  // _Qxx: EC Query
            {
                If (^HKEY.MHKK (0x00800000))
                {
                    ^HKEY.MHKQ (0x1018)
                }


                UCMS (0x03)
            }
        }


        Scope (PCI0.LPC.EC)
        {
            Method (_Q63, 0, NotSerialized)  // _Qxx: EC Query
            {
                If (^HKEY.MHKK (0x00080000))
                {
                    ^HKEY.MHKQ (0x1014)
                }


                UCMS (0x0B)
            }
        }


        Scope (PCI0.LPC.EC)
        {
            Method (_Q70, 0, NotSerialized)  // _Qxx: EC Query
            {
                FNST ()
            }


            Method (_Q72, 0, NotSerialized)  // _Qxx: EC Query
            {
                FNST ()
            }


            Method (_Q73, 0, NotSerialized)  // _Qxx: EC Query
            {
                FNST ()
            }


            Method (FNST, 0, NotSerialized)
            {
                If (H8DR)
                {
                    Store (HFNS, Local0)
                    Store (HFNE, Local1)
                }
                Else
                {
                    And (RBEC (0x0E), 0x03, Local0)
                    And (RBEC (Zero), 0x08, Local1)
                }


                If (Local1)
                {
                    If (LEqual (Local0, Zero))
                    {
                        UCMS (0x11)
                    }


                    If (LEqual (Local0, One))
                    {
                        UCMS (0x0F)
                    }


                    If (LEqual (Local0, 0x02))
                    {
                        UCMS (0x10)
                    }
                }
            }
        }


        Scope (PCI0.LPC.EC.HKEY)
        {
            Name (WGFL, Zero)
            Method (WLSW, 0, NotSerialized)
            {
                Return (GSTS)
            }


            Method (GWAN, 0, NotSerialized)
            {
                Store (Zero, Local0)
                If (And (WGFL, One))
                {
                    Or (Local0, One, Local0)
                }


                If (And (WGFL, 0x08))
                {
                    Return (Local0)
                }


                If (WPWS ())
                {
                    Or (Local0, 0x02, Local0)
                }


                If (And (WGFL, 0x04))
                {
                    Or (Local0, 0x04, Local0)
                }


                Return (Local0)
            }


            Method (SWAN, 1, NotSerialized)
            {
                If (And (Arg0, 0x02))
                {
                    WPWC (One)
                }
                Else
                {
                    WPWC (Zero)
                }


                If (And (Arg0, 0x04))
                {
                    Or (WGFL, 0x04, WGFL)
                    WGSV (0x02)
                }
                Else
                {
                    And (WGFL, 0xFFFFFFFB, WGFL)
                    WGSV (0x03)
                }
            }


            Method (GBDC, 0, NotSerialized)
            {
                Store (Zero, Local0)
                If (And (WGFL, 0x10))
                {
                    Or (Local0, One, Local0)
                }


                If (And (WGFL, 0x80))
                {
                    Return (Local0)
                }


                If (BPWS ())
                {
                    Or (Local0, 0x02, Local0)
                }


                If (And (WGFL, 0x40))
                {
                    Or (Local0, 0x04, Local0)
                }


                Return (Local0)
            }


            Method (SBDC, 1, NotSerialized)
            {
                If (And (Arg0, 0x02))
                {
                    BPWC (One)
                }
                Else
                {
                    BPWC (Zero)
                }


                If (And (Arg0, 0x04))
                {
                    Or (WGFL, 0x40, WGFL)
                    BLTH (0x02)
                }
                Else
                {
                    And (WGFL, 0xFFFFFFBF, WGFL)
                    BLTH (0x03)
                }
            }


            Method (GUWB, 0, NotSerialized)
            {
                Store (Zero, Local0)
                If (And (WGFL, 0x0100))
                {
                    Or (Local0, One, Local0)
                }


                If (UPWS ())
                {
                    Or (Local0, 0x02, Local0)
                }


                Return (Local0)
            }


            Method (SUWB, 1, NotSerialized)
            {
                If (And (Arg0, 0x02))
                {
                    UPWC (One)
                }
                Else
                {
                    UPWC (Zero)
                }
            }


            Method (WPWS, 0, NotSerialized)
            {
                If (H8DR)
                {
                    Store (DCWW, Local0)
                }
                Else
                {
                    Store (ShiftRight (And (RBEC (0x3A), 0x40), 0x06), Local0)
                }


                Return (Local0)
            }


            Method (WTGL, 0, NotSerialized)
            {
                If (And (WGFL, One))
                {
                    WPWC (LNot (WPWS ()))
                }
            }


            Method (WPWC, 1, NotSerialized)
            {
                If (LAnd (Arg0, LAnd (And (WGFL, One), LNot (And (
                    WGFL, 0x08)))))
                {
                    If (H8DR)
                    {
                        Store (One, DCWW)
                    }
                    Else
                    {
                        MBEC (0x3A, 0xFF, 0x40)
                    }


                    Or (WGFL, 0x02, WGFL)
                }
                Else
                {
                    If (H8DR)
                    {
                        Store (Zero, DCWW)
                    }
                    Else
                    {
                        MBEC (0x3A, 0xBF, Zero)
                    }


                    And (WGFL, 0xFFFFFFFD, WGFL)
                }
            }


            Method (BPWS, 0, NotSerialized)
            {
                If (H8DR)
                {
                    Store (DCBD, Local0)
                }
                Else
                {
                    Store (ShiftRight (And (RBEC (0x3A), 0x10), 0x04), Local0)
                }


                Return (Local0)
            }


            Method (BTGL, 0, NotSerialized)
            {
                If (And (WGFL, 0x10))
                {
                    BPWC (LNot (BPWS ()))
                }
            }


            Method (BPWC, 1, NotSerialized)
            {
                If (LAnd (Arg0, LAnd (And (WGFL, 0x10), LNot (And (
                    WGFL, 0x80)))))
                {
                    If (H8DR)
                    {
                        Store (One, DCBD)
                    }
                    Else
                    {
                        MBEC (0x3A, 0xFF, 0x10)
                    }


                    Or (WGFL, 0x20, WGFL)
                }
                Else
                {
                    If (H8DR)
                    {
                        Store (Zero, DCBD)
                    }
                    Else
                    {
                        MBEC (0x3A, 0xEF, Zero)
                    }


                    And (WGFL, 0xFFFFFFDF, WGFL)
                }
            }


            Method (UPWS, 0, NotSerialized)
            {
                If (H8DR)
                {
                    Store (HUWB, Local0)
                }
                Else
                {
                    Store (ShiftRight (And (RBEC (0x31), 0x04), 0x02), Local0)
                }


                Return (Local0)
            }


            Method (UPWC, 1, NotSerialized)
            {
                If (LAnd (Arg0, And (WGFL, 0x0100)))
                {
                    If (H8DR)
                    {
                        Store (One, HUWB)
                    }
                    Else
                    {
                        MBEC (0x31, 0xFF, 0x04)
                    }


                    Or (WGFL, 0x0200, WGFL)
                }
                Else
                {
                    If (H8DR)
                    {
                        Store (Zero, HUWB)
                    }
                    Else
                    {
                        MBEC (0x31, 0xFB, Zero)
                    }


                    And (WGFL, 0xFFFFFDFF, WGFL)
                }


                UCMS (0x1B)
            }


            Method (WGIN, 0, NotSerialized)
            {
                Store (Zero, WGFL)
                Store (WGSV (One), WGFL)
                If (WIN8)
                {
                    If (LAnd (WGFL, 0x10))
                    {
                        BPWC (One)
                    }
                }


                If (WPWS ())
                {
                    Or (WGFL, 0x02, WGFL)
                }


                If (BPWS ())
                {
                    Or (WGFL, 0x20, WGFL)
                }


                If (UPWS ())
                {
                    Or (WGFL, 0x0200, WGFL)
                }
            }


            Method (WGPS, 1, NotSerialized)
            {
                If (LGreaterEqual (Arg0, 0x04))
                {
                    BLTH (0x05)
                }


                If (LNot (And (WGFL, 0x04)))
                {
                    WPWC (Zero)
                }


                If (LNot (And (WGFL, 0x40)))
                {
                    BPWC (Zero)
                }
            }


            Method (WGWK, 1, NotSerialized)
            {
                If (And (WGFL, 0x20))
                {
                    BPWC (One)
                }


                If (And (WGFL, 0x02))
                {
                    WPWC (One)
                }
            }
        }


        Scope (PCI0.LPC.EC)
        {
            Method (_Q41, 0, NotSerialized)  // _Qxx: EC Query
            {
                ^HKEY.MHKQ (0x7000)
            }
        }


        Device (WMI1)
        {
            Name (_HID, EisaId ("PNP0C14"))  // _HID: Hardware ID
            Name (_UID, One)  // _UID: Unique ID
            Name (_WDG, Buffer (0xA0)
            {
                /* 0000 */   0x0E, 0x23, 0xF5, 0x51, 0x77, 0x96, 0xCD, 0x46,
                /* 0008 */   0xA1, 0xCF, 0xC0, 0xB2, 0x3E, 0xE3, 0x4D, 0xB7,
                /* 0010 */   0x41, 0x30, 0x80, 0x05, 0x64, 0x9A, 0x47, 0x98,
                /* 0018 */   0xF5, 0x33, 0x33, 0x4E, 0xA7, 0x07, 0x8E, 0x25,
                /* 0020 */   0x1E, 0xBB, 0xC3, 0xA1, 0x41, 0x31, 0x01, 0x06,
                /* 0028 */   0xEF, 0x54, 0x4B, 0x6A, 0xED, 0xA5, 0x33, 0x4D,
                /* 0030 */   0x94, 0x55, 0xB0, 0xD9, 0xB4, 0x8D, 0xF4, 0xB3,
                /* 0038 */   0x41, 0x32, 0x01, 0x06, 0xB6, 0xEB, 0xF1, 0x74,
                /* 0040 */   0x7A, 0x92, 0x7D, 0x4C, 0x95, 0xDF, 0x69, 0x8E,
                /* 0048 */   0x21, 0xE8, 0x0E, 0xB5, 0x41, 0x33, 0x01, 0x06,
                /* 0050 */   0xFF, 0x04, 0xEF, 0x7E, 0x28, 0x43, 0x7C, 0x44,
                /* 0058 */   0xB5, 0xBB, 0xD4, 0x49, 0x92, 0x5D, 0x53, 0x8D,
                /* 0060 */   0x41, 0x34, 0x01, 0x06, 0x9E, 0x15, 0xDB, 0x8A,
                /* 0068 */   0x32, 0x1E, 0x5C, 0x45, 0xBC, 0x93, 0x30, 0x8A,
                /* 0070 */   0x7E, 0xD9, 0x82, 0x46, 0x41, 0x35, 0x01, 0x01,
                /* 0078 */   0xFD, 0xD9, 0x51, 0x26, 0x1C, 0x91, 0x69, 0x4B,
                /* 0080 */   0xB9, 0x4E, 0xD0, 0xDE, 0xD5, 0x96, 0x3B, 0xD7,
                /* 0088 */   0x41, 0x36, 0x01, 0x06, 0x21, 0x12, 0x90, 0x05,
                /* 0090 */   0x66, 0xD5, 0xD1, 0x11, 0xB2, 0xF0, 0x00, 0xA0,
                /* 0098 */   0xC9, 0x06, 0x29, 0x10, 0x42, 0x41, 0x01, 0x00
            })
            Name (RETN, Package (0x05)
            {
                "Success", 
                "Not Supported", 
                "Invalid Parameter", 
                "Access Denied", 
                "System Busy"
            })
            Name (ITEM, Package (0x67)
            {
                Package (0x02)
                {
                    0x1E, 
                    "WakeOnLAN"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "FlashOverLAN"
                }, 


                Package (0x02)
                {
                    One, 
                    "EthernetLANOptionROM"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "HarddriveDMA"
                }, 


                Package (0x02)
                {
                    0x04, 
                    "WirelessLANandWiMAXRadios"
                }, 


                Package (0x02)
                {
                    0x18, 
                    "SerialPort"
                }, 


                Package (0x02)
                {
                    0x10, 
                    "SerialPortIO"
                }, 


                Package (0x02)
                {
                    0x06, 
                    "SerialPortIRQ"
                }, 


                Package (0x02)
                {
                    0x18, 
                    "ParallelPort"
                }, 


                Package (0x02)
                {
                    0x09, 
                    "ParallelPortMode"
                }, 


                Package (0x02)
                {
                    0x11, 
                    "ParallelPortIO"
                }, 


                Package (0x02)
                {
                    0x07, 
                    "ParallelPortIRQ"
                }, 


                Package (0x02)
                {
                    0x08, 
                    "ParallelPortDMA"
                }, 


                Package (0x02)
                {
                    0x12, 
                    "PCIINTA"
                }, 


                Package (0x02)
                {
                    0x12, 
                    "PCIINTB"
                }, 


                Package (0x02)
                {
                    0x12, 
                    "PCIINTC"
                }, 


                Package (0x02)
                {
                    0x12, 
                    "PCIINTD"
                }, 


                Package (0x02)
                {
                    0x12, 
                    "PCIINTE"
                }, 


                Package (0x02)
                {
                    0x12, 
                    "PCIINTF"
                }, 


                Package (0x02)
                {
                    0x12, 
                    "PCIINTG"
                }, 


                Package (0x02)
                {
                    0x12, 
                    "PCIINTH"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "USBBIOSSupport"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "AlwaysOnUSB"
                }, 


                Package (0x02)
                {
                    0x19, 
                    "TrackPoint"
                }, 


                Package (0x02)
                {
                    0x02, 
                    "TouchPad"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "FnKeyLock"
                }, 


                Package (0x02)
                {
                    0x0A, 
                    "ThinkPadNumLock"
                }, 


                Package (0x02)
                {
                    0x17, 
                    "PowerOnNumLock"
                }, 


                Package (0x02)
                {
                    0x0B, 
                    "PrimaryVideo"
                }, 


                Package (0x02)
                {
                    0x0C, 
                    "BootDisplayDevice"
                }, 


                Package (0x02)
                {
                    0x05, 
                    "LCDBrightness"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "TimerWakeWithBattery"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "SpeedStep"
                }, 


                Package (0x02)
                {
                    0x13, 
                    "SpeedStepModeAC"
                }, 


                Package (0x02)
                {
                    0x13, 
                    "SpeedStepModeBattery"
                }, 


                Package (0x02)
                {
                    0x14, 
                    "AdaptiveThermalManagementAC"
                }, 


                Package (0x02)
                {
                    0x14, 
                    "AdaptiveThermalManagementBattery"
                }, 


                Package (0x02)
                {
                    0x0D, 
                    "CDROMSpeed"
                }, 


                Package (0x02)
                {
                    0x02, 
                    "CPUPowerManagement"
                }, 


                Package (0x02)
                {
                    0x02, 
                    "PCIPowerManagement"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "PowerControlBeep"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "LowBatteryAlarm"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "PasswordBeep"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "KeyboardBeep"
                }, 


                Package (0x02)
                {
                    One, 
                    "ExtendedMemoryTest"
                }, 


                Package (0x02)
                {
                    0x0E, 
                    "SATAControllerMode"
                }, 


                Package (0x02)
                {
                    0x1D, 
                    "CoreMultiProcessing"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "VirtualizationTechnology"
                }, 


                Package (0x02)
                {
                    One, 
                    "LegacyDevicesOnMiniDock"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "Passphrase"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "LockBIOSSetting"
                }, 


                Package (0x02)
                {
                    0x16, 
                    "MinimumPasswordLength"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "BIOSPasswordAtUnattendedBoot"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "PasswordResetService"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "FingerprintPredesktopAuthentication"
                }, 


                Package (0x02)
                {
                    0x0F, 
                    "FingerprintReaderPriority"
                }, 


                Package (0x02)
                {
                    0x05, 
                    "FingerprintSecurityMode"
                }, 


                Package (0x02)
                {
                    0x03, 
                    "SecurityChip"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "BIOSUpdateByEndUsers"
                }, 


                Package (0x02)
                {
                    One, 
                    "DataExecutionPrevention"
                }, 


                Package (0x02)
                {
                    One, 
                    "EthernetLANAccess"
                }, 


                Package (0x02)
                {
                    One, 
                    "WirelessLANAccess"
                }, 


                Package (0x02)
                {
                    One, 
                    "WirelessWANAccess"
                }, 


                Package (0x02)
                {
                    One, 
                    "BluetoothAccess"
                }, 


                Package (0x02)
                {
                    One, 
                    "WirelessUSBAccess"
                }, 


                Package (0x02)
                {
                    One, 
                    "ModemAccess"
                }, 


                Package (0x02)
                {
                    One, 
                    "USBPortAccess"
                }, 


                Package (0x02)
                {
                    One, 
                    "IEEE1394Access"
                }, 


                Package (0x02)
                {
                    One, 
                    "SerialPortAccess"
                }, 


                Package (0x02)
                {
                    One, 
                    "ParallelPortAccess"
                }, 


                Package (0x02)
                {
                    One, 
                    "CardBusSlotAccess"
                }, 


                Package (0x02)
                {
                    One, 
                    "ExpressCardAccess"
                }, 


                Package (0x02)
                {
                    One, 
                    "PCIExpressSlotAccess"
                }, 


                Package (0x02)
                {
                    One, 
                    "UltrabayAccess"
                }, 


                Package (0x02)
                {
                    One, 
                    "MemoryCardSlotAccess"
                }, 


                Package (0x02)
                {
                    One, 
                    "SmartCardSlotAccess"
                }, 


                Package (0x02)
                {
                    One, 
                    "IntegratedCameraAccess"
                }, 


                Package (0x02)
                {
                    One, 
                    "MicrophoneAccess"
                }, 


                Package (0x02)
                {
                    0x15, 
                    "BootMode"
                }, 


                Package (0x02)
                {
                    One, 
                    "StartupOptionKeys"
                }, 


                Package (0x02)
                {
                    One, 
                    "BootDeviceListF12Option"
                }, 


                Package (0x02)
                {
                    0x64, 
                    "BootOrder"
                }, 


                Package (0x02)
                {
                    0x64, 
                    "NetworkBootOrder"
                }, 


                Package (0x02)
                {
                    One, 
                    "WiMAXAccess"
                }, 


                Package (0x02)
                {
                    0x1A, 
                    "GraphicsDevice"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "TXTFeature"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "VTdFeature"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "AMTControl"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "FingerprintPasswordAuthentication"
                }, 


                Package (0x02)
                {
                    One, 
                    "FingerprintReaderAccess"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "OsDetectionForSwitchableGraphics"
                }, 


                Package (0x02)
                {
                    One, 
                    "ComputraceModuleActivation"
                }, 


                Package (0x02)
                {
                    0x1B, 
                    "PCIExpressPowerManagement"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "ATpModuleActivation"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "FullTheftProtectionModuleActivation"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "RemoteDisableModuleActivation"
                }, 


                Package (0x02)
                {
                    One, 
                    "eSATAPortAccess"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "HardwarePasswordManager"
                }, 


                Package (0x02)
                {
                    0x1C, 
                    "AlwaysOnUSBMode"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "HyperThreadingTechnology"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "FnCtrlKeySwap"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "OnByAcAttach"
                }, 


                Package (0x02)
                {
                    Zero, 
                    "HostBasedConfiguration"
                }
            })
            Name (VSEL, Package (0x1F)
            {
                Package (0x02)
                {
                    "Disable", 
                    "Enable"
                }, 


                Package (0x02)
                {
                    "Enable", 
                    "Disable"
                }, 


                Package (0x02)
                {
                    "Disable", 
                    "Automatic"
                }, 


                Package (0x04)
                {
                    "Inactive", 
                    "Disable", 
                    "Active", 
                    ""
                }, 


                Package (0x04)
                {
                    "On", 
                    "", 
                    "Off", 
                    ""
                }, 


                Package (0x02)
                {
                    "Normal", 
                    "High"
                }, 


                Package (0x04)
                {
                    "3", 
                    "4", 
                    "5", 
                    "7"
                }, 


                Package (0x02)
                {
                    "5", 
                    "7"
                }, 


                Package (0x03)
                {
                    "0", 
                    "1", 
                    "3"
                }, 


                Package (0x03)
                {
                    "OutputOnly", 
                    "BiDirectional", 
                    "ECP"
                }, 


                Package (0x02)
                {
                    "Independent", 
                    "Synchronized"
                }, 


                Package (0x02)
                {
                    "PCIExpress", 
                    "Internal"
                }, 


                Package (0x10)
                {
                    "LCD", 
                    "VGA", 
                    "Digital", 
                    "Digital1onDock", 
                    "Digital2onDock", 
                    "", 
                    "", 
                    "", 
                    "", 
                    "", 
                    "", 
                    "", 
                    "", 
                    "", 
                    "", 
                    ""
                }, 


                Package (0x04)
                {
                    "", 
                    "High", 
                    "Normal", 
                    "Silent"
                }, 


                Package (0x02)
                {
                    "Compatibility", 
                    "AHCI"
                }, 


                Package (0x02)
                {
                    "External", 
                    "InternalOnly"
                }, 


                Package (0x04)
                {
                    "3F8", 
                    "2F8", 
                    "3E8", 
                    "2E8"
                }, 


                Package (0x03)
                {
                    "378", 
                    "278", 
                    "3BC"
                }, 


                Package (0x10)
                {
                    "Disable", 
                    "AutoSelect", 
                    "", 
                    "3", 
                    "4", 
                    "5", 
                    "6", 
                    "7", 
                    "", 
                    "9", 
                    "10", 
                    "11", 
                    "", 
                    "", 
                    "", 
                    ""
                }, 


                Package (0x04)
                {
                    "MaximumPerformance", 
                    "BatteryOptimized", 
                    "MaximumBattery", 
                    "Automatic"
                }, 


                Package (0x04)
                {
                    "", 
                    "", 
                    "MaximizePerformance", 
                    "Balanced"
                }, 


                Package (0x02)
                {
                    "Quick", 
                    "Diagnostics"
                }, 


                Package (0x0D)
                {
                    "Disable", 
                    "", 
                    "", 
                    "", 
                    "4", 
                    "5", 
                    "6", 
                    "7", 
                    "8", 
                    "9", 
                    "10", 
                    "11", 
                    "12"
                }, 


                Package (0x04)
                {
                    "Auto", 
                    "On", 
                    "Off", 
                    ""
                }, 


                Package (0x04)
                {
                    "", 
                    "Enable", 
                    "Disable", 
                    ""
                }, 


                Package (0x04)
                {
                    "Disable", 
                    "", 
                    "Automatic", 
                    ""
                }, 


                Package (0x04)
                {
                    "", 
                    "IntegratedGfx", 
                    "DiscreteGfx", 
                    "SwitchableGfx"
                }, 


                Package (0x02)
                {
                    "Automatic", 
                    "Disable"
                }, 


                Package (0x04)
                {
                    "Automatic", 
                    "BlackBerry", 
                    "iPodiPhone", 
                    "OtherUSBDevices"
                }, 


                Package (0x04)
                {
                    "Disable", 
                    "", 
                    "", 
                    "Enable"
                }, 


                Package (0x04)
                {
                    "Disable", 
                    "Enable", 
                    "ACOnly", 
                    "ACandBattery"
                }
            })
            Name (VLST, Package (0x0F)
            {
                "HDD0", 
                "HDD1", 
                "HDD2", 
                "HDD3", 
                "PCILAN", 
                "ATAPICD0", 
                "ATAPICD1", 
                "", 
                "USBFDD", 
                "USBCD", 
                "USBHDD", 
                "", 
                "", 
                "", 
                "NODEV"
            })
            Name (PENC, Package (0x02)
            {
                "ascii", 
                "scancode"
            })
            Name (PKBD, Package (0x03)
            {
                "us", 
                "fr", 
                "gr"
            })
            Name (PTYP, Package (0x08)
            {
                "pap", 
                "pop", 
                "uhdp1", 
                "mhdp1", 
                "uhdp2", 
                "mhdp2", 
                "uhdp3", 
                "mhdp3"
            })
            Mutex (MWMI, 0x07)
            Name (PCFG, Buffer (0x18) {})
            Name (IBUF, Buffer (0x0100) {})
            Name (ILEN, Zero)
            Name (PSTR, Buffer (0x81) {})
            Method (WQA0, 1, NotSerialized)
            {
                Acquire (MWMI, 0xFFFF)
                If (LNotEqual (WMIS (Zero, Arg0), Zero))
                {
                    Release (MWMI)
                    Return ("")
                }


                Store (DerefOf (Index (ITEM, WITM)), Local0)
                Store (DerefOf (Index (Local0, Zero)), Local1)
                Store (DerefOf (Index (Local0, One)), Local2)
                If (LLess (Local1, 0x64))
                {
                    Concatenate (Local2, ",", Local6)
                    Store (DerefOf (Index (VSEL, Local1)), Local3)
                    Concatenate (Local6, DerefOf (Index (Local3, WSEL)), Local7)
                }
                Else
                {
                    Store (SizeOf (VLST), Local3)
                    If (LLessEqual (WLS0, Local3))
                    {
                        Concatenate (Local2, ",", Local7)
                        Concatenate (Local7, DerefOf (Index (VLST, WLS0)), Local2)
                    }


                    If (LLessEqual (WLS1, Local3))
                    {
                        Concatenate (Local2, ":", Local7)
                        Concatenate (Local7, DerefOf (Index (VLST, WLS1)), Local2)
                    }


                    If (LLessEqual (WLS2, Local3))
                    {
                        Concatenate (Local2, ":", Local7)
                        Concatenate (Local7, DerefOf (Index (VLST, WLS2)), Local2)
                    }


                    If (LLessEqual (WLS3, Local3))
                    {
                        Concatenate (Local2, ":", Local7)
                        Concatenate (Local7, DerefOf (Index (VLST, WLS3)), Local2)
                    }


                    If (LLessEqual (WLS4, Local3))
                    {
                        Concatenate (Local2, ":", Local7)
                        Concatenate (Local7, DerefOf (Index (VLST, WLS4)), Local2)
                    }


                    If (LLessEqual (WLS5, Local3))
                    {
                        Concatenate (Local2, ":", Local7)
                        Concatenate (Local7, DerefOf (Index (VLST, WLS5)), Local2)
                    }


                    If (LLessEqual (WLS6, Local3))
                    {
                        Concatenate (Local2, ":", Local7)
                        Concatenate (Local7, DerefOf (Index (VLST, WLS6)), Local2)
                    }


                    If (LLessEqual (WLS7, Local3))
                    {
                        Concatenate (Local2, ":", Local7)
                        Concatenate (Local7, DerefOf (Index (VLST, WLS7)), Local2)
                    }


                    Store (Local2, Local7)
                }


                Release (MWMI)
                Return (Local7)
            }


            Method (WMA1, 3, NotSerialized)
            {
                Acquire (MWMI, 0xFFFF)
                If (LEqual (SizeOf (Arg2), Zero))
                {
                    Store (0x02, Local0)
                }
                Else
                {
                    Store (CARG (Arg2), Local0)
                    If (LEqual (Local0, Zero))
                    {
                        Store (WSET (), Local0)
                    }
                }


                Release (MWMI)
                Return (DerefOf (Index (RETN, Local0)))
            }


            Method (WMA2, 3, NotSerialized)
            {
                Acquire (MWMI, 0xFFFF)
                Store (CARG (Arg2), Local0)
                If (LEqual (Local0, Zero))
                {
                    If (LNotEqual (ILEN, Zero))
                    {
                        Store (CPAS (IBUF, Zero), Local0)
                    }


                    If (LEqual (Local0, Zero))
                    {
                        Store (WMIS (0x02, Zero), Local0)
                    }
                }


                Release (MWMI)
                Return (DerefOf (Index (RETN, Local0)))
            }


            Method (WMA3, 3, NotSerialized)
            {
                Acquire (MWMI, 0xFFFF)
                Store (CARG (Arg2), Local0)
                If (LEqual (Local0, Zero))
                {
                    If (LNotEqual (ILEN, Zero))
                    {
                        Store (CPAS (IBUF, Zero), Local0)
                    }


                    If (LEqual (Local0, Zero))
                    {
                        Store (WMIS (0x03, Zero), Local0)
                    }
                }


                Release (MWMI)
                Return (DerefOf (Index (RETN, Local0)))
            }


            Method (WMA4, 3, NotSerialized)
            {
                Acquire (MWMI, 0xFFFF)
                Store (CARG (Arg2), Local0)
                If (LEqual (Local0, Zero))
                {
                    If (LNotEqual (ILEN, Zero))
                    {
                        Store (CPAS (IBUF, Zero), Local0)
                    }


                    If (LEqual (Local0, Zero))
                    {
                        Store (WMIS (0x04, Zero), Local0)
                    }
                }


                Release (MWMI)
                Return (DerefOf (Index (RETN, Local0)))
            }


            Method (WQA5, 1, NotSerialized)
            {
                Acquire (MWMI, 0xFFFF)
                Store (WMIS (0x05, Zero), Local0)
                Store (WSPM, Index (PCFG, Zero))
                Store (WSPS, Index (PCFG, 0x04))
                Store (WSMN, Index (PCFG, 0x08))
                Store (WSMX, Index (PCFG, 0x0C))
                Store (WSEN, Index (PCFG, 0x10))
                Store (WSKB, Index (PCFG, 0x14))
                Release (MWMI)
                Return (PCFG)
            }


            Method (WMA6, 3, NotSerialized)
            {
                Acquire (MWMI, 0xFFFF)
                If (LEqual (SizeOf (Arg2), Zero))
                {
                    Store (0x02, Local0)
                }
                Else
                {
                    Store (CARG (Arg2), Local0)
                    If (LEqual (Local0, Zero))
                    {
                        If (LNotEqual (ILEN, Zero))
                        {
                            Store (SPAS (IBUF), Local0)
                        }


                        If (LEqual (Local0, Zero))
                        {
                            Store (WMIS (0x06, Zero), Local0)
                        }
                    }
                }


                Release (MWMI)
                Return (DerefOf (Index (RETN, Local0)))
            }


            Method (CARG, 1, NotSerialized)
            {
                Store (SizeOf (Arg0), Local0)
                If (LEqual (Local0, Zero))
                {
                    Store (Zero, IBUF)
                    Store (Zero, ILEN)
                    Return (Zero)
                }


                If (LNotEqual (ObjectType (Arg0), 0x02))
                {
                    Return (0x02)
                }


                If (LGreaterEqual (Local0, 0xFF))
                {
                    Return (0x02)
                }


                Store (Arg0, IBUF)
                Decrement (Local0)
                Store (DerefOf (Index (IBUF, Local0)), Local1)
                If (LOr (LEqual (Local1, 0x3B), LEqual (Local1, 0x2A)))
                {
                    Store (Zero, Index (IBUF, Local0))
                    Store (Local0, ILEN)
                }
                Else
                {
                    Store (SizeOf (Arg0), ILEN)
                }


                Return (Zero)
            }


            Method (SCMP, 3, NotSerialized)
            {
                Store (SizeOf (Arg0), Local0)
                If (LEqual (Local0, Zero))
                {
                    Return (Zero)
                }


                Increment (Local0)
                Name (STR1, Buffer (Local0) {})
                Store (Arg0, STR1)
                Decrement (Local0)
                Store (Zero, Local1)
                Store (Arg2, Local2)
                While (LLess (Local1, Local0))
                {
                    Store (DerefOf (Index (STR1, Local1)), Local3)
                    Store (DerefOf (Index (Arg1, Local2)), Local4)
                    If (LNotEqual (Local3, Local4))
                    {
                        Return (Zero)
                    }


                    Increment (Local1)
                    Increment (Local2)
                }


                Store (DerefOf (Index (Arg1, Local2)), Local4)
                If (LEqual (Local4, Zero))
                {
                    Return (One)
                }


                If (LOr (LEqual (Local4, 0x2C), LEqual (Local4, 0x3A)))
                {
                    Return (One)
                }


                Return (Zero)
            }


            Method (GITM, 1, NotSerialized)
            {
                Store (Zero, Local0)
                Store (SizeOf (ITEM), Local1)
                While (LLess (Local0, Local1))
                {
                    Store (DerefOf (Index (DerefOf (Index (ITEM, Local0)), One)), 
                        Local3)
                    If (SCMP (Local3, Arg0, Zero))
                    {
                        Return (Local0)
                    }


                    Increment (Local0)
                }


                Return (Ones)
            }


            Method (GSEL, 3, NotSerialized)
            {
                Store (Zero, Local0)
                Store (SizeOf (Arg0), Local1)
                While (LLess (Local0, Local1))
                {
                    Store (DerefOf (Index (Arg0, Local0)), Local2)
                    If (SCMP (Local2, Arg1, Arg2))
                    {
                        Return (Local0)
                    }


                    Increment (Local0)
                }


                Return (Ones)
            }


            Method (SLEN, 2, NotSerialized)
            {
                Store (DerefOf (Index (Arg0, Arg1)), Local0)
                Return (SizeOf (Local0))
            }


            Method (CLRP, 0, NotSerialized)
            {
                Store (Zero, WPAS)
                Store (Zero, WPNW)
            }


            Method (GPAS, 2, NotSerialized)
            {
                Store (Arg1, Local0)
                Store (Zero, Local1)
                While (LLessEqual (Local1, 0x80))
                {
                    Store (DerefOf (Index (Arg0, Local0)), Local2)
                    If (LOr (LEqual (Local2, 0x2C), LEqual (Local2, Zero)))
                    {
                        Store (Zero, Index (PSTR, Local1))
                        Return (Local1)
                    }


                    Store (Local2, Index (PSTR, Local1))
                    Increment (Local0)
                    Increment (Local1)
                }


                Store (Zero, Index (PSTR, Local1))
                Return (Ones)
            }


            Method (CPAS, 2, NotSerialized)
            {
                CLRP ()
                Store (Arg1, Local0)
                Store (GPAS (Arg0, Local0), Local1)
                If (LEqual (Local1, Ones))
                {
                    Return (0x02)
                }


                If (LEqual (Local1, Zero))
                {
                    Return (0x02)
                }


                Store (PSTR, WPAS)
                Add (Local0, Local1, Local0)
                Increment (Local0)
                Store (GSEL (PENC, Arg0, Local0), Local6)
                If (LEqual (Local6, Ones))
                {
                    Return (0x02)
                }


                Store (Local6, WENC)
                If (LEqual (Local6, Zero))
                {
                    Add (Local0, SLEN (PENC, Zero), Local0)
                    If (LNotEqual (DerefOf (Index (Arg0, Local0)), 0x2C))
                    {
                        Return (0x02)
                    }


                    Increment (Local0)
                    Store (GSEL (PKBD, Arg0, Local0), Local6)
                    If (LEqual (Local6, Ones))
                    {
                        Return (0x02)
                    }


                    Store (Local6, WKBD)
                }


                Return (Zero)
            }


            Method (SPAS, 1, NotSerialized)
            {
                CLRP ()
                Store (GSEL (PTYP, Arg0, Zero), Local6)
                If (LEqual (Local6, Ones))
                {
                    Return (0x02)
                }


                Store (Local6, WPTY)
                Store (SLEN (PTYP, Local6), Local0)
                If (LNotEqual (DerefOf (Index (Arg0, Local0)), 0x2C))
                {
                    Return (0x02)
                }


                Increment (Local0)
                Store (GPAS (Arg0, Local0), Local1)
                If (LOr (LEqual (Local1, Ones), LEqual (Local1, Zero)))
                {
                    Return (0x02)
                }


                Store (PSTR, WPAS)
                Add (Local0, Local1, Local0)
                If (LNotEqual (DerefOf (Index (Arg0, Local0)), 0x2C))
                {
                    Return (0x02)
                }


                Increment (Local0)
                Store (GPAS (Arg0, Local0), Local1)
                If (LEqual (Local1, Ones))
                {
                    Return (0x02)
                }


                If (LEqual (Local1, Zero))
                {
                    Store (Zero, PSTR)
                }


                Store (PSTR, WPNW)
                Add (Local0, Local1, Local0)
                Increment (Local0)
                Store (GSEL (PENC, Arg0, Local0), Local6)
                If (LEqual (Local6, Ones))
                {
                    Return (0x02)
                }


                Store (Local6, WENC)
                If (LEqual (Local6, Zero))
                {
                    Add (Local0, SLEN (PENC, Zero), Local0)
                    If (LNotEqual (DerefOf (Index (Arg0, Local0)), 0x2C))
                    {
                        Return (0x02)
                    }


                    Increment (Local0)
                    Store (GSEL (PKBD, Arg0, Local0), Local6)
                    If (LEqual (Local6, Ones))
                    {
                        Return (0x02)
                    }


                    Store (Local6, WKBD)
                }


                Return (Zero)
            }


            Method (WSET, 0, NotSerialized)
            {
                Store (ILEN, Local0)
                Increment (Local0)
                Store (GITM (IBUF), Local1)
                If (LEqual (Local1, Ones))
                {
                    Return (0x02)
                }


                Store (Local1, WITM)
                Store (DerefOf (Index (ITEM, Local1)), Local3)
                Store (DerefOf (Index (Local3, One)), Local4)
                Store (SizeOf (Local4), Local2)
                Increment (Local2)
                Store (DerefOf (Index (Local3, Zero)), Local4)
                If (LLess (Local4, 0x64))
                {
                    Store (DerefOf (Index (VSEL, Local4)), Local5)
                    Store (GSEL (Local5, IBUF, Local2), Local6)
                    If (LEqual (Local6, Ones))
                    {
                        Return (0x02)
                    }


                    Store (Local6, WSEL)
                    Add (Local2, SLEN (Local5, Local6), Local2)
                    Store (DerefOf (Index (IBUF, Local2)), Local4)
                }
                Else
                {
                    Store (0x3F, WLS0)
                    Store (0x3F, WLS1)
                    Store (0x3F, WLS2)
                    Store (0x3F, WLS3)
                    Store (0x3F, WLS4)
                    Store (0x3F, WLS5)
                    Store (0x3F, WLS6)
                    Store (0x3F, WLS7)
                    Store (GSEL (VLST, IBUF, Local2), Local6)
                    If (LEqual (Local6, Ones))
                    {
                        Return (0x02)
                    }


                    Store (Local6, WLS0)
                    Add (Local2, SLEN (VLST, Local6), Local2)
                    Store (DerefOf (Index (IBUF, Local2)), Local4)
                    If (LAnd (LLess (Local2, Local0), LEqual (Local4, 0x3A)))
                    {
                        Increment (Local2)
                        Store (GSEL (VLST, IBUF, Local2), Local6)
                        If (LEqual (Local6, Ones))
                        {
                            Return (0x02)
                        }


                        Store (Local6, WLS1)
                        Add (Local2, SLEN (VLST, Local6), Local2)
                        Store (DerefOf (Index (IBUF, Local2)), Local4)
                    }


                    If (LAnd (LLess (Local2, Local0), LEqual (Local4, 0x3A)))
                    {
                        Increment (Local2)
                        Store (GSEL (VLST, IBUF, Local2), Local6)
                        If (LEqual (Local6, Ones))
                        {
                            Return (0x02)
                        }


                        Store (Local6, WLS2)
                        Add (Local2, SLEN (VLST, Local6), Local2)
                        Store (DerefOf (Index (IBUF, Local2)), Local4)
                    }


                    If (LAnd (LLess (Local2, Local0), LEqual (Local4, 0x3A)))
                    {
                        Increment (Local2)
                        Store (GSEL (VLST, IBUF, Local2), Local6)
                        If (LEqual (Local6, Ones))
                        {
                            Return (0x02)
                        }


                        Store (Local6, WLS3)
                        Add (Local2, SLEN (VLST, Local6), Local2)
                        Store (DerefOf (Index (IBUF, Local2)), Local4)
                    }


                    If (LAnd (LLess (Local2, Local0), LEqual (Local4, 0x3A)))
                    {
                        Increment (Local2)
                        Store (GSEL (VLST, IBUF, Local2), Local6)
                        If (LEqual (Local6, Ones))
                        {
                            Return (0x02)
                        }


                        Store (Local6, WLS4)
                        Add (Local2, SLEN (VLST, Local6), Local2)
                        Store (DerefOf (Index (IBUF, Local2)), Local4)
                    }


                    If (LAnd (LLess (Local2, Local0), LEqual (Local4, 0x3A)))
                    {
                        Increment (Local2)
                        Store (GSEL (VLST, IBUF, Local2), Local6)
                        If (LEqual (Local6, Ones))
                        {
                            Return (0x02)
                        }


                        Store (Local6, WLS5)
                        Add (Local2, SLEN (VLST, Local6), Local2)
                        Store (DerefOf (Index (IBUF, Local2)), Local4)
                    }


                    If (LAnd (LLess (Local2, Local0), LEqual (Local4, 0x3A)))
                    {
                        Increment (Local2)
                        Store (GSEL (VLST, IBUF, Local2), Local6)
                        If (LEqual (Local6, Ones))
                        {
                            Return (0x02)
                        }


                        Store (Local6, WLS6)
                        Add (Local2, SLEN (VLST, Local6), Local2)
                        Store (DerefOf (Index (IBUF, Local2)), Local4)
                    }


                    If (LAnd (LLess (Local2, Local0), LEqual (Local4, 0x3A)))
                    {
                        Increment (Local2)
                        Store (GSEL (VLST, IBUF, Local2), Local6)
                        If (LEqual (Local6, Ones))
                        {
                            Return (0x02)
                        }


                        Store (Local6, WLS7)
                        Add (Local2, SLEN (VLST, Local6), Local2)
                        Store (DerefOf (Index (IBUF, Local2)), Local4)
                    }
                }


                If (LAnd (LEqual (Local4, 0x2C), LLess (Local2, Local0)))
                {
                    Increment (Local2)
                    Store (CPAS (IBUF, Local2), Local0)
                    If (LNotEqual (Local0, Zero))
                    {
                        Return (Local0)
                    }
                }


                Return (WMIS (One, Zero))
            }


            Name (WQBA, Buffer (0x07C1)
            {
                /* 0000 */   0x46, 0x4F, 0x4D, 0x42, 0x01, 0x00, 0x00, 0x00,
                /* 0008 */   0xB1, 0x07, 0x00, 0x00, 0x5A, 0x30, 0x00, 0x00,
                /* 0010 */   0x44, 0x53, 0x00, 0x01, 0x1A, 0x7D, 0xDA, 0x54,
                /* 0018 */   0x98, 0x51, 0x97, 0x00, 0x01, 0x06, 0x18, 0x42,
                /* 0020 */   0x10, 0x11, 0x10, 0x0A, 0x0D, 0x21, 0x02, 0x0B,
                /* 0028 */   0x83, 0x50, 0x4C, 0x18, 0x14, 0xA0, 0x45, 0x41,
                /* 0030 */   0xC8, 0x05, 0x14, 0x95, 0x02, 0x21, 0xC3, 0x02,
                /* 0038 */   0x14, 0x0B, 0x70, 0x2E, 0x40, 0xBA, 0x00, 0xE5,
                /* 0040 */   0x28, 0x72, 0x0C, 0x22, 0x02, 0xF7, 0xEF, 0x0F,
                /* 0048 */   0x31, 0x0E, 0x88, 0x14, 0x40, 0x48, 0xE6, 0x28,
                /* 0050 */   0x28, 0x81, 0x85, 0xC0, 0x11, 0x82, 0x7E, 0x05,
                /* 0058 */   0x20, 0x74, 0x88, 0x26, 0x83, 0x02, 0x9C, 0x22,
                /* 0060 */   0x08, 0xD2, 0x96, 0x05, 0xE8, 0x16, 0xE0, 0x5B,
                /* 0068 */   0x80, 0x76, 0x08, 0xA1, 0x55, 0x28, 0xC0, 0xA4,
                /* 0070 */   0x00, 0x9F, 0x60, 0xB2, 0x28, 0x40, 0x36, 0x98,
                /* 0078 */   0x6C, 0xC3, 0x91, 0x61, 0x30, 0x91, 0x63, 0x40,
                /* 0080 */   0x89, 0x19, 0x03, 0x4A, 0xE7, 0x14, 0x64, 0x13,
                /* 0088 */   0x58, 0xD0, 0x85, 0xA2, 0x68, 0x1A, 0x51, 0x12,
                /* 0090 */   0x1C, 0xD4, 0x31, 0x44, 0x08, 0x5E, 0xAE, 0x00,
                /* 0098 */   0xC9, 0x13, 0x90, 0xE6, 0x79, 0xC9, 0xFA, 0x20,
                /* 00A0 */   0x34, 0x04, 0x36, 0x02, 0x1E, 0x45, 0x02, 0x08,
                /* 00A8 */   0x8B, 0xB1, 0x4C, 0x89, 0x87, 0x41, 0x79, 0x00,
                /* 00B0 */   0x91, 0x9C, 0xA1, 0xA2, 0x80, 0xED, 0x75, 0x22,
                /* 00B8 */   0x1A, 0xD6, 0x71, 0x32, 0x49, 0x70, 0xA8, 0x51,
                /* 00C0 */   0x5A, 0xA2, 0x00, 0xF3, 0x23, 0xD3, 0x44, 0x8E,
                /* 00C8 */   0xAD, 0xE9, 0x11, 0x0B, 0x92, 0x49, 0x1B, 0x0A,
                /* 00D0 */   0x6A, 0xE8, 0x9E, 0xD6, 0x49, 0x79, 0xA2, 0x11,
                /* 00D8 */   0x0F, 0xCA, 0x30, 0x09, 0x3C, 0x0A, 0x86, 0xC6,
                /* 00E0 */   0x09, 0xCA, 0x82, 0x90, 0x83, 0x81, 0xA2, 0x00,
                /* 00E8 */   0x4F, 0xC2, 0x73, 0x2C, 0x5E, 0x80, 0xF0, 0x19,
                /* 00F0 */   0x93, 0xA3, 0x40, 0x8C, 0x04, 0x3E, 0x12, 0x78,
                /* 00F8 */   0x34, 0xC7, 0x8C, 0x05, 0x0A, 0x17, 0xF0, 0x7C,
                /* 0100 */   0x8E, 0x21, 0x72, 0xDC, 0x43, 0x8D, 0x71, 0x14,
                /* 0108 */   0x91, 0x13, 0xBC, 0x03, 0x44, 0x31, 0x5A, 0x41,
                /* 0110 */   0xF3, 0x16, 0x62, 0xB0, 0x68, 0x06, 0xEB, 0x19,
                /* 0118 */   0x9C, 0x0C, 0x3A, 0xC1, 0xFF, 0xFF, 0x08, 0xB8,
                /* 0120 */   0x0C, 0x08, 0x79, 0x14, 0x60, 0x75, 0x50, 0x9A,
                /* 0128 */   0x86, 0x09, 0xBA, 0x17, 0x60, 0x4D, 0x80, 0x31,
                /* 0130 */   0x01, 0x1A, 0x31, 0xA4, 0x4C, 0x80, 0xB3, 0xFB,
                /* 0138 */   0x82, 0x66, 0xD4, 0x96, 0x00, 0x73, 0x02, 0xB4,
                /* 0140 */   0x09, 0xF0, 0x86, 0x20, 0x94, 0xF3, 0x8C, 0x72,
                /* 0148 */   0x2C, 0xA7, 0x18, 0xE5, 0x61, 0x20, 0xE6, 0xCB,
                /* 0150 */   0x40, 0xD0, 0x28, 0x31, 0x62, 0x9E, 0x4B, 0x5C,
                /* 0158 */   0xC3, 0x46, 0x88, 0x11, 0xF2, 0x14, 0x02, 0xC5,
                /* 0160 */   0x6D, 0x7F, 0x10, 0x64, 0xD0, 0xB8, 0xD1, 0xFB,
                /* 0168 */   0xB4, 0x70, 0x56, 0x27, 0x70, 0xF4, 0x4F, 0x0A,
                /* 0170 */   0x26, 0xF0, 0x94, 0x0F, 0xEC, 0xD9, 0xE0, 0x04,
                /* 0178 */   0x8E, 0x35, 0x6A, 0x8C, 0x53, 0x49, 0xE0, 0xD8,
                /* 0180 */   0x0F, 0x08, 0x69, 0x00, 0x51, 0x24, 0x78, 0xD4,
                /* 0188 */   0x69, 0xC1, 0xE7, 0x02, 0x0F, 0xED, 0xA0, 0x3D,
                /* 0190 */   0xC7, 0x13, 0x08, 0x72, 0x08, 0x47, 0xF0, 0xC4,
                /* 0198 */   0xF0, 0x40, 0xE0, 0x31, 0xB0, 0x9B, 0x82, 0x8F,
                /* 01A0 */   0x00, 0x3E, 0x21, 0xE0, 0x5D, 0x03, 0xEA, 0x6A,
                /* 01A8 */   0xF0, 0x60, 0xC0, 0x06, 0x1D, 0x0E, 0x33, 0x5E,
                /* 01B0 */   0x0F, 0x3F, 0xDC, 0x09, 0x9C, 0xE4, 0x03, 0x06,
                /* 01B8 */   0x3F, 0x6C, 0x78, 0x70, 0xB8, 0x79, 0x9E, 0xCC,
                /* 01C0 */   0x91, 0x95, 0x2A, 0xC0, 0xEC, 0xE1, 0x40, 0x07,
                /* 01C8 */   0x09, 0x9F, 0x36, 0xD8, 0x19, 0x00, 0x23, 0x7F,
                /* 01D0 */   0x10, 0xA8, 0x91, 0x19, 0xDA, 0xE3, 0x7E, 0xE9,
                /* 01D8 */   0x30, 0xE4, 0x73, 0xC2, 0x61, 0x31, 0xB1, 0xA7,
                /* 01E0 */   0x0E, 0x3A, 0x1E, 0xF0, 0x5F, 0x46, 0x9E, 0x33,
                /* 01E8 */   0x3C, 0x7D, 0xCF, 0xD7, 0x04, 0xC3, 0x0E, 0x1C,
                /* 01F0 */   0x3D, 0x10, 0x43, 0x3F, 0x6C, 0x1C, 0xC6, 0x69,
                /* 01F8 */   0xF8, 0xFE, 0xE1, 0xF3, 0x02, 0x8C, 0x53, 0x80,
                /* 0200 */   0x47, 0xEE, 0xFF, 0xFF, 0x21, 0xC5, 0xA7, 0x09,
                /* 0208 */   0x7E, 0xB4, 0xF0, 0x69, 0x82, 0x5D, 0x0F, 0x4E,
                /* 0210 */   0xE3, 0x39, 0xC0, 0xC3, 0x39, 0x2B, 0x1F, 0x26,
                /* 0218 */   0xC0, 0x76, 0x3F, 0x61, 0x23, 0x7A, 0xB7, 0xF0,
                /* 0220 */   0x68, 0xB0, 0xA7, 0x00, 0xF0, 0x9D, 0x5F, 0xC0,
                /* 0228 */   0x79, 0xD7, 0x60, 0x83, 0x85, 0x71, 0x7E, 0x01,
                /* 0230 */   0x1E, 0x27, 0x04, 0x0F, 0x81, 0x1F, 0x24, 0x3C,
                /* 0238 */   0x04, 0x3E, 0x80, 0xE7, 0x8F, 0x33, 0xB4, 0xD2,
                /* 0240 */   0x79, 0x21, 0x07, 0x06, 0xEF, 0x9C, 0x03, 0x63,
                /* 0248 */   0x14, 0x3C, 0xCF, 0x63, 0xC3, 0x04, 0x0A, 0xF2,
                /* 0250 */   0x1A, 0x50, 0xA8, 0x67, 0x01, 0x85, 0xF1, 0xA9,
                /* 0258 */   0x06, 0x78, 0xFD, 0xFF, 0x4F, 0x35, 0xC0, 0xE5,
                /* 0260 */   0x70, 0x80, 0x3B, 0x39, 0xC0, 0xBD, 0x17, 0xB0,
                /* 0268 */   0x8B, 0xC3, 0x73, 0x0D, 0x5C, 0xD1, 0xE7, 0x1A,
                /* 0270 */   0xA8, 0xF7, 0x96, 0xE2, 0xC6, 0xA8, 0x6B, 0x4C,
                /* 0278 */   0x90, 0x47, 0x81, 0x47, 0x9A, 0x28, 0xCF, 0x33,
                /* 0280 */   0xEF, 0x32, 0x11, 0x9E, 0x6D, 0x7C, 0xAD, 0xF1,
                /* 0288 */   0x14, 0xE2, 0xF8, 0x5A, 0x63, 0xC4, 0x97, 0x89,
                /* 0290 */   0x77, 0x1B, 0xE3, 0x1E, 0xDC, 0x63, 0xCD, 0x43,
                /* 0298 */   0x8E, 0x41, 0x8E, 0x26, 0xC2, 0x8B, 0x41, 0xC0,
                /* 02A0 */   0xC7, 0x1B, 0x1F, 0x6B, 0xC0, 0x2B, 0xE6, 0x85,
                /* 02A8 */   0x22, 0x0B, 0xC7, 0x1A, 0x40, 0xE3, 0xFF, 0xFF,
                /* 02B0 */   0x58, 0x03, 0xDC, 0xB0, 0x1E, 0x50, 0xC0, 0x77,
                /* 02B8 */   0x64, 0x60, 0x37, 0x14, 0x78, 0x27, 0x14, 0xC0,
                /* 02C0 */   0x4F, 0xE2, 0x17, 0x80, 0x8E, 0x1C, 0x4E, 0x0B,
                /* 02C8 */   0x22, 0x1B, 0x6F, 0x00, 0x9F, 0x02, 0xA8, 0x1A,
                /* 02D0 */   0x20, 0x4D, 0x13, 0x36, 0xC1, 0xF4, 0xE4, 0x82,
                /* 02D8 */   0xF7, 0x91, 0xC0, 0xB9, 0x49, 0x94, 0x7C, 0x58,
                /* 02E0 */   0x14, 0xCE, 0x59, 0x0F, 0x22, 0x14, 0xC4, 0x80,
                /* 02E8 */   0x0E, 0x72, 0x9C, 0x40, 0x9F, 0x51, 0x7C, 0x10,
                /* 02F0 */   0x39, 0xD1, 0x27, 0x42, 0x0F, 0xCA, 0xC3, 0x78,
                /* 02F8 */   0x47, 0x61, 0x27, 0x10, 0x1F, 0x26, 0x3C, 0x76,
                /* 0300 */   0x1F, 0x13, 0xF8, 0x3F, 0xC6, 0xB3, 0x31, 0xBA,
                /* 0308 */   0xD5, 0x60, 0xE8, 0xFF, 0x7F, 0x4E, 0xE1, 0x60,
                /* 0310 */   0x3E, 0x88, 0x70, 0x82, 0x8F, 0x46, 0xDD, 0x24,
                /* 0318 */   0x40, 0xA5, 0xEF, 0xA8, 0x00, 0x0A, 0x20, 0xDF,
                /* 0320 */   0x0B, 0x7C, 0x0E, 0x78, 0x36, 0x60, 0x63, 0x78,
                /* 0328 */   0x14, 0x30, 0x9A, 0xD1, 0x79, 0xF8, 0xC9, 0xA2,
                /* 0330 */   0xE2, 0x4E, 0x96, 0x82, 0x78, 0xB2, 0x8E, 0x32,
                /* 0338 */   0x59, 0xF4, 0x4C, 0x7C, 0xAF, 0xF0, 0x8C, 0xDE,
                /* 0340 */   0xB4, 0x3C, 0x47, 0x4F, 0xD8, 0xF7, 0x10, 0x58,
                /* 0348 */   0x87, 0x81, 0x90, 0x0F, 0x06, 0x9E, 0x86, 0xE1,
                /* 0350 */   0x3C, 0x59, 0x0E, 0xE7, 0xC9, 0xF2, 0xB1, 0xF8,
                /* 0358 */   0x1A, 0x02, 0x3E, 0x81, 0xB3, 0x05, 0x39, 0x3C,
                /* 0360 */   0x26, 0xD6, 0xA8, 0xE8, 0x55, 0xC8, 0xC3, 0xE3,
                /* 0368 */   0x97, 0x03, 0xCF, 0xE7, 0x19, 0xE1, 0x28, 0x9F,
                /* 0370 */   0x24, 0x70, 0x18, 0xCF, 0x24, 0x1E, 0xA2, 0x6F,
                /* 0378 */   0x45, 0xB0, 0x26, 0x72, 0xD2, 0xBE, 0x2D, 0x9C,
                /* 0380 */   0x6C, 0xD0, 0xD7, 0x33, 0xCC, 0xAD, 0x08, 0xF6,
                /* 0388 */   0xFF, 0xFF, 0x56, 0x04, 0xE7, 0x82, 0x06, 0x33,
                /* 0390 */   0xD3, 0xBD, 0x0A, 0x15, 0xEB, 0x5E, 0x05, 0x88,
                /* 0398 */   0x1D, 0xD6, 0x6B, 0x8F, 0x0F, 0x56, 0x70, 0xEF,
                /* 03A0 */   0x55, 0x70, 0x2F, 0x55, 0xCF, 0x0A, 0xC7, 0x18,
                /* 03A8 */   0xFE, 0x61, 0x2A, 0xC6, 0x29, 0xBD, 0x76, 0x1A,
                /* 03B0 */   0x28, 0x4C, 0x94, 0x78, 0xEF, 0x55, 0x1E, 0xE3,
                /* 03B8 */   0x7B, 0x15, 0xBB, 0x42, 0x85, 0x89, 0xF5, 0x72,
                /* 03C0 */   0x65, 0xD4, 0xD7, 0x89, 0x70, 0x81, 0x82, 0x44,
                /* 03C8 */   0x7A, 0xB5, 0x8A, 0x12, 0x39, 0xBE, 0x21, 0xDF,
                /* 03D0 */   0xAB, 0xC0, 0x2B, 0xE7, 0x5E, 0x05, 0xB2, 0xFF,
                /* 03D8 */   0xFF, 0xBD, 0x0A, 0x30, 0x8F, 0xF6, 0x5E, 0x05,
                /* 03E0 */   0xC6, 0x6B, 0x03, 0xBB, 0x21, 0xC1, 0x02, 0x7A,
                /* 03E8 */   0xB1, 0x02, 0x0C, 0x65, 0xBE, 0x58, 0xD1, 0xBC,
                /* 03F0 */   0x17, 0x2B, 0xC4, 0xFF, 0xFF, 0x5C, 0xC2, 0xF4,
                /* 03F8 */   0x5C, 0xAC, 0xC8, 0x3C, 0xE1, 0xDF, 0xAC, 0x00,
                /* 0400 */   0x4E, 0xFF, 0xFF, 0x6F, 0x56, 0x80, 0xB1, 0x7B,
                /* 0408 */   0x11, 0xE6, 0x68, 0x05, 0x2F, 0xE5, 0xCD, 0x8A,
                /* 0410 */   0xC6, 0x59, 0x86, 0x02, 0x2E, 0x88, 0xC2, 0xF8,
                /* 0418 */   0x66, 0x05, 0x38, 0xBA, 0xAE, 0xE0, 0x86, 0x0C,
                /* 0420 */   0x17, 0x2C, 0x4A, 0x30, 0x1F, 0x42, 0x3C, 0x9D,
                /* 0428 */   0x23, 0x7E, 0x48, 0x78, 0x09, 0x78, 0xCC, 0xF1,
                /* 0430 */   0x80, 0x1F, 0x08, 0x7C, 0xB9, 0x02, 0xD3, 0xFF,
                /* 0438 */   0x9F, 0xC0, 0x27, 0xDF, 0xB3, 0x7C, 0x9B, 0x7A,
                /* 0440 */   0xEF, 0xE5, 0x07, 0xAC, 0xF7, 0x2A, 0x1F, 0x7E,
                /* 0448 */   0x63, 0xBD, 0x33, 0xBC, 0x5C, 0x79, 0x24, 0x51,
                /* 0450 */   0x4E, 0x22, 0x94, 0xEF, 0x56, 0xEF, 0x55, 0x46,
                /* 0458 */   0x89, 0xF8, 0x42, 0xEC, 0x53, 0xB0, 0xA1, 0x8D,
                /* 0460 */   0xF2, 0x54, 0x11, 0xDD, 0x78, 0x2F, 0x57, 0xE0,
                /* 0468 */   0x95, 0x74, 0xB9, 0x02, 0x68, 0x32, 0xFC, 0x97,
                /* 0470 */   0x2B, 0xF0, 0xDD, 0x1C, 0xB0, 0xD7, 0x24, 0x38,
                /* 0478 */   0xFF, 0xFF, 0x6B, 0x12, 0xBF, 0x5E, 0x01, 0x7E,
                /* 0480 */   0xB2, 0x5F, 0xAF, 0x68, 0xEE, 0xEB, 0x15, 0x4A,
                /* 0488 */   0x14, 0x84, 0x14, 0x01, 0x69, 0xA6, 0xE0, 0xB9,
                /* 0490 */   0x5F, 0x01, 0x9C, 0xF8, 0xFF, 0xDF, 0xAF, 0x00,
                /* 0498 */   0xCB, 0xE1, 0xEE, 0x57, 0x40, 0xEF, 0x76, 0x04,
                /* 04A0 */   0x5E, 0x94, 0xB7, 0x23, 0xEC, 0x15, 0x0B, 0x9F,
                /* 04A8 */   0xF1, 0x8A, 0x45, 0xC3, 0xAC, 0x44, 0xF1, 0xD6,
                /* 04B0 */   0x44, 0x61, 0x7C, 0xC5, 0x02, 0x26, 0xFF, 0xFF,
                /* 04B8 */   0x2B, 0x16, 0x30, 0x3B, 0x88, 0xE2, 0x46, 0x0D,
                /* 04C0 */   0xF7, 0xE2, 0xE4, 0x5B, 0x8F, 0xE7, 0x1B, 0xD1,
                /* 04C8 */   0x77, 0x18, 0xCC, 0x09, 0x0B, 0xC6, 0x0D, 0x0B,
                /* 04D0 */   0xFE, 0x90, 0x1E, 0x86, 0x7D, 0x92, 0x78, 0xC7,
                /* 04D8 */   0xF2, 0xD1, 0xCA, 0x20, 0x6F, 0xC0, 0x4F, 0x56,
                /* 04E0 */   0x0F, 0x56, 0x51, 0x8C, 0x10, 0xF0, 0x78, 0xDE,
                /* 04E8 */   0x85, 0x7D, 0xB4, 0x7A, 0xD3, 0x32, 0x4A, 0xEC,
                /* 04F0 */   0x58, 0xBE, 0x50, 0x3D, 0x6B, 0xF9, 0x9A, 0x65,
                /* 04F8 */   0x88, 0xB8, 0x0F, 0xC4, 0xBE, 0x61, 0x01, 0xB6,
                /* 0500 */   0xFF, 0xFF, 0x37, 0x2C, 0xC0, 0xD1, 0xC5, 0x81,
                /* 0508 */   0x1F, 0x1C, 0xB0, 0x37, 0x2C, 0xC0, 0xE7, 0x4C,
                /* 0510 */   0xC1, 0x73, 0xC3, 0x02, 0x36, 0xFF, 0xFF, 0x1B,
                /* 0518 */   0x16, 0xC0, 0xFF, 0xFF, 0xFF, 0x0D, 0x0B, 0x38,
                /* 0520 */   0xDC, 0xAE, 0xB0, 0xB7, 0x2C, 0xEC, 0xED, 0x85,
                /* 0528 */   0xAC, 0x82, 0x86, 0x5A, 0x89, 0x82, 0x7F, 0xAF,
                /* 0530 */   0x0C, 0x43, 0x6F, 0x58, 0x80, 0xA3, 0x71, 0x7B,
                /* 0538 */   0xD4, 0xE0, 0x38, 0x1B, 0x3C, 0x49, 0x60, 0xCE,
                /* 0540 */   0xD5, 0xB8, 0xD9, 0x1C, 0x5C, 0xE0, 0x08, 0xBD,
                /* 0548 */   0x83, 0x6A, 0xEE, 0xEC, 0x92, 0x02, 0xE3, 0x96,
                /* 0550 */   0x05, 0xF7, 0x52, 0xF5, 0xD0, 0x10, 0xE5, 0x20,
                /* 0558 */   0x5E, 0x85, 0x1F, 0xAC, 0x1E, 0xA5, 0x8E, 0xEC,
                /* 0560 */   0xF1, 0xEA, 0x69, 0xD8, 0xC7, 0x2C, 0xDF, 0xB2,
                /* 0568 */   0x0C, 0x15, 0xE1, 0x2D, 0x8B, 0x9D, 0x21, 0xE2,
                /* 0570 */   0xC5, 0x8A, 0x12, 0xE2, 0xBD, 0x22, 0xB4, 0xEF,
                /* 0578 */   0x5C, 0x06, 0x7F, 0x34, 0x36, 0x6A, 0xD0, 0x97,
                /* 0580 */   0xE3, 0xB7, 0x2C, 0x78, 0xFF, 0xFF, 0x5B, 0x16,
                /* 0588 */   0x7C, 0x91, 0x7F, 0x15, 0x9D, 0x08, 0x7C, 0xCB,
                /* 0590 */   0x02, 0xF8, 0x11, 0x0C, 0x42, 0x4E, 0x06, 0x8E,
                /* 0598 */   0x3E, 0x2F, 0xE0, 0x07, 0xF0, 0x30, 0xE2, 0x21,
                /* 05A0 */   0xB1, 0x00, 0x03, 0xA7, 0xF7, 0x25, 0x9F, 0x29,
                /* 05A8 */   0xF8, 0x01, 0xC3, 0x67, 0x0A, 0x76, 0x3D, 0x88,
                /* 05B0 */   0xFE, 0x18, 0xE0, 0x73, 0x09, 0x66, 0x70, 0xE0,
                /* 05B8 */   0xBF, 0x56, 0x1C, 0xBA, 0x47, 0xF1, 0xFA, 0x60,
                /* 05C0 */   0x02, 0x0F, 0x8E, 0xFF, 0xFF, 0x07, 0x07, 0xF7,
                /* 05C8 */   0xCE, 0x70, 0x44, 0xBE, 0xC3, 0x78, 0x70, 0x60,
                /* 05D0 */   0x3B, 0x08, 0x00, 0x87, 0xC1, 0xE1, 0x43, 0x0D,
                /* 05D8 */   0x0E, 0x3D, 0x1E, 0x03, 0x87, 0xF4, 0x79, 0x8C,
                /* 05E0 */   0x5D, 0x18, 0x1E, 0x72, 0x3C, 0x34, 0xB0, 0x01,
                /* 05E8 */   0x7A, 0x68, 0xC0, 0x72, 0x12, 0x4F, 0x21, 0x87,
                /* 05F0 */   0x06, 0x66, 0x09, 0x43, 0x03, 0x4A, 0xF1, 0x86,
                /* 05F8 */   0x46, 0xFF, 0xFF, 0x43, 0xE3, 0x43, 0xF2, 0x61,
                /* 0600 */   0x21, 0xE6, 0x53, 0x4E, 0x84, 0xF7, 0x05, 0x9F,
                /* 0608 */   0xA0, 0x18, 0xFA, 0x6B, 0x8A, 0x6F, 0x17, 0xBE,
                /* 0610 */   0x09, 0xE2, 0xC6, 0x07, 0xAE, 0x4B, 0xA7, 0xC7,
                /* 0618 */   0x07, 0x7C, 0x8E, 0x5C, 0x1E, 0x1F, 0xEE, 0xE8,
                /* 0620 */   0xE4, 0xF1, 0xC1, 0x70, 0x79, 0x95, 0x21, 0x47,
                /* 0628 */   0x13, 0x1F, 0xAD, 0xD8, 0xF0, 0xC0, 0x76, 0xD3,
                /* 0630 */   0xF3, 0xF0, 0x80, 0xCF, 0x75, 0x13, 0x8C, 0x57,
                /* 0638 */   0x48, 0x7E, 0x2D, 0x81, 0x71, 0x82, 0xC2, 0x5F,
                /* 0640 */   0x37, 0xC1, 0xFB, 0xFF, 0xBF, 0x6E, 0x02, 0xCF,
                /* 0648 */   0x51, 0x70, 0xAD, 0x97, 0x6C, 0x1A, 0xE4, 0x95,
                /* 0650 */   0xA3, 0x58, 0x2F, 0x02, 0x0A, 0xE3, 0x33, 0x1B,
                /* 0658 */   0xE0, 0x68, 0xAC, 0xCF, 0x6C, 0x60, 0xB9, 0x17,
                /* 0660 */   0xB0, 0x1B, 0x1B, 0xDC, 0xD3, 0x1A, 0xEC, 0xBB,
                /* 0668 */   0xC3, 0xC3, 0xD9, 0x63, 0xDA, 0xA3, 0xDA, 0x03,
                /* 0670 */   0x9A, 0x8F, 0xD8, 0x31, 0xDE, 0xD2, 0x82, 0xC4,
                /* 0678 */   0x89, 0xF0, 0x3A, 0xF0, 0xB4, 0xE6, 0x4B, 0x46,
                /* 0680 */   0xBC, 0x40, 0x4F, 0x6B, 0xC6, 0x88, 0xF3, 0xD2,
                /* 0688 */   0x66, 0xC4, 0x57, 0x8A, 0x10, 0x0F, 0x6B, 0x3E,
                /* 0690 */   0xB9, 0x19, 0xEF, 0x61, 0x22, 0x5C, 0x98, 0x17,
                /* 0698 */   0xB6, 0xA7, 0x35, 0x70, 0xFC, 0xFF, 0x4F, 0x6B,
                /* 06A0 */   0x70, 0xE4, 0x5C, 0xB1, 0x01, 0x9A, 0x5C, 0xF4,
                /* 06A8 */   0x71, 0x87, 0x14, 0xB0, 0x5C, 0x1B, 0xD8, 0x2D,
                /* 06B0 */   0x05, 0xDE, 0x05, 0x1B, 0x38, 0xFF, 0xFF, 0x8F,
                /* 06B8 */   0x28, 0xE0, 0xCB, 0x72, 0xC1, 0xA6, 0x39, 0x2E,
                /* 06C0 */   0xD8, 0x28, 0x0E, 0xAB, 0x01, 0xD2, 0x3C, 0xE1,
                /* 06C8 */   0x5F, 0xAF, 0xC1, 0x3F, 0x09, 0x5F, 0xAF, 0x01,
                /* 06D0 */   0xDB, 0xB7, 0x58, 0xDC, 0xF5, 0x1A, 0x58, 0xFD,
                /* 06D8 */   0xFF, 0xAF, 0xD7, 0xC0, 0x52, 0xF0, 0x48, 0xE9,
                /* 06E0 */   0x9D, 0x1A, 0x5C, 0x37, 0x6D, 0x3C, 0xE8, 0x9B,
                /* 06E8 */   0x36, 0x4C, 0x85, 0x36, 0x7D, 0x6A, 0x34, 0x6A,
                /* 06F0 */   0xD5, 0xA0, 0x4C, 0x8D, 0x32, 0x0D, 0x6A, 0xF5,
                /* 06F8 */   0xA9, 0xD4, 0x98, 0xB1, 0xA1, 0x5A, 0xDA, 0x5D,
                /* 0700 */   0x82, 0x8A, 0x59, 0x8C, 0x46, 0xE3, 0x28, 0x20,
                /* 0708 */   0x54, 0xF6, 0x1F, 0x50, 0x20, 0x0E, 0xF9, 0xD1,
                /* 0710 */   0x11, 0xA0, 0x83, 0x7D, 0xA7, 0x74, 0x0B, 0x27,
                /* 0718 */   0x6B, 0x13, 0x88, 0xE3, 0x9B, 0x80, 0x68, 0x04,
                /* 0720 */   0x44, 0x5A, 0x54, 0x00, 0xB1, 0xDC, 0x20, 0x02,
                /* 0728 */   0xB2, 0x8A, 0x35, 0x09, 0xC8, 0x9A, 0xBF, 0x2F,
                /* 0730 */   0x02, 0xB7, 0x4E, 0x1D, 0x40, 0x2C, 0x25, 0x08,
                /* 0738 */   0x4D, 0xB4, 0x70, 0x81, 0x3A, 0x1E, 0x88, 0x06,
                /* 0740 */   0x43, 0x68, 0x04, 0xE4, 0x60, 0x14, 0x02, 0xB2,
                /* 0748 */   0x8C, 0xCF, 0x9D, 0xC0, 0x2D, 0xC0, 0x0A, 0x10,
                /* 0750 */   0x93, 0x0F, 0x42, 0x05, 0x7B, 0x01, 0x65, 0xEA,
                /* 0758 */   0x41, 0x04, 0x64, 0xA5, 0x6B, 0x15, 0x90, 0x75,
                /* 0760 */   0x83, 0x08, 0xC8, 0x59, 0xCD, 0x80, 0xB3, 0x8C,
                /* 0768 */   0x6E, 0x80, 0x98, 0xC2, 0x87, 0x82, 0x40, 0xAC,
                /* 0770 */   0x49, 0x0F, 0x28, 0x13, 0x08, 0xA2, 0x0B, 0x07,
                /* 0778 */   0xF1, 0x03, 0xC4, 0xA4, 0x81, 0x08, 0xC8, 0x71,
                /* 0780 */   0x7E, 0x25, 0x02, 0x77, 0x1C, 0x45, 0x80, 0xD4,
                /* 0788 */   0xD1, 0x70, 0x29, 0x08, 0x15, 0xFF, 0x09, 0x13,
                /* 0790 */   0xC8, 0xFF, 0xFF, 0xFD, 0x44, 0x96, 0xC0, 0x28,
                /* 0798 */   0x08, 0x8D, 0xA0, 0x09, 0x84, 0xC9, 0xF3, 0x04,
                /* 07A0 */   0xC2, 0x42, 0xFD, 0xFD, 0x34, 0x04, 0x07, 0x51,
                /* 07A8 */   0x35, 0x44, 0xEA, 0x0A, 0x84, 0x05, 0x7E, 0x18,
                /* 07B0 */   0x68, 0x30, 0x4E, 0x0F, 0x22, 0x20, 0x27, 0x7D,
                /* 07B8 */   0x52, 0x05, 0x22, 0xB9, 0x41, 0x04, 0xE4, 0xFF,
                /* 07C0 */   0x3F
            })
        }


        Scope (PCI0.LPC.EC.HKEY)
        {
            Mutex (BFWM, 0x07)
            Method (MHCF, 1, NotSerialized)
            {
                Store (BFWC (Arg0), Local0)
                Return (Local0)
            }


            Method (MHPF, 1, NotSerialized)
            {
                Name (RETB, Buffer (0x25) {})
                Acquire (BFWM, 0xFFFF)
                If (LLessEqual (SizeOf (Arg0), 0x25))
                {
                    Store (Arg0, BFWB)
                    If (BFWP ())
                    {
                        CHKS ()
                        BFWL ()
                    }


                    Store (BFWB, RETB)
                }


                Release (BFWM)
                Return (RETB)
            }


            Method (MHIF, 1, NotSerialized)
            {
                Name (RETB, Buffer (0x0A) {})
                Acquire (BFWM, 0xFFFF)
                BFWG (Arg0)
                Store (BFWB, RETB)
                Release (BFWM)
                Return (RETB)
            }


            Method (MHDM, 1, NotSerialized)
            {
                BDMC (Arg0)
            }
        }


        Name (\VHCC, Zero)
        Scope (PCI0.VID)
        {
            Name (HVMD, Zero)
            Method (ISHV, 0, NotSerialized)
            {
                If (LEqual (HVMD, Zero))
                {
                    Store (VHYB (0x03, Zero), HVMD)
                }


                Return (LEqual (HVMD, 0x03))
            }


            Method (ISOP, 0, NotSerialized)
            {
                If (LEqual (HVMD, Zero))
                {
                    Store (VHYB (0x03, Zero), HVMD)
                }


                Return (LEqual (HVMD, 0x04))
            }


            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                Name (CTOI, Zero)
                If (LEqual (Arg0, Buffer (0x10)
                        {
                            /* 0000 */   0xA0, 0xA0, 0x95, 0x9D, 0x60, 0x00, 0x48, 0x4D,
                            /* 0008 */   0xB3, 0x4D, 0x7E, 0x5F, 0xEA, 0x12, 0x9F, 0xD4
                        }))
                {
                    If (LNotEqual (Arg1, 0x0102))
                    {
                        Return (Buffer (0x04)
                        {
                             0x02, 0x00, 0x00, 0x80
                        })
                    }


                    While (One)
                    {
                        Name (_T_0, Zero)  // _T_x: Emitted by ASL Compiler
                        Store (ToInteger (Arg2), _T_0)
                        If (LEqual (_T_0, Zero))
                        {
                            Return (Buffer (0x04)
                            {
                                 0x0B, 0x00, 0x00, 0x00
                            })
                        }
                        Else
                        {
                            If (LEqual (_T_0, One))
                            {
                                Return (Buffer (0x04)
                                {
                                     0xE3, 0x40, 0x00, 0x03
                                })
                            }
                            Else
                            {
                                If (LEqual (_T_0, 0x03))
                                {
                                    CreateByteField (Arg3, Zero, PWFC)
                                    If (LEqual (PWFC, One))
                                    {
                                        ^^PEG.VID._ON ()
                                    }
                                    Else
                                    {
                                        If (LEqual (PWFC, 0x02))
                                        {
                                            ^^PEG.VID._OFF ()
                                            Return (Zero)
                                        }
                                    }


                                    Return (LEqual (^^PEG.VID._STA (), 0x0F))
                                }
                                Else
                                {
                                    If (LEqual (_T_0, 0x05))
                                    {
                                        Name (NFBU, Buffer (0x04)
                                        {
                                             0x00
                                        })
                                        CreateField (NFBU, Zero, 0x04, DAVF)
                                        CreateField (NFBU, 0x04, One, LIDF)
                                        CreateField (NFBU, 0x08, 0x06, DTOG)
                                        If (And (DerefOf (Index (Arg3, 0x03)), 0x80))
                                        {
                                            Store (DerefOf (Index (Arg3, 0x03)), Local0)
                                            And (Local0, 0x3E, Local0)
                                            ShiftRight (Local0, One, Local0)
                                            Store (Local0, CTOI)
                                            Store (CTOI, DTOG)
                                        }
                                        Else
                                        {
                                            If (And (DerefOf (Index (Arg3, 0x03)), One))
                                            {
                                                If (LNot (CTOI))
                                                {
                                                    Store (DerefOf (Index (Arg3, One)), Local0)
                                                    ShiftRight (Local0, 0x04, Local0)
                                                    Store (DerefOf (Index (Arg3, 0x02)), Local1)
                                                    ShiftLeft (Local1, 0x04, Local1)
                                                    Or (Local0, Local1, Local0)
                                                    Store (GATD (Local0), CTOI)
                                                }


                                                Store (CTOI, Local2)
                                                Increment (Local2)
                                                If (MXDS (Zero))
                                                {
                                                    If (LGreaterEqual (Local2, 0x10))
                                                    {
                                                        Store (One, Local2)
                                                    }
                                                }
                                                Else
                                                {
                                                    If (LGreaterEqual (Local2, 0x04))
                                                    {
                                                        Store (One, Local2)
                                                    }
                                                }


                                                Store (Local2, DTOG)
                                                Store (One, DAVF)
                                            }
                                            Else
                                            {
                                                If (LNot (CTOI))
                                                {
                                                    If (And (DerefOf (Index (Arg3, 0x03)), One))
                                                    {
                                                        Store (DerefOf (Index (Arg3, One)), Local0)
                                                        ShiftRight (Local0, 0x04, Local0)
                                                        Store (DerefOf (Index (Arg3, 0x02)), Local1)
                                                        ShiftLeft (Local1, 0x04, Local1)
                                                        Or (Local0, Local1, Local0)
                                                        Store (GATD (Local0), CTOI)
                                                    }
                                                }


                                                Store (CTOI, DTOG)
                                            }
                                        }


                                        Return (NFBU)
                                    }
                                    Else
                                    {
                                        If (LEqual (_T_0, 0x06))
                                        {
                                            Return (Package (0x25)
                                            {
                                                0x0410, 
                                                0x2C, 
                                                0x80000100, 
                                                0x2C, 
                                                0x0410, 
                                                0x80000100, 
                                                0x2C, 
                                                0x80006330, 
                                                0x2C, 
                                                0x0410, 
                                                0x80006330, 
                                                0x2C, 
                                                0x80007331, 
                                                0x2C, 
                                                0x0410, 
                                                0x80007331, 
                                                0x2C, 
                                                0x80086342, 
                                                0x2C, 
                                                0x0410, 
                                                0x80086342, 
                                                0x2C, 
                                                0x80087355, 
                                                0x2C, 
                                                0x0410, 
                                                0x80087355, 
                                                0x2C, 
                                                0x80086354, 
                                                0x2C, 
                                                0x0410, 
                                                0x80086354, 
                                                0x2C, 
                                                0x80087343, 
                                                0x2C, 
                                                0x0410, 
                                                0x80087343, 
                                                0x2C
                                            })
                                        }
                                        Else
                                        {
                                            Return (Buffer (0x04)
                                            {
                                                 0x02, 0x00, 0x00, 0x80
                                            })
                                        }
                                    }
                                }
                            }
                        }


                        Break
                    }
                }
                Else
                {
                    If (LEqual (Arg0, Buffer (0x10)
                            {
                                /* 0000 */   0xD3, 0x73, 0xD8, 0x7E, 0xD0, 0xC2, 0x4F, 0x4E,
                                /* 0008 */   0xA8, 0x54, 0x0F, 0x13, 0x17, 0xB0, 0x1C, 0x2C
                            }))
                    {
                        If (LNot (ISHV ()))
                        {
                            Return (Buffer (0x04)
                            {
                                 0x02, 0x00, 0x00, 0x80
                            })
                        }


                        If (LNotEqual (Arg1, One))
                        {
                            Return (Buffer (0x04)
                            {
                                 0x02, 0x00, 0x00, 0x80
                            })
                        }


                        While (One)
                        {
                            Name (_T_1, Zero)  // _T_x: Emitted by ASL Compiler
                            Store (ToInteger (Arg2), _T_1)
                            If (LEqual (_T_1, Zero))
                            {
                                Return (Buffer (0x04)
                                {
                                     0x03, 0x00, 0x00, 0x00
                                })
                            }
                            Else
                            {
                                If (LEqual (_T_1, One))
                                {
                                    If (ISOP ())
                                    {
                                        Return (Package (0x05)
                                        {
                                            0x04, 
                                            Package (0x02)
                                            {
                                                0x80000100, 
                                                Buffer (0x04)
                                                {
                                                     0x01, 0x03, 0x03, 0x00
                                                }
                                            }, 


                                            Package (0x02)
                                            {
                                                0x0410, 
                                                Buffer (0x04)
                                                {
                                                     0x02, 0x03, 0x03, 0x00
                                                }
                                            }, 


                                            Package (0x02)
                                            {
                                                0x80006330, 
                                                Buffer (0x04)
                                                {
                                                     0x08, 0x03, 0x03, 0x03
                                                }
                                            }, 


                                            Package (0x02)
                                            {
                                                0x80007331, 
                                                Buffer (0x04)
                                                {
                                                     0x04, 0x03, 0x03, 0x03
                                                }
                                            }
                                        })
                                    }


                                    Return (Package (0x05)
                                    {
                                        0x04, 
                                        Package (0x02)
                                        {
                                            0x80000100, 
                                            Buffer (0x04)
                                            {
                                                 0x01, 0x03, 0x03, 0x00
                                            }
                                        }, 


                                        Package (0x02)
                                        {
                                            0x0410, 
                                            Buffer (0x04)
                                            {
                                                 0x02, 0x03, 0x03, 0x00
                                            }
                                        }, 


                                        Package (0x02)
                                        {
                                            0x80006330, 
                                            Buffer (0x04)
                                            {
                                                 0x08, 0x03, 0x03, 0x03
                                            }
                                        }, 


                                        Package (0x02)
                                        {
                                            0x80007331, 
                                            Buffer (0x04)
                                            {
                                                 0x04, 0x03, 0x03, 0x03
                                            }
                                        }
                                    })
                                }
                                Else
                                {
                                    Return (Buffer (0x04)
                                    {
                                         0x02, 0x00, 0x00, 0x80
                                    })
                                }
                            }


                            Break
                        }
                    }
                }
            }


            Method (GATD, 1, NotSerialized)
            {
                While (One)
                {
                    Name (_T_0, Zero)  // _T_x: Emitted by ASL Compiler
                    Store (ToInteger (Arg0), _T_0)
                    If (LEqual (_T_0, 0x80))
                    {
                        Return (One)
                    }
                    Else
                    {
                        If (LEqual (_T_0, One))
                        {
                            Return (0x02)
                        }
                        Else
                        {
                            If (LEqual (_T_0, 0x81))
                            {
                                Return (0x03)
                            }
                            Else
                            {
                                If (LEqual (_T_0, 0x02))
                                {
                                    Return (0x04)
                                }
                                Else
                                {
                                    If (LEqual (_T_0, 0x82))
                                    {
                                        Return (0x05)
                                    }
                                    Else
                                    {
                                        If (LEqual (_T_0, 0x04))
                                        {
                                            Return (0x06)
                                        }
                                        Else
                                        {
                                            If (LEqual (_T_0, 0x84))
                                            {
                                                Return (0x07)
                                            }
                                            Else
                                            {
                                                If (LEqual (_T_0, 0x08))
                                                {
                                                    Return (0x08)
                                                }
                                                Else
                                                {
                                                    If (LEqual (_T_0, 0x88))
                                                    {
                                                        Return (0x09)
                                                    }
                                                    Else
                                                    {
                                                        If (LEqual (_T_0, 0x10))
                                                        {
                                                            Return (0x0A)
                                                        }
                                                        Else
                                                        {
                                                            If (LEqual (_T_0, 0x90))
                                                            {
                                                                Return (0x0B)
                                                            }
                                                            Else
                                                            {
                                                                If (LEqual (_T_0, 0x20))
                                                                {
                                                                    Return (0x0C)
                                                                }
                                                                Else
                                                                {
                                                                    If (LEqual (_T_0, 0xA0))
                                                                    {
                                                                        Return (0x0D)
                                                                    }
                                                                    Else
                                                                    {
                                                                        If (LEqual (_T_0, 0x40))
                                                                        {
                                                                            Return (0x0E)
                                                                        }
                                                                        Else
                                                                        {
                                                                            If (LEqual (_T_0, 0xC0))
                                                                            {
                                                                                Return (0x0F)
                                                                            }
                                                                            Else
                                                                            {
                                                                                Return (One)
                                                                            }
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }


                    Break
                }
            }


            Method (MXDS, 1, NotSerialized)
            {
                If (LNot (Arg0))
                {
                    Return (LNot (LNot (And (RISA (0x11BA), 0x10))))
                }
                Else
                {
                    SWTT (Zero)
                    MISA (0x11BA, 0xAB, 0x40)
                }
            }


            Method (MXMX, 1, NotSerialized)
            {
                While (One)
                {
                    Name (_T_0, Zero)  // _T_x: Emitted by ASL Compiler
                    Store (ToInteger (Arg0), _T_0)
                    If (LEqual (_T_0, Zero))
                    {
                        Store (0x60, Local0)
                        If (ISOP ())
                        {
                            Store (0x40, Local0)
                        }


                        MISA (0x11BA, 0x9F, Local0)
                    }
                    Else
                    {
                        If (LEqual (_T_0, 0x02))
                        {
                            Return (LEqual (And (RISA (0x11BA), 0x40), 0x40))
                        }
                    }


                    Break
                }


                Return (One)
            }
        }


        Scope (PCI0)
        {
            Name (OTM, "OTMACPI 2009-Nov-12 18:18:51")
        }


        Scope (PCI0.PEG.VID)
        {
            Method (GOBT, 1, NotSerialized)
            {
                Name (OPVK, Buffer (0xE6)
                {
                    /* 0000 */   0xA2, 0xA1, 0x94, 0xE8, 0xFD, 0xA5, 0xEA, 0xB6,
                    /* 0008 */   0x4B, 0x56, 0xE6, 0x00, 0x00, 0x00, 0x01, 0x00,
                    /* 0010 */   0x31, 0x34, 0x38, 0x35, 0x39, 0x37, 0x34, 0x35,
                    /* 0018 */   0x36, 0x39, 0x38, 0x35, 0x47, 0x65, 0x6E, 0x75,
                    /* 0020 */   0x69, 0x6E, 0x65, 0x20, 0x4E, 0x56, 0x49, 0x44,
                    /* 0028 */   0x49, 0x41, 0x20, 0x43, 0x65, 0x72, 0x74, 0x69,
                    /* 0030 */   0x66, 0x69, 0x65, 0x64, 0x20, 0x4F, 0x70, 0x74,
                    /* 0038 */   0x69, 0x6D, 0x75, 0x73, 0x20, 0x52, 0x65, 0x61,
                    /* 0040 */   0x64, 0x79, 0x20, 0x4D, 0x6F, 0x74, 0x68, 0x65,
                    /* 0048 */   0x72, 0x62, 0x6F, 0x61, 0x72, 0x64, 0x20, 0x66,
                    /* 0050 */   0x6F, 0x72, 0x20, 0x36, 0x37, 0x39, 0x36, 0x33,
                    /* 0058 */   0x35, 0x5F, 0x4C, 0x5F, 0x73, 0x68, 0x69, 0x6E,
                    /* 0060 */   0x61, 0x69, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
                    /* 0068 */   0x2D, 0x20, 0x53, 0x40, 0x29, 0x38, 0x54, 0x29,
                    /* 0070 */   0x59, 0x2A, 0x41, 0x52, 0x38, 0x33, 0x3F, 0x3F,
                    /* 0078 */   0x4F, 0x37, 0x42, 0x28, 0x59, 0x21, 0x46, 0x35,
                    /* 0080 */   0x4A, 0x5F, 0x33, 0x3A, 0x4D, 0x3A, 0x53, 0x48,
                    /* 0088 */   0x49, 0x4D, 0x3F, 0x34, 0x31, 0x25, 0x39, 0x2D,
                    /* 0090 */   0x26, 0x33, 0x22, 0x43, 0x5B, 0x40, 0x5F, 0x2C,
                    /* 0098 */   0x56, 0x51, 0x29, 0x57, 0x32, 0x56, 0x20, 0x2D,
                    /* 00A0 */   0x20, 0x43, 0x6F, 0x70, 0x79, 0x72, 0x69, 0x67,
                    /* 00A8 */   0x68, 0x74, 0x20, 0x32, 0x30, 0x31, 0x30, 0x20,
                    /* 00B0 */   0x4E, 0x56, 0x49, 0x44, 0x49, 0x41, 0x20, 0x43,
                    /* 00B8 */   0x6F, 0x72, 0x70, 0x6F, 0x72, 0x61, 0x74, 0x69,
                    /* 00C0 */   0x6F, 0x6E, 0x20, 0x41, 0x6C, 0x6C, 0x20, 0x52,
                    /* 00C8 */   0x69, 0x67, 0x68, 0x74, 0x73, 0x20, 0x52, 0x65,
                    /* 00D0 */   0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x2D, 0x31,
                    /* 00D8 */   0x34, 0x38, 0x35, 0x39, 0x37, 0x34, 0x35, 0x36,
                    /* 00E0 */   0x39, 0x38, 0x35, 0x28, 0x52, 0x29
                })
                CreateWordField (Arg0, 0x02, USRG)
                If (LEqual (USRG, 0x564B))
                {
                    Return (OPVK)
                }


                Return (Zero)
            }
        }


        Scope (PCI0.PEG.VID)
        {
            Name (OMPR, 0x02)
            Name (HDAS, Zero)
            Method (NVOP, 4, NotSerialized)
            {
                Store ("------- NV OPTIMUS DSM --------", Debug)
                If (LNotEqual (Arg1, 0x0100))
                {
                    Return (0x80000001)
                }


                While (One)
                {
                    Name (_T_0, Zero)  // _T_x: Emitted by ASL Compiler
                    Store (ToInteger (Arg2), _T_0)
                    If (LEqual (_T_0, Zero))
                    {
                        Store (Buffer (0x04)
                            {
                                 0x00, 0x00, 0x00, 0x00
                            }, Local0)
                        Divide (Zero, 0x08, Local2, Local1)
                        ShiftLeft (One, Local2, Local2)
                        Or (DerefOf (Index (Local0, Local1)), Local2, Index (Local0, Local1
                            ))
                        Divide (0x1A, 0x08, Local2, Local1)
                        ShiftLeft (One, Local2, Local2)
                        Or (DerefOf (Index (Local0, Local1)), Local2, Index (Local0, Local1
                            ))
                        Divide (0x1B, 0x08, Local2, Local1)
                        ShiftLeft (One, Local2, Local2)
                        Or (DerefOf (Index (Local0, Local1)), Local2, Index (Local0, Local1
                            ))
                        Divide (0x10, 0x08, Local2, Local1)
                        ShiftLeft (One, Local2, Local2)
                        Or (DerefOf (Index (Local0, Local1)), Local2, Index (Local0, Local1
                            ))
                        Return (Local0)
                    }
                    Else
                    {
                        If (LEqual (_T_0, 0x1A))
                        {
                            CreateField (Arg3, 0x18, 0x02, OPCE)
                            CreateField (Arg3, Zero, One, FLCH)
                            If (ToInteger (FLCH))
                            {
                                Store (OPCE, OMPR)
                            }


                            Store (Buffer (0x04)
                                {
                                     0x00, 0x00, 0x00, 0x00
                                }, Local0)
                            CreateField (Local0, Zero, One, OPEN)
                            CreateField (Local0, 0x03, 0x02, CGCS)
                            CreateField (Local0, 0x06, One, SHPC)
                            CreateField (Local0, 0x18, 0x03, DGPC)
                            CreateField (Local0, 0x1B, 0x02, HDAC)
                            Store (One, OPEN)
                            Store (One, SHPC)
                            Store (One, DGPC)
                            If (_STA ())
                            {
                                Store (0x03, CGCS)
                            }


                            Store (0x02, HDAC)
                            Return (Local0)
                        }
                        Else
                        {
                            If (LEqual (_T_0, 0x1B))
                            {
                                CreateField (Arg3, Zero, One, HDAU)
                                CreateField (Arg3, One, One, HDAR)
                                Store (Buffer (0x04)
                                    {
                                         0x00, 0x00, 0x00, 0x00
                                    }, Local0)
                                CreateField (Local0, 0x02, 0x02, RQGS)
                                CreateField (Local0, 0x04, One, PWST)
                                Store (One, PWST)
                                If (LAnd (^^^LPC.EC.DOCD, ^^^LPC.EC.AC._PSR ()))
                                {
                                    Store (One, RQGS)
                                }
                                Else
                                {
                                    Store (Zero, RQGS)
                                }


                                If (ToInteger (HDAR))
                                {
                                    Store (ToInteger (HDAU), HDAS)
                                }


                                Return (Local0)
                            }
                            Else
                            {
                                If (LEqual (_T_0, 0x10))
                                {
                                    Return (GOBT (Arg3))
                                }
                            }
                        }
                    }


                    Break
                }


                Return (0x80000002)
            }
        }


        Scope (\)
        {
            Method (CMPB, 2, NotSerialized)
            {
                Store (SizeOf (Arg0), Local1)
                If (LNotEqual (Local1, SizeOf (Arg1)))
                {
                    Return (Zero)
                }


                Store (Zero, Local0)
                While (LLess (Local0, Local1))
                {
                    If (LNotEqual (DerefOf (Index (Arg0, Local0)), DerefOf (Index (
                        Arg1, Local0))))
                    {
                        Return (Zero)
                    }


                    Increment (Local0)
                }


                Return (One)
            }
        }
    }


    Scope (_SB.PCI0.LPC.UART)
    {
        Name (_EJD, "_SB.GDCK")  // _EJD: Ejection Dependent Device
    }


    Scope (_SB.PCI0.LPC.LPT)
    {
        Name (_EJD, "_SB.GDCK")  // _EJD: Ejection Dependent Device
    }


    Scope (_SB.PCI0.LPC.ECP)
    {
        Name (_EJD, "_SB.GDCK")  // _EJD: Ejection Dependent Device
    }


    Scope (_SB.PCI0.EHC2.URTH.URMH.PRTC)
    {
        Name (_EJD, "_SB.GDCK")  // _EJD: Ejection Dependent Device
    }


    Scope (_SB.PCI0.EHC1.URTH.URMH.PRT5)
    {
        Name (_EJD, "_SB.PCI0.EXP4.SLOT")  // _EJD: Ejection Dependent Device
    }


    Scope (_SB.PCI0.EXP4.SLOT)
    {
        Name (_EJD, "_SB.PCI0.EHC1.URTH.URMH.PRT5")  // _EJD: Ejection Dependent Device
    }


    Name (_S0, Package (0x04)  // _S0_: S0 System State
    {
        Zero, 
        Zero, 
        Zero, 
        Zero
    })
    Name (_S3, Package (0x04)  // _S3_: S3 System State
    {
        0x05, 
        0x05, 
        Zero, 
        Zero
    })
    Name (_S4, Package (0x04)  // _S4_: S4 System State
    {
        0x06, 
        0x06, 
        Zero, 
        Zero
    })
    Name (_S5, Package (0x04)  // _S5_: S5 System State
    {
        0x07, 
        0x07, 
        Zero, 
        Zero
    })
    Method (_PTS, 1, NotSerialized)  // _PTS: Prepare To Sleep
    {
        Store (One, Local0)
        If (LEqual (Arg0, SPS))
        {
            Store (Zero, Local0)
        }


        If (LOr (LEqual (Arg0, Zero), LGreaterEqual (Arg0, 0x06)))
        {
            Store (Zero, Local0)
        }


        If (Local0)
        {
            Store (Arg0, SPS)
            \_SB.PCI0.LPC.EC.HKEY.MHKE (Zero)
            If (\_SB.PCI0.LPC.EC.KBLT)
            {
                UCMS (0x0D)
            }


            If (LEqual (Arg0, One))
            {
                Store (\_SB.PCI0.LPC.EC.HFNI, FNID)
                Store (Zero, \_SB.PCI0.LPC.EC.HFNI)
                Store (Zero, \_SB.PCI0.LPC.EC.HFSP)
            }


            If (LEqual (Arg0, 0x03))
            {
                VVPD (0x03)
                Store (VHYB (0x07, Zero), VHCC)
                TRAP ()
                Store (\_SB.PCI0.LPC.EC.AC._PSR (), ACST)
            }


            If (LEqual (Arg0, 0x04))
            {
                Store (VHYB (0x07, Zero), VHCC)
                \_SB.SLPB._PSW (Zero)
                If (And (PPMF, One))
                {
                    STEP (0x07)
                }


                TRAP ()
                TPHY (0x02)
                AWON (0x04)
            }


            If (LEqual (Arg0, 0x05))
            {
                TRAP ()
                TPHY (0x02)
                AWON (0x05)
            }


            \_SB.PCI0.LPC.EC.BPTS (Arg0)
            If (LGreaterEqual (Arg0, 0x04))
            {
                Store (Zero, \_SB.PCI0.LPC.EC.HWLB)
            }
            Else
            {
                Store (One, \_SB.PCI0.LPC.EC.HWLB)
            }


            If (LNotEqual (Arg0, 0x05))
            {
                Store (One, \_SB.PCI0.LPC.EC.HCMU)
                Store (\_SB.PCI0.EXP4.PDS, \_SB.PCI0.EXP4.PDSF)
            }


            \_SB.PCI0.LPC.EC.HKEY.WGPS (Arg0)
        }
    }


    Name (WAKI, Package (0x02)
    {
        Zero, 
        Zero
    })
    Method (_WAK, 1, NotSerialized)  // _WAK: Wake
    {
        If (LOr (LEqual (Arg0, Zero), LGreaterEqual (Arg0, 0x05)))
        {
            Return (WAKI)
        }


        Store (Zero, SPS)
        Store (Zero, \_SB.PCI0.LPC.EC.HCMU)
        \_SB.PCI0.LPC.EC.EVNT (One)
        \_SB.PCI0.LPC.EC.HKEY.MHKE (One)
        \_SB.PCI0.LPC.EC.FNST ()
        UCMS (0x0D)
        Store (Zero, LIDB)
        If (LEqual (Arg0, One))
        {
            Store (\_SB.PCI0.LPC.EC.HFNI, FNID)
        }


        If (LEqual (Arg0, 0x03))
        {
            Store (\_SB.PCI0.LPC.EC.AC._PSR (), PWRS)
            If (OSC4)
            {
                PNTF (0x81)
            }


            If (LNotEqual (ACST, \_SB.PCI0.LPC.EC.AC._PSR ()))
            {
                \_SB.PCI0.LPC.EC.ATMC ()
            }


            VHYB (0x06, VHCC)
            If (\_SB.PCI0.VID.ISOP ())
            {
                VHYB (0x09, \_SB.PCI0.PEG.VID.HDAS)
            }


            If (VIGD)
            {
                \_SB.PCI0.VID.GLIS (\_SB.LID._LID ())
                If (WVIS)
                {
                    VBTD ()
                }
            }
            Else
            {
                If (WVIS)
                {
                    \_SB.PCI0.VID.GLIS (\_SB.LID._LID ())
                    VBTD ()
                }
            }


            AWON (Zero)
            If (CMPR)
            {
                Notify (\_SB.SLPB, 0x02)
                Store (Zero, CMPR)
            }
        }


        If (LEqual (Arg0, 0x04))
        {
            NVSS (Zero)
            Store (Zero, \_SB.PCI0.LPC.EC.HSPA)
            Store (\_SB.PCI0.LPC.EC.AC._PSR (), PWRS)
            If (OSC4)
            {
                PNTF (0x81)
            }


            If (And (PPMF, One))
            {
                STEP (0x08)
            }


            \_SB.PCI0.LPC.EC.ATMC ()
            VHYB (0x06, VHCC)
            If (\_SB.PCI0.VID.ISOP ())
            {
                VHYB (0x09, \_SB.PCI0.PEG.VID.HDAS)
            }
        }


        If (XOr (\_SB.PCI0.EXP4.PDS, \_SB.PCI0.EXP4.PDSF))
        {
            Store (\_SB.PCI0.EXP4.PDS, \_SB.PCI0.EXP4.PDSF)
            Notify (\_SB.PCI0.EXP4, Zero)
        }


        \_SB.PCI0.LPC.EC.BWAK (Arg0)
        \_SB.PCI0.LPC.EC.HKEY.WGWK (Arg0)
        Notify (\_TZ.THM0, 0x80)
        VSLD (\_SB.LID._LID ())
        If (VIGD)
        {
            \_SB.PCI0.VID.GLIS (\_SB.LID._LID ())
        }
        Else
        {
            If (WVIS)
            {
                \_SB.PCI0.VID.GLIS (\_SB.LID._LID ())
            }
        }


        If (LLess (Arg0, 0x04))
        {
            If (And (RRBF, 0x02))
            {
                ShiftLeft (Arg0, 0x08, Local0)
                Store (Or (0x2013, Local0), Local0)
                \_SB.PCI0.LPC.EC.HKEY.MHKQ (Local0)
            }
        }


        If (LEqual (Arg0, 0x04))
        {
            Store (Zero, Local0)
            Store (CSUM (Zero), Local1)
            If (LNotEqual (Local1, CHKC))
            {
                Store (One, Local0)
                Store (Local1, CHKC)
            }


            Store (CSUM (One), Local1)
            If (LNotEqual (Local1, CHKE))
            {
                Store (One, Local0)
                Store (Local1, CHKE)
            }


            If (Local0)
            {
                Notify (_SB, Zero)
            }
        }


        Store (Zero, RRBF)
        Return (WAKI)
    }


    Scope (_SI)
    {
        Method (_SST, 1, NotSerialized)  // _SST: System Status
        {
            If (LEqual (Arg0, Zero))
            {
                \_SB.PCI0.LPC.EC.LED (Zero, Zero)
                \_SB.PCI0.LPC.EC.LED (0x07, Zero)
            }


            If (LEqual (Arg0, One))
            {
                If (LOr (SPS, WNTF))
                {
                    \_SB.PCI0.LPC.EC.BEEP (0x05)
                }


                \_SB.PCI0.LPC.EC.LED (Zero, 0x80)
                \_SB.PCI0.LPC.EC.LED (0x07, Zero)
            }


            If (LEqual (Arg0, 0x02))
            {
                \_SB.PCI0.LPC.EC.LED (Zero, 0xC0)
                \_SB.PCI0.LPC.EC.LED (0x07, 0xC0)
            }


            If (LEqual (Arg0, 0x03))
            {
                If (LGreater (SPS, 0x03))
                {
                    \_SB.PCI0.LPC.EC.BEEP (0x07)
                }
                Else
                {
                    If (LEqual (SPS, 0x03))
                    {
                        \_SB.PCI0.LPC.EC.BEEP (0x03)
                    }
                    Else
                    {
                        \_SB.PCI0.LPC.EC.BEEP (0x04)
                    }
                }


                If (LEqual (SPS, 0x03)) {}
                Else
                {
                    \_SB.PCI0.LPC.EC.LED (Zero, 0x80)
                }


                \_SB.PCI0.LPC.EC.LED (0x07, 0xC0)
                \_SB.PCI0.LPC.EC.LED (Zero, 0xC0)
            }


            If (LEqual (Arg0, 0x04))
            {
                \_SB.PCI0.LPC.EC.BEEP (0x03)
                \_SB.PCI0.LPC.EC.LED (0x07, 0xC0)
                \_SB.PCI0.LPC.EC.LED (Zero, 0xC0)
            }
        }
    }


    Scope (_GPE)
    {
        Method (_L1D, 0, NotSerialized)  // _Lxx: Level-Triggered GPE
        {
            Store (\_SB.PCI0.LPC.EC.HWAK, Local0)
            Store (Local0, RRBF)
            Sleep (0x0A)
            If (And (Local0, 0x02)) {}
            If (And (Local0, 0x04))
            {
                Notify (\_SB.LID, 0x02)
            }


            If (And (Local0, 0x08))
            {
                Notify (\_SB.SLPB, 0x02)
            }


            If (And (Local0, 0x10))
            {
                Notify (\_SB.SLPB, 0x02)
            }


            If (And (Local0, 0x40)) {}
            If (And (Local0, 0x80))
            {
                Notify (\_SB.SLPB, 0x02)
            }
        }


        Method (_L09, 0, NotSerialized)  // _Lxx: Level-Triggered GPE
        {
            If (\_SB.PCI0.EXP1.PS)
            {
                Store (One, \_SB.PCI0.EXP1.PS)
                Store (One, \_SB.PCI0.EXP1.PMCS)
                Notify (\_SB.PCI0.EXP1, 0x02)
            }


            If (\_SB.PCI0.EXP2.PS)
            {
                Store (One, \_SB.PCI0.EXP2.PS)
                Store (One, \_SB.PCI0.EXP2.PMCS)
                Notify (\_SB.PCI0.EXP2, 0x02)
            }


            If (\_SB.PCI0.EXP3.PS)
            {
                Store (One, \_SB.PCI0.EXP3.PS)
                Store (One, \_SB.PCI0.EXP3.PMCS)
                Notify (\_SB.PCI0.EXP3, 0x02)
            }


            If (\_SB.PCI0.EXP4.PS)
            {
                Store (One, \_SB.PCI0.EXP4.PS)
                Store (One, \_SB.PCI0.EXP4.PMCS)
                Notify (\_SB.PCI0.EXP4, 0x02)
            }


            If (\_SB.PCI0.EXP5.PS)
            {
                Store (One, \_SB.PCI0.EXP5.PS)
                Store (One, \_SB.PCI0.EXP5.PMCS)
                Notify (\_SB.PCI0.EXP5, 0x02)
            }
        }


        Method (_L01, 0, NotSerialized)  // _Lxx: Level-Triggered GPE
        {
            If (\_SB.PCI0.EXP4.HPCS)
            {
                Sleep (0x64)
                Store (One, \_SB.PCI0.EXP4.HPCS)
                If (\_SB.PCI0.EXP4.PDC)
                {
                    Store (One, \_SB.PCI0.EXP4.PDC)
                    Store (\_SB.PCI0.EXP4.PDS, \_SB.PCI0.EXP4.PDSF)
                    Notify (\_SB.PCI0.EXP4, Zero)
                }
            }
        }


        Method (_L02, 0, NotSerialized)  // _Lxx: Level-Triggered GPE
        {
            Store (Zero, \_SB.PCI0.LPC.SWGE)
            If (LAnd (CWUE, And (SWGP, 0x02)))
            {
                And (SWGP, 0xFFFFFFFD, SWGP)
                If (OSC4)
                {
                    PNTF (0x81)
                }
            }
        }


        Method (_L06, 0, NotSerialized)  // _Lxx: Level-Triggered GPE
        {
            If (\_SB.PCI0.VID.GSSE)
            {
                \_SB.PCI0.VID.GSCI ()
            }
            Else
            {
                Store (One, \_SB.PCI0.LPC.SCIS)
            }
        }
    }


    Scope (_SB.PCI0.LPC.EC.HKEY)
    {
        Method (MHQT, 1, NotSerialized)
        {
            If (LAnd (WNTF, TATC))
            {
                If (LEqual (Arg0, Zero))
                {
                    Store (TATC, Local0)
                    Return (Local0)
                }
                Else
                {
                    If (LEqual (Arg0, One))
                    {
                        Store (TDFA, Local0)
                        Add (Local0, ShiftLeft (TDTA, 0x04), Local0)
                        Add (Local0, ShiftLeft (TDFD, 0x08), Local0)
                        Add (Local0, ShiftLeft (TDTD, 0x0C), Local0)
                        Add (Local0, ShiftLeft (TNFT, 0x10), Local0)
                        Add (Local0, ShiftLeft (TNTT, 0x14), Local0)
                        Return (Local0)
                    }
                    Else
                    {
                        If (LEqual (Arg0, 0x02))
                        {
                            Store (TCFA, Local0)
                            Add (Local0, ShiftLeft (TCTA, 0x04), Local0)
                            Add (Local0, ShiftLeft (TCFD, 0x08), Local0)
                            Add (Local0, ShiftLeft (TCTD, 0x0C), Local0)
                            Return (Local0)
                        }
                        Else
                        {
                            If (LEqual (Arg0, 0x03)) {}
                            Else
                            {
                                If (LEqual (Arg0, 0x04))
                                {
                                    Store (TATW, Local0)
                                    Return (Local0)
                                }
                                Else
                                {
                                    Noop
                                }
                            }
                        }
                    }
                }
            }


            Return (Zero)
        }


        Method (MHAT, 1, NotSerialized)
        {
            If (LAnd (WNTF, TATC))
            {
                Store (And (Arg0, 0xFF), Local0)
                If (LNot (ATMV (Local0)))
                {
                    Return (Zero)
                }


                Store (And (ShiftRight (Arg0, 0x08), 0xFF), Local0)
                If (LNot (ATMV (Local0)))
                {
                    Return (Zero)
                }


                Store (And (Arg0, 0x0F), TCFA)
                Store (And (ShiftRight (Arg0, 0x04), 0x0F), TCTA)
                Store (And (ShiftRight (Arg0, 0x08), 0x0F), TCFD)
                Store (And (ShiftRight (Arg0, 0x0C), 0x0F), TCTD)
                ATMC ()
                Return (One)
            }


            Return (Zero)
        }


        Method (MHGT, 1, NotSerialized)
        {
            If (LAnd (WNTF, TATC))
            {
                Store (0x01000000, Local0)
                If (FTPS)
                {
                    Or (Local0, 0x02000000, Local0)
                }


                Add (Local0, ShiftLeft (TSFT, 0x10), Local0)
                Add (Local0, ShiftLeft (TSTT, 0x14), Local0)
                Store (And (Arg0, 0xFF), Local1)
                If (LNot (ATMV (Local1)))
                {
                    Or (Local0, 0xFFFF, Local0)
                    Return (Local0)
                }


                Store (And (Arg0, 0x0F), Local1)
                If (LEqual (Local1, Zero))
                {
                    Add (Local0, TIF0, Local0)
                }
                Else
                {
                    If (LEqual (Local1, One))
                    {
                        Add (Local0, TIF1, Local0)
                    }
                    Else
                    {
                        If (LEqual (Local1, 0x02))
                        {
                            Add (Local0, TIF2, Local0)
                        }
                        Else
                        {
                            Add (Local0, 0xFF, Local0)
                        }
                    }
                }


                Store (And (ShiftRight (Arg0, 0x04), 0x0F), Local1)
                If (LEqual (Local1, Zero))
                {
                    Add (Local0, ShiftLeft (TIT0, 0x08), Local0)
                }
                Else
                {
                    If (LEqual (Local1, One))
                    {
                        Add (Local0, ShiftLeft (TIT1, 0x08), Local0)
                    }
                    Else
                    {
                        If (LEqual (Local1, 0x02))
                        {
                            Add (Local0, ShiftLeft (TIT2, 0x08), Local0)
                        }
                        Else
                        {
                            Add (Local0, 0xFF00, Local0)
                        }
                    }
                }


                Return (Local0)
            }


            Return (Zero)
        }


        Method (ATMV, 1, NotSerialized)
        {
            Store (And (Arg0, 0x0F), Local1)
            Store (TNFT, Local0)
            If (LGreaterEqual (Local1, Local0))
            {
                Return (Zero)
            }


            Store (And (ShiftRight (Arg0, 0x04), 0x0F), Local2)
            Store (TNTT, Local0)
            If (LGreaterEqual (Local2, Local0))
            {
                Return (Zero)
            }


            If (TATL)
            {
                If (XOr (Local1, Local2))
                {
                    Return (Zero)
                }
            }


            Return (One)
        }


        Method (MHST, 0, NotSerialized)
        {
            Store (HSPD, Local0)
            Return (Local0)
        }


        Method (MHTT, 0, NotSerialized)
        {
            Acquire (BFWM, 0xFFFF)
            GCTP ()
            CreateByteField (BFWB, 0x03, TMP3)
            CreateByteField (BFWB, 0x0B, TMPB)
            If (VIGD)
            {
                Store (Zero, Local0)
            }
            Else
            {
                Store (TMP3, Local0)
                ShiftLeft (Local0, 0x08, Local0)
            }


            Or (Local0, TMPB, Local0)
            ShiftLeft (Local0, 0x08, Local0)
            Or (Local0, TMP0, Local0)
            Release (BFWM)
            Return (Local0)
        }


        Method (MHBT, 0, NotSerialized)
        {
            Name (ABUF, Buffer (0x10) {})
            ATMS (Zero)
            Store (ATMB, ABUF)
            Return (ABUF)
        }


        Method (MHFT, 1, NotSerialized)
        {
            FSCT (Arg0)
        }


        Method (MHCT, 1, NotSerialized)
        {
            Store (Zero, Local0)
            If (SPEN)
            {
                Store (LWST, Local0)
                Increment (Local0)
                ShiftLeft (Local0, 0x08, Local0)
            }


            Store (0x08, Local1)
            ShiftLeft (Local1, 0x08, Local1)
            If (LEqual (Arg0, Ones))
            {
                Or (Local1, TPCR, Local1)
                If (SPEN)
                {
                    Or (Local0, PPCR, Local0)
                    If (LNot (LAnd (PPMF, 0x02000000)))
                    {
                        Or (Local1, 0x80, Local1)
                    }


                    If (LNot (LAnd (PPMF, 0x08000000)))
                    {
                        Or (Local1, 0x40, Local1)
                    }
                }
                Else
                {
                    Or (Local1, 0xC0, Local1)
                }
            }
            Else
            {
                If (LAnd (OSPX, SPEN))
                {
                    And (Arg0, 0x00FF0000, Local2)
                    ShiftRight (Local2, 0x10, Local2)
                    Or (Local0, Local2, Local0)
                    If (XOr (Local2, PPCR))
                    {
                        Store (Local2, PPCA)
                        PNTF (0x80)
                    }
                }


                If (WVIS)
                {
                    And (Arg0, 0x1F, Local2)
                    Or (Local1, Local2, Local1)
                    If (XOr (Local2, TPCR))
                    {
                        Store (Local2, TPCA)
                        PNTF (0x82)
                    }
                }
            }


            ShiftLeft (Local0, 0x10, Local0)
            Or (Local0, Local1, Local0)
            Return (Local0)
        }
    }


    Scope (_SB.PCI0.LPC.EC)
    {
        Method (ATMC, 0, NotSerialized)
        {
            If (LAnd (WNTF, TATC))
            {
                If (HPAC)
                {
                    Store (TCFA, Local0)
                    Store (TCTA, Local1)
                    Store (Or (ShiftLeft (Local1, 0x04), Local0), Local2)
                    XOr (Local2, ATMX, Local3)
                    Store (Local2, ATMX)
                    If (LEqual (TCTA, Zero))
                    {
                        Store (TCR0, TCRT)
                        Store (TPS0, TPSV)
                    }
                    Else
                    {
                        If (LEqual (TCTA, One))
                        {
                            Store (TCR1, TCRT)
                            Store (TPS1, TPSV)
                        }
                        Else
                        {
                        }
                    }
                }
                Else
                {
                    Store (TCFD, Local0)
                    Store (TCTD, Local1)
                    Store (Or (ShiftLeft (Local1, 0x04), Local0), Local2)
                    XOr (Local2, ATMX, Local3)
                    Store (Local2, ATMX)
                    If (LEqual (TCTD, Zero))
                    {
                        Store (TCR0, TCRT)
                        Store (TPS0, TPSV)
                    }
                    Else
                    {
                        If (LEqual (TCTD, One))
                        {
                            Store (TCR1, TCRT)
                            Store (TPS1, TPSV)
                        }
                        Else
                        {
                        }
                    }
                }


                If (And (PPMF, 0x02000000))
                {
                    Store (FTPS, Local4)
                    If (Local2)
                    {
                        Store (Zero, FTPS)
                    }
                    Else
                    {
                        Store (One, FTPS)
                    }


                    If (XOr (FTPS, Local4))
                    {
                        If (OSPX)
                        {
                            PNTF (0x80)
                        }
                    }
                }


                If (Local3)
                {
                    If (^HKEY.DHKC)
                    {
                        ^HKEY.MHKQ (0x6030)
                    }
                }


                Notify (\_TZ.THM0, 0x81)
            }
        }
    }


    Scope (_TZ)
    {
        ThermalZone (THM0)
        {
            Method (_CRT, 0, NotSerialized)  // _CRT: Critical Temperature
            {
                Return (TCRT)
            }


            Method (_PSV, 0, NotSerialized)  // _PSV: Passive Temperature
            {
                Return (TPSV)
            }


            Method (_TC1, 0, NotSerialized)  // _TC1: Thermal Constant 1
            {
                Return (TTC1)
            }


            Method (_TC2, 0, NotSerialized)  // _TC2: Thermal Constant 2
            {
                Return (TTC2)
            }


            Method (_TSP, 0, NotSerialized)  // _TSP: Thermal Sampling Period
            {
                Return (TTSP)
            }


            Method (_PSL, 0, NotSerialized)  // _PSL: Passive List
            {
                If (And (PPMF, 0x01000000))
                {
                    If (LEqual (PNHM, 0x000106E0))
                    {
                        Return (Package (0x08)
                        {
                            \_PR.CPU0, 
                            \_PR.CPU1, 
                            \_PR.CPU2, 
                            \_PR.CPU3, 
                            \_PR.CPU4, 
                            \_PR.CPU5, 
                            \_PR.CPU6, 
                            \_PR.CPU7
                        })
                    }
                    Else
                    {
                        Return (Package (0x04)
                        {
                            \_PR.CPU0, 
                            \_PR.CPU1, 
                            \_PR.CPU2, 
                            \_PR.CPU3
                        })
                    }
                }


                Return (Package (0x01)
                {
                    \_PR.CPU0
                })
            }


            Method (_TMP, 0, NotSerialized)  // _TMP: Temperature
            {
                If (H8DR)
                {
                    Store (\_SB.PCI0.LPC.EC.TMP0, Local0)
                    Store (\_SB.PCI0.LPC.EC.TSL2, Local1)
                    Store (\_SB.PCI0.LPC.EC.TSL3, Local2)
                }
                Else
                {
                    Store (RBEC (0x78), Local0)
                    Store (And (RBEC (0x8A), 0x7F), Local1)
                    Store (And (RBEC (0x8B), 0x7F), Local2)
                }


                If (LEqual (Local0, 0x80))
                {
                    Store (0x30, Local0)
                }


                If (Local2)
                {
                    Return (C2K (0x80))
                }


                If (LNot (\_SB.PCI0.LPC.EC.HKEY.DHKC))
                {
                    If (Local1)
                    {
                        Return (C2K (0x80))
                    }
                }


                Return (C2K (Local0))
            }
        }


        Method (C2K, 1, NotSerialized)
        {
            Add (Multiply (Arg0, 0x0A), 0x0AAC, Local0)
            If (LLessEqual (Local0, 0x0AAC))
            {
                Store (0x0BB8, Local0)
            }


            If (LGreater (Local0, 0x0FAC))
            {
                Store (0x0BB8, Local0)
            }


            Return (Local0)
        }
    }


    Scope (_SB.PCI0.LPC.EC)
    {
        Method (_Q40, 0, NotSerialized)  // _Qxx: EC Query
        {
            Notify (\_TZ.THM0, 0x80)
            If (H8DR)
            {
                Store (TSL2, Local1)
            }
            Else
            {
                Store (And (RBEC (0x8A), 0x7F), Local1)
            }


            If (^HKEY.DHKC)
            {
                If (Local1)
                {
                    ^HKEY.MHKQ (0x6022)
                }
            }


            If (VIGD)
            {
                Noop
            }
            Else
            {
                VTHR ()
            }


            If (And (PPMF, One))
            {
                If (OSPX)
                {
                    PNTF (0x80)
                }
                Else
                {
                    Store (And (TSL0, 0x77), Local2)
                    If (Local2)
                    {
                        STEP (0x09)
                    }
                    Else
                    {
                        STEP (0x0A)
                    }
                }
            }
        }
    }


    Name (GPIC, Zero)
    Method (_PIC, 1, NotSerialized)  // _PIC: Interrupt Model
    {
        Store (Arg0, GPIC)
    }


    OperationRegion (SMI0, SystemIO, 0xB2, One)
    Field (SMI0, ByteAcc, NoLock, Preserve)
    {
        APMC,   8
    }


    Field (MNVS, AnyAcc, NoLock, Preserve)
    {
        Offset (0xFC0), 
        CMD,    8, 
        ERR,    32, 
        PAR0,   32, 
        PAR1,   32, 
        PAR2,   32, 
        PAR3,   32
    }


    Mutex (MSMI, 0x07)
    Method (SMI, 5, NotSerialized)
    {
        Acquire (MSMI, 0xFFFF)
        Store (Arg0, CMD)
        Store (Arg1, PAR0)
        Store (Arg2, PAR1)
        Store (Arg3, PAR2)
        Store (Arg4, PAR3)
        Store (0xF5, APMC)
        While (LEqual (ERR, One))
        {
            Sleep (0x64)
            Store (0xF5, APMC)
        }


        Store (PAR0, Local0)
        Release (MSMI)
        Return (Local0)
    }


    Method (RPCI, 1, NotSerialized)
    {
        Return (SMI (Zero, Zero, Arg0, Zero, Zero))
    }


    Method (WPCI, 2, NotSerialized)
    {
        SMI (Zero, One, Arg0, Arg1, Zero)
    }


    Method (MPCI, 3, NotSerialized)
    {
        SMI (Zero, 0x02, Arg0, Arg1, Arg2)
    }


    Method (RBEC, 1, NotSerialized)
    {
        Return (SMI (Zero, 0x03, Arg0, Zero, Zero))
    }


    Method (WBEC, 2, NotSerialized)
    {
        SMI (Zero, 0x04, Arg0, Arg1, Zero)
    }


    Method (MBEC, 3, NotSerialized)
    {
        SMI (Zero, 0x05, Arg0, Arg1, Arg2)
    }


    Method (RISA, 1, NotSerialized)
    {
        Return (SMI (Zero, 0x06, Arg0, Zero, Zero))
    }


    Method (WISA, 2, NotSerialized)
    {
        SMI (Zero, 0x07, Arg0, Arg1, Zero)
    }


    Method (MISA, 3, NotSerialized)
    {
        SMI (Zero, 0x08, Arg0, Arg1, Arg2)
    }


    Method (VEXP, 0, NotSerialized)
    {
        SMI (One, Zero, Zero, Zero, Zero)
    }


    Method (VUPS, 1, NotSerialized)
    {
        SMI (One, One, Arg0, Zero, Zero)
    }


    Method (VSDS, 2, NotSerialized)
    {
        SMI (One, 0x02, Arg0, Arg1, Zero)
    }


    Method (VDDC, 0, NotSerialized)
    {
        SMI (One, 0x03, Zero, Zero, Zero)
    }


    Method (VVPD, 1, NotSerialized)
    {
        SMI (One, 0x04, Arg0, Zero, Zero)
    }


    Method (VNRS, 1, NotSerialized)
    {
        SMI (One, 0x05, Arg0, Zero, Zero)
    }


    Method (GLPW, 0, NotSerialized)
    {
        Return (SMI (One, 0x06, Zero, Zero, Zero))
    }


    Method (VSLD, 1, NotSerialized)
    {
        SMI (One, 0x07, Arg0, Zero, Zero)
    }


    Method (VEVT, 1, NotSerialized)
    {
        Return (SMI (One, 0x08, Arg0, Zero, Zero))
    }


    Method (VTHR, 0, NotSerialized)
    {
        Return (SMI (One, 0x09, Zero, Zero, Zero))
    }


    Method (VBRC, 1, NotSerialized)
    {
        SMI (One, 0x0A, Arg0, Zero, Zero)
    }


    Method (VBRG, 0, NotSerialized)
    {
        Return (SMI (One, 0x0E, Zero, Zero, Zero))
    }


    Method (VBTD, 0, NotSerialized)
    {
        Return (SMI (One, 0x0F, Zero, Zero, Zero))
    }


    Method (VHYB, 2, NotSerialized)
    {
        Return (SMI (One, 0x10, Arg0, Arg1, Zero))
    }


    Method (VDYN, 2, NotSerialized)
    {
        Return (SMI (One, 0x11, Arg0, Arg1, Zero))
    }


    Method (UCMS, 1, NotSerialized)
    {
        Return (SMI (0x02, Arg0, Zero, Zero, Zero))
    }


    Method (BHDP, 2, NotSerialized)
    {
        Return (SMI (0x03, Zero, Arg0, Arg1, Zero))
    }


    Method (STEP, 1, NotSerialized)
    {
        SMI (0x04, Arg0, Zero, Zero, Zero)
    }


    Method (TRAP, 0, NotSerialized)
    {
        SMI (0x05, Zero, Zero, Zero, Zero)
    }


    Method (CBRI, 0, NotSerialized)
    {
        SMI (0x05, One, Zero, Zero, Zero)
    }


    Method (BCHK, 0, NotSerialized)
    {
        Return (SMI (0x05, 0x04, Zero, Zero, Zero))
    }


    Method (BYRS, 0, NotSerialized)
    {
        SMI (0x05, 0x05, Zero, Zero, Zero)
    }


    Method (BLTH, 1, NotSerialized)
    {
        Return (SMI (0x06, Arg0, Zero, Zero, Zero))
    }


    Method (FISP, 0, NotSerialized)
    {
        SMI (0x07, Zero, Zero, Zero, Zero)
    }


    Method (ATCC, 1, NotSerialized)
    {
        SMI (0x08, Arg0, Zero, Zero, Zero)
    }


    Method (WGSV, 1, NotSerialized)
    {
        Return (SMI (0x09, Arg0, Zero, Zero, Zero))
    }


    Method (ATMS, 1, NotSerialized)
    {
        Return (SMI (0x0A, 0x03, Zero, Zero, Zero))
    }


    Method (FSCT, 1, NotSerialized)
    {
        Return (SMI (0x0A, 0x04, Arg0, Zero, Zero))
    }


    Method (SWTT, 1, NotSerialized)
    {
        If (SMI (0x0A, 0x05, Arg0, Zero, Zero))
        {
            If (\_SB.PCI0.LPC.EC.HKEY.DHKC)
            {
                \_SB.PCI0.LPC.EC.HKEY.MHKQ (0x6030)
            }
        }
    }


    Method (GCTP, 0, NotSerialized)
    {
        SMI (0x0A, 0x06, Zero, Zero, Zero)
    }


    Method (PPMS, 1, NotSerialized)
    {
        Return (SMI (0x0B, Arg0, Zero, Zero, Zero))
    }


    Method (TRAZ, 2, NotSerialized)
    {
        Store (Arg1, SMIF)
        If (LEqual (Arg0, One))
        {
            Store (Zero, \_SB.PCI0.LPC.TRPI)
        }


        Return (SMIF)
    }


    Method (TPHY, 1, NotSerialized)
    {
        SMI (0x0C, Arg0, Zero, Zero, Zero)
    }


    Method (CSUM, 1, NotSerialized)
    {
        Return (SMI (0x0E, Arg0, Zero, Zero, Zero))
    }


    Method (NVSS, 1, NotSerialized)
    {
        Return (SMI (0x0F, Arg0, Zero, Zero, Zero))
    }


    Method (WMIS, 2, NotSerialized)
    {
        Return (SMI (0x10, Arg0, Arg1, Zero, Zero))
    }


    Method (AWON, 1, NotSerialized)
    {
        Return (SMI (0x12, Arg0, Zero, Zero, Zero))
    }


    Method (PMON, 2, NotSerialized)
    {
        Store (SizeOf (Arg0), Local0)
        Name (TSTR, Buffer (Local0) {})
        Store (Arg0, TSTR)
        Store (TSTR, DBGS)
        SMI (0x11, Arg1, Zero, Zero, Zero)
    }


    Method (UAWS, 1, NotSerialized)
    {
        Return (SMI (0x13, Arg0, Zero, Zero, Zero))
    }


    Method (BFWC, 1, NotSerialized)
    {
        Return (SMI (0x14, Zero, Arg0, Zero, Zero))
    }


    Method (BFWP, 0, NotSerialized)
    {
        Return (SMI (0x14, One, Zero, Zero, Zero))
    }


    Method (BFWL, 0, NotSerialized)
    {
        SMI (0x14, 0x02, Zero, Zero, Zero)
    }


    Method (BFWG, 1, NotSerialized)
    {
        SMI (0x14, 0x03, Arg0, Zero, Zero)
    }


    Method (BDMC, 1, NotSerialized)
    {
        SMI (0x14, 0x04, Arg0, Zero, Zero)
    }


    Method (DPIO, 2, NotSerialized)
    {
        If (LNot (Arg0))
        {
            Return (Zero)
        }


        If (LGreater (Arg0, 0xF0))
        {
            Return (Zero)
        }


        If (LGreater (Arg0, 0xB4))
        {
            If (Arg1)
            {
                Return (0x02)
            }
            Else
            {
                Return (One)
            }
        }


        If (LGreater (Arg0, 0x78))
        {
            Return (0x03)
        }


        Return (0x04)
    }


    Method (DUDM, 2, NotSerialized)
    {
        If (LNot (Arg1))
        {
            Return (0xFF)
        }


        If (LGreater (Arg0, 0x5A))
        {
            Return (Zero)
        }


        If (LGreater (Arg0, 0x3C))
        {
            Return (One)
        }


        If (LGreater (Arg0, 0x2D))
        {
            Return (0x02)
        }


        If (LGreater (Arg0, 0x1E))
        {
            Return (0x03)
        }


        If (LGreater (Arg0, 0x14))
        {
            Return (0x04)
        }


        Return (0x05)
    }


    Method (DMDM, 2, NotSerialized)
    {
        If (Arg1)
        {
            Return (Zero)
        }


        If (LNot (Arg0))
        {
            Return (Zero)
        }


        If (LGreater (Arg0, 0x96))
        {
            Return (One)
        }


        If (LGreater (Arg0, 0x78))
        {
            Return (0x02)
        }


        Return (0x03)
    }


    Method (UUDM, 2, NotSerialized)
    {
        If (LNot (And (Arg0, 0x04)))
        {
            Return (Zero)
        }


        If (And (Arg1, 0x20))
        {
            Return (0x14)
        }


        If (And (Arg1, 0x10))
        {
            Return (0x1E)
        }


        If (And (Arg1, 0x08))
        {
            Return (0x2D)
        }


        If (And (Arg1, 0x04))
        {
            Return (0x3C)
        }


        If (And (Arg1, 0x02))
        {
            Return (0x5A)
        }


        If (And (Arg1, One))
        {
            Return (0x78)
        }


        Return (Zero)
    }


    Method (UMDM, 4, NotSerialized)
    {
        If (LNot (And (Arg0, 0x02)))
        {
            Return (Zero)
        }


        If (And (Arg1, 0x04))
        {
            Return (Arg3)
        }


        If (And (Arg1, 0x02))
        {
            If (LLessEqual (Arg3, 0x78))
            {
                Return (0xB4)
            }
            Else
            {
                Return (Arg3)
            }
        }


        If (And (Arg2, 0x04))
        {
            If (LLessEqual (Arg3, 0xB4))
            {
                Return (0xF0)
            }
            Else
            {
                Return (Arg3)
            }
        }


        Return (Zero)
    }


    Method (UPIO, 4, NotSerialized)
    {
        If (LNot (And (Arg0, 0x02)))
        {
            If (LEqual (Arg2, 0x02))
            {
                Return (0xF0)
            }
            Else
            {
                Return (0x0384)
            }
        }


        If (And (Arg1, 0x02))
        {
            Return (Arg3)
        }


        If (And (Arg1, One))
        {
            If (LLessEqual (Arg3, 0x78))
            {
                Return (0xB4)
            }
            Else
            {
                Return (Arg3)
            }
        }


        If (LEqual (Arg2, 0x02))
        {
            Return (0xF0)
        }
        Else
        {
            Return (0x0384)
        }
    }


    Method (FDMA, 2, NotSerialized)
    {
        If (LNotEqual (Arg1, 0xFF))
        {
            Return (Or (Arg1, 0x40))
        }


        If (LGreaterEqual (Arg0, 0x03))
        {
            Return (Or (Subtract (Arg0, 0x02), 0x20))
        }


        If (Arg0)
        {
            Return (0x12)
        }


        Return (Zero)
    }


    Method (FPIO, 1, NotSerialized)
    {
        If (LGreaterEqual (Arg0, 0x03))
        {
            Return (Or (Arg0, 0x08))
        }


        If (LEqual (Arg0, One))
        {
            Return (One)
        }


        Return (Zero)
    }


    Method (SCMP, 2, NotSerialized)
    {
        Store (SizeOf (Arg0), Local0)
        If (LNotEqual (Local0, SizeOf (Arg1)))
        {
            Return (One)
        }


        Increment (Local0)
        Name (STR1, Buffer (Local0) {})
        Name (STR2, Buffer (Local0) {})
        Store (Arg0, STR1)
        Store (Arg1, STR2)
        Store (Zero, Local1)
        While (LLess (Local1, Local0))
        {
            Store (DerefOf (Index (STR1, Local1)), Local2)
            Store (DerefOf (Index (STR2, Local1)), Local3)
            If (LNotEqual (Local2, Local3))
            {
                Return (One)
            }


            Increment (Local1)
        }


        Return (Zero)
    }


    Name (SPS, Zero)
    Name (OSIF, Zero)
    Name (WNTF, Zero)
    Name (WXPF, Zero)
    Name (WVIS, Zero)
    Name (WIN7, Zero)
    Name (WIN8, Zero)
    Name (WSPV, Zero)
    Name (LNUX, Zero)
    Name (H8DR, Zero)
    Name (MEMX, Zero)
    Name (ACST, Zero)
    Name (FNID, Zero)
    Name (RRBF, Zero)
    Name (NBCF, Zero)
}
 
Here is the DSDT before the HPET fix. No errors:

Next time, post it as an attachment (ZIP).

For your DSDT, apply only the first part of the HPET fix, not the second.
 
Next time, post it as an attachment (ZIP).

For your DSDT, apply only the first part of the HPET fix, not the second.

After apply the only first part my HPET results in that:

Code:
Device (HPET)                {
                    Name (_HID, EisaId ("PNP0103"))  // _HID: Hardware ID
                    Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
                    {
                        Memory32Fixed (ReadOnly,
                            0xFED00000,         // Address Base
                            0x00000400,         // Address Length
                            )
                    })
                    Name (_STA, 0x0F)  // _STA: Status
                }

No errors, saved in Extra but still reboots at the same point.
 
After apply the only first part my HPET results in that:

Code:
Device (HPET)                {
                    Name (_HID, EisaId ("PNP0103"))  // _HID: Hardware ID
                    Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
                    {
                        Memory32Fixed (ReadOnly,
                            0xFED00000,         // Address Base
                            0x00000400,         // Address Length
                            )
                    })
                    Name (_STA, 0x0F)  // _STA: Status
                }

No errors, saved in Extra but still reboots at the same point.

By "saved in Extra" you mean saved to /Extra/dsdt.aml as format: ACPI Machine Language Binary?

If so, then the issue is other than HPET...
 
By "saved in Extra" you mean saved to /Extra/dsdt.aml as format: ACPI Machine Language Binary?

If so, then the issue is other than HPET...

Exactly.

What more can I try?
 
Exactly.

What more can I try?

In a verbose boot (-v), when in the process does the reboot happen?

Also, don't forget to fill out your profile. I have no idea anymore what your system consists of...
 
In a verbose boot (-v), when in the process does the reboot happen?

Also, don't forget to fill out your profile. I have no idea anymore what your system consists of...

No, it reboots just after loading all kexts and coming to "Darwin x_86 x_64 UUID= xxxxxx etc".
I've tried to boot a T420, the reboot happens at the same point. Not using UEFI.
 
No, it reboots just after loading all kexts and coming to "Darwin x_86 x_64 UUID= xxxxxx etc".
I've tried to boot a T420, the reboot happens at the same point. Not using UEFI.

With 1st gen Intel HD, you graphics are not really supported anyway, so it may be pointless to work through your reboot issue.
 
Status
Not open for further replies.
Back
Top