into_all all code_regex _T_0 replaceall_matched begin T_0 end; into_all all code_regex _T_1 replaceall_matched begin T_1 end; into_all all code_regex _T_2 replaceall_matched begin T_2 end; into_all all code_regex _T_3 replaceall_matched begin T_3 end; into_all all code_regex _T_4 replaceall_matched begin T_4 end; into_all all code_regex _T_5 replaceall_matched begin T_5 end; into_all all code_regex _T_6 replaceall_matched begin T_6 end; into method label DTGP remove_entry; into definitionblock code_regex . insert begin Method (DTGP, 5, NotSerialized)\n {\n If (LEqual (Arg0, Buffer (0x10)\n {\n /* 0000 */ 0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, \n /* 0008 */ 0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B\n }))\n {\n If (LEqual (Arg1, One))\n {\n If (LEqual (Arg2, Zero))\n {\n Store (Buffer (One)\n {\n 0x03\n }, Arg4)\n Return (One)\n }\n If (LEqual (Arg2, One))\n {\n Return (One)\n }\n }\n }\n Store (Buffer (One)\n {\n 0x00\n }, Arg4)\n Return (Zero)\n } end; into method label _DSM parent_adr 0x001D0007 remove_entry; into device name_adr 0x001D0007 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package ()\n {\n "device-id", \n Buffer (0x04)\n {\n 0x36, 0x28, 0x00, 0x00\n }, \n "built-in", \n Buffer (One)\n {\n 0x00\n }, \n "AAPL,clock-id", \n Buffer (One)\n {\n 0x01\n }, \n "device_type", \n Buffer (0x05)\n {\n "EHCI"\n }, \n "AAPL,current-available", \n 0x05dc, \n "AAPL,current-extra", \n 0x03e8, \n "AAPL,current-in-sleep", \n 0x05dc, \n Buffer (One)\n {\n 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into method label _DSM parent_adr 0x001A0007 remove_entry; into device name_adr 0x001A0007 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package ()\n {\n "device-id", \n Buffer (0x04)\n {\n 0x3a, 0x28, 0x00, 0x00\n }, \n "built-in", \n Buffer (One)\n {\n 0x00\n }, \n "AAPL,clock-id", \n Buffer (One)\n {\n 0x02\n }, \n "device_type", \n Buffer (0x05)\n {\n "EHCI"\n }, \n "AAPL,current-available", \n 0x05dc, \n "AAPL,current-extra", \n 0x03e8, \n "AAPL,current-in-sleep", \n 0x05dc, \n Buffer (One)\n {\n 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into device name_hid PNP0303 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "AAPL,has-embedded-fn-keys", \n Buffer (0x04)\n {\n 0x01, 0x00, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n }\n end; into device label HDEF insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x04)\n {\n "layout-id", \n Buffer (0x04)\n {\n 0x0C, 0x00, 0x00, 0x00\n }, \n "PinConfigurations", \n Buffer (Zero) {}\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into method label _STA parent_hid PNP0103 remove_entry; into device name_hid PNP0103 insert begin Method (_STA, 0, NotSerialized)\n {\n Return (0x0F)\n } end; into device name_adr 0x001F0001 code_regex_not OperationRegion\s*\(IDET insert begin OperationRegion (IDET, PCI_Config, 0x40, 0x04) // IDE Timing Register\n Field (IDET, WordAcc, NoLock, Preserve)\n {\n Offset (0x00),\n M1, 8,\n Offset (0x01),\n M2, 8,\n Offset (0x02),\n M3, 8,\n Offset (0x03),\n M4, 8\n } end; into method label _DSM parent_adr 0x001F0001 remove_entry; into device name_adr 0x001F0001 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (0x07, M1)\n Store (0xE3, M2)\n Store (Zero, M3)\n Store (0xC0, M4)\n Return (Zero)\n } end; into device name_hid PNP0000 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched; into device name_hid PNP0100 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched; into device name_hid PNP0B00 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched; into device name_hid PNP0103 code_regex_not IRQNoFlags code_regex Name\s\(([^,]+),\sResourceTemplate\s\(\)\n\s+\{((?:.|\n)*)\}\) replace_matched begin Name (%1, ResourceTemplate ()\n {\n IRQNoFlags ()\n {0}\n IRQNoFlags ()\n {8}\n %2 }) end; into method label _DSM parent_adr 0x001F0000 remove_entry; into device name_adr 0x001F0000 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "device-id", \n Buffer (0x04)\n {\n 0x15, 0x28, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into_all all code_regex (Acquire\s\(MUTE,\s0x)....\) replace_matched begin %1FFFF) end; into method label _L03 parent_label \_GPE insert begin Notify (\_SB.PWRB, 0x02) end; into method label _L04 parent_label \_GPE insert begin Notify (\_SB.PWRB, 0x02) end; into method label _L0C parent_label \_GPE insert begin Notify (\_SB.PWRB, 0x02) end; into method label _L0E parent_label \_GPE insert begin Notify (\_SB.PWRB, 0x02) end; into method label _L05 parent_label \_GPE insert begin Notify (\_SB.PWRB, 0x02) end; into method label _L20 parent_label \_GPE insert begin Notify (\_SB.PWRB, 0x02) end; into method label _L25 parent_label \_GPE insert begin Notify (\_SB.PWRB, 0x02) end; into scope label \_SB insert begin Device (PNLF)\n {\n Name (_HID, EisaId ("APP0002"))\n Name (_CID, "backlight")\n Name (_UID, 0x0A)\n Name (_STA, 0x0B)\n } end; into scope label _SB insert begin Device (PNLF)\n {\n Name (_HID, EisaId ("APP0002"))\n Name (_CID, "backlight")\n Name (_UID, 0x0A)\n Name (_STA, 0x0B)\n } end; into device name_hid PNP0B00 code_regex (IO\s\((?:\s*[^,]+,\s*(?:\/\/\s.*)?\s*\n)+\s*)(\dx\d+)(,\s*(?:\/\/\s.*)?\s*\n\s*\)) replace_matched begin %10x02%3 end; into method label _PTS code_regex_not If\s\(LEqual\s\(Arg0,\s0x05\)\) code_regex ^((?:.|\n)*)$ replace_matched begin If (LEqual (Arg0, 0x05)) {}\n Else\n {\n %1 } end; into method label WMBD code_regex Return\s\(Zero\) remove_matched; into method label WMBD insert begin Return (Zero) end; into method label _DSM parent_adr 0x001F0003 remove_entry; into device name_adr 0x001F0003 insert begin Device (BUS0)\n {\n Name (_CID, "smbus")\n Name (_ADR, Zero)\n Device (DVL0)\n {\n Name (_ADR, 0x57)\n Name (_CID, "diagsvault")\n Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "address", \n 0x57\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n }\n }\n } end