1    /*
2     * Some or all of this work - Copyright (c) 2006 - 2021, Intel Corp.
3     * All rights reserved.
4     *
5     * Redistribution and use in source and binary forms, with or without modification,
6     * are permitted provided that the following conditions are met:
7     *
8     * Redistributions of source code must retain the above copyright notice,
9     * this list of conditions and the following disclaimer.
10     * Redistributions in binary form must reproduce the above copyright notice,
11     * this list of conditions and the following disclaimer in the documentation
12     * and/or other materials provided with the distribution.
13     * Neither the name of Intel Corporation nor the names of its contributors
14     * may be used to endorse or promote products derived from this software
15     * without specific prior written permission.
16     *
17     * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18     * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19     * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20     * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
21     * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22     * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23     * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24     * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
25     * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
26     * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27     */
28    /*
29     * BankField objects definition and processing
30     */
31    /*
32     * On testing following issues should be covered:
33     * - Operation Regions of different Region Space types application
34     *   for BankField objects definition,
35     * - Operation Regions of different Region Space types application
36     *   for definition of bank selection register Field object used in
37     *   BankField objects definition,
38     * - application of any TermArg as a BankValue Integer,
39     * - application of any allowed AccessType Keywords,
40     * - application of any allowed LockRule Keywords,
41     * - application of any allowed UpdateRule Keywords,
42     * - application of the Offset macros in the FieldUnitList,
43     * - application of the AccessAs macros in the FieldUnitList,
44     * - on writing taking into account the Access Type in accord with
45     the Update Rule,
46     * - AccessAs macros influence on the remaining Field Units within the list,
47     * - access to BankField objects in accord with the bank selection register
48     *   functionality,
49     * - integer/buffer representation of the Unit contents as depends on its
50     *   Length and DSDT ComplianceRevision (32/64-bit Integer),
51     * - Data Type Conversion Rules on storing to BankFields,
52     * - check that Bank value can be computational data.
53     *
54     * Can not be tested following issues:
55     * - exact use of given Access Type alignment on Access to Unit data,
56     * - exact functioning of data exchange based on BankField functionality,
57     * - exact use of specific Conversion Rules on storing of Buffers or Strings.
58     */
59    Name (Z145, 0x91)
60    OperationRegion (OPRI, SystemIO, 0x0200, 0x10)
61    OperationRegion (OPRJ, SystemIO, 0x0230, 0x0133)
62    /* Check against benchmark value */
63    /* m7bf(msg, result, benchmark, errnum) */
64    Method (M7BF, 4, NotSerialized)
65    {
66        If ((ObjectType (Arg1) != ObjectType (Arg2)))
67        {
68            ERR (Arg0, Z145, __LINE__, 0x00, 0x00, ObjectType (Arg1), ObjectType (Arg2))
69        }
70        ElseIf ((Arg1 != Arg2))
71        {
72            ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg1, Arg2)
73        }
74    }
75
76    /* Simple BankField test */
77
78    Method (M7C0, 1, Serialized)
79    {
80        Field (OPRI, ByteAcc, NoLock, Preserve)
81        {
82            BNK0,   8
83        }
84
85        BankField (OPRJ, BNK0, 0x02, ByteAcc, NoLock, Preserve)
86        {
87            Offset (0x08),
88            BF00,   8
89        }
90
91        BankField (OPRJ, BNK0, 0x03, ByteAcc, NoLock, Preserve)
92        {
93            Offset (0x08),
94            BF01,   8
95        }
96
97        Concatenate (Arg0, "-m7c0", Arg0)
98        /* */
99        /* Full support for bank fields not implemented in acpiexec, so */
100        /* we have to perform write/reads in order. Otherwise, we would */
101        /* interleave them. */
102        /* Write bf00 */
103        BNK0 = 0xFF
104        M7BF (Arg0, BNK0, 0xFF, 0x01)
105        BF00 = 0x67
106        M7BF (Arg0, BNK0, 0x02, 0x02)
107        /* Read bf00 */
108
109        BNK0 = 0xFF
110        M7BF (Arg0, BNK0, 0xFF, 0x05)
111        Local1 = BF00 /* \M7C0.BF00 */
112        M7BF (Arg0, Local1, 0x67, 0x06)
113        M7BF (Arg0, BNK0, 0x02, 0x07)
114        /* Write bf01 */
115
116        BNK0 = 0xFF
117        M7BF (Arg0, BNK0, 0xFF, 0x03)
118        BF01 = 0x89
119        M7BF (Arg0, BNK0, 0x03, 0x04)
120        /* Read bf01 */
121
122        BNK0 = 0xFF
123        M7BF (Arg0, BNK0, 0xFF, 0x08)
124        Local1 = BF01 /* \M7C0.BF01 */
125        M7BF (Arg0, Local1, 0x89, 0x09)
126        M7BF (Arg0, BNK0, 0x03, 0x0A)
127    }
128
129    /* Testing parameters Packages */
130    /* Layout see in regionfield.asl */
131    /* (ByteAcc, NoLock, Preserve) */
132    Name (PP20, Package (0x05)
133    {
134        0x00,
135        0x08,
136        0x00,
137        0x08,
138        Package (0x06)
139        {
140            0x00,
141            0x01,
142            0x01,
143            0x00,
144            0x01,
145            "m7d0"
146        }
147    })
148    /* (WordAcc, NoLock, WriteAsOnes) */
149
150    Name (PP21, Package (0x05)
151    {
152        0x00,
153        0x08,
154        0x08,
155        0x08,
156        Package (0x06)
157        {
158            0x00,
159            0x02,
160            0x02,
161            0x01,
162            0x01,
163            "m7d1"
164        }
165    })
166    /* (DWordAcc, NoLock, WriteAsZeros) */
167
168    Name (PP22, Package (0x05)
169    {
170        0x08,
171        0x08,
172        0x00,
173        0x08,
174        Package (0x06)
175        {
176            0x01,
177            0x02,
178            0x03,
179            0x02,
180            0x01,
181            "m7d2"
182        }
183    })
184    /* (QWordAcc, NoLock, Preserve) */
185
186    Name (PP23, Package (0x05)
187    {
188        0x08,
189        0x04,
190        0x08,
191        0x08,
192        Package (0x06)
193        {
194            0x01,
195            0x00,
196            0x03,
197            0x00,
198            0x01,
199            "m7d3"
200        }
201    })
202    /* (AnyAcc, Lock, Preserve) */
203
204    Name (PP24, Package (0x05)
205    {
206        0x0C,
207        0x04,
208        0x08,
209        0x08,
210        Package (0x06)
211        {
212            0x00,
213            0x01,
214            0x00,
215            0x00,
216            0x00,
217            "m7d4"
218        }
219    })
220    /* Check BankField access: ByteAcc, NoLock, Preserve */
221    /* m7c1(CallChain) */
222    Method (M7C1, 1, NotSerialized)
223    {
224        Concatenate (Arg0, "-m7c1", Arg0)
225        Debug = "TEST: m7c1, Check BankFields specified as (ByteAcc, NoLock, Preserve)"
226        M72F (Arg0, 0x01, "pp20", PP20)
227    }
228
229    /* Check BankField access: WordAcc, NoLock, WriteAsOnes */
230    /* m7c2(CallChain) */
231    Method (M7C2, 1, NotSerialized)
232    {
233        Concatenate (Arg0, "-m7c2", Arg0)
234        Debug = "TEST: m7c2, Check BankFields specified as (WordAcc, NoLock, WriteAsOnes)"
235        M72F (Arg0, 0x01, "pp21", PP21)
236    }
237
238    /* Check BankField access: DWordAcc, NoLock, WriteAsZeros */
239    /* m7c3(CallChain) */
240    Method (M7C3, 1, NotSerialized)
241    {
242        Concatenate (Arg0, "-m7c3", Arg0)
243        Debug = "TEST: m7c3, Check BankFields specified as (DWordAcc, NoLock, WriteAsZeros)"
244        M72F (Arg0, 0x01, "pp22", PP22)
245    }
246
247    /* Check BankField access: QWordAcc, NoLock, Preserve */
248    /* m7c4(CallChain) */
249    Method (M7C4, 1, NotSerialized)
250    {
251        Concatenate (Arg0, "-m7c4", Arg0)
252        Debug = "TEST: m7c4, Check BankFields specified as (QWordAcc, NoLock, Preserve)"
253        M72F (Arg0, 0x01, "pp23", PP23)
254    }
255
256    /* Check BankField access: AnyAcc, Lock, Preserve */
257    /* m7c5(CallChain) */
258    Method (M7C5, 1, NotSerialized)
259    {
260        Concatenate (Arg0, "-m7c5", Arg0)
261        Debug = "TEST: m7c5, Check BankFields specified as (AnyAcc, Lock, Preserve)"
262        M72F (Arg0, 0x01, "pp24", PP24)
263    }
264
265    /* Create BankField Unit */
266    /* (ByteAcc, NoLock, Preserve) */
267    Method (M7D0, 6, Serialized)
268    {
269        OperationRegion (OPRB, SystemIO, 0x00, 0x09)
270        OperationRegion (OPR0, SystemIO, 0x0B, 0x0100)
271        Field (OPRB, ByteAcc, NoLock, Preserve)
272        {
273            BNK0,   8
274        }
275
276        BankField (OPR0, BNK0, 0x00, ByteAcc, NoLock, Preserve)
277        {
278            G000,   2048
279        }
280
281        BankField (OPR0, BNK0, 0x01, ByteAcc, NoLock, Preserve)
282        {
283            G001,   2048
284        }
285
286        BankField (OPR0, BNK0, 0x02, ByteAcc, NoLock, Preserve)
287        {
288            G002,   2048
289        }
290
291        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, Preserve)
292        {
293            G003,   2048
294        }
295
296        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, Preserve)
297        {
298            G004,   2048
299        }
300
301        BankField (OPR0, BNK0, 0x05, ByteAcc, NoLock, Preserve)
302        {
303            G005,   2048
304        }
305
306        BankField (OPR0, BNK0, 0x06, ByteAcc, NoLock, Preserve)
307        {
308            G006,   2048
309        }
310
311        BankField (OPR0, BNK0, 0x07, ByteAcc, NoLock, Preserve)
312        {
313            G007,   2048
314        }
315
316        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, Preserve)
317        {
318            G008,   2048
319        }
320
321        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, Preserve)
322        {
323            G009,   2048
324        }
325
326        BankField (OPR0, BNK0, 0x3F, ByteAcc, NoLock, Preserve)
327        {
328            G00A,   2048
329        }
330
331        BankField (OPR0, BNK0, 0x40, ByteAcc, NoLock, Preserve)
332        {
333            G00B,   2048
334        }
335
336        BankField (OPR0, BNK0, 0x7F, ByteAcc, NoLock, Preserve)
337        {
338            G00C,   2048
339        }
340
341        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, Preserve)
342        {
343            G00D,   2048
344        }
345
346        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, Preserve)
347        {
348            G00E,   2048
349        }
350
351        Concatenate (Arg0, "-m7d0", Arg0)
352        Switch (ToInteger (Arg2))
353        {
354            Case (0x00)
355            {
356                Switch (ToInteger (Arg3))
357                {
358                    Case (0x01)
359                    {
360                        Local2 = 0x00
361                        BankField (OPR0, BNK0, 0x00, ByteAcc, NoLock, Preserve)
362                        {
363                            Offset (0x00),
364                            F000,   1
365                        }
366
367                        Local3 = RefOf (F000)
368                        Local4 = RefOf (G000)
369                    }
370                    Case (0x06)
371                    {
372                        Local2 = 0x01
373                        BankField (OPR0, BNK0, 0x01, WordAcc, NoLock, Preserve)
374                        {
375                            AccessAs (ByteAcc, 0x00),
376                            Offset (0x00),
377                            F001,   6
378                        }
379
380                        Local3 = RefOf (F001)
381                        Local4 = RefOf (G001)
382                    }
383                    Case (0x07)
384                    {
385                        Local2 = 0x02
386                        BankField (OPR0, BNK0, 0x02, ByteAcc, NoLock, Preserve)
387                        {
388                            Offset (0x00),
389                            F002,   7
390                        }
391
392                        Local3 = RefOf (F002)
393                        Local4 = RefOf (G002)
394                    }
395                    Case (0x08)
396                    {
397                        Local2 = 0x03
398                        BankField (OPR0, BNK0, 0x03, DWordAcc, NoLock, Preserve)
399                        {
400                            AccessAs (ByteAcc, 0x00),
401                            Offset (0x00),
402                            F003,   8
403                        }
404
405                        Local3 = RefOf (F003)
406                        Local4 = RefOf (G003)
407                    }
408                    Case (0x09)
409                    {
410                        Local2 = 0x04
411                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, Preserve)
412                        {
413                            Offset (0x00),
414                            F004,   9
415                        }
416
417                        Local3 = RefOf (F004)
418                        Local4 = RefOf (G004)
419                    }
420                    Case (0x1F)
421                    {
422                        Local2 = 0x05
423                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, Preserve)
424                        {
425                            AccessAs (ByteAcc, 0x00),
426                            Offset (0x00),
427                            F005,   31
428                        }
429
430                        Local3 = RefOf (F005)
431                        Local4 = RefOf (G005)
432                    }
433                    Case (0x20)
434                    {
435                        Local2 = 0x06
436                        BankField (OPR0, BNK0, 0x06, ByteAcc, NoLock, Preserve)
437                        {
438                            Offset (0x00),
439                            F006,   32
440                        }
441
442                        Local3 = RefOf (F006)
443                        Local4 = RefOf (G006)
444                    }
445                    Case (0x21)
446                    {
447                        Local2 = 0x07
448                        BankField (OPR0, BNK0, 0x07, AnyAcc, NoLock, Preserve)
449                        {
450                            AccessAs (ByteAcc, 0x00),
451                            Offset (0x00),
452                            F007,   33
453                        }
454
455                        Local3 = RefOf (F007)
456                        Local4 = RefOf (G007)
457                    }
458                    Case (0x3F)
459                    {
460                        Local2 = 0x08
461                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, Preserve)
462                        {
463                            Offset (0x00),
464                            F008,   63
465                        }
466
467                        Local3 = RefOf (F008)
468                        Local4 = RefOf (G008)
469                    }
470                    Case (0x40)
471                    {
472                        Local2 = 0x09
473                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, Preserve)
474                        {
475                            AccessAs (ByteAcc, 0x00),
476                            Offset (0x00),
477                            F009,   64
478                        }
479
480                        Local3 = RefOf (F009)
481                        Local4 = RefOf (G009)
482                    }
483                    Case (0x41)
484                    {
485                        Local2 = 0x3F
486                        BankField (OPR0, BNK0, 0x3F, ByteAcc, NoLock, Preserve)
487                        {
488                            Offset (0x00),
489                            F00A,   65
490                        }
491
492                        Local3 = RefOf (F00A)
493                        Local4 = RefOf (G00A)
494                    }
495                    Case (0x45)
496                    {
497                        Local2 = 0x40
498                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, Preserve)
499                        {
500                            AccessAs (ByteAcc, 0x00),
501                            Offset (0x00),
502                            F00B,   69
503                        }
504
505                        Local3 = RefOf (F00B)
506                        Local4 = RefOf (G00B)
507                    }
508                    Case (0x81)
509                    {
510                        Local2 = 0x7F
511                        BankField (OPR0, BNK0, 0x7F, ByteAcc, NoLock, Preserve)
512                        {
513                            Offset (0x00),
514                            F00C,   129
515                        }
516
517                        Local3 = RefOf (F00C)
518                        Local4 = RefOf (G00C)
519                    }
520                    Case (0x0100)
521                    {
522                        Local2 = 0x80
523                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, Preserve)
524                        {
525                            AccessAs (ByteAcc, 0x00),
526                            Offset (0x00),
527                            F00D,   256
528                        }
529
530                        Local3 = RefOf (F00D)
531                        Local4 = RefOf (G00D)
532                    }
533                    Case (0x03FF)
534                    {
535                        Local2 = 0xFF
536                        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, Preserve)
537                        {
538                            Offset (0x00),
539                            F00E,   1023
540                        }
541
542                        Local3 = RefOf (F00E)
543                        Local4 = RefOf (G00E)
544                    }
545                    Case (0x07BF)
546                    {
547                        Local2 = 0x00
548                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, Preserve)
549                        {
550                            AccessAs (ByteAcc, 0x00),
551                            Offset (0x00),
552                            F00F,   1983
553                        }
554
555                        Local3 = RefOf (F00F)
556                        Local4 = RefOf (G000)
557                    }
558                    Default
559                    {
560                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
561                        Return (Zero)
562                    }
563
564                }
565            }
566            Case (0x01)
567            {
568                Switch (ToInteger (Arg3))
569                {
570                    Case (0x01)
571                    {
572                        Local2 = 0x01
573                        BankField (OPR0, BNK0, 0x01, AnyAcc, NoLock, Preserve)
574                        {
575                            AccessAs (ByteAcc, 0x00),
576                                ,   1,
577                            F010,   1
578                        }
579
580                        Local3 = RefOf (F010)
581                        Local4 = RefOf (G001)
582                    }
583                    Case (0x06)
584                    {
585                        Local2 = 0x02
586                        BankField (OPR0, BNK0, 0x02, ByteAcc, NoLock, Preserve)
587                        {
588                                ,   1,
589                            F011,   6
590                        }
591
592                        Local3 = RefOf (F011)
593                        Local4 = RefOf (G002)
594                    }
595                    Case (0x07)
596                    {
597                        Local2 = 0x03
598                        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, Preserve)
599                        {
600                            AccessAs (ByteAcc, 0x00),
601                                ,   1,
602                            F012,   7
603                        }
604
605                        Local3 = RefOf (F012)
606                        Local4 = RefOf (G003)
607                    }
608                    Case (0x08)
609                    {
610                        Local2 = 0x04
611                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, Preserve)
612                        {
613                                ,   1,
614                            F013,   8
615                        }
616
617                        Local3 = RefOf (F013)
618                        Local4 = RefOf (G004)
619                    }
620                    Case (0x09)
621                    {
622                        Local2 = 0x05
623                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, Preserve)
624                        {
625                            AccessAs (ByteAcc, 0x00),
626                                ,   1,
627                            F014,   9
628                        }
629
630                        Local3 = RefOf (F014)
631                        Local4 = RefOf (G005)
632                    }
633                    Case (0x1F)
634                    {
635                        Local2 = 0x06
636                        BankField (OPR0, BNK0, 0x06, ByteAcc, NoLock, Preserve)
637                        {
638                                ,   1,
639                            F015,   31
640                        }
641
642                        Local3 = RefOf (F015)
643                        Local4 = RefOf (G006)
644                    }
645                    Case (0x20)
646                    {
647                        Local2 = 0x07
648                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, Preserve)
649                        {
650                            AccessAs (ByteAcc, 0x00),
651                                ,   1,
652                            F016,   32
653                        }
654
655                        Local3 = RefOf (F016)
656                        Local4 = RefOf (G007)
657                    }
658                    Case (0x21)
659                    {
660                        Local2 = 0x08
661                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, Preserve)
662                        {
663                                ,   1,
664                            F017,   33
665                        }
666
667                        Local3 = RefOf (F017)
668                        Local4 = RefOf (G008)
669                    }
670                    Case (0x3F)
671                    {
672                        Local2 = 0x09
673                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, Preserve)
674                        {
675                            AccessAs (ByteAcc, 0x00),
676                                ,   1,
677                            F018,   63
678                        }
679
680                        Local3 = RefOf (F018)
681                        Local4 = RefOf (G009)
682                    }
683                    Case (0x40)
684                    {
685                        Local2 = 0x3F
686                        BankField (OPR0, BNK0, 0x3F, ByteAcc, NoLock, Preserve)
687                        {
688                                ,   1,
689                            F019,   64
690                        }
691
692                        Local3 = RefOf (F019)
693                        Local4 = RefOf (G00A)
694                    }
695                    Case (0x41)
696                    {
697                        Local2 = 0x40
698                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, Preserve)
699                        {
700                            AccessAs (ByteAcc, 0x00),
701                                ,   1,
702                            F01A,   65
703                        }
704
705                        Local3 = RefOf (F01A)
706                        Local4 = RefOf (G00B)
707                    }
708                    Case (0x45)
709                    {
710                        Local2 = 0x7F
711                        BankField (OPR0, BNK0, 0x7F, ByteAcc, NoLock, Preserve)
712                        {
713                                ,   1,
714                            F01B,   69
715                        }
716
717                        Local3 = RefOf (F01B)
718                        Local4 = RefOf (G00C)
719                    }
720                    Case (0x81)
721                    {
722                        Local2 = 0x80
723                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, Preserve)
724                        {
725                            AccessAs (ByteAcc, 0x00),
726                                ,   1,
727                            F01C,   129
728                        }
729
730                        Local3 = RefOf (F01C)
731                        Local4 = RefOf (G00D)
732                    }
733                    Case (0x0100)
734                    {
735                        Local2 = 0xFF
736                        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, Preserve)
737                        {
738                                ,   1,
739                            F01D,   256
740                        }
741
742                        Local3 = RefOf (F01D)
743                        Local4 = RefOf (G00E)
744                    }
745                    Case (0x03FF)
746                    {
747                        Local2 = 0x00
748                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, Preserve)
749                        {
750                            AccessAs (ByteAcc, 0x00),
751                                ,   1,
752                            F01E,   1023
753                        }
754
755                        Local3 = RefOf (F01E)
756                        Local4 = RefOf (G000)
757                    }
758                    Case (0x07BF)
759                    {
760                        Local2 = 0x01
761                        BankField (OPR0, BNK0, 0x01, ByteAcc, NoLock, Preserve)
762                        {
763                                ,   1,
764                            F01F,   1983
765                        }
766
767                        Local3 = RefOf (F01F)
768                        Local4 = RefOf (G001)
769                    }
770                    Default
771                    {
772                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
773                        Return (Zero)
774                    }
775
776                }
777            }
778            Case (0x02)
779            {
780                Switch (ToInteger (Arg3))
781                {
782                    Case (0x01)
783                    {
784                        Local2 = 0x02
785                        BankField (OPR0, BNK0, 0x02, ByteAcc, NoLock, Preserve)
786                        {
787                                ,   2,
788                            F020,   1
789                        }
790
791                        Local3 = RefOf (F020)
792                        Local4 = RefOf (G002)
793                    }
794                    Case (0x06)
795                    {
796                        Local2 = 0x03
797                        BankField (OPR0, BNK0, 0x03, DWordAcc, NoLock, Preserve)
798                        {
799                            AccessAs (ByteAcc, 0x00),
800                                ,   2,
801                            F021,   6
802                        }
803
804                        Local3 = RefOf (F021)
805                        Local4 = RefOf (G003)
806                    }
807                    Case (0x07)
808                    {
809                        Local2 = 0x04
810                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, Preserve)
811                        {
812                                ,   2,
813                            F022,   7
814                        }
815
816                        Local3 = RefOf (F022)
817                        Local4 = RefOf (G004)
818                    }
819                    Case (0x08)
820                    {
821                        Local2 = 0x05
822                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, Preserve)
823                        {
824                            AccessAs (ByteAcc, 0x00),
825                                ,   2,
826                            F023,   8
827                        }
828
829                        Local3 = RefOf (F023)
830                        Local4 = RefOf (G005)
831                    }
832                    Case (0x09)
833                    {
834                        Local2 = 0x06
835                        BankField (OPR0, BNK0, 0x06, ByteAcc, NoLock, Preserve)
836                        {
837                                ,   2,
838                            F024,   9
839                        }
840
841                        Local3 = RefOf (F024)
842                        Local4 = RefOf (G006)
843                    }
844                    Case (0x1F)
845                    {
846                        Local2 = 0x07
847                        BankField (OPR0, BNK0, 0x07, AnyAcc, NoLock, Preserve)
848                        {
849                            AccessAs (ByteAcc, 0x00),
850                                ,   2,
851                            F025,   31
852                        }
853
854                        Local3 = RefOf (F025)
855                        Local4 = RefOf (G007)
856                    }
857                    Case (0x20)
858                    {
859                        Local2 = 0x08
860                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, Preserve)
861                        {
862                                ,   2,
863                            F026,   32
864                        }
865
866                        Local3 = RefOf (F026)
867                        Local4 = RefOf (G008)
868                    }
869                    Case (0x21)
870                    {
871                        Local2 = 0x09
872                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, Preserve)
873                        {
874                            AccessAs (ByteAcc, 0x00),
875                                ,   2,
876                            F027,   33
877                        }
878
879                        Local3 = RefOf (F027)
880                        Local4 = RefOf (G009)
881                    }
882                    Case (0x3F)
883                    {
884                        Local2 = 0x3F
885                        BankField (OPR0, BNK0, 0x3F, ByteAcc, NoLock, Preserve)
886                        {
887                                ,   2,
888                            F028,   63
889                        }
890
891                        Local3 = RefOf (F028)
892                        Local4 = RefOf (G00A)
893                    }
894                    Case (0x40)
895                    {
896                        Local2 = 0x40
897                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, Preserve)
898                        {
899                            AccessAs (ByteAcc, 0x00),
900                                ,   2,
901                            F029,   64
902                        }
903
904                        Local3 = RefOf (F029)
905                        Local4 = RefOf (G00B)
906                    }
907                    Case (0x41)
908                    {
909                        Local2 = 0x7F
910                        BankField (OPR0, BNK0, 0x7F, ByteAcc, NoLock, Preserve)
911                        {
912                                ,   2,
913                            F02A,   65
914                        }
915
916                        Local3 = RefOf (F02A)
917                        Local4 = RefOf (G00C)
918                    }
919                    Case (0x45)
920                    {
921                        Local2 = 0x80
922                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, Preserve)
923                        {
924                            AccessAs (ByteAcc, 0x00),
925                                ,   2,
926                            F02B,   69
927                        }
928
929                        Local3 = RefOf (F02B)
930                        Local4 = RefOf (G00D)
931                    }
932                    Case (0x81)
933                    {
934                        Local2 = 0xFF
935                        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, Preserve)
936                        {
937                                ,   2,
938                            F02C,   129
939                        }
940
941                        Local3 = RefOf (F02C)
942                        Local4 = RefOf (G00E)
943                    }
944                    Case (0x0100)
945                    {
946                        Local2 = 0x00
947                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, Preserve)
948                        {
949                            AccessAs (ByteAcc, 0x00),
950                                ,   2,
951                            F02D,   256
952                        }
953
954                        Local3 = RefOf (F02D)
955                        Local4 = RefOf (G000)
956                    }
957                    Case (0x03FF)
958                    {
959                        Local2 = 0x01
960                        BankField (OPR0, BNK0, 0x01, ByteAcc, NoLock, Preserve)
961                        {
962                                ,   2,
963                            F02E,   1023
964                        }
965
966                        Local3 = RefOf (F02E)
967                        Local4 = RefOf (G001)
968                    }
969                    Case (0x07BF)
970                    {
971                        Local2 = 0x02
972                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, Preserve)
973                        {
974                            AccessAs (ByteAcc, 0x00),
975                                ,   2,
976                            F02F,   1983
977                        }
978
979                        Local3 = RefOf (F02F)
980                        Local4 = RefOf (G002)
981                    }
982                    Default
983                    {
984                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
985                        Return (Zero)
986                    }
987
988                }
989            }
990            Case (0x03)
991            {
992                Switch (ToInteger (Arg3))
993                {
994                    Case (0x01)
995                    {
996                        Local2 = 0x03
997                        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, Preserve)
998                        {
999                            AccessAs (ByteAcc, 0x00),
1000                                ,   3,
1001                            F030,   1
1002                        }
1003
1004                        Local3 = RefOf (F030)
1005                        Local4 = RefOf (G003)
1006                    }
1007                    Case (0x06)
1008                    {
1009                        Local2 = 0x04
1010                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, Preserve)
1011                        {
1012                                ,   3,
1013                            F031,   6
1014                        }
1015
1016                        Local3 = RefOf (F031)
1017                        Local4 = RefOf (G004)
1018                    }
1019                    Case (0x07)
1020                    {
1021                        Local2 = 0x05
1022                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, Preserve)
1023                        {
1024                            AccessAs (ByteAcc, 0x00),
1025                                ,   3,
1026                            F032,   7
1027                        }
1028
1029                        Local3 = RefOf (F032)
1030                        Local4 = RefOf (G005)
1031                    }
1032                    Case (0x08)
1033                    {
1034                        Local2 = 0x06
1035                        BankField (OPR0, BNK0, 0x06, ByteAcc, NoLock, Preserve)
1036                        {
1037                                ,   3,
1038                            F033,   8
1039                        }
1040
1041                        Local3 = RefOf (F033)
1042                        Local4 = RefOf (G006)
1043                    }
1044                    Case (0x09)
1045                    {
1046                        Local2 = 0x07
1047                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, Preserve)
1048                        {
1049                            AccessAs (ByteAcc, 0x00),
1050                                ,   3,
1051                            F034,   9
1052                        }
1053
1054                        Local3 = RefOf (F034)
1055                        Local4 = RefOf (G007)
1056                    }
1057                    Case (0x1F)
1058                    {
1059                        Local2 = 0x08
1060                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, Preserve)
1061                        {
1062                                ,   3,
1063                            F035,   31
1064                        }
1065
1066                        Local3 = RefOf (F035)
1067                        Local4 = RefOf (G008)
1068                    }
1069                    Case (0x20)
1070                    {
1071                        Local2 = 0x09
1072                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, Preserve)
1073                        {
1074                            AccessAs (ByteAcc, 0x00),
1075                                ,   3,
1076                            F036,   32
1077                        }
1078
1079                        Local3 = RefOf (F036)
1080                        Local4 = RefOf (G009)
1081                    }
1082                    Case (0x21)
1083                    {
1084                        Local2 = 0x3F
1085                        BankField (OPR0, BNK0, 0x3F, ByteAcc, NoLock, Preserve)
1086                        {
1087                                ,   3,
1088                            F037,   33
1089                        }
1090
1091                        Local3 = RefOf (F037)
1092                        Local4 = RefOf (G00A)
1093                    }
1094                    Case (0x3F)
1095                    {
1096                        Local2 = 0x40
1097                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, Preserve)
1098                        {
1099                            AccessAs (ByteAcc, 0x00),
1100                                ,   3,
1101                            F038,   63
1102                        }
1103
1104                        Local3 = RefOf (F038)
1105                        Local4 = RefOf (G00B)
1106                    }
1107                    Case (0x40)
1108                    {
1109                        Local2 = 0x7F
1110                        BankField (OPR0, BNK0, 0x7F, ByteAcc, NoLock, Preserve)
1111                        {
1112                                ,   3,
1113                            F039,   64
1114                        }
1115
1116                        Local3 = RefOf (F039)
1117                        Local4 = RefOf (G00C)
1118                    }
1119                    Case (0x41)
1120                    {
1121                        Local2 = 0x80
1122                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, Preserve)
1123                        {
1124                            AccessAs (ByteAcc, 0x00),
1125                                ,   3,
1126                            F03A,   65
1127                        }
1128
1129                        Local3 = RefOf (F03A)
1130                        Local4 = RefOf (G00D)
1131                    }
1132                    Case (0x45)
1133                    {
1134                        Local2 = 0xFF
1135                        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, Preserve)
1136                        {
1137                                ,   3,
1138                            F03B,   69
1139                        }
1140
1141                        Local3 = RefOf (F03B)
1142                        Local4 = RefOf (G00E)
1143                    }
1144                    Case (0x81)
1145                    {
1146                        Local2 = 0x00
1147                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, Preserve)
1148                        {
1149                            AccessAs (ByteAcc, 0x00),
1150                                ,   3,
1151                            F03C,   129
1152                        }
1153
1154                        Local3 = RefOf (F03C)
1155                        Local4 = RefOf (G000)
1156                    }
1157                    Case (0x0100)
1158                    {
1159                        Local2 = 0x01
1160                        BankField (OPR0, BNK0, 0x01, ByteAcc, NoLock, Preserve)
1161                        {
1162                                ,   3,
1163                            F03D,   256
1164                        }
1165
1166                        Local3 = RefOf (F03D)
1167                        Local4 = RefOf (G001)
1168                    }
1169                    Case (0x03FF)
1170                    {
1171                        Local2 = 0x02
1172                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, Preserve)
1173                        {
1174                            AccessAs (ByteAcc, 0x00),
1175                                ,   3,
1176                            F03E,   1023
1177                        }
1178
1179                        Local3 = RefOf (F03E)
1180                        Local4 = RefOf (G002)
1181                    }
1182                    Case (0x07BF)
1183                    {
1184                        Local2 = 0x03
1185                        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, Preserve)
1186                        {
1187                                ,   3,
1188                            F03F,   1983
1189                        }
1190
1191                        Local3 = RefOf (F03F)
1192                        Local4 = RefOf (G003)
1193                    }
1194                    Default
1195                    {
1196                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
1197                        Return (Zero)
1198                    }
1199
1200                }
1201            }
1202            Case (0x04)
1203            {
1204                Switch (ToInteger (Arg3))
1205                {
1206                    Case (0x01)
1207                    {
1208                        Local2 = 0x04
1209                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, Preserve)
1210                        {
1211                                ,   4,
1212                            F040,   1
1213                        }
1214
1215                        Local3 = RefOf (F040)
1216                        Local4 = RefOf (G004)
1217                    }
1218                    Case (0x06)
1219                    {
1220                        Local2 = 0x05
1221                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, Preserve)
1222                        {
1223                            AccessAs (ByteAcc, 0x00),
1224                                ,   4,
1225                            F041,   6
1226                        }
1227
1228                        Local3 = RefOf (F041)
1229                        Local4 = RefOf (G005)
1230                    }
1231                    Case (0x07)
1232                    {
1233                        Local2 = 0x06
1234                        BankField (OPR0, BNK0, 0x06, ByteAcc, NoLock, Preserve)
1235                        {
1236                                ,   4,
1237                            F042,   7
1238                        }
1239
1240                        Local3 = RefOf (F042)
1241                        Local4 = RefOf (G006)
1242                    }
1243                    Case (0x08)
1244                    {
1245                        Local2 = 0x07
1246                        BankField (OPR0, BNK0, 0x07, AnyAcc, NoLock, Preserve)
1247                        {
1248                            AccessAs (ByteAcc, 0x00),
1249                                ,   4,
1250                            F043,   8
1251                        }
1252
1253                        Local3 = RefOf (F043)
1254                        Local4 = RefOf (G007)
1255                    }
1256                    Case (0x09)
1257                    {
1258                        Local2 = 0x08
1259                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, Preserve)
1260                        {
1261                                ,   4,
1262                            F044,   9
1263                        }
1264
1265                        Local3 = RefOf (F044)
1266                        Local4 = RefOf (G008)
1267                    }
1268                    Case (0x1F)
1269                    {
1270                        Local2 = 0x09
1271                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, Preserve)
1272                        {
1273                            AccessAs (ByteAcc, 0x00),
1274                                ,   4,
1275                            F045,   31
1276                        }
1277
1278                        Local3 = RefOf (F045)
1279                        Local4 = RefOf (G009)
1280                    }
1281                    Case (0x20)
1282                    {
1283                        Local2 = 0x3F
1284                        BankField (OPR0, BNK0, 0x3F, ByteAcc, NoLock, Preserve)
1285                        {
1286                                ,   4,
1287                            F046,   32
1288                        }
1289
1290                        Local3 = RefOf (F046)
1291                        Local4 = RefOf (G00A)
1292                    }
1293                    Case (0x21)
1294                    {
1295                        Local2 = 0x40
1296                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, Preserve)
1297                        {
1298                            AccessAs (ByteAcc, 0x00),
1299                                ,   4,
1300                            F047,   33
1301                        }
1302
1303                        Local3 = RefOf (F047)
1304                        Local4 = RefOf (G00B)
1305                    }
1306                    Case (0x3F)
1307                    {
1308                        Local2 = 0x7F
1309                        BankField (OPR0, BNK0, 0x7F, ByteAcc, NoLock, Preserve)
1310                        {
1311                                ,   4,
1312                            F048,   63
1313                        }
1314
1315                        Local3 = RefOf (F048)
1316                        Local4 = RefOf (G00C)
1317                    }
1318                    Case (0x40)
1319                    {
1320                        Local2 = 0x80
1321                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, Preserve)
1322                        {
1323                            AccessAs (ByteAcc, 0x00),
1324                                ,   4,
1325                            F049,   64
1326                        }
1327
1328                        Local3 = RefOf (F049)
1329                        Local4 = RefOf (G00D)
1330                    }
1331                    Case (0x41)
1332                    {
1333                        Local2 = 0xFF
1334                        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, Preserve)
1335                        {
1336                                ,   4,
1337                            F04A,   65
1338                        }
1339
1340                        Local3 = RefOf (F04A)
1341                        Local4 = RefOf (G00E)
1342                    }
1343                    Case (0x45)
1344                    {
1345                        Local2 = 0x00
1346                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, Preserve)
1347                        {
1348                            AccessAs (ByteAcc, 0x00),
1349                                ,   4,
1350                            F04B,   69
1351                        }
1352
1353                        Local3 = RefOf (F04B)
1354                        Local4 = RefOf (G000)
1355                    }
1356                    Case (0x81)
1357                    {
1358                        Local2 = 0x01
1359                        BankField (OPR0, BNK0, 0x01, ByteAcc, NoLock, Preserve)
1360                        {
1361                                ,   4,
1362                            F04C,   129
1363                        }
1364
1365                        Local3 = RefOf (F04C)
1366                        Local4 = RefOf (G001)
1367                    }
1368                    Case (0x0100)
1369                    {
1370                        Local2 = 0x02
1371                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, Preserve)
1372                        {
1373                            AccessAs (ByteAcc, 0x00),
1374                                ,   4,
1375                            F04D,   256
1376                        }
1377
1378                        Local3 = RefOf (F04D)
1379                        Local4 = RefOf (G002)
1380                    }
1381                    Case (0x03FF)
1382                    {
1383                        Local2 = 0x03
1384                        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, Preserve)
1385                        {
1386                                ,   4,
1387                            F04E,   1023
1388                        }
1389
1390                        Local3 = RefOf (F04E)
1391                        Local4 = RefOf (G003)
1392                    }
1393                    Case (0x07BF)
1394                    {
1395                        Local2 = 0x04
1396                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, Preserve)
1397                        {
1398                            AccessAs (ByteAcc, 0x00),
1399                                ,   4,
1400                            F04F,   1983
1401                        }
1402
1403                        Local3 = RefOf (F04F)
1404                        Local4 = RefOf (G004)
1405                    }
1406                    Default
1407                    {
1408                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
1409                        Return (Zero)
1410                    }
1411
1412                }
1413            }
1414            Case (0x05)
1415            {
1416                Switch (ToInteger (Arg3))
1417                {
1418                    Case (0x01)
1419                    {
1420                        Local2 = 0x05
1421                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, Preserve)
1422                        {
1423                            AccessAs (ByteAcc, 0x00),
1424                                ,   5,
1425                            F050,   1
1426                        }
1427
1428                        Local3 = RefOf (F050)
1429                        Local4 = RefOf (G005)
1430                    }
1431                    Case (0x06)
1432                    {
1433                        Local2 = 0x06
1434                        BankField (OPR0, BNK0, 0x06, ByteAcc, NoLock, Preserve)
1435                        {
1436                                ,   5,
1437                            F051,   6
1438                        }
1439
1440                        Local3 = RefOf (F051)
1441                        Local4 = RefOf (G006)
1442                    }
1443                    Case (0x07)
1444                    {
1445                        Local2 = 0x07
1446                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, Preserve)
1447                        {
1448                            AccessAs (ByteAcc, 0x00),
1449                                ,   5,
1450                            F052,   7
1451                        }
1452
1453                        Local3 = RefOf (F052)
1454                        Local4 = RefOf (G007)
1455                    }
1456                    Case (0x08)
1457                    {
1458                        Local2 = 0x08
1459                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, Preserve)
1460                        {
1461                                ,   5,
1462                            F053,   8
1463                        }
1464
1465                        Local3 = RefOf (F053)
1466                        Local4 = RefOf (G008)
1467                    }
1468                    Case (0x09)
1469                    {
1470                        Local2 = 0x09
1471                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, Preserve)
1472                        {
1473                            AccessAs (ByteAcc, 0x00),
1474                                ,   5,
1475                            F054,   9
1476                        }
1477
1478                        Local3 = RefOf (F054)
1479                        Local4 = RefOf (G009)
1480                    }
1481                    Case (0x1F)
1482                    {
1483                        Local2 = 0x3F
1484                        BankField (OPR0, BNK0, 0x3F, ByteAcc, NoLock, Preserve)
1485                        {
1486                                ,   5,
1487                            F055,   31
1488                        }
1489
1490                        Local3 = RefOf (F055)
1491                        Local4 = RefOf (G00A)
1492                    }
1493                    Case (0x20)
1494                    {
1495                        Local2 = 0x40
1496                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, Preserve)
1497                        {
1498                            AccessAs (ByteAcc, 0x00),
1499                                ,   5,
1500                            F056,   32
1501                        }
1502
1503                        Local3 = RefOf (F056)
1504                        Local4 = RefOf (G00B)
1505                    }
1506                    Case (0x21)
1507                    {
1508                        Local2 = 0x7F
1509                        BankField (OPR0, BNK0, 0x7F, ByteAcc, NoLock, Preserve)
1510                        {
1511                                ,   5,
1512                            F057,   33
1513                        }
1514
1515                        Local3 = RefOf (F057)
1516                        Local4 = RefOf (G00C)
1517                    }
1518                    Case (0x3F)
1519                    {
1520                        Local2 = 0x80
1521                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, Preserve)
1522                        {
1523                            AccessAs (ByteAcc, 0x00),
1524                                ,   5,
1525                            F058,   63
1526                        }
1527
1528                        Local3 = RefOf (F058)
1529                        Local4 = RefOf (G00D)
1530                    }
1531                    Case (0x40)
1532                    {
1533                        Local2 = 0xFF
1534                        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, Preserve)
1535                        {
1536                                ,   5,
1537                            F059,   64
1538                        }
1539
1540                        Local3 = RefOf (F059)
1541                        Local4 = RefOf (G00E)
1542                    }
1543                    Case (0x41)
1544                    {
1545                        Local2 = 0x00
1546                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, Preserve)
1547                        {
1548                            AccessAs (ByteAcc, 0x00),
1549                                ,   5,
1550                            F05A,   65
1551                        }
1552
1553                        Local3 = RefOf (F05A)
1554                        Local4 = RefOf (G000)
1555                    }
1556                    Case (0x45)
1557                    {
1558                        Local2 = 0x01
1559                        BankField (OPR0, BNK0, 0x01, ByteAcc, NoLock, Preserve)
1560                        {
1561                                ,   5,
1562                            F05B,   69
1563                        }
1564
1565                        Local3 = RefOf (F05B)
1566                        Local4 = RefOf (G001)
1567                    }
1568                    Case (0x81)
1569                    {
1570                        Local2 = 0x02
1571                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, Preserve)
1572                        {
1573                            AccessAs (ByteAcc, 0x00),
1574                                ,   5,
1575                            F05C,   129
1576                        }
1577
1578                        Local3 = RefOf (F05C)
1579                        Local4 = RefOf (G002)
1580                    }
1581                    Case (0x0100)
1582                    {
1583                        Local2 = 0x03
1584                        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, Preserve)
1585                        {
1586                                ,   5,
1587                            F05D,   256
1588                        }
1589
1590                        Local3 = RefOf (F05D)
1591                        Local4 = RefOf (G003)
1592                    }
1593                    Case (0x03FF)
1594                    {
1595                        Local2 = 0x04
1596                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, Preserve)
1597                        {
1598                            AccessAs (ByteAcc, 0x00),
1599                                ,   5,
1600                            F05E,   1023
1601                        }
1602
1603                        Local3 = RefOf (F05E)
1604                        Local4 = RefOf (G004)
1605                    }
1606                    Case (0x07BF)
1607                    {
1608                        Local2 = 0x05
1609                        BankField (OPR0, BNK0, 0x05, ByteAcc, NoLock, Preserve)
1610                        {
1611                                ,   5,
1612                            F05F,   1983
1613                        }
1614
1615                        Local3 = RefOf (F05F)
1616                        Local4 = RefOf (G005)
1617                    }
1618                    Default
1619                    {
1620                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
1621                        Return (Zero)
1622                    }
1623
1624                }
1625            }
1626            Case (0x06)
1627            {
1628                Switch (ToInteger (Arg3))
1629                {
1630                    Case (0x01)
1631                    {
1632                        Local2 = 0x06
1633                        BankField (OPR0, BNK0, 0x06, ByteAcc, NoLock, Preserve)
1634                        {
1635                                ,   6,
1636                            F060,   1
1637                        }
1638
1639                        Local3 = RefOf (F060)
1640                        Local4 = RefOf (G006)
1641                    }
1642                    Case (0x06)
1643                    {
1644                        Local2 = 0x07
1645                        BankField (OPR0, BNK0, 0x07, AnyAcc, NoLock, Preserve)
1646                        {
1647                            AccessAs (ByteAcc, 0x00),
1648                                ,   6,
1649                            F061,   6
1650                        }
1651
1652                        Local3 = RefOf (F061)
1653                        Local4 = RefOf (G007)
1654                    }
1655                    Case (0x07)
1656                    {
1657                        Local2 = 0x08
1658                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, Preserve)
1659                        {
1660                                ,   6,
1661                            F062,   7
1662                        }
1663
1664                        Local3 = RefOf (F062)
1665                        Local4 = RefOf (G008)
1666                    }
1667                    Case (0x08)
1668                    {
1669                        Local2 = 0x09
1670                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, Preserve)
1671                        {
1672                            AccessAs (ByteAcc, 0x00),
1673                                ,   6,
1674                            F063,   8
1675                        }
1676
1677                        Local3 = RefOf (F063)
1678                        Local4 = RefOf (G009)
1679                    }
1680                    Case (0x09)
1681                    {
1682                        Local2 = 0x3F
1683                        BankField (OPR0, BNK0, 0x3F, ByteAcc, NoLock, Preserve)
1684                        {
1685                                ,   6,
1686                            F064,   9
1687                        }
1688
1689                        Local3 = RefOf (F064)
1690                        Local4 = RefOf (G00A)
1691                    }
1692                    Case (0x1F)
1693                    {
1694                        Local2 = 0x40
1695                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, Preserve)
1696                        {
1697                            AccessAs (ByteAcc, 0x00),
1698                                ,   6,
1699                            F065,   31
1700                        }
1701
1702                        Local3 = RefOf (F065)
1703                        Local4 = RefOf (G00B)
1704                    }
1705                    Case (0x20)
1706                    {
1707                        Local2 = 0x7F
1708                        BankField (OPR0, BNK0, 0x7F, ByteAcc, NoLock, Preserve)
1709                        {
1710                                ,   6,
1711                            F066,   32
1712                        }
1713
1714                        Local3 = RefOf (F066)
1715                        Local4 = RefOf (G00C)
1716                    }
1717                    Case (0x21)
1718                    {
1719                        Local2 = 0x80
1720                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, Preserve)
1721                        {
1722                            AccessAs (ByteAcc, 0x00),
1723                                ,   6,
1724                            F067,   33
1725                        }
1726
1727                        Local3 = RefOf (F067)
1728                        Local4 = RefOf (G00D)
1729                    }
1730                    Case (0x3F)
1731                    {
1732                        Local2 = 0xFF
1733                        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, Preserve)
1734                        {
1735                                ,   6,
1736                            F068,   63
1737                        }
1738
1739                        Local3 = RefOf (F068)
1740                        Local4 = RefOf (G00E)
1741                    }
1742                    Case (0x40)
1743                    {
1744                        Local2 = 0x00
1745                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, Preserve)
1746                        {
1747                            AccessAs (ByteAcc, 0x00),
1748                                ,   6,
1749                            F069,   64
1750                        }
1751
1752                        Local3 = RefOf (F069)
1753                        Local4 = RefOf (G000)
1754                    }
1755                    Case (0x41)
1756                    {
1757                        Local2 = 0x01
1758                        BankField (OPR0, BNK0, 0x01, ByteAcc, NoLock, Preserve)
1759                        {
1760                                ,   6,
1761                            F06A,   65
1762                        }
1763
1764                        Local3 = RefOf (F06A)
1765                        Local4 = RefOf (G001)
1766                    }
1767                    Case (0x45)
1768                    {
1769                        Local2 = 0x02
1770                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, Preserve)
1771                        {
1772                            AccessAs (ByteAcc, 0x00),
1773                                ,   6,
1774                            F06B,   69
1775                        }
1776
1777                        Local3 = RefOf (F06B)
1778                        Local4 = RefOf (G002)
1779                    }
1780                    Case (0x81)
1781                    {
1782                        Local2 = 0x03
1783                        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, Preserve)
1784                        {
1785                                ,   6,
1786                            F06C,   129
1787                        }
1788
1789                        Local3 = RefOf (F06C)
1790                        Local4 = RefOf (G003)
1791                    }
1792                    Case (0x0100)
1793                    {
1794                        Local2 = 0x04
1795                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, Preserve)
1796                        {
1797                            AccessAs (ByteAcc, 0x00),
1798                                ,   6,
1799                            F06D,   256
1800                        }
1801
1802                        Local3 = RefOf (F06D)
1803                        Local4 = RefOf (G004)
1804                    }
1805                    Case (0x03FF)
1806                    {
1807                        Local2 = 0x05
1808                        BankField (OPR0, BNK0, 0x05, ByteAcc, NoLock, Preserve)
1809                        {
1810                                ,   6,
1811                            F06E,   1023
1812                        }
1813
1814                        Local3 = RefOf (F06E)
1815                        Local4 = RefOf (G005)
1816                    }
1817                    Case (0x07BF)
1818                    {
1819                        Local2 = 0x06
1820                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, Preserve)
1821                        {
1822                            AccessAs (ByteAcc, 0x00),
1823                                ,   6,
1824                            F06F,   1983
1825                        }
1826
1827                        Local3 = RefOf (F06F)
1828                        Local4 = RefOf (G006)
1829                    }
1830                    Default
1831                    {
1832                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
1833                        Return (Zero)
1834                    }
1835
1836                }
1837            }
1838            Case (0x07)
1839            {
1840                Switch (ToInteger (Arg3))
1841                {
1842                    Case (0x01)
1843                    {
1844                        Local2 = 0x07
1845                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, Preserve)
1846                        {
1847                            AccessAs (ByteAcc, 0x00),
1848                                ,   7,
1849                            F070,   1
1850                        }
1851
1852                        Local3 = RefOf (F070)
1853                        Local4 = RefOf (G007)
1854                    }
1855                    Case (0x06)
1856                    {
1857                        Local2 = 0x08
1858                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, Preserve)
1859                        {
1860                                ,   7,
1861                            F071,   6
1862                        }
1863
1864                        Local3 = RefOf (F071)
1865                        Local4 = RefOf (G008)
1866                    }
1867                    Case (0x07)
1868                    {
1869                        Local2 = 0x09
1870                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, Preserve)
1871                        {
1872                            AccessAs (ByteAcc, 0x00),
1873                                ,   7,
1874                            F072,   7
1875                        }
1876
1877                        Local3 = RefOf (F072)
1878                        Local4 = RefOf (G009)
1879                    }
1880                    Case (0x08)
1881                    {
1882                        Local2 = 0x3F
1883                        BankField (OPR0, BNK0, 0x3F, ByteAcc, NoLock, Preserve)
1884                        {
1885                                ,   7,
1886                            F073,   8
1887                        }
1888
1889                        Local3 = RefOf (F073)
1890                        Local4 = RefOf (G00A)
1891                    }
1892                    Case (0x09)
1893                    {
1894                        Local2 = 0x40
1895                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, Preserve)
1896                        {
1897                            AccessAs (ByteAcc, 0x00),
1898                                ,   7,
1899                            F074,   9
1900                        }
1901
1902                        Local3 = RefOf (F074)
1903                        Local4 = RefOf (G00B)
1904                    }
1905                    Case (0x1F)
1906                    {
1907                        Local2 = 0x7F
1908                        BankField (OPR0, BNK0, 0x7F, ByteAcc, NoLock, Preserve)
1909                        {
1910                                ,   7,
1911                            F075,   31
1912                        }
1913
1914                        Local3 = RefOf (F075)
1915                        Local4 = RefOf (G00C)
1916                    }
1917                    Case (0x20)
1918                    {
1919                        Local2 = 0x80
1920                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, Preserve)
1921                        {
1922                            AccessAs (ByteAcc, 0x00),
1923                                ,   7,
1924                            F076,   32
1925                        }
1926
1927                        Local3 = RefOf (F076)
1928                        Local4 = RefOf (G00D)
1929                    }
1930                    Case (0x21)
1931                    {
1932                        Local2 = 0xFF
1933                        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, Preserve)
1934                        {
1935                                ,   7,
1936                            F077,   33
1937                        }
1938
1939                        Local3 = RefOf (F077)
1940                        Local4 = RefOf (G00E)
1941                    }
1942                    Case (0x3F)
1943                    {
1944                        Local2 = 0x00
1945                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, Preserve)
1946                        {
1947                            AccessAs (ByteAcc, 0x00),
1948                                ,   7,
1949                            F078,   63
1950                        }
1951
1952                        Local3 = RefOf (F078)
1953                        Local4 = RefOf (G000)
1954                    }
1955                    Case (0x40)
1956                    {
1957                        Local2 = 0x01
1958                        BankField (OPR0, BNK0, 0x01, ByteAcc, NoLock, Preserve)
1959                        {
1960                                ,   7,
1961                            F079,   64
1962                        }
1963
1964                        Local3 = RefOf (F079)
1965                        Local4 = RefOf (G001)
1966                    }
1967                    Case (0x41)
1968                    {
1969                        Local2 = 0x02
1970                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, Preserve)
1971                        {
1972                            AccessAs (ByteAcc, 0x00),
1973                                ,   7,
1974                            F07A,   65
1975                        }
1976
1977                        Local3 = RefOf (F07A)
1978                        Local4 = RefOf (G002)
1979                    }
1980                    Case (0x45)
1981                    {
1982                        Local2 = 0x03
1983                        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, Preserve)
1984                        {
1985                                ,   7,
1986                            F07B,   69
1987                        }
1988
1989                        Local3 = RefOf (F07B)
1990                        Local4 = RefOf (G003)
1991                    }
1992                    Case (0x81)
1993                    {
1994                        Local2 = 0x04
1995                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, Preserve)
1996                        {
1997                            AccessAs (ByteAcc, 0x00),
1998                                ,   7,
1999                            F07C,   129
2000                        }
2001
2002                        Local3 = RefOf (F07C)
2003                        Local4 = RefOf (G004)
2004                    }
2005                    Case (0x0100)
2006                    {
2007                        Local2 = 0x05
2008                        BankField (OPR0, BNK0, 0x05, ByteAcc, NoLock, Preserve)
2009                        {
2010                                ,   7,
2011                            F07D,   256
2012                        }
2013
2014                        Local3 = RefOf (F07D)
2015                        Local4 = RefOf (G005)
2016                    }
2017                    Case (0x03FF)
2018                    {
2019                        Local2 = 0x06
2020                        BankField (OPR0, BNK0, 0x06, AnyAcc, NoLock, Preserve)
2021                        {
2022                            AccessAs (ByteAcc, 0x00),
2023                                ,   7,
2024                            F07E,   1023
2025                        }
2026
2027                        Local3 = RefOf (F07E)
2028                        Local4 = RefOf (G006)
2029                    }
2030                    Case (0x07BF)
2031                    {
2032                        Local2 = 0x07
2033                        BankField (OPR0, BNK0, 0x07, ByteAcc, NoLock, Preserve)
2034                        {
2035                                ,   7,
2036                            F07F,   1983
2037                        }
2038
2039                        Local3 = RefOf (F07F)
2040                        Local4 = RefOf (G007)
2041                    }
2042                    Default
2043                    {
2044                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
2045                        Return (Zero)
2046                    }
2047
2048                }
2049            }
2050            Case (0x08)
2051            {
2052                Switch (ToInteger (Arg3))
2053                {
2054                    Case (0x01)
2055                    {
2056                        Local2 = 0x08
2057                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, Preserve)
2058                        {
2059                            Offset (0x01),
2060                            F080,   1
2061                        }
2062
2063                        Local3 = RefOf (F080)
2064                        Local4 = RefOf (G008)
2065                    }
2066                    Case (0x06)
2067                    {
2068                        Local2 = 0x09
2069                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, Preserve)
2070                        {
2071                            AccessAs (ByteAcc, 0x00),
2072                            Offset (0x01),
2073                            F081,   6
2074                        }
2075
2076                        Local3 = RefOf (F081)
2077                        Local4 = RefOf (G009)
2078                    }
2079                    Case (0x07)
2080                    {
2081                        Local2 = 0x3F
2082                        BankField (OPR0, BNK0, 0x3F, ByteAcc, NoLock, Preserve)
2083                        {
2084                            Offset (0x01),
2085                            F082,   7
2086                        }
2087
2088                        Local3 = RefOf (F082)
2089                        Local4 = RefOf (G00A)
2090                    }
2091                    Case (0x08)
2092                    {
2093                        Local2 = 0x40
2094                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, Preserve)
2095                        {
2096                            AccessAs (ByteAcc, 0x00),
2097                            Offset (0x01),
2098                            F083,   8
2099                        }
2100
2101                        Local3 = RefOf (F083)
2102                        Local4 = RefOf (G00B)
2103                    }
2104                    Case (0x09)
2105                    {
2106                        Local2 = 0x7F
2107                        BankField (OPR0, BNK0, 0x7F, ByteAcc, NoLock, Preserve)
2108                        {
2109                            Offset (0x01),
2110                            F084,   9
2111                        }
2112
2113                        Local3 = RefOf (F084)
2114                        Local4 = RefOf (G00C)
2115                    }
2116                    Case (0x1F)
2117                    {
2118                        Local2 = 0x80
2119                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, Preserve)
2120                        {
2121                            AccessAs (ByteAcc, 0x00),
2122                            Offset (0x01),
2123                            F085,   31
2124                        }
2125
2126                        Local3 = RefOf (F085)
2127                        Local4 = RefOf (G00D)
2128                    }
2129                    Case (0x20)
2130                    {
2131                        Local2 = 0xFF
2132                        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, Preserve)
2133                        {
2134                            Offset (0x01),
2135                            F086,   32
2136                        }
2137
2138                        Local3 = RefOf (F086)
2139                        Local4 = RefOf (G00E)
2140                    }
2141                    Case (0x21)
2142                    {
2143                        Local2 = 0x00
2144                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, Preserve)
2145                        {
2146                            AccessAs (ByteAcc, 0x00),
2147                            Offset (0x01),
2148                            F087,   33
2149                        }
2150
2151                        Local3 = RefOf (F087)
2152                        Local4 = RefOf (G000)
2153                    }
2154                    Case (0x3F)
2155                    {
2156                        Local2 = 0x01
2157                        BankField (OPR0, BNK0, 0x01, ByteAcc, NoLock, Preserve)
2158                        {
2159                            Offset (0x01),
2160                            F088,   63
2161                        }
2162
2163                        Local3 = RefOf (F088)
2164                        Local4 = RefOf (G001)
2165                    }
2166                    Case (0x40)
2167                    {
2168                        Local2 = 0x02
2169                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, Preserve)
2170                        {
2171                            AccessAs (ByteAcc, 0x00),
2172                            Offset (0x01),
2173                            F089,   64
2174                        }
2175
2176                        Local3 = RefOf (F089)
2177                        Local4 = RefOf (G002)
2178                    }
2179                    Case (0x41)
2180                    {
2181                        Local2 = 0x03
2182                        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, Preserve)
2183                        {
2184                            Offset (0x01),
2185                            F08A,   65
2186                        }
2187
2188                        Local3 = RefOf (F08A)
2189                        Local4 = RefOf (G003)
2190                    }
2191                    Case (0x45)
2192                    {
2193                        Local2 = 0x04
2194                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, Preserve)
2195                        {
2196                            AccessAs (ByteAcc, 0x00),
2197                            Offset (0x01),
2198                            F08B,   69
2199                        }
2200
2201                        Local3 = RefOf (F08B)
2202                        Local4 = RefOf (G004)
2203                    }
2204                    Case (0x81)
2205                    {
2206                        Local2 = 0x05
2207                        BankField (OPR0, BNK0, 0x05, ByteAcc, NoLock, Preserve)
2208                        {
2209                            Offset (0x01),
2210                            F08C,   129
2211                        }
2212
2213                        Local3 = RefOf (F08C)
2214                        Local4 = RefOf (G005)
2215                    }
2216                    Case (0x0100)
2217                    {
2218                        Local2 = 0x06
2219                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, Preserve)
2220                        {
2221                            AccessAs (ByteAcc, 0x00),
2222                            Offset (0x01),
2223                            F08D,   256
2224                        }
2225
2226                        Local3 = RefOf (F08D)
2227                        Local4 = RefOf (G006)
2228                    }
2229                    Case (0x03FF)
2230                    {
2231                        Local2 = 0x07
2232                        BankField (OPR0, BNK0, 0x07, ByteAcc, NoLock, Preserve)
2233                        {
2234                            Offset (0x01),
2235                            F08E,   1023
2236                        }
2237
2238                        Local3 = RefOf (F08E)
2239                        Local4 = RefOf (G007)
2240                    }
2241                    Case (0x07BF)
2242                    {
2243                        Local2 = 0x08
2244                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, Preserve)
2245                        {
2246                            AccessAs (ByteAcc, 0x00),
2247                            Offset (0x01),
2248                            F08F,   1983
2249                        }
2250
2251                        Local3 = RefOf (F08F)
2252                        Local4 = RefOf (G008)
2253                    }
2254                    Default
2255                    {
2256                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
2257                        Return (Zero)
2258                    }
2259
2260                }
2261            }
2262            Case (0x09)
2263            {
2264                Switch (ToInteger (Arg3))
2265                {
2266                    Case (0x01)
2267                    {
2268                        Local2 = 0x09
2269                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, Preserve)
2270                        {
2271                            AccessAs (ByteAcc, 0x00),
2272                                ,   9,
2273                            F090,   1
2274                        }
2275
2276                        Local3 = RefOf (F090)
2277                        Local4 = RefOf (G009)
2278                    }
2279                    Case (0x06)
2280                    {
2281                        Local2 = 0x3F
2282                        BankField (OPR0, BNK0, 0x3F, ByteAcc, NoLock, Preserve)
2283                        {
2284                                ,   9,
2285                            F091,   6
2286                        }
2287
2288                        Local3 = RefOf (F091)
2289                        Local4 = RefOf (G00A)
2290                    }
2291                    Case (0x07)
2292                    {
2293                        Local2 = 0x40
2294                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, Preserve)
2295                        {
2296                            AccessAs (ByteAcc, 0x00),
2297                                ,   9,
2298                            F092,   7
2299                        }
2300
2301                        Local3 = RefOf (F092)
2302                        Local4 = RefOf (G00B)
2303                    }
2304                    Case (0x08)
2305                    {
2306                        Local2 = 0x7F
2307                        BankField (OPR0, BNK0, 0x7F, ByteAcc, NoLock, Preserve)
2308                        {
2309                                ,   9,
2310                            F093,   8
2311                        }
2312
2313                        Local3 = RefOf (F093)
2314                        Local4 = RefOf (G00C)
2315                    }
2316                    Case (0x09)
2317                    {
2318                        Local2 = 0x80
2319                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, Preserve)
2320                        {
2321                            AccessAs (ByteAcc, 0x00),
2322                                ,   9,
2323                            F094,   9
2324                        }
2325
2326                        Local3 = RefOf (F094)
2327                        Local4 = RefOf (G00D)
2328                    }
2329                    Case (0x1F)
2330                    {
2331                        Local2 = 0xFF
2332                        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, Preserve)
2333                        {
2334                                ,   9,
2335                            F095,   31
2336                        }
2337
2338                        Local3 = RefOf (F095)
2339                        Local4 = RefOf (G00E)
2340                    }
2341                    Case (0x20)
2342                    {
2343                        Local2 = 0x00
2344                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, Preserve)
2345                        {
2346                            AccessAs (ByteAcc, 0x00),
2347                                ,   9,
2348                            F096,   32
2349                        }
2350
2351                        Local3 = RefOf (F096)
2352                        Local4 = RefOf (G000)
2353                    }
2354                    Case (0x21)
2355                    {
2356                        Local2 = 0x01
2357                        BankField (OPR0, BNK0, 0x01, ByteAcc, NoLock, Preserve)
2358                        {
2359                                ,   9,
2360                            F097,   33
2361                        }
2362
2363                        Local3 = RefOf (F097)
2364                        Local4 = RefOf (G001)
2365                    }
2366                    Case (0x3F)
2367                    {
2368                        Local2 = 0x02
2369                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, Preserve)
2370                        {
2371                            AccessAs (ByteAcc, 0x00),
2372                                ,   9,
2373                            F098,   63
2374                        }
2375
2376                        Local3 = RefOf (F098)
2377                        Local4 = RefOf (G002)
2378                    }
2379                    Case (0x40)
2380                    {
2381                        Local2 = 0x03
2382                        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, Preserve)
2383                        {
2384                                ,   9,
2385                            F099,   64
2386                        }
2387
2388                        Local3 = RefOf (F099)
2389                        Local4 = RefOf (G003)
2390                    }
2391                    Case (0x41)
2392                    {
2393                        Local2 = 0x04
2394                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, Preserve)
2395                        {
2396                            AccessAs (ByteAcc, 0x00),
2397                                ,   9,
2398                            F09A,   65
2399                        }
2400
2401                        Local3 = RefOf (F09A)
2402                        Local4 = RefOf (G004)
2403                    }
2404                    Case (0x45)
2405                    {
2406                        Local2 = 0x05
2407                        BankField (OPR0, BNK0, 0x05, ByteAcc, NoLock, Preserve)
2408                        {
2409                                ,   9,
2410                            F09B,   69
2411                        }
2412
2413                        Local3 = RefOf (F09B)
2414                        Local4 = RefOf (G005)
2415                    }
2416                    Case (0x81)
2417                    {
2418                        Local2 = 0x06
2419                        BankField (OPR0, BNK0, 0x06, AnyAcc, NoLock, Preserve)
2420                        {
2421                            AccessAs (ByteAcc, 0x00),
2422                                ,   9,
2423                            F09C,   129
2424                        }
2425
2426                        Local3 = RefOf (F09C)
2427                        Local4 = RefOf (G006)
2428                    }
2429                    Case (0x0100)
2430                    {
2431                        Local2 = 0x07
2432                        BankField (OPR0, BNK0, 0x07, ByteAcc, NoLock, Preserve)
2433                        {
2434                                ,   9,
2435                            F09D,   256
2436                        }
2437
2438                        Local3 = RefOf (F09D)
2439                        Local4 = RefOf (G007)
2440                    }
2441                    Case (0x03FF)
2442                    {
2443                        Local2 = 0x08
2444                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, Preserve)
2445                        {
2446                            AccessAs (ByteAcc, 0x00),
2447                                ,   9,
2448                            F09E,   1023
2449                        }
2450
2451                        Local3 = RefOf (F09E)
2452                        Local4 = RefOf (G008)
2453                    }
2454                    Case (0x07BF)
2455                    {
2456                        Local2 = 0x09
2457                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, Preserve)
2458                        {
2459                                ,   9,
2460                            F09F,   1983
2461                        }
2462
2463                        Local3 = RefOf (F09F)
2464                        Local4 = RefOf (G009)
2465                    }
2466                    Default
2467                    {
2468                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
2469                        Return (Zero)
2470                    }
2471
2472                }
2473            }
2474            Case (0x1F)
2475            {
2476                Switch (ToInteger (Arg3))
2477                {
2478                    Case (0x01)
2479                    {
2480                        Local2 = 0x3F
2481                        BankField (OPR0, BNK0, 0x3F, ByteAcc, NoLock, Preserve)
2482                        {
2483                            Offset (0x03),
2484                                ,   7,
2485                            F0A0,   1
2486                        }
2487
2488                        Local3 = RefOf (F0A0)
2489                        Local4 = RefOf (G00A)
2490                    }
2491                    Case (0x06)
2492                    {
2493                        Local2 = 0x40
2494                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, Preserve)
2495                        {
2496                            AccessAs (ByteAcc, 0x00),
2497                            Offset (0x03),
2498                                ,   7,
2499                            F0A1,   6
2500                        }
2501
2502                        Local3 = RefOf (F0A1)
2503                        Local4 = RefOf (G00B)
2504                    }
2505                    Case (0x07)
2506                    {
2507                        Local2 = 0x7F
2508                        BankField (OPR0, BNK0, 0x7F, ByteAcc, NoLock, Preserve)
2509                        {
2510                            Offset (0x03),
2511                                ,   7,
2512                            F0A2,   7
2513                        }
2514
2515                        Local3 = RefOf (F0A2)
2516                        Local4 = RefOf (G00C)
2517                    }
2518                    Case (0x08)
2519                    {
2520                        Local2 = 0x80
2521                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, Preserve)
2522                        {
2523                            AccessAs (ByteAcc, 0x00),
2524                            Offset (0x03),
2525                                ,   7,
2526                            F0A3,   8
2527                        }
2528
2529                        Local3 = RefOf (F0A3)
2530                        Local4 = RefOf (G00D)
2531                    }
2532                    Case (0x09)
2533                    {
2534                        Local2 = 0xFF
2535                        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, Preserve)
2536                        {
2537                            Offset (0x03),
2538                                ,   7,
2539                            F0A4,   9
2540                        }
2541
2542                        Local3 = RefOf (F0A4)
2543                        Local4 = RefOf (G00E)
2544                    }
2545                    Case (0x1F)
2546                    {
2547                        Local2 = 0x00
2548                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, Preserve)
2549                        {
2550                            AccessAs (ByteAcc, 0x00),
2551                            Offset (0x03),
2552                                ,   7,
2553                            F0A5,   31
2554                        }
2555
2556                        Local3 = RefOf (F0A5)
2557                        Local4 = RefOf (G000)
2558                    }
2559                    Case (0x20)
2560                    {
2561                        Local2 = 0x01
2562                        BankField (OPR0, BNK0, 0x01, ByteAcc, NoLock, Preserve)
2563                        {
2564                            Offset (0x03),
2565                                ,   7,
2566                            F0A6,   32
2567                        }
2568
2569                        Local3 = RefOf (F0A6)
2570                        Local4 = RefOf (G001)
2571                    }
2572                    Case (0x21)
2573                    {
2574                        Local2 = 0x02
2575                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, Preserve)
2576                        {
2577                            AccessAs (ByteAcc, 0x00),
2578                            Offset (0x03),
2579                                ,   7,
2580                            F0A7,   33
2581                        }
2582
2583                        Local3 = RefOf (F0A7)
2584                        Local4 = RefOf (G002)
2585                    }
2586                    Case (0x3F)
2587                    {
2588                        Local2 = 0x03
2589                        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, Preserve)
2590                        {
2591                            Offset (0x03),
2592                                ,   7,
2593                            F0A8,   63
2594                        }
2595
2596                        Local3 = RefOf (F0A8)
2597                        Local4 = RefOf (G003)
2598                    }
2599                    Case (0x40)
2600                    {
2601                        Local2 = 0x04
2602                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, Preserve)
2603                        {
2604                            AccessAs (ByteAcc, 0x00),
2605                            Offset (0x03),
2606                                ,   7,
2607                            F0A9,   64
2608                        }
2609
2610                        Local3 = RefOf (F0A9)
2611                        Local4 = RefOf (G004)
2612                    }
2613                    Case (0x41)
2614                    {
2615                        Local2 = 0x05
2616                        BankField (OPR0, BNK0, 0x05, ByteAcc, NoLock, Preserve)
2617                        {
2618                            Offset (0x03),
2619                                ,   7,
2620                            F0AA,   65
2621                        }
2622
2623                        Local3 = RefOf (F0AA)
2624                        Local4 = RefOf (G005)
2625                    }
2626                    Case (0x45)
2627                    {
2628                        Local2 = 0x06
2629                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, Preserve)
2630                        {
2631                            AccessAs (ByteAcc, 0x00),
2632                            Offset (0x03),
2633                                ,   7,
2634                            F0AB,   69
2635                        }
2636
2637                        Local3 = RefOf (F0AB)
2638                        Local4 = RefOf (G006)
2639                    }
2640                    Case (0x81)
2641                    {
2642                        Local2 = 0x07
2643                        BankField (OPR0, BNK0, 0x07, ByteAcc, NoLock, Preserve)
2644                        {
2645                            Offset (0x03),
2646                                ,   7,
2647                            F0AC,   129
2648                        }
2649
2650                        Local3 = RefOf (F0AC)
2651                        Local4 = RefOf (G007)
2652                    }
2653                    Case (0x0100)
2654                    {
2655                        Local2 = 0x08
2656                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, Preserve)
2657                        {
2658                            AccessAs (ByteAcc, 0x00),
2659                            Offset (0x03),
2660                                ,   7,
2661                            F0AD,   256
2662                        }
2663
2664                        Local3 = RefOf (F0AD)
2665                        Local4 = RefOf (G008)
2666                    }
2667                    Case (0x03FF)
2668                    {
2669                        Local2 = 0x09
2670                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, Preserve)
2671                        {
2672                            Offset (0x03),
2673                                ,   7,
2674                            F0AE,   1023
2675                        }
2676
2677                        Local3 = RefOf (F0AE)
2678                        Local4 = RefOf (G009)
2679                    }
2680                    Case (0x07BF)
2681                    {
2682                        Local2 = 0x3F
2683                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, Preserve)
2684                        {
2685                            AccessAs (ByteAcc, 0x00),
2686                            Offset (0x03),
2687                                ,   7,
2688                            F0AF,   1983
2689                        }
2690
2691                        Local3 = RefOf (F0AF)
2692                        Local4 = RefOf (G00A)
2693                    }
2694                    Default
2695                    {
2696                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
2697                        Return (Zero)
2698                    }
2699
2700                }
2701            }
2702            Case (0x20)
2703            {
2704                Switch (ToInteger (Arg3))
2705                {
2706                    Case (0x01)
2707                    {
2708                        Local2 = 0x40
2709                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, Preserve)
2710                        {
2711                            AccessAs (ByteAcc, 0x00),
2712                            Offset (0x04),
2713                            F0B0,   1
2714                        }
2715
2716                        Local3 = RefOf (F0B0)
2717                        Local4 = RefOf (G00B)
2718                    }
2719                    Case (0x06)
2720                    {
2721                        Local2 = 0x7F
2722                        BankField (OPR0, BNK0, 0x7F, ByteAcc, NoLock, Preserve)
2723                        {
2724                            Offset (0x04),
2725                            F0B1,   6
2726                        }
2727
2728                        Local3 = RefOf (F0B1)
2729                        Local4 = RefOf (G00C)
2730                    }
2731                    Case (0x07)
2732                    {
2733                        Local2 = 0x80
2734                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, Preserve)
2735                        {
2736                            AccessAs (ByteAcc, 0x00),
2737                            Offset (0x04),
2738                            F0B2,   7
2739                        }
2740
2741                        Local3 = RefOf (F0B2)
2742                        Local4 = RefOf (G00D)
2743                    }
2744                    Case (0x08)
2745                    {
2746                        Local2 = 0xFF
2747                        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, Preserve)
2748                        {
2749                            Offset (0x04),
2750                            F0B3,   8
2751                        }
2752
2753                        Local3 = RefOf (F0B3)
2754                        Local4 = RefOf (G00E)
2755                    }
2756                    Case (0x09)
2757                    {
2758                        Local2 = 0x00
2759                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, Preserve)
2760                        {
2761                            AccessAs (ByteAcc, 0x00),
2762                            Offset (0x04),
2763                            F0B4,   9
2764                        }
2765
2766                        Local3 = RefOf (F0B4)
2767                        Local4 = RefOf (G000)
2768                    }
2769                    Case (0x1F)
2770                    {
2771                        Local2 = 0x01
2772                        BankField (OPR0, BNK0, 0x01, ByteAcc, NoLock, Preserve)
2773                        {
2774                            Offset (0x04),
2775                            F0B5,   31
2776                        }
2777
2778                        Local3 = RefOf (F0B5)
2779                        Local4 = RefOf (G001)
2780                    }
2781                    Case (0x20)
2782                    {
2783                        Local2 = 0x02
2784                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, Preserve)
2785                        {
2786                            AccessAs (ByteAcc, 0x00),
2787                            Offset (0x04),
2788                            F0B6,   32
2789                        }
2790
2791                        Local3 = RefOf (F0B6)
2792                        Local4 = RefOf (G002)
2793                    }
2794                    Case (0x21)
2795                    {
2796                        Local2 = 0x03
2797                        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, Preserve)
2798                        {
2799                            Offset (0x04),
2800                            F0B7,   33
2801                        }
2802
2803                        Local3 = RefOf (F0B7)
2804                        Local4 = RefOf (G003)
2805                    }
2806                    Case (0x3F)
2807                    {
2808                        Local2 = 0x04
2809                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, Preserve)
2810                        {
2811                            AccessAs (ByteAcc, 0x00),
2812                            Offset (0x04),
2813                            F0B8,   63
2814                        }
2815
2816                        Local3 = RefOf (F0B8)
2817                        Local4 = RefOf (G004)
2818                    }
2819                    Case (0x40)
2820                    {
2821                        Local2 = 0x05
2822                        BankField (OPR0, BNK0, 0x05, ByteAcc, NoLock, Preserve)
2823                        {
2824                            Offset (0x04),
2825                            F0B9,   64
2826                        }
2827
2828                        Local3 = RefOf (F0B9)
2829                        Local4 = RefOf (G005)
2830                    }
2831                    Case (0x41)
2832                    {
2833                        Local2 = 0x06
2834                        BankField (OPR0, BNK0, 0x06, AnyAcc, NoLock, Preserve)
2835                        {
2836                            AccessAs (ByteAcc, 0x00),
2837                            Offset (0x04),
2838                            F0BA,   65
2839                        }
2840
2841                        Local3 = RefOf (F0BA)
2842                        Local4 = RefOf (G006)
2843                    }
2844                    Case (0x45)
2845                    {
2846                        Local2 = 0x07
2847                        BankField (OPR0, BNK0, 0x07, ByteAcc, NoLock, Preserve)
2848                        {
2849                            Offset (0x04),
2850                            F0BB,   69
2851                        }
2852
2853                        Local3 = RefOf (F0BB)
2854                        Local4 = RefOf (G007)
2855                    }
2856                    Case (0x81)
2857                    {
2858                        Local2 = 0x08
2859                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, Preserve)
2860                        {
2861                            AccessAs (ByteAcc, 0x00),
2862                            Offset (0x04),
2863                            F0BC,   129
2864                        }
2865
2866                        Local3 = RefOf (F0BC)
2867                        Local4 = RefOf (G008)
2868                    }
2869                    Case (0x0100)
2870                    {
2871                        Local2 = 0x09
2872                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, Preserve)
2873                        {
2874                            Offset (0x04),
2875                            F0BD,   256
2876                        }
2877
2878                        Local3 = RefOf (F0BD)
2879                        Local4 = RefOf (G009)
2880                    }
2881                    Case (0x03FF)
2882                    {
2883                        Local2 = 0x3F
2884                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, Preserve)
2885                        {
2886                            AccessAs (ByteAcc, 0x00),
2887                            Offset (0x04),
2888                            F0BE,   1023
2889                        }
2890
2891                        Local3 = RefOf (F0BE)
2892                        Local4 = RefOf (G00A)
2893                    }
2894                    Case (0x07BF)
2895                    {
2896                        Local2 = 0x40
2897                        BankField (OPR0, BNK0, 0x40, ByteAcc, NoLock, Preserve)
2898                        {
2899                            Offset (0x04),
2900                            F0BF,   1983
2901                        }
2902
2903                        Local3 = RefOf (F0BF)
2904                        Local4 = RefOf (G00B)
2905                    }
2906                    Default
2907                    {
2908                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
2909                        Return (Zero)
2910                    }
2911
2912                }
2913            }
2914            Case (0x21)
2915            {
2916                Switch (ToInteger (Arg3))
2917                {
2918                    Case (0x01)
2919                    {
2920                        Local2 = 0x7F
2921                        BankField (OPR0, BNK0, 0x7F, ByteAcc, NoLock, Preserve)
2922                        {
2923                                ,   33,
2924                            F0C0,   1
2925                        }
2926
2927                        Local3 = RefOf (F0C0)
2928                        Local4 = RefOf (G00C)
2929                    }
2930                    Case (0x06)
2931                    {
2932                        Local2 = 0x80
2933                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, Preserve)
2934                        {
2935                            AccessAs (ByteAcc, 0x00),
2936                                ,   33,
2937                            F0C1,   6
2938                        }
2939
2940                        Local3 = RefOf (F0C1)
2941                        Local4 = RefOf (G00D)
2942                    }
2943                    Case (0x07)
2944                    {
2945                        Local2 = 0xFF
2946                        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, Preserve)
2947                        {
2948                                ,   33,
2949                            F0C2,   7
2950                        }
2951
2952                        Local3 = RefOf (F0C2)
2953                        Local4 = RefOf (G00E)
2954                    }
2955                    Case (0x08)
2956                    {
2957                        Local2 = 0x00
2958                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, Preserve)
2959                        {
2960                            AccessAs (ByteAcc, 0x00),
2961                                ,   33,
2962                            F0C3,   8
2963                        }
2964
2965                        Local3 = RefOf (F0C3)
2966                        Local4 = RefOf (G000)
2967                    }
2968                    Case (0x09)
2969                    {
2970                        Local2 = 0x01
2971                        BankField (OPR0, BNK0, 0x01, ByteAcc, NoLock, Preserve)
2972                        {
2973                                ,   33,
2974                            F0C4,   9
2975                        }
2976
2977                        Local3 = RefOf (F0C4)
2978                        Local4 = RefOf (G001)
2979                    }
2980                    Case (0x1F)
2981                    {
2982                        Local2 = 0x02
2983                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, Preserve)
2984                        {
2985                            AccessAs (ByteAcc, 0x00),
2986                                ,   33,
2987                            F0C5,   31
2988                        }
2989
2990                        Local3 = RefOf (F0C5)
2991                        Local4 = RefOf (G002)
2992                    }
2993                    Case (0x20)
2994                    {
2995                        Local2 = 0x03
2996                        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, Preserve)
2997                        {
2998                                ,   33,
2999                            F0C6,   32
3000                        }
3001
3002                        Local3 = RefOf (F0C6)
3003                        Local4 = RefOf (G003)
3004                    }
3005                    Case (0x21)
3006                    {
3007                        Local2 = 0x04
3008                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, Preserve)
3009                        {
3010                            AccessAs (ByteAcc, 0x00),
3011                                ,   33,
3012                            F0C7,   33
3013                        }
3014
3015                        Local3 = RefOf (F0C7)
3016                        Local4 = RefOf (G004)
3017                    }
3018                    Case (0x3F)
3019                    {
3020                        Local2 = 0x05
3021                        BankField (OPR0, BNK0, 0x05, ByteAcc, NoLock, Preserve)
3022                        {
3023                                ,   33,
3024                            F0C8,   63
3025                        }
3026
3027                        Local3 = RefOf (F0C8)
3028                        Local4 = RefOf (G005)
3029                    }
3030                    Case (0x40)
3031                    {
3032                        Local2 = 0x06
3033                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, Preserve)
3034                        {
3035                            AccessAs (ByteAcc, 0x00),
3036                                ,   33,
3037                            F0C9,   64
3038                        }
3039
3040                        Local3 = RefOf (F0C9)
3041                        Local4 = RefOf (G006)
3042                    }
3043                    Case (0x41)
3044                    {
3045                        Local2 = 0x07
3046                        BankField (OPR0, BNK0, 0x07, ByteAcc, NoLock, Preserve)
3047                        {
3048                                ,   33,
3049                            F0CA,   65
3050                        }
3051
3052                        Local3 = RefOf (F0CA)
3053                        Local4 = RefOf (G007)
3054                    }
3055                    Case (0x45)
3056                    {
3057                        Local2 = 0x08
3058                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, Preserve)
3059                        {
3060                            AccessAs (ByteAcc, 0x00),
3061                                ,   33,
3062                            F0CB,   69
3063                        }
3064
3065                        Local3 = RefOf (F0CB)
3066                        Local4 = RefOf (G008)
3067                    }
3068                    Case (0x81)
3069                    {
3070                        Local2 = 0x09
3071                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, Preserve)
3072                        {
3073                                ,   33,
3074                            F0CC,   129
3075                        }
3076
3077                        Local3 = RefOf (F0CC)
3078                        Local4 = RefOf (G009)
3079                    }
3080                    Case (0x0100)
3081                    {
3082                        Local2 = 0x3F
3083                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, Preserve)
3084                        {
3085                            AccessAs (ByteAcc, 0x00),
3086                                ,   33,
3087                            F0CD,   256
3088                        }
3089
3090                        Local3 = RefOf (F0CD)
3091                        Local4 = RefOf (G00A)
3092                    }
3093                    Case (0x03FF)
3094                    {
3095                        Local2 = 0x40
3096                        BankField (OPR0, BNK0, 0x40, ByteAcc, NoLock, Preserve)
3097                        {
3098                                ,   33,
3099                            F0CE,   1023
3100                        }
3101
3102                        Local3 = RefOf (F0CE)
3103                        Local4 = RefOf (G00B)
3104                    }
3105                    Case (0x07BF)
3106                    {
3107                        Local2 = 0x7F
3108                        BankField (OPR0, BNK0, 0x7F, AnyAcc, NoLock, Preserve)
3109                        {
3110                            AccessAs (ByteAcc, 0x00),
3111                                ,   33,
3112                            F0CF,   1983
3113                        }
3114
3115                        Local3 = RefOf (F0CF)
3116                        Local4 = RefOf (G00C)
3117                    }
3118                    Default
3119                    {
3120                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
3121                        Return (Zero)
3122                    }
3123
3124                }
3125            }
3126            Case (0x3F)
3127            {
3128                Switch (ToInteger (Arg3))
3129                {
3130                    Case (0x01)
3131                    {
3132                        Local2 = 0x80
3133                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, Preserve)
3134                        {
3135                            AccessAs (ByteAcc, 0x00),
3136                                ,   63,
3137                            F0D0,   1
3138                        }
3139
3140                        Local3 = RefOf (F0D0)
3141                        Local4 = RefOf (G00D)
3142                    }
3143                    Case (0x06)
3144                    {
3145                        Local2 = 0xFF
3146                        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, Preserve)
3147                        {
3148                                ,   63,
3149                            F0D1,   6
3150                        }
3151
3152                        Local3 = RefOf (F0D1)
3153                        Local4 = RefOf (G00E)
3154                    }
3155                    Case (0x07)
3156                    {
3157                        Local2 = 0x00
3158                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, Preserve)
3159                        {
3160                            AccessAs (ByteAcc, 0x00),
3161                                ,   63,
3162                            F0D2,   7
3163                        }
3164
3165                        Local3 = RefOf (F0D2)
3166                        Local4 = RefOf (G000)
3167                    }
3168                    Case (0x08)
3169                    {
3170                        Local2 = 0x01
3171                        BankField (OPR0, BNK0, 0x01, ByteAcc, NoLock, Preserve)
3172                        {
3173                                ,   63,
3174                            F0D3,   8
3175                        }
3176
3177                        Local3 = RefOf (F0D3)
3178                        Local4 = RefOf (G001)
3179                    }
3180                    Case (0x09)
3181                    {
3182                        Local2 = 0x02
3183                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, Preserve)
3184                        {
3185                            AccessAs (ByteAcc, 0x00),
3186                                ,   63,
3187                            F0D4,   9
3188                        }
3189
3190                        Local3 = RefOf (F0D4)
3191                        Local4 = RefOf (G002)
3192                    }
3193                    Case (0x1F)
3194                    {
3195                        Local2 = 0x03
3196                        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, Preserve)
3197                        {
3198                                ,   63,
3199                            F0D5,   31
3200                        }
3201
3202                        Local3 = RefOf (F0D5)
3203                        Local4 = RefOf (G003)
3204                    }
3205                    Case (0x20)
3206                    {
3207                        Local2 = 0x04
3208                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, Preserve)
3209                        {
3210                            AccessAs (ByteAcc, 0x00),
3211                                ,   63,
3212                            F0D6,   32
3213                        }
3214
3215                        Local3 = RefOf (F0D6)
3216                        Local4 = RefOf (G004)
3217                    }
3218                    Case (0x21)
3219                    {
3220                        Local2 = 0x05
3221                        BankField (OPR0, BNK0, 0x05, ByteAcc, NoLock, Preserve)
3222                        {
3223                                ,   63,
3224                            F0D7,   33
3225                        }
3226
3227                        Local3 = RefOf (F0D7)
3228                        Local4 = RefOf (G005)
3229                    }
3230                    Case (0x3F)
3231                    {
3232                        Local2 = 0x06
3233                        BankField (OPR0, BNK0, 0x06, AnyAcc, NoLock, Preserve)
3234                        {
3235                            AccessAs (ByteAcc, 0x00),
3236                                ,   63,
3237                            F0D8,   63
3238                        }
3239
3240                        Local3 = RefOf (F0D8)
3241                        Local4 = RefOf (G006)
3242                    }
3243                    Case (0x40)
3244                    {
3245                        Local2 = 0x07
3246                        BankField (OPR0, BNK0, 0x07, ByteAcc, NoLock, Preserve)
3247                        {
3248                                ,   63,
3249                            F0D9,   64
3250                        }
3251
3252                        Local3 = RefOf (F0D9)
3253                        Local4 = RefOf (G007)
3254                    }
3255                    Case (0x41)
3256                    {
3257                        Local2 = 0x08
3258                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, Preserve)
3259                        {
3260                            AccessAs (ByteAcc, 0x00),
3261                                ,   63,
3262                            F0DA,   65
3263                        }
3264
3265                        Local3 = RefOf (F0DA)
3266                        Local4 = RefOf (G008)
3267                    }
3268                    Case (0x45)
3269                    {
3270                        Local2 = 0x09
3271                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, Preserve)
3272                        {
3273                                ,   63,
3274                            F0DB,   69
3275                        }
3276
3277                        Local3 = RefOf (F0DB)
3278                        Local4 = RefOf (G009)
3279                    }
3280                    Case (0x81)
3281                    {
3282                        Local2 = 0x3F
3283                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, Preserve)
3284                        {
3285                            AccessAs (ByteAcc, 0x00),
3286                                ,   63,
3287                            F0DC,   129
3288                        }
3289
3290                        Local3 = RefOf (F0DC)
3291                        Local4 = RefOf (G00A)
3292                    }
3293                    Case (0x0100)
3294                    {
3295                        Local2 = 0x40
3296                        BankField (OPR0, BNK0, 0x40, ByteAcc, NoLock, Preserve)
3297                        {
3298                                ,   63,
3299                            F0DD,   256
3300                        }
3301
3302                        Local3 = RefOf (F0DD)
3303                        Local4 = RefOf (G00B)
3304                    }
3305                    Case (0x03FF)
3306                    {
3307                        Local2 = 0x7F
3308                        BankField (OPR0, BNK0, 0x7F, DWordAcc, NoLock, Preserve)
3309                        {
3310                            AccessAs (ByteAcc, 0x00),
3311                                ,   63,
3312                            F0DE,   1023
3313                        }
3314
3315                        Local3 = RefOf (F0DE)
3316                        Local4 = RefOf (G00C)
3317                    }
3318                    Case (0x07BF)
3319                    {
3320                        Local2 = 0x80
3321                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, Preserve)
3322                        {
3323                                ,   63,
3324                            F0DF,   1983
3325                        }
3326
3327                        Local3 = RefOf (F0DF)
3328                        Local4 = RefOf (G00D)
3329                    }
3330                    Default
3331                    {
3332                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
3333                        Return (Zero)
3334                    }
3335
3336                }
3337            }
3338            Case (0x40)
3339            {
3340                Switch (ToInteger (Arg3))
3341                {
3342                    Case (0x01)
3343                    {
3344                        Local2 = 0xFF
3345                        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, Preserve)
3346                        {
3347                            Offset (0x08),
3348                            F0E0,   1
3349                        }
3350
3351                        Local3 = RefOf (F0E0)
3352                        Local4 = RefOf (G00E)
3353                    }
3354                    Case (0x06)
3355                    {
3356                        Local2 = 0x00
3357                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, Preserve)
3358                        {
3359                            AccessAs (ByteAcc, 0x00),
3360                            Offset (0x08),
3361                            F0E1,   6
3362                        }
3363
3364                        Local3 = RefOf (F0E1)
3365                        Local4 = RefOf (G000)
3366                    }
3367                    Case (0x07)
3368                    {
3369                        Local2 = 0x01
3370                        BankField (OPR0, BNK0, 0x01, ByteAcc, NoLock, Preserve)
3371                        {
3372                            Offset (0x08),
3373                            F0E2,   7
3374                        }
3375
3376                        Local3 = RefOf (F0E2)
3377                        Local4 = RefOf (G001)
3378                    }
3379                    Case (0x08)
3380                    {
3381                        Local2 = 0x02
3382                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, Preserve)
3383                        {
3384                            AccessAs (ByteAcc, 0x00),
3385                            Offset (0x08),
3386                            F0E3,   8
3387                        }
3388
3389                        Local3 = RefOf (F0E3)
3390                        Local4 = RefOf (G002)
3391                    }
3392                    Case (0x09)
3393                    {
3394                        Local2 = 0x03
3395                        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, Preserve)
3396                        {
3397                            Offset (0x08),
3398                            F0E4,   9
3399                        }
3400
3401                        Local3 = RefOf (F0E4)
3402                        Local4 = RefOf (G003)
3403                    }
3404                    Case (0x1F)
3405                    {
3406                        Local2 = 0x04
3407                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, Preserve)
3408                        {
3409                            AccessAs (ByteAcc, 0x00),
3410                            Offset (0x08),
3411                            F0E5,   31
3412                        }
3413
3414                        Local3 = RefOf (F0E5)
3415                        Local4 = RefOf (G004)
3416                    }
3417                    Case (0x20)
3418                    {
3419                        Local2 = 0x05
3420                        BankField (OPR0, BNK0, 0x05, ByteAcc, NoLock, Preserve)
3421                        {
3422                            Offset (0x08),
3423                            F0E6,   32
3424                        }
3425
3426                        Local3 = RefOf (F0E6)
3427                        Local4 = RefOf (G005)
3428                    }
3429                    Case (0x21)
3430                    {
3431                        Local2 = 0x06
3432                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, Preserve)
3433                        {
3434                            AccessAs (ByteAcc, 0x00),
3435                            Offset (0x08),
3436                            F0E7,   33
3437                        }
3438
3439                        Local3 = RefOf (F0E7)
3440                        Local4 = RefOf (G006)
3441                    }
3442                    Case (0x3F)
3443                    {
3444                        Local2 = 0x07
3445                        BankField (OPR0, BNK0, 0x07, ByteAcc, NoLock, Preserve)
3446                        {
3447                            Offset (0x08),
3448                            F0E8,   63
3449                        }
3450
3451                        Local3 = RefOf (F0E8)
3452                        Local4 = RefOf (G007)
3453                    }
3454                    Case (0x40)
3455                    {
3456                        Local2 = 0x08
3457                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, Preserve)
3458                        {
3459                            AccessAs (ByteAcc, 0x00),
3460                            Offset (0x08),
3461                            F0E9,   64
3462                        }
3463
3464                        Local3 = RefOf (F0E9)
3465                        Local4 = RefOf (G008)
3466                    }
3467                    Case (0x41)
3468                    {
3469                        Local2 = 0x09
3470                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, Preserve)
3471                        {
3472                            Offset (0x08),
3473                            F0EA,   65
3474                        }
3475
3476                        Local3 = RefOf (F0EA)
3477                        Local4 = RefOf (G009)
3478                    }
3479                    Case (0x45)
3480                    {
3481                        Local2 = 0x3F
3482                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, Preserve)
3483                        {
3484                            AccessAs (ByteAcc, 0x00),
3485                            Offset (0x08),
3486                            F0EB,   69
3487                        }
3488
3489                        Local3 = RefOf (F0EB)
3490                        Local4 = RefOf (G00A)
3491                    }
3492                    Case (0x81)
3493                    {
3494                        Local2 = 0x40
3495                        BankField (OPR0, BNK0, 0x40, ByteAcc, NoLock, Preserve)
3496                        {
3497                            Offset (0x08),
3498                            F0EC,   129
3499                        }
3500
3501                        Local3 = RefOf (F0EC)
3502                        Local4 = RefOf (G00B)
3503                    }
3504                    Case (0x0100)
3505                    {
3506                        Local2 = 0x7F
3507                        BankField (OPR0, BNK0, 0x7F, AnyAcc, NoLock, Preserve)
3508                        {
3509                            AccessAs (ByteAcc, 0x00),
3510                            Offset (0x08),
3511                            F0ED,   256
3512                        }
3513
3514                        Local3 = RefOf (F0ED)
3515                        Local4 = RefOf (G00C)
3516                    }
3517                    Case (0x03FF)
3518                    {
3519                        Local2 = 0x80
3520                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, Preserve)
3521                        {
3522                            Offset (0x08),
3523                            F0EE,   1023
3524                        }
3525
3526                        Local3 = RefOf (F0EE)
3527                        Local4 = RefOf (G00D)
3528                    }
3529                    Case (0x07BF)
3530                    {
3531                        Local2 = 0xFF
3532                        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, Preserve)
3533                        {
3534                            AccessAs (ByteAcc, 0x00),
3535                            Offset (0x08),
3536                            F0EF,   1983
3537                        }
3538
3539                        Local3 = RefOf (F0EF)
3540                        Local4 = RefOf (G00E)
3541                    }
3542                    Default
3543                    {
3544                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
3545                        Return (Zero)
3546                    }
3547
3548                }
3549            }
3550            Case (0x41)
3551            {
3552                Switch (ToInteger (Arg3))
3553                {
3554                    Case (0x01)
3555                    {
3556                        Local2 = 0x00
3557                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, Preserve)
3558                        {
3559                            AccessAs (ByteAcc, 0x00),
3560                            Offset (0x08),
3561                                ,   1,
3562                            F0F0,   1
3563                        }
3564
3565                        Local3 = RefOf (F0F0)
3566                        Local4 = RefOf (G000)
3567                    }
3568                    Case (0x06)
3569                    {
3570                        Local2 = 0x01
3571                        BankField (OPR0, BNK0, 0x01, ByteAcc, NoLock, Preserve)
3572                        {
3573                            Offset (0x08),
3574                                ,   1,
3575                            F0F1,   6
3576                        }
3577
3578                        Local3 = RefOf (F0F1)
3579                        Local4 = RefOf (G001)
3580                    }
3581                    Case (0x07)
3582                    {
3583                        Local2 = 0x02
3584                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, Preserve)
3585                        {
3586                            AccessAs (ByteAcc, 0x00),
3587                            Offset (0x08),
3588                                ,   1,
3589                            F0F2,   7
3590                        }
3591
3592                        Local3 = RefOf (F0F2)
3593                        Local4 = RefOf (G002)
3594                    }
3595                    Case (0x08)
3596                    {
3597                        Local2 = 0x03
3598                        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, Preserve)
3599                        {
3600                            Offset (0x08),
3601                                ,   1,
3602                            F0F3,   8
3603                        }
3604
3605                        Local3 = RefOf (F0F3)
3606                        Local4 = RefOf (G003)
3607                    }
3608                    Case (0x09)
3609                    {
3610                        Local2 = 0x04
3611                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, Preserve)
3612                        {
3613                            AccessAs (ByteAcc, 0x00),
3614                            Offset (0x08),
3615                                ,   1,
3616                            F0F4,   9
3617                        }
3618
3619                        Local3 = RefOf (F0F4)
3620                        Local4 = RefOf (G004)
3621                    }
3622                    Case (0x1F)
3623                    {
3624                        Local2 = 0x05
3625                        BankField (OPR0, BNK0, 0x05, ByteAcc, NoLock, Preserve)
3626                        {
3627                            Offset (0x08),
3628                                ,   1,
3629                            F0F5,   31
3630                        }
3631
3632                        Local3 = RefOf (F0F5)
3633                        Local4 = RefOf (G005)
3634                    }
3635                    Case (0x20)
3636                    {
3637                        Local2 = 0x06
3638                        BankField (OPR0, BNK0, 0x06, AnyAcc, NoLock, Preserve)
3639                        {
3640                            AccessAs (ByteAcc, 0x00),
3641                            Offset (0x08),
3642                                ,   1,
3643                            F0F6,   32
3644                        }
3645
3646                        Local3 = RefOf (F0F6)
3647                        Local4 = RefOf (G006)
3648                    }
3649                    Case (0x21)
3650                    {
3651                        Local2 = 0x07
3652                        BankField (OPR0, BNK0, 0x07, ByteAcc, NoLock, Preserve)
3653                        {
3654                            Offset (0x08),
3655                                ,   1,
3656                            F0F7,   33
3657                        }
3658
3659                        Local3 = RefOf (F0F7)
3660                        Local4 = RefOf (G007)
3661                    }
3662                    Case (0x3F)
3663                    {
3664                        Local2 = 0x08
3665                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, Preserve)
3666                        {
3667                            AccessAs (ByteAcc, 0x00),
3668                            Offset (0x08),
3669                                ,   1,
3670                            F0F8,   63
3671                        }
3672
3673                        Local3 = RefOf (F0F8)
3674                        Local4 = RefOf (G008)
3675                    }
3676                    Case (0x40)
3677                    {
3678                        Local2 = 0x09
3679                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, Preserve)
3680                        {
3681                            Offset (0x08),
3682                                ,   1,
3683                            F0F9,   64
3684                        }
3685
3686                        Local3 = RefOf (F0F9)
3687                        Local4 = RefOf (G009)
3688                    }
3689                    Case (0x41)
3690                    {
3691                        Local2 = 0x3F
3692                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, Preserve)
3693                        {
3694                            AccessAs (ByteAcc, 0x00),
3695                            Offset (0x08),
3696                                ,   1,
3697                            F0FA,   65
3698                        }
3699
3700                        Local3 = RefOf (F0FA)
3701                        Local4 = RefOf (G00A)
3702                    }
3703                    Case (0x45)
3704                    {
3705                        Local2 = 0x40
3706                        BankField (OPR0, BNK0, 0x40, ByteAcc, NoLock, Preserve)
3707                        {
3708                            Offset (0x08),
3709                                ,   1,
3710                            F0FB,   69
3711                        }
3712
3713                        Local3 = RefOf (F0FB)
3714                        Local4 = RefOf (G00B)
3715                    }
3716                    Case (0x81)
3717                    {
3718                        Local2 = 0x7F
3719                        BankField (OPR0, BNK0, 0x7F, DWordAcc, NoLock, Preserve)
3720                        {
3721                            AccessAs (ByteAcc, 0x00),
3722                            Offset (0x08),
3723                                ,   1,
3724                            F0FC,   129
3725                        }
3726
3727                        Local3 = RefOf (F0FC)
3728                        Local4 = RefOf (G00C)
3729                    }
3730                    Case (0x0100)
3731                    {
3732                        Local2 = 0x80
3733                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, Preserve)
3734                        {
3735                            Offset (0x08),
3736                                ,   1,
3737                            F0FD,   256
3738                        }
3739
3740                        Local3 = RefOf (F0FD)
3741                        Local4 = RefOf (G00D)
3742                    }
3743                    Case (0x03FF)
3744                    {
3745                        Local2 = 0xFF
3746                        BankField (OPR0, BNK0, 0xFF, QWordAcc, NoLock, Preserve)
3747                        {
3748                            AccessAs (ByteAcc, 0x00),
3749                            Offset (0x08),
3750                                ,   1,
3751                            F0FE,   1023
3752                        }
3753
3754                        Local3 = RefOf (F0FE)
3755                        Local4 = RefOf (G00E)
3756                    }
3757                    Case (0x07BF)
3758                    {
3759                        Local2 = 0x00
3760                        BankField (OPR0, BNK0, 0x00, ByteAcc, NoLock, Preserve)
3761                        {
3762                            Offset (0x08),
3763                                ,   1,
3764                            F0FF,   1983
3765                        }
3766
3767                        Local3 = RefOf (F0FF)
3768                        Local4 = RefOf (G000)
3769                    }
3770                    Default
3771                    {
3772                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
3773                        Return (Zero)
3774                    }
3775
3776                }
3777            }
3778            Default
3779            {
3780                ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
3781                Return (Zero)
3782            }
3783
3784        }
3785
3786        FCP0 [0x00] = 0x02
3787        FCP0 [0x01] = RefOf (BNK0)
3788        FCP0 [0x02] = Local2
3789        M72D (Arg0, Local3, Arg2, Arg3, Arg4, Arg5, Local4)
3790        FCP0 [0x00] = 0x00
3791    }
3792
3793    /* Create BankField Unit */
3794    /* (WordAcc, NoLock, WriteAsOnes) */
3795    Method (M7D1, 6, Serialized)
3796    {
3797        OperationRegion (OPRB, SystemIO, 0x00, 0x09)
3798        OperationRegion (OPR0, SystemIO, 0x0B, 0x0100)
3799        Field (OPRB, ByteAcc, NoLock, Preserve)
3800        {
3801            BNK0,   8
3802        }
3803
3804        BankField (OPR0, BNK0, 0x00, ByteAcc, NoLock, Preserve)
3805        {
3806            G000,   2048
3807        }
3808
3809        BankField (OPR0, BNK0, 0x01, ByteAcc, NoLock, Preserve)
3810        {
3811            G001,   2048
3812        }
3813
3814        BankField (OPR0, BNK0, 0x02, ByteAcc, NoLock, Preserve)
3815        {
3816            G002,   2048
3817        }
3818
3819        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, Preserve)
3820        {
3821            G003,   2048
3822        }
3823
3824        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, Preserve)
3825        {
3826            G004,   2048
3827        }
3828
3829        BankField (OPR0, BNK0, 0x05, ByteAcc, NoLock, Preserve)
3830        {
3831            G005,   2048
3832        }
3833
3834        BankField (OPR0, BNK0, 0x06, ByteAcc, NoLock, Preserve)
3835        {
3836            G006,   2048
3837        }
3838
3839        BankField (OPR0, BNK0, 0x07, ByteAcc, NoLock, Preserve)
3840        {
3841            G007,   2048
3842        }
3843
3844        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, Preserve)
3845        {
3846            G008,   2048
3847        }
3848
3849        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, Preserve)
3850        {
3851            G009,   2048
3852        }
3853
3854        BankField (OPR0, BNK0, 0x3F, ByteAcc, NoLock, Preserve)
3855        {
3856            G00A,   2048
3857        }
3858
3859        BankField (OPR0, BNK0, 0x40, ByteAcc, NoLock, Preserve)
3860        {
3861            G00B,   2048
3862        }
3863
3864        BankField (OPR0, BNK0, 0x7F, ByteAcc, NoLock, Preserve)
3865        {
3866            G00C,   2048
3867        }
3868
3869        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, Preserve)
3870        {
3871            G00D,   2048
3872        }
3873
3874        BankField (OPR0, BNK0, 0xFF, DWordAcc, NoLock, Preserve)
3875        {
3876            G00E,   2048
3877        }
3878
3879        Concatenate (Arg0, "-m7d1", Arg0)
3880        Switch (ToInteger (Arg2))
3881        {
3882            Case (0x00)
3883            {
3884                Switch (ToInteger (Arg3))
3885                {
3886                    Case (0x01)
3887                    {
3888                        Local2 = 0x00
3889                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, WriteAsOnes)
3890                        {
3891                            Offset (0x00),
3892                            F000,   1
3893                        }
3894
3895                        Local3 = RefOf (F000)
3896                        Local4 = RefOf (G000)
3897                    }
3898                    Case (0x06)
3899                    {
3900                        Local2 = 0x01
3901                        BankField (OPR0, BNK0, 0x01, WordAcc, NoLock, WriteAsOnes)
3902                        {
3903                            AccessAs (WordAcc, 0x00),
3904                            Offset (0x00),
3905                            F001,   6
3906                        }
3907
3908                        Local3 = RefOf (F001)
3909                        Local4 = RefOf (G001)
3910                    }
3911                    Case (0x07)
3912                    {
3913                        Local2 = 0x02
3914                        BankField (OPR0, BNK0, 0x02, WordAcc, NoLock, WriteAsOnes)
3915                        {
3916                            Offset (0x00),
3917                            F002,   7
3918                        }
3919
3920                        Local3 = RefOf (F002)
3921                        Local4 = RefOf (G002)
3922                    }
3923                    Case (0x08)
3924                    {
3925                        Local2 = 0x03
3926                        BankField (OPR0, BNK0, 0x03, DWordAcc, NoLock, WriteAsOnes)
3927                        {
3928                            AccessAs (WordAcc, 0x00),
3929                            Offset (0x00),
3930                            F003,   8
3931                        }
3932
3933                        Local3 = RefOf (F003)
3934                        Local4 = RefOf (G003)
3935                    }
3936                    Case (0x09)
3937                    {
3938                        Local2 = 0x04
3939                        BankField (OPR0, BNK0, 0x04, WordAcc, NoLock, WriteAsOnes)
3940                        {
3941                            Offset (0x00),
3942                            F004,   9
3943                        }
3944
3945                        Local3 = RefOf (F004)
3946                        Local4 = RefOf (G004)
3947                    }
3948                    Case (0x1F)
3949                    {
3950                        Local2 = 0x05
3951                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, WriteAsOnes)
3952                        {
3953                            AccessAs (WordAcc, 0x00),
3954                            Offset (0x00),
3955                            F005,   31
3956                        }
3957
3958                        Local3 = RefOf (F005)
3959                        Local4 = RefOf (G005)
3960                    }
3961                    Case (0x20)
3962                    {
3963                        Local2 = 0x06
3964                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, WriteAsOnes)
3965                        {
3966                            Offset (0x00),
3967                            F006,   32
3968                        }
3969
3970                        Local3 = RefOf (F006)
3971                        Local4 = RefOf (G006)
3972                    }
3973                    Case (0x21)
3974                    {
3975                        Local2 = 0x07
3976                        BankField (OPR0, BNK0, 0x07, AnyAcc, NoLock, WriteAsOnes)
3977                        {
3978                            AccessAs (WordAcc, 0x00),
3979                            Offset (0x00),
3980                            F007,   33
3981                        }
3982
3983                        Local3 = RefOf (F007)
3984                        Local4 = RefOf (G007)
3985                    }
3986                    Case (0x3F)
3987                    {
3988                        Local2 = 0x08
3989                        BankField (OPR0, BNK0, 0x08, WordAcc, NoLock, WriteAsOnes)
3990                        {
3991                            Offset (0x00),
3992                            F008,   63
3993                        }
3994
3995                        Local3 = RefOf (F008)
3996                        Local4 = RefOf (G008)
3997                    }
3998                    Case (0x40)
3999                    {
4000                        Local2 = 0x09
4001                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, WriteAsOnes)
4002                        {
4003                            AccessAs (WordAcc, 0x00),
4004                            Offset (0x00),
4005                            F009,   64
4006                        }
4007
4008                        Local3 = RefOf (F009)
4009                        Local4 = RefOf (G009)
4010                    }
4011                    Case (0x41)
4012                    {
4013                        Local2 = 0x3F
4014                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, WriteAsOnes)
4015                        {
4016                            Offset (0x00),
4017                            F00A,   65
4018                        }
4019
4020                        Local3 = RefOf (F00A)
4021                        Local4 = RefOf (G00A)
4022                    }
4023                    Case (0x45)
4024                    {
4025                        Local2 = 0x40
4026                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, WriteAsOnes)
4027                        {
4028                            AccessAs (WordAcc, 0x00),
4029                            Offset (0x00),
4030                            F00B,   69
4031                        }
4032
4033                        Local3 = RefOf (F00B)
4034                        Local4 = RefOf (G00B)
4035                    }
4036                    Case (0x81)
4037                    {
4038                        Local2 = 0x7F
4039                        BankField (OPR0, BNK0, 0x7F, WordAcc, NoLock, WriteAsOnes)
4040                        {
4041                            Offset (0x00),
4042                            F00C,   129
4043                        }
4044
4045                        Local3 = RefOf (F00C)
4046                        Local4 = RefOf (G00C)
4047                    }
4048                    Case (0x0100)
4049                    {
4050                        Local2 = 0x80
4051                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, WriteAsOnes)
4052                        {
4053                            AccessAs (WordAcc, 0x00),
4054                            Offset (0x00),
4055                            F00D,   256
4056                        }
4057
4058                        Local3 = RefOf (F00D)
4059                        Local4 = RefOf (G00D)
4060                    }
4061                    Case (0x03FF)
4062                    {
4063                        Local2 = 0xFF
4064                        BankField (OPR0, BNK0, 0xFF, WordAcc, NoLock, WriteAsOnes)
4065                        {
4066                            Offset (0x00),
4067                            F00E,   1023
4068                        }
4069
4070                        Local3 = RefOf (F00E)
4071                        Local4 = RefOf (G00E)
4072                    }
4073                    Case (0x07BF)
4074                    {
4075                        Local2 = 0x00
4076                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, WriteAsOnes)
4077                        {
4078                            AccessAs (WordAcc, 0x00),
4079                            Offset (0x00),
4080                            F00F,   1983
4081                        }
4082
4083                        Local3 = RefOf (F00F)
4084                        Local4 = RefOf (G000)
4085                    }
4086                    Default
4087                    {
4088                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
4089                        Return (Zero)
4090                    }
4091
4092                }
4093            }
4094            Case (0x01)
4095            {
4096                Switch (ToInteger (Arg3))
4097                {
4098                    Case (0x01)
4099                    {
4100                        Local2 = 0x01
4101                        BankField (OPR0, BNK0, 0x01, AnyAcc, NoLock, WriteAsOnes)
4102                        {
4103                            AccessAs (WordAcc, 0x00),
4104                                ,   1,
4105                            F010,   1
4106                        }
4107
4108                        Local3 = RefOf (F010)
4109                        Local4 = RefOf (G001)
4110                    }
4111                    Case (0x06)
4112                    {
4113                        Local2 = 0x02
4114                        BankField (OPR0, BNK0, 0x02, WordAcc, NoLock, WriteAsOnes)
4115                        {
4116                                ,   1,
4117                            F011,   6
4118                        }
4119
4120                        Local3 = RefOf (F011)
4121                        Local4 = RefOf (G002)
4122                    }
4123                    Case (0x07)
4124                    {
4125                        Local2 = 0x03
4126                        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, WriteAsOnes)
4127                        {
4128                            AccessAs (WordAcc, 0x00),
4129                                ,   1,
4130                            F012,   7
4131                        }
4132
4133                        Local3 = RefOf (F012)
4134                        Local4 = RefOf (G003)
4135                    }
4136                    Case (0x08)
4137                    {
4138                        Local2 = 0x04
4139                        BankField (OPR0, BNK0, 0x04, WordAcc, NoLock, WriteAsOnes)
4140                        {
4141                                ,   1,
4142                            F013,   8
4143                        }
4144
4145                        Local3 = RefOf (F013)
4146                        Local4 = RefOf (G004)
4147                    }
4148                    Case (0x09)
4149                    {
4150                        Local2 = 0x05
4151                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, WriteAsOnes)
4152                        {
4153                            AccessAs (WordAcc, 0x00),
4154                                ,   1,
4155                            F014,   9
4156                        }
4157
4158                        Local3 = RefOf (F014)
4159                        Local4 = RefOf (G005)
4160                    }
4161                    Case (0x1F)
4162                    {
4163                        Local2 = 0x06
4164                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, WriteAsOnes)
4165                        {
4166                                ,   1,
4167                            F015,   31
4168                        }
4169
4170                        Local3 = RefOf (F015)
4171                        Local4 = RefOf (G006)
4172                    }
4173                    Case (0x20)
4174                    {
4175                        Local2 = 0x07
4176                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, WriteAsOnes)
4177                        {
4178                            AccessAs (WordAcc, 0x00),
4179                                ,   1,
4180                            F016,   32
4181                        }
4182
4183                        Local3 = RefOf (F016)
4184                        Local4 = RefOf (G007)
4185                    }
4186                    Case (0x21)
4187                    {
4188                        Local2 = 0x08
4189                        BankField (OPR0, BNK0, 0x08, WordAcc, NoLock, WriteAsOnes)
4190                        {
4191                                ,   1,
4192                            F017,   33
4193                        }
4194
4195                        Local3 = RefOf (F017)
4196                        Local4 = RefOf (G008)
4197                    }
4198                    Case (0x3F)
4199                    {
4200                        Local2 = 0x09
4201                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, WriteAsOnes)
4202                        {
4203                            AccessAs (WordAcc, 0x00),
4204                                ,   1,
4205                            F018,   63
4206                        }
4207
4208                        Local3 = RefOf (F018)
4209                        Local4 = RefOf (G009)
4210                    }
4211                    Case (0x40)
4212                    {
4213                        Local2 = 0x3F
4214                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, WriteAsOnes)
4215                        {
4216                                ,   1,
4217                            F019,   64
4218                        }
4219
4220                        Local3 = RefOf (F019)
4221                        Local4 = RefOf (G00A)
4222                    }
4223                    Case (0x41)
4224                    {
4225                        Local2 = 0x40
4226                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, WriteAsOnes)
4227                        {
4228                            AccessAs (WordAcc, 0x00),
4229                                ,   1,
4230                            F01A,   65
4231                        }
4232
4233                        Local3 = RefOf (F01A)
4234                        Local4 = RefOf (G00B)
4235                    }
4236                    Case (0x45)
4237                    {
4238                        Local2 = 0x7F
4239                        BankField (OPR0, BNK0, 0x7F, WordAcc, NoLock, WriteAsOnes)
4240                        {
4241                                ,   1,
4242                            F01B,   69
4243                        }
4244
4245                        Local3 = RefOf (F01B)
4246                        Local4 = RefOf (G00C)
4247                    }
4248                    Case (0x81)
4249                    {
4250                        Local2 = 0x80
4251                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, WriteAsOnes)
4252                        {
4253                            AccessAs (WordAcc, 0x00),
4254                                ,   1,
4255                            F01C,   129
4256                        }
4257
4258                        Local3 = RefOf (F01C)
4259                        Local4 = RefOf (G00D)
4260                    }
4261                    Case (0x0100)
4262                    {
4263                        Local2 = 0xFF
4264                        BankField (OPR0, BNK0, 0xFF, WordAcc, NoLock, WriteAsOnes)
4265                        {
4266                                ,   1,
4267                            F01D,   256
4268                        }
4269
4270                        Local3 = RefOf (F01D)
4271                        Local4 = RefOf (G00E)
4272                    }
4273                    Case (0x03FF)
4274                    {
4275                        Local2 = 0x00
4276                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, WriteAsOnes)
4277                        {
4278                            AccessAs (WordAcc, 0x00),
4279                                ,   1,
4280                            F01E,   1023
4281                        }
4282
4283                        Local3 = RefOf (F01E)
4284                        Local4 = RefOf (G000)
4285                    }
4286                    Case (0x07BF)
4287                    {
4288                        Local2 = 0x01
4289                        BankField (OPR0, BNK0, 0x01, WordAcc, NoLock, WriteAsOnes)
4290                        {
4291                                ,   1,
4292                            F01F,   1983
4293                        }
4294
4295                        Local3 = RefOf (F01F)
4296                        Local4 = RefOf (G001)
4297                    }
4298                    Default
4299                    {
4300                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
4301                        Return (Zero)
4302                    }
4303
4304                }
4305            }
4306            Case (0x02)
4307            {
4308                Switch (ToInteger (Arg3))
4309                {
4310                    Case (0x01)
4311                    {
4312                        Local2 = 0x02
4313                        BankField (OPR0, BNK0, 0x02, WordAcc, NoLock, WriteAsOnes)
4314                        {
4315                                ,   2,
4316                            F020,   1
4317                        }
4318
4319                        Local3 = RefOf (F020)
4320                        Local4 = RefOf (G002)
4321                    }
4322                    Case (0x06)
4323                    {
4324                        Local2 = 0x03
4325                        BankField (OPR0, BNK0, 0x03, DWordAcc, NoLock, WriteAsOnes)
4326                        {
4327                            AccessAs (WordAcc, 0x00),
4328                                ,   2,
4329                            F021,   6
4330                        }
4331
4332                        Local3 = RefOf (F021)
4333                        Local4 = RefOf (G003)
4334                    }
4335                    Case (0x07)
4336                    {
4337                        Local2 = 0x04
4338                        BankField (OPR0, BNK0, 0x04, WordAcc, NoLock, WriteAsOnes)
4339                        {
4340                                ,   2,
4341                            F022,   7
4342                        }
4343
4344                        Local3 = RefOf (F022)
4345                        Local4 = RefOf (G004)
4346                    }
4347                    Case (0x08)
4348                    {
4349                        Local2 = 0x05
4350                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, WriteAsOnes)
4351                        {
4352                            AccessAs (WordAcc, 0x00),
4353                                ,   2,
4354                            F023,   8
4355                        }
4356
4357                        Local3 = RefOf (F023)
4358                        Local4 = RefOf (G005)
4359                    }
4360                    Case (0x09)
4361                    {
4362                        Local2 = 0x06
4363                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, WriteAsOnes)
4364                        {
4365                                ,   2,
4366                            F024,   9
4367                        }
4368
4369                        Local3 = RefOf (F024)
4370                        Local4 = RefOf (G006)
4371                    }
4372                    Case (0x1F)
4373                    {
4374                        Local2 = 0x07
4375                        BankField (OPR0, BNK0, 0x07, AnyAcc, NoLock, WriteAsOnes)
4376                        {
4377                            AccessAs (WordAcc, 0x00),
4378                                ,   2,
4379                            F025,   31
4380                        }
4381
4382                        Local3 = RefOf (F025)
4383                        Local4 = RefOf (G007)
4384                    }
4385                    Case (0x20)
4386                    {
4387                        Local2 = 0x08
4388                        BankField (OPR0, BNK0, 0x08, WordAcc, NoLock, WriteAsOnes)
4389                        {
4390                                ,   2,
4391                            F026,   32
4392                        }
4393
4394                        Local3 = RefOf (F026)
4395                        Local4 = RefOf (G008)
4396                    }
4397                    Case (0x21)
4398                    {
4399                        Local2 = 0x09
4400                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, WriteAsOnes)
4401                        {
4402                            AccessAs (WordAcc, 0x00),
4403                                ,   2,
4404                            F027,   33
4405                        }
4406
4407                        Local3 = RefOf (F027)
4408                        Local4 = RefOf (G009)
4409                    }
4410                    Case (0x3F)
4411                    {
4412                        Local2 = 0x3F
4413                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, WriteAsOnes)
4414                        {
4415                                ,   2,
4416                            F028,   63
4417                        }
4418
4419                        Local3 = RefOf (F028)
4420                        Local4 = RefOf (G00A)
4421                    }
4422                    Case (0x40)
4423                    {
4424                        Local2 = 0x40
4425                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, WriteAsOnes)
4426                        {
4427                            AccessAs (WordAcc, 0x00),
4428                                ,   2,
4429                            F029,   64
4430                        }
4431
4432                        Local3 = RefOf (F029)
4433                        Local4 = RefOf (G00B)
4434                    }
4435                    Case (0x41)
4436                    {
4437                        Local2 = 0x7F
4438                        BankField (OPR0, BNK0, 0x7F, WordAcc, NoLock, WriteAsOnes)
4439                        {
4440                                ,   2,
4441                            F02A,   65
4442                        }
4443
4444                        Local3 = RefOf (F02A)
4445                        Local4 = RefOf (G00C)
4446                    }
4447                    Case (0x45)
4448                    {
4449                        Local2 = 0x80
4450                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, WriteAsOnes)
4451                        {
4452                            AccessAs (WordAcc, 0x00),
4453                                ,   2,
4454                            F02B,   69
4455                        }
4456
4457                        Local3 = RefOf (F02B)
4458                        Local4 = RefOf (G00D)
4459                    }
4460                    Case (0x81)
4461                    {
4462                        Local2 = 0xFF
4463                        BankField (OPR0, BNK0, 0xFF, WordAcc, NoLock, WriteAsOnes)
4464                        {
4465                                ,   2,
4466                            F02C,   129
4467                        }
4468
4469                        Local3 = RefOf (F02C)
4470                        Local4 = RefOf (G00E)
4471                    }
4472                    Case (0x0100)
4473                    {
4474                        Local2 = 0x00
4475                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, WriteAsOnes)
4476                        {
4477                            AccessAs (WordAcc, 0x00),
4478                                ,   2,
4479                            F02D,   256
4480                        }
4481
4482                        Local3 = RefOf (F02D)
4483                        Local4 = RefOf (G000)
4484                    }
4485                    Case (0x03FF)
4486                    {
4487                        Local2 = 0x01
4488                        BankField (OPR0, BNK0, 0x01, WordAcc, NoLock, WriteAsOnes)
4489                        {
4490                                ,   2,
4491                            F02E,   1023
4492                        }
4493
4494                        Local3 = RefOf (F02E)
4495                        Local4 = RefOf (G001)
4496                    }
4497                    Case (0x07BF)
4498                    {
4499                        Local2 = 0x02
4500                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, WriteAsOnes)
4501                        {
4502                            AccessAs (WordAcc, 0x00),
4503                                ,   2,
4504                            F02F,   1983
4505                        }
4506
4507                        Local3 = RefOf (F02F)
4508                        Local4 = RefOf (G002)
4509                    }
4510                    Default
4511                    {
4512                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
4513                        Return (Zero)
4514                    }
4515
4516                }
4517            }
4518            Case (0x03)
4519            {
4520                Switch (ToInteger (Arg3))
4521                {
4522                    Case (0x01)
4523                    {
4524                        Local2 = 0x03
4525                        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, WriteAsOnes)
4526                        {
4527                            AccessAs (WordAcc, 0x00),
4528                                ,   3,
4529                            F030,   1
4530                        }
4531
4532                        Local3 = RefOf (F030)
4533                        Local4 = RefOf (G003)
4534                    }
4535                    Case (0x06)
4536                    {
4537                        Local2 = 0x04
4538                        BankField (OPR0, BNK0, 0x04, WordAcc, NoLock, WriteAsOnes)
4539                        {
4540                                ,   3,
4541                            F031,   6
4542                        }
4543
4544                        Local3 = RefOf (F031)
4545                        Local4 = RefOf (G004)
4546                    }
4547                    Case (0x07)
4548                    {
4549                        Local2 = 0x05
4550                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, WriteAsOnes)
4551                        {
4552                            AccessAs (WordAcc, 0x00),
4553                                ,   3,
4554                            F032,   7
4555                        }
4556
4557                        Local3 = RefOf (F032)
4558                        Local4 = RefOf (G005)
4559                    }
4560                    Case (0x08)
4561                    {
4562                        Local2 = 0x06
4563                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, WriteAsOnes)
4564                        {
4565                                ,   3,
4566                            F033,   8
4567                        }
4568
4569                        Local3 = RefOf (F033)
4570                        Local4 = RefOf (G006)
4571                    }
4572                    Case (0x09)
4573                    {
4574                        Local2 = 0x07
4575                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, WriteAsOnes)
4576                        {
4577                            AccessAs (WordAcc, 0x00),
4578                                ,   3,
4579                            F034,   9
4580                        }
4581
4582                        Local3 = RefOf (F034)
4583                        Local4 = RefOf (G007)
4584                    }
4585                    Case (0x1F)
4586                    {
4587                        Local2 = 0x08
4588                        BankField (OPR0, BNK0, 0x08, WordAcc, NoLock, WriteAsOnes)
4589                        {
4590                                ,   3,
4591                            F035,   31
4592                        }
4593
4594                        Local3 = RefOf (F035)
4595                        Local4 = RefOf (G008)
4596                    }
4597                    Case (0x20)
4598                    {
4599                        Local2 = 0x09
4600                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, WriteAsOnes)
4601                        {
4602                            AccessAs (WordAcc, 0x00),
4603                                ,   3,
4604                            F036,   32
4605                        }
4606
4607                        Local3 = RefOf (F036)
4608                        Local4 = RefOf (G009)
4609                    }
4610                    Case (0x21)
4611                    {
4612                        Local2 = 0x3F
4613                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, WriteAsOnes)
4614                        {
4615                                ,   3,
4616                            F037,   33
4617                        }
4618
4619                        Local3 = RefOf (F037)
4620                        Local4 = RefOf (G00A)
4621                    }
4622                    Case (0x3F)
4623                    {
4624                        Local2 = 0x40
4625                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, WriteAsOnes)
4626                        {
4627                            AccessAs (WordAcc, 0x00),
4628                                ,   3,
4629                            F038,   63
4630                        }
4631
4632                        Local3 = RefOf (F038)
4633                        Local4 = RefOf (G00B)
4634                    }
4635                    Case (0x40)
4636                    {
4637                        Local2 = 0x7F
4638                        BankField (OPR0, BNK0, 0x7F, WordAcc, NoLock, WriteAsOnes)
4639                        {
4640                                ,   3,
4641                            F039,   64
4642                        }
4643
4644                        Local3 = RefOf (F039)
4645                        Local4 = RefOf (G00C)
4646                    }
4647                    Case (0x41)
4648                    {
4649                        Local2 = 0x80
4650                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, WriteAsOnes)
4651                        {
4652                            AccessAs (WordAcc, 0x00),
4653                                ,   3,
4654                            F03A,   65
4655                        }
4656
4657                        Local3 = RefOf (F03A)
4658                        Local4 = RefOf (G00D)
4659                    }
4660                    Case (0x45)
4661                    {
4662                        Local2 = 0xFF
4663                        BankField (OPR0, BNK0, 0xFF, WordAcc, NoLock, WriteAsOnes)
4664                        {
4665                                ,   3,
4666                            F03B,   69
4667                        }
4668
4669                        Local3 = RefOf (F03B)
4670                        Local4 = RefOf (G00E)
4671                    }
4672                    Case (0x81)
4673                    {
4674                        Local2 = 0x00
4675                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, WriteAsOnes)
4676                        {
4677                            AccessAs (WordAcc, 0x00),
4678                                ,   3,
4679                            F03C,   129
4680                        }
4681
4682                        Local3 = RefOf (F03C)
4683                        Local4 = RefOf (G000)
4684                    }
4685                    Case (0x0100)
4686                    {
4687                        Local2 = 0x01
4688                        BankField (OPR0, BNK0, 0x01, WordAcc, NoLock, WriteAsOnes)
4689                        {
4690                                ,   3,
4691                            F03D,   256
4692                        }
4693
4694                        Local3 = RefOf (F03D)
4695                        Local4 = RefOf (G001)
4696                    }
4697                    Case (0x03FF)
4698                    {
4699                        Local2 = 0x02
4700                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, WriteAsOnes)
4701                        {
4702                            AccessAs (WordAcc, 0x00),
4703                                ,   3,
4704                            F03E,   1023
4705                        }
4706
4707                        Local3 = RefOf (F03E)
4708                        Local4 = RefOf (G002)
4709                    }
4710                    Case (0x07BF)
4711                    {
4712                        Local2 = 0x03
4713                        BankField (OPR0, BNK0, 0x03, WordAcc, NoLock, WriteAsOnes)
4714                        {
4715                                ,   3,
4716                            F03F,   1983
4717                        }
4718
4719                        Local3 = RefOf (F03F)
4720                        Local4 = RefOf (G003)
4721                    }
4722                    Default
4723                    {
4724                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
4725                        Return (Zero)
4726                    }
4727
4728                }
4729            }
4730            Case (0x04)
4731            {
4732                Switch (ToInteger (Arg3))
4733                {
4734                    Case (0x01)
4735                    {
4736                        Local2 = 0x04
4737                        BankField (OPR0, BNK0, 0x04, WordAcc, NoLock, WriteAsOnes)
4738                        {
4739                                ,   4,
4740                            F040,   1
4741                        }
4742
4743                        Local3 = RefOf (F040)
4744                        Local4 = RefOf (G004)
4745                    }
4746                    Case (0x06)
4747                    {
4748                        Local2 = 0x05
4749                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, WriteAsOnes)
4750                        {
4751                            AccessAs (WordAcc, 0x00),
4752                                ,   4,
4753                            F041,   6
4754                        }
4755
4756                        Local3 = RefOf (F041)
4757                        Local4 = RefOf (G005)
4758                    }
4759                    Case (0x07)
4760                    {
4761                        Local2 = 0x06
4762                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, WriteAsOnes)
4763                        {
4764                                ,   4,
4765                            F042,   7
4766                        }
4767
4768                        Local3 = RefOf (F042)
4769                        Local4 = RefOf (G006)
4770                    }
4771                    Case (0x08)
4772                    {
4773                        Local2 = 0x07
4774                        BankField (OPR0, BNK0, 0x07, AnyAcc, NoLock, WriteAsOnes)
4775                        {
4776                            AccessAs (WordAcc, 0x00),
4777                                ,   4,
4778                            F043,   8
4779                        }
4780
4781                        Local3 = RefOf (F043)
4782                        Local4 = RefOf (G007)
4783                    }
4784                    Case (0x09)
4785                    {
4786                        Local2 = 0x08
4787                        BankField (OPR0, BNK0, 0x08, WordAcc, NoLock, WriteAsOnes)
4788                        {
4789                                ,   4,
4790                            F044,   9
4791                        }
4792
4793                        Local3 = RefOf (F044)
4794                        Local4 = RefOf (G008)
4795                    }
4796                    Case (0x1F)
4797                    {
4798                        Local2 = 0x09
4799                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, WriteAsOnes)
4800                        {
4801                            AccessAs (WordAcc, 0x00),
4802                                ,   4,
4803                            F045,   31
4804                        }
4805
4806                        Local3 = RefOf (F045)
4807                        Local4 = RefOf (G009)
4808                    }
4809                    Case (0x20)
4810                    {
4811                        Local2 = 0x3F
4812                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, WriteAsOnes)
4813                        {
4814                                ,   4,
4815                            F046,   32
4816                        }
4817
4818                        Local3 = RefOf (F046)
4819                        Local4 = RefOf (G00A)
4820                    }
4821                    Case (0x21)
4822                    {
4823                        Local2 = 0x40
4824                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, WriteAsOnes)
4825                        {
4826                            AccessAs (WordAcc, 0x00),
4827                                ,   4,
4828                            F047,   33
4829                        }
4830
4831                        Local3 = RefOf (F047)
4832                        Local4 = RefOf (G00B)
4833                    }
4834                    Case (0x3F)
4835                    {
4836                        Local2 = 0x7F
4837                        BankField (OPR0, BNK0, 0x7F, WordAcc, NoLock, WriteAsOnes)
4838                        {
4839                                ,   4,
4840                            F048,   63
4841                        }
4842
4843                        Local3 = RefOf (F048)
4844                        Local4 = RefOf (G00C)
4845                    }
4846                    Case (0x40)
4847                    {
4848                        Local2 = 0x80
4849                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, WriteAsOnes)
4850                        {
4851                            AccessAs (WordAcc, 0x00),
4852                                ,   4,
4853                            F049,   64
4854                        }
4855
4856                        Local3 = RefOf (F049)
4857                        Local4 = RefOf (G00D)
4858                    }
4859                    Case (0x41)
4860                    {
4861                        Local2 = 0xFF
4862                        BankField (OPR0, BNK0, 0xFF, WordAcc, NoLock, WriteAsOnes)
4863                        {
4864                                ,   4,
4865                            F04A,   65
4866                        }
4867
4868                        Local3 = RefOf (F04A)
4869                        Local4 = RefOf (G00E)
4870                    }
4871                    Case (0x45)
4872                    {
4873                        Local2 = 0x00
4874                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, WriteAsOnes)
4875                        {
4876                            AccessAs (WordAcc, 0x00),
4877                                ,   4,
4878                            F04B,   69
4879                        }
4880
4881                        Local3 = RefOf (F04B)
4882                        Local4 = RefOf (G000)
4883                    }
4884                    Case (0x81)
4885                    {
4886                        Local2 = 0x01
4887                        BankField (OPR0, BNK0, 0x01, WordAcc, NoLock, WriteAsOnes)
4888                        {
4889                                ,   4,
4890                            F04C,   129
4891                        }
4892
4893                        Local3 = RefOf (F04C)
4894                        Local4 = RefOf (G001)
4895                    }
4896                    Case (0x0100)
4897                    {
4898                        Local2 = 0x02
4899                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, WriteAsOnes)
4900                        {
4901                            AccessAs (WordAcc, 0x00),
4902                                ,   4,
4903                            F04D,   256
4904                        }
4905
4906                        Local3 = RefOf (F04D)
4907                        Local4 = RefOf (G002)
4908                    }
4909                    Case (0x03FF)
4910                    {
4911                        Local2 = 0x03
4912                        BankField (OPR0, BNK0, 0x03, WordAcc, NoLock, WriteAsOnes)
4913                        {
4914                                ,   4,
4915                            F04E,   1023
4916                        }
4917
4918                        Local3 = RefOf (F04E)
4919                        Local4 = RefOf (G003)
4920                    }
4921                    Case (0x07BF)
4922                    {
4923                        Local2 = 0x04
4924                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, WriteAsOnes)
4925                        {
4926                            AccessAs (WordAcc, 0x00),
4927                                ,   4,
4928                            F04F,   1983
4929                        }
4930
4931                        Local3 = RefOf (F04F)
4932                        Local4 = RefOf (G004)
4933                    }
4934                    Default
4935                    {
4936                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
4937                        Return (Zero)
4938                    }
4939
4940                }
4941            }
4942            Case (0x05)
4943            {
4944                Switch (ToInteger (Arg3))
4945                {
4946                    Case (0x01)
4947                    {
4948                        Local2 = 0x05
4949                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, WriteAsOnes)
4950                        {
4951                            AccessAs (WordAcc, 0x00),
4952                                ,   5,
4953                            F050,   1
4954                        }
4955
4956                        Local3 = RefOf (F050)
4957                        Local4 = RefOf (G005)
4958                    }
4959                    Case (0x06)
4960                    {
4961                        Local2 = 0x06
4962                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, WriteAsOnes)
4963                        {
4964                                ,   5,
4965                            F051,   6
4966                        }
4967
4968                        Local3 = RefOf (F051)
4969                        Local4 = RefOf (G006)
4970                    }
4971                    Case (0x07)
4972                    {
4973                        Local2 = 0x07
4974                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, WriteAsOnes)
4975                        {
4976                            AccessAs (WordAcc, 0x00),
4977                                ,   5,
4978                            F052,   7
4979                        }
4980
4981                        Local3 = RefOf (F052)
4982                        Local4 = RefOf (G007)
4983                    }
4984                    Case (0x08)
4985                    {
4986                        Local2 = 0x08
4987                        BankField (OPR0, BNK0, 0x08, WordAcc, NoLock, WriteAsOnes)
4988                        {
4989                                ,   5,
4990                            F053,   8
4991                        }
4992
4993                        Local3 = RefOf (F053)
4994                        Local4 = RefOf (G008)
4995                    }
4996                    Case (0x09)
4997                    {
4998                        Local2 = 0x09
4999                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, WriteAsOnes)
5000                        {
5001                            AccessAs (WordAcc, 0x00),
5002                                ,   5,
5003                            F054,   9
5004                        }
5005
5006                        Local3 = RefOf (F054)
5007                        Local4 = RefOf (G009)
5008                    }
5009                    Case (0x1F)
5010                    {
5011                        Local2 = 0x3F
5012                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, WriteAsOnes)
5013                        {
5014                                ,   5,
5015                            F055,   31
5016                        }
5017
5018                        Local3 = RefOf (F055)
5019                        Local4 = RefOf (G00A)
5020                    }
5021                    Case (0x20)
5022                    {
5023                        Local2 = 0x40
5024                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, WriteAsOnes)
5025                        {
5026                            AccessAs (WordAcc, 0x00),
5027                                ,   5,
5028                            F056,   32
5029                        }
5030
5031                        Local3 = RefOf (F056)
5032                        Local4 = RefOf (G00B)
5033                    }
5034                    Case (0x21)
5035                    {
5036                        Local2 = 0x7F
5037                        BankField (OPR0, BNK0, 0x7F, WordAcc, NoLock, WriteAsOnes)
5038                        {
5039                                ,   5,
5040                            F057,   33
5041                        }
5042
5043                        Local3 = RefOf (F057)
5044                        Local4 = RefOf (G00C)
5045                    }
5046                    Case (0x3F)
5047                    {
5048                        Local2 = 0x80
5049                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, WriteAsOnes)
5050                        {
5051                            AccessAs (WordAcc, 0x00),
5052                                ,   5,
5053                            F058,   63
5054                        }
5055
5056                        Local3 = RefOf (F058)
5057                        Local4 = RefOf (G00D)
5058                    }
5059                    Case (0x40)
5060                    {
5061                        Local2 = 0xFF
5062                        BankField (OPR0, BNK0, 0xFF, WordAcc, NoLock, WriteAsOnes)
5063                        {
5064                                ,   5,
5065                            F059,   64
5066                        }
5067
5068                        Local3 = RefOf (F059)
5069                        Local4 = RefOf (G00E)
5070                    }
5071                    Case (0x41)
5072                    {
5073                        Local2 = 0x00
5074                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, WriteAsOnes)
5075                        {
5076                            AccessAs (WordAcc, 0x00),
5077                                ,   5,
5078                            F05A,   65
5079                        }
5080
5081                        Local3 = RefOf (F05A)
5082                        Local4 = RefOf (G000)
5083                    }
5084                    Case (0x45)
5085                    {
5086                        Local2 = 0x01
5087                        BankField (OPR0, BNK0, 0x01, WordAcc, NoLock, WriteAsOnes)
5088                        {
5089                                ,   5,
5090                            F05B,   69
5091                        }
5092
5093                        Local3 = RefOf (F05B)
5094                        Local4 = RefOf (G001)
5095                    }
5096                    Case (0x81)
5097                    {
5098                        Local2 = 0x02
5099                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, WriteAsOnes)
5100                        {
5101                            AccessAs (WordAcc, 0x00),
5102                                ,   5,
5103                            F05C,   129
5104                        }
5105
5106                        Local3 = RefOf (F05C)
5107                        Local4 = RefOf (G002)
5108                    }
5109                    Case (0x0100)
5110                    {
5111                        Local2 = 0x03
5112                        BankField (OPR0, BNK0, 0x03, WordAcc, NoLock, WriteAsOnes)
5113                        {
5114                                ,   5,
5115                            F05D,   256
5116                        }
5117
5118                        Local3 = RefOf (F05D)
5119                        Local4 = RefOf (G003)
5120                    }
5121                    Case (0x03FF)
5122                    {
5123                        Local2 = 0x04
5124                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, WriteAsOnes)
5125                        {
5126                            AccessAs (WordAcc, 0x00),
5127                                ,   5,
5128                            F05E,   1023
5129                        }
5130
5131                        Local3 = RefOf (F05E)
5132                        Local4 = RefOf (G004)
5133                    }
5134                    Case (0x07BF)
5135                    {
5136                        Local2 = 0x05
5137                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, WriteAsOnes)
5138                        {
5139                                ,   5,
5140                            F05F,   1983
5141                        }
5142
5143                        Local3 = RefOf (F05F)
5144                        Local4 = RefOf (G005)
5145                    }
5146                    Default
5147                    {
5148                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
5149                        Return (Zero)
5150                    }
5151
5152                }
5153            }
5154            Case (0x06)
5155            {
5156                Switch (ToInteger (Arg3))
5157                {
5158                    Case (0x01)
5159                    {
5160                        Local2 = 0x06
5161                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, WriteAsOnes)
5162                        {
5163                                ,   6,
5164                            F060,   1
5165                        }
5166
5167                        Local3 = RefOf (F060)
5168                        Local4 = RefOf (G006)
5169                    }
5170                    Case (0x06)
5171                    {
5172                        Local2 = 0x07
5173                        BankField (OPR0, BNK0, 0x07, AnyAcc, NoLock, WriteAsOnes)
5174                        {
5175                            AccessAs (WordAcc, 0x00),
5176                                ,   6,
5177                            F061,   6
5178                        }
5179
5180                        Local3 = RefOf (F061)
5181                        Local4 = RefOf (G007)
5182                    }
5183                    Case (0x07)
5184                    {
5185                        Local2 = 0x08
5186                        BankField (OPR0, BNK0, 0x08, WordAcc, NoLock, WriteAsOnes)
5187                        {
5188                                ,   6,
5189                            F062,   7
5190                        }
5191
5192                        Local3 = RefOf (F062)
5193                        Local4 = RefOf (G008)
5194                    }
5195                    Case (0x08)
5196                    {
5197                        Local2 = 0x09
5198                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, WriteAsOnes)
5199                        {
5200                            AccessAs (WordAcc, 0x00),
5201                                ,   6,
5202                            F063,   8
5203                        }
5204
5205                        Local3 = RefOf (F063)
5206                        Local4 = RefOf (G009)
5207                    }
5208                    Case (0x09)
5209                    {
5210                        Local2 = 0x3F
5211                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, WriteAsOnes)
5212                        {
5213                                ,   6,
5214                            F064,   9
5215                        }
5216
5217                        Local3 = RefOf (F064)
5218                        Local4 = RefOf (G00A)
5219                    }
5220                    Case (0x1F)
5221                    {
5222                        Local2 = 0x40
5223                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, WriteAsOnes)
5224                        {
5225                            AccessAs (WordAcc, 0x00),
5226                                ,   6,
5227                            F065,   31
5228                        }
5229
5230                        Local3 = RefOf (F065)
5231                        Local4 = RefOf (G00B)
5232                    }
5233                    Case (0x20)
5234                    {
5235                        Local2 = 0x7F
5236                        BankField (OPR0, BNK0, 0x7F, WordAcc, NoLock, WriteAsOnes)
5237                        {
5238                                ,   6,
5239                            F066,   32
5240                        }
5241
5242                        Local3 = RefOf (F066)
5243                        Local4 = RefOf (G00C)
5244                    }
5245                    Case (0x21)
5246                    {
5247                        Local2 = 0x80
5248                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, WriteAsOnes)
5249                        {
5250                            AccessAs (WordAcc, 0x00),
5251                                ,   6,
5252                            F067,   33
5253                        }
5254
5255                        Local3 = RefOf (F067)
5256                        Local4 = RefOf (G00D)
5257                    }
5258                    Case (0x3F)
5259                    {
5260                        Local2 = 0xFF
5261                        BankField (OPR0, BNK0, 0xFF, WordAcc, NoLock, WriteAsOnes)
5262                        {
5263                                ,   6,
5264                            F068,   63
5265                        }
5266
5267                        Local3 = RefOf (F068)
5268                        Local4 = RefOf (G00E)
5269                    }
5270                    Case (0x40)
5271                    {
5272                        Local2 = 0x00
5273                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, WriteAsOnes)
5274                        {
5275                            AccessAs (WordAcc, 0x00),
5276                                ,   6,
5277                            F069,   64
5278                        }
5279
5280                        Local3 = RefOf (F069)
5281                        Local4 = RefOf (G000)
5282                    }
5283                    Case (0x41)
5284                    {
5285                        Local2 = 0x01
5286                        BankField (OPR0, BNK0, 0x01, WordAcc, NoLock, WriteAsOnes)
5287                        {
5288                                ,   6,
5289                            F06A,   65
5290                        }
5291
5292                        Local3 = RefOf (F06A)
5293                        Local4 = RefOf (G001)
5294                    }
5295                    Case (0x45)
5296                    {
5297                        Local2 = 0x02
5298                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, WriteAsOnes)
5299                        {
5300                            AccessAs (WordAcc, 0x00),
5301                                ,   6,
5302                            F06B,   69
5303                        }
5304
5305                        Local3 = RefOf (F06B)
5306                        Local4 = RefOf (G002)
5307                    }
5308                    Case (0x81)
5309                    {
5310                        Local2 = 0x03
5311                        BankField (OPR0, BNK0, 0x03, WordAcc, NoLock, WriteAsOnes)
5312                        {
5313                                ,   6,
5314                            F06C,   129
5315                        }
5316
5317                        Local3 = RefOf (F06C)
5318                        Local4 = RefOf (G003)
5319                    }
5320                    Case (0x0100)
5321                    {
5322                        Local2 = 0x04
5323                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, WriteAsOnes)
5324                        {
5325                            AccessAs (WordAcc, 0x00),
5326                                ,   6,
5327                            F06D,   256
5328                        }
5329
5330                        Local3 = RefOf (F06D)
5331                        Local4 = RefOf (G004)
5332                    }
5333                    Case (0x03FF)
5334                    {
5335                        Local2 = 0x05
5336                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, WriteAsOnes)
5337                        {
5338                                ,   6,
5339                            F06E,   1023
5340                        }
5341
5342                        Local3 = RefOf (F06E)
5343                        Local4 = RefOf (G005)
5344                    }
5345                    Case (0x07BF)
5346                    {
5347                        Local2 = 0x06
5348                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, WriteAsOnes)
5349                        {
5350                            AccessAs (WordAcc, 0x00),
5351                                ,   6,
5352                            F06F,   1983
5353                        }
5354
5355                        Local3 = RefOf (F06F)
5356                        Local4 = RefOf (G006)
5357                    }
5358                    Default
5359                    {
5360                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
5361                        Return (Zero)
5362                    }
5363
5364                }
5365            }
5366            Case (0x07)
5367            {
5368                Switch (ToInteger (Arg3))
5369                {
5370                    Case (0x01)
5371                    {
5372                        Local2 = 0x07
5373                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, WriteAsOnes)
5374                        {
5375                            AccessAs (WordAcc, 0x00),
5376                                ,   7,
5377                            F070,   1
5378                        }
5379
5380                        Local3 = RefOf (F070)
5381                        Local4 = RefOf (G007)
5382                    }
5383                    Case (0x06)
5384                    {
5385                        Local2 = 0x08
5386                        BankField (OPR0, BNK0, 0x08, WordAcc, NoLock, WriteAsOnes)
5387                        {
5388                                ,   7,
5389                            F071,   6
5390                        }
5391
5392                        Local3 = RefOf (F071)
5393                        Local4 = RefOf (G008)
5394                    }
5395                    Case (0x07)
5396                    {
5397                        Local2 = 0x09
5398                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, WriteAsOnes)
5399                        {
5400                            AccessAs (WordAcc, 0x00),
5401                                ,   7,
5402                            F072,   7
5403                        }
5404
5405                        Local3 = RefOf (F072)
5406                        Local4 = RefOf (G009)
5407                    }
5408                    Case (0x08)
5409                    {
5410                        Local2 = 0x3F
5411                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, WriteAsOnes)
5412                        {
5413                                ,   7,
5414                            F073,   8
5415                        }
5416
5417                        Local3 = RefOf (F073)
5418                        Local4 = RefOf (G00A)
5419                    }
5420                    Case (0x09)
5421                    {
5422                        Local2 = 0x40
5423                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, WriteAsOnes)
5424                        {
5425                            AccessAs (WordAcc, 0x00),
5426                                ,   7,
5427                            F074,   9
5428                        }
5429
5430                        Local3 = RefOf (F074)
5431                        Local4 = RefOf (G00B)
5432                    }
5433                    Case (0x1F)
5434                    {
5435                        Local2 = 0x7F
5436                        BankField (OPR0, BNK0, 0x7F, WordAcc, NoLock, WriteAsOnes)
5437                        {
5438                                ,   7,
5439                            F075,   31
5440                        }
5441
5442                        Local3 = RefOf (F075)
5443                        Local4 = RefOf (G00C)
5444                    }
5445                    Case (0x20)
5446                    {
5447                        Local2 = 0x80
5448                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, WriteAsOnes)
5449                        {
5450                            AccessAs (WordAcc, 0x00),
5451                                ,   7,
5452                            F076,   32
5453                        }
5454
5455                        Local3 = RefOf (F076)
5456                        Local4 = RefOf (G00D)
5457                    }
5458                    Case (0x21)
5459                    {
5460                        Local2 = 0xFF
5461                        BankField (OPR0, BNK0, 0xFF, WordAcc, NoLock, WriteAsOnes)
5462                        {
5463                                ,   7,
5464                            F077,   33
5465                        }
5466
5467                        Local3 = RefOf (F077)
5468                        Local4 = RefOf (G00E)
5469                    }
5470                    Case (0x3F)
5471                    {
5472                        Local2 = 0x00
5473                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, WriteAsOnes)
5474                        {
5475                            AccessAs (WordAcc, 0x00),
5476                                ,   7,
5477                            F078,   63
5478                        }
5479
5480                        Local3 = RefOf (F078)
5481                        Local4 = RefOf (G000)
5482                    }
5483                    Case (0x40)
5484                    {
5485                        Local2 = 0x01
5486                        BankField (OPR0, BNK0, 0x01, WordAcc, NoLock, WriteAsOnes)
5487                        {
5488                                ,   7,
5489                            F079,   64
5490                        }
5491
5492                        Local3 = RefOf (F079)
5493                        Local4 = RefOf (G001)
5494                    }
5495                    Case (0x41)
5496                    {
5497                        Local2 = 0x02
5498                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, WriteAsOnes)
5499                        {
5500                            AccessAs (WordAcc, 0x00),
5501                                ,   7,
5502                            F07A,   65
5503                        }
5504
5505                        Local3 = RefOf (F07A)
5506                        Local4 = RefOf (G002)
5507                    }
5508                    Case (0x45)
5509                    {
5510                        Local2 = 0x03
5511                        BankField (OPR0, BNK0, 0x03, WordAcc, NoLock, WriteAsOnes)
5512                        {
5513                                ,   7,
5514                            F07B,   69
5515                        }
5516
5517                        Local3 = RefOf (F07B)
5518                        Local4 = RefOf (G003)
5519                    }
5520                    Case (0x81)
5521                    {
5522                        Local2 = 0x04
5523                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, WriteAsOnes)
5524                        {
5525                            AccessAs (WordAcc, 0x00),
5526                                ,   7,
5527                            F07C,   129
5528                        }
5529
5530                        Local3 = RefOf (F07C)
5531                        Local4 = RefOf (G004)
5532                    }
5533                    Case (0x0100)
5534                    {
5535                        Local2 = 0x05
5536                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, WriteAsOnes)
5537                        {
5538                                ,   7,
5539                            F07D,   256
5540                        }
5541
5542                        Local3 = RefOf (F07D)
5543                        Local4 = RefOf (G005)
5544                    }
5545                    Case (0x03FF)
5546                    {
5547                        Local2 = 0x06
5548                        BankField (OPR0, BNK0, 0x06, AnyAcc, NoLock, WriteAsOnes)
5549                        {
5550                            AccessAs (WordAcc, 0x00),
5551                                ,   7,
5552                            F07E,   1023
5553                        }
5554
5555                        Local3 = RefOf (F07E)
5556                        Local4 = RefOf (G006)
5557                    }
5558                    Case (0x07BF)
5559                    {
5560                        Local2 = 0x07
5561                        BankField (OPR0, BNK0, 0x07, WordAcc, NoLock, WriteAsOnes)
5562                        {
5563                                ,   7,
5564                            F07F,   1983
5565                        }
5566
5567                        Local3 = RefOf (F07F)
5568                        Local4 = RefOf (G007)
5569                    }
5570                    Default
5571                    {
5572                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
5573                        Return (Zero)
5574                    }
5575
5576                }
5577            }
5578            Case (0x08)
5579            {
5580                Switch (ToInteger (Arg3))
5581                {
5582                    Case (0x01)
5583                    {
5584                        Local2 = 0x08
5585                        BankField (OPR0, BNK0, 0x08, WordAcc, NoLock, WriteAsOnes)
5586                        {
5587                            Offset (0x01),
5588                            F080,   1
5589                        }
5590
5591                        Local3 = RefOf (F080)
5592                        Local4 = RefOf (G008)
5593                    }
5594                    Case (0x06)
5595                    {
5596                        Local2 = 0x09
5597                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, WriteAsOnes)
5598                        {
5599                            AccessAs (WordAcc, 0x00),
5600                            Offset (0x01),
5601                            F081,   6
5602                        }
5603
5604                        Local3 = RefOf (F081)
5605                        Local4 = RefOf (G009)
5606                    }
5607                    Case (0x07)
5608                    {
5609                        Local2 = 0x3F
5610                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, WriteAsOnes)
5611                        {
5612                            Offset (0x01),
5613                            F082,   7
5614                        }
5615
5616                        Local3 = RefOf (F082)
5617                        Local4 = RefOf (G00A)
5618                    }
5619                    Case (0x08)
5620                    {
5621                        Local2 = 0x40
5622                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, WriteAsOnes)
5623                        {
5624                            AccessAs (WordAcc, 0x00),
5625                            Offset (0x01),
5626                            F083,   8
5627                        }
5628
5629                        Local3 = RefOf (F083)
5630                        Local4 = RefOf (G00B)
5631                    }
5632                    Case (0x09)
5633                    {
5634                        Local2 = 0x7F
5635                        BankField (OPR0, BNK0, 0x7F, WordAcc, NoLock, WriteAsOnes)
5636                        {
5637                            Offset (0x01),
5638                            F084,   9
5639                        }
5640
5641                        Local3 = RefOf (F084)
5642                        Local4 = RefOf (G00C)
5643                    }
5644                    Case (0x1F)
5645                    {
5646                        Local2 = 0x80
5647                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, WriteAsOnes)
5648                        {
5649                            AccessAs (WordAcc, 0x00),
5650                            Offset (0x01),
5651                            F085,   31
5652                        }
5653
5654                        Local3 = RefOf (F085)
5655                        Local4 = RefOf (G00D)
5656                    }
5657                    Case (0x20)
5658                    {
5659                        Local2 = 0xFF
5660                        BankField (OPR0, BNK0, 0xFF, WordAcc, NoLock, WriteAsOnes)
5661                        {
5662                            Offset (0x01),
5663                            F086,   32
5664                        }
5665
5666                        Local3 = RefOf (F086)
5667                        Local4 = RefOf (G00E)
5668                    }
5669                    Case (0x21)
5670                    {
5671                        Local2 = 0x00
5672                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, WriteAsOnes)
5673                        {
5674                            AccessAs (WordAcc, 0x00),
5675                            Offset (0x01),
5676                            F087,   33
5677                        }
5678
5679                        Local3 = RefOf (F087)
5680                        Local4 = RefOf (G000)
5681                    }
5682                    Case (0x3F)
5683                    {
5684                        Local2 = 0x01
5685                        BankField (OPR0, BNK0, 0x01, WordAcc, NoLock, WriteAsOnes)
5686                        {
5687                            Offset (0x01),
5688                            F088,   63
5689                        }
5690
5691                        Local3 = RefOf (F088)
5692                        Local4 = RefOf (G001)
5693                    }
5694                    Case (0x40)
5695                    {
5696                        Local2 = 0x02
5697                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, WriteAsOnes)
5698                        {
5699                            AccessAs (WordAcc, 0x00),
5700                            Offset (0x01),
5701                            F089,   64
5702                        }
5703
5704                        Local3 = RefOf (F089)
5705                        Local4 = RefOf (G002)
5706                    }
5707                    Case (0x41)
5708                    {
5709                        Local2 = 0x03
5710                        BankField (OPR0, BNK0, 0x03, WordAcc, NoLock, WriteAsOnes)
5711                        {
5712                            Offset (0x01),
5713                            F08A,   65
5714                        }
5715
5716                        Local3 = RefOf (F08A)
5717                        Local4 = RefOf (G003)
5718                    }
5719                    Case (0x45)
5720                    {
5721                        Local2 = 0x04
5722                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, WriteAsOnes)
5723                        {
5724                            AccessAs (WordAcc, 0x00),
5725                            Offset (0x01),
5726                            F08B,   69
5727                        }
5728
5729                        Local3 = RefOf (F08B)
5730                        Local4 = RefOf (G004)
5731                    }
5732                    Case (0x81)
5733                    {
5734                        Local2 = 0x05
5735                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, WriteAsOnes)
5736                        {
5737                            Offset (0x01),
5738                            F08C,   129
5739                        }
5740
5741                        Local3 = RefOf (F08C)
5742                        Local4 = RefOf (G005)
5743                    }
5744                    Case (0x0100)
5745                    {
5746                        Local2 = 0x06
5747                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, WriteAsOnes)
5748                        {
5749                            AccessAs (WordAcc, 0x00),
5750                            Offset (0x01),
5751                            F08D,   256
5752                        }
5753
5754                        Local3 = RefOf (F08D)
5755                        Local4 = RefOf (G006)
5756                    }
5757                    Case (0x03FF)
5758                    {
5759                        Local2 = 0x07
5760                        BankField (OPR0, BNK0, 0x07, WordAcc, NoLock, WriteAsOnes)
5761                        {
5762                            Offset (0x01),
5763                            F08E,   1023
5764                        }
5765
5766                        Local3 = RefOf (F08E)
5767                        Local4 = RefOf (G007)
5768                    }
5769                    Case (0x07BF)
5770                    {
5771                        Local2 = 0x08
5772                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, WriteAsOnes)
5773                        {
5774                            AccessAs (WordAcc, 0x00),
5775                            Offset (0x01),
5776                            F08F,   1983
5777                        }
5778
5779                        Local3 = RefOf (F08F)
5780                        Local4 = RefOf (G008)
5781                    }
5782                    Default
5783                    {
5784                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
5785                        Return (Zero)
5786                    }
5787
5788                }
5789            }
5790            Case (0x09)
5791            {
5792                Switch (ToInteger (Arg3))
5793                {
5794                    Case (0x01)
5795                    {
5796                        Local2 = 0x09
5797                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, WriteAsOnes)
5798                        {
5799                            AccessAs (WordAcc, 0x00),
5800                                ,   9,
5801                            F090,   1
5802                        }
5803
5804                        Local3 = RefOf (F090)
5805                        Local4 = RefOf (G009)
5806                    }
5807                    Case (0x06)
5808                    {
5809                        Local2 = 0x3F
5810                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, WriteAsOnes)
5811                        {
5812                                ,   9,
5813                            F091,   6
5814                        }
5815
5816                        Local3 = RefOf (F091)
5817                        Local4 = RefOf (G00A)
5818                    }
5819                    Case (0x07)
5820                    {
5821                        Local2 = 0x40
5822                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, WriteAsOnes)
5823                        {
5824                            AccessAs (WordAcc, 0x00),
5825                                ,   9,
5826                            F092,   7
5827                        }
5828
5829                        Local3 = RefOf (F092)
5830                        Local4 = RefOf (G00B)
5831                    }
5832                    Case (0x08)
5833                    {
5834                        Local2 = 0x7F
5835                        BankField (OPR0, BNK0, 0x7F, WordAcc, NoLock, WriteAsOnes)
5836                        {
5837                                ,   9,
5838                            F093,   8
5839                        }
5840
5841                        Local3 = RefOf (F093)
5842                        Local4 = RefOf (G00C)
5843                    }
5844                    Case (0x09)
5845                    {
5846                        Local2 = 0x80
5847                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, WriteAsOnes)
5848                        {
5849                            AccessAs (WordAcc, 0x00),
5850                                ,   9,
5851                            F094,   9
5852                        }
5853
5854                        Local3 = RefOf (F094)
5855                        Local4 = RefOf (G00D)
5856                    }
5857                    Case (0x1F)
5858                    {
5859                        Local2 = 0xFF
5860                        BankField (OPR0, BNK0, 0xFF, WordAcc, NoLock, WriteAsOnes)
5861                        {
5862                                ,   9,
5863                            F095,   31
5864                        }
5865
5866                        Local3 = RefOf (F095)
5867                        Local4 = RefOf (G00E)
5868                    }
5869                    Case (0x20)
5870                    {
5871                        Local2 = 0x00
5872                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, WriteAsOnes)
5873                        {
5874                            AccessAs (WordAcc, 0x00),
5875                                ,   9,
5876                            F096,   32
5877                        }
5878
5879                        Local3 = RefOf (F096)
5880                        Local4 = RefOf (G000)
5881                    }
5882                    Case (0x21)
5883                    {
5884                        Local2 = 0x01
5885                        BankField (OPR0, BNK0, 0x01, WordAcc, NoLock, WriteAsOnes)
5886                        {
5887                                ,   9,
5888                            F097,   33
5889                        }
5890
5891                        Local3 = RefOf (F097)
5892                        Local4 = RefOf (G001)
5893                    }
5894                    Case (0x3F)
5895                    {
5896                        Local2 = 0x02
5897                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, WriteAsOnes)
5898                        {
5899                            AccessAs (WordAcc, 0x00),
5900                                ,   9,
5901                            F098,   63
5902                        }
5903
5904                        Local3 = RefOf (F098)
5905                        Local4 = RefOf (G002)
5906                    }
5907                    Case (0x40)
5908                    {
5909                        Local2 = 0x03
5910                        BankField (OPR0, BNK0, 0x03, WordAcc, NoLock, WriteAsOnes)
5911                        {
5912                                ,   9,
5913                            F099,   64
5914                        }
5915
5916                        Local3 = RefOf (F099)
5917                        Local4 = RefOf (G003)
5918                    }
5919                    Case (0x41)
5920                    {
5921                        Local2 = 0x04
5922                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, WriteAsOnes)
5923                        {
5924                            AccessAs (WordAcc, 0x00),
5925                                ,   9,
5926                            F09A,   65
5927                        }
5928
5929                        Local3 = RefOf (F09A)
5930                        Local4 = RefOf (G004)
5931                    }
5932                    Case (0x45)
5933                    {
5934                        Local2 = 0x05
5935                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, WriteAsOnes)
5936                        {
5937                                ,   9,
5938                            F09B,   69
5939                        }
5940
5941                        Local3 = RefOf (F09B)
5942                        Local4 = RefOf (G005)
5943                    }
5944                    Case (0x81)
5945                    {
5946                        Local2 = 0x06
5947                        BankField (OPR0, BNK0, 0x06, AnyAcc, NoLock, WriteAsOnes)
5948                        {
5949                            AccessAs (WordAcc, 0x00),
5950                                ,   9,
5951                            F09C,   129
5952                        }
5953
5954                        Local3 = RefOf (F09C)
5955                        Local4 = RefOf (G006)
5956                    }
5957                    Case (0x0100)
5958                    {
5959                        Local2 = 0x07
5960                        BankField (OPR0, BNK0, 0x07, WordAcc, NoLock, WriteAsOnes)
5961                        {
5962                                ,   9,
5963                            F09D,   256
5964                        }
5965
5966                        Local3 = RefOf (F09D)
5967                        Local4 = RefOf (G007)
5968                    }
5969                    Case (0x03FF)
5970                    {
5971                        Local2 = 0x08
5972                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, WriteAsOnes)
5973                        {
5974                            AccessAs (WordAcc, 0x00),
5975                                ,   9,
5976                            F09E,   1023
5977                        }
5978
5979                        Local3 = RefOf (F09E)
5980                        Local4 = RefOf (G008)
5981                    }
5982                    Case (0x07BF)
5983                    {
5984                        Local2 = 0x09
5985                        BankField (OPR0, BNK0, 0x09, WordAcc, NoLock, WriteAsOnes)
5986                        {
5987                                ,   9,
5988                            F09F,   1983
5989                        }
5990
5991                        Local3 = RefOf (F09F)
5992                        Local4 = RefOf (G009)
5993                    }
5994                    Default
5995                    {
5996                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
5997                        Return (Zero)
5998                    }
5999
6000                }
6001            }
6002            Case (0x1F)
6003            {
6004                Switch (ToInteger (Arg3))
6005                {
6006                    Case (0x01)
6007                    {
6008                        Local2 = 0x3F
6009                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, WriteAsOnes)
6010                        {
6011                            Offset (0x03),
6012                                ,   7,
6013                            F0A0,   1
6014                        }
6015
6016                        Local3 = RefOf (F0A0)
6017                        Local4 = RefOf (G00A)
6018                    }
6019                    Case (0x06)
6020                    {
6021                        Local2 = 0x40
6022                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, WriteAsOnes)
6023                        {
6024                            AccessAs (WordAcc, 0x00),
6025                            Offset (0x03),
6026                                ,   7,
6027                            F0A1,   6
6028                        }
6029
6030                        Local3 = RefOf (F0A1)
6031                        Local4 = RefOf (G00B)
6032                    }
6033                    Case (0x07)
6034                    {
6035                        Local2 = 0x7F
6036                        BankField (OPR0, BNK0, 0x7F, WordAcc, NoLock, WriteAsOnes)
6037                        {
6038                            Offset (0x03),
6039                                ,   7,
6040                            F0A2,   7
6041                        }
6042
6043                        Local3 = RefOf (F0A2)
6044                        Local4 = RefOf (G00C)
6045                    }
6046                    Case (0x08)
6047                    {
6048                        Local2 = 0x80
6049                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, WriteAsOnes)
6050                        {
6051                            AccessAs (WordAcc, 0x00),
6052                            Offset (0x03),
6053                                ,   7,
6054                            F0A3,   8
6055                        }
6056
6057                        Local3 = RefOf (F0A3)
6058                        Local4 = RefOf (G00D)
6059                    }
6060                    Case (0x09)
6061                    {
6062                        Local2 = 0xFF
6063                        BankField (OPR0, BNK0, 0xFF, WordAcc, NoLock, WriteAsOnes)
6064                        {
6065                            Offset (0x03),
6066                                ,   7,
6067                            F0A4,   9
6068                        }
6069
6070                        Local3 = RefOf (F0A4)
6071                        Local4 = RefOf (G00E)
6072                    }
6073                    Case (0x1F)
6074                    {
6075                        Local2 = 0x00
6076                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, WriteAsOnes)
6077                        {
6078                            AccessAs (WordAcc, 0x00),
6079                            Offset (0x03),
6080                                ,   7,
6081                            F0A5,   31
6082                        }
6083
6084                        Local3 = RefOf (F0A5)
6085                        Local4 = RefOf (G000)
6086                    }
6087                    Case (0x20)
6088                    {
6089                        Local2 = 0x01
6090                        BankField (OPR0, BNK0, 0x01, WordAcc, NoLock, WriteAsOnes)
6091                        {
6092                            Offset (0x03),
6093                                ,   7,
6094                            F0A6,   32
6095                        }
6096
6097                        Local3 = RefOf (F0A6)
6098                        Local4 = RefOf (G001)
6099                    }
6100                    Case (0x21)
6101                    {
6102                        Local2 = 0x02
6103                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, WriteAsOnes)
6104                        {
6105                            AccessAs (WordAcc, 0x00),
6106                            Offset (0x03),
6107                                ,   7,
6108                            F0A7,   33
6109                        }
6110
6111                        Local3 = RefOf (F0A7)
6112                        Local4 = RefOf (G002)
6113                    }
6114                    Case (0x3F)
6115                    {
6116                        Local2 = 0x03
6117                        BankField (OPR0, BNK0, 0x03, WordAcc, NoLock, WriteAsOnes)
6118                        {
6119                            Offset (0x03),
6120                                ,   7,
6121                            F0A8,   63
6122                        }
6123
6124                        Local3 = RefOf (F0A8)
6125                        Local4 = RefOf (G003)
6126                    }
6127                    Case (0x40)
6128                    {
6129                        Local2 = 0x04
6130                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, WriteAsOnes)
6131                        {
6132                            AccessAs (WordAcc, 0x00),
6133                            Offset (0x03),
6134                                ,   7,
6135                            F0A9,   64
6136                        }
6137
6138                        Local3 = RefOf (F0A9)
6139                        Local4 = RefOf (G004)
6140                    }
6141                    Case (0x41)
6142                    {
6143                        Local2 = 0x05
6144                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, WriteAsOnes)
6145                        {
6146                            Offset (0x03),
6147                                ,   7,
6148                            F0AA,   65
6149                        }
6150
6151                        Local3 = RefOf (F0AA)
6152                        Local4 = RefOf (G005)
6153                    }
6154                    Case (0x45)
6155                    {
6156                        Local2 = 0x06
6157                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, WriteAsOnes)
6158                        {
6159                            AccessAs (WordAcc, 0x00),
6160                            Offset (0x03),
6161                                ,   7,
6162                            F0AB,   69
6163                        }
6164
6165                        Local3 = RefOf (F0AB)
6166                        Local4 = RefOf (G006)
6167                    }
6168                    Case (0x81)
6169                    {
6170                        Local2 = 0x07
6171                        BankField (OPR0, BNK0, 0x07, WordAcc, NoLock, WriteAsOnes)
6172                        {
6173                            Offset (0x03),
6174                                ,   7,
6175                            F0AC,   129
6176                        }
6177
6178                        Local3 = RefOf (F0AC)
6179                        Local4 = RefOf (G007)
6180                    }
6181                    Case (0x0100)
6182                    {
6183                        Local2 = 0x08
6184                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, WriteAsOnes)
6185                        {
6186                            AccessAs (WordAcc, 0x00),
6187                            Offset (0x03),
6188                                ,   7,
6189                            F0AD,   256
6190                        }
6191
6192                        Local3 = RefOf (F0AD)
6193                        Local4 = RefOf (G008)
6194                    }
6195                    Case (0x03FF)
6196                    {
6197                        Local2 = 0x09
6198                        BankField (OPR0, BNK0, 0x09, WordAcc, NoLock, WriteAsOnes)
6199                        {
6200                            Offset (0x03),
6201                                ,   7,
6202                            F0AE,   1023
6203                        }
6204
6205                        Local3 = RefOf (F0AE)
6206                        Local4 = RefOf (G009)
6207                    }
6208                    Case (0x07BF)
6209                    {
6210                        Local2 = 0x3F
6211                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, WriteAsOnes)
6212                        {
6213                            AccessAs (WordAcc, 0x00),
6214                            Offset (0x03),
6215                                ,   7,
6216                            F0AF,   1983
6217                        }
6218
6219                        Local3 = RefOf (F0AF)
6220                        Local4 = RefOf (G00A)
6221                    }
6222                    Default
6223                    {
6224                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
6225                        Return (Zero)
6226                    }
6227
6228                }
6229            }
6230            Case (0x20)
6231            {
6232                Switch (ToInteger (Arg3))
6233                {
6234                    Case (0x01)
6235                    {
6236                        Local2 = 0x40
6237                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, WriteAsOnes)
6238                        {
6239                            AccessAs (WordAcc, 0x00),
6240                            Offset (0x04),
6241                            F0B0,   1
6242                        }
6243
6244                        Local3 = RefOf (F0B0)
6245                        Local4 = RefOf (G00B)
6246                    }
6247                    Case (0x06)
6248                    {
6249                        Local2 = 0x7F
6250                        BankField (OPR0, BNK0, 0x7F, WordAcc, NoLock, WriteAsOnes)
6251                        {
6252                            Offset (0x04),
6253                            F0B1,   6
6254                        }
6255
6256                        Local3 = RefOf (F0B1)
6257                        Local4 = RefOf (G00C)
6258                    }
6259                    Case (0x07)
6260                    {
6261                        Local2 = 0x80
6262                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, WriteAsOnes)
6263                        {
6264                            AccessAs (WordAcc, 0x00),
6265                            Offset (0x04),
6266                            F0B2,   7
6267                        }
6268
6269                        Local3 = RefOf (F0B2)
6270                        Local4 = RefOf (G00D)
6271                    }
6272                    Case (0x08)
6273                    {
6274                        Local2 = 0xFF
6275                        BankField (OPR0, BNK0, 0xFF, WordAcc, NoLock, WriteAsOnes)
6276                        {
6277                            Offset (0x04),
6278                            F0B3,   8
6279                        }
6280
6281                        Local3 = RefOf (F0B3)
6282                        Local4 = RefOf (G00E)
6283                    }
6284                    Case (0x09)
6285                    {
6286                        Local2 = 0x00
6287                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, WriteAsOnes)
6288                        {
6289                            AccessAs (WordAcc, 0x00),
6290                            Offset (0x04),
6291                            F0B4,   9
6292                        }
6293
6294                        Local3 = RefOf (F0B4)
6295                        Local4 = RefOf (G000)
6296                    }
6297                    Case (0x1F)
6298                    {
6299                        Local2 = 0x01
6300                        BankField (OPR0, BNK0, 0x01, WordAcc, NoLock, WriteAsOnes)
6301                        {
6302                            Offset (0x04),
6303                            F0B5,   31
6304                        }
6305
6306                        Local3 = RefOf (F0B5)
6307                        Local4 = RefOf (G001)
6308                    }
6309                    Case (0x20)
6310                    {
6311                        Local2 = 0x02
6312                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, WriteAsOnes)
6313                        {
6314                            AccessAs (WordAcc, 0x00),
6315                            Offset (0x04),
6316                            F0B6,   32
6317                        }
6318
6319                        Local3 = RefOf (F0B6)
6320                        Local4 = RefOf (G002)
6321                    }
6322                    Case (0x21)
6323                    {
6324                        Local2 = 0x03
6325                        BankField (OPR0, BNK0, 0x03, WordAcc, NoLock, WriteAsOnes)
6326                        {
6327                            Offset (0x04),
6328                            F0B7,   33
6329                        }
6330
6331                        Local3 = RefOf (F0B7)
6332                        Local4 = RefOf (G003)
6333                    }
6334                    Case (0x3F)
6335                    {
6336                        Local2 = 0x04
6337                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, WriteAsOnes)
6338                        {
6339                            AccessAs (WordAcc, 0x00),
6340                            Offset (0x04),
6341                            F0B8,   63
6342                        }
6343
6344                        Local3 = RefOf (F0B8)
6345                        Local4 = RefOf (G004)
6346                    }
6347                    Case (0x40)
6348                    {
6349                        Local2 = 0x05
6350                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, WriteAsOnes)
6351                        {
6352                            Offset (0x04),
6353                            F0B9,   64
6354                        }
6355
6356                        Local3 = RefOf (F0B9)
6357                        Local4 = RefOf (G005)
6358                    }
6359                    Case (0x41)
6360                    {
6361                        Local2 = 0x06
6362                        BankField (OPR0, BNK0, 0x06, AnyAcc, NoLock, WriteAsOnes)
6363                        {
6364                            AccessAs (WordAcc, 0x00),
6365                            Offset (0x04),
6366                            F0BA,   65
6367                        }
6368
6369                        Local3 = RefOf (F0BA)
6370                        Local4 = RefOf (G006)
6371                    }
6372                    Case (0x45)
6373                    {
6374                        Local2 = 0x07
6375                        BankField (OPR0, BNK0, 0x07, WordAcc, NoLock, WriteAsOnes)
6376                        {
6377                            Offset (0x04),
6378                            F0BB,   69
6379                        }
6380
6381                        Local3 = RefOf (F0BB)
6382                        Local4 = RefOf (G007)
6383                    }
6384                    Case (0x81)
6385                    {
6386                        Local2 = 0x08
6387                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, WriteAsOnes)
6388                        {
6389                            AccessAs (WordAcc, 0x00),
6390                            Offset (0x04),
6391                            F0BC,   129
6392                        }
6393
6394                        Local3 = RefOf (F0BC)
6395                        Local4 = RefOf (G008)
6396                    }
6397                    Case (0x0100)
6398                    {
6399                        Local2 = 0x09
6400                        BankField (OPR0, BNK0, 0x09, WordAcc, NoLock, WriteAsOnes)
6401                        {
6402                            Offset (0x04),
6403                            F0BD,   256
6404                        }
6405
6406                        Local3 = RefOf (F0BD)
6407                        Local4 = RefOf (G009)
6408                    }
6409                    Case (0x03FF)
6410                    {
6411                        Local2 = 0x3F
6412                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, WriteAsOnes)
6413                        {
6414                            AccessAs (WordAcc, 0x00),
6415                            Offset (0x04),
6416                            F0BE,   1023
6417                        }
6418
6419                        Local3 = RefOf (F0BE)
6420                        Local4 = RefOf (G00A)
6421                    }
6422                    Case (0x07BF)
6423                    {
6424                        Local2 = 0x40
6425                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, WriteAsOnes)
6426                        {
6427                            Offset (0x04),
6428                            F0BF,   1983
6429                        }
6430
6431                        Local3 = RefOf (F0BF)
6432                        Local4 = RefOf (G00B)
6433                    }
6434                    Default
6435                    {
6436                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
6437                        Return (Zero)
6438                    }
6439
6440                }
6441            }
6442            Case (0x21)
6443            {
6444                Switch (ToInteger (Arg3))
6445                {
6446                    Case (0x01)
6447                    {
6448                        Local2 = 0x7F
6449                        BankField (OPR0, BNK0, 0x7F, WordAcc, NoLock, WriteAsOnes)
6450                        {
6451                                ,   33,
6452                            F0C0,   1
6453                        }
6454
6455                        Local3 = RefOf (F0C0)
6456                        Local4 = RefOf (G00C)
6457                    }
6458                    Case (0x06)
6459                    {
6460                        Local2 = 0x80
6461                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, WriteAsOnes)
6462                        {
6463                            AccessAs (WordAcc, 0x00),
6464                                ,   33,
6465                            F0C1,   6
6466                        }
6467
6468                        Local3 = RefOf (F0C1)
6469                        Local4 = RefOf (G00D)
6470                    }
6471                    Case (0x07)
6472                    {
6473                        Local2 = 0xFF
6474                        BankField (OPR0, BNK0, 0xFF, WordAcc, NoLock, WriteAsOnes)
6475                        {
6476                                ,   33,
6477                            F0C2,   7
6478                        }
6479
6480                        Local3 = RefOf (F0C2)
6481                        Local4 = RefOf (G00E)
6482                    }
6483                    Case (0x08)
6484                    {
6485                        Local2 = 0x00
6486                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, WriteAsOnes)
6487                        {
6488                            AccessAs (WordAcc, 0x00),
6489                                ,   33,
6490                            F0C3,   8
6491                        }
6492
6493                        Local3 = RefOf (F0C3)
6494                        Local4 = RefOf (G000)
6495                    }
6496                    Case (0x09)
6497                    {
6498                        Local2 = 0x01
6499                        BankField (OPR0, BNK0, 0x01, WordAcc, NoLock, WriteAsOnes)
6500                        {
6501                                ,   33,
6502                            F0C4,   9
6503                        }
6504
6505                        Local3 = RefOf (F0C4)
6506                        Local4 = RefOf (G001)
6507                    }
6508                    Case (0x1F)
6509                    {
6510                        Local2 = 0x02
6511                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, WriteAsOnes)
6512                        {
6513                            AccessAs (WordAcc, 0x00),
6514                                ,   33,
6515                            F0C5,   31
6516                        }
6517
6518                        Local3 = RefOf (F0C5)
6519                        Local4 = RefOf (G002)
6520                    }
6521                    Case (0x20)
6522                    {
6523                        Local2 = 0x03
6524                        BankField (OPR0, BNK0, 0x03, WordAcc, NoLock, WriteAsOnes)
6525                        {
6526                                ,   33,
6527                            F0C6,   32
6528                        }
6529
6530                        Local3 = RefOf (F0C6)
6531                        Local4 = RefOf (G003)
6532                    }
6533                    Case (0x21)
6534                    {
6535                        Local2 = 0x04
6536                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, WriteAsOnes)
6537                        {
6538                            AccessAs (WordAcc, 0x00),
6539                                ,   33,
6540                            F0C7,   33
6541                        }
6542
6543                        Local3 = RefOf (F0C7)
6544                        Local4 = RefOf (G004)
6545                    }
6546                    Case (0x3F)
6547                    {
6548                        Local2 = 0x05
6549                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, WriteAsOnes)
6550                        {
6551                                ,   33,
6552                            F0C8,   63
6553                        }
6554
6555                        Local3 = RefOf (F0C8)
6556                        Local4 = RefOf (G005)
6557                    }
6558                    Case (0x40)
6559                    {
6560                        Local2 = 0x06
6561                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, WriteAsOnes)
6562                        {
6563                            AccessAs (WordAcc, 0x00),
6564                                ,   33,
6565                            F0C9,   64
6566                        }
6567
6568                        Local3 = RefOf (F0C9)
6569                        Local4 = RefOf (G006)
6570                    }
6571                    Case (0x41)
6572                    {
6573                        Local2 = 0x07
6574                        BankField (OPR0, BNK0, 0x07, WordAcc, NoLock, WriteAsOnes)
6575                        {
6576                                ,   33,
6577                            F0CA,   65
6578                        }
6579
6580                        Local3 = RefOf (F0CA)
6581                        Local4 = RefOf (G007)
6582                    }
6583                    Case (0x45)
6584                    {
6585                        Local2 = 0x08
6586                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, WriteAsOnes)
6587                        {
6588                            AccessAs (WordAcc, 0x00),
6589                                ,   33,
6590                            F0CB,   69
6591                        }
6592
6593                        Local3 = RefOf (F0CB)
6594                        Local4 = RefOf (G008)
6595                    }
6596                    Case (0x81)
6597                    {
6598                        Local2 = 0x09
6599                        BankField (OPR0, BNK0, 0x09, WordAcc, NoLock, WriteAsOnes)
6600                        {
6601                                ,   33,
6602                            F0CC,   129
6603                        }
6604
6605                        Local3 = RefOf (F0CC)
6606                        Local4 = RefOf (G009)
6607                    }
6608                    Case (0x0100)
6609                    {
6610                        Local2 = 0x3F
6611                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, WriteAsOnes)
6612                        {
6613                            AccessAs (WordAcc, 0x00),
6614                                ,   33,
6615                            F0CD,   256
6616                        }
6617
6618                        Local3 = RefOf (F0CD)
6619                        Local4 = RefOf (G00A)
6620                    }
6621                    Case (0x03FF)
6622                    {
6623                        Local2 = 0x40
6624                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, WriteAsOnes)
6625                        {
6626                                ,   33,
6627                            F0CE,   1023
6628                        }
6629
6630                        Local3 = RefOf (F0CE)
6631                        Local4 = RefOf (G00B)
6632                    }
6633                    Case (0x07BF)
6634                    {
6635                        Local2 = 0x7F
6636                        BankField (OPR0, BNK0, 0x7F, AnyAcc, NoLock, WriteAsOnes)
6637                        {
6638                            AccessAs (WordAcc, 0x00),
6639                                ,   33,
6640                            F0CF,   1983
6641                        }
6642
6643                        Local3 = RefOf (F0CF)
6644                        Local4 = RefOf (G00C)
6645                    }
6646                    Default
6647                    {
6648                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
6649                        Return (Zero)
6650                    }
6651
6652                }
6653            }
6654            Case (0x3F)
6655            {
6656                Switch (ToInteger (Arg3))
6657                {
6658                    Case (0x01)
6659                    {
6660                        Local2 = 0x80
6661                        BankField (OPR0, BNK0, 0x80, WordAcc, NoLock, WriteAsOnes)
6662                        {
6663                            AccessAs (WordAcc, 0x00),
6664                                ,   63,
6665                            F0D0,   1
6666                        }
6667
6668                        Local3 = RefOf (F0D0)
6669                        Local4 = RefOf (G00D)
6670                    }
6671                    Case (0x06)
6672                    {
6673                        Local2 = 0xFF
6674                        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, WriteAsOnes)
6675                        {
6676                                ,   63,
6677                            F0D1,   6
6678                        }
6679
6680                        Local3 = RefOf (F0D1)
6681                        Local4 = RefOf (G00E)
6682                    }
6683                    Case (0x07)
6684                    {
6685                        Local2 = 0x00
6686                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, WriteAsOnes)
6687                        {
6688                            AccessAs (WordAcc, 0x00),
6689                                ,   63,
6690                            F0D2,   7
6691                        }
6692
6693                        Local3 = RefOf (F0D2)
6694                        Local4 = RefOf (G000)
6695                    }
6696                    Case (0x08)
6697                    {
6698                        Local2 = 0x01
6699                        BankField (OPR0, BNK0, 0x01, WordAcc, NoLock, WriteAsOnes)
6700                        {
6701                                ,   63,
6702                            F0D3,   8
6703                        }
6704
6705                        Local3 = RefOf (F0D3)
6706                        Local4 = RefOf (G001)
6707                    }
6708                    Case (0x09)
6709                    {
6710                        Local2 = 0x02
6711                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, WriteAsOnes)
6712                        {
6713                            AccessAs (WordAcc, 0x00),
6714                                ,   63,
6715                            F0D4,   9
6716                        }
6717
6718                        Local3 = RefOf (F0D4)
6719                        Local4 = RefOf (G002)
6720                    }
6721                    Case (0x1F)
6722                    {
6723                        Local2 = 0x03
6724                        BankField (OPR0, BNK0, 0x03, WordAcc, NoLock, WriteAsOnes)
6725                        {
6726                                ,   63,
6727                            F0D5,   31
6728                        }
6729
6730                        Local3 = RefOf (F0D5)
6731                        Local4 = RefOf (G003)
6732                    }
6733                    Case (0x20)
6734                    {
6735                        Local2 = 0x04
6736                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, WriteAsOnes)
6737                        {
6738                            AccessAs (WordAcc, 0x00),
6739                                ,   63,
6740                            F0D6,   32
6741                        }
6742
6743                        Local3 = RefOf (F0D6)
6744                        Local4 = RefOf (G004)
6745                    }
6746                    Case (0x21)
6747                    {
6748                        Local2 = 0x05
6749                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, WriteAsOnes)
6750                        {
6751                                ,   63,
6752                            F0D7,   33
6753                        }
6754
6755                        Local3 = RefOf (F0D7)
6756                        Local4 = RefOf (G005)
6757                    }
6758                    Case (0x3F)
6759                    {
6760                        Local2 = 0x06
6761                        BankField (OPR0, BNK0, 0x06, AnyAcc, NoLock, WriteAsOnes)
6762                        {
6763                            AccessAs (WordAcc, 0x00),
6764                                ,   63,
6765                            F0D8,   63
6766                        }
6767
6768                        Local3 = RefOf (F0D8)
6769                        Local4 = RefOf (G006)
6770                    }
6771                    Case (0x40)
6772                    {
6773                        Local2 = 0x07
6774                        BankField (OPR0, BNK0, 0x07, WordAcc, NoLock, WriteAsOnes)
6775                        {
6776                                ,   63,
6777                            F0D9,   64
6778                        }
6779
6780                        Local3 = RefOf (F0D9)
6781                        Local4 = RefOf (G007)
6782                    }
6783                    Case (0x41)
6784                    {
6785                        Local2 = 0x08
6786                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, WriteAsOnes)
6787                        {
6788                            AccessAs (WordAcc, 0x00),
6789                                ,   63,
6790                            F0DA,   65
6791                        }
6792
6793                        Local3 = RefOf (F0DA)
6794                        Local4 = RefOf (G008)
6795                    }
6796                    Case (0x45)
6797                    {
6798                        Local2 = 0x09
6799                        BankField (OPR0, BNK0, 0x09, WordAcc, NoLock, WriteAsOnes)
6800                        {
6801                                ,   63,
6802                            F0DB,   69
6803                        }
6804
6805                        Local3 = RefOf (F0DB)
6806                        Local4 = RefOf (G009)
6807                    }
6808                    Case (0x81)
6809                    {
6810                        Local2 = 0x3F
6811                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, WriteAsOnes)
6812                        {
6813                            AccessAs (WordAcc, 0x00),
6814                                ,   63,
6815                            F0DC,   129
6816                        }
6817
6818                        Local3 = RefOf (F0DC)
6819                        Local4 = RefOf (G00A)
6820                    }
6821                    Case (0x0100)
6822                    {
6823                        Local2 = 0x40
6824                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, WriteAsOnes)
6825                        {
6826                                ,   63,
6827                            F0DD,   256
6828                        }
6829
6830                        Local3 = RefOf (F0DD)
6831                        Local4 = RefOf (G00B)
6832                    }
6833                    Case (0x03FF)
6834                    {
6835                        Local2 = 0x7F
6836                        BankField (OPR0, BNK0, 0x7F, DWordAcc, NoLock, WriteAsOnes)
6837                        {
6838                            AccessAs (WordAcc, 0x00),
6839                                ,   63,
6840                            F0DE,   1023
6841                        }
6842
6843                        Local3 = RefOf (F0DE)
6844                        Local4 = RefOf (G00C)
6845                    }
6846                    Case (0x07BF)
6847                    {
6848                        Local2 = 0x80
6849                        BankField (OPR0, BNK0, 0x80, WordAcc, NoLock, WriteAsOnes)
6850                        {
6851                                ,   63,
6852                            F0DF,   1983
6853                        }
6854
6855                        Local3 = RefOf (F0DF)
6856                        Local4 = RefOf (G00D)
6857                    }
6858                    Default
6859                    {
6860                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
6861                        Return (Zero)
6862                    }
6863
6864                }
6865            }
6866            Case (0x40)
6867            {
6868                Switch (ToInteger (Arg3))
6869                {
6870                    Case (0x01)
6871                    {
6872                        Local2 = 0xFF
6873                        BankField (OPR0, BNK0, 0xFF, WordAcc, NoLock, WriteAsOnes)
6874                        {
6875                            Offset (0x08),
6876                            F0E0,   1
6877                        }
6878
6879                        Local3 = RefOf (F0E0)
6880                        Local4 = RefOf (G00E)
6881                    }
6882                    Case (0x06)
6883                    {
6884                        Local2 = 0x00
6885                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, WriteAsOnes)
6886                        {
6887                            AccessAs (WordAcc, 0x00),
6888                            Offset (0x08),
6889                            F0E1,   6
6890                        }
6891
6892                        Local3 = RefOf (F0E1)
6893                        Local4 = RefOf (G000)
6894                    }
6895                    Case (0x07)
6896                    {
6897                        Local2 = 0x01
6898                        BankField (OPR0, BNK0, 0x01, WordAcc, NoLock, WriteAsOnes)
6899                        {
6900                            Offset (0x08),
6901                            F0E2,   7
6902                        }
6903
6904                        Local3 = RefOf (F0E2)
6905                        Local4 = RefOf (G001)
6906                    }
6907                    Case (0x08)
6908                    {
6909                        Local2 = 0x02
6910                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, WriteAsOnes)
6911                        {
6912                            AccessAs (WordAcc, 0x00),
6913                            Offset (0x08),
6914                            F0E3,   8
6915                        }
6916
6917                        Local3 = RefOf (F0E3)
6918                        Local4 = RefOf (G002)
6919                    }
6920                    Case (0x09)
6921                    {
6922                        Local2 = 0x03
6923                        BankField (OPR0, BNK0, 0x03, WordAcc, NoLock, WriteAsOnes)
6924                        {
6925                            Offset (0x08),
6926                            F0E4,   9
6927                        }
6928
6929                        Local3 = RefOf (F0E4)
6930                        Local4 = RefOf (G003)
6931                    }
6932                    Case (0x1F)
6933                    {
6934                        Local2 = 0x04
6935                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, WriteAsOnes)
6936                        {
6937                            AccessAs (WordAcc, 0x00),
6938                            Offset (0x08),
6939                            F0E5,   31
6940                        }
6941
6942                        Local3 = RefOf (F0E5)
6943                        Local4 = RefOf (G004)
6944                    }
6945                    Case (0x20)
6946                    {
6947                        Local2 = 0x05
6948                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, WriteAsOnes)
6949                        {
6950                            Offset (0x08),
6951                            F0E6,   32
6952                        }
6953
6954                        Local3 = RefOf (F0E6)
6955                        Local4 = RefOf (G005)
6956                    }
6957                    Case (0x21)
6958                    {
6959                        Local2 = 0x06
6960                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, WriteAsOnes)
6961                        {
6962                            AccessAs (WordAcc, 0x00),
6963                            Offset (0x08),
6964                            F0E7,   33
6965                        }
6966
6967                        Local3 = RefOf (F0E7)
6968                        Local4 = RefOf (G006)
6969                    }
6970                    Case (0x3F)
6971                    {
6972                        Local2 = 0x07
6973                        BankField (OPR0, BNK0, 0x07, WordAcc, NoLock, WriteAsOnes)
6974                        {
6975                            Offset (0x08),
6976                            F0E8,   63
6977                        }
6978
6979                        Local3 = RefOf (F0E8)
6980                        Local4 = RefOf (G007)
6981                    }
6982                    Case (0x40)
6983                    {
6984                        Local2 = 0x08
6985                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, WriteAsOnes)
6986                        {
6987                            AccessAs (WordAcc, 0x00),
6988                            Offset (0x08),
6989                            F0E9,   64
6990                        }
6991
6992                        Local3 = RefOf (F0E9)
6993                        Local4 = RefOf (G008)
6994                    }
6995                    Case (0x41)
6996                    {
6997                        Local2 = 0x09
6998                        BankField (OPR0, BNK0, 0x09, WordAcc, NoLock, WriteAsOnes)
6999                        {
7000                            Offset (0x08),
7001                            F0EA,   65
7002                        }
7003
7004                        Local3 = RefOf (F0EA)
7005                        Local4 = RefOf (G009)
7006                    }
7007                    Case (0x45)
7008                    {
7009                        Local2 = 0x3F
7010                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, WriteAsOnes)
7011                        {
7012                            AccessAs (WordAcc, 0x00),
7013                            Offset (0x08),
7014                            F0EB,   69
7015                        }
7016
7017                        Local3 = RefOf (F0EB)
7018                        Local4 = RefOf (G00A)
7019                    }
7020                    Case (0x81)
7021                    {
7022                        Local2 = 0x40
7023                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, WriteAsOnes)
7024                        {
7025                            Offset (0x08),
7026                            F0EC,   129
7027                        }
7028
7029                        Local3 = RefOf (F0EC)
7030                        Local4 = RefOf (G00B)
7031                    }
7032                    Case (0x0100)
7033                    {
7034                        Local2 = 0x7F
7035                        BankField (OPR0, BNK0, 0x7F, AnyAcc, NoLock, WriteAsOnes)
7036                        {
7037                            AccessAs (WordAcc, 0x00),
7038                            Offset (0x08),
7039                            F0ED,   256
7040                        }
7041
7042                        Local3 = RefOf (F0ED)
7043                        Local4 = RefOf (G00C)
7044                    }
7045                    Case (0x03FF)
7046                    {
7047                        Local2 = 0x80
7048                        BankField (OPR0, BNK0, 0x80, WordAcc, NoLock, WriteAsOnes)
7049                        {
7050                            Offset (0x08),
7051                            F0EE,   1023
7052                        }
7053
7054                        Local3 = RefOf (F0EE)
7055                        Local4 = RefOf (G00D)
7056                    }
7057                    Case (0x07BF)
7058                    {
7059                        Local2 = 0xFF
7060                        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, WriteAsOnes)
7061                        {
7062                            AccessAs (WordAcc, 0x00),
7063                            Offset (0x08),
7064                            F0EF,   1983
7065                        }
7066
7067                        Local3 = RefOf (F0EF)
7068                        Local4 = RefOf (G00E)
7069                    }
7070                    Default
7071                    {
7072                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
7073                        Return (Zero)
7074                    }
7075
7076                }
7077            }
7078            Case (0x41)
7079            {
7080                Switch (ToInteger (Arg3))
7081                {
7082                    Case (0x01)
7083                    {
7084                        Local2 = 0x00
7085                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, WriteAsOnes)
7086                        {
7087                            AccessAs (WordAcc, 0x00),
7088                            Offset (0x08),
7089                                ,   1,
7090                            F0F0,   1
7091                        }
7092
7093                        Local3 = RefOf (F0F0)
7094                        Local4 = RefOf (G000)
7095                    }
7096                    Case (0x06)
7097                    {
7098                        Local2 = 0x01
7099                        BankField (OPR0, BNK0, 0x01, WordAcc, NoLock, WriteAsOnes)
7100                        {
7101                            Offset (0x08),
7102                                ,   1,
7103                            F0F1,   6
7104                        }
7105
7106                        Local3 = RefOf (F0F1)
7107                        Local4 = RefOf (G001)
7108                    }
7109                    Case (0x07)
7110                    {
7111                        Local2 = 0x02
7112                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, WriteAsOnes)
7113                        {
7114                            AccessAs (WordAcc, 0x00),
7115                            Offset (0x08),
7116                                ,   1,
7117                            F0F2,   7
7118                        }
7119
7120                        Local3 = RefOf (F0F2)
7121                        Local4 = RefOf (G002)
7122                    }
7123                    Case (0x08)
7124                    {
7125                        Local2 = 0x03
7126                        BankField (OPR0, BNK0, 0x03, WordAcc, NoLock, WriteAsOnes)
7127                        {
7128                            Offset (0x08),
7129                                ,   1,
7130                            F0F3,   8
7131                        }
7132
7133                        Local3 = RefOf (F0F3)
7134                        Local4 = RefOf (G003)
7135                    }
7136                    Case (0x09)
7137                    {
7138                        Local2 = 0x04
7139                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, WriteAsOnes)
7140                        {
7141                            AccessAs (WordAcc, 0x00),
7142                            Offset (0x08),
7143                                ,   1,
7144                            F0F4,   9
7145                        }
7146
7147                        Local3 = RefOf (F0F4)
7148                        Local4 = RefOf (G004)
7149                    }
7150                    Case (0x1F)
7151                    {
7152                        Local2 = 0x05
7153                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, WriteAsOnes)
7154                        {
7155                            Offset (0x08),
7156                                ,   1,
7157                            F0F5,   31
7158                        }
7159
7160                        Local3 = RefOf (F0F5)
7161                        Local4 = RefOf (G005)
7162                    }
7163                    Case (0x20)
7164                    {
7165                        Local2 = 0x06
7166                        BankField (OPR0, BNK0, 0x06, AnyAcc, NoLock, WriteAsOnes)
7167                        {
7168                            AccessAs (WordAcc, 0x00),
7169                            Offset (0x08),
7170                                ,   1,
7171                            F0F6,   32
7172                        }
7173
7174                        Local3 = RefOf (F0F6)
7175                        Local4 = RefOf (G006)
7176                    }
7177                    Case (0x21)
7178                    {
7179                        Local2 = 0x07
7180                        BankField (OPR0, BNK0, 0x07, WordAcc, NoLock, WriteAsOnes)
7181                        {
7182                            Offset (0x08),
7183                                ,   1,
7184                            F0F7,   33
7185                        }
7186
7187                        Local3 = RefOf (F0F7)
7188                        Local4 = RefOf (G007)
7189                    }
7190                    Case (0x3F)
7191                    {
7192                        Local2 = 0x08
7193                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, WriteAsOnes)
7194                        {
7195                            AccessAs (WordAcc, 0x00),
7196                            Offset (0x08),
7197                                ,   1,
7198                            F0F8,   63
7199                        }
7200
7201                        Local3 = RefOf (F0F8)
7202                        Local4 = RefOf (G008)
7203                    }
7204                    Case (0x40)
7205                    {
7206                        Local2 = 0x09
7207                        BankField (OPR0, BNK0, 0x09, WordAcc, NoLock, WriteAsOnes)
7208                        {
7209                            Offset (0x08),
7210                                ,   1,
7211                            F0F9,   64
7212                        }
7213
7214                        Local3 = RefOf (F0F9)
7215                        Local4 = RefOf (G009)
7216                    }
7217                    Case (0x41)
7218                    {
7219                        Local2 = 0x3F
7220                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, WriteAsOnes)
7221                        {
7222                            AccessAs (WordAcc, 0x00),
7223                            Offset (0x08),
7224                                ,   1,
7225                            F0FA,   65
7226                        }
7227
7228                        Local3 = RefOf (F0FA)
7229                        Local4 = RefOf (G00A)
7230                    }
7231                    Case (0x45)
7232                    {
7233                        Local2 = 0x40
7234                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, WriteAsOnes)
7235                        {
7236                            Offset (0x08),
7237                                ,   1,
7238                            F0FB,   69
7239                        }
7240
7241                        Local3 = RefOf (F0FB)
7242                        Local4 = RefOf (G00B)
7243                    }
7244                    Case (0x81)
7245                    {
7246                        Local2 = 0x7F
7247                        BankField (OPR0, BNK0, 0x7F, DWordAcc, NoLock, WriteAsOnes)
7248                        {
7249                            AccessAs (WordAcc, 0x00),
7250                            Offset (0x08),
7251                                ,   1,
7252                            F0FC,   129
7253                        }
7254
7255                        Local3 = RefOf (F0FC)
7256                        Local4 = RefOf (G00C)
7257                    }
7258                    Case (0x0100)
7259                    {
7260                        Local2 = 0x80
7261                        BankField (OPR0, BNK0, 0x80, WordAcc, NoLock, WriteAsOnes)
7262                        {
7263                            Offset (0x08),
7264                                ,   1,
7265                            F0FD,   256
7266                        }
7267
7268                        Local3 = RefOf (F0FD)
7269                        Local4 = RefOf (G00D)
7270                    }
7271                    Case (0x03FF)
7272                    {
7273                        Local2 = 0xFF
7274                        BankField (OPR0, BNK0, 0xFF, QWordAcc, NoLock, WriteAsOnes)
7275                        {
7276                            AccessAs (WordAcc, 0x00),
7277                            Offset (0x08),
7278                                ,   1,
7279                            F0FE,   1023
7280                        }
7281
7282                        Local3 = RefOf (F0FE)
7283                        Local4 = RefOf (G00E)
7284                    }
7285                    Case (0x07BF)
7286                    {
7287                        Local2 = 0x00
7288                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, WriteAsOnes)
7289                        {
7290                            Offset (0x08),
7291                                ,   1,
7292                            F0FF,   1983
7293                        }
7294
7295                        Local3 = RefOf (F0FF)
7296                        Local4 = RefOf (G000)
7297                    }
7298                    Default
7299                    {
7300                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
7301                        Return (Zero)
7302                    }
7303
7304                }
7305            }
7306            Default
7307            {
7308                ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
7309                Return (Zero)
7310            }
7311
7312        }
7313
7314        FCP0 [0x00] = 0x02
7315        FCP0 [0x01] = RefOf (BNK0)
7316        FCP0 [0x02] = Local2
7317        M72D (Arg0, Local3, Arg2, Arg3, Arg4, Arg5, Local4)
7318        FCP0 [0x00] = 0x00
7319    }
7320
7321    /* Create BankField Unit */
7322    /* (DWordAcc, NoLock, WriteAsZeros) */
7323    Method (M7D2, 6, Serialized)
7324    {
7325        OperationRegion (OPRB, SystemIO, 0x00, 0x09)
7326        OperationRegion (OPR0, SystemIO, 0x0B, 0x0100)
7327        Field (OPRB, ByteAcc, NoLock, Preserve)
7328        {
7329            BNK0,   8
7330        }
7331
7332        BankField (OPR0, BNK0, 0x00, ByteAcc, NoLock, Preserve)
7333        {
7334            G000,   2048
7335        }
7336
7337        BankField (OPR0, BNK0, 0x01, ByteAcc, NoLock, Preserve)
7338        {
7339            G001,   2048
7340        }
7341
7342        BankField (OPR0, BNK0, 0x02, ByteAcc, NoLock, Preserve)
7343        {
7344            G002,   2048
7345        }
7346
7347        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, Preserve)
7348        {
7349            G003,   2048
7350        }
7351
7352        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, Preserve)
7353        {
7354            G004,   2048
7355        }
7356
7357        BankField (OPR0, BNK0, 0x05, ByteAcc, NoLock, Preserve)
7358        {
7359            G005,   2048
7360        }
7361
7362        BankField (OPR0, BNK0, 0x06, ByteAcc, NoLock, Preserve)
7363        {
7364            G006,   2048
7365        }
7366
7367        BankField (OPR0, BNK0, 0x07, ByteAcc, NoLock, Preserve)
7368        {
7369            G007,   2048
7370        }
7371
7372        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, Preserve)
7373        {
7374            G008,   2048
7375        }
7376
7377        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, Preserve)
7378        {
7379            G009,   2048
7380        }
7381
7382        BankField (OPR0, BNK0, 0x3F, ByteAcc, NoLock, Preserve)
7383        {
7384            G00A,   2048
7385        }
7386
7387        BankField (OPR0, BNK0, 0x40, ByteAcc, NoLock, Preserve)
7388        {
7389            G00B,   2048
7390        }
7391
7392        BankField (OPR0, BNK0, 0x7F, ByteAcc, NoLock, Preserve)
7393        {
7394            G00C,   2048
7395        }
7396
7397        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, Preserve)
7398        {
7399            G00D,   2048
7400        }
7401
7402        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, Preserve)
7403        {
7404            G00E,   2048
7405        }
7406
7407        Concatenate (Arg0, "-m7d2", Arg0)
7408        Switch (ToInteger (Arg2))
7409        {
7410            Case (0x00)
7411            {
7412                Switch (ToInteger (Arg3))
7413                {
7414                    Case (0x01)
7415                    {
7416                        Local2 = 0x00
7417                        BankField (OPR0, BNK0, 0x00, DWordAcc, NoLock, WriteAsZeros)
7418                        {
7419                            Offset (0x00),
7420                            F000,   1
7421                        }
7422
7423                        Local3 = RefOf (F000)
7424                        Local4 = RefOf (G000)
7425                    }
7426                    Case (0x06)
7427                    {
7428                        Local2 = 0x01
7429                        BankField (OPR0, BNK0, 0x01, WordAcc, NoLock, WriteAsZeros)
7430                        {
7431                            AccessAs (DWordAcc, 0x00),
7432                            Offset (0x00),
7433                            F001,   6
7434                        }
7435
7436                        Local3 = RefOf (F001)
7437                        Local4 = RefOf (G001)
7438                    }
7439                    Case (0x07)
7440                    {
7441                        Local2 = 0x02
7442                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, WriteAsZeros)
7443                        {
7444                            Offset (0x00),
7445                            F002,   7
7446                        }
7447
7448                        Local3 = RefOf (F002)
7449                        Local4 = RefOf (G002)
7450                    }
7451                    Case (0x08)
7452                    {
7453                        Local2 = 0x03
7454                        BankField (OPR0, BNK0, 0x03, DWordAcc, NoLock, WriteAsZeros)
7455                        {
7456                            AccessAs (DWordAcc, 0x00),
7457                            Offset (0x00),
7458                            F003,   8
7459                        }
7460
7461                        Local3 = RefOf (F003)
7462                        Local4 = RefOf (G003)
7463                    }
7464                    Case (0x09)
7465                    {
7466                        Local2 = 0x04
7467                        BankField (OPR0, BNK0, 0x04, DWordAcc, NoLock, WriteAsZeros)
7468                        {
7469                            Offset (0x00),
7470                            F004,   9
7471                        }
7472
7473                        Local3 = RefOf (F004)
7474                        Local4 = RefOf (G004)
7475                    }
7476                    Case (0x1F)
7477                    {
7478                        Local2 = 0x05
7479                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, WriteAsZeros)
7480                        {
7481                            AccessAs (DWordAcc, 0x00),
7482                            Offset (0x00),
7483                            F005,   31
7484                        }
7485
7486                        Local3 = RefOf (F005)
7487                        Local4 = RefOf (G005)
7488                    }
7489                    Case (0x20)
7490                    {
7491                        Local2 = 0x06
7492                        BankField (OPR0, BNK0, 0x06, DWordAcc, NoLock, WriteAsZeros)
7493                        {
7494                            Offset (0x00),
7495                            F006,   32
7496                        }
7497
7498                        Local3 = RefOf (F006)
7499                        Local4 = RefOf (G006)
7500                    }
7501                    Case (0x21)
7502                    {
7503                        Local2 = 0x07
7504                        BankField (OPR0, BNK0, 0x07, AnyAcc, NoLock, WriteAsZeros)
7505                        {
7506                            AccessAs (DWordAcc, 0x00),
7507                            Offset (0x00),
7508                            F007,   33
7509                        }
7510
7511                        Local3 = RefOf (F007)
7512                        Local4 = RefOf (G007)
7513                    }
7514                    Case (0x3F)
7515                    {
7516                        Local2 = 0x08
7517                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, WriteAsZeros)
7518                        {
7519                            Offset (0x00),
7520                            F008,   63
7521                        }
7522
7523                        Local3 = RefOf (F008)
7524                        Local4 = RefOf (G008)
7525                    }
7526                    Case (0x40)
7527                    {
7528                        Local2 = 0x09
7529                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, WriteAsZeros)
7530                        {
7531                            AccessAs (DWordAcc, 0x00),
7532                            Offset (0x00),
7533                            F009,   64
7534                        }
7535
7536                        Local3 = RefOf (F009)
7537                        Local4 = RefOf (G009)
7538                    }
7539                    Case (0x41)
7540                    {
7541                        Local2 = 0x3F
7542                        BankField (OPR0, BNK0, 0x3F, DWordAcc, NoLock, WriteAsZeros)
7543                        {
7544                            Offset (0x00),
7545                            F00A,   65
7546                        }
7547
7548                        Local3 = RefOf (F00A)
7549                        Local4 = RefOf (G00A)
7550                    }
7551                    Case (0x45)
7552                    {
7553                        Local2 = 0x40
7554                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, WriteAsZeros)
7555                        {
7556                            AccessAs (DWordAcc, 0x00),
7557                            Offset (0x00),
7558                            F00B,   69
7559                        }
7560
7561                        Local3 = RefOf (F00B)
7562                        Local4 = RefOf (G00B)
7563                    }
7564                    Case (0x81)
7565                    {
7566                        Local2 = 0x7F
7567                        BankField (OPR0, BNK0, 0x7F, DWordAcc, NoLock, WriteAsZeros)
7568                        {
7569                            Offset (0x00),
7570                            F00C,   129
7571                        }
7572
7573                        Local3 = RefOf (F00C)
7574                        Local4 = RefOf (G00C)
7575                    }
7576                    Case (0x0100)
7577                    {
7578                        Local2 = 0x80
7579                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, WriteAsZeros)
7580                        {
7581                            AccessAs (DWordAcc, 0x00),
7582                            Offset (0x00),
7583                            F00D,   256
7584                        }
7585
7586                        Local3 = RefOf (F00D)
7587                        Local4 = RefOf (G00D)
7588                    }
7589                    Case (0x03FF)
7590                    {
7591                        Local2 = 0xFF
7592                        BankField (OPR0, BNK0, 0xFF, DWordAcc, NoLock, WriteAsZeros)
7593                        {
7594                            Offset (0x00),
7595                            F00E,   1023
7596                        }
7597
7598                        Local3 = RefOf (F00E)
7599                        Local4 = RefOf (G00E)
7600                    }
7601                    Case (0x07BF)
7602                    {
7603                        Local2 = 0x00
7604                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, WriteAsZeros)
7605                        {
7606                            AccessAs (DWordAcc, 0x00),
7607                            Offset (0x00),
7608                            F00F,   1983
7609                        }
7610
7611                        Local3 = RefOf (F00F)
7612                        Local4 = RefOf (G000)
7613                    }
7614                    Default
7615                    {
7616                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
7617                        Return (Zero)
7618                    }
7619
7620                }
7621            }
7622            Case (0x01)
7623            {
7624                Switch (ToInteger (Arg3))
7625                {
7626                    Case (0x01)
7627                    {
7628                        Local2 = 0x01
7629                        BankField (OPR0, BNK0, 0x01, AnyAcc, NoLock, WriteAsZeros)
7630                        {
7631                            AccessAs (DWordAcc, 0x00),
7632                                ,   1,
7633                            F010,   1
7634                        }
7635
7636                        Local3 = RefOf (F010)
7637                        Local4 = RefOf (G001)
7638                    }
7639                    Case (0x06)
7640                    {
7641                        Local2 = 0x02
7642                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, WriteAsZeros)
7643                        {
7644                                ,   1,
7645                            F011,   6
7646                        }
7647
7648                        Local3 = RefOf (F011)
7649                        Local4 = RefOf (G002)
7650                    }
7651                    Case (0x07)
7652                    {
7653                        Local2 = 0x03
7654                        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, WriteAsZeros)
7655                        {
7656                            AccessAs (DWordAcc, 0x00),
7657                                ,   1,
7658                            F012,   7
7659                        }
7660
7661                        Local3 = RefOf (F012)
7662                        Local4 = RefOf (G003)
7663                    }
7664                    Case (0x08)
7665                    {
7666                        Local2 = 0x04
7667                        BankField (OPR0, BNK0, 0x04, DWordAcc, NoLock, WriteAsZeros)
7668                        {
7669                                ,   1,
7670                            F013,   8
7671                        }
7672
7673                        Local3 = RefOf (F013)
7674                        Local4 = RefOf (G004)
7675                    }
7676                    Case (0x09)
7677                    {
7678                        Local2 = 0x05
7679                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, WriteAsZeros)
7680                        {
7681                            AccessAs (DWordAcc, 0x00),
7682                                ,   1,
7683                            F014,   9
7684                        }
7685
7686                        Local3 = RefOf (F014)
7687                        Local4 = RefOf (G005)
7688                    }
7689                    Case (0x1F)
7690                    {
7691                        Local2 = 0x06
7692                        BankField (OPR0, BNK0, 0x06, DWordAcc, NoLock, WriteAsZeros)
7693                        {
7694                                ,   1,
7695                            F015,   31
7696                        }
7697
7698                        Local3 = RefOf (F015)
7699                        Local4 = RefOf (G006)
7700                    }
7701                    Case (0x20)
7702                    {
7703                        Local2 = 0x07
7704                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, WriteAsZeros)
7705                        {
7706                            AccessAs (DWordAcc, 0x00),
7707                                ,   1,
7708                            F016,   32
7709                        }
7710
7711                        Local3 = RefOf (F016)
7712                        Local4 = RefOf (G007)
7713                    }
7714                    Case (0x21)
7715                    {
7716                        Local2 = 0x08
7717                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, WriteAsZeros)
7718                        {
7719                                ,   1,
7720                            F017,   33
7721                        }
7722
7723                        Local3 = RefOf (F017)
7724                        Local4 = RefOf (G008)
7725                    }
7726                    Case (0x3F)
7727                    {
7728                        Local2 = 0x09
7729                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, WriteAsZeros)
7730                        {
7731                            AccessAs (DWordAcc, 0x00),
7732                                ,   1,
7733                            F018,   63
7734                        }
7735
7736                        Local3 = RefOf (F018)
7737                        Local4 = RefOf (G009)
7738                    }
7739                    Case (0x40)
7740                    {
7741                        Local2 = 0x3F
7742                        BankField (OPR0, BNK0, 0x3F, DWordAcc, NoLock, WriteAsZeros)
7743                        {
7744                                ,   1,
7745                            F019,   64
7746                        }
7747
7748                        Local3 = RefOf (F019)
7749                        Local4 = RefOf (G00A)
7750                    }
7751                    Case (0x41)
7752                    {
7753                        Local2 = 0x40
7754                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, WriteAsZeros)
7755                        {
7756                            AccessAs (DWordAcc, 0x00),
7757                                ,   1,
7758                            F01A,   65
7759                        }
7760
7761                        Local3 = RefOf (F01A)
7762                        Local4 = RefOf (G00B)
7763                    }
7764                    Case (0x45)
7765                    {
7766                        Local2 = 0x7F
7767                        BankField (OPR0, BNK0, 0x7F, DWordAcc, NoLock, WriteAsZeros)
7768                        {
7769                                ,   1,
7770                            F01B,   69
7771                        }
7772
7773                        Local3 = RefOf (F01B)
7774                        Local4 = RefOf (G00C)
7775                    }
7776                    Case (0x81)
7777                    {
7778                        Local2 = 0x80
7779                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, WriteAsZeros)
7780                        {
7781                            AccessAs (DWordAcc, 0x00),
7782                                ,   1,
7783                            F01C,   129
7784                        }
7785
7786                        Local3 = RefOf (F01C)
7787                        Local4 = RefOf (G00D)
7788                    }
7789                    Case (0x0100)
7790                    {
7791                        Local2 = 0xFF
7792                        BankField (OPR0, BNK0, 0xFF, DWordAcc, NoLock, WriteAsZeros)
7793                        {
7794                                ,   1,
7795                            F01D,   256
7796                        }
7797
7798                        Local3 = RefOf (F01D)
7799                        Local4 = RefOf (G00E)
7800                    }
7801                    Case (0x03FF)
7802                    {
7803                        Local2 = 0x00
7804                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, WriteAsZeros)
7805                        {
7806                            AccessAs (DWordAcc, 0x00),
7807                                ,   1,
7808                            F01E,   1023
7809                        }
7810
7811                        Local3 = RefOf (F01E)
7812                        Local4 = RefOf (G000)
7813                    }
7814                    Case (0x07BF)
7815                    {
7816                        Local2 = 0x01
7817                        BankField (OPR0, BNK0, 0x01, DWordAcc, NoLock, WriteAsZeros)
7818                        {
7819                                ,   1,
7820                            F01F,   1983
7821                        }
7822
7823                        Local3 = RefOf (F01F)
7824                        Local4 = RefOf (G001)
7825                    }
7826                    Default
7827                    {
7828                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
7829                        Return (Zero)
7830                    }
7831
7832                }
7833            }
7834            Case (0x02)
7835            {
7836                Switch (ToInteger (Arg3))
7837                {
7838                    Case (0x01)
7839                    {
7840                        Local2 = 0x02
7841                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, WriteAsZeros)
7842                        {
7843                                ,   2,
7844                            F020,   1
7845                        }
7846
7847                        Local3 = RefOf (F020)
7848                        Local4 = RefOf (G002)
7849                    }
7850                    Case (0x06)
7851                    {
7852                        Local2 = 0x03
7853                        BankField (OPR0, BNK0, 0x03, DWordAcc, NoLock, WriteAsZeros)
7854                        {
7855                            AccessAs (DWordAcc, 0x00),
7856                                ,   2,
7857                            F021,   6
7858                        }
7859
7860                        Local3 = RefOf (F021)
7861                        Local4 = RefOf (G003)
7862                    }
7863                    Case (0x07)
7864                    {
7865                        Local2 = 0x04
7866                        BankField (OPR0, BNK0, 0x04, DWordAcc, NoLock, WriteAsZeros)
7867                        {
7868                                ,   2,
7869                            F022,   7
7870                        }
7871
7872                        Local3 = RefOf (F022)
7873                        Local4 = RefOf (G004)
7874                    }
7875                    Case (0x08)
7876                    {
7877                        Local2 = 0x05
7878                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, WriteAsZeros)
7879                        {
7880                            AccessAs (DWordAcc, 0x00),
7881                                ,   2,
7882                            F023,   8
7883                        }
7884
7885                        Local3 = RefOf (F023)
7886                        Local4 = RefOf (G005)
7887                    }
7888                    Case (0x09)
7889                    {
7890                        Local2 = 0x06
7891                        BankField (OPR0, BNK0, 0x06, DWordAcc, NoLock, WriteAsZeros)
7892                        {
7893                                ,   2,
7894                            F024,   9
7895                        }
7896
7897                        Local3 = RefOf (F024)
7898                        Local4 = RefOf (G006)
7899                    }
7900                    Case (0x1F)
7901                    {
7902                        Local2 = 0x07
7903                        BankField (OPR0, BNK0, 0x07, AnyAcc, NoLock, WriteAsZeros)
7904                        {
7905                            AccessAs (DWordAcc, 0x00),
7906                                ,   2,
7907                            F025,   31
7908                        }
7909
7910                        Local3 = RefOf (F025)
7911                        Local4 = RefOf (G007)
7912                    }
7913                    Case (0x20)
7914                    {
7915                        Local2 = 0x08
7916                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, WriteAsZeros)
7917                        {
7918                                ,   2,
7919                            F026,   32
7920                        }
7921
7922                        Local3 = RefOf (F026)
7923                        Local4 = RefOf (G008)
7924                    }
7925                    Case (0x21)
7926                    {
7927                        Local2 = 0x09
7928                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, WriteAsZeros)
7929                        {
7930                            AccessAs (DWordAcc, 0x00),
7931                                ,   2,
7932                            F027,   33
7933                        }
7934
7935                        Local3 = RefOf (F027)
7936                        Local4 = RefOf (G009)
7937                    }
7938                    Case (0x3F)
7939                    {
7940                        Local2 = 0x3F
7941                        BankField (OPR0, BNK0, 0x3F, DWordAcc, NoLock, WriteAsZeros)
7942                        {
7943                                ,   2,
7944                            F028,   63
7945                        }
7946
7947                        Local3 = RefOf (F028)
7948                        Local4 = RefOf (G00A)
7949                    }
7950                    Case (0x40)
7951                    {
7952                        Local2 = 0x40
7953                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, WriteAsZeros)
7954                        {
7955                            AccessAs (DWordAcc, 0x00),
7956                                ,   2,
7957                            F029,   64
7958                        }
7959
7960                        Local3 = RefOf (F029)
7961                        Local4 = RefOf (G00B)
7962                    }
7963                    Case (0x41)
7964                    {
7965                        Local2 = 0x7F
7966                        BankField (OPR0, BNK0, 0x7F, DWordAcc, NoLock, WriteAsZeros)
7967                        {
7968                                ,   2,
7969                            F02A,   65
7970                        }
7971
7972                        Local3 = RefOf (F02A)
7973                        Local4 = RefOf (G00C)
7974                    }
7975                    Case (0x45)
7976                    {
7977                        Local2 = 0x80
7978                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, WriteAsZeros)
7979                        {
7980                            AccessAs (DWordAcc, 0x00),
7981                                ,   2,
7982                            F02B,   69
7983                        }
7984
7985                        Local3 = RefOf (F02B)
7986                        Local4 = RefOf (G00D)
7987                    }
7988                    Case (0x81)
7989                    {
7990                        Local2 = 0xFF
7991                        BankField (OPR0, BNK0, 0xFF, DWordAcc, NoLock, WriteAsZeros)
7992                        {
7993                                ,   2,
7994                            F02C,   129
7995                        }
7996
7997                        Local3 = RefOf (F02C)
7998                        Local4 = RefOf (G00E)
7999                    }
8000                    Case (0x0100)
8001                    {
8002                        Local2 = 0x00
8003                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, WriteAsZeros)
8004                        {
8005                            AccessAs (DWordAcc, 0x00),
8006                                ,   2,
8007                            F02D,   256
8008                        }
8009
8010                        Local3 = RefOf (F02D)
8011                        Local4 = RefOf (G000)
8012                    }
8013                    Case (0x03FF)
8014                    {
8015                        Local2 = 0x01
8016                        BankField (OPR0, BNK0, 0x01, DWordAcc, NoLock, WriteAsZeros)
8017                        {
8018                                ,   2,
8019                            F02E,   1023
8020                        }
8021
8022                        Local3 = RefOf (F02E)
8023                        Local4 = RefOf (G001)
8024                    }
8025                    Case (0x07BF)
8026                    {
8027                        Local2 = 0x02
8028                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, WriteAsZeros)
8029                        {
8030                            AccessAs (DWordAcc, 0x00),
8031                                ,   2,
8032                            F02F,   1983
8033                        }
8034
8035                        Local3 = RefOf (F02F)
8036                        Local4 = RefOf (G002)
8037                    }
8038                    Default
8039                    {
8040                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
8041                        Return (Zero)
8042                    }
8043
8044                }
8045            }
8046            Case (0x03)
8047            {
8048                Switch (ToInteger (Arg3))
8049                {
8050                    Case (0x01)
8051                    {
8052                        Local2 = 0x03
8053                        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, WriteAsZeros)
8054                        {
8055                            AccessAs (DWordAcc, 0x00),
8056                                ,   3,
8057                            F030,   1
8058                        }
8059
8060                        Local3 = RefOf (F030)
8061                        Local4 = RefOf (G003)
8062                    }
8063                    Case (0x06)
8064                    {
8065                        Local2 = 0x04
8066                        BankField (OPR0, BNK0, 0x04, DWordAcc, NoLock, WriteAsZeros)
8067                        {
8068                                ,   3,
8069                            F031,   6
8070                        }
8071
8072                        Local3 = RefOf (F031)
8073                        Local4 = RefOf (G004)
8074                    }
8075                    Case (0x07)
8076                    {
8077                        Local2 = 0x05
8078                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, WriteAsZeros)
8079                        {
8080                            AccessAs (DWordAcc, 0x00),
8081                                ,   3,
8082                            F032,   7
8083                        }
8084
8085                        Local3 = RefOf (F032)
8086                        Local4 = RefOf (G005)
8087                    }
8088                    Case (0x08)
8089                    {
8090                        Local2 = 0x06
8091                        BankField (OPR0, BNK0, 0x06, DWordAcc, NoLock, WriteAsZeros)
8092                        {
8093                                ,   3,
8094                            F033,   8
8095                        }
8096
8097                        Local3 = RefOf (F033)
8098                        Local4 = RefOf (G006)
8099                    }
8100                    Case (0x09)
8101                    {
8102                        Local2 = 0x07
8103                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, WriteAsZeros)
8104                        {
8105                            AccessAs (DWordAcc, 0x00),
8106                                ,   3,
8107                            F034,   9
8108                        }
8109
8110                        Local3 = RefOf (F034)
8111                        Local4 = RefOf (G007)
8112                    }
8113                    Case (0x1F)
8114                    {
8115                        Local2 = 0x08
8116                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, WriteAsZeros)
8117                        {
8118                                ,   3,
8119                            F035,   31
8120                        }
8121
8122                        Local3 = RefOf (F035)
8123                        Local4 = RefOf (G008)
8124                    }
8125                    Case (0x20)
8126                    {
8127                        Local2 = 0x09
8128                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, WriteAsZeros)
8129                        {
8130                            AccessAs (DWordAcc, 0x00),
8131                                ,   3,
8132                            F036,   32
8133                        }
8134
8135                        Local3 = RefOf (F036)
8136                        Local4 = RefOf (G009)
8137                    }
8138                    Case (0x21)
8139                    {
8140                        Local2 = 0x3F
8141                        BankField (OPR0, BNK0, 0x3F, DWordAcc, NoLock, WriteAsZeros)
8142                        {
8143                                ,   3,
8144                            F037,   33
8145                        }
8146
8147                        Local3 = RefOf (F037)
8148                        Local4 = RefOf (G00A)
8149                    }
8150                    Case (0x3F)
8151                    {
8152                        Local2 = 0x40
8153                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, WriteAsZeros)
8154                        {
8155                            AccessAs (DWordAcc, 0x00),
8156                                ,   3,
8157                            F038,   63
8158                        }
8159
8160                        Local3 = RefOf (F038)
8161                        Local4 = RefOf (G00B)
8162                    }
8163                    Case (0x40)
8164                    {
8165                        Local2 = 0x7F
8166                        BankField (OPR0, BNK0, 0x7F, DWordAcc, NoLock, WriteAsZeros)
8167                        {
8168                                ,   3,
8169                            F039,   64
8170                        }
8171
8172                        Local3 = RefOf (F039)
8173                        Local4 = RefOf (G00C)
8174                    }
8175                    Case (0x41)
8176                    {
8177                        Local2 = 0x80
8178                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, WriteAsZeros)
8179                        {
8180                            AccessAs (DWordAcc, 0x00),
8181                                ,   3,
8182                            F03A,   65
8183                        }
8184
8185                        Local3 = RefOf (F03A)
8186                        Local4 = RefOf (G00D)
8187                    }
8188                    Case (0x45)
8189                    {
8190                        Local2 = 0xFF
8191                        BankField (OPR0, BNK0, 0xFF, DWordAcc, NoLock, WriteAsZeros)
8192                        {
8193                                ,   3,
8194                            F03B,   69
8195                        }
8196
8197                        Local3 = RefOf (F03B)
8198                        Local4 = RefOf (G00E)
8199                    }
8200                    Case (0x81)
8201                    {
8202                        Local2 = 0x00
8203                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, WriteAsZeros)
8204                        {
8205                            AccessAs (DWordAcc, 0x00),
8206                                ,   3,
8207                            F03C,   129
8208                        }
8209
8210                        Local3 = RefOf (F03C)
8211                        Local4 = RefOf (G000)
8212                    }
8213                    Case (0x0100)
8214                    {
8215                        Local2 = 0x01
8216                        BankField (OPR0, BNK0, 0x01, DWordAcc, NoLock, WriteAsZeros)
8217                        {
8218                                ,   3,
8219                            F03D,   256
8220                        }
8221
8222                        Local3 = RefOf (F03D)
8223                        Local4 = RefOf (G001)
8224                    }
8225                    Case (0x03FF)
8226                    {
8227                        Local2 = 0x02
8228                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, WriteAsZeros)
8229                        {
8230                            AccessAs (DWordAcc, 0x00),
8231                                ,   3,
8232                            F03E,   1023
8233                        }
8234
8235                        Local3 = RefOf (F03E)
8236                        Local4 = RefOf (G002)
8237                    }
8238                    Case (0x07BF)
8239                    {
8240                        Local2 = 0x03
8241                        BankField (OPR0, BNK0, 0x03, DWordAcc, NoLock, WriteAsZeros)
8242                        {
8243                                ,   3,
8244                            F03F,   1983
8245                        }
8246
8247                        Local3 = RefOf (F03F)
8248                        Local4 = RefOf (G003)
8249                    }
8250                    Default
8251                    {
8252                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
8253                        Return (Zero)
8254                    }
8255
8256                }
8257            }
8258            Case (0x04)
8259            {
8260                Switch (ToInteger (Arg3))
8261                {
8262                    Case (0x01)
8263                    {
8264                        Local2 = 0x04
8265                        BankField (OPR0, BNK0, 0x04, DWordAcc, NoLock, WriteAsZeros)
8266                        {
8267                                ,   4,
8268                            F040,   1
8269                        }
8270
8271                        Local3 = RefOf (F040)
8272                        Local4 = RefOf (G004)
8273                    }
8274                    Case (0x06)
8275                    {
8276                        Local2 = 0x05
8277                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, WriteAsZeros)
8278                        {
8279                            AccessAs (DWordAcc, 0x00),
8280                                ,   4,
8281                            F041,   6
8282                        }
8283
8284                        Local3 = RefOf (F041)
8285                        Local4 = RefOf (G005)
8286                    }
8287                    Case (0x07)
8288                    {
8289                        Local2 = 0x06
8290                        BankField (OPR0, BNK0, 0x06, DWordAcc, NoLock, WriteAsZeros)
8291                        {
8292                                ,   4,
8293                            F042,   7
8294                        }
8295
8296                        Local3 = RefOf (F042)
8297                        Local4 = RefOf (G006)
8298                    }
8299                    Case (0x08)
8300                    {
8301                        Local2 = 0x07
8302                        BankField (OPR0, BNK0, 0x07, AnyAcc, NoLock, WriteAsZeros)
8303                        {
8304                            AccessAs (DWordAcc, 0x00),
8305                                ,   4,
8306                            F043,   8
8307                        }
8308
8309                        Local3 = RefOf (F043)
8310                        Local4 = RefOf (G007)
8311                    }
8312                    Case (0x09)
8313                    {
8314                        Local2 = 0x08
8315                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, WriteAsZeros)
8316                        {
8317                                ,   4,
8318                            F044,   9
8319                        }
8320
8321                        Local3 = RefOf (F044)
8322                        Local4 = RefOf (G008)
8323                    }
8324                    Case (0x1F)
8325                    {
8326                        Local2 = 0x09
8327                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, WriteAsZeros)
8328                        {
8329                            AccessAs (DWordAcc, 0x00),
8330                                ,   4,
8331                            F045,   31
8332                        }
8333
8334                        Local3 = RefOf (F045)
8335                        Local4 = RefOf (G009)
8336                    }
8337                    Case (0x20)
8338                    {
8339                        Local2 = 0x3F
8340                        BankField (OPR0, BNK0, 0x3F, DWordAcc, NoLock, WriteAsZeros)
8341                        {
8342                                ,   4,
8343                            F046,   32
8344                        }
8345
8346                        Local3 = RefOf (F046)
8347                        Local4 = RefOf (G00A)
8348                    }
8349                    Case (0x21)
8350                    {
8351                        Local2 = 0x40
8352                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, WriteAsZeros)
8353                        {
8354                            AccessAs (DWordAcc, 0x00),
8355                                ,   4,
8356                            F047,   33
8357                        }
8358
8359                        Local3 = RefOf (F047)
8360                        Local4 = RefOf (G00B)
8361                    }
8362                    Case (0x3F)
8363                    {
8364                        Local2 = 0x7F
8365                        BankField (OPR0, BNK0, 0x7F, DWordAcc, NoLock, WriteAsZeros)
8366                        {
8367                                ,   4,
8368                            F048,   63
8369                        }
8370
8371                        Local3 = RefOf (F048)
8372                        Local4 = RefOf (G00C)
8373                    }
8374                    Case (0x40)
8375                    {
8376                        Local2 = 0x80
8377                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, WriteAsZeros)
8378                        {
8379                            AccessAs (DWordAcc, 0x00),
8380                                ,   4,
8381                            F049,   64
8382                        }
8383
8384                        Local3 = RefOf (F049)
8385                        Local4 = RefOf (G00D)
8386                    }
8387                    Case (0x41)
8388                    {
8389                        Local2 = 0xFF
8390                        BankField (OPR0, BNK0, 0xFF, DWordAcc, NoLock, WriteAsZeros)
8391                        {
8392                                ,   4,
8393                            F04A,   65
8394                        }
8395
8396                        Local3 = RefOf (F04A)
8397                        Local4 = RefOf (G00E)
8398                    }
8399                    Case (0x45)
8400                    {
8401                        Local2 = 0x00
8402                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, WriteAsZeros)
8403                        {
8404                            AccessAs (DWordAcc, 0x00),
8405                                ,   4,
8406                            F04B,   69
8407                        }
8408
8409                        Local3 = RefOf (F04B)
8410                        Local4 = RefOf (G000)
8411                    }
8412                    Case (0x81)
8413                    {
8414                        Local2 = 0x01
8415                        BankField (OPR0, BNK0, 0x01, DWordAcc, NoLock, WriteAsZeros)
8416                        {
8417                                ,   4,
8418                            F04C,   129
8419                        }
8420
8421                        Local3 = RefOf (F04C)
8422                        Local4 = RefOf (G001)
8423                    }
8424                    Case (0x0100)
8425                    {
8426                        Local2 = 0x02
8427                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, WriteAsZeros)
8428                        {
8429                            AccessAs (DWordAcc, 0x00),
8430                                ,   4,
8431                            F04D,   256
8432                        }
8433
8434                        Local3 = RefOf (F04D)
8435                        Local4 = RefOf (G002)
8436                    }
8437                    Case (0x03FF)
8438                    {
8439                        Local2 = 0x03
8440                        BankField (OPR0, BNK0, 0x03, DWordAcc, NoLock, WriteAsZeros)
8441                        {
8442                                ,   4,
8443                            F04E,   1023
8444                        }
8445
8446                        Local3 = RefOf (F04E)
8447                        Local4 = RefOf (G003)
8448                    }
8449                    Case (0x07BF)
8450                    {
8451                        Local2 = 0x04
8452                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, WriteAsZeros)
8453                        {
8454                            AccessAs (DWordAcc, 0x00),
8455                                ,   4,
8456                            F04F,   1983
8457                        }
8458
8459                        Local3 = RefOf (F04F)
8460                        Local4 = RefOf (G004)
8461                    }
8462                    Default
8463                    {
8464                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
8465                        Return (Zero)
8466                    }
8467
8468                }
8469            }
8470            Case (0x05)
8471            {
8472                Switch (ToInteger (Arg3))
8473                {
8474                    Case (0x01)
8475                    {
8476                        Local2 = 0x05
8477                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, WriteAsZeros)
8478                        {
8479                            AccessAs (DWordAcc, 0x00),
8480                                ,   5,
8481                            F050,   1
8482                        }
8483
8484                        Local3 = RefOf (F050)
8485                        Local4 = RefOf (G005)
8486                    }
8487                    Case (0x06)
8488                    {
8489                        Local2 = 0x06
8490                        BankField (OPR0, BNK0, 0x06, DWordAcc, NoLock, WriteAsZeros)
8491                        {
8492                                ,   5,
8493                            F051,   6
8494                        }
8495
8496                        Local3 = RefOf (F051)
8497                        Local4 = RefOf (G006)
8498                    }
8499                    Case (0x07)
8500                    {
8501                        Local2 = 0x07
8502                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, WriteAsZeros)
8503                        {
8504                            AccessAs (DWordAcc, 0x00),
8505                                ,   5,
8506                            F052,   7
8507                        }
8508
8509                        Local3 = RefOf (F052)
8510                        Local4 = RefOf (G007)
8511                    }
8512                    Case (0x08)
8513                    {
8514                        Local2 = 0x08
8515                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, WriteAsZeros)
8516                        {
8517                                ,   5,
8518                            F053,   8
8519                        }
8520
8521                        Local3 = RefOf (F053)
8522                        Local4 = RefOf (G008)
8523                    }
8524                    Case (0x09)
8525                    {
8526                        Local2 = 0x09
8527                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, WriteAsZeros)
8528                        {
8529                            AccessAs (DWordAcc, 0x00),
8530                                ,   5,
8531                            F054,   9
8532                        }
8533
8534                        Local3 = RefOf (F054)
8535                        Local4 = RefOf (G009)
8536                    }
8537                    Case (0x1F)
8538                    {
8539                        Local2 = 0x3F
8540                        BankField (OPR0, BNK0, 0x3F, DWordAcc, NoLock, WriteAsZeros)
8541                        {
8542                                ,   5,
8543                            F055,   31
8544                        }
8545
8546                        Local3 = RefOf (F055)
8547                        Local4 = RefOf (G00A)
8548                    }
8549                    Case (0x20)
8550                    {
8551                        Local2 = 0x40
8552                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, WriteAsZeros)
8553                        {
8554                            AccessAs (DWordAcc, 0x00),
8555                                ,   5,
8556                            F056,   32
8557                        }
8558
8559                        Local3 = RefOf (F056)
8560                        Local4 = RefOf (G00B)
8561                    }
8562                    Case (0x21)
8563                    {
8564                        Local2 = 0x7F
8565                        BankField (OPR0, BNK0, 0x7F, DWordAcc, NoLock, WriteAsZeros)
8566                        {
8567                                ,   5,
8568                            F057,   33
8569                        }
8570
8571                        Local3 = RefOf (F057)
8572                        Local4 = RefOf (G00C)
8573                    }
8574                    Case (0x3F)
8575                    {
8576                        Local2 = 0x80
8577                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, WriteAsZeros)
8578                        {
8579                            AccessAs (DWordAcc, 0x00),
8580                                ,   5,
8581                            F058,   63
8582                        }
8583
8584                        Local3 = RefOf (F058)
8585                        Local4 = RefOf (G00D)
8586                    }
8587                    Case (0x40)
8588                    {
8589                        Local2 = 0xFF
8590                        BankField (OPR0, BNK0, 0xFF, DWordAcc, NoLock, WriteAsZeros)
8591                        {
8592                                ,   5,
8593                            F059,   64
8594                        }
8595
8596                        Local3 = RefOf (F059)
8597                        Local4 = RefOf (G00E)
8598                    }
8599                    Case (0x41)
8600                    {
8601                        Local2 = 0x00
8602                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, WriteAsZeros)
8603                        {
8604                            AccessAs (DWordAcc, 0x00),
8605                                ,   5,
8606                            F05A,   65
8607                        }
8608
8609                        Local3 = RefOf (F05A)
8610                        Local4 = RefOf (G000)
8611                    }
8612                    Case (0x45)
8613                    {
8614                        Local2 = 0x01
8615                        BankField (OPR0, BNK0, 0x01, DWordAcc, NoLock, WriteAsZeros)
8616                        {
8617                                ,   5,
8618                            F05B,   69
8619                        }
8620
8621                        Local3 = RefOf (F05B)
8622                        Local4 = RefOf (G001)
8623                    }
8624                    Case (0x81)
8625                    {
8626                        Local2 = 0x02
8627                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, WriteAsZeros)
8628                        {
8629                            AccessAs (DWordAcc, 0x00),
8630                                ,   5,
8631                            F05C,   129
8632                        }
8633
8634                        Local3 = RefOf (F05C)
8635                        Local4 = RefOf (G002)
8636                    }
8637                    Case (0x0100)
8638                    {
8639                        Local2 = 0x03
8640                        BankField (OPR0, BNK0, 0x03, DWordAcc, NoLock, WriteAsZeros)
8641                        {
8642                                ,   5,
8643                            F05D,   256
8644                        }
8645
8646                        Local3 = RefOf (F05D)
8647                        Local4 = RefOf (G003)
8648                    }
8649                    Case (0x03FF)
8650                    {
8651                        Local2 = 0x04
8652                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, WriteAsZeros)
8653                        {
8654                            AccessAs (DWordAcc, 0x00),
8655                                ,   5,
8656                            F05E,   1023
8657                        }
8658
8659                        Local3 = RefOf (F05E)
8660                        Local4 = RefOf (G004)
8661                    }
8662                    Case (0x07BF)
8663                    {
8664                        Local2 = 0x05
8665                        BankField (OPR0, BNK0, 0x05, DWordAcc, NoLock, WriteAsZeros)
8666                        {
8667                                ,   5,
8668                            F05F,   1983
8669                        }
8670
8671                        Local3 = RefOf (F05F)
8672                        Local4 = RefOf (G005)
8673                    }
8674                    Default
8675                    {
8676                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
8677                        Return (Zero)
8678                    }
8679
8680                }
8681            }
8682            Case (0x06)
8683            {
8684                Switch (ToInteger (Arg3))
8685                {
8686                    Case (0x01)
8687                    {
8688                        Local2 = 0x06
8689                        BankField (OPR0, BNK0, 0x06, DWordAcc, NoLock, WriteAsZeros)
8690                        {
8691                                ,   6,
8692                            F060,   1
8693                        }
8694
8695                        Local3 = RefOf (F060)
8696                        Local4 = RefOf (G006)
8697                    }
8698                    Case (0x06)
8699                    {
8700                        Local2 = 0x07
8701                        BankField (OPR0, BNK0, 0x07, AnyAcc, NoLock, WriteAsZeros)
8702                        {
8703                            AccessAs (DWordAcc, 0x00),
8704                                ,   6,
8705                            F061,   6
8706                        }
8707
8708                        Local3 = RefOf (F061)
8709                        Local4 = RefOf (G007)
8710                    }
8711                    Case (0x07)
8712                    {
8713                        Local2 = 0x08
8714                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, WriteAsZeros)
8715                        {
8716                                ,   6,
8717                            F062,   7
8718                        }
8719
8720                        Local3 = RefOf (F062)
8721                        Local4 = RefOf (G008)
8722                    }
8723                    Case (0x08)
8724                    {
8725                        Local2 = 0x09
8726                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, WriteAsZeros)
8727                        {
8728                            AccessAs (DWordAcc, 0x00),
8729                                ,   6,
8730                            F063,   8
8731                        }
8732
8733                        Local3 = RefOf (F063)
8734                        Local4 = RefOf (G009)
8735                    }
8736                    Case (0x09)
8737                    {
8738                        Local2 = 0x3F
8739                        BankField (OPR0, BNK0, 0x3F, DWordAcc, NoLock, WriteAsZeros)
8740                        {
8741                                ,   6,
8742                            F064,   9
8743                        }
8744
8745                        Local3 = RefOf (F064)
8746                        Local4 = RefOf (G00A)
8747                    }
8748                    Case (0x1F)
8749                    {
8750                        Local2 = 0x40
8751                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, WriteAsZeros)
8752                        {
8753                            AccessAs (DWordAcc, 0x00),
8754                                ,   6,
8755                            F065,   31
8756                        }
8757
8758                        Local3 = RefOf (F065)
8759                        Local4 = RefOf (G00B)
8760                    }
8761                    Case (0x20)
8762                    {
8763                        Local2 = 0x7F
8764                        BankField (OPR0, BNK0, 0x7F, DWordAcc, NoLock, WriteAsZeros)
8765                        {
8766                                ,   6,
8767                            F066,   32
8768                        }
8769
8770                        Local3 = RefOf (F066)
8771                        Local4 = RefOf (G00C)
8772                    }
8773                    Case (0x21)
8774                    {
8775                        Local2 = 0x80
8776                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, WriteAsZeros)
8777                        {
8778                            AccessAs (DWordAcc, 0x00),
8779                                ,   6,
8780                            F067,   33
8781                        }
8782
8783                        Local3 = RefOf (F067)
8784                        Local4 = RefOf (G00D)
8785                    }
8786                    Case (0x3F)
8787                    {
8788                        Local2 = 0xFF
8789                        BankField (OPR0, BNK0, 0xFF, DWordAcc, NoLock, WriteAsZeros)
8790                        {
8791                                ,   6,
8792                            F068,   63
8793                        }
8794
8795                        Local3 = RefOf (F068)
8796                        Local4 = RefOf (G00E)
8797                    }
8798                    Case (0x40)
8799                    {
8800                        Local2 = 0x00
8801                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, WriteAsZeros)
8802                        {
8803                            AccessAs (DWordAcc, 0x00),
8804                                ,   6,
8805                            F069,   64
8806                        }
8807
8808                        Local3 = RefOf (F069)
8809                        Local4 = RefOf (G000)
8810                    }
8811                    Case (0x41)
8812                    {
8813                        Local2 = 0x01
8814                        BankField (OPR0, BNK0, 0x01, DWordAcc, NoLock, WriteAsZeros)
8815                        {
8816                                ,   6,
8817                            F06A,   65
8818                        }
8819
8820                        Local3 = RefOf (F06A)
8821                        Local4 = RefOf (G001)
8822                    }
8823                    Case (0x45)
8824                    {
8825                        Local2 = 0x02
8826                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, WriteAsZeros)
8827                        {
8828                            AccessAs (DWordAcc, 0x00),
8829                                ,   6,
8830                            F06B,   69
8831                        }
8832
8833                        Local3 = RefOf (F06B)
8834                        Local4 = RefOf (G002)
8835                    }
8836                    Case (0x81)
8837                    {
8838                        Local2 = 0x03
8839                        BankField (OPR0, BNK0, 0x03, DWordAcc, NoLock, WriteAsZeros)
8840                        {
8841                                ,   6,
8842                            F06C,   129
8843                        }
8844
8845                        Local3 = RefOf (F06C)
8846                        Local4 = RefOf (G003)
8847                    }
8848                    Case (0x0100)
8849                    {
8850                        Local2 = 0x04
8851                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, WriteAsZeros)
8852                        {
8853                            AccessAs (DWordAcc, 0x00),
8854                                ,   6,
8855                            F06D,   256
8856                        }
8857
8858                        Local3 = RefOf (F06D)
8859                        Local4 = RefOf (G004)
8860                    }
8861                    Case (0x03FF)
8862                    {
8863                        Local2 = 0x05
8864                        BankField (OPR0, BNK0, 0x05, DWordAcc, NoLock, WriteAsZeros)
8865                        {
8866                                ,   6,
8867                            F06E,   1023
8868                        }
8869
8870                        Local3 = RefOf (F06E)
8871                        Local4 = RefOf (G005)
8872                    }
8873                    Case (0x07BF)
8874                    {
8875                        Local2 = 0x06
8876                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, WriteAsZeros)
8877                        {
8878                            AccessAs (DWordAcc, 0x00),
8879                                ,   6,
8880                            F06F,   1983
8881                        }
8882
8883                        Local3 = RefOf (F06F)
8884                        Local4 = RefOf (G006)
8885                    }
8886                    Default
8887                    {
8888                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
8889                        Return (Zero)
8890                    }
8891
8892                }
8893            }
8894            Case (0x07)
8895            {
8896                Switch (ToInteger (Arg3))
8897                {
8898                    Case (0x01)
8899                    {
8900                        Local2 = 0x07
8901                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, WriteAsZeros)
8902                        {
8903                            AccessAs (DWordAcc, 0x00),
8904                                ,   7,
8905                            F070,   1
8906                        }
8907
8908                        Local3 = RefOf (F070)
8909                        Local4 = RefOf (G007)
8910                    }
8911                    Case (0x06)
8912                    {
8913                        Local2 = 0x08
8914                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, WriteAsZeros)
8915                        {
8916                                ,   7,
8917                            F071,   6
8918                        }
8919
8920                        Local3 = RefOf (F071)
8921                        Local4 = RefOf (G008)
8922                    }
8923                    Case (0x07)
8924                    {
8925                        Local2 = 0x09
8926                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, WriteAsZeros)
8927                        {
8928                            AccessAs (DWordAcc, 0x00),
8929                                ,   7,
8930                            F072,   7
8931                        }
8932
8933                        Local3 = RefOf (F072)
8934                        Local4 = RefOf (G009)
8935                    }
8936                    Case (0x08)
8937                    {
8938                        Local2 = 0x3F
8939                        BankField (OPR0, BNK0, 0x3F, DWordAcc, NoLock, WriteAsZeros)
8940                        {
8941                                ,   7,
8942                            F073,   8
8943                        }
8944
8945                        Local3 = RefOf (F073)
8946                        Local4 = RefOf (G00A)
8947                    }
8948                    Case (0x09)
8949                    {
8950                        Local2 = 0x40
8951                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, WriteAsZeros)
8952                        {
8953                            AccessAs (DWordAcc, 0x00),
8954                                ,   7,
8955                            F074,   9
8956                        }
8957
8958                        Local3 = RefOf (F074)
8959                        Local4 = RefOf (G00B)
8960                    }
8961                    Case (0x1F)
8962                    {
8963                        Local2 = 0x7F
8964                        BankField (OPR0, BNK0, 0x7F, DWordAcc, NoLock, WriteAsZeros)
8965                        {
8966                                ,   7,
8967                            F075,   31
8968                        }
8969
8970                        Local3 = RefOf (F075)
8971                        Local4 = RefOf (G00C)
8972                    }
8973                    Case (0x20)
8974                    {
8975                        Local2 = 0x80
8976                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, WriteAsZeros)
8977                        {
8978                            AccessAs (DWordAcc, 0x00),
8979                                ,   7,
8980                            F076,   32
8981                        }
8982
8983                        Local3 = RefOf (F076)
8984                        Local4 = RefOf (G00D)
8985                    }
8986                    Case (0x21)
8987                    {
8988                        Local2 = 0xFF
8989                        BankField (OPR0, BNK0, 0xFF, DWordAcc, NoLock, WriteAsZeros)
8990                        {
8991                                ,   7,
8992                            F077,   33
8993                        }
8994
8995                        Local3 = RefOf (F077)
8996                        Local4 = RefOf (G00E)
8997                    }
8998                    Case (0x3F)
8999                    {
9000                        Local2 = 0x00
9001                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, WriteAsZeros)
9002                        {
9003                            AccessAs (DWordAcc, 0x00),
9004                                ,   7,
9005                            F078,   63
9006                        }
9007
9008                        Local3 = RefOf (F078)
9009                        Local4 = RefOf (G000)
9010                    }
9011                    Case (0x40)
9012                    {
9013                        Local2 = 0x01
9014                        BankField (OPR0, BNK0, 0x01, DWordAcc, NoLock, WriteAsZeros)
9015                        {
9016                                ,   7,
9017                            F079,   64
9018                        }
9019
9020                        Local3 = RefOf (F079)
9021                        Local4 = RefOf (G001)
9022                    }
9023                    Case (0x41)
9024                    {
9025                        Local2 = 0x02
9026                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, WriteAsZeros)
9027                        {
9028                            AccessAs (DWordAcc, 0x00),
9029                                ,   7,
9030                            F07A,   65
9031                        }
9032
9033                        Local3 = RefOf (F07A)
9034                        Local4 = RefOf (G002)
9035                    }
9036                    Case (0x45)
9037                    {
9038                        Local2 = 0x03
9039                        BankField (OPR0, BNK0, 0x03, DWordAcc, NoLock, WriteAsZeros)
9040                        {
9041                                ,   7,
9042                            F07B,   69
9043                        }
9044
9045                        Local3 = RefOf (F07B)
9046                        Local4 = RefOf (G003)
9047                    }
9048                    Case (0x81)
9049                    {
9050                        Local2 = 0x04
9051                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, WriteAsZeros)
9052                        {
9053                            AccessAs (DWordAcc, 0x00),
9054                                ,   7,
9055                            F07C,   129
9056                        }
9057
9058                        Local3 = RefOf (F07C)
9059                        Local4 = RefOf (G004)
9060                    }
9061                    Case (0x0100)
9062                    {
9063                        Local2 = 0x05
9064                        BankField (OPR0, BNK0, 0x05, DWordAcc, NoLock, WriteAsZeros)
9065                        {
9066                                ,   7,
9067                            F07D,   256
9068                        }
9069
9070                        Local3 = RefOf (F07D)
9071                        Local4 = RefOf (G005)
9072                    }
9073                    Case (0x03FF)
9074                    {
9075                        Local2 = 0x06
9076                        BankField (OPR0, BNK0, 0x06, AnyAcc, NoLock, WriteAsZeros)
9077                        {
9078                            AccessAs (DWordAcc, 0x00),
9079                                ,   7,
9080                            F07E,   1023
9081                        }
9082
9083                        Local3 = RefOf (F07E)
9084                        Local4 = RefOf (G006)
9085                    }
9086                    Case (0x07BF)
9087                    {
9088                        Local2 = 0x07
9089                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, WriteAsZeros)
9090                        {
9091                                ,   7,
9092                            F07F,   1983
9093                        }
9094
9095                        Local3 = RefOf (F07F)
9096                        Local4 = RefOf (G007)
9097                    }
9098                    Default
9099                    {
9100                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
9101                        Return (Zero)
9102                    }
9103
9104                }
9105            }
9106            Case (0x08)
9107            {
9108                Switch (ToInteger (Arg3))
9109                {
9110                    Case (0x01)
9111                    {
9112                        Local2 = 0x08
9113                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, WriteAsZeros)
9114                        {
9115                            Offset (0x01),
9116                            F080,   1
9117                        }
9118
9119                        Local3 = RefOf (F080)
9120                        Local4 = RefOf (G008)
9121                    }
9122                    Case (0x06)
9123                    {
9124                        Local2 = 0x09
9125                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, WriteAsZeros)
9126                        {
9127                            AccessAs (DWordAcc, 0x00),
9128                            Offset (0x01),
9129                            F081,   6
9130                        }
9131
9132                        Local3 = RefOf (F081)
9133                        Local4 = RefOf (G009)
9134                    }
9135                    Case (0x07)
9136                    {
9137                        Local2 = 0x3F
9138                        BankField (OPR0, BNK0, 0x3F, DWordAcc, NoLock, WriteAsZeros)
9139                        {
9140                            Offset (0x01),
9141                            F082,   7
9142                        }
9143
9144                        Local3 = RefOf (F082)
9145                        Local4 = RefOf (G00A)
9146                    }
9147                    Case (0x08)
9148                    {
9149                        Local2 = 0x40
9150                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, WriteAsZeros)
9151                        {
9152                            AccessAs (DWordAcc, 0x00),
9153                            Offset (0x01),
9154                            F083,   8
9155                        }
9156
9157                        Local3 = RefOf (F083)
9158                        Local4 = RefOf (G00B)
9159                    }
9160                    Case (0x09)
9161                    {
9162                        Local2 = 0x7F
9163                        BankField (OPR0, BNK0, 0x7F, DWordAcc, NoLock, WriteAsZeros)
9164                        {
9165                            Offset (0x01),
9166                            F084,   9
9167                        }
9168
9169                        Local3 = RefOf (F084)
9170                        Local4 = RefOf (G00C)
9171                    }
9172                    Case (0x1F)
9173                    {
9174                        Local2 = 0x80
9175                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, WriteAsZeros)
9176                        {
9177                            AccessAs (DWordAcc, 0x00),
9178                            Offset (0x01),
9179                            F085,   31
9180                        }
9181
9182                        Local3 = RefOf (F085)
9183                        Local4 = RefOf (G00D)
9184                    }
9185                    Case (0x20)
9186                    {
9187                        Local2 = 0xFF
9188                        BankField (OPR0, BNK0, 0xFF, DWordAcc, NoLock, WriteAsZeros)
9189                        {
9190                            Offset (0x01),
9191                            F086,   32
9192                        }
9193
9194                        Local3 = RefOf (F086)
9195                        Local4 = RefOf (G00E)
9196                    }
9197                    Case (0x21)
9198                    {
9199                        Local2 = 0x00
9200                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, WriteAsZeros)
9201                        {
9202                            AccessAs (DWordAcc, 0x00),
9203                            Offset (0x01),
9204                            F087,   33
9205                        }
9206
9207                        Local3 = RefOf (F087)
9208                        Local4 = RefOf (G000)
9209                    }
9210                    Case (0x3F)
9211                    {
9212                        Local2 = 0x01
9213                        BankField (OPR0, BNK0, 0x01, DWordAcc, NoLock, WriteAsZeros)
9214                        {
9215                            Offset (0x01),
9216                            F088,   63
9217                        }
9218
9219                        Local3 = RefOf (F088)
9220                        Local4 = RefOf (G001)
9221                    }
9222                    Case (0x40)
9223                    {
9224                        Local2 = 0x02
9225                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, WriteAsZeros)
9226                        {
9227                            AccessAs (DWordAcc, 0x00),
9228                            Offset (0x01),
9229                            F089,   64
9230                        }
9231
9232                        Local3 = RefOf (F089)
9233                        Local4 = RefOf (G002)
9234                    }
9235                    Case (0x41)
9236                    {
9237                        Local2 = 0x03
9238                        BankField (OPR0, BNK0, 0x03, DWordAcc, NoLock, WriteAsZeros)
9239                        {
9240                            Offset (0x01),
9241                            F08A,   65
9242                        }
9243
9244                        Local3 = RefOf (F08A)
9245                        Local4 = RefOf (G003)
9246                    }
9247                    Case (0x45)
9248                    {
9249                        Local2 = 0x04
9250                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, WriteAsZeros)
9251                        {
9252                            AccessAs (DWordAcc, 0x00),
9253                            Offset (0x01),
9254                            F08B,   69
9255                        }
9256
9257                        Local3 = RefOf (F08B)
9258                        Local4 = RefOf (G004)
9259                    }
9260                    Case (0x81)
9261                    {
9262                        Local2 = 0x05
9263                        BankField (OPR0, BNK0, 0x05, DWordAcc, NoLock, WriteAsZeros)
9264                        {
9265                            Offset (0x01),
9266                            F08C,   129
9267                        }
9268
9269                        Local3 = RefOf (F08C)
9270                        Local4 = RefOf (G005)
9271                    }
9272                    Case (0x0100)
9273                    {
9274                        Local2 = 0x06
9275                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, WriteAsZeros)
9276                        {
9277                            AccessAs (DWordAcc, 0x00),
9278                            Offset (0x01),
9279                            F08D,   256
9280                        }
9281
9282                        Local3 = RefOf (F08D)
9283                        Local4 = RefOf (G006)
9284                    }
9285                    Case (0x03FF)
9286                    {
9287                        Local2 = 0x07
9288                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, WriteAsZeros)
9289                        {
9290                            Offset (0x01),
9291                            F08E,   1023
9292                        }
9293
9294                        Local3 = RefOf (F08E)
9295                        Local4 = RefOf (G007)
9296                    }
9297                    Case (0x07BF)
9298                    {
9299                        Local2 = 0x08
9300                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, WriteAsZeros)
9301                        {
9302                            AccessAs (DWordAcc, 0x00),
9303                            Offset (0x01),
9304                            F08F,   1983
9305                        }
9306
9307                        Local3 = RefOf (F08F)
9308                        Local4 = RefOf (G008)
9309                    }
9310                    Default
9311                    {
9312                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
9313                        Return (Zero)
9314                    }
9315
9316                }
9317            }
9318            Case (0x09)
9319            {
9320                Switch (ToInteger (Arg3))
9321                {
9322                    Case (0x01)
9323                    {
9324                        Local2 = 0x09
9325                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, WriteAsZeros)
9326                        {
9327                            AccessAs (DWordAcc, 0x00),
9328                                ,   9,
9329                            F090,   1
9330                        }
9331
9332                        Local3 = RefOf (F090)
9333                        Local4 = RefOf (G009)
9334                    }
9335                    Case (0x06)
9336                    {
9337                        Local2 = 0x3F
9338                        BankField (OPR0, BNK0, 0x3F, DWordAcc, NoLock, WriteAsZeros)
9339                        {
9340                                ,   9,
9341                            F091,   6
9342                        }
9343
9344                        Local3 = RefOf (F091)
9345                        Local4 = RefOf (G00A)
9346                    }
9347                    Case (0x07)
9348                    {
9349                        Local2 = 0x40
9350                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, WriteAsZeros)
9351                        {
9352                            AccessAs (DWordAcc, 0x00),
9353                                ,   9,
9354                            F092,   7
9355                        }
9356
9357                        Local3 = RefOf (F092)
9358                        Local4 = RefOf (G00B)
9359                    }
9360                    Case (0x08)
9361                    {
9362                        Local2 = 0x7F
9363                        BankField (OPR0, BNK0, 0x7F, DWordAcc, NoLock, WriteAsZeros)
9364                        {
9365                                ,   9,
9366                            F093,   8
9367                        }
9368
9369                        Local3 = RefOf (F093)
9370                        Local4 = RefOf (G00C)
9371                    }
9372                    Case (0x09)
9373                    {
9374                        Local2 = 0x80
9375                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, WriteAsZeros)
9376                        {
9377                            AccessAs (DWordAcc, 0x00),
9378                                ,   9,
9379                            F094,   9
9380                        }
9381
9382                        Local3 = RefOf (F094)
9383                        Local4 = RefOf (G00D)
9384                    }
9385                    Case (0x1F)
9386                    {
9387                        Local2 = 0xFF
9388                        BankField (OPR0, BNK0, 0xFF, DWordAcc, NoLock, WriteAsZeros)
9389                        {
9390                                ,   9,
9391                            F095,   31
9392                        }
9393
9394                        Local3 = RefOf (F095)
9395                        Local4 = RefOf (G00E)
9396                    }
9397                    Case (0x20)
9398                    {
9399                        Local2 = 0x00
9400                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, WriteAsZeros)
9401                        {
9402                            AccessAs (DWordAcc, 0x00),
9403                                ,   9,
9404                            F096,   32
9405                        }
9406
9407                        Local3 = RefOf (F096)
9408                        Local4 = RefOf (G000)
9409                    }
9410                    Case (0x21)
9411                    {
9412                        Local2 = 0x01
9413                        BankField (OPR0, BNK0, 0x01, DWordAcc, NoLock, WriteAsZeros)
9414                        {
9415                                ,   9,
9416                            F097,   33
9417                        }
9418
9419                        Local3 = RefOf (F097)
9420                        Local4 = RefOf (G001)
9421                    }
9422                    Case (0x3F)
9423                    {
9424                        Local2 = 0x02
9425                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, WriteAsZeros)
9426                        {
9427                            AccessAs (DWordAcc, 0x00),
9428                                ,   9,
9429                            F098,   63
9430                        }
9431
9432                        Local3 = RefOf (F098)
9433                        Local4 = RefOf (G002)
9434                    }
9435                    Case (0x40)
9436                    {
9437                        Local2 = 0x03
9438                        BankField (OPR0, BNK0, 0x03, DWordAcc, NoLock, WriteAsZeros)
9439                        {
9440                                ,   9,
9441                            F099,   64
9442                        }
9443
9444                        Local3 = RefOf (F099)
9445                        Local4 = RefOf (G003)
9446                    }
9447                    Case (0x41)
9448                    {
9449                        Local2 = 0x04
9450                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, WriteAsZeros)
9451                        {
9452                            AccessAs (DWordAcc, 0x00),
9453                                ,   9,
9454                            F09A,   65
9455                        }
9456
9457                        Local3 = RefOf (F09A)
9458                        Local4 = RefOf (G004)
9459                    }
9460                    Case (0x45)
9461                    {
9462                        Local2 = 0x05
9463                        BankField (OPR0, BNK0, 0x05, DWordAcc, NoLock, WriteAsZeros)
9464                        {
9465                                ,   9,
9466                            F09B,   69
9467                        }
9468
9469                        Local3 = RefOf (F09B)
9470                        Local4 = RefOf (G005)
9471                    }
9472                    Case (0x81)
9473                    {
9474                        Local2 = 0x06
9475                        BankField (OPR0, BNK0, 0x06, AnyAcc, NoLock, WriteAsZeros)
9476                        {
9477                            AccessAs (DWordAcc, 0x00),
9478                                ,   9,
9479                            F09C,   129
9480                        }
9481
9482                        Local3 = RefOf (F09C)
9483                        Local4 = RefOf (G006)
9484                    }
9485                    Case (0x0100)
9486                    {
9487                        Local2 = 0x07
9488                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, WriteAsZeros)
9489                        {
9490                                ,   9,
9491                            F09D,   256
9492                        }
9493
9494                        Local3 = RefOf (F09D)
9495                        Local4 = RefOf (G007)
9496                    }
9497                    Case (0x03FF)
9498                    {
9499                        Local2 = 0x08
9500                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, WriteAsZeros)
9501                        {
9502                            AccessAs (DWordAcc, 0x00),
9503                                ,   9,
9504                            F09E,   1023
9505                        }
9506
9507                        Local3 = RefOf (F09E)
9508                        Local4 = RefOf (G008)
9509                    }
9510                    Case (0x07BF)
9511                    {
9512                        Local2 = 0x09
9513                        BankField (OPR0, BNK0, 0x09, DWordAcc, NoLock, WriteAsZeros)
9514                        {
9515                                ,   9,
9516                            F09F,   1983
9517                        }
9518
9519                        Local3 = RefOf (F09F)
9520                        Local4 = RefOf (G009)
9521                    }
9522                    Default
9523                    {
9524                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
9525                        Return (Zero)
9526                    }
9527
9528                }
9529            }
9530            Case (0x1F)
9531            {
9532                Switch (ToInteger (Arg3))
9533                {
9534                    Case (0x01)
9535                    {
9536                        Local2 = 0x3F
9537                        BankField (OPR0, BNK0, 0x3F, DWordAcc, NoLock, WriteAsZeros)
9538                        {
9539                            Offset (0x03),
9540                                ,   7,
9541                            F0A0,   1
9542                        }
9543
9544                        Local3 = RefOf (F0A0)
9545                        Local4 = RefOf (G00A)
9546                    }
9547                    Case (0x06)
9548                    {
9549                        Local2 = 0x40
9550                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, WriteAsZeros)
9551                        {
9552                            AccessAs (DWordAcc, 0x00),
9553                            Offset (0x03),
9554                                ,   7,
9555                            F0A1,   6
9556                        }
9557
9558                        Local3 = RefOf (F0A1)
9559                        Local4 = RefOf (G00B)
9560                    }
9561                    Case (0x07)
9562                    {
9563                        Local2 = 0x7F
9564                        BankField (OPR0, BNK0, 0x7F, DWordAcc, NoLock, WriteAsZeros)
9565                        {
9566                            Offset (0x03),
9567                                ,   7,
9568                            F0A2,   7
9569                        }
9570
9571                        Local3 = RefOf (F0A2)
9572                        Local4 = RefOf (G00C)
9573                    }
9574                    Case (0x08)
9575                    {
9576                        Local2 = 0x80
9577                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, WriteAsZeros)
9578                        {
9579                            AccessAs (DWordAcc, 0x00),
9580                            Offset (0x03),
9581                                ,   7,
9582                            F0A3,   8
9583                        }
9584
9585                        Local3 = RefOf (F0A3)
9586                        Local4 = RefOf (G00D)
9587                    }
9588                    Case (0x09)
9589                    {
9590                        Local2 = 0xFF
9591                        BankField (OPR0, BNK0, 0xFF, DWordAcc, NoLock, WriteAsZeros)
9592                        {
9593                            Offset (0x03),
9594                                ,   7,
9595                            F0A4,   9
9596                        }
9597
9598                        Local3 = RefOf (F0A4)
9599                        Local4 = RefOf (G00E)
9600                    }
9601                    Case (0x1F)
9602                    {
9603                        Local2 = 0x00
9604                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, WriteAsZeros)
9605                        {
9606                            AccessAs (DWordAcc, 0x00),
9607                            Offset (0x03),
9608                                ,   7,
9609                            F0A5,   31
9610                        }
9611
9612                        Local3 = RefOf (F0A5)
9613                        Local4 = RefOf (G000)
9614                    }
9615                    Case (0x20)
9616                    {
9617                        Local2 = 0x01
9618                        BankField (OPR0, BNK0, 0x01, DWordAcc, NoLock, WriteAsZeros)
9619                        {
9620                            Offset (0x03),
9621                                ,   7,
9622                            F0A6,   32
9623                        }
9624
9625                        Local3 = RefOf (F0A6)
9626                        Local4 = RefOf (G001)
9627                    }
9628                    Case (0x21)
9629                    {
9630                        Local2 = 0x02
9631                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, WriteAsZeros)
9632                        {
9633                            AccessAs (DWordAcc, 0x00),
9634                            Offset (0x03),
9635                                ,   7,
9636                            F0A7,   33
9637                        }
9638
9639                        Local3 = RefOf (F0A7)
9640                        Local4 = RefOf (G002)
9641                    }
9642                    Case (0x3F)
9643                    {
9644                        Local2 = 0x03
9645                        BankField (OPR0, BNK0, 0x03, DWordAcc, NoLock, WriteAsZeros)
9646                        {
9647                            Offset (0x03),
9648                                ,   7,
9649                            F0A8,   63
9650                        }
9651
9652                        Local3 = RefOf (F0A8)
9653                        Local4 = RefOf (G003)
9654                    }
9655                    Case (0x40)
9656                    {
9657                        Local2 = 0x04
9658                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, WriteAsZeros)
9659                        {
9660                            AccessAs (DWordAcc, 0x00),
9661                            Offset (0x03),
9662                                ,   7,
9663                            F0A9,   64
9664                        }
9665
9666                        Local3 = RefOf (F0A9)
9667                        Local4 = RefOf (G004)
9668                    }
9669                    Case (0x41)
9670                    {
9671                        Local2 = 0x05
9672                        BankField (OPR0, BNK0, 0x05, DWordAcc, NoLock, WriteAsZeros)
9673                        {
9674                            Offset (0x03),
9675                                ,   7,
9676                            F0AA,   65
9677                        }
9678
9679                        Local3 = RefOf (F0AA)
9680                        Local4 = RefOf (G005)
9681                    }
9682                    Case (0x45)
9683                    {
9684                        Local2 = 0x06
9685                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, WriteAsZeros)
9686                        {
9687                            AccessAs (DWordAcc, 0x00),
9688                            Offset (0x03),
9689                                ,   7,
9690                            F0AB,   69
9691                        }
9692
9693                        Local3 = RefOf (F0AB)
9694                        Local4 = RefOf (G006)
9695                    }
9696                    Case (0x81)
9697                    {
9698                        Local2 = 0x07
9699                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, WriteAsZeros)
9700                        {
9701                            Offset (0x03),
9702                                ,   7,
9703                            F0AC,   129
9704                        }
9705
9706                        Local3 = RefOf (F0AC)
9707                        Local4 = RefOf (G007)
9708                    }
9709                    Case (0x0100)
9710                    {
9711                        Local2 = 0x08
9712                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, WriteAsZeros)
9713                        {
9714                            AccessAs (DWordAcc, 0x00),
9715                            Offset (0x03),
9716                                ,   7,
9717                            F0AD,   256
9718                        }
9719
9720                        Local3 = RefOf (F0AD)
9721                        Local4 = RefOf (G008)
9722                    }
9723                    Case (0x03FF)
9724                    {
9725                        Local2 = 0x09
9726                        BankField (OPR0, BNK0, 0x09, DWordAcc, NoLock, WriteAsZeros)
9727                        {
9728                            Offset (0x03),
9729                                ,   7,
9730                            F0AE,   1023
9731                        }
9732
9733                        Local3 = RefOf (F0AE)
9734                        Local4 = RefOf (G009)
9735                    }
9736                    Case (0x07BF)
9737                    {
9738                        Local2 = 0x3F
9739                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, WriteAsZeros)
9740                        {
9741                            AccessAs (DWordAcc, 0x00),
9742                            Offset (0x03),
9743                                ,   7,
9744                            F0AF,   1983
9745                        }
9746
9747                        Local3 = RefOf (F0AF)
9748                        Local4 = RefOf (G00A)
9749                    }
9750                    Default
9751                    {
9752                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
9753                        Return (Zero)
9754                    }
9755
9756                }
9757            }
9758            Case (0x20)
9759            {
9760                Switch (ToInteger (Arg3))
9761                {
9762                    Case (0x01)
9763                    {
9764                        Local2 = 0x40
9765                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, WriteAsZeros)
9766                        {
9767                            AccessAs (DWordAcc, 0x00),
9768                            Offset (0x04),
9769                            F0B0,   1
9770                        }
9771
9772                        Local3 = RefOf (F0B0)
9773                        Local4 = RefOf (G00B)
9774                    }
9775                    Case (0x06)
9776                    {
9777                        Local2 = 0x7F
9778                        BankField (OPR0, BNK0, 0x7F, DWordAcc, NoLock, WriteAsZeros)
9779                        {
9780                            Offset (0x04),
9781                            F0B1,   6
9782                        }
9783
9784                        Local3 = RefOf (F0B1)
9785                        Local4 = RefOf (G00C)
9786                    }
9787                    Case (0x07)
9788                    {
9789                        Local2 = 0x80
9790                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, WriteAsZeros)
9791                        {
9792                            AccessAs (DWordAcc, 0x00),
9793                            Offset (0x04),
9794                            F0B2,   7
9795                        }
9796
9797                        Local3 = RefOf (F0B2)
9798                        Local4 = RefOf (G00D)
9799                    }
9800                    Case (0x08)
9801                    {
9802                        Local2 = 0xFF
9803                        BankField (OPR0, BNK0, 0xFF, DWordAcc, NoLock, WriteAsZeros)
9804                        {
9805                            Offset (0x04),
9806                            F0B3,   8
9807                        }
9808
9809                        Local3 = RefOf (F0B3)
9810                        Local4 = RefOf (G00E)
9811                    }
9812                    Case (0x09)
9813                    {
9814                        Local2 = 0x00
9815                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, WriteAsZeros)
9816                        {
9817                            AccessAs (DWordAcc, 0x00),
9818                            Offset (0x04),
9819                            F0B4,   9
9820                        }
9821
9822                        Local3 = RefOf (F0B4)
9823                        Local4 = RefOf (G000)
9824                    }
9825                    Case (0x1F)
9826                    {
9827                        Local2 = 0x01
9828                        BankField (OPR0, BNK0, 0x01, DWordAcc, NoLock, WriteAsZeros)
9829                        {
9830                            Offset (0x04),
9831                            F0B5,   31
9832                        }
9833
9834                        Local3 = RefOf (F0B5)
9835                        Local4 = RefOf (G001)
9836                    }
9837                    Case (0x20)
9838                    {
9839                        Local2 = 0x02
9840                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, WriteAsZeros)
9841                        {
9842                            AccessAs (DWordAcc, 0x00),
9843                            Offset (0x04),
9844                            F0B6,   32
9845                        }
9846
9847                        Local3 = RefOf (F0B6)
9848                        Local4 = RefOf (G002)
9849                    }
9850                    Case (0x21)
9851                    {
9852                        Local2 = 0x03
9853                        BankField (OPR0, BNK0, 0x03, DWordAcc, NoLock, WriteAsZeros)
9854                        {
9855                            Offset (0x04),
9856                            F0B7,   33
9857                        }
9858
9859                        Local3 = RefOf (F0B7)
9860                        Local4 = RefOf (G003)
9861                    }
9862                    Case (0x3F)
9863                    {
9864                        Local2 = 0x04
9865                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, WriteAsZeros)
9866                        {
9867                            AccessAs (DWordAcc, 0x00),
9868                            Offset (0x04),
9869                            F0B8,   63
9870                        }
9871
9872                        Local3 = RefOf (F0B8)
9873                        Local4 = RefOf (G004)
9874                    }
9875                    Case (0x40)
9876                    {
9877                        Local2 = 0x05
9878                        BankField (OPR0, BNK0, 0x05, DWordAcc, NoLock, WriteAsZeros)
9879                        {
9880                            Offset (0x04),
9881                            F0B9,   64
9882                        }
9883
9884                        Local3 = RefOf (F0B9)
9885                        Local4 = RefOf (G005)
9886                    }
9887                    Case (0x41)
9888                    {
9889                        Local2 = 0x06
9890                        BankField (OPR0, BNK0, 0x06, AnyAcc, NoLock, WriteAsZeros)
9891                        {
9892                            AccessAs (DWordAcc, 0x00),
9893                            Offset (0x04),
9894                            F0BA,   65
9895                        }
9896
9897                        Local3 = RefOf (F0BA)
9898                        Local4 = RefOf (G006)
9899                    }
9900                    Case (0x45)
9901                    {
9902                        Local2 = 0x07
9903                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, WriteAsZeros)
9904                        {
9905                            Offset (0x04),
9906                            F0BB,   69
9907                        }
9908
9909                        Local3 = RefOf (F0BB)
9910                        Local4 = RefOf (G007)
9911                    }
9912                    Case (0x81)
9913                    {
9914                        Local2 = 0x08
9915                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, WriteAsZeros)
9916                        {
9917                            AccessAs (DWordAcc, 0x00),
9918                            Offset (0x04),
9919                            F0BC,   129
9920                        }
9921
9922                        Local3 = RefOf (F0BC)
9923                        Local4 = RefOf (G008)
9924                    }
9925                    Case (0x0100)
9926                    {
9927                        Local2 = 0x09
9928                        BankField (OPR0, BNK0, 0x09, DWordAcc, NoLock, WriteAsZeros)
9929                        {
9930                            Offset (0x04),
9931                            F0BD,   256
9932                        }
9933
9934                        Local3 = RefOf (F0BD)
9935                        Local4 = RefOf (G009)
9936                    }
9937                    Case (0x03FF)
9938                    {
9939                        Local2 = 0x3F
9940                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, WriteAsZeros)
9941                        {
9942                            AccessAs (DWordAcc, 0x00),
9943                            Offset (0x04),
9944                            F0BE,   1023
9945                        }
9946
9947                        Local3 = RefOf (F0BE)
9948                        Local4 = RefOf (G00A)
9949                    }
9950                    Case (0x07BF)
9951                    {
9952                        Local2 = 0x40
9953                        BankField (OPR0, BNK0, 0x40, DWordAcc, NoLock, WriteAsZeros)
9954                        {
9955                            Offset (0x04),
9956                            F0BF,   1983
9957                        }
9958
9959                        Local3 = RefOf (F0BF)
9960                        Local4 = RefOf (G00B)
9961                    }
9962                    Default
9963                    {
9964                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
9965                        Return (Zero)
9966                    }
9967
9968                }
9969            }
9970            Case (0x21)
9971            {
9972                Switch (ToInteger (Arg3))
9973                {
9974                    Case (0x01)
9975                    {
9976                        Local2 = 0x7F
9977                        BankField (OPR0, BNK0, 0x7F, DWordAcc, NoLock, WriteAsZeros)
9978                        {
9979                                ,   33,
9980                            F0C0,   1
9981                        }
9982
9983                        Local3 = RefOf (F0C0)
9984                        Local4 = RefOf (G00C)
9985                    }
9986                    Case (0x06)
9987                    {
9988                        Local2 = 0x80
9989                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, WriteAsZeros)
9990                        {
9991                            AccessAs (DWordAcc, 0x00),
9992                                ,   33,
9993                            F0C1,   6
9994                        }
9995
9996                        Local3 = RefOf (F0C1)
9997                        Local4 = RefOf (G00D)
9998                    }
9999                    Case (0x07)
10000                    {
10001                        Local2 = 0xFF
10002                        BankField (OPR0, BNK0, 0xFF, DWordAcc, NoLock, WriteAsZeros)
10003                        {
10004                                ,   33,
10005                            F0C2,   7
10006                        }
10007
10008                        Local3 = RefOf (F0C2)
10009                        Local4 = RefOf (G00E)
10010                    }
10011                    Case (0x08)
10012                    {
10013                        Local2 = 0x00
10014                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, WriteAsZeros)
10015                        {
10016                            AccessAs (DWordAcc, 0x00),
10017                                ,   33,
10018                            F0C3,   8
10019                        }
10020
10021                        Local3 = RefOf (F0C3)
10022                        Local4 = RefOf (G000)
10023                    }
10024                    Case (0x09)
10025                    {
10026                        Local2 = 0x01
10027                        BankField (OPR0, BNK0, 0x01, DWordAcc, NoLock, WriteAsZeros)
10028                        {
10029                                ,   33,
10030                            F0C4,   9
10031                        }
10032
10033                        Local3 = RefOf (F0C4)
10034                        Local4 = RefOf (G001)
10035                    }
10036                    Case (0x1F)
10037                    {
10038                        Local2 = 0x02
10039                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, WriteAsZeros)
10040                        {
10041                            AccessAs (DWordAcc, 0x00),
10042                                ,   33,
10043                            F0C5,   31
10044                        }
10045
10046                        Local3 = RefOf (F0C5)
10047                        Local4 = RefOf (G002)
10048                    }
10049                    Case (0x20)
10050                    {
10051                        Local2 = 0x03
10052                        BankField (OPR0, BNK0, 0x03, DWordAcc, NoLock, WriteAsZeros)
10053                        {
10054                                ,   33,
10055                            F0C6,   32
10056                        }
10057
10058                        Local3 = RefOf (F0C6)
10059                        Local4 = RefOf (G003)
10060                    }
10061                    Case (0x21)
10062                    {
10063                        Local2 = 0x04
10064                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, WriteAsZeros)
10065                        {
10066                            AccessAs (DWordAcc, 0x00),
10067                                ,   33,
10068                            F0C7,   33
10069                        }
10070
10071                        Local3 = RefOf (F0C7)
10072                        Local4 = RefOf (G004)
10073                    }
10074                    Case (0x3F)
10075                    {
10076                        Local2 = 0x05
10077                        BankField (OPR0, BNK0, 0x05, DWordAcc, NoLock, WriteAsZeros)
10078                        {
10079                                ,   33,
10080                            F0C8,   63
10081                        }
10082
10083                        Local3 = RefOf (F0C8)
10084                        Local4 = RefOf (G005)
10085                    }
10086                    Case (0x40)
10087                    {
10088                        Local2 = 0x06
10089                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, WriteAsZeros)
10090                        {
10091                            AccessAs (DWordAcc, 0x00),
10092                                ,   33,
10093                            F0C9,   64
10094                        }
10095
10096                        Local3 = RefOf (F0C9)
10097                        Local4 = RefOf (G006)
10098                    }
10099                    Case (0x41)
10100                    {
10101                        Local2 = 0x07
10102                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, WriteAsZeros)
10103                        {
10104                                ,   33,
10105                            F0CA,   65
10106                        }
10107
10108                        Local3 = RefOf (F0CA)
10109                        Local4 = RefOf (G007)
10110                    }
10111                    Case (0x45)
10112                    {
10113                        Local2 = 0x08
10114                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, WriteAsZeros)
10115                        {
10116                            AccessAs (DWordAcc, 0x00),
10117                                ,   33,
10118                            F0CB,   69
10119                        }
10120
10121                        Local3 = RefOf (F0CB)
10122                        Local4 = RefOf (G008)
10123                    }
10124                    Case (0x81)
10125                    {
10126                        Local2 = 0x09
10127                        BankField (OPR0, BNK0, 0x09, DWordAcc, NoLock, WriteAsZeros)
10128                        {
10129                                ,   33,
10130                            F0CC,   129
10131                        }
10132
10133                        Local3 = RefOf (F0CC)
10134                        Local4 = RefOf (G009)
10135                    }
10136                    Case (0x0100)
10137                    {
10138                        Local2 = 0x3F
10139                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, WriteAsZeros)
10140                        {
10141                            AccessAs (DWordAcc, 0x00),
10142                                ,   33,
10143                            F0CD,   256
10144                        }
10145
10146                        Local3 = RefOf (F0CD)
10147                        Local4 = RefOf (G00A)
10148                    }
10149                    Case (0x03FF)
10150                    {
10151                        Local2 = 0x40
10152                        BankField (OPR0, BNK0, 0x40, DWordAcc, NoLock, WriteAsZeros)
10153                        {
10154                                ,   33,
10155                            F0CE,   1023
10156                        }
10157
10158                        Local3 = RefOf (F0CE)
10159                        Local4 = RefOf (G00B)
10160                    }
10161                    Case (0x07BF)
10162                    {
10163                        Local2 = 0x7F
10164                        BankField (OPR0, BNK0, 0x7F, AnyAcc, NoLock, WriteAsZeros)
10165                        {
10166                            AccessAs (DWordAcc, 0x00),
10167                                ,   33,
10168                            F0CF,   1983
10169                        }
10170
10171                        Local3 = RefOf (F0CF)
10172                        Local4 = RefOf (G00C)
10173                    }
10174                    Default
10175                    {
10176                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
10177                        Return (Zero)
10178                    }
10179
10180                }
10181            }
10182            Case (0x3F)
10183            {
10184                Switch (ToInteger (Arg3))
10185                {
10186                    Case (0x01)
10187                    {
10188                        Local2 = 0x80
10189                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, WriteAsZeros)
10190                        {
10191                            AccessAs (DWordAcc, 0x00),
10192                                ,   63,
10193                            F0D0,   1
10194                        }
10195
10196                        Local3 = RefOf (F0D0)
10197                        Local4 = RefOf (G00D)
10198                    }
10199                    Case (0x06)
10200                    {
10201                        /* November 2011: Changed to DWordAcc from ByteAcc to enable */
10202                        /* correct operation ("Expected" buffer assumes DWordAcc) */
10203                        Local2 = 0xFF
10204                        BankField (OPR0, BNK0, 0xFF, DWordAcc, NoLock, WriteAsZeros)
10205                        {
10206                                ,   63,
10207                            F0D1,   6
10208                        }
10209
10210                        Local3 = RefOf (F0D1)
10211                        Local4 = RefOf (G00E)
10212                    }
10213                    Case (0x07)
10214                    {
10215                        Local2 = 0x00
10216                        BankField (OPR0, BNK0, 0x00, DWordAcc, NoLock, WriteAsZeros)
10217                        {
10218                            AccessAs (DWordAcc, 0x00),
10219                                ,   63,
10220                            F0D2,   7
10221                        }
10222
10223                        Local3 = RefOf (F0D2)
10224                        Local4 = RefOf (G000)
10225                    }
10226                    Case (0x08)
10227                    {
10228                        /* November 2011: Changed to DWordAcc from WordAcc to enable */
10229                        /* correct operation ("Expected" buffer assumes DWordAcc) */
10230                        Local2 = 0x01
10231                        BankField (OPR0, BNK0, 0x01, DWordAcc, NoLock, WriteAsZeros)
10232                        {
10233                                ,   63,
10234                            F0D3,   8
10235                        }
10236
10237                        Local3 = RefOf (F0D3)
10238                        Local4 = RefOf (G001)
10239                    }
10240                    Case (0x09)
10241                    {
10242                        Local2 = 0x02
10243                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, WriteAsZeros)
10244                        {
10245                            AccessAs (DWordAcc, 0x00),
10246                                ,   63,
10247                            F0D4,   9
10248                        }
10249
10250                        Local3 = RefOf (F0D4)
10251                        Local4 = RefOf (G002)
10252                    }
10253                    Case (0x1F)
10254                    {
10255                        Local2 = 0x03
10256                        BankField (OPR0, BNK0, 0x03, DWordAcc, NoLock, WriteAsZeros)
10257                        {
10258                                ,   63,
10259                            F0D5,   31
10260                        }
10261
10262                        Local3 = RefOf (F0D5)
10263                        Local4 = RefOf (G003)
10264                    }
10265                    Case (0x20)
10266                    {
10267                        Local2 = 0x04
10268                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, WriteAsZeros)
10269                        {
10270                            AccessAs (DWordAcc, 0x00),
10271                                ,   63,
10272                            F0D6,   32
10273                        }
10274
10275                        Local3 = RefOf (F0D6)
10276                        Local4 = RefOf (G004)
10277                    }
10278                    Case (0x21)
10279                    {
10280                        Local2 = 0x05
10281                        BankField (OPR0, BNK0, 0x05, DWordAcc, NoLock, WriteAsZeros)
10282                        {
10283                                ,   63,
10284                            F0D7,   33
10285                        }
10286
10287                        Local3 = RefOf (F0D7)
10288                        Local4 = RefOf (G005)
10289                    }
10290                    Case (0x3F)
10291                    {
10292                        Local2 = 0x06
10293                        BankField (OPR0, BNK0, 0x06, AnyAcc, NoLock, WriteAsZeros)
10294                        {
10295                            AccessAs (DWordAcc, 0x00),
10296                                ,   63,
10297                            F0D8,   63
10298                        }
10299
10300                        Local3 = RefOf (F0D8)
10301                        Local4 = RefOf (G006)
10302                    }
10303                    Case (0x40)
10304                    {
10305                        Local2 = 0x07
10306                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, WriteAsZeros)
10307                        {
10308                                ,   63,
10309                            F0D9,   64
10310                        }
10311
10312                        Local3 = RefOf (F0D9)
10313                        Local4 = RefOf (G007)
10314                    }
10315                    Case (0x41)
10316                    {
10317                        Local2 = 0x08
10318                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, WriteAsZeros)
10319                        {
10320                            AccessAs (DWordAcc, 0x00),
10321                                ,   63,
10322                            F0DA,   65
10323                        }
10324
10325                        Local3 = RefOf (F0DA)
10326                        Local4 = RefOf (G008)
10327                    }
10328                    Case (0x45)
10329                    {
10330                        Local2 = 0x09
10331                        BankField (OPR0, BNK0, 0x09, DWordAcc, NoLock, WriteAsZeros)
10332                        {
10333                                ,   63,
10334                            F0DB,   69
10335                        }
10336
10337                        Local3 = RefOf (F0DB)
10338                        Local4 = RefOf (G009)
10339                    }
10340                    Case (0x81)
10341                    {
10342                        Local2 = 0x3F
10343                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, WriteAsZeros)
10344                        {
10345                            AccessAs (DWordAcc, 0x00),
10346                                ,   63,
10347                            F0DC,   129
10348                        }
10349
10350                        Local3 = RefOf (F0DC)
10351                        Local4 = RefOf (G00A)
10352                    }
10353                    Case (0x0100)
10354                    {
10355                        Local2 = 0x40
10356                        BankField (OPR0, BNK0, 0x40, DWordAcc, NoLock, WriteAsZeros)
10357                        {
10358                                ,   63,
10359                            F0DD,   256
10360                        }
10361
10362                        Local3 = RefOf (F0DD)
10363                        Local4 = RefOf (G00B)
10364                    }
10365                    Case (0x03FF)
10366                    {
10367                        Local2 = 0x7F
10368                        BankField (OPR0, BNK0, 0x7F, DWordAcc, NoLock, WriteAsZeros)
10369                        {
10370                            AccessAs (DWordAcc, 0x00),
10371                                ,   63,
10372                            F0DE,   1023
10373                        }
10374
10375                        Local3 = RefOf (F0DE)
10376                        Local4 = RefOf (G00C)
10377                    }
10378                    Case (0x07BF)
10379                    {
10380                        Local2 = 0x80
10381                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, WriteAsZeros)
10382                        {
10383                                ,   63,
10384                            F0DF,   1983
10385                        }
10386
10387                        Local3 = RefOf (F0DF)
10388                        Local4 = RefOf (G00D)
10389                    }
10390                    Default
10391                    {
10392                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
10393                        Return (Zero)
10394                    }
10395
10396                }
10397            }
10398            Case (0x40)
10399            {
10400                Switch (ToInteger (Arg3))
10401                {
10402                    Case (0x01)
10403                    {
10404                        Local2 = 0xFF
10405                        BankField (OPR0, BNK0, 0xFF, DWordAcc, NoLock, WriteAsZeros)
10406                        {
10407                            Offset (0x08),
10408                            F0E0,   1
10409                        }
10410
10411                        Local3 = RefOf (F0E0)
10412                        Local4 = RefOf (G00E)
10413                    }
10414                    Case (0x06)
10415                    {
10416                        Local2 = 0x00
10417                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, WriteAsZeros)
10418                        {
10419                            AccessAs (DWordAcc, 0x00),
10420                            Offset (0x08),
10421                            F0E1,   6
10422                        }
10423
10424                        Local3 = RefOf (F0E1)
10425                        Local4 = RefOf (G000)
10426                    }
10427                    Case (0x07)
10428                    {
10429                        Local2 = 0x01
10430                        BankField (OPR0, BNK0, 0x01, DWordAcc, NoLock, WriteAsZeros)
10431                        {
10432                            Offset (0x08),
10433                            F0E2,   7
10434                        }
10435
10436                        Local3 = RefOf (F0E2)
10437                        Local4 = RefOf (G001)
10438                    }
10439                    Case (0x08)
10440                    {
10441                        Local2 = 0x02
10442                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, WriteAsZeros)
10443                        {
10444                            AccessAs (DWordAcc, 0x00),
10445                            Offset (0x08),
10446                            F0E3,   8
10447                        }
10448
10449                        Local3 = RefOf (F0E3)
10450                        Local4 = RefOf (G002)
10451                    }
10452                    Case (0x09)
10453                    {
10454                        Local2 = 0x03
10455                        BankField (OPR0, BNK0, 0x03, DWordAcc, NoLock, WriteAsZeros)
10456                        {
10457                            Offset (0x08),
10458                            F0E4,   9
10459                        }
10460
10461                        Local3 = RefOf (F0E4)
10462                        Local4 = RefOf (G003)
10463                    }
10464                    Case (0x1F)
10465                    {
10466                        Local2 = 0x04
10467                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, WriteAsZeros)
10468                        {
10469                            AccessAs (DWordAcc, 0x00),
10470                            Offset (0x08),
10471                            F0E5,   31
10472                        }
10473
10474                        Local3 = RefOf (F0E5)
10475                        Local4 = RefOf (G004)
10476                    }
10477                    Case (0x20)
10478                    {
10479                        Local2 = 0x05
10480                        BankField (OPR0, BNK0, 0x05, DWordAcc, NoLock, WriteAsZeros)
10481                        {
10482                            Offset (0x08),
10483                            F0E6,   32
10484                        }
10485
10486                        Local3 = RefOf (F0E6)
10487                        Local4 = RefOf (G005)
10488                    }
10489                    Case (0x21)
10490                    {
10491                        Local2 = 0x06
10492                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, WriteAsZeros)
10493                        {
10494                            AccessAs (DWordAcc, 0x00),
10495                            Offset (0x08),
10496                            F0E7,   33
10497                        }
10498
10499                        Local3 = RefOf (F0E7)
10500                        Local4 = RefOf (G006)
10501                    }
10502                    Case (0x3F)
10503                    {
10504                        Local2 = 0x07
10505                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, WriteAsZeros)
10506                        {
10507                            Offset (0x08),
10508                            F0E8,   63
10509                        }
10510
10511                        Local3 = RefOf (F0E8)
10512                        Local4 = RefOf (G007)
10513                    }
10514                    Case (0x40)
10515                    {
10516                        Local2 = 0x08
10517                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, WriteAsZeros)
10518                        {
10519                            AccessAs (DWordAcc, 0x00),
10520                            Offset (0x08),
10521                            F0E9,   64
10522                        }
10523
10524                        Local3 = RefOf (F0E9)
10525                        Local4 = RefOf (G008)
10526                    }
10527                    Case (0x41)
10528                    {
10529                        Local2 = 0x09
10530                        BankField (OPR0, BNK0, 0x09, DWordAcc, NoLock, WriteAsZeros)
10531                        {
10532                            Offset (0x08),
10533                            F0EA,   65
10534                        }
10535
10536                        Local3 = RefOf (F0EA)
10537                        Local4 = RefOf (G009)
10538                    }
10539                    Case (0x45)
10540                    {
10541                        Local2 = 0x3F
10542                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, WriteAsZeros)
10543                        {
10544                            AccessAs (DWordAcc, 0x00),
10545                            Offset (0x08),
10546                            F0EB,   69
10547                        }
10548
10549                        Local3 = RefOf (F0EB)
10550                        Local4 = RefOf (G00A)
10551                    }
10552                    Case (0x81)
10553                    {
10554                        Local2 = 0x40
10555                        BankField (OPR0, BNK0, 0x40, DWordAcc, NoLock, WriteAsZeros)
10556                        {
10557                            Offset (0x08),
10558                            F0EC,   129
10559                        }
10560
10561                        Local3 = RefOf (F0EC)
10562                        Local4 = RefOf (G00B)
10563                    }
10564                    Case (0x0100)
10565                    {
10566                        Local2 = 0x7F
10567                        BankField (OPR0, BNK0, 0x7F, AnyAcc, NoLock, WriteAsZeros)
10568                        {
10569                            AccessAs (DWordAcc, 0x00),
10570                            Offset (0x08),
10571                            F0ED,   256
10572                        }
10573
10574                        Local3 = RefOf (F0ED)
10575                        Local4 = RefOf (G00C)
10576                    }
10577                    Case (0x03FF)
10578                    {
10579                        Local2 = 0x80
10580                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, WriteAsZeros)
10581                        {
10582                            Offset (0x08),
10583                            F0EE,   1023
10584                        }
10585
10586                        Local3 = RefOf (F0EE)
10587                        Local4 = RefOf (G00D)
10588                    }
10589                    Case (0x07BF)
10590                    {
10591                        Local2 = 0xFF
10592                        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, WriteAsZeros)
10593                        {
10594                            AccessAs (DWordAcc, 0x00),
10595                            Offset (0x08),
10596                            F0EF,   1983
10597                        }
10598
10599                        Local3 = RefOf (F0EF)
10600                        Local4 = RefOf (G00E)
10601                    }
10602                    Default
10603                    {
10604                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
10605                        Return (Zero)
10606                    }
10607
10608                }
10609            }
10610            Case (0x41)
10611            {
10612                Switch (ToInteger (Arg3))
10613                {
10614                    Case (0x01)
10615                    {
10616                        Local2 = 0x00
10617                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, WriteAsZeros)
10618                        {
10619                            AccessAs (DWordAcc, 0x00),
10620                            Offset (0x08),
10621                                ,   1,
10622                            F0F0,   1
10623                        }
10624
10625                        Local3 = RefOf (F0F0)
10626                        Local4 = RefOf (G000)
10627                    }
10628                    Case (0x06)
10629                    {
10630                        Local2 = 0x01
10631                        BankField (OPR0, BNK0, 0x01, DWordAcc, NoLock, WriteAsZeros)
10632                        {
10633                            Offset (0x08),
10634                                ,   1,
10635                            F0F1,   6
10636                        }
10637
10638                        Local3 = RefOf (F0F1)
10639                        Local4 = RefOf (G001)
10640                    }
10641                    Case (0x07)
10642                    {
10643                        Local2 = 0x02
10644                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, WriteAsZeros)
10645                        {
10646                            AccessAs (DWordAcc, 0x00),
10647                            Offset (0x08),
10648                                ,   1,
10649                            F0F2,   7
10650                        }
10651
10652                        Local3 = RefOf (F0F2)
10653                        Local4 = RefOf (G002)
10654                    }
10655                    Case (0x08)
10656                    {
10657                        Local2 = 0x03
10658                        BankField (OPR0, BNK0, 0x03, DWordAcc, NoLock, WriteAsZeros)
10659                        {
10660                            Offset (0x08),
10661                                ,   1,
10662                            F0F3,   8
10663                        }
10664
10665                        Local3 = RefOf (F0F3)
10666                        Local4 = RefOf (G003)
10667                    }
10668                    Case (0x09)
10669                    {
10670                        Local2 = 0x04
10671                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, WriteAsZeros)
10672                        {
10673                            AccessAs (DWordAcc, 0x00),
10674                            Offset (0x08),
10675                                ,   1,
10676                            F0F4,   9
10677                        }
10678
10679                        Local3 = RefOf (F0F4)
10680                        Local4 = RefOf (G004)
10681                    }
10682                    Case (0x1F)
10683                    {
10684                        Local2 = 0x05
10685                        BankField (OPR0, BNK0, 0x05, DWordAcc, NoLock, WriteAsZeros)
10686                        {
10687                            Offset (0x08),
10688                                ,   1,
10689                            F0F5,   31
10690                        }
10691
10692                        Local3 = RefOf (F0F5)
10693                        Local4 = RefOf (G005)
10694                    }
10695                    Case (0x20)
10696                    {
10697                        Local2 = 0x06
10698                        BankField (OPR0, BNK0, 0x06, AnyAcc, NoLock, WriteAsZeros)
10699                        {
10700                            AccessAs (DWordAcc, 0x00),
10701                            Offset (0x08),
10702                                ,   1,
10703                            F0F6,   32
10704                        }
10705
10706                        Local3 = RefOf (F0F6)
10707                        Local4 = RefOf (G006)
10708                    }
10709                    Case (0x21)
10710                    {
10711                        Local2 = 0x07
10712                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, WriteAsZeros)
10713                        {
10714                            Offset (0x08),
10715                                ,   1,
10716                            F0F7,   33
10717                        }
10718
10719                        Local3 = RefOf (F0F7)
10720                        Local4 = RefOf (G007)
10721                    }
10722                    Case (0x3F)
10723                    {
10724                        Local2 = 0x08
10725                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, WriteAsZeros)
10726                        {
10727                            AccessAs (DWordAcc, 0x00),
10728                            Offset (0x08),
10729                                ,   1,
10730                            F0F8,   63
10731                        }
10732
10733                        Local3 = RefOf (F0F8)
10734                        Local4 = RefOf (G008)
10735                    }
10736                    Case (0x40)
10737                    {
10738                        Local2 = 0x09
10739                        BankField (OPR0, BNK0, 0x09, DWordAcc, NoLock, WriteAsZeros)
10740                        {
10741                            Offset (0x08),
10742                                ,   1,
10743                            F0F9,   64
10744                        }
10745
10746                        Local3 = RefOf (F0F9)
10747                        Local4 = RefOf (G009)
10748                    }
10749                    Case (0x41)
10750                    {
10751                        Local2 = 0x3F
10752                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, WriteAsZeros)
10753                        {
10754                            AccessAs (DWordAcc, 0x00),
10755                            Offset (0x08),
10756                                ,   1,
10757                            F0FA,   65
10758                        }
10759
10760                        Local3 = RefOf (F0FA)
10761                        Local4 = RefOf (G00A)
10762                    }
10763                    Case (0x45)
10764                    {
10765                        Local2 = 0x40
10766                        BankField (OPR0, BNK0, 0x40, DWordAcc, NoLock, WriteAsZeros)
10767                        {
10768                            Offset (0x08),
10769                                ,   1,
10770                            F0FB,   69
10771                        }
10772
10773                        Local3 = RefOf (F0FB)
10774                        Local4 = RefOf (G00B)
10775                    }
10776                    Case (0x81)
10777                    {
10778                        Local2 = 0x7F
10779                        BankField (OPR0, BNK0, 0x7F, DWordAcc, NoLock, WriteAsZeros)
10780                        {
10781                            AccessAs (DWordAcc, 0x00),
10782                            Offset (0x08),
10783                                ,   1,
10784                            F0FC,   129
10785                        }
10786
10787                        Local3 = RefOf (F0FC)
10788                        Local4 = RefOf (G00C)
10789                    }
10790                    Case (0x0100)
10791                    {
10792                        Local2 = 0x80
10793                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, WriteAsZeros)
10794                        {
10795                            Offset (0x08),
10796                                ,   1,
10797                            F0FD,   256
10798                        }
10799
10800                        Local3 = RefOf (F0FD)
10801                        Local4 = RefOf (G00D)
10802                    }
10803                    Case (0x03FF)
10804                    {
10805                        Local2 = 0xFF
10806                        BankField (OPR0, BNK0, 0xFF, QWordAcc, NoLock, WriteAsZeros)
10807                        {
10808                            AccessAs (DWordAcc, 0x00),
10809                            Offset (0x08),
10810                                ,   1,
10811                            F0FE,   1023
10812                        }
10813
10814                        Local3 = RefOf (F0FE)
10815                        Local4 = RefOf (G00E)
10816                    }
10817                    Case (0x07BF)
10818                    {
10819                        Local2 = 0x00
10820                        BankField (OPR0, BNK0, 0x00, DWordAcc, NoLock, WriteAsZeros)
10821                        {
10822                            Offset (0x08),
10823                                ,   1,
10824                            F0FF,   1983
10825                        }
10826
10827                        Local3 = RefOf (F0FF)
10828                        Local4 = RefOf (G000)
10829                    }
10830                    Default
10831                    {
10832                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
10833                        Return (Zero)
10834                    }
10835
10836                }
10837            }
10838            Default
10839            {
10840                ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
10841                Return (Zero)
10842            }
10843
10844        }
10845
10846        FCP0 [0x00] = 0x02
10847        FCP0 [0x01] = RefOf (BNK0)
10848        FCP0 [0x02] = Local2
10849        M72D (Arg0, Local3, Arg2, Arg3, Arg4, Arg5, Local4)
10850        FCP0 [0x00] = 0x00
10851    }
10852
10853    /* Create BankField Unit */
10854    /* (QWordAcc, NoLock, Preserve) */
10855    Method (M7D3, 6, Serialized)
10856    {
10857        OperationRegion (OPRB, SystemIO, 0x00, 0x09)
10858        OperationRegion (OPR0, SystemIO, 0x0B, 0x0100)
10859        Field (OPRB, ByteAcc, NoLock, Preserve)
10860        {
10861            BNK0,   8
10862        }
10863
10864        BankField (OPR0, BNK0, 0x00, ByteAcc, NoLock, Preserve)
10865        {
10866            G000,   2048
10867        }
10868
10869        BankField (OPR0, BNK0, 0x01, ByteAcc, NoLock, Preserve)
10870        {
10871            G001,   2048
10872        }
10873
10874        BankField (OPR0, BNK0, 0x02, ByteAcc, NoLock, Preserve)
10875        {
10876            G002,   2048
10877        }
10878
10879        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, Preserve)
10880        {
10881            G003,   2048
10882        }
10883
10884        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, Preserve)
10885        {
10886            G004,   2048
10887        }
10888
10889        BankField (OPR0, BNK0, 0x05, ByteAcc, NoLock, Preserve)
10890        {
10891            G005,   2048
10892        }
10893
10894        BankField (OPR0, BNK0, 0x06, ByteAcc, NoLock, Preserve)
10895        {
10896            G006,   2048
10897        }
10898
10899        BankField (OPR0, BNK0, 0x07, ByteAcc, NoLock, Preserve)
10900        {
10901            G007,   2048
10902        }
10903
10904        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, Preserve)
10905        {
10906            G008,   2048
10907        }
10908
10909        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, Preserve)
10910        {
10911            G009,   2048
10912        }
10913
10914        BankField (OPR0, BNK0, 0x3F, ByteAcc, NoLock, Preserve)
10915        {
10916            G00A,   2048
10917        }
10918
10919        BankField (OPR0, BNK0, 0x40, ByteAcc, NoLock, Preserve)
10920        {
10921            G00B,   2048
10922        }
10923
10924        BankField (OPR0, BNK0, 0x7F, ByteAcc, NoLock, Preserve)
10925        {
10926            G00C,   2048
10927        }
10928
10929        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, Preserve)
10930        {
10931            G00D,   2048
10932        }
10933
10934        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, Preserve)
10935        {
10936            G00E,   2048
10937        }
10938
10939        Concatenate (Arg0, "-m7d3", Arg0)
10940        Switch (ToInteger (Arg2))
10941        {
10942            Case (0x00)
10943            {
10944                Switch (ToInteger (Arg3))
10945                {
10946                    Case (0x01)
10947                    {
10948                        Local2 = 0x00
10949                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, Preserve)
10950                        {
10951                            Offset (0x00),
10952                            F000,   1
10953                        }
10954
10955                        Local3 = RefOf (F000)
10956                        Local4 = RefOf (G000)
10957                    }
10958                    Case (0x06)
10959                    {
10960                        Local2 = 0x01
10961                        BankField (OPR0, BNK0, 0x01, WordAcc, NoLock, Preserve)
10962                        {
10963                            AccessAs (QWordAcc, 0x00),
10964                            Offset (0x00),
10965                            F001,   6
10966                        }
10967
10968                        Local3 = RefOf (F001)
10969                        Local4 = RefOf (G001)
10970                    }
10971                    Case (0x07)
10972                    {
10973                        Local2 = 0x02
10974                        BankField (OPR0, BNK0, 0x02, QWordAcc, NoLock, Preserve)
10975                        {
10976                            Offset (0x00),
10977                            F002,   7
10978                        }
10979
10980                        Local3 = RefOf (F002)
10981                        Local4 = RefOf (G002)
10982                    }
10983                    Case (0x08)
10984                    {
10985                        Local2 = 0x03
10986                        BankField (OPR0, BNK0, 0x03, DWordAcc, NoLock, Preserve)
10987                        {
10988                            AccessAs (QWordAcc, 0x00),
10989                            Offset (0x00),
10990                            F003,   8
10991                        }
10992
10993                        Local3 = RefOf (F003)
10994                        Local4 = RefOf (G003)
10995                    }
10996                    Case (0x09)
10997                    {
10998                        Local2 = 0x04
10999                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, Preserve)
11000                        {
11001                            Offset (0x00),
11002                            F004,   9
11003                        }
11004
11005                        Local3 = RefOf (F004)
11006                        Local4 = RefOf (G004)
11007                    }
11008                    Case (0x1F)
11009                    {
11010                        Local2 = 0x05
11011                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, Preserve)
11012                        {
11013                            AccessAs (QWordAcc, 0x00),
11014                            Offset (0x00),
11015                            F005,   31
11016                        }
11017
11018                        Local3 = RefOf (F005)
11019                        Local4 = RefOf (G005)
11020                    }
11021                    Case (0x20)
11022                    {
11023                        Local2 = 0x06
11024                        BankField (OPR0, BNK0, 0x06, QWordAcc, NoLock, Preserve)
11025                        {
11026                            Offset (0x00),
11027                            F006,   32
11028                        }
11029
11030                        Local3 = RefOf (F006)
11031                        Local4 = RefOf (G006)
11032                    }
11033                    Case (0x21)
11034                    {
11035                        Local2 = 0x07
11036                        BankField (OPR0, BNK0, 0x07, AnyAcc, NoLock, Preserve)
11037                        {
11038                            AccessAs (QWordAcc, 0x00),
11039                            Offset (0x00),
11040                            F007,   33
11041                        }
11042
11043                        Local3 = RefOf (F007)
11044                        Local4 = RefOf (G007)
11045                    }
11046                    Case (0x3F)
11047                    {
11048                        Local2 = 0x08
11049                        BankField (OPR0, BNK0, 0x08, QWordAcc, NoLock, Preserve)
11050                        {
11051                            Offset (0x00),
11052                            F008,   63
11053                        }
11054
11055                        Local3 = RefOf (F008)
11056                        Local4 = RefOf (G008)
11057                    }
11058                    Case (0x40)
11059                    {
11060                        Local2 = 0x09
11061                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, Preserve)
11062                        {
11063                            AccessAs (QWordAcc, 0x00),
11064                            Offset (0x00),
11065                            F009,   64
11066                        }
11067
11068                        Local3 = RefOf (F009)
11069                        Local4 = RefOf (G009)
11070                    }
11071                    Case (0x41)
11072                    {
11073                        Local2 = 0x3F
11074                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, Preserve)
11075                        {
11076                            Offset (0x00),
11077                            F00A,   65
11078                        }
11079
11080                        Local3 = RefOf (F00A)
11081                        Local4 = RefOf (G00A)
11082                    }
11083                    Case (0x45)
11084                    {
11085                        Local2 = 0x40
11086                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, Preserve)
11087                        {
11088                            AccessAs (QWordAcc, 0x00),
11089                            Offset (0x00),
11090                            F00B,   69
11091                        }
11092
11093                        Local3 = RefOf (F00B)
11094                        Local4 = RefOf (G00B)
11095                    }
11096                    Case (0x81)
11097                    {
11098                        Local2 = 0x7F
11099                        BankField (OPR0, BNK0, 0x7F, QWordAcc, NoLock, Preserve)
11100                        {
11101                            Offset (0x00),
11102                            F00C,   129
11103                        }
11104
11105                        Local3 = RefOf (F00C)
11106                        Local4 = RefOf (G00C)
11107                    }
11108                    Case (0x0100)
11109                    {
11110                        Local2 = 0x80
11111                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, Preserve)
11112                        {
11113                            AccessAs (QWordAcc, 0x00),
11114                            Offset (0x00),
11115                            F00D,   256
11116                        }
11117
11118                        Local3 = RefOf (F00D)
11119                        Local4 = RefOf (G00D)
11120                    }
11121                    Case (0x03FF)
11122                    {
11123                        Local2 = 0xFF
11124                        BankField (OPR0, BNK0, 0xFF, QWordAcc, NoLock, Preserve)
11125                        {
11126                            Offset (0x00),
11127                            F00E,   1023
11128                        }
11129
11130                        Local3 = RefOf (F00E)
11131                        Local4 = RefOf (G00E)
11132                    }
11133                    Case (0x07BF)
11134                    {
11135                        Local2 = 0x00
11136                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, Preserve)
11137                        {
11138                            AccessAs (QWordAcc, 0x00),
11139                            Offset (0x00),
11140                            F00F,   1983
11141                        }
11142
11143                        Local3 = RefOf (F00F)
11144                        Local4 = RefOf (G000)
11145                    }
11146                    Default
11147                    {
11148                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
11149                        Return (Zero)
11150                    }
11151
11152                }
11153            }
11154            Case (0x01)
11155            {
11156                Switch (ToInteger (Arg3))
11157                {
11158                    Case (0x01)
11159                    {
11160                        Local2 = 0x01
11161                        BankField (OPR0, BNK0, 0x01, AnyAcc, NoLock, Preserve)
11162                        {
11163                            AccessAs (QWordAcc, 0x00),
11164                                ,   1,
11165                            F010,   1
11166                        }
11167
11168                        Local3 = RefOf (F010)
11169                        Local4 = RefOf (G001)
11170                    }
11171                    Case (0x06)
11172                    {
11173                        Local2 = 0x02
11174                        BankField (OPR0, BNK0, 0x02, QWordAcc, NoLock, Preserve)
11175                        {
11176                                ,   1,
11177                            F011,   6
11178                        }
11179
11180                        Local3 = RefOf (F011)
11181                        Local4 = RefOf (G002)
11182                    }
11183                    Case (0x07)
11184                    {
11185                        Local2 = 0x03
11186                        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, Preserve)
11187                        {
11188                            AccessAs (QWordAcc, 0x00),
11189                                ,   1,
11190                            F012,   7
11191                        }
11192
11193                        Local3 = RefOf (F012)
11194                        Local4 = RefOf (G003)
11195                    }
11196                    Case (0x08)
11197                    {
11198                        Local2 = 0x04
11199                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, Preserve)
11200                        {
11201                                ,   1,
11202                            F013,   8
11203                        }
11204
11205                        Local3 = RefOf (F013)
11206                        Local4 = RefOf (G004)
11207                    }
11208                    Case (0x09)
11209                    {
11210                        Local2 = 0x05
11211                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, Preserve)
11212                        {
11213                            AccessAs (QWordAcc, 0x00),
11214                                ,   1,
11215                            F014,   9
11216                        }
11217
11218                        Local3 = RefOf (F014)
11219                        Local4 = RefOf (G005)
11220                    }
11221                    Case (0x1F)
11222                    {
11223                        Local2 = 0x06
11224                        BankField (OPR0, BNK0, 0x06, QWordAcc, NoLock, Preserve)
11225                        {
11226                                ,   1,
11227                            F015,   31
11228                        }
11229
11230                        Local3 = RefOf (F015)
11231                        Local4 = RefOf (G006)
11232                    }
11233                    Case (0x20)
11234                    {
11235                        Local2 = 0x07
11236                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, Preserve)
11237                        {
11238                            AccessAs (QWordAcc, 0x00),
11239                                ,   1,
11240                            F016,   32
11241                        }
11242
11243                        Local3 = RefOf (F016)
11244                        Local4 = RefOf (G007)
11245                    }
11246                    Case (0x21)
11247                    {
11248                        Local2 = 0x08
11249                        BankField (OPR0, BNK0, 0x08, QWordAcc, NoLock, Preserve)
11250                        {
11251                                ,   1,
11252                            F017,   33
11253                        }
11254
11255                        Local3 = RefOf (F017)
11256                        Local4 = RefOf (G008)
11257                    }
11258                    Case (0x3F)
11259                    {
11260                        Local2 = 0x09
11261                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, Preserve)
11262                        {
11263                            AccessAs (QWordAcc, 0x00),
11264                                ,   1,
11265                            F018,   63
11266                        }
11267
11268                        Local3 = RefOf (F018)
11269                        Local4 = RefOf (G009)
11270                    }
11271                    Case (0x40)
11272                    {
11273                        Local2 = 0x3F
11274                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, Preserve)
11275                        {
11276                                ,   1,
11277                            F019,   64
11278                        }
11279
11280                        Local3 = RefOf (F019)
11281                        Local4 = RefOf (G00A)
11282                    }
11283                    Case (0x41)
11284                    {
11285                        Local2 = 0x40
11286                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, Preserve)
11287                        {
11288                            AccessAs (QWordAcc, 0x00),
11289                                ,   1,
11290                            F01A,   65
11291                        }
11292
11293                        Local3 = RefOf (F01A)
11294                        Local4 = RefOf (G00B)
11295                    }
11296                    Case (0x45)
11297                    {
11298                        Local2 = 0x7F
11299                        BankField (OPR0, BNK0, 0x7F, QWordAcc, NoLock, Preserve)
11300                        {
11301                                ,   1,
11302                            F01B,   69
11303                        }
11304
11305                        Local3 = RefOf (F01B)
11306                        Local4 = RefOf (G00C)
11307                    }
11308                    Case (0x81)
11309                    {
11310                        Local2 = 0x80
11311                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, Preserve)
11312                        {
11313                            AccessAs (QWordAcc, 0x00),
11314                                ,   1,
11315                            F01C,   129
11316                        }
11317
11318                        Local3 = RefOf (F01C)
11319                        Local4 = RefOf (G00D)
11320                    }
11321                    Case (0x0100)
11322                    {
11323                        Local2 = 0xFF
11324                        BankField (OPR0, BNK0, 0xFF, QWordAcc, NoLock, Preserve)
11325                        {
11326                                ,   1,
11327                            F01D,   256
11328                        }
11329
11330                        Local3 = RefOf (F01D)
11331                        Local4 = RefOf (G00E)
11332                    }
11333                    Case (0x03FF)
11334                    {
11335                        Local2 = 0x00
11336                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, Preserve)
11337                        {
11338                            AccessAs (QWordAcc, 0x00),
11339                                ,   1,
11340                            F01E,   1023
11341                        }
11342
11343                        Local3 = RefOf (F01E)
11344                        Local4 = RefOf (G000)
11345                    }
11346                    Case (0x07BF)
11347                    {
11348                        Local2 = 0x01
11349                        BankField (OPR0, BNK0, 0x01, QWordAcc, NoLock, Preserve)
11350                        {
11351                                ,   1,
11352                            F01F,   1983
11353                        }
11354
11355                        Local3 = RefOf (F01F)
11356                        Local4 = RefOf (G001)
11357                    }
11358                    Default
11359                    {
11360                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
11361                        Return (Zero)
11362                    }
11363
11364                }
11365            }
11366            Case (0x02)
11367            {
11368                Switch (ToInteger (Arg3))
11369                {
11370                    Case (0x01)
11371                    {
11372                        Local2 = 0x02
11373                        BankField (OPR0, BNK0, 0x02, QWordAcc, NoLock, Preserve)
11374                        {
11375                                ,   2,
11376                            F020,   1
11377                        }
11378
11379                        Local3 = RefOf (F020)
11380                        Local4 = RefOf (G002)
11381                    }
11382                    Case (0x06)
11383                    {
11384                        Local2 = 0x03
11385                        BankField (OPR0, BNK0, 0x03, DWordAcc, NoLock, Preserve)
11386                        {
11387                            AccessAs (QWordAcc, 0x00),
11388                                ,   2,
11389                            F021,   6
11390                        }
11391
11392                        Local3 = RefOf (F021)
11393                        Local4 = RefOf (G003)
11394                    }
11395                    Case (0x07)
11396                    {
11397                        Local2 = 0x04
11398                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, Preserve)
11399                        {
11400                                ,   2,
11401                            F022,   7
11402                        }
11403
11404                        Local3 = RefOf (F022)
11405                        Local4 = RefOf (G004)
11406                    }
11407                    Case (0x08)
11408                    {
11409                        Local2 = 0x05
11410                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, Preserve)
11411                        {
11412                            AccessAs (QWordAcc, 0x00),
11413                                ,   2,
11414                            F023,   8
11415                        }
11416
11417                        Local3 = RefOf (F023)
11418                        Local4 = RefOf (G005)
11419                    }
11420                    Case (0x09)
11421                    {
11422                        Local2 = 0x06
11423                        BankField (OPR0, BNK0, 0x06, QWordAcc, NoLock, Preserve)
11424                        {
11425                                ,   2,
11426                            F024,   9
11427                        }
11428
11429                        Local3 = RefOf (F024)
11430                        Local4 = RefOf (G006)
11431                    }
11432                    Case (0x1F)
11433                    {
11434                        Local2 = 0x07
11435                        BankField (OPR0, BNK0, 0x07, AnyAcc, NoLock, Preserve)
11436                        {
11437                            AccessAs (QWordAcc, 0x00),
11438                                ,   2,
11439                            F025,   31
11440                        }
11441
11442                        Local3 = RefOf (F025)
11443                        Local4 = RefOf (G007)
11444                    }
11445                    Case (0x20)
11446                    {
11447                        Local2 = 0x08
11448                        BankField (OPR0, BNK0, 0x08, QWordAcc, NoLock, Preserve)
11449                        {
11450                                ,   2,
11451                            F026,   32
11452                        }
11453
11454                        Local3 = RefOf (F026)
11455                        Local4 = RefOf (G008)
11456                    }
11457                    Case (0x21)
11458                    {
11459                        Local2 = 0x09
11460                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, Preserve)
11461                        {
11462                            AccessAs (QWordAcc, 0x00),
11463                                ,   2,
11464                            F027,   33
11465                        }
11466
11467                        Local3 = RefOf (F027)
11468                        Local4 = RefOf (G009)
11469                    }
11470                    Case (0x3F)
11471                    {
11472                        Local2 = 0x3F
11473                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, Preserve)
11474                        {
11475                                ,   2,
11476                            F028,   63
11477                        }
11478
11479                        Local3 = RefOf (F028)
11480                        Local4 = RefOf (G00A)
11481                    }
11482                    Case (0x40)
11483                    {
11484                        Local2 = 0x40
11485                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, Preserve)
11486                        {
11487                            AccessAs (QWordAcc, 0x00),
11488                                ,   2,
11489                            F029,   64
11490                        }
11491
11492                        Local3 = RefOf (F029)
11493                        Local4 = RefOf (G00B)
11494                    }
11495                    Case (0x41)
11496                    {
11497                        Local2 = 0x7F
11498                        BankField (OPR0, BNK0, 0x7F, QWordAcc, NoLock, Preserve)
11499                        {
11500                                ,   2,
11501                            F02A,   65
11502                        }
11503
11504                        Local3 = RefOf (F02A)
11505                        Local4 = RefOf (G00C)
11506                    }
11507                    Case (0x45)
11508                    {
11509                        Local2 = 0x80
11510                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, Preserve)
11511                        {
11512                            AccessAs (QWordAcc, 0x00),
11513                                ,   2,
11514                            F02B,   69
11515                        }
11516
11517                        Local3 = RefOf (F02B)
11518                        Local4 = RefOf (G00D)
11519                    }
11520                    Case (0x81)
11521                    {
11522                        Local2 = 0xFF
11523                        BankField (OPR0, BNK0, 0xFF, QWordAcc, NoLock, Preserve)
11524                        {
11525                                ,   2,
11526                            F02C,   129
11527                        }
11528
11529                        Local3 = RefOf (F02C)
11530                        Local4 = RefOf (G00E)
11531                    }
11532                    Case (0x0100)
11533                    {
11534                        Local2 = 0x00
11535                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, Preserve)
11536                        {
11537                            AccessAs (QWordAcc, 0x00),
11538                                ,   2,
11539                            F02D,   256
11540                        }
11541
11542                        Local3 = RefOf (F02D)
11543                        Local4 = RefOf (G000)
11544                    }
11545                    Case (0x03FF)
11546                    {
11547                        Local2 = 0x01
11548                        BankField (OPR0, BNK0, 0x01, QWordAcc, NoLock, Preserve)
11549                        {
11550                                ,   2,
11551                            F02E,   1023
11552                        }
11553
11554                        Local3 = RefOf (F02E)
11555                        Local4 = RefOf (G001)
11556                    }
11557                    Case (0x07BF)
11558                    {
11559                        Local2 = 0x02
11560                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, Preserve)
11561                        {
11562                            AccessAs (QWordAcc, 0x00),
11563                                ,   2,
11564                            F02F,   1983
11565                        }
11566
11567                        Local3 = RefOf (F02F)
11568                        Local4 = RefOf (G002)
11569                    }
11570                    Default
11571                    {
11572                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
11573                        Return (Zero)
11574                    }
11575
11576                }
11577            }
11578            Case (0x03)
11579            {
11580                Switch (ToInteger (Arg3))
11581                {
11582                    Case (0x01)
11583                    {
11584                        Local2 = 0x03
11585                        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, Preserve)
11586                        {
11587                            AccessAs (QWordAcc, 0x00),
11588                                ,   3,
11589                            F030,   1
11590                        }
11591
11592                        Local3 = RefOf (F030)
11593                        Local4 = RefOf (G003)
11594                    }
11595                    Case (0x06)
11596                    {
11597                        Local2 = 0x04
11598                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, Preserve)
11599                        {
11600                                ,   3,
11601                            F031,   6
11602                        }
11603
11604                        Local3 = RefOf (F031)
11605                        Local4 = RefOf (G004)
11606                    }
11607                    Case (0x07)
11608                    {
11609                        Local2 = 0x05
11610                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, Preserve)
11611                        {
11612                            AccessAs (QWordAcc, 0x00),
11613                                ,   3,
11614                            F032,   7
11615                        }
11616
11617                        Local3 = RefOf (F032)
11618                        Local4 = RefOf (G005)
11619                    }
11620                    Case (0x08)
11621                    {
11622                        Local2 = 0x06
11623                        BankField (OPR0, BNK0, 0x06, QWordAcc, NoLock, Preserve)
11624                        {
11625                                ,   3,
11626                            F033,   8
11627                        }
11628
11629                        Local3 = RefOf (F033)
11630                        Local4 = RefOf (G006)
11631                    }
11632                    Case (0x09)
11633                    {
11634                        Local2 = 0x07
11635                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, Preserve)
11636                        {
11637                            AccessAs (QWordAcc, 0x00),
11638                                ,   3,
11639                            F034,   9
11640                        }
11641
11642                        Local3 = RefOf (F034)
11643                        Local4 = RefOf (G007)
11644                    }
11645                    Case (0x1F)
11646                    {
11647                        Local2 = 0x08
11648                        BankField (OPR0, BNK0, 0x08, QWordAcc, NoLock, Preserve)
11649                        {
11650                                ,   3,
11651                            F035,   31
11652                        }
11653
11654                        Local3 = RefOf (F035)
11655                        Local4 = RefOf (G008)
11656                    }
11657                    Case (0x20)
11658                    {
11659                        Local2 = 0x09
11660                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, Preserve)
11661                        {
11662                            AccessAs (QWordAcc, 0x00),
11663                                ,   3,
11664                            F036,   32
11665                        }
11666
11667                        Local3 = RefOf (F036)
11668                        Local4 = RefOf (G009)
11669                    }
11670                    Case (0x21)
11671                    {
11672                        Local2 = 0x3F
11673                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, Preserve)
11674                        {
11675                                ,   3,
11676                            F037,   33
11677                        }
11678
11679                        Local3 = RefOf (F037)
11680                        Local4 = RefOf (G00A)
11681                    }
11682                    Case (0x3F)
11683                    {
11684                        Local2 = 0x40
11685                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, Preserve)
11686                        {
11687                            AccessAs (QWordAcc, 0x00),
11688                                ,   3,
11689                            F038,   63
11690                        }
11691
11692                        Local3 = RefOf (F038)
11693                        Local4 = RefOf (G00B)
11694                    }
11695                    Case (0x40)
11696                    {
11697                        Local2 = 0x7F
11698                        BankField (OPR0, BNK0, 0x7F, QWordAcc, NoLock, Preserve)
11699                        {
11700                                ,   3,
11701                            F039,   64
11702                        }
11703
11704                        Local3 = RefOf (F039)
11705                        Local4 = RefOf (G00C)
11706                    }
11707                    Case (0x41)
11708                    {
11709                        Local2 = 0x80
11710                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, Preserve)
11711                        {
11712                            AccessAs (QWordAcc, 0x00),
11713                                ,   3,
11714                            F03A,   65
11715                        }
11716
11717                        Local3 = RefOf (F03A)
11718                        Local4 = RefOf (G00D)
11719                    }
11720                    Case (0x45)
11721                    {
11722                        Local2 = 0xFF
11723                        BankField (OPR0, BNK0, 0xFF, QWordAcc, NoLock, Preserve)
11724                        {
11725                                ,   3,
11726                            F03B,   69
11727                        }
11728
11729                        Local3 = RefOf (F03B)
11730                        Local4 = RefOf (G00E)
11731                    }
11732                    Case (0x81)
11733                    {
11734                        Local2 = 0x00
11735                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, Preserve)
11736                        {
11737                            AccessAs (QWordAcc, 0x00),
11738                                ,   3,
11739                            F03C,   129
11740                        }
11741
11742                        Local3 = RefOf (F03C)
11743                        Local4 = RefOf (G000)
11744                    }
11745                    Case (0x0100)
11746                    {
11747                        Local2 = 0x01
11748                        BankField (OPR0, BNK0, 0x01, QWordAcc, NoLock, Preserve)
11749                        {
11750                                ,   3,
11751                            F03D,   256
11752                        }
11753
11754                        Local3 = RefOf (F03D)
11755                        Local4 = RefOf (G001)
11756                    }
11757                    Case (0x03FF)
11758                    {
11759                        Local2 = 0x02
11760                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, Preserve)
11761                        {
11762                            AccessAs (QWordAcc, 0x00),
11763                                ,   3,
11764                            F03E,   1023
11765                        }
11766
11767                        Local3 = RefOf (F03E)
11768                        Local4 = RefOf (G002)
11769                    }
11770                    Case (0x07BF)
11771                    {
11772                        Local2 = 0x03
11773                        BankField (OPR0, BNK0, 0x03, QWordAcc, NoLock, Preserve)
11774                        {
11775                                ,   3,
11776                            F03F,   1983
11777                        }
11778
11779                        Local3 = RefOf (F03F)
11780                        Local4 = RefOf (G003)
11781                    }
11782                    Default
11783                    {
11784                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
11785                        Return (Zero)
11786                    }
11787
11788                }
11789            }
11790            Case (0x04)
11791            {
11792                Switch (ToInteger (Arg3))
11793                {
11794                    Case (0x01)
11795                    {
11796                        Local2 = 0x04
11797                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, Preserve)
11798                        {
11799                                ,   4,
11800                            F040,   1
11801                        }
11802
11803                        Local3 = RefOf (F040)
11804                        Local4 = RefOf (G004)
11805                    }
11806                    Case (0x06)
11807                    {
11808                        Local2 = 0x05
11809                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, Preserve)
11810                        {
11811                            AccessAs (QWordAcc, 0x00),
11812                                ,   4,
11813                            F041,   6
11814                        }
11815
11816                        Local3 = RefOf (F041)
11817                        Local4 = RefOf (G005)
11818                    }
11819                    Case (0x07)
11820                    {
11821                        Local2 = 0x06
11822                        BankField (OPR0, BNK0, 0x06, QWordAcc, NoLock, Preserve)
11823                        {
11824                                ,   4,
11825                            F042,   7
11826                        }
11827
11828                        Local3 = RefOf (F042)
11829                        Local4 = RefOf (G006)
11830                    }
11831                    Case (0x08)
11832                    {
11833                        Local2 = 0x07
11834                        BankField (OPR0, BNK0, 0x07, AnyAcc, NoLock, Preserve)
11835                        {
11836                            AccessAs (QWordAcc, 0x00),
11837                                ,   4,
11838                            F043,   8
11839                        }
11840
11841                        Local3 = RefOf (F043)
11842                        Local4 = RefOf (G007)
11843                    }
11844                    Case (0x09)
11845                    {
11846                        Local2 = 0x08
11847                        BankField (OPR0, BNK0, 0x08, QWordAcc, NoLock, Preserve)
11848                        {
11849                                ,   4,
11850                            F044,   9
11851                        }
11852
11853                        Local3 = RefOf (F044)
11854                        Local4 = RefOf (G008)
11855                    }
11856                    Case (0x1F)
11857                    {
11858                        Local2 = 0x09
11859                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, Preserve)
11860                        {
11861                            AccessAs (QWordAcc, 0x00),
11862                                ,   4,
11863                            F045,   31
11864                        }
11865
11866                        Local3 = RefOf (F045)
11867                        Local4 = RefOf (G009)
11868                    }
11869                    Case (0x20)
11870                    {
11871                        Local2 = 0x3F
11872                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, Preserve)
11873                        {
11874                                ,   4,
11875                            F046,   32
11876                        }
11877
11878                        Local3 = RefOf (F046)
11879                        Local4 = RefOf (G00A)
11880                    }
11881                    Case (0x21)
11882                    {
11883                        Local2 = 0x40
11884                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, Preserve)
11885                        {
11886                            AccessAs (QWordAcc, 0x00),
11887                                ,   4,
11888                            F047,   33
11889                        }
11890
11891                        Local3 = RefOf (F047)
11892                        Local4 = RefOf (G00B)
11893                    }
11894                    Case (0x3F)
11895                    {
11896                        Local2 = 0x7F
11897                        BankField (OPR0, BNK0, 0x7F, QWordAcc, NoLock, Preserve)
11898                        {
11899                                ,   4,
11900                            F048,   63
11901                        }
11902
11903                        Local3 = RefOf (F048)
11904                        Local4 = RefOf (G00C)
11905                    }
11906                    Case (0x40)
11907                    {
11908                        Local2 = 0x80
11909                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, Preserve)
11910                        {
11911                            AccessAs (QWordAcc, 0x00),
11912                                ,   4,
11913                            F049,   64
11914                        }
11915
11916                        Local3 = RefOf (F049)
11917                        Local4 = RefOf (G00D)
11918                    }
11919                    Case (0x41)
11920                    {
11921                        Local2 = 0xFF
11922                        BankField (OPR0, BNK0, 0xFF, QWordAcc, NoLock, Preserve)
11923                        {
11924                                ,   4,
11925                            F04A,   65
11926                        }
11927
11928                        Local3 = RefOf (F04A)
11929                        Local4 = RefOf (G00E)
11930                    }
11931                    Case (0x45)
11932                    {
11933                        Local2 = 0x00
11934                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, Preserve)
11935                        {
11936                            AccessAs (QWordAcc, 0x00),
11937                                ,   4,
11938                            F04B,   69
11939                        }
11940
11941                        Local3 = RefOf (F04B)
11942                        Local4 = RefOf (G000)
11943                    }
11944                    Case (0x81)
11945                    {
11946                        Local2 = 0x01
11947                        BankField (OPR0, BNK0, 0x01, QWordAcc, NoLock, Preserve)
11948                        {
11949                                ,   4,
11950                            F04C,   129
11951                        }
11952
11953                        Local3 = RefOf (F04C)
11954                        Local4 = RefOf (G001)
11955                    }
11956                    Case (0x0100)
11957                    {
11958                        Local2 = 0x02
11959                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, Preserve)
11960                        {
11961                            AccessAs (QWordAcc, 0x00),
11962                                ,   4,
11963                            F04D,   256
11964                        }
11965
11966                        Local3 = RefOf (F04D)
11967                        Local4 = RefOf (G002)
11968                    }
11969                    Case (0x03FF)
11970                    {
11971                        Local2 = 0x03
11972                        BankField (OPR0, BNK0, 0x03, QWordAcc, NoLock, Preserve)
11973                        {
11974                                ,   4,
11975                            F04E,   1023
11976                        }
11977
11978                        Local3 = RefOf (F04E)
11979                        Local4 = RefOf (G003)
11980                    }
11981                    Case (0x07BF)
11982                    {
11983                        Local2 = 0x04
11984                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, Preserve)
11985                        {
11986                            AccessAs (QWordAcc, 0x00),
11987                                ,   4,
11988                            F04F,   1983
11989                        }
11990
11991                        Local3 = RefOf (F04F)
11992                        Local4 = RefOf (G004)
11993                    }
11994                    Default
11995                    {
11996                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
11997                        Return (Zero)
11998                    }
11999
12000                }
12001            }
12002            Case (0x05)
12003            {
12004                Switch (ToInteger (Arg3))
12005                {
12006                    Case (0x01)
12007                    {
12008                        Local2 = 0x05
12009                        BankField (OPR0, BNK0, 0x05, WordAcc, NoLock, Preserve)
12010                        {
12011                            AccessAs (QWordAcc, 0x00),
12012                                ,   5,
12013                            F050,   1
12014                        }
12015
12016                        Local3 = RefOf (F050)
12017                        Local4 = RefOf (G005)
12018                    }
12019                    Case (0x06)
12020                    {
12021                        Local2 = 0x06
12022                        BankField (OPR0, BNK0, 0x06, QWordAcc, NoLock, Preserve)
12023                        {
12024                                ,   5,
12025                            F051,   6
12026                        }
12027
12028                        Local3 = RefOf (F051)
12029                        Local4 = RefOf (G006)
12030                    }
12031                    Case (0x07)
12032                    {
12033                        Local2 = 0x07
12034                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, Preserve)
12035                        {
12036                            AccessAs (QWordAcc, 0x00),
12037                                ,   5,
12038                            F052,   7
12039                        }
12040
12041                        Local3 = RefOf (F052)
12042                        Local4 = RefOf (G007)
12043                    }
12044                    Case (0x08)
12045                    {
12046                        Local2 = 0x08
12047                        BankField (OPR0, BNK0, 0x08, QWordAcc, NoLock, Preserve)
12048                        {
12049                                ,   5,
12050                            F053,   8
12051                        }
12052
12053                        Local3 = RefOf (F053)
12054                        Local4 = RefOf (G008)
12055                    }
12056                    Case (0x09)
12057                    {
12058                        Local2 = 0x09
12059                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, Preserve)
12060                        {
12061                            AccessAs (QWordAcc, 0x00),
12062                                ,   5,
12063                            F054,   9
12064                        }
12065
12066                        Local3 = RefOf (F054)
12067                        Local4 = RefOf (G009)
12068                    }
12069                    Case (0x1F)
12070                    {
12071                        Local2 = 0x3F
12072                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, Preserve)
12073                        {
12074                                ,   5,
12075                            F055,   31
12076                        }
12077
12078                        Local3 = RefOf (F055)
12079                        Local4 = RefOf (G00A)
12080                    }
12081                    Case (0x20)
12082                    {
12083                        Local2 = 0x40
12084                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, Preserve)
12085                        {
12086                            AccessAs (QWordAcc, 0x00),
12087                                ,   5,
12088                            F056,   32
12089                        }
12090
12091                        Local3 = RefOf (F056)
12092                        Local4 = RefOf (G00B)
12093                    }
12094                    Case (0x21)
12095                    {
12096                        Local2 = 0x7F
12097                        BankField (OPR0, BNK0, 0x7F, QWordAcc, NoLock, Preserve)
12098                        {
12099                                ,   5,
12100                            F057,   33
12101                        }
12102
12103                        Local3 = RefOf (F057)
12104                        Local4 = RefOf (G00C)
12105                    }
12106                    Case (0x3F)
12107                    {
12108                        Local2 = 0x80
12109                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, Preserve)
12110                        {
12111                            AccessAs (QWordAcc, 0x00),
12112                                ,   5,
12113                            F058,   63
12114                        }
12115
12116                        Local3 = RefOf (F058)
12117                        Local4 = RefOf (G00D)
12118                    }
12119                    Case (0x40)
12120                    {
12121                        Local2 = 0xFF
12122                        BankField (OPR0, BNK0, 0xFF, QWordAcc, NoLock, Preserve)
12123                        {
12124                                ,   5,
12125                            F059,   64
12126                        }
12127
12128                        Local3 = RefOf (F059)
12129                        Local4 = RefOf (G00E)
12130                    }
12131                    Case (0x41)
12132                    {
12133                        Local2 = 0x00
12134                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, Preserve)
12135                        {
12136                            AccessAs (QWordAcc, 0x00),
12137                                ,   5,
12138                            F05A,   65
12139                        }
12140
12141                        Local3 = RefOf (F05A)
12142                        Local4 = RefOf (G000)
12143                    }
12144                    Case (0x45)
12145                    {
12146                        Local2 = 0x01
12147                        BankField (OPR0, BNK0, 0x01, QWordAcc, NoLock, Preserve)
12148                        {
12149                                ,   5,
12150                            F05B,   69
12151                        }
12152
12153                        Local3 = RefOf (F05B)
12154                        Local4 = RefOf (G001)
12155                    }
12156                    Case (0x81)
12157                    {
12158                        Local2 = 0x02
12159                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, Preserve)
12160                        {
12161                            AccessAs (QWordAcc, 0x00),
12162                                ,   5,
12163                            F05C,   129
12164                        }
12165
12166                        Local3 = RefOf (F05C)
12167                        Local4 = RefOf (G002)
12168                    }
12169                    Case (0x0100)
12170                    {
12171                        Local2 = 0x03
12172                        BankField (OPR0, BNK0, 0x03, QWordAcc, NoLock, Preserve)
12173                        {
12174                                ,   5,
12175                            F05D,   256
12176                        }
12177
12178                        Local3 = RefOf (F05D)
12179                        Local4 = RefOf (G003)
12180                    }
12181                    Case (0x03FF)
12182                    {
12183                        Local2 = 0x04
12184                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, Preserve)
12185                        {
12186                            AccessAs (QWordAcc, 0x00),
12187                                ,   5,
12188                            F05E,   1023
12189                        }
12190
12191                        Local3 = RefOf (F05E)
12192                        Local4 = RefOf (G004)
12193                    }
12194                    Case (0x07BF)
12195                    {
12196                        Local2 = 0x05
12197                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, Preserve)
12198                        {
12199                                ,   5,
12200                            F05F,   1983
12201                        }
12202
12203                        Local3 = RefOf (F05F)
12204                        Local4 = RefOf (G005)
12205                    }
12206                    Default
12207                    {
12208                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
12209                        Return (Zero)
12210                    }
12211
12212                }
12213            }
12214            Case (0x06)
12215            {
12216                Switch (ToInteger (Arg3))
12217                {
12218                    Case (0x01)
12219                    {
12220                        Local2 = 0x06
12221                        BankField (OPR0, BNK0, 0x06, QWordAcc, NoLock, Preserve)
12222                        {
12223                                ,   6,
12224                            F060,   1
12225                        }
12226
12227                        Local3 = RefOf (F060)
12228                        Local4 = RefOf (G006)
12229                    }
12230                    Case (0x06)
12231                    {
12232                        Local2 = 0x07
12233                        BankField (OPR0, BNK0, 0x07, AnyAcc, NoLock, Preserve)
12234                        {
12235                            AccessAs (QWordAcc, 0x00),
12236                                ,   6,
12237                            F061,   6
12238                        }
12239
12240                        Local3 = RefOf (F061)
12241                        Local4 = RefOf (G007)
12242                    }
12243                    Case (0x07)
12244                    {
12245                        Local2 = 0x08
12246                        BankField (OPR0, BNK0, 0x08, QWordAcc, NoLock, Preserve)
12247                        {
12248                                ,   6,
12249                            F062,   7
12250                        }
12251
12252                        Local3 = RefOf (F062)
12253                        Local4 = RefOf (G008)
12254                    }
12255                    Case (0x08)
12256                    {
12257                        Local2 = 0x09
12258                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, Preserve)
12259                        {
12260                            AccessAs (QWordAcc, 0x00),
12261                                ,   6,
12262                            F063,   8
12263                        }
12264
12265                        Local3 = RefOf (F063)
12266                        Local4 = RefOf (G009)
12267                    }
12268                    Case (0x09)
12269                    {
12270                        Local2 = 0x3F
12271                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, Preserve)
12272                        {
12273                                ,   6,
12274                            F064,   9
12275                        }
12276
12277                        Local3 = RefOf (F064)
12278                        Local4 = RefOf (G00A)
12279                    }
12280                    Case (0x1F)
12281                    {
12282                        Local2 = 0x40
12283                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, Preserve)
12284                        {
12285                            AccessAs (QWordAcc, 0x00),
12286                                ,   6,
12287                            F065,   31
12288                        }
12289
12290                        Local3 = RefOf (F065)
12291                        Local4 = RefOf (G00B)
12292                    }
12293                    Case (0x20)
12294                    {
12295                        Local2 = 0x7F
12296                        BankField (OPR0, BNK0, 0x7F, QWordAcc, NoLock, Preserve)
12297                        {
12298                                ,   6,
12299                            F066,   32
12300                        }
12301
12302                        Local3 = RefOf (F066)
12303                        Local4 = RefOf (G00C)
12304                    }
12305                    Case (0x21)
12306                    {
12307                        Local2 = 0x80
12308                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, Preserve)
12309                        {
12310                            AccessAs (QWordAcc, 0x00),
12311                                ,   6,
12312                            F067,   33
12313                        }
12314
12315                        Local3 = RefOf (F067)
12316                        Local4 = RefOf (G00D)
12317                    }
12318                    Case (0x3F)
12319                    {
12320                        Local2 = 0xFF
12321                        BankField (OPR0, BNK0, 0xFF, QWordAcc, NoLock, Preserve)
12322                        {
12323                                ,   6,
12324                            F068,   63
12325                        }
12326
12327                        Local3 = RefOf (F068)
12328                        Local4 = RefOf (G00E)
12329                    }
12330                    Case (0x40)
12331                    {
12332                        Local2 = 0x00
12333                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, Preserve)
12334                        {
12335                            AccessAs (QWordAcc, 0x00),
12336                                ,   6,
12337                            F069,   64
12338                        }
12339
12340                        Local3 = RefOf (F069)
12341                        Local4 = RefOf (G000)
12342                    }
12343                    Case (0x41)
12344                    {
12345                        Local2 = 0x01
12346                        BankField (OPR0, BNK0, 0x01, QWordAcc, NoLock, Preserve)
12347                        {
12348                                ,   6,
12349                            F06A,   65
12350                        }
12351
12352                        Local3 = RefOf (F06A)
12353                        Local4 = RefOf (G001)
12354                    }
12355                    Case (0x45)
12356                    {
12357                        Local2 = 0x02
12358                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, Preserve)
12359                        {
12360                            AccessAs (QWordAcc, 0x00),
12361                                ,   6,
12362                            F06B,   69
12363                        }
12364
12365                        Local3 = RefOf (F06B)
12366                        Local4 = RefOf (G002)
12367                    }
12368                    Case (0x81)
12369                    {
12370                        Local2 = 0x03
12371                        BankField (OPR0, BNK0, 0x03, QWordAcc, NoLock, Preserve)
12372                        {
12373                                ,   6,
12374                            F06C,   129
12375                        }
12376
12377                        Local3 = RefOf (F06C)
12378                        Local4 = RefOf (G003)
12379                    }
12380                    Case (0x0100)
12381                    {
12382                        Local2 = 0x04
12383                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, Preserve)
12384                        {
12385                            AccessAs (QWordAcc, 0x00),
12386                                ,   6,
12387                            F06D,   256
12388                        }
12389
12390                        Local3 = RefOf (F06D)
12391                        Local4 = RefOf (G004)
12392                    }
12393                    Case (0x03FF)
12394                    {
12395                        Local2 = 0x05
12396                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, Preserve)
12397                        {
12398                                ,   6,
12399                            F06E,   1023
12400                        }
12401
12402                        Local3 = RefOf (F06E)
12403                        Local4 = RefOf (G005)
12404                    }
12405                    Case (0x07BF)
12406                    {
12407                        Local2 = 0x06
12408                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, Preserve)
12409                        {
12410                            AccessAs (QWordAcc, 0x00),
12411                                ,   6,
12412                            F06F,   1983
12413                        }
12414
12415                        Local3 = RefOf (F06F)
12416                        Local4 = RefOf (G006)
12417                    }
12418                    Default
12419                    {
12420                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
12421                        Return (Zero)
12422                    }
12423
12424                }
12425            }
12426            Case (0x07)
12427            {
12428                Switch (ToInteger (Arg3))
12429                {
12430                    Case (0x01)
12431                    {
12432                        Local2 = 0x07
12433                        BankField (OPR0, BNK0, 0x07, DWordAcc, NoLock, Preserve)
12434                        {
12435                            AccessAs (QWordAcc, 0x00),
12436                                ,   7,
12437                            F070,   1
12438                        }
12439
12440                        Local3 = RefOf (F070)
12441                        Local4 = RefOf (G007)
12442                    }
12443                    Case (0x06)
12444                    {
12445                        Local2 = 0x08
12446                        BankField (OPR0, BNK0, 0x08, QWordAcc, NoLock, Preserve)
12447                        {
12448                                ,   7,
12449                            F071,   6
12450                        }
12451
12452                        Local3 = RefOf (F071)
12453                        Local4 = RefOf (G008)
12454                    }
12455                    Case (0x07)
12456                    {
12457                        Local2 = 0x09
12458                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, Preserve)
12459                        {
12460                            AccessAs (QWordAcc, 0x00),
12461                                ,   7,
12462                            F072,   7
12463                        }
12464
12465                        Local3 = RefOf (F072)
12466                        Local4 = RefOf (G009)
12467                    }
12468                    Case (0x08)
12469                    {
12470                        Local2 = 0x3F
12471                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, Preserve)
12472                        {
12473                                ,   7,
12474                            F073,   8
12475                        }
12476
12477                        Local3 = RefOf (F073)
12478                        Local4 = RefOf (G00A)
12479                    }
12480                    Case (0x09)
12481                    {
12482                        Local2 = 0x40
12483                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, Preserve)
12484                        {
12485                            AccessAs (QWordAcc, 0x00),
12486                                ,   7,
12487                            F074,   9
12488                        }
12489
12490                        Local3 = RefOf (F074)
12491                        Local4 = RefOf (G00B)
12492                    }
12493                    Case (0x1F)
12494                    {
12495                        Local2 = 0x7F
12496                        BankField (OPR0, BNK0, 0x7F, QWordAcc, NoLock, Preserve)
12497                        {
12498                                ,   7,
12499                            F075,   31
12500                        }
12501
12502                        Local3 = RefOf (F075)
12503                        Local4 = RefOf (G00C)
12504                    }
12505                    Case (0x20)
12506                    {
12507                        Local2 = 0x80
12508                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, Preserve)
12509                        {
12510                            AccessAs (QWordAcc, 0x00),
12511                                ,   7,
12512                            F076,   32
12513                        }
12514
12515                        Local3 = RefOf (F076)
12516                        Local4 = RefOf (G00D)
12517                    }
12518                    Case (0x21)
12519                    {
12520                        Local2 = 0xFF
12521                        BankField (OPR0, BNK0, 0xFF, QWordAcc, NoLock, Preserve)
12522                        {
12523                                ,   7,
12524                            F077,   33
12525                        }
12526
12527                        Local3 = RefOf (F077)
12528                        Local4 = RefOf (G00E)
12529                    }
12530                    Case (0x3F)
12531                    {
12532                        Local2 = 0x00
12533                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, Preserve)
12534                        {
12535                            AccessAs (QWordAcc, 0x00),
12536                                ,   7,
12537                            F078,   63
12538                        }
12539
12540                        Local3 = RefOf (F078)
12541                        Local4 = RefOf (G000)
12542                    }
12543                    Case (0x40)
12544                    {
12545                        Local2 = 0x01
12546                        BankField (OPR0, BNK0, 0x01, QWordAcc, NoLock, Preserve)
12547                        {
12548                                ,   7,
12549                            F079,   64
12550                        }
12551
12552                        Local3 = RefOf (F079)
12553                        Local4 = RefOf (G001)
12554                    }
12555                    Case (0x41)
12556                    {
12557                        Local2 = 0x02
12558                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, Preserve)
12559                        {
12560                            AccessAs (QWordAcc, 0x00),
12561                                ,   7,
12562                            F07A,   65
12563                        }
12564
12565                        Local3 = RefOf (F07A)
12566                        Local4 = RefOf (G002)
12567                    }
12568                    Case (0x45)
12569                    {
12570                        Local2 = 0x03
12571                        BankField (OPR0, BNK0, 0x03, QWordAcc, NoLock, Preserve)
12572                        {
12573                                ,   7,
12574                            F07B,   69
12575                        }
12576
12577                        Local3 = RefOf (F07B)
12578                        Local4 = RefOf (G003)
12579                    }
12580                    Case (0x81)
12581                    {
12582                        Local2 = 0x04
12583                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, Preserve)
12584                        {
12585                            AccessAs (QWordAcc, 0x00),
12586                                ,   7,
12587                            F07C,   129
12588                        }
12589
12590                        Local3 = RefOf (F07C)
12591                        Local4 = RefOf (G004)
12592                    }
12593                    Case (0x0100)
12594                    {
12595                        Local2 = 0x05
12596                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, Preserve)
12597                        {
12598                                ,   7,
12599                            F07D,   256
12600                        }
12601
12602                        Local3 = RefOf (F07D)
12603                        Local4 = RefOf (G005)
12604                    }
12605                    Case (0x03FF)
12606                    {
12607                        Local2 = 0x06
12608                        BankField (OPR0, BNK0, 0x06, AnyAcc, NoLock, Preserve)
12609                        {
12610                            AccessAs (QWordAcc, 0x00),
12611                                ,   7,
12612                            F07E,   1023
12613                        }
12614
12615                        Local3 = RefOf (F07E)
12616                        Local4 = RefOf (G006)
12617                    }
12618                    Case (0x07BF)
12619                    {
12620                        Local2 = 0x07
12621                        BankField (OPR0, BNK0, 0x07, QWordAcc, NoLock, Preserve)
12622                        {
12623                                ,   7,
12624                            F07F,   1983
12625                        }
12626
12627                        Local3 = RefOf (F07F)
12628                        Local4 = RefOf (G007)
12629                    }
12630                    Default
12631                    {
12632                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
12633                        Return (Zero)
12634                    }
12635
12636                }
12637            }
12638            Case (0x08)
12639            {
12640                Switch (ToInteger (Arg3))
12641                {
12642                    Case (0x01)
12643                    {
12644                        Local2 = 0x08
12645                        BankField (OPR0, BNK0, 0x08, QWordAcc, NoLock, Preserve)
12646                        {
12647                            Offset (0x01),
12648                            F080,   1
12649                        }
12650
12651                        Local3 = RefOf (F080)
12652                        Local4 = RefOf (G008)
12653                    }
12654                    Case (0x06)
12655                    {
12656                        Local2 = 0x09
12657                        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, Preserve)
12658                        {
12659                            AccessAs (QWordAcc, 0x00),
12660                            Offset (0x01),
12661                            F081,   6
12662                        }
12663
12664                        Local3 = RefOf (F081)
12665                        Local4 = RefOf (G009)
12666                    }
12667                    Case (0x07)
12668                    {
12669                        Local2 = 0x3F
12670                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, Preserve)
12671                        {
12672                            Offset (0x01),
12673                            F082,   7
12674                        }
12675
12676                        Local3 = RefOf (F082)
12677                        Local4 = RefOf (G00A)
12678                    }
12679                    Case (0x08)
12680                    {
12681                        Local2 = 0x40
12682                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, Preserve)
12683                        {
12684                            AccessAs (QWordAcc, 0x00),
12685                            Offset (0x01),
12686                            F083,   8
12687                        }
12688
12689                        Local3 = RefOf (F083)
12690                        Local4 = RefOf (G00B)
12691                    }
12692                    Case (0x09)
12693                    {
12694                        Local2 = 0x7F
12695                        BankField (OPR0, BNK0, 0x7F, QWordAcc, NoLock, Preserve)
12696                        {
12697                            Offset (0x01),
12698                            F084,   9
12699                        }
12700
12701                        Local3 = RefOf (F084)
12702                        Local4 = RefOf (G00C)
12703                    }
12704                    Case (0x1F)
12705                    {
12706                        Local2 = 0x80
12707                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, Preserve)
12708                        {
12709                            AccessAs (QWordAcc, 0x00),
12710                            Offset (0x01),
12711                            F085,   31
12712                        }
12713
12714                        Local3 = RefOf (F085)
12715                        Local4 = RefOf (G00D)
12716                    }
12717                    Case (0x20)
12718                    {
12719                        Local2 = 0xFF
12720                        BankField (OPR0, BNK0, 0xFF, QWordAcc, NoLock, Preserve)
12721                        {
12722                            Offset (0x01),
12723                            F086,   32
12724                        }
12725
12726                        Local3 = RefOf (F086)
12727                        Local4 = RefOf (G00E)
12728                    }
12729                    Case (0x21)
12730                    {
12731                        Local2 = 0x00
12732                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, Preserve)
12733                        {
12734                            AccessAs (QWordAcc, 0x00),
12735                            Offset (0x01),
12736                            F087,   33
12737                        }
12738
12739                        Local3 = RefOf (F087)
12740                        Local4 = RefOf (G000)
12741                    }
12742                    Case (0x3F)
12743                    {
12744                        Local2 = 0x01
12745                        BankField (OPR0, BNK0, 0x01, QWordAcc, NoLock, Preserve)
12746                        {
12747                            Offset (0x01),
12748                            F088,   63
12749                        }
12750
12751                        Local3 = RefOf (F088)
12752                        Local4 = RefOf (G001)
12753                    }
12754                    Case (0x40)
12755                    {
12756                        Local2 = 0x02
12757                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, Preserve)
12758                        {
12759                            AccessAs (QWordAcc, 0x00),
12760                            Offset (0x01),
12761                            F089,   64
12762                        }
12763
12764                        Local3 = RefOf (F089)
12765                        Local4 = RefOf (G002)
12766                    }
12767                    Case (0x41)
12768                    {
12769                        Local2 = 0x03
12770                        BankField (OPR0, BNK0, 0x03, QWordAcc, NoLock, Preserve)
12771                        {
12772                            Offset (0x01),
12773                            F08A,   65
12774                        }
12775
12776                        Local3 = RefOf (F08A)
12777                        Local4 = RefOf (G003)
12778                    }
12779                    Case (0x45)
12780                    {
12781                        Local2 = 0x04
12782                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, Preserve)
12783                        {
12784                            AccessAs (QWordAcc, 0x00),
12785                            Offset (0x01),
12786                            F08B,   69
12787                        }
12788
12789                        Local3 = RefOf (F08B)
12790                        Local4 = RefOf (G004)
12791                    }
12792                    Case (0x81)
12793                    {
12794                        Local2 = 0x05
12795                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, Preserve)
12796                        {
12797                            Offset (0x01),
12798                            F08C,   129
12799                        }
12800
12801                        Local3 = RefOf (F08C)
12802                        Local4 = RefOf (G005)
12803                    }
12804                    Case (0x0100)
12805                    {
12806                        Local2 = 0x06
12807                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, Preserve)
12808                        {
12809                            AccessAs (QWordAcc, 0x00),
12810                            Offset (0x01),
12811                            F08D,   256
12812                        }
12813
12814                        Local3 = RefOf (F08D)
12815                        Local4 = RefOf (G006)
12816                    }
12817                    Case (0x03FF)
12818                    {
12819                        Local2 = 0x07
12820                        BankField (OPR0, BNK0, 0x07, QWordAcc, NoLock, Preserve)
12821                        {
12822                            Offset (0x01),
12823                            F08E,   1023
12824                        }
12825
12826                        Local3 = RefOf (F08E)
12827                        Local4 = RefOf (G007)
12828                    }
12829                    Case (0x07BF)
12830                    {
12831                        Local2 = 0x08
12832                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, Preserve)
12833                        {
12834                            AccessAs (QWordAcc, 0x00),
12835                            Offset (0x01),
12836                            F08F,   1983
12837                        }
12838
12839                        Local3 = RefOf (F08F)
12840                        Local4 = RefOf (G008)
12841                    }
12842                    Default
12843                    {
12844                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
12845                        Return (Zero)
12846                    }
12847
12848                }
12849            }
12850            Case (0x09)
12851            {
12852                Switch (ToInteger (Arg3))
12853                {
12854                    Case (0x01)
12855                    {
12856                        Local2 = 0x09
12857                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, Preserve)
12858                        {
12859                            AccessAs (QWordAcc, 0x00),
12860                                ,   9,
12861                            F090,   1
12862                        }
12863
12864                        Local3 = RefOf (F090)
12865                        Local4 = RefOf (G009)
12866                    }
12867                    Case (0x06)
12868                    {
12869                        Local2 = 0x3F
12870                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, Preserve)
12871                        {
12872                                ,   9,
12873                            F091,   6
12874                        }
12875
12876                        Local3 = RefOf (F091)
12877                        Local4 = RefOf (G00A)
12878                    }
12879                    Case (0x07)
12880                    {
12881                        Local2 = 0x40
12882                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, Preserve)
12883                        {
12884                            AccessAs (QWordAcc, 0x00),
12885                                ,   9,
12886                            F092,   7
12887                        }
12888
12889                        Local3 = RefOf (F092)
12890                        Local4 = RefOf (G00B)
12891                    }
12892                    Case (0x08)
12893                    {
12894                        Local2 = 0x7F
12895                        BankField (OPR0, BNK0, 0x7F, QWordAcc, NoLock, Preserve)
12896                        {
12897                                ,   9,
12898                            F093,   8
12899                        }
12900
12901                        Local3 = RefOf (F093)
12902                        Local4 = RefOf (G00C)
12903                    }
12904                    Case (0x09)
12905                    {
12906                        Local2 = 0x80
12907                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, Preserve)
12908                        {
12909                            AccessAs (QWordAcc, 0x00),
12910                                ,   9,
12911                            F094,   9
12912                        }
12913
12914                        Local3 = RefOf (F094)
12915                        Local4 = RefOf (G00D)
12916                    }
12917                    Case (0x1F)
12918                    {
12919                        Local2 = 0xFF
12920                        BankField (OPR0, BNK0, 0xFF, QWordAcc, NoLock, Preserve)
12921                        {
12922                                ,   9,
12923                            F095,   31
12924                        }
12925
12926                        Local3 = RefOf (F095)
12927                        Local4 = RefOf (G00E)
12928                    }
12929                    Case (0x20)
12930                    {
12931                        Local2 = 0x00
12932                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, Preserve)
12933                        {
12934                            AccessAs (QWordAcc, 0x00),
12935                                ,   9,
12936                            F096,   32
12937                        }
12938
12939                        Local3 = RefOf (F096)
12940                        Local4 = RefOf (G000)
12941                    }
12942                    Case (0x21)
12943                    {
12944                        Local2 = 0x01
12945                        BankField (OPR0, BNK0, 0x01, QWordAcc, NoLock, Preserve)
12946                        {
12947                                ,   9,
12948                            F097,   33
12949                        }
12950
12951                        Local3 = RefOf (F097)
12952                        Local4 = RefOf (G001)
12953                    }
12954                    Case (0x3F)
12955                    {
12956                        Local2 = 0x02
12957                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, Preserve)
12958                        {
12959                            AccessAs (QWordAcc, 0x00),
12960                                ,   9,
12961                            F098,   63
12962                        }
12963
12964                        Local3 = RefOf (F098)
12965                        Local4 = RefOf (G002)
12966                    }
12967                    Case (0x40)
12968                    {
12969                        Local2 = 0x03
12970                        BankField (OPR0, BNK0, 0x03, QWordAcc, NoLock, Preserve)
12971                        {
12972                                ,   9,
12973                            F099,   64
12974                        }
12975
12976                        Local3 = RefOf (F099)
12977                        Local4 = RefOf (G003)
12978                    }
12979                    Case (0x41)
12980                    {
12981                        Local2 = 0x04
12982                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, Preserve)
12983                        {
12984                            AccessAs (QWordAcc, 0x00),
12985                                ,   9,
12986                            F09A,   65
12987                        }
12988
12989                        Local3 = RefOf (F09A)
12990                        Local4 = RefOf (G004)
12991                    }
12992                    Case (0x45)
12993                    {
12994                        Local2 = 0x05
12995                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, Preserve)
12996                        {
12997                                ,   9,
12998                            F09B,   69
12999                        }
13000
13001                        Local3 = RefOf (F09B)
13002                        Local4 = RefOf (G005)
13003                    }
13004                    Case (0x81)
13005                    {
13006                        Local2 = 0x06
13007                        BankField (OPR0, BNK0, 0x06, AnyAcc, NoLock, Preserve)
13008                        {
13009                            AccessAs (QWordAcc, 0x00),
13010                                ,   9,
13011                            F09C,   129
13012                        }
13013
13014                        Local3 = RefOf (F09C)
13015                        Local4 = RefOf (G006)
13016                    }
13017                    Case (0x0100)
13018                    {
13019                        Local2 = 0x07
13020                        BankField (OPR0, BNK0, 0x07, QWordAcc, NoLock, Preserve)
13021                        {
13022                                ,   9,
13023                            F09D,   256
13024                        }
13025
13026                        Local3 = RefOf (F09D)
13027                        Local4 = RefOf (G007)
13028                    }
13029                    Case (0x03FF)
13030                    {
13031                        Local2 = 0x08
13032                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, Preserve)
13033                        {
13034                            AccessAs (QWordAcc, 0x00),
13035                                ,   9,
13036                            F09E,   1023
13037                        }
13038
13039                        Local3 = RefOf (F09E)
13040                        Local4 = RefOf (G008)
13041                    }
13042                    Case (0x07BF)
13043                    {
13044                        Local2 = 0x09
13045                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, Preserve)
13046                        {
13047                                ,   9,
13048                            F09F,   1983
13049                        }
13050
13051                        Local3 = RefOf (F09F)
13052                        Local4 = RefOf (G009)
13053                    }
13054                    Default
13055                    {
13056                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
13057                        Return (Zero)
13058                    }
13059
13060                }
13061            }
13062            Case (0x1F)
13063            {
13064                Switch (ToInteger (Arg3))
13065                {
13066                    Case (0x01)
13067                    {
13068                        Local2 = 0x3F
13069                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, Preserve)
13070                        {
13071                            Offset (0x03),
13072                                ,   7,
13073                            F0A0,   1
13074                        }
13075
13076                        Local3 = RefOf (F0A0)
13077                        Local4 = RefOf (G00A)
13078                    }
13079                    Case (0x06)
13080                    {
13081                        Local2 = 0x40
13082                        BankField (OPR0, BNK0, 0x40, WordAcc, NoLock, Preserve)
13083                        {
13084                            AccessAs (QWordAcc, 0x00),
13085                            Offset (0x03),
13086                                ,   7,
13087                            F0A1,   6
13088                        }
13089
13090                        Local3 = RefOf (F0A1)
13091                        Local4 = RefOf (G00B)
13092                    }
13093                    Case (0x07)
13094                    {
13095                        Local2 = 0x7F
13096                        BankField (OPR0, BNK0, 0x7F, QWordAcc, NoLock, Preserve)
13097                        {
13098                            Offset (0x03),
13099                                ,   7,
13100                            F0A2,   7
13101                        }
13102
13103                        Local3 = RefOf (F0A2)
13104                        Local4 = RefOf (G00C)
13105                    }
13106                    Case (0x08)
13107                    {
13108                        Local2 = 0x80
13109                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, Preserve)
13110                        {
13111                            AccessAs (QWordAcc, 0x00),
13112                            Offset (0x03),
13113                                ,   7,
13114                            F0A3,   8
13115                        }
13116
13117                        Local3 = RefOf (F0A3)
13118                        Local4 = RefOf (G00D)
13119                    }
13120                    Case (0x09)
13121                    {
13122                        Local2 = 0xFF
13123                        BankField (OPR0, BNK0, 0xFF, QWordAcc, NoLock, Preserve)
13124                        {
13125                            Offset (0x03),
13126                                ,   7,
13127                            F0A4,   9
13128                        }
13129
13130                        Local3 = RefOf (F0A4)
13131                        Local4 = RefOf (G00E)
13132                    }
13133                    Case (0x1F)
13134                    {
13135                        Local2 = 0x00
13136                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, Preserve)
13137                        {
13138                            AccessAs (QWordAcc, 0x00),
13139                            Offset (0x03),
13140                                ,   7,
13141                            F0A5,   31
13142                        }
13143
13144                        Local3 = RefOf (F0A5)
13145                        Local4 = RefOf (G000)
13146                    }
13147                    Case (0x20)
13148                    {
13149                        Local2 = 0x01
13150                        BankField (OPR0, BNK0, 0x01, QWordAcc, NoLock, Preserve)
13151                        {
13152                            Offset (0x03),
13153                                ,   7,
13154                            F0A6,   32
13155                        }
13156
13157                        Local3 = RefOf (F0A6)
13158                        Local4 = RefOf (G001)
13159                    }
13160                    Case (0x21)
13161                    {
13162                        Local2 = 0x02
13163                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, Preserve)
13164                        {
13165                            AccessAs (QWordAcc, 0x00),
13166                            Offset (0x03),
13167                                ,   7,
13168                            F0A7,   33
13169                        }
13170
13171                        Local3 = RefOf (F0A7)
13172                        Local4 = RefOf (G002)
13173                    }
13174                    Case (0x3F)
13175                    {
13176                        Local2 = 0x03
13177                        BankField (OPR0, BNK0, 0x03, QWordAcc, NoLock, Preserve)
13178                        {
13179                            Offset (0x03),
13180                                ,   7,
13181                            F0A8,   63
13182                        }
13183
13184                        Local3 = RefOf (F0A8)
13185                        Local4 = RefOf (G003)
13186                    }
13187                    Case (0x40)
13188                    {
13189                        Local2 = 0x04
13190                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, Preserve)
13191                        {
13192                            AccessAs (QWordAcc, 0x00),
13193                            Offset (0x03),
13194                                ,   7,
13195                            F0A9,   64
13196                        }
13197
13198                        Local3 = RefOf (F0A9)
13199                        Local4 = RefOf (G004)
13200                    }
13201                    Case (0x41)
13202                    {
13203                        Local2 = 0x05
13204                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, Preserve)
13205                        {
13206                            Offset (0x03),
13207                                ,   7,
13208                            F0AA,   65
13209                        }
13210
13211                        Local3 = RefOf (F0AA)
13212                        Local4 = RefOf (G005)
13213                    }
13214                    Case (0x45)
13215                    {
13216                        Local2 = 0x06
13217                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, Preserve)
13218                        {
13219                            AccessAs (QWordAcc, 0x00),
13220                            Offset (0x03),
13221                                ,   7,
13222                            F0AB,   69
13223                        }
13224
13225                        Local3 = RefOf (F0AB)
13226                        Local4 = RefOf (G006)
13227                    }
13228                    Case (0x81)
13229                    {
13230                        Local2 = 0x07
13231                        BankField (OPR0, BNK0, 0x07, QWordAcc, NoLock, Preserve)
13232                        {
13233                            Offset (0x03),
13234                                ,   7,
13235                            F0AC,   129
13236                        }
13237
13238                        Local3 = RefOf (F0AC)
13239                        Local4 = RefOf (G007)
13240                    }
13241                    Case (0x0100)
13242                    {
13243                        Local2 = 0x08
13244                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, Preserve)
13245                        {
13246                            AccessAs (QWordAcc, 0x00),
13247                            Offset (0x03),
13248                                ,   7,
13249                            F0AD,   256
13250                        }
13251
13252                        Local3 = RefOf (F0AD)
13253                        Local4 = RefOf (G008)
13254                    }
13255                    Case (0x03FF)
13256                    {
13257                        Local2 = 0x09
13258                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, Preserve)
13259                        {
13260                            Offset (0x03),
13261                                ,   7,
13262                            F0AE,   1023
13263                        }
13264
13265                        Local3 = RefOf (F0AE)
13266                        Local4 = RefOf (G009)
13267                    }
13268                    Case (0x07BF)
13269                    {
13270                        Local2 = 0x3F
13271                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, Preserve)
13272                        {
13273                            AccessAs (QWordAcc, 0x00),
13274                            Offset (0x03),
13275                                ,   7,
13276                            F0AF,   1983
13277                        }
13278
13279                        Local3 = RefOf (F0AF)
13280                        Local4 = RefOf (G00A)
13281                    }
13282                    Default
13283                    {
13284                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
13285                        Return (Zero)
13286                    }
13287
13288                }
13289            }
13290            Case (0x20)
13291            {
13292                Switch (ToInteger (Arg3))
13293                {
13294                    Case (0x01)
13295                    {
13296                        Local2 = 0x40
13297                        BankField (OPR0, BNK0, 0x40, AnyAcc, NoLock, Preserve)
13298                        {
13299                            AccessAs (QWordAcc, 0x00),
13300                            Offset (0x04),
13301                            F0B0,   1
13302                        }
13303
13304                        Local3 = RefOf (F0B0)
13305                        Local4 = RefOf (G00B)
13306                    }
13307                    Case (0x06)
13308                    {
13309                        Local2 = 0x7F
13310                        BankField (OPR0, BNK0, 0x7F, QWordAcc, NoLock, Preserve)
13311                        {
13312                            Offset (0x04),
13313                            F0B1,   6
13314                        }
13315
13316                        Local3 = RefOf (F0B1)
13317                        Local4 = RefOf (G00C)
13318                    }
13319                    Case (0x07)
13320                    {
13321                        Local2 = 0x80
13322                        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, Preserve)
13323                        {
13324                            AccessAs (QWordAcc, 0x00),
13325                            Offset (0x04),
13326                            F0B2,   7
13327                        }
13328
13329                        Local3 = RefOf (F0B2)
13330                        Local4 = RefOf (G00D)
13331                    }
13332                    Case (0x08)
13333                    {
13334                        Local2 = 0xFF
13335                        BankField (OPR0, BNK0, 0xFF, QWordAcc, NoLock, Preserve)
13336                        {
13337                            Offset (0x04),
13338                            F0B3,   8
13339                        }
13340
13341                        Local3 = RefOf (F0B3)
13342                        Local4 = RefOf (G00E)
13343                    }
13344                    Case (0x09)
13345                    {
13346                        Local2 = 0x00
13347                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, Preserve)
13348                        {
13349                            AccessAs (QWordAcc, 0x00),
13350                            Offset (0x04),
13351                            F0B4,   9
13352                        }
13353
13354                        Local3 = RefOf (F0B4)
13355                        Local4 = RefOf (G000)
13356                    }
13357                    Case (0x1F)
13358                    {
13359                        Local2 = 0x01
13360                        BankField (OPR0, BNK0, 0x01, QWordAcc, NoLock, Preserve)
13361                        {
13362                            Offset (0x04),
13363                            F0B5,   31
13364                        }
13365
13366                        Local3 = RefOf (F0B5)
13367                        Local4 = RefOf (G001)
13368                    }
13369                    Case (0x20)
13370                    {
13371                        Local2 = 0x02
13372                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, Preserve)
13373                        {
13374                            AccessAs (QWordAcc, 0x00),
13375                            Offset (0x04),
13376                            F0B6,   32
13377                        }
13378
13379                        Local3 = RefOf (F0B6)
13380                        Local4 = RefOf (G002)
13381                    }
13382                    Case (0x21)
13383                    {
13384                        Local2 = 0x03
13385                        BankField (OPR0, BNK0, 0x03, QWordAcc, NoLock, Preserve)
13386                        {
13387                            Offset (0x04),
13388                            F0B7,   33
13389                        }
13390
13391                        Local3 = RefOf (F0B7)
13392                        Local4 = RefOf (G003)
13393                    }
13394                    Case (0x3F)
13395                    {
13396                        Local2 = 0x04
13397                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, Preserve)
13398                        {
13399                            AccessAs (QWordAcc, 0x00),
13400                            Offset (0x04),
13401                            F0B8,   63
13402                        }
13403
13404                        Local3 = RefOf (F0B8)
13405                        Local4 = RefOf (G004)
13406                    }
13407                    Case (0x40)
13408                    {
13409                        Local2 = 0x05
13410                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, Preserve)
13411                        {
13412                            Offset (0x04),
13413                            F0B9,   64
13414                        }
13415
13416                        Local3 = RefOf (F0B9)
13417                        Local4 = RefOf (G005)
13418                    }
13419                    Case (0x41)
13420                    {
13421                        Local2 = 0x06
13422                        BankField (OPR0, BNK0, 0x06, AnyAcc, NoLock, Preserve)
13423                        {
13424                            AccessAs (QWordAcc, 0x00),
13425                            Offset (0x04),
13426                            F0BA,   65
13427                        }
13428
13429                        Local3 = RefOf (F0BA)
13430                        Local4 = RefOf (G006)
13431                    }
13432                    Case (0x45)
13433                    {
13434                        Local2 = 0x07
13435                        BankField (OPR0, BNK0, 0x07, QWordAcc, NoLock, Preserve)
13436                        {
13437                            Offset (0x04),
13438                            F0BB,   69
13439                        }
13440
13441                        Local3 = RefOf (F0BB)
13442                        Local4 = RefOf (G007)
13443                    }
13444                    Case (0x81)
13445                    {
13446                        Local2 = 0x08
13447                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, Preserve)
13448                        {
13449                            AccessAs (QWordAcc, 0x00),
13450                            Offset (0x04),
13451                            F0BC,   129
13452                        }
13453
13454                        Local3 = RefOf (F0BC)
13455                        Local4 = RefOf (G008)
13456                    }
13457                    Case (0x0100)
13458                    {
13459                        Local2 = 0x09
13460                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, Preserve)
13461                        {
13462                            Offset (0x04),
13463                            F0BD,   256
13464                        }
13465
13466                        Local3 = RefOf (F0BD)
13467                        Local4 = RefOf (G009)
13468                    }
13469                    Case (0x03FF)
13470                    {
13471                        Local2 = 0x3F
13472                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, Preserve)
13473                        {
13474                            AccessAs (QWordAcc, 0x00),
13475                            Offset (0x04),
13476                            F0BE,   1023
13477                        }
13478
13479                        Local3 = RefOf (F0BE)
13480                        Local4 = RefOf (G00A)
13481                    }
13482                    Case (0x07BF)
13483                    {
13484                        Local2 = 0x40
13485                        BankField (OPR0, BNK0, 0x40, QWordAcc, NoLock, Preserve)
13486                        {
13487                            Offset (0x04),
13488                            F0BF,   1983
13489                        }
13490
13491                        Local3 = RefOf (F0BF)
13492                        Local4 = RefOf (G00B)
13493                    }
13494                    Default
13495                    {
13496                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
13497                        Return (Zero)
13498                    }
13499
13500                }
13501            }
13502            Case (0x21)
13503            {
13504                Switch (ToInteger (Arg3))
13505                {
13506                    Case (0x01)
13507                    {
13508                        Local2 = 0x7F
13509                        BankField (OPR0, BNK0, 0x7F, QWordAcc, NoLock, Preserve)
13510                        {
13511                                ,   33,
13512                            F0C0,   1
13513                        }
13514
13515                        Local3 = RefOf (F0C0)
13516                        Local4 = RefOf (G00C)
13517                    }
13518                    Case (0x06)
13519                    {
13520                        Local2 = 0x80
13521                        BankField (OPR0, BNK0, 0x80, DWordAcc, NoLock, Preserve)
13522                        {
13523                            AccessAs (QWordAcc, 0x00),
13524                                ,   33,
13525                            F0C1,   6
13526                        }
13527
13528                        Local3 = RefOf (F0C1)
13529                        Local4 = RefOf (G00D)
13530                    }
13531                    Case (0x07)
13532                    {
13533                        Local2 = 0xFF
13534                        BankField (OPR0, BNK0, 0xFF, QWordAcc, NoLock, Preserve)
13535                        {
13536                                ,   33,
13537                            F0C2,   7
13538                        }
13539
13540                        Local3 = RefOf (F0C2)
13541                        Local4 = RefOf (G00E)
13542                    }
13543                    Case (0x08)
13544                    {
13545                        Local2 = 0x00
13546                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, Preserve)
13547                        {
13548                            AccessAs (QWordAcc, 0x00),
13549                                ,   33,
13550                            F0C3,   8
13551                        }
13552
13553                        Local3 = RefOf (F0C3)
13554                        Local4 = RefOf (G000)
13555                    }
13556                    Case (0x09)
13557                    {
13558                        Local2 = 0x01
13559                        BankField (OPR0, BNK0, 0x01, QWordAcc, NoLock, Preserve)
13560                        {
13561                                ,   33,
13562                            F0C4,   9
13563                        }
13564
13565                        Local3 = RefOf (F0C4)
13566                        Local4 = RefOf (G001)
13567                    }
13568                    Case (0x1F)
13569                    {
13570                        Local2 = 0x02
13571                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, Preserve)
13572                        {
13573                            AccessAs (QWordAcc, 0x00),
13574                                ,   33,
13575                            F0C5,   31
13576                        }
13577
13578                        Local3 = RefOf (F0C5)
13579                        Local4 = RefOf (G002)
13580                    }
13581                    Case (0x20)
13582                    {
13583                        Local2 = 0x03
13584                        BankField (OPR0, BNK0, 0x03, QWordAcc, NoLock, Preserve)
13585                        {
13586                                ,   33,
13587                            F0C6,   32
13588                        }
13589
13590                        Local3 = RefOf (F0C6)
13591                        Local4 = RefOf (G003)
13592                    }
13593                    Case (0x21)
13594                    {
13595                        Local2 = 0x04
13596                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, Preserve)
13597                        {
13598                            AccessAs (QWordAcc, 0x00),
13599                                ,   33,
13600                            F0C7,   33
13601                        }
13602
13603                        Local3 = RefOf (F0C7)
13604                        Local4 = RefOf (G004)
13605                    }
13606                    Case (0x3F)
13607                    {
13608                        Local2 = 0x05
13609                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, Preserve)
13610                        {
13611                                ,   33,
13612                            F0C8,   63
13613                        }
13614
13615                        Local3 = RefOf (F0C8)
13616                        Local4 = RefOf (G005)
13617                    }
13618                    Case (0x40)
13619                    {
13620                        Local2 = 0x06
13621                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, Preserve)
13622                        {
13623                            AccessAs (QWordAcc, 0x00),
13624                                ,   33,
13625                            F0C9,   64
13626                        }
13627
13628                        Local3 = RefOf (F0C9)
13629                        Local4 = RefOf (G006)
13630                    }
13631                    Case (0x41)
13632                    {
13633                        Local2 = 0x07
13634                        BankField (OPR0, BNK0, 0x07, QWordAcc, NoLock, Preserve)
13635                        {
13636                                ,   33,
13637                            F0CA,   65
13638                        }
13639
13640                        Local3 = RefOf (F0CA)
13641                        Local4 = RefOf (G007)
13642                    }
13643                    Case (0x45)
13644                    {
13645                        Local2 = 0x08
13646                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, Preserve)
13647                        {
13648                            AccessAs (QWordAcc, 0x00),
13649                                ,   33,
13650                            F0CB,   69
13651                        }
13652
13653                        Local3 = RefOf (F0CB)
13654                        Local4 = RefOf (G008)
13655                    }
13656                    Case (0x81)
13657                    {
13658                        Local2 = 0x09
13659                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, Preserve)
13660                        {
13661                                ,   33,
13662                            F0CC,   129
13663                        }
13664
13665                        Local3 = RefOf (F0CC)
13666                        Local4 = RefOf (G009)
13667                    }
13668                    Case (0x0100)
13669                    {
13670                        Local2 = 0x3F
13671                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, Preserve)
13672                        {
13673                            AccessAs (QWordAcc, 0x00),
13674                                ,   33,
13675                            F0CD,   256
13676                        }
13677
13678                        Local3 = RefOf (F0CD)
13679                        Local4 = RefOf (G00A)
13680                    }
13681                    Case (0x03FF)
13682                    {
13683                        Local2 = 0x40
13684                        BankField (OPR0, BNK0, 0x40, QWordAcc, NoLock, Preserve)
13685                        {
13686                                ,   33,
13687                            F0CE,   1023
13688                        }
13689
13690                        Local3 = RefOf (F0CE)
13691                        Local4 = RefOf (G00B)
13692                    }
13693                    Case (0x07BF)
13694                    {
13695                        Local2 = 0x7F
13696                        BankField (OPR0, BNK0, 0x7F, AnyAcc, NoLock, Preserve)
13697                        {
13698                            AccessAs (QWordAcc, 0x00),
13699                                ,   33,
13700                            F0CF,   1983
13701                        }
13702
13703                        Local3 = RefOf (F0CF)
13704                        Local4 = RefOf (G00C)
13705                    }
13706                    Default
13707                    {
13708                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
13709                        Return (Zero)
13710                    }
13711
13712                }
13713            }
13714            Case (0x3F)
13715            {
13716                Switch (ToInteger (Arg3))
13717                {
13718                    Case (0x01)
13719                    {
13720                        Local2 = 0x80
13721                        BankField (OPR0, BNK0, 0x80, QWordAcc, NoLock, Preserve)
13722                        {
13723                            AccessAs (QWordAcc, 0x00),
13724                                ,   63,
13725                            F0D0,   1
13726                        }
13727
13728                        Local3 = RefOf (F0D0)
13729                        Local4 = RefOf (G00D)
13730                    }
13731                    Case (0x06)
13732                    {
13733                        Local2 = 0xFF
13734                        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, Preserve)
13735                        {
13736                                ,   63,
13737                            F0D1,   6
13738                        }
13739
13740                        Local3 = RefOf (F0D1)
13741                        Local4 = RefOf (G00E)
13742                    }
13743                    Case (0x07)
13744                    {
13745                        Local2 = 0x00
13746                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, Preserve)
13747                        {
13748                            AccessAs (QWordAcc, 0x00),
13749                                ,   63,
13750                            F0D2,   7
13751                        }
13752
13753                        Local3 = RefOf (F0D2)
13754                        Local4 = RefOf (G000)
13755                    }
13756                    Case (0x08)
13757                    {
13758                        Local2 = 0x01
13759                        BankField (OPR0, BNK0, 0x01, WordAcc, NoLock, Preserve)
13760                        {
13761                                ,   63,
13762                            F0D3,   8
13763                        }
13764
13765                        Local3 = RefOf (F0D3)
13766                        Local4 = RefOf (G001)
13767                    }
13768                    Case (0x09)
13769                    {
13770                        Local2 = 0x02
13771                        BankField (OPR0, BNK0, 0x02, QWordAcc, NoLock, Preserve)
13772                        {
13773                            AccessAs (QWordAcc, 0x00),
13774                                ,   63,
13775                            F0D4,   9
13776                        }
13777
13778                        Local3 = RefOf (F0D4)
13779                        Local4 = RefOf (G002)
13780                    }
13781                    Case (0x1F)
13782                    {
13783                        Local2 = 0x03
13784                        BankField (OPR0, BNK0, 0x03, DWordAcc, NoLock, Preserve)
13785                        {
13786                                ,   63,
13787                            F0D5,   31
13788                        }
13789
13790                        Local3 = RefOf (F0D5)
13791                        Local4 = RefOf (G003)
13792                    }
13793                    Case (0x20)
13794                    {
13795                        Local2 = 0x04
13796                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, Preserve)
13797                        {
13798                            AccessAs (QWordAcc, 0x00),
13799                                ,   63,
13800                            F0D6,   32
13801                        }
13802
13803                        Local3 = RefOf (F0D6)
13804                        Local4 = RefOf (G004)
13805                    }
13806                    Case (0x21)
13807                    {
13808                        Local2 = 0x05
13809                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, Preserve)
13810                        {
13811                                ,   63,
13812                            F0D7,   33
13813                        }
13814
13815                        Local3 = RefOf (F0D7)
13816                        Local4 = RefOf (G005)
13817                    }
13818                    Case (0x3F)
13819                    {
13820                        Local2 = 0x06
13821                        BankField (OPR0, BNK0, 0x06, AnyAcc, NoLock, Preserve)
13822                        {
13823                            AccessAs (QWordAcc, 0x00),
13824                                ,   63,
13825                            F0D8,   63
13826                        }
13827
13828                        Local3 = RefOf (F0D8)
13829                        Local4 = RefOf (G006)
13830                    }
13831                    Case (0x40)
13832                    {
13833                        Local2 = 0x07
13834                        BankField (OPR0, BNK0, 0x07, QWordAcc, NoLock, Preserve)
13835                        {
13836                                ,   63,
13837                            F0D9,   64
13838                        }
13839
13840                        Local3 = RefOf (F0D9)
13841                        Local4 = RefOf (G007)
13842                    }
13843                    Case (0x41)
13844                    {
13845                        Local2 = 0x08
13846                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, Preserve)
13847                        {
13848                            AccessAs (QWordAcc, 0x00),
13849                                ,   63,
13850                            F0DA,   65
13851                        }
13852
13853                        Local3 = RefOf (F0DA)
13854                        Local4 = RefOf (G008)
13855                    }
13856                    Case (0x45)
13857                    {
13858                        Local2 = 0x09
13859                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, Preserve)
13860                        {
13861                                ,   63,
13862                            F0DB,   69
13863                        }
13864
13865                        Local3 = RefOf (F0DB)
13866                        Local4 = RefOf (G009)
13867                    }
13868                    Case (0x81)
13869                    {
13870                        Local2 = 0x3F
13871                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, Preserve)
13872                        {
13873                            AccessAs (QWordAcc, 0x00),
13874                                ,   63,
13875                            F0DC,   129
13876                        }
13877
13878                        Local3 = RefOf (F0DC)
13879                        Local4 = RefOf (G00A)
13880                    }
13881                    Case (0x0100)
13882                    {
13883                        Local2 = 0x40
13884                        BankField (OPR0, BNK0, 0x40, QWordAcc, NoLock, Preserve)
13885                        {
13886                                ,   63,
13887                            F0DD,   256
13888                        }
13889
13890                        Local3 = RefOf (F0DD)
13891                        Local4 = RefOf (G00B)
13892                    }
13893                    Case (0x03FF)
13894                    {
13895                        Local2 = 0x7F
13896                        BankField (OPR0, BNK0, 0x7F, DWordAcc, NoLock, Preserve)
13897                        {
13898                            AccessAs (QWordAcc, 0x00),
13899                                ,   63,
13900                            F0DE,   1023
13901                        }
13902
13903                        Local3 = RefOf (F0DE)
13904                        Local4 = RefOf (G00C)
13905                    }
13906                    Case (0x07BF)
13907                    {
13908                        Local2 = 0x80
13909                        BankField (OPR0, BNK0, 0x80, QWordAcc, NoLock, Preserve)
13910                        {
13911                                ,   63,
13912                            F0DF,   1983
13913                        }
13914
13915                        Local3 = RefOf (F0DF)
13916                        Local4 = RefOf (G00D)
13917                    }
13918                    Default
13919                    {
13920                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
13921                        Return (Zero)
13922                    }
13923
13924                }
13925            }
13926            Case (0x40)
13927            {
13928                Switch (ToInteger (Arg3))
13929                {
13930                    Case (0x01)
13931                    {
13932                        Local2 = 0xFF
13933                        BankField (OPR0, BNK0, 0xFF, QWordAcc, NoLock, Preserve)
13934                        {
13935                            Offset (0x08),
13936                            F0E0,   1
13937                        }
13938
13939                        Local3 = RefOf (F0E0)
13940                        Local4 = RefOf (G00E)
13941                    }
13942                    Case (0x06)
13943                    {
13944                        Local2 = 0x00
13945                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, Preserve)
13946                        {
13947                            AccessAs (QWordAcc, 0x00),
13948                            Offset (0x08),
13949                            F0E1,   6
13950                        }
13951
13952                        Local3 = RefOf (F0E1)
13953                        Local4 = RefOf (G000)
13954                    }
13955                    Case (0x07)
13956                    {
13957                        Local2 = 0x01
13958                        BankField (OPR0, BNK0, 0x01, QWordAcc, NoLock, Preserve)
13959                        {
13960                            Offset (0x08),
13961                            F0E2,   7
13962                        }
13963
13964                        Local3 = RefOf (F0E2)
13965                        Local4 = RefOf (G001)
13966                    }
13967                    Case (0x08)
13968                    {
13969                        Local2 = 0x02
13970                        BankField (OPR0, BNK0, 0x02, AnyAcc, NoLock, Preserve)
13971                        {
13972                            AccessAs (QWordAcc, 0x00),
13973                            Offset (0x08),
13974                            F0E3,   8
13975                        }
13976
13977                        Local3 = RefOf (F0E3)
13978                        Local4 = RefOf (G002)
13979                    }
13980                    Case (0x09)
13981                    {
13982                        Local2 = 0x03
13983                        BankField (OPR0, BNK0, 0x03, QWordAcc, NoLock, Preserve)
13984                        {
13985                            Offset (0x08),
13986                            F0E4,   9
13987                        }
13988
13989                        Local3 = RefOf (F0E4)
13990                        Local4 = RefOf (G003)
13991                    }
13992                    Case (0x1F)
13993                    {
13994                        Local2 = 0x04
13995                        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, Preserve)
13996                        {
13997                            AccessAs (QWordAcc, 0x00),
13998                            Offset (0x08),
13999                            F0E5,   31
14000                        }
14001
14002                        Local3 = RefOf (F0E5)
14003                        Local4 = RefOf (G004)
14004                    }
14005                    Case (0x20)
14006                    {
14007                        Local2 = 0x05
14008                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, Preserve)
14009                        {
14010                            Offset (0x08),
14011                            F0E6,   32
14012                        }
14013
14014                        Local3 = RefOf (F0E6)
14015                        Local4 = RefOf (G005)
14016                    }
14017                    Case (0x21)
14018                    {
14019                        Local2 = 0x06
14020                        BankField (OPR0, BNK0, 0x06, WordAcc, NoLock, Preserve)
14021                        {
14022                            AccessAs (QWordAcc, 0x00),
14023                            Offset (0x08),
14024                            F0E7,   33
14025                        }
14026
14027                        Local3 = RefOf (F0E7)
14028                        Local4 = RefOf (G006)
14029                    }
14030                    Case (0x3F)
14031                    {
14032                        Local2 = 0x07
14033                        BankField (OPR0, BNK0, 0x07, QWordAcc, NoLock, Preserve)
14034                        {
14035                            Offset (0x08),
14036                            F0E8,   63
14037                        }
14038
14039                        Local3 = RefOf (F0E8)
14040                        Local4 = RefOf (G007)
14041                    }
14042                    Case (0x40)
14043                    {
14044                        Local2 = 0x08
14045                        BankField (OPR0, BNK0, 0x08, DWordAcc, NoLock, Preserve)
14046                        {
14047                            AccessAs (QWordAcc, 0x00),
14048                            Offset (0x08),
14049                            F0E9,   64
14050                        }
14051
14052                        Local3 = RefOf (F0E9)
14053                        Local4 = RefOf (G008)
14054                    }
14055                    Case (0x41)
14056                    {
14057                        Local2 = 0x09
14058                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, Preserve)
14059                        {
14060                            Offset (0x08),
14061                            F0EA,   65
14062                        }
14063
14064                        Local3 = RefOf (F0EA)
14065                        Local4 = RefOf (G009)
14066                    }
14067                    Case (0x45)
14068                    {
14069                        Local2 = 0x3F
14070                        BankField (OPR0, BNK0, 0x3F, QWordAcc, NoLock, Preserve)
14071                        {
14072                            AccessAs (QWordAcc, 0x00),
14073                            Offset (0x08),
14074                            F0EB,   69
14075                        }
14076
14077                        Local3 = RefOf (F0EB)
14078                        Local4 = RefOf (G00A)
14079                    }
14080                    Case (0x81)
14081                    {
14082                        Local2 = 0x40
14083                        BankField (OPR0, BNK0, 0x40, QWordAcc, NoLock, Preserve)
14084                        {
14085                            Offset (0x08),
14086                            F0EC,   129
14087                        }
14088
14089                        Local3 = RefOf (F0EC)
14090                        Local4 = RefOf (G00B)
14091                    }
14092                    Case (0x0100)
14093                    {
14094                        Local2 = 0x7F
14095                        BankField (OPR0, BNK0, 0x7F, AnyAcc, NoLock, Preserve)
14096                        {
14097                            AccessAs (QWordAcc, 0x00),
14098                            Offset (0x08),
14099                            F0ED,   256
14100                        }
14101
14102                        Local3 = RefOf (F0ED)
14103                        Local4 = RefOf (G00C)
14104                    }
14105                    Case (0x03FF)
14106                    {
14107                        Local2 = 0x80
14108                        BankField (OPR0, BNK0, 0x80, QWordAcc, NoLock, Preserve)
14109                        {
14110                            Offset (0x08),
14111                            F0EE,   1023
14112                        }
14113
14114                        Local3 = RefOf (F0EE)
14115                        Local4 = RefOf (G00D)
14116                    }
14117                    Case (0x07BF)
14118                    {
14119                        Local2 = 0xFF
14120                        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, Preserve)
14121                        {
14122                            AccessAs (QWordAcc, 0x00),
14123                            Offset (0x08),
14124                            F0EF,   1983
14125                        }
14126
14127                        Local3 = RefOf (F0EF)
14128                        Local4 = RefOf (G00E)
14129                    }
14130                    Default
14131                    {
14132                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
14133                        Return (Zero)
14134                    }
14135
14136                }
14137            }
14138            Case (0x41)
14139            {
14140                Switch (ToInteger (Arg3))
14141                {
14142                    Case (0x01)
14143                    {
14144                        Local2 = 0x00
14145                        BankField (OPR0, BNK0, 0x00, WordAcc, NoLock, Preserve)
14146                        {
14147                            AccessAs (QWordAcc, 0x00),
14148                            Offset (0x08),
14149                                ,   1,
14150                            F0F0,   1
14151                        }
14152
14153                        Local3 = RefOf (F0F0)
14154                        Local4 = RefOf (G000)
14155                    }
14156                    Case (0x06)
14157                    {
14158                        Local2 = 0x01
14159                        BankField (OPR0, BNK0, 0x01, QWordAcc, NoLock, Preserve)
14160                        {
14161                            Offset (0x08),
14162                                ,   1,
14163                            F0F1,   6
14164                        }
14165
14166                        Local3 = RefOf (F0F1)
14167                        Local4 = RefOf (G001)
14168                    }
14169                    Case (0x07)
14170                    {
14171                        Local2 = 0x02
14172                        BankField (OPR0, BNK0, 0x02, DWordAcc, NoLock, Preserve)
14173                        {
14174                            AccessAs (QWordAcc, 0x00),
14175                            Offset (0x08),
14176                                ,   1,
14177                            F0F2,   7
14178                        }
14179
14180                        Local3 = RefOf (F0F2)
14181                        Local4 = RefOf (G002)
14182                    }
14183                    Case (0x08)
14184                    {
14185                        Local2 = 0x03
14186                        BankField (OPR0, BNK0, 0x03, QWordAcc, NoLock, Preserve)
14187                        {
14188                            Offset (0x08),
14189                                ,   1,
14190                            F0F3,   8
14191                        }
14192
14193                        Local3 = RefOf (F0F3)
14194                        Local4 = RefOf (G003)
14195                    }
14196                    Case (0x09)
14197                    {
14198                        Local2 = 0x04
14199                        BankField (OPR0, BNK0, 0x04, QWordAcc, NoLock, Preserve)
14200                        {
14201                            AccessAs (QWordAcc, 0x00),
14202                            Offset (0x08),
14203                                ,   1,
14204                            F0F4,   9
14205                        }
14206
14207                        Local3 = RefOf (F0F4)
14208                        Local4 = RefOf (G004)
14209                    }
14210                    Case (0x1F)
14211                    {
14212                        Local2 = 0x05
14213                        BankField (OPR0, BNK0, 0x05, QWordAcc, NoLock, Preserve)
14214                        {
14215                            Offset (0x08),
14216                                ,   1,
14217                            F0F5,   31
14218                        }
14219
14220                        Local3 = RefOf (F0F5)
14221                        Local4 = RefOf (G005)
14222                    }
14223                    Case (0x20)
14224                    {
14225                        Local2 = 0x06
14226                        BankField (OPR0, BNK0, 0x06, AnyAcc, NoLock, Preserve)
14227                        {
14228                            AccessAs (QWordAcc, 0x00),
14229                            Offset (0x08),
14230                                ,   1,
14231                            F0F6,   32
14232                        }
14233
14234                        Local3 = RefOf (F0F6)
14235                        Local4 = RefOf (G006)
14236                    }
14237                    Case (0x21)
14238                    {
14239                        Local2 = 0x07
14240                        BankField (OPR0, BNK0, 0x07, QWordAcc, NoLock, Preserve)
14241                        {
14242                            Offset (0x08),
14243                                ,   1,
14244                            F0F7,   33
14245                        }
14246
14247                        Local3 = RefOf (F0F7)
14248                        Local4 = RefOf (G007)
14249                    }
14250                    Case (0x3F)
14251                    {
14252                        Local2 = 0x08
14253                        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, Preserve)
14254                        {
14255                            AccessAs (QWordAcc, 0x00),
14256                            Offset (0x08),
14257                                ,   1,
14258                            F0F8,   63
14259                        }
14260
14261                        Local3 = RefOf (F0F8)
14262                        Local4 = RefOf (G008)
14263                    }
14264                    Case (0x40)
14265                    {
14266                        Local2 = 0x09
14267                        BankField (OPR0, BNK0, 0x09, QWordAcc, NoLock, Preserve)
14268                        {
14269                            Offset (0x08),
14270                                ,   1,
14271                            F0F9,   64
14272                        }
14273
14274                        Local3 = RefOf (F0F9)
14275                        Local4 = RefOf (G009)
14276                    }
14277                    Case (0x41)
14278                    {
14279                        Local2 = 0x3F
14280                        BankField (OPR0, BNK0, 0x3F, WordAcc, NoLock, Preserve)
14281                        {
14282                            AccessAs (QWordAcc, 0x00),
14283                            Offset (0x08),
14284                                ,   1,
14285                            F0FA,   65
14286                        }
14287
14288                        Local3 = RefOf (F0FA)
14289                        Local4 = RefOf (G00A)
14290                    }
14291                    Case (0x45)
14292                    {
14293                        Local2 = 0x40
14294                        BankField (OPR0, BNK0, 0x40, QWordAcc, NoLock, Preserve)
14295                        {
14296                            Offset (0x08),
14297                                ,   1,
14298                            F0FB,   69
14299                        }
14300
14301                        Local3 = RefOf (F0FB)
14302                        Local4 = RefOf (G00B)
14303                    }
14304                    Case (0x81)
14305                    {
14306                        Local2 = 0x7F
14307                        BankField (OPR0, BNK0, 0x7F, DWordAcc, NoLock, Preserve)
14308                        {
14309                            AccessAs (QWordAcc, 0x00),
14310                            Offset (0x08),
14311                                ,   1,
14312                            F0FC,   129
14313                        }
14314
14315                        Local3 = RefOf (F0FC)
14316                        Local4 = RefOf (G00C)
14317                    }
14318                    Case (0x0100)
14319                    {
14320                        Local2 = 0x80
14321                        BankField (OPR0, BNK0, 0x80, QWordAcc, NoLock, Preserve)
14322                        {
14323                            Offset (0x08),
14324                                ,   1,
14325                            F0FD,   256
14326                        }
14327
14328                        Local3 = RefOf (F0FD)
14329                        Local4 = RefOf (G00D)
14330                    }
14331                    Case (0x03FF)
14332                    {
14333                        Local2 = 0xFF
14334                        BankField (OPR0, BNK0, 0xFF, QWordAcc, NoLock, Preserve)
14335                        {
14336                            AccessAs (QWordAcc, 0x00),
14337                            Offset (0x08),
14338                                ,   1,
14339                            F0FE,   1023
14340                        }
14341
14342                        Local3 = RefOf (F0FE)
14343                        Local4 = RefOf (G00E)
14344                    }
14345                    Case (0x07BF)
14346                    {
14347                        Local2 = 0x00
14348                        BankField (OPR0, BNK0, 0x00, QWordAcc, NoLock, Preserve)
14349                        {
14350                            Offset (0x08),
14351                                ,   1,
14352                            F0FF,   1983
14353                        }
14354
14355                        Local3 = RefOf (F0FF)
14356                        Local4 = RefOf (G000)
14357                    }
14358                    Default
14359                    {
14360                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
14361                        Return (Zero)
14362                    }
14363
14364                }
14365            }
14366            Default
14367            {
14368                ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
14369                Return (Zero)
14370            }
14371
14372        }
14373
14374        FCP0 [0x00] = 0x02
14375        FCP0 [0x01] = RefOf (BNK0)
14376        FCP0 [0x02] = Local2
14377        M72D (Arg0, Local3, Arg2, Arg3, Arg4, Arg5, Local4)
14378        FCP0 [0x00] = 0x00
14379    }
14380
14381    /* Create BankField Unit */
14382    /* (AnyAcc, Lock, Preserve) */
14383    Method (M7D4, 6, Serialized)
14384    {
14385        OperationRegion (OPRB, SystemIO, 0x00, 0x09)
14386        OperationRegion (OPR0, SystemIO, 0x0B, 0x0100)
14387        Field (OPRB, ByteAcc, NoLock, Preserve)
14388        {
14389            BNK0,   8
14390        }
14391
14392        BankField (OPR0, BNK0, 0x00, ByteAcc, NoLock, Preserve)
14393        {
14394            G000,   2048
14395        }
14396
14397        BankField (OPR0, BNK0, 0x01, ByteAcc, NoLock, Preserve)
14398        {
14399            G001,   2048
14400        }
14401
14402        BankField (OPR0, BNK0, 0x02, ByteAcc, NoLock, Preserve)
14403        {
14404            G002,   2048
14405        }
14406
14407        BankField (OPR0, BNK0, 0x03, ByteAcc, NoLock, Preserve)
14408        {
14409            G003,   2048
14410        }
14411
14412        BankField (OPR0, BNK0, 0x04, ByteAcc, NoLock, Preserve)
14413        {
14414            G004,   2048
14415        }
14416
14417        BankField (OPR0, BNK0, 0x05, ByteAcc, NoLock, Preserve)
14418        {
14419            G005,   2048
14420        }
14421
14422        BankField (OPR0, BNK0, 0x06, ByteAcc, NoLock, Preserve)
14423        {
14424            G006,   2048
14425        }
14426
14427        BankField (OPR0, BNK0, 0x07, ByteAcc, NoLock, Preserve)
14428        {
14429            G007,   2048
14430        }
14431
14432        BankField (OPR0, BNK0, 0x08, ByteAcc, NoLock, Preserve)
14433        {
14434            G008,   2048
14435        }
14436
14437        BankField (OPR0, BNK0, 0x09, ByteAcc, NoLock, Preserve)
14438        {
14439            G009,   2048
14440        }
14441
14442        BankField (OPR0, BNK0, 0x3F, ByteAcc, NoLock, Preserve)
14443        {
14444            G00A,   2048
14445        }
14446
14447        BankField (OPR0, BNK0, 0x40, ByteAcc, NoLock, Preserve)
14448        {
14449            G00B,   2048
14450        }
14451
14452        BankField (OPR0, BNK0, 0x7F, ByteAcc, NoLock, Preserve)
14453        {
14454            G00C,   2048
14455        }
14456
14457        BankField (OPR0, BNK0, 0x80, ByteAcc, NoLock, Preserve)
14458        {
14459            G00D,   2048
14460        }
14461
14462        BankField (OPR0, BNK0, 0xFF, ByteAcc, NoLock, Preserve)
14463        {
14464            G00E,   2048
14465        }
14466
14467        Concatenate (Arg0, "-m7d4", Arg0)
14468        Switch (ToInteger (Arg2))
14469        {
14470            Case (0x00)
14471            {
14472                Switch (ToInteger (Arg3))
14473                {
14474                    Case (0x01)
14475                    {
14476                        Local2 = 0x00
14477                        BankField (OPR0, BNK0, 0x00, AnyAcc, Lock, Preserve)
14478                        {
14479                            Offset (0x00),
14480                            F000,   1
14481                        }
14482
14483                        Local3 = RefOf (F000)
14484                        Local4 = RefOf (G000)
14485                    }
14486                    Case (0x06)
14487                    {
14488                        Local2 = 0x01
14489                        BankField (OPR0, BNK0, 0x01, WordAcc, Lock, Preserve)
14490                        {
14491                            AccessAs (AnyAcc, 0x00),
14492                            Offset (0x00),
14493                            F001,   6
14494                        }
14495
14496                        Local3 = RefOf (F001)
14497                        Local4 = RefOf (G001)
14498                    }
14499                    Case (0x07)
14500                    {
14501                        Local2 = 0x02
14502                        BankField (OPR0, BNK0, 0x02, AnyAcc, Lock, Preserve)
14503                        {
14504                            Offset (0x00),
14505                            F002,   7
14506                        }
14507
14508                        Local3 = RefOf (F002)
14509                        Local4 = RefOf (G002)
14510                    }
14511                    Case (0x08)
14512                    {
14513                        Local2 = 0x03
14514                        BankField (OPR0, BNK0, 0x03, DWordAcc, Lock, Preserve)
14515                        {
14516                            AccessAs (AnyAcc, 0x00),
14517                            Offset (0x00),
14518                            F003,   8
14519                        }
14520
14521                        Local3 = RefOf (F003)
14522                        Local4 = RefOf (G003)
14523                    }
14524                    Case (0x09)
14525                    {
14526                        Local2 = 0x04
14527                        BankField (OPR0, BNK0, 0x04, AnyAcc, Lock, Preserve)
14528                        {
14529                            Offset (0x00),
14530                            F004,   9
14531                        }
14532
14533                        Local3 = RefOf (F004)
14534                        Local4 = RefOf (G004)
14535                    }
14536                    Case (0x1F)
14537                    {
14538                        Local2 = 0x05
14539                        BankField (OPR0, BNK0, 0x05, QWordAcc, Lock, Preserve)
14540                        {
14541                            AccessAs (AnyAcc, 0x00),
14542                            Offset (0x00),
14543                            F005,   31
14544                        }
14545
14546                        Local3 = RefOf (F005)
14547                        Local4 = RefOf (G005)
14548                    }
14549                    Case (0x20)
14550                    {
14551                        Local2 = 0x06
14552                        BankField (OPR0, BNK0, 0x06, AnyAcc, Lock, Preserve)
14553                        {
14554                            Offset (0x00),
14555                            F006,   32
14556                        }
14557
14558                        Local3 = RefOf (F006)
14559                        Local4 = RefOf (G006)
14560                    }
14561                    Case (0x21)
14562                    {
14563                        Local2 = 0x07
14564                        BankField (OPR0, BNK0, 0x07, AnyAcc, Lock, Preserve)
14565                        {
14566                            AccessAs (AnyAcc, 0x00),
14567                            Offset (0x00),
14568                            F007,   33
14569                        }
14570
14571                        Local3 = RefOf (F007)
14572                        Local4 = RefOf (G007)
14573                    }
14574                    Case (0x3F)
14575                    {
14576                        Local2 = 0x08
14577                        BankField (OPR0, BNK0, 0x08, AnyAcc, Lock, Preserve)
14578                        {
14579                            Offset (0x00),
14580                            F008,   63
14581                        }
14582
14583                        Local3 = RefOf (F008)
14584                        Local4 = RefOf (G008)
14585                    }
14586                    Case (0x40)
14587                    {
14588                        Local2 = 0x09
14589                        BankField (OPR0, BNK0, 0x09, ByteAcc, Lock, Preserve)
14590                        {
14591                            AccessAs (AnyAcc, 0x00),
14592                            Offset (0x00),
14593                            F009,   64
14594                        }
14595
14596                        Local3 = RefOf (F009)
14597                        Local4 = RefOf (G009)
14598                    }
14599                    Case (0x41)
14600                    {
14601                        Local2 = 0x3F
14602                        BankField (OPR0, BNK0, 0x3F, AnyAcc, Lock, Preserve)
14603                        {
14604                            Offset (0x00),
14605                            F00A,   65
14606                        }
14607
14608                        Local3 = RefOf (F00A)
14609                        Local4 = RefOf (G00A)
14610                    }
14611                    Case (0x45)
14612                    {
14613                        Local2 = 0x40
14614                        BankField (OPR0, BNK0, 0x40, WordAcc, Lock, Preserve)
14615                        {
14616                            AccessAs (AnyAcc, 0x00),
14617                            Offset (0x00),
14618                            F00B,   69
14619                        }
14620
14621                        Local3 = RefOf (F00B)
14622                        Local4 = RefOf (G00B)
14623                    }
14624                    Case (0x81)
14625                    {
14626                        Local2 = 0x7F
14627                        BankField (OPR0, BNK0, 0x7F, AnyAcc, Lock, Preserve)
14628                        {
14629                            Offset (0x00),
14630                            F00C,   129
14631                        }
14632
14633                        Local3 = RefOf (F00C)
14634                        Local4 = RefOf (G00C)
14635                    }
14636                    Case (0x0100)
14637                    {
14638                        Local2 = 0x80
14639                        BankField (OPR0, BNK0, 0x80, DWordAcc, Lock, Preserve)
14640                        {
14641                            AccessAs (AnyAcc, 0x00),
14642                            Offset (0x00),
14643                            F00D,   256
14644                        }
14645
14646                        Local3 = RefOf (F00D)
14647                        Local4 = RefOf (G00D)
14648                    }
14649                    Case (0x03FF)
14650                    {
14651                        Local2 = 0xFF
14652                        BankField (OPR0, BNK0, 0xFF, AnyAcc, Lock, Preserve)
14653                        {
14654                            Offset (0x00),
14655                            F00E,   1023
14656                        }
14657
14658                        Local3 = RefOf (F00E)
14659                        Local4 = RefOf (G00E)
14660                    }
14661                    Case (0x07BF)
14662                    {
14663                        Local2 = 0x00
14664                        BankField (OPR0, BNK0, 0x00, QWordAcc, Lock, Preserve)
14665                        {
14666                            AccessAs (AnyAcc, 0x00),
14667                            Offset (0x00),
14668                            F00F,   1983
14669                        }
14670
14671                        Local3 = RefOf (F00F)
14672                        Local4 = RefOf (G000)
14673                    }
14674                    Default
14675                    {
14676                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
14677                        Return (Zero)
14678                    }
14679
14680                }
14681            }
14682            Case (0x01)
14683            {
14684                Switch (ToInteger (Arg3))
14685                {
14686                    Case (0x01)
14687                    {
14688                        Local2 = 0x01
14689                        BankField (OPR0, BNK0, 0x01, AnyAcc, Lock, Preserve)
14690                        {
14691                            AccessAs (AnyAcc, 0x00),
14692                                ,   1,
14693                            F010,   1
14694                        }
14695
14696                        Local3 = RefOf (F010)
14697                        Local4 = RefOf (G001)
14698                    }
14699                    Case (0x06)
14700                    {
14701                        Local2 = 0x02
14702                        BankField (OPR0, BNK0, 0x02, AnyAcc, Lock, Preserve)
14703                        {
14704                                ,   1,
14705                            F011,   6
14706                        }
14707
14708                        Local3 = RefOf (F011)
14709                        Local4 = RefOf (G002)
14710                    }
14711                    Case (0x07)
14712                    {
14713                        Local2 = 0x03
14714                        BankField (OPR0, BNK0, 0x03, AnyAcc, Lock, Preserve)
14715                        {
14716                            AccessAs (AnyAcc, 0x00),
14717                                ,   1,
14718                            F012,   7
14719                        }
14720
14721                        Local3 = RefOf (F012)
14722                        Local4 = RefOf (G003)
14723                    }
14724                    Case (0x08)
14725                    {
14726                        Local2 = 0x04
14727                        BankField (OPR0, BNK0, 0x04, ByteAcc, Lock, Preserve)
14728                        {
14729                                ,   1,
14730                            F013,   8
14731                        }
14732
14733                        Local3 = RefOf (F013)
14734                        Local4 = RefOf (G004)
14735                    }
14736                    Case (0x09)
14737                    {
14738                        Local2 = 0x05
14739                        BankField (OPR0, BNK0, 0x05, WordAcc, Lock, Preserve)
14740                        {
14741                            AccessAs (AnyAcc, 0x00),
14742                                ,   1,
14743                            F014,   9
14744                        }
14745
14746                        Local3 = RefOf (F014)
14747                        Local4 = RefOf (G005)
14748                    }
14749                    Case (0x1F)
14750                    {
14751                        Local2 = 0x06
14752                        BankField (OPR0, BNK0, 0x06, AnyAcc, Lock, Preserve)
14753                        {
14754                                ,   1,
14755                            F015,   31
14756                        }
14757
14758                        Local3 = RefOf (F015)
14759                        Local4 = RefOf (G006)
14760                    }
14761                    Case (0x20)
14762                    {
14763                        Local2 = 0x07
14764                        BankField (OPR0, BNK0, 0x07, DWordAcc, Lock, Preserve)
14765                        {
14766                            AccessAs (AnyAcc, 0x00),
14767                                ,   1,
14768                            F016,   32
14769                        }
14770
14771                        Local3 = RefOf (F016)
14772                        Local4 = RefOf (G007)
14773                    }
14774                    Case (0x21)
14775                    {
14776                        Local2 = 0x08
14777                        BankField (OPR0, BNK0, 0x08, AnyAcc, Lock, Preserve)
14778                        {
14779                                ,   1,
14780                            F017,   33
14781                        }
14782
14783                        Local3 = RefOf (F017)
14784                        Local4 = RefOf (G008)
14785                    }
14786                    Case (0x3F)
14787                    {
14788                        Local2 = 0x09
14789                        BankField (OPR0, BNK0, 0x09, QWordAcc, Lock, Preserve)
14790                        {
14791                            AccessAs (AnyAcc, 0x00),
14792                                ,   1,
14793                            F018,   63
14794                        }
14795
14796                        Local3 = RefOf (F018)
14797                        Local4 = RefOf (G009)
14798                    }
14799                    Case (0x40)
14800                    {
14801                        Local2 = 0x3F
14802                        BankField (OPR0, BNK0, 0x3F, AnyAcc, Lock, Preserve)
14803                        {
14804                                ,   1,
14805                            F019,   64
14806                        }
14807
14808                        Local3 = RefOf (F019)
14809                        Local4 = RefOf (G00A)
14810                    }
14811                    Case (0x41)
14812                    {
14813                        Local2 = 0x40
14814                        BankField (OPR0, BNK0, 0x40, AnyAcc, Lock, Preserve)
14815                        {
14816                            AccessAs (AnyAcc, 0x00),
14817                                ,   1,
14818                            F01A,   65
14819                        }
14820
14821                        Local3 = RefOf (F01A)
14822                        Local4 = RefOf (G00B)
14823                    }
14824                    Case (0x45)
14825                    {
14826                        Local2 = 0x7F
14827                        BankField (OPR0, BNK0, 0x7F, AnyAcc, Lock, Preserve)
14828                        {
14829                                ,   1,
14830                            F01B,   69
14831                        }
14832
14833                        Local3 = RefOf (F01B)
14834                        Local4 = RefOf (G00C)
14835                    }
14836                    Case (0x81)
14837                    {
14838                        Local2 = 0x80
14839                        BankField (OPR0, BNK0, 0x80, ByteAcc, Lock, Preserve)
14840                        {
14841                            AccessAs (AnyAcc, 0x00),
14842                                ,   1,
14843                            F01C,   129
14844                        }
14845
14846                        Local3 = RefOf (F01C)
14847                        Local4 = RefOf (G00D)
14848                    }
14849                    Case (0x0100)
14850                    {
14851                        Local2 = 0xFF
14852                        BankField (OPR0, BNK0, 0xFF, AnyAcc, Lock, Preserve)
14853                        {
14854                                ,   1,
14855                            F01D,   256
14856                        }
14857
14858                        Local3 = RefOf (F01D)
14859                        Local4 = RefOf (G00E)
14860                    }
14861                    Case (0x03FF)
14862                    {
14863                        Local2 = 0x00
14864                        BankField (OPR0, BNK0, 0x00, WordAcc, Lock, Preserve)
14865                        {
14866                            AccessAs (AnyAcc, 0x00),
14867                                ,   1,
14868                            F01E,   1023
14869                        }
14870
14871                        Local3 = RefOf (F01E)
14872                        Local4 = RefOf (G000)
14873                    }
14874                    Case (0x07BF)
14875                    {
14876                        Local2 = 0x01
14877                        BankField (OPR0, BNK0, 0x01, AnyAcc, Lock, Preserve)
14878                        {
14879                                ,   1,
14880                            F01F,   1983
14881                        }
14882
14883                        Local3 = RefOf (F01F)
14884                        Local4 = RefOf (G001)
14885                    }
14886                    Default
14887                    {
14888                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
14889                        Return (Zero)
14890                    }
14891
14892                }
14893            }
14894            Case (0x02)
14895            {
14896                Switch (ToInteger (Arg3))
14897                {
14898                    Case (0x01)
14899                    {
14900                        Local2 = 0x02
14901                        BankField (OPR0, BNK0, 0x02, AnyAcc, Lock, Preserve)
14902                        {
14903                                ,   2,
14904                            F020,   1
14905                        }
14906
14907                        Local3 = RefOf (F020)
14908                        Local4 = RefOf (G002)
14909                    }
14910                    Case (0x06)
14911                    {
14912                        Local2 = 0x03
14913                        BankField (OPR0, BNK0, 0x03, DWordAcc, Lock, Preserve)
14914                        {
14915                            AccessAs (AnyAcc, 0x00),
14916                                ,   2,
14917                            F021,   6
14918                        }
14919
14920                        Local3 = RefOf (F021)
14921                        Local4 = RefOf (G003)
14922                    }
14923                    Case (0x07)
14924                    {
14925                        Local2 = 0x04
14926                        BankField (OPR0, BNK0, 0x04, AnyAcc, Lock, Preserve)
14927                        {
14928                                ,   2,
14929                            F022,   7
14930                        }
14931
14932                        Local3 = RefOf (F022)
14933                        Local4 = RefOf (G004)
14934                    }
14935                    Case (0x08)
14936                    {
14937                        Local2 = 0x05
14938                        BankField (OPR0, BNK0, 0x05, QWordAcc, Lock, Preserve)
14939                        {
14940                            AccessAs (AnyAcc, 0x00),
14941                                ,   2,
14942                            F023,   8
14943                        }
14944
14945                        Local3 = RefOf (F023)
14946                        Local4 = RefOf (G005)
14947                    }
14948                    Case (0x09)
14949                    {
14950                        Local2 = 0x06
14951                        BankField (OPR0, BNK0, 0x06, AnyAcc, Lock, Preserve)
14952                        {
14953                                ,   2,
14954                            F024,   9
14955                        }
14956
14957                        Local3 = RefOf (F024)
14958                        Local4 = RefOf (G006)
14959                    }
14960                    Case (0x1F)
14961                    {
14962                        Local2 = 0x07
14963                        BankField (OPR0, BNK0, 0x07, AnyAcc, Lock, Preserve)
14964                        {
14965                            AccessAs (AnyAcc, 0x00),
14966                                ,   2,
14967                            F025,   31
14968                        }
14969
14970                        Local3 = RefOf (F025)
14971                        Local4 = RefOf (G007)
14972                    }
14973                    Case (0x20)
14974                    {
14975                        Local2 = 0x08
14976                        BankField (OPR0, BNK0, 0x08, AnyAcc, Lock, Preserve)
14977                        {
14978                                ,   2,
14979                            F026,   32
14980                        }
14981
14982                        Local3 = RefOf (F026)
14983                        Local4 = RefOf (G008)
14984                    }
14985                    Case (0x21)
14986                    {
14987                        Local2 = 0x09
14988                        BankField (OPR0, BNK0, 0x09, ByteAcc, Lock, Preserve)
14989                        {
14990                            AccessAs (AnyAcc, 0x00),
14991                                ,   2,
14992                            F027,   33
14993                        }
14994
14995                        Local3 = RefOf (F027)
14996                        Local4 = RefOf (G009)
14997                    }
14998                    Case (0x3F)
14999                    {
15000                        Local2 = 0x3F
15001                        BankField (OPR0, BNK0, 0x3F, AnyAcc, Lock, Preserve)
15002                        {
15003                                ,   2,
15004                            F028,   63
15005                        }
15006
15007                        Local3 = RefOf (F028)
15008                        Local4 = RefOf (G00A)
15009                    }
15010                    Case (0x40)
15011                    {
15012                        Local2 = 0x40
15013                        BankField (OPR0, BNK0, 0x40, WordAcc, Lock, Preserve)
15014                        {
15015                            AccessAs (AnyAcc, 0x00),
15016                                ,   2,
15017                            F029,   64
15018                        }
15019
15020                        Local3 = RefOf (F029)
15021                        Local4 = RefOf (G00B)
15022                    }
15023                    Case (0x41)
15024                    {
15025                        Local2 = 0x7F
15026                        BankField (OPR0, BNK0, 0x7F, AnyAcc, Lock, Preserve)
15027                        {
15028                                ,   2,
15029                            F02A,   65
15030                        }
15031
15032                        Local3 = RefOf (F02A)
15033                        Local4 = RefOf (G00C)
15034                    }
15035                    Case (0x45)
15036                    {
15037                        Local2 = 0x80
15038                        BankField (OPR0, BNK0, 0x80, DWordAcc, Lock, Preserve)
15039                        {
15040                            AccessAs (AnyAcc, 0x00),
15041                                ,   2,
15042                            F02B,   69
15043                        }
15044
15045                        Local3 = RefOf (F02B)
15046                        Local4 = RefOf (G00D)
15047                    }
15048                    Case (0x81)
15049                    {
15050                        Local2 = 0xFF
15051                        BankField (OPR0, BNK0, 0xFF, AnyAcc, Lock, Preserve)
15052                        {
15053                                ,   2,
15054                            F02C,   129
15055                        }
15056
15057                        Local3 = RefOf (F02C)
15058                        Local4 = RefOf (G00E)
15059                    }
15060                    Case (0x0100)
15061                    {
15062                        Local2 = 0x00
15063                        BankField (OPR0, BNK0, 0x00, QWordAcc, Lock, Preserve)
15064                        {
15065                            AccessAs (AnyAcc, 0x00),
15066                                ,   2,
15067                            F02D,   256
15068                        }
15069
15070                        Local3 = RefOf (F02D)
15071                        Local4 = RefOf (G000)
15072                    }
15073                    Case (0x03FF)
15074                    {
15075                        Local2 = 0x01
15076                        BankField (OPR0, BNK0, 0x01, AnyAcc, Lock, Preserve)
15077                        {
15078                                ,   2,
15079                            F02E,   1023
15080                        }
15081
15082                        Local3 = RefOf (F02E)
15083                        Local4 = RefOf (G001)
15084                    }
15085                    Case (0x07BF)
15086                    {
15087                        Local2 = 0x02
15088                        BankField (OPR0, BNK0, 0x02, AnyAcc, Lock, Preserve)
15089                        {
15090                            AccessAs (AnyAcc, 0x00),
15091                                ,   2,
15092                            F02F,   1983
15093                        }
15094
15095                        Local3 = RefOf (F02F)
15096                        Local4 = RefOf (G002)
15097                    }
15098                    Default
15099                    {
15100                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
15101                        Return (Zero)
15102                    }
15103
15104                }
15105            }
15106            Case (0x03)
15107            {
15108                Switch (ToInteger (Arg3))
15109                {
15110                    Case (0x01)
15111                    {
15112                        Local2 = 0x03
15113                        BankField (OPR0, BNK0, 0x03, ByteAcc, Lock, Preserve)
15114                        {
15115                            AccessAs (AnyAcc, 0x00),
15116                                ,   3,
15117                            F030,   1
15118                        }
15119
15120                        Local3 = RefOf (F030)
15121                        Local4 = RefOf (G003)
15122                    }
15123                    Case (0x06)
15124                    {
15125                        Local2 = 0x04
15126                        BankField (OPR0, BNK0, 0x04, AnyAcc, Lock, Preserve)
15127                        {
15128                                ,   3,
15129                            F031,   6
15130                        }
15131
15132                        Local3 = RefOf (F031)
15133                        Local4 = RefOf (G004)
15134                    }
15135                    Case (0x07)
15136                    {
15137                        Local2 = 0x05
15138                        BankField (OPR0, BNK0, 0x05, WordAcc, Lock, Preserve)
15139                        {
15140                            AccessAs (AnyAcc, 0x00),
15141                                ,   3,
15142                            F032,   7
15143                        }
15144
15145                        Local3 = RefOf (F032)
15146                        Local4 = RefOf (G005)
15147                    }
15148                    Case (0x08)
15149                    {
15150                        Local2 = 0x06
15151                        BankField (OPR0, BNK0, 0x06, AnyAcc, Lock, Preserve)
15152                        {
15153                                ,   3,
15154                            F033,   8
15155                        }
15156
15157                        Local3 = RefOf (F033)
15158                        Local4 = RefOf (G006)
15159                    }
15160                    Case (0x09)
15161                    {
15162                        Local2 = 0x07
15163                        BankField (OPR0, BNK0, 0x07, DWordAcc, Lock, Preserve)
15164                        {
15165                            AccessAs (AnyAcc, 0x00),
15166                                ,   3,
15167                            F034,   9
15168                        }
15169
15170                        Local3 = RefOf (F034)
15171                        Local4 = RefOf (G007)
15172                    }
15173                    Case (0x1F)
15174                    {
15175                        Local2 = 0x08
15176                        BankField (OPR0, BNK0, 0x08, AnyAcc, Lock, Preserve)
15177                        {
15178                                ,   3,
15179                            F035,   31
15180                        }
15181
15182                        Local3 = RefOf (F035)
15183                        Local4 = RefOf (G008)
15184                    }
15185                    Case (0x20)
15186                    {
15187                        Local2 = 0x09
15188                        BankField (OPR0, BNK0, 0x09, QWordAcc, Lock, Preserve)
15189                        {
15190                            AccessAs (AnyAcc, 0x00),
15191                                ,   3,
15192                            F036,   32
15193                        }
15194
15195                        Local3 = RefOf (F036)
15196                        Local4 = RefOf (G009)
15197                    }
15198                    Case (0x21)
15199                    {
15200                        Local2 = 0x3F
15201                        BankField (OPR0, BNK0, 0x3F, AnyAcc, Lock, Preserve)
15202                        {
15203                                ,   3,
15204                            F037,   33
15205                        }
15206
15207                        Local3 = RefOf (F037)
15208                        Local4 = RefOf (G00A)
15209                    }
15210                    Case (0x3F)
15211                    {
15212                        Local2 = 0x40
15213                        BankField (OPR0, BNK0, 0x40, AnyAcc, Lock, Preserve)
15214                        {
15215                            AccessAs (AnyAcc, 0x00),
15216                                ,   3,
15217                            F038,   63
15218                        }
15219
15220                        Local3 = RefOf (F038)
15221                        Local4 = RefOf (G00B)
15222                    }
15223                    Case (0x40)
15224                    {
15225                        Local2 = 0x7F
15226                        BankField (OPR0, BNK0, 0x7F, AnyAcc, Lock, Preserve)
15227                        {
15228                                ,   3,
15229                            F039,   64
15230                        }
15231
15232                        Local3 = RefOf (F039)
15233                        Local4 = RefOf (G00C)
15234                    }
15235                    Case (0x41)
15236                    {
15237                        Local2 = 0x80
15238                        BankField (OPR0, BNK0, 0x80, ByteAcc, Lock, Preserve)
15239                        {
15240                            AccessAs (AnyAcc, 0x00),
15241                                ,   3,
15242                            F03A,   65
15243                        }
15244
15245                        Local3 = RefOf (F03A)
15246                        Local4 = RefOf (G00D)
15247                    }
15248                    Case (0x45)
15249                    {
15250                        Local2 = 0xFF
15251                        BankField (OPR0, BNK0, 0xFF, AnyAcc, Lock, Preserve)
15252                        {
15253                                ,   3,
15254                            F03B,   69
15255                        }
15256
15257                        Local3 = RefOf (F03B)
15258                        Local4 = RefOf (G00E)
15259                    }
15260                    Case (0x81)
15261                    {
15262                        Local2 = 0x00
15263                        BankField (OPR0, BNK0, 0x00, WordAcc, Lock, Preserve)
15264                        {
15265                            AccessAs (AnyAcc, 0x00),
15266                                ,   3,
15267                            F03C,   129
15268                        }
15269
15270                        Local3 = RefOf (F03C)
15271                        Local4 = RefOf (G000)
15272                    }
15273                    Case (0x0100)
15274                    {
15275                        Local2 = 0x01
15276                        BankField (OPR0, BNK0, 0x01, AnyAcc, Lock, Preserve)
15277                        {
15278                                ,   3,
15279                            F03D,   256
15280                        }
15281
15282                        Local3 = RefOf (F03D)
15283                        Local4 = RefOf (G001)
15284                    }
15285                    Case (0x03FF)
15286                    {
15287                        Local2 = 0x02
15288                        BankField (OPR0, BNK0, 0x02, DWordAcc, Lock, Preserve)
15289                        {
15290                            AccessAs (AnyAcc, 0x00),
15291                                ,   3,
15292                            F03E,   1023
15293                        }
15294
15295                        Local3 = RefOf (F03E)
15296                        Local4 = RefOf (G002)
15297                    }
15298                    Case (0x07BF)
15299                    {
15300                        Local2 = 0x03
15301                        BankField (OPR0, BNK0, 0x03, AnyAcc, Lock, Preserve)
15302                        {
15303                                ,   3,
15304                            F03F,   1983
15305                        }
15306
15307                        Local3 = RefOf (F03F)
15308                        Local4 = RefOf (G003)
15309                    }
15310                    Default
15311                    {
15312                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
15313                        Return (Zero)
15314                    }
15315
15316                }
15317            }
15318            Case (0x04)
15319            {
15320                Switch (ToInteger (Arg3))
15321                {
15322                    Case (0x01)
15323                    {
15324                        Local2 = 0x04
15325                        BankField (OPR0, BNK0, 0x04, AnyAcc, Lock, Preserve)
15326                        {
15327                                ,   4,
15328                            F040,   1
15329                        }
15330
15331                        Local3 = RefOf (F040)
15332                        Local4 = RefOf (G004)
15333                    }
15334                    Case (0x06)
15335                    {
15336                        Local2 = 0x05
15337                        BankField (OPR0, BNK0, 0x05, QWordAcc, Lock, Preserve)
15338                        {
15339                            AccessAs (AnyAcc, 0x00),
15340                                ,   4,
15341                            F041,   6
15342                        }
15343
15344                        Local3 = RefOf (F041)
15345                        Local4 = RefOf (G005)
15346                    }
15347                    Case (0x07)
15348                    {
15349                        Local2 = 0x06
15350                        BankField (OPR0, BNK0, 0x06, AnyAcc, Lock, Preserve)
15351                        {
15352                                ,   4,
15353                            F042,   7
15354                        }
15355
15356                        Local3 = RefOf (F042)
15357                        Local4 = RefOf (G006)
15358                    }
15359                    Case (0x08)
15360                    {
15361                        Local2 = 0x07
15362                        BankField (OPR0, BNK0, 0x07, AnyAcc, Lock, Preserve)
15363                        {
15364                            AccessAs (AnyAcc, 0x00),
15365                                ,   4,
15366                            F043,   8
15367                        }
15368
15369                        Local3 = RefOf (F043)
15370                        Local4 = RefOf (G007)
15371                    }
15372                    Case (0x09)
15373                    {
15374                        Local2 = 0x08
15375                        BankField (OPR0, BNK0, 0x08, AnyAcc, Lock, Preserve)
15376                        {
15377                                ,   4,
15378                            F044,   9
15379                        }
15380
15381                        Local3 = RefOf (F044)
15382                        Local4 = RefOf (G008)
15383                    }
15384                    Case (0x1F)
15385                    {
15386                        Local2 = 0x09
15387                        BankField (OPR0, BNK0, 0x09, ByteAcc, Lock, Preserve)
15388                        {
15389                            AccessAs (AnyAcc, 0x00),
15390                                ,   4,
15391                            F045,   31
15392                        }
15393
15394                        Local3 = RefOf (F045)
15395                        Local4 = RefOf (G009)
15396                    }
15397                    Case (0x20)
15398                    {
15399                        Local2 = 0x3F
15400                        BankField (OPR0, BNK0, 0x3F, AnyAcc, Lock, Preserve)
15401                        {
15402                                ,   4,
15403                            F046,   32
15404                        }
15405
15406                        Local3 = RefOf (F046)
15407                        Local4 = RefOf (G00A)
15408                    }
15409                    Case (0x21)
15410                    {
15411                        Local2 = 0x40
15412                        BankField (OPR0, BNK0, 0x40, WordAcc, Lock, Preserve)
15413                        {
15414                            AccessAs (AnyAcc, 0x00),
15415                                ,   4,
15416                            F047,   33
15417                        }
15418
15419                        Local3 = RefOf (F047)
15420                        Local4 = RefOf (G00B)
15421                    }
15422                    Case (0x3F)
15423                    {
15424                        Local2 = 0x7F
15425                        BankField (OPR0, BNK0, 0x7F, AnyAcc, Lock, Preserve)
15426                        {
15427                                ,   4,
15428                            F048,   63
15429                        }
15430
15431                        Local3 = RefOf (F048)
15432                        Local4 = RefOf (G00C)
15433                    }
15434                    Case (0x40)
15435                    {
15436                        Local2 = 0x80
15437                        BankField (OPR0, BNK0, 0x80, DWordAcc, Lock, Preserve)
15438                        {
15439                            AccessAs (AnyAcc, 0x00),
15440                                ,   4,
15441                            F049,   64
15442                        }
15443
15444                        Local3 = RefOf (F049)
15445                        Local4 = RefOf (G00D)
15446                    }
15447                    Case (0x41)
15448                    {
15449                        Local2 = 0xFF
15450                        BankField (OPR0, BNK0, 0xFF, AnyAcc, Lock, Preserve)
15451                        {
15452                                ,   4,
15453                            F04A,   65
15454                        }
15455
15456                        Local3 = RefOf (F04A)
15457                        Local4 = RefOf (G00E)
15458                    }
15459                    Case (0x45)
15460                    {
15461                        Local2 = 0x00
15462                        BankField (OPR0, BNK0, 0x00, QWordAcc, Lock, Preserve)
15463                        {
15464                            AccessAs (AnyAcc, 0x00),
15465                                ,   4,
15466                            F04B,   69
15467                        }
15468
15469                        Local3 = RefOf (F04B)
15470                        Local4 = RefOf (G000)
15471                    }
15472                    Case (0x81)
15473                    {
15474                        Local2 = 0x01
15475                        BankField (OPR0, BNK0, 0x01, AnyAcc, Lock, Preserve)
15476                        {
15477                                ,   4,
15478                            F04C,   129
15479                        }
15480
15481                        Local3 = RefOf (F04C)
15482                        Local4 = RefOf (G001)
15483                    }
15484                    Case (0x0100)
15485                    {
15486                        Local2 = 0x02
15487                        BankField (OPR0, BNK0, 0x02, AnyAcc, Lock, Preserve)
15488                        {
15489                            AccessAs (AnyAcc, 0x00),
15490                                ,   4,
15491                            F04D,   256
15492                        }
15493
15494                        Local3 = RefOf (F04D)
15495                        Local4 = RefOf (G002)
15496                    }
15497                    Case (0x03FF)
15498                    {
15499                        Local2 = 0x03
15500                        BankField (OPR0, BNK0, 0x03, AnyAcc, Lock, Preserve)
15501                        {
15502                                ,   4,
15503                            F04E,   1023
15504                        }
15505
15506                        Local3 = RefOf (F04E)
15507                        Local4 = RefOf (G003)
15508                    }
15509                    Case (0x07BF)
15510                    {
15511                        Local2 = 0x04
15512                        BankField (OPR0, BNK0, 0x04, ByteAcc, Lock, Preserve)
15513                        {
15514                            AccessAs (AnyAcc, 0x00),
15515                                ,   4,
15516                            F04F,   1983
15517                        }
15518
15519                        Local3 = RefOf (F04F)
15520                        Local4 = RefOf (G004)
15521                    }
15522                    Default
15523                    {
15524                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
15525                        Return (Zero)
15526                    }
15527
15528                }
15529            }
15530            Case (0x05)
15531            {
15532                Switch (ToInteger (Arg3))
15533                {
15534                    Case (0x01)
15535                    {
15536                        Local2 = 0x05
15537                        BankField (OPR0, BNK0, 0x05, WordAcc, Lock, Preserve)
15538                        {
15539                            AccessAs (AnyAcc, 0x00),
15540                                ,   5,
15541                            F050,   1
15542                        }
15543
15544                        Local3 = RefOf (F050)
15545                        Local4 = RefOf (G005)
15546                    }
15547                    Case (0x06)
15548                    {
15549                        Local2 = 0x06
15550                        BankField (OPR0, BNK0, 0x06, AnyAcc, Lock, Preserve)
15551                        {
15552                                ,   5,
15553                            F051,   6
15554                        }
15555
15556                        Local3 = RefOf (F051)
15557                        Local4 = RefOf (G006)
15558                    }
15559                    Case (0x07)
15560                    {
15561                        Local2 = 0x07
15562                        BankField (OPR0, BNK0, 0x07, DWordAcc, Lock, Preserve)
15563                        {
15564                            AccessAs (AnyAcc, 0x00),
15565                                ,   5,
15566                            F052,   7
15567                        }
15568
15569                        Local3 = RefOf (F052)
15570                        Local4 = RefOf (G007)
15571                    }
15572                    Case (0x08)
15573                    {
15574                        Local2 = 0x08
15575                        BankField (OPR0, BNK0, 0x08, AnyAcc, Lock, Preserve)
15576                        {
15577                                ,   5,
15578                            F053,   8
15579                        }
15580
15581                        Local3 = RefOf (F053)
15582                        Local4 = RefOf (G008)
15583                    }
15584                    Case (0x09)
15585                    {
15586                        Local2 = 0x09
15587                        BankField (OPR0, BNK0, 0x09, QWordAcc, Lock, Preserve)
15588                        {
15589                            AccessAs (AnyAcc, 0x00),
15590                                ,   5,
15591                            F054,   9
15592                        }
15593
15594                        Local3 = RefOf (F054)
15595                        Local4 = RefOf (G009)
15596                    }
15597                    Case (0x1F)
15598                    {
15599                        Local2 = 0x3F
15600                        BankField (OPR0, BNK0, 0x3F, AnyAcc, Lock, Preserve)
15601                        {
15602                                ,   5,
15603                            F055,   31
15604                        }
15605
15606                        Local3 = RefOf (F055)
15607                        Local4 = RefOf (G00A)
15608                    }
15609                    Case (0x20)
15610                    {
15611                        Local2 = 0x40
15612                        BankField (OPR0, BNK0, 0x40, AnyAcc, Lock, Preserve)
15613                        {
15614                            AccessAs (AnyAcc, 0x00),
15615                                ,   5,
15616                            F056,   32
15617                        }
15618
15619                        Local3 = RefOf (F056)
15620                        Local4 = RefOf (G00B)
15621                    }
15622                    Case (0x21)
15623                    {
15624                        Local2 = 0x7F
15625                        BankField (OPR0, BNK0, 0x7F, AnyAcc, Lock, Preserve)
15626                        {
15627                                ,   5,
15628                            F057,   33
15629                        }
15630
15631                        Local3 = RefOf (F057)
15632                        Local4 = RefOf (G00C)
15633                    }
15634                    Case (0x3F)
15635                    {
15636                        Local2 = 0x80
15637                        BankField (OPR0, BNK0, 0x80, ByteAcc, Lock, Preserve)
15638                        {
15639                            AccessAs (AnyAcc, 0x00),
15640                                ,   5,
15641                            F058,   63
15642                        }
15643
15644                        Local3 = RefOf (F058)
15645                        Local4 = RefOf (G00D)
15646                    }
15647                    Case (0x40)
15648                    {
15649                        Local2 = 0xFF
15650                        BankField (OPR0, BNK0, 0xFF, AnyAcc, Lock, Preserve)
15651                        {
15652                                ,   5,
15653                            F059,   64
15654                        }
15655
15656                        Local3 = RefOf (F059)
15657                        Local4 = RefOf (G00E)
15658                    }
15659                    Case (0x41)
15660                    {
15661                        Local2 = 0x00
15662                        BankField (OPR0, BNK0, 0x00, WordAcc, Lock, Preserve)
15663                        {
15664                            AccessAs (AnyAcc, 0x00),
15665                                ,   5,
15666                            F05A,   65
15667                        }
15668
15669                        Local3 = RefOf (F05A)
15670                        Local4 = RefOf (G000)
15671                    }
15672                    Case (0x45)
15673                    {
15674                        Local2 = 0x01
15675                        BankField (OPR0, BNK0, 0x01, AnyAcc, Lock, Preserve)
15676                        {
15677                                ,   5,
15678                            F05B,   69
15679                        }
15680
15681                        Local3 = RefOf (F05B)
15682                        Local4 = RefOf (G001)
15683                    }
15684                    Case (0x81)
15685                    {
15686                        Local2 = 0x02
15687                        BankField (OPR0, BNK0, 0x02, DWordAcc, Lock, Preserve)
15688                        {
15689                            AccessAs (AnyAcc, 0x00),
15690                                ,   5,
15691                            F05C,   129
15692                        }
15693
15694                        Local3 = RefOf (F05C)
15695                        Local4 = RefOf (G002)
15696                    }
15697                    Case (0x0100)
15698                    {
15699                        Local2 = 0x03
15700                        BankField (OPR0, BNK0, 0x03, AnyAcc, Lock, Preserve)
15701                        {
15702                                ,   5,
15703                            F05D,   256
15704                        }
15705
15706                        Local3 = RefOf (F05D)
15707                        Local4 = RefOf (G003)
15708                    }
15709                    Case (0x03FF)
15710                    {
15711                        Local2 = 0x04
15712                        BankField (OPR0, BNK0, 0x04, QWordAcc, Lock, Preserve)
15713                        {
15714                            AccessAs (AnyAcc, 0x00),
15715                                ,   5,
15716                            F05E,   1023
15717                        }
15718
15719                        Local3 = RefOf (F05E)
15720                        Local4 = RefOf (G004)
15721                    }
15722                    Case (0x07BF)
15723                    {
15724                        Local2 = 0x05
15725                        BankField (OPR0, BNK0, 0x05, AnyAcc, Lock, Preserve)
15726                        {
15727                                ,   5,
15728                            F05F,   1983
15729                        }
15730
15731                        Local3 = RefOf (F05F)
15732                        Local4 = RefOf (G005)
15733                    }
15734                    Default
15735                    {
15736                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
15737                        Return (Zero)
15738                    }
15739
15740                }
15741            }
15742            Case (0x06)
15743            {
15744                Switch (ToInteger (Arg3))
15745                {
15746                    Case (0x01)
15747                    {
15748                        Local2 = 0x06
15749                        BankField (OPR0, BNK0, 0x06, AnyAcc, Lock, Preserve)
15750                        {
15751                                ,   6,
15752                            F060,   1
15753                        }
15754
15755                        Local3 = RefOf (F060)
15756                        Local4 = RefOf (G006)
15757                    }
15758                    Case (0x06)
15759                    {
15760                        Local2 = 0x07
15761                        BankField (OPR0, BNK0, 0x07, AnyAcc, Lock, Preserve)
15762                        {
15763                            AccessAs (AnyAcc, 0x00),
15764                                ,   6,
15765                            F061,   6
15766                        }
15767
15768                        Local3 = RefOf (F061)
15769                        Local4 = RefOf (G007)
15770                    }
15771                    Case (0x07)
15772                    {
15773                        Local2 = 0x08
15774                        BankField (OPR0, BNK0, 0x08, AnyAcc, Lock, Preserve)
15775                        {
15776                                ,   6,
15777                            F062,   7
15778                        }
15779
15780                        Local3 = RefOf (F062)
15781                        Local4 = RefOf (G008)
15782                    }
15783                    Case (0x08)
15784                    {
15785                        Local2 = 0x09
15786                        BankField (OPR0, BNK0, 0x09, ByteAcc, Lock, Preserve)
15787                        {
15788                            AccessAs (AnyAcc, 0x00),
15789                                ,   6,
15790                            F063,   8
15791                        }
15792
15793                        Local3 = RefOf (F063)
15794                        Local4 = RefOf (G009)
15795                    }
15796                    Case (0x09)
15797                    {
15798                        Local2 = 0x3F
15799                        BankField (OPR0, BNK0, 0x3F, AnyAcc, Lock, Preserve)
15800                        {
15801                                ,   6,
15802                            F064,   9
15803                        }
15804
15805                        Local3 = RefOf (F064)
15806                        Local4 = RefOf (G00A)
15807                    }
15808                    Case (0x1F)
15809                    {
15810                        Local2 = 0x40
15811                        BankField (OPR0, BNK0, 0x40, WordAcc, Lock, Preserve)
15812                        {
15813                            AccessAs (AnyAcc, 0x00),
15814                                ,   6,
15815                            F065,   31
15816                        }
15817
15818                        Local3 = RefOf (F065)
15819                        Local4 = RefOf (G00B)
15820                    }
15821                    Case (0x20)
15822                    {
15823                        Local2 = 0x7F
15824                        BankField (OPR0, BNK0, 0x7F, AnyAcc, Lock, Preserve)
15825                        {
15826                                ,   6,
15827                            F066,   32
15828                        }
15829
15830                        Local3 = RefOf (F066)
15831                        Local4 = RefOf (G00C)
15832                    }
15833                    Case (0x21)
15834                    {
15835                        Local2 = 0x80
15836                        BankField (OPR0, BNK0, 0x80, DWordAcc, Lock, Preserve)
15837                        {
15838                            AccessAs (AnyAcc, 0x00),
15839                                ,   6,
15840                            F067,   33
15841                        }
15842
15843                        Local3 = RefOf (F067)
15844                        Local4 = RefOf (G00D)
15845                    }
15846                    Case (0x3F)
15847                    {
15848                        Local2 = 0xFF
15849                        BankField (OPR0, BNK0, 0xFF, AnyAcc, Lock, Preserve)
15850                        {
15851                                ,   6,
15852                            F068,   63
15853                        }
15854
15855                        Local3 = RefOf (F068)
15856                        Local4 = RefOf (G00E)
15857                    }
15858                    Case (0x40)
15859                    {
15860                        Local2 = 0x00
15861                        BankField (OPR0, BNK0, 0x00, QWordAcc, Lock, Preserve)
15862                        {
15863                            AccessAs (AnyAcc, 0x00),
15864                                ,   6,
15865                            F069,   64
15866                        }
15867
15868                        Local3 = RefOf (F069)
15869                        Local4 = RefOf (G000)
15870                    }
15871                    Case (0x41)
15872                    {
15873                        Local2 = 0x01
15874                        BankField (OPR0, BNK0, 0x01, AnyAcc, Lock, Preserve)
15875                        {
15876                                ,   6,
15877                            F06A,   65
15878                        }
15879
15880                        Local3 = RefOf (F06A)
15881                        Local4 = RefOf (G001)
15882                    }
15883                    Case (0x45)
15884                    {
15885                        Local2 = 0x02
15886                        BankField (OPR0, BNK0, 0x02, AnyAcc, Lock, Preserve)
15887                        {
15888                            AccessAs (AnyAcc, 0x00),
15889                                ,   6,
15890                            F06B,   69
15891                        }
15892
15893                        Local3 = RefOf (F06B)
15894                        Local4 = RefOf (G002)
15895                    }
15896                    Case (0x81)
15897                    {
15898                        Local2 = 0x03
15899                        BankField (OPR0, BNK0, 0x03, AnyAcc, Lock, Preserve)
15900                        {
15901                                ,   6,
15902                            F06C,   129
15903                        }
15904
15905                        Local3 = RefOf (F06C)
15906                        Local4 = RefOf (G003)
15907                    }
15908                    Case (0x0100)
15909                    {
15910                        Local2 = 0x04
15911                        BankField (OPR0, BNK0, 0x04, ByteAcc, Lock, Preserve)
15912                        {
15913                            AccessAs (AnyAcc, 0x00),
15914                                ,   6,
15915                            F06D,   256
15916                        }
15917
15918                        Local3 = RefOf (F06D)
15919                        Local4 = RefOf (G004)
15920                    }
15921                    Case (0x03FF)
15922                    {
15923                        Local2 = 0x05
15924                        BankField (OPR0, BNK0, 0x05, AnyAcc, Lock, Preserve)
15925                        {
15926                                ,   6,
15927                            F06E,   1023
15928                        }
15929
15930                        Local3 = RefOf (F06E)
15931                        Local4 = RefOf (G005)
15932                    }
15933                    Case (0x07BF)
15934                    {
15935                        Local2 = 0x06
15936                        BankField (OPR0, BNK0, 0x06, WordAcc, Lock, Preserve)
15937                        {
15938                            AccessAs (AnyAcc, 0x00),
15939                                ,   6,
15940                            F06F,   1983
15941                        }
15942
15943                        Local3 = RefOf (F06F)
15944                        Local4 = RefOf (G006)
15945                    }
15946                    Default
15947                    {
15948                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
15949                        Return (Zero)
15950                    }
15951
15952                }
15953            }
15954            Case (0x07)
15955            {
15956                Switch (ToInteger (Arg3))
15957                {
15958                    Case (0x01)
15959                    {
15960                        Local2 = 0x07
15961                        BankField (OPR0, BNK0, 0x07, DWordAcc, Lock, Preserve)
15962                        {
15963                            AccessAs (AnyAcc, 0x00),
15964                                ,   7,
15965                            F070,   1
15966                        }
15967
15968                        Local3 = RefOf (F070)
15969                        Local4 = RefOf (G007)
15970                    }
15971                    Case (0x06)
15972                    {
15973                        Local2 = 0x08
15974                        BankField (OPR0, BNK0, 0x08, AnyAcc, Lock, Preserve)
15975                        {
15976                                ,   7,
15977                            F071,   6
15978                        }
15979
15980                        Local3 = RefOf (F071)
15981                        Local4 = RefOf (G008)
15982                    }
15983                    Case (0x07)
15984                    {
15985                        Local2 = 0x09
15986                        BankField (OPR0, BNK0, 0x09, QWordAcc, Lock, Preserve)
15987                        {
15988                            AccessAs (AnyAcc, 0x00),
15989                                ,   7,
15990                            F072,   7
15991                        }
15992
15993                        Local3 = RefOf (F072)
15994                        Local4 = RefOf (G009)
15995                    }
15996                    Case (0x08)
15997                    {
15998                        Local2 = 0x3F
15999                        BankField (OPR0, BNK0, 0x3F, AnyAcc, Lock, Preserve)
16000                        {
16001                                ,   7,
16002                            F073,   8
16003                        }
16004
16005                        Local3 = RefOf (F073)
16006                        Local4 = RefOf (G00A)
16007                    }
16008                    Case (0x09)
16009                    {
16010                        Local2 = 0x40
16011                        BankField (OPR0, BNK0, 0x40, AnyAcc, Lock, Preserve)
16012                        {
16013                            AccessAs (AnyAcc, 0x00),
16014                                ,   7,
16015                            F074,   9
16016                        }
16017
16018                        Local3 = RefOf (F074)
16019                        Local4 = RefOf (G00B)
16020                    }
16021                    Case (0x1F)
16022                    {
16023                        Local2 = 0x7F
16024                        BankField (OPR0, BNK0, 0x7F, AnyAcc, Lock, Preserve)
16025                        {
16026                                ,   7,
16027                            F075,   31
16028                        }
16029
16030                        Local3 = RefOf (F075)
16031                        Local4 = RefOf (G00C)
16032                    }
16033                    Case (0x20)
16034                    {
16035                        Local2 = 0x80
16036                        BankField (OPR0, BNK0, 0x80, ByteAcc, Lock, Preserve)
16037                        {
16038                            AccessAs (AnyAcc, 0x00),
16039                                ,   7,
16040                            F076,   32
16041                        }
16042
16043                        Local3 = RefOf (F076)
16044                        Local4 = RefOf (G00D)
16045                    }
16046                    Case (0x21)
16047                    {
16048                        Local2 = 0xFF
16049                        BankField (OPR0, BNK0, 0xFF, AnyAcc, Lock, Preserve)
16050                        {
16051                                ,   7,
16052                            F077,   33
16053                        }
16054
16055                        Local3 = RefOf (F077)
16056                        Local4 = RefOf (G00E)
16057                    }
16058                    Case (0x3F)
16059                    {
16060                        Local2 = 0x00
16061                        BankField (OPR0, BNK0, 0x00, WordAcc, Lock, Preserve)
16062                        {
16063                            AccessAs (AnyAcc, 0x00),
16064                                ,   7,
16065                            F078,   63
16066                        }
16067
16068                        Local3 = RefOf (F078)
16069                        Local4 = RefOf (G000)
16070                    }
16071                    Case (0x40)
16072                    {
16073                        Local2 = 0x01
16074                        BankField (OPR0, BNK0, 0x01, AnyAcc, Lock, Preserve)
16075                        {
16076                                ,   7,
16077                            F079,   64
16078                        }
16079
16080                        Local3 = RefOf (F079)
16081                        Local4 = RefOf (G001)
16082                    }
16083                    Case (0x41)
16084                    {
16085                        Local2 = 0x02
16086                        BankField (OPR0, BNK0, 0x02, DWordAcc, Lock, Preserve)
16087                        {
16088                            AccessAs (AnyAcc, 0x00),
16089                                ,   7,
16090                            F07A,   65
16091                        }
16092
16093                        Local3 = RefOf (F07A)
16094                        Local4 = RefOf (G002)
16095                    }
16096                    Case (0x45)
16097                    {
16098                        Local2 = 0x03
16099                        BankField (OPR0, BNK0, 0x03, AnyAcc, Lock, Preserve)
16100                        {
16101                                ,   7,
16102                            F07B,   69
16103                        }
16104
16105                        Local3 = RefOf (F07B)
16106                        Local4 = RefOf (G003)
16107                    }
16108                    Case (0x81)
16109                    {
16110                        Local2 = 0x04
16111                        BankField (OPR0, BNK0, 0x04, QWordAcc, Lock, Preserve)
16112                        {
16113                            AccessAs (AnyAcc, 0x00),
16114                                ,   7,
16115                            F07C,   129
16116                        }
16117
16118                        Local3 = RefOf (F07C)
16119                        Local4 = RefOf (G004)
16120                    }
16121                    Case (0x0100)
16122                    {
16123                        Local2 = 0x05
16124                        BankField (OPR0, BNK0, 0x05, AnyAcc, Lock, Preserve)
16125                        {
16126                                ,   7,
16127                            F07D,   256
16128                        }
16129
16130                        Local3 = RefOf (F07D)
16131                        Local4 = RefOf (G005)
16132                    }
16133                    Case (0x03FF)
16134                    {
16135                        Local2 = 0x06
16136                        BankField (OPR0, BNK0, 0x06, AnyAcc, Lock, Preserve)
16137                        {
16138                            AccessAs (AnyAcc, 0x00),
16139                                ,   7,
16140                            F07E,   1023
16141                        }
16142
16143                        Local3 = RefOf (F07E)
16144                        Local4 = RefOf (G006)
16145                    }
16146                    Case (0x07BF)
16147                    {
16148                        Local2 = 0x07
16149                        BankField (OPR0, BNK0, 0x07, AnyAcc, Lock, Preserve)
16150                        {
16151                                ,   7,
16152                            F07F,   1983
16153                        }
16154
16155                        Local3 = RefOf (F07F)
16156                        Local4 = RefOf (G007)
16157                    }
16158                    Default
16159                    {
16160                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
16161                        Return (Zero)
16162                    }
16163
16164                }
16165            }
16166            Case (0x08)
16167            {
16168                Switch (ToInteger (Arg3))
16169                {
16170                    Case (0x01)
16171                    {
16172                        Local2 = 0x08
16173                        BankField (OPR0, BNK0, 0x08, AnyAcc, Lock, Preserve)
16174                        {
16175                            Offset (0x01),
16176                            F080,   1
16177                        }
16178
16179                        Local3 = RefOf (F080)
16180                        Local4 = RefOf (G008)
16181                    }
16182                    Case (0x06)
16183                    {
16184                        Local2 = 0x09
16185                        BankField (OPR0, BNK0, 0x09, ByteAcc, Lock, Preserve)
16186                        {
16187                            AccessAs (AnyAcc, 0x00),
16188                            Offset (0x01),
16189                            F081,   6
16190                        }
16191
16192                        Local3 = RefOf (F081)
16193                        Local4 = RefOf (G009)
16194                    }
16195                    Case (0x07)
16196                    {
16197                        Local2 = 0x3F
16198                        BankField (OPR0, BNK0, 0x3F, AnyAcc, Lock, Preserve)
16199                        {
16200                            Offset (0x01),
16201                            F082,   7
16202                        }
16203
16204                        Local3 = RefOf (F082)
16205                        Local4 = RefOf (G00A)
16206                    }
16207                    Case (0x08)
16208                    {
16209                        Local2 = 0x40
16210                        BankField (OPR0, BNK0, 0x40, WordAcc, Lock, Preserve)
16211                        {
16212                            AccessAs (AnyAcc, 0x00),
16213                            Offset (0x01),
16214                            F083,   8
16215                        }
16216
16217                        Local3 = RefOf (F083)
16218                        Local4 = RefOf (G00B)
16219                    }
16220                    Case (0x09)
16221                    {
16222                        Local2 = 0x7F
16223                        BankField (OPR0, BNK0, 0x7F, AnyAcc, Lock, Preserve)
16224                        {
16225                            Offset (0x01),
16226                            F084,   9
16227                        }
16228
16229                        Local3 = RefOf (F084)
16230                        Local4 = RefOf (G00C)
16231                    }
16232                    Case (0x1F)
16233                    {
16234                        Local2 = 0x80
16235                        BankField (OPR0, BNK0, 0x80, DWordAcc, Lock, Preserve)
16236                        {
16237                            AccessAs (AnyAcc, 0x00),
16238                            Offset (0x01),
16239                            F085,   31
16240                        }
16241
16242                        Local3 = RefOf (F085)
16243                        Local4 = RefOf (G00D)
16244                    }
16245                    Case (0x20)
16246                    {
16247                        Local2 = 0xFF
16248                        BankField (OPR0, BNK0, 0xFF, AnyAcc, Lock, Preserve)
16249                        {
16250                            Offset (0x01),
16251                            F086,   32
16252                        }
16253
16254                        Local3 = RefOf (F086)
16255                        Local4 = RefOf (G00E)
16256                    }
16257                    Case (0x21)
16258                    {
16259                        Local2 = 0x00
16260                        BankField (OPR0, BNK0, 0x00, QWordAcc, Lock, Preserve)
16261                        {
16262                            AccessAs (AnyAcc, 0x00),
16263                            Offset (0x01),
16264                            F087,   33
16265                        }
16266
16267                        Local3 = RefOf (F087)
16268                        Local4 = RefOf (G000)
16269                    }
16270                    Case (0x3F)
16271                    {
16272                        Local2 = 0x01
16273                        BankField (OPR0, BNK0, 0x01, AnyAcc, Lock, Preserve)
16274                        {
16275                            Offset (0x01),
16276                            F088,   63
16277                        }
16278
16279                        Local3 = RefOf (F088)
16280                        Local4 = RefOf (G001)
16281                    }
16282                    Case (0x40)
16283                    {
16284                        Local2 = 0x02
16285                        BankField (OPR0, BNK0, 0x02, AnyAcc, Lock, Preserve)
16286                        {
16287                            AccessAs (AnyAcc, 0x00),
16288                            Offset (0x01),
16289                            F089,   64
16290                        }
16291
16292                        Local3 = RefOf (F089)
16293                        Local4 = RefOf (G002)
16294                    }
16295                    Case (0x41)
16296                    {
16297                        Local2 = 0x03
16298                        BankField (OPR0, BNK0, 0x03, AnyAcc, Lock, Preserve)
16299                        {
16300                            Offset (0x01),
16301                            F08A,   65
16302                        }
16303
16304                        Local3 = RefOf (F08A)
16305                        Local4 = RefOf (G003)
16306                    }
16307                    Case (0x45)
16308                    {
16309                        Local2 = 0x04
16310                        BankField (OPR0, BNK0, 0x04, ByteAcc, Lock, Preserve)
16311                        {
16312                            AccessAs (AnyAcc, 0x00),
16313                            Offset (0x01),
16314                            F08B,   69
16315                        }
16316
16317                        Local3 = RefOf (F08B)
16318                        Local4 = RefOf (G004)
16319                    }
16320                    Case (0x81)
16321                    {
16322                        Local2 = 0x05
16323                        BankField (OPR0, BNK0, 0x05, AnyAcc, Lock, Preserve)
16324                        {
16325                            Offset (0x01),
16326                            F08C,   129
16327                        }
16328
16329                        Local3 = RefOf (F08C)
16330                        Local4 = RefOf (G005)
16331                    }
16332                    Case (0x0100)
16333                    {
16334                        Local2 = 0x06
16335                        BankField (OPR0, BNK0, 0x06, WordAcc, Lock, Preserve)
16336                        {
16337                            AccessAs (AnyAcc, 0x00),
16338                            Offset (0x01),
16339                            F08D,   256
16340                        }
16341
16342                        Local3 = RefOf (F08D)
16343                        Local4 = RefOf (G006)
16344                    }
16345                    Case (0x03FF)
16346                    {
16347                        Local2 = 0x07
16348                        BankField (OPR0, BNK0, 0x07, AnyAcc, Lock, Preserve)
16349                        {
16350                            Offset (0x01),
16351                            F08E,   1023
16352                        }
16353
16354                        Local3 = RefOf (F08E)
16355                        Local4 = RefOf (G007)
16356                    }
16357                    Case (0x07BF)
16358                    {
16359                        Local2 = 0x08
16360                        BankField (OPR0, BNK0, 0x08, DWordAcc, Lock, Preserve)
16361                        {
16362                            AccessAs (AnyAcc, 0x00),
16363                            Offset (0x01),
16364                            F08F,   1983
16365                        }
16366
16367                        Local3 = RefOf (F08F)
16368                        Local4 = RefOf (G008)
16369                    }
16370                    Default
16371                    {
16372                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
16373                        Return (Zero)
16374                    }
16375
16376                }
16377            }
16378            Case (0x09)
16379            {
16380                Switch (ToInteger (Arg3))
16381                {
16382                    Case (0x01)
16383                    {
16384                        Local2 = 0x09
16385                        BankField (OPR0, BNK0, 0x09, QWordAcc, Lock, Preserve)
16386                        {
16387                            AccessAs (AnyAcc, 0x00),
16388                                ,   9,
16389                            F090,   1
16390                        }
16391
16392                        Local3 = RefOf (F090)
16393                        Local4 = RefOf (G009)
16394                    }
16395                    Case (0x06)
16396                    {
16397                        Local2 = 0x3F
16398                        BankField (OPR0, BNK0, 0x3F, AnyAcc, Lock, Preserve)
16399                        {
16400                                ,   9,
16401                            F091,   6
16402                        }
16403
16404                        Local3 = RefOf (F091)
16405                        Local4 = RefOf (G00A)
16406                    }
16407                    Case (0x07)
16408                    {
16409                        Local2 = 0x40
16410                        BankField (OPR0, BNK0, 0x40, AnyAcc, Lock, Preserve)
16411                        {
16412                            AccessAs (AnyAcc, 0x00),
16413                                ,   9,
16414                            F092,   7
16415                        }
16416
16417                        Local3 = RefOf (F092)
16418                        Local4 = RefOf (G00B)
16419                    }
16420                    Case (0x08)
16421                    {
16422                        Local2 = 0x7F
16423                        BankField (OPR0, BNK0, 0x7F, AnyAcc, Lock, Preserve)
16424                        {
16425                                ,   9,
16426                            F093,   8
16427                        }
16428
16429                        Local3 = RefOf (F093)
16430                        Local4 = RefOf (G00C)
16431                    }
16432                    Case (0x09)
16433                    {
16434                        Local2 = 0x80
16435                        BankField (OPR0, BNK0, 0x80, ByteAcc, Lock, Preserve)
16436                        {
16437                            AccessAs (AnyAcc, 0x00),
16438                                ,   9,
16439                            F094,   9
16440                        }
16441
16442                        Local3 = RefOf (F094)
16443                        Local4 = RefOf (G00D)
16444                    }
16445                    Case (0x1F)
16446                    {
16447                        Local2 = 0xFF
16448                        BankField (OPR0, BNK0, 0xFF, AnyAcc, Lock, Preserve)
16449                        {
16450                                ,   9,
16451                            F095,   31
16452                        }
16453
16454                        Local3 = RefOf (F095)
16455                        Local4 = RefOf (G00E)
16456                    }
16457                    Case (0x20)
16458                    {
16459                        Local2 = 0x00
16460                        BankField (OPR0, BNK0, 0x00, WordAcc, Lock, Preserve)
16461                        {
16462                            AccessAs (AnyAcc, 0x00),
16463                                ,   9,
16464                            F096,   32
16465                        }
16466
16467                        Local3 = RefOf (F096)
16468                        Local4 = RefOf (G000)
16469                    }
16470                    Case (0x21)
16471                    {
16472                        Local2 = 0x01
16473                        BankField (OPR0, BNK0, 0x01, AnyAcc, Lock, Preserve)
16474                        {
16475                                ,   9,
16476                            F097,   33
16477                        }
16478
16479                        Local3 = RefOf (F097)
16480                        Local4 = RefOf (G001)
16481                    }
16482                    Case (0x3F)
16483                    {
16484                        Local2 = 0x02
16485                        BankField (OPR0, BNK0, 0x02, DWordAcc, Lock, Preserve)
16486                        {
16487                            AccessAs (AnyAcc, 0x00),
16488                                ,   9,
16489                            F098,   63
16490                        }
16491
16492                        Local3 = RefOf (F098)
16493                        Local4 = RefOf (G002)
16494                    }
16495                    Case (0x40)
16496                    {
16497                        Local2 = 0x03
16498                        BankField (OPR0, BNK0, 0x03, AnyAcc, Lock, Preserve)
16499                        {
16500                                ,   9,
16501                            F099,   64
16502                        }
16503
16504                        Local3 = RefOf (F099)
16505                        Local4 = RefOf (G003)
16506                    }
16507                    Case (0x41)
16508                    {
16509                        Local2 = 0x04
16510                        BankField (OPR0, BNK0, 0x04, QWordAcc, Lock, Preserve)
16511                        {
16512                            AccessAs (AnyAcc, 0x00),
16513                                ,   9,
16514                            F09A,   65
16515                        }
16516
16517                        Local3 = RefOf (F09A)
16518                        Local4 = RefOf (G004)
16519                    }
16520                    Case (0x45)
16521                    {
16522                        Local2 = 0x05
16523                        BankField (OPR0, BNK0, 0x05, AnyAcc, Lock, Preserve)
16524                        {
16525                                ,   9,
16526                            F09B,   69
16527                        }
16528
16529                        Local3 = RefOf (F09B)
16530                        Local4 = RefOf (G005)
16531                    }
16532                    Case (0x81)
16533                    {
16534                        Local2 = 0x06
16535                        BankField (OPR0, BNK0, 0x06, AnyAcc, Lock, Preserve)
16536                        {
16537                            AccessAs (AnyAcc, 0x00),
16538                                ,   9,
16539                            F09C,   129
16540                        }
16541
16542                        Local3 = RefOf (F09C)
16543                        Local4 = RefOf (G006)
16544                    }
16545                    Case (0x0100)
16546                    {
16547                        Local2 = 0x07
16548                        BankField (OPR0, BNK0, 0x07, AnyAcc, Lock, Preserve)
16549                        {
16550                                ,   9,
16551                            F09D,   256
16552                        }
16553
16554                        Local3 = RefOf (F09D)
16555                        Local4 = RefOf (G007)
16556                    }
16557                    Case (0x03FF)
16558                    {
16559                        Local2 = 0x08
16560                        BankField (OPR0, BNK0, 0x08, ByteAcc, Lock, Preserve)
16561                        {
16562                            AccessAs (AnyAcc, 0x00),
16563                                ,   9,
16564                            F09E,   1023
16565                        }
16566
16567                        Local3 = RefOf (F09E)
16568                        Local4 = RefOf (G008)
16569                    }
16570                    Case (0x07BF)
16571                    {
16572                        Local2 = 0x09
16573                        BankField (OPR0, BNK0, 0x09, AnyAcc, Lock, Preserve)
16574                        {
16575                                ,   9,
16576                            F09F,   1983
16577                        }
16578
16579                        Local3 = RefOf (F09F)
16580                        Local4 = RefOf (G009)
16581                    }
16582                    Default
16583                    {
16584                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
16585                        Return (Zero)
16586                    }
16587
16588                }
16589            }
16590            Case (0x1F)
16591            {
16592                Switch (ToInteger (Arg3))
16593                {
16594                    Case (0x01)
16595                    {
16596                        Local2 = 0x3F
16597                        BankField (OPR0, BNK0, 0x3F, AnyAcc, Lock, Preserve)
16598                        {
16599                            Offset (0x03),
16600                                ,   7,
16601                            F0A0,   1
16602                        }
16603
16604                        Local3 = RefOf (F0A0)
16605                        Local4 = RefOf (G00A)
16606                    }
16607                    Case (0x06)
16608                    {
16609                        Local2 = 0x40
16610                        BankField (OPR0, BNK0, 0x40, WordAcc, Lock, Preserve)
16611                        {
16612                            AccessAs (AnyAcc, 0x00),
16613                            Offset (0x03),
16614                                ,   7,
16615                            F0A1,   6
16616                        }
16617
16618                        Local3 = RefOf (F0A1)
16619                        Local4 = RefOf (G00B)
16620                    }
16621                    Case (0x07)
16622                    {
16623                        Local2 = 0x7F
16624                        BankField (OPR0, BNK0, 0x7F, AnyAcc, Lock, Preserve)
16625                        {
16626                            Offset (0x03),
16627                                ,   7,
16628                            F0A2,   7
16629                        }
16630
16631                        Local3 = RefOf (F0A2)
16632                        Local4 = RefOf (G00C)
16633                    }
16634                    Case (0x08)
16635                    {
16636                        Local2 = 0x80
16637                        BankField (OPR0, BNK0, 0x80, DWordAcc, Lock, Preserve)
16638                        {
16639                            AccessAs (AnyAcc, 0x00),
16640                            Offset (0x03),
16641                                ,   7,
16642                            F0A3,   8
16643                        }
16644
16645                        Local3 = RefOf (F0A3)
16646                        Local4 = RefOf (G00D)
16647                    }
16648                    Case (0x09)
16649                    {
16650                        Local2 = 0xFF
16651                        BankField (OPR0, BNK0, 0xFF, AnyAcc, Lock, Preserve)
16652                        {
16653                            Offset (0x03),
16654                                ,   7,
16655                            F0A4,   9
16656                        }
16657
16658                        Local3 = RefOf (F0A4)
16659                        Local4 = RefOf (G00E)
16660                    }
16661                    Case (0x1F)
16662                    {
16663                        Local2 = 0x00
16664                        BankField (OPR0, BNK0, 0x00, QWordAcc, Lock, Preserve)
16665                        {
16666                            AccessAs (AnyAcc, 0x00),
16667                            Offset (0x03),
16668                                ,   7,
16669                            F0A5,   31
16670                        }
16671
16672                        Local3 = RefOf (F0A5)
16673                        Local4 = RefOf (G000)
16674                    }
16675                    Case (0x20)
16676                    {
16677                        Local2 = 0x01
16678                        BankField (OPR0, BNK0, 0x01, AnyAcc, Lock, Preserve)
16679                        {
16680                            Offset (0x03),
16681                                ,   7,
16682                            F0A6,   32
16683                        }
16684
16685                        Local3 = RefOf (F0A6)
16686                        Local4 = RefOf (G001)
16687                    }
16688                    Case (0x21)
16689                    {
16690                        Local2 = 0x02
16691                        BankField (OPR0, BNK0, 0x02, AnyAcc, Lock, Preserve)
16692                        {
16693                            AccessAs (AnyAcc, 0x00),
16694                            Offset (0x03),
16695                                ,   7,
16696                            F0A7,   33
16697                        }
16698
16699                        Local3 = RefOf (F0A7)
16700                        Local4 = RefOf (G002)
16701                    }
16702                    Case (0x3F)
16703                    {
16704                        Local2 = 0x03
16705                        BankField (OPR0, BNK0, 0x03, AnyAcc, Lock, Preserve)
16706                        {
16707                            Offset (0x03),
16708                                ,   7,
16709                            F0A8,   63
16710                        }
16711
16712                        Local3 = RefOf (F0A8)
16713                        Local4 = RefOf (G003)
16714                    }
16715                    Case (0x40)
16716                    {
16717                        Local2 = 0x04
16718                        BankField (OPR0, BNK0, 0x04, ByteAcc, Lock, Preserve)
16719                        {
16720                            AccessAs (AnyAcc, 0x00),
16721                            Offset (0x03),
16722                                ,   7,
16723                            F0A9,   64
16724                        }
16725
16726                        Local3 = RefOf (F0A9)
16727                        Local4 = RefOf (G004)
16728                    }
16729                    Case (0x41)
16730                    {
16731                        Local2 = 0x05
16732                        BankField (OPR0, BNK0, 0x05, AnyAcc, Lock, Preserve)
16733                        {
16734                            Offset (0x03),
16735                                ,   7,
16736                            F0AA,   65
16737                        }
16738
16739                        Local3 = RefOf (F0AA)
16740                        Local4 = RefOf (G005)
16741                    }
16742                    Case (0x45)
16743                    {
16744                        Local2 = 0x06
16745                        BankField (OPR0, BNK0, 0x06, WordAcc, Lock, Preserve)
16746                        {
16747                            AccessAs (AnyAcc, 0x00),
16748                            Offset (0x03),
16749                                ,   7,
16750                            F0AB,   69
16751                        }
16752
16753                        Local3 = RefOf (F0AB)
16754                        Local4 = RefOf (G006)
16755                    }
16756                    Case (0x81)
16757                    {
16758                        Local2 = 0x07
16759                        BankField (OPR0, BNK0, 0x07, AnyAcc, Lock, Preserve)
16760                        {
16761                            Offset (0x03),
16762                                ,   7,
16763                            F0AC,   129
16764                        }
16765
16766                        Local3 = RefOf (F0AC)
16767                        Local4 = RefOf (G007)
16768                    }
16769                    Case (0x0100)
16770                    {
16771                        Local2 = 0x08
16772                        BankField (OPR0, BNK0, 0x08, DWordAcc, Lock, Preserve)
16773                        {
16774                            AccessAs (AnyAcc, 0x00),
16775                            Offset (0x03),
16776                                ,   7,
16777                            F0AD,   256
16778                        }
16779
16780                        Local3 = RefOf (F0AD)
16781                        Local4 = RefOf (G008)
16782                    }
16783                    Case (0x03FF)
16784                    {
16785                        Local2 = 0x09
16786                        BankField (OPR0, BNK0, 0x09, AnyAcc, Lock, Preserve)
16787                        {
16788                            Offset (0x03),
16789                                ,   7,
16790                            F0AE,   1023
16791                        }
16792
16793                        Local3 = RefOf (F0AE)
16794                        Local4 = RefOf (G009)
16795                    }
16796                    Case (0x07BF)
16797                    {
16798                        Local2 = 0x3F
16799                        BankField (OPR0, BNK0, 0x3F, QWordAcc, Lock, Preserve)
16800                        {
16801                            AccessAs (AnyAcc, 0x00),
16802                            Offset (0x03),
16803                                ,   7,
16804                            F0AF,   1983
16805                        }
16806
16807                        Local3 = RefOf (F0AF)
16808                        Local4 = RefOf (G00A)
16809                    }
16810                    Default
16811                    {
16812                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
16813                        Return (Zero)
16814                    }
16815
16816                }
16817            }
16818            Case (0x20)
16819            {
16820                Switch (ToInteger (Arg3))
16821                {
16822                    Case (0x01)
16823                    {
16824                        Local2 = 0x40
16825                        BankField (OPR0, BNK0, 0x40, AnyAcc, Lock, Preserve)
16826                        {
16827                            AccessAs (AnyAcc, 0x00),
16828                            Offset (0x04),
16829                            F0B0,   1
16830                        }
16831
16832                        Local3 = RefOf (F0B0)
16833                        Local4 = RefOf (G00B)
16834                    }
16835                    Case (0x06)
16836                    {
16837                        Local2 = 0x7F
16838                        BankField (OPR0, BNK0, 0x7F, AnyAcc, Lock, Preserve)
16839                        {
16840                            Offset (0x04),
16841                            F0B1,   6
16842                        }
16843
16844                        Local3 = RefOf (F0B1)
16845                        Local4 = RefOf (G00C)
16846                    }
16847                    Case (0x07)
16848                    {
16849                        Local2 = 0x80
16850                        BankField (OPR0, BNK0, 0x80, ByteAcc, Lock, Preserve)
16851                        {
16852                            AccessAs (AnyAcc, 0x00),
16853                            Offset (0x04),
16854                            F0B2,   7
16855                        }
16856
16857                        Local3 = RefOf (F0B2)
16858                        Local4 = RefOf (G00D)
16859                    }
16860                    Case (0x08)
16861                    {
16862                        Local2 = 0xFF
16863                        BankField (OPR0, BNK0, 0xFF, AnyAcc, Lock, Preserve)
16864                        {
16865                            Offset (0x04),
16866                            F0B3,   8
16867                        }
16868
16869                        Local3 = RefOf (F0B3)
16870                        Local4 = RefOf (G00E)
16871                    }
16872                    Case (0x09)
16873                    {
16874                        Local2 = 0x00
16875                        BankField (OPR0, BNK0, 0x00, WordAcc, Lock, Preserve)
16876                        {
16877                            AccessAs (AnyAcc, 0x00),
16878                            Offset (0x04),
16879                            F0B4,   9
16880                        }
16881
16882                        Local3 = RefOf (F0B4)
16883                        Local4 = RefOf (G000)
16884                    }
16885                    Case (0x1F)
16886                    {
16887                        Local2 = 0x01
16888                        BankField (OPR0, BNK0, 0x01, AnyAcc, Lock, Preserve)
16889                        {
16890                            Offset (0x04),
16891                            F0B5,   31
16892                        }
16893
16894                        Local3 = RefOf (F0B5)
16895                        Local4 = RefOf (G001)
16896                    }
16897                    Case (0x20)
16898                    {
16899                        Local2 = 0x02
16900                        BankField (OPR0, BNK0, 0x02, DWordAcc, Lock, Preserve)
16901                        {
16902                            AccessAs (AnyAcc, 0x00),
16903                            Offset (0x04),
16904                            F0B6,   32
16905                        }
16906
16907                        Local3 = RefOf (F0B6)
16908                        Local4 = RefOf (G002)
16909                    }
16910                    Case (0x21)
16911                    {
16912                        Local2 = 0x03
16913                        BankField (OPR0, BNK0, 0x03, AnyAcc, Lock, Preserve)
16914                        {
16915                            Offset (0x04),
16916                            F0B7,   33
16917                        }
16918
16919                        Local3 = RefOf (F0B7)
16920                        Local4 = RefOf (G003)
16921                    }
16922                    Case (0x3F)
16923                    {
16924                        Local2 = 0x04
16925                        BankField (OPR0, BNK0, 0x04, QWordAcc, Lock, Preserve)
16926                        {
16927                            AccessAs (AnyAcc, 0x00),
16928                            Offset (0x04),
16929                            F0B8,   63
16930                        }
16931
16932                        Local3 = RefOf (F0B8)
16933                        Local4 = RefOf (G004)
16934                    }
16935                    Case (0x40)
16936                    {
16937                        Local2 = 0x05
16938                        BankField (OPR0, BNK0, 0x05, AnyAcc, Lock, Preserve)
16939                        {
16940                            Offset (0x04),
16941                            F0B9,   64
16942                        }
16943
16944                        Local3 = RefOf (F0B9)
16945                        Local4 = RefOf (G005)
16946                    }
16947                    Case (0x41)
16948                    {
16949                        Local2 = 0x06
16950                        BankField (OPR0, BNK0, 0x06, AnyAcc, Lock, Preserve)
16951                        {
16952                            AccessAs (AnyAcc, 0x00),
16953                            Offset (0x04),
16954                            F0BA,   65
16955                        }
16956
16957                        Local3 = RefOf (F0BA)
16958                        Local4 = RefOf (G006)
16959                    }
16960                    Case (0x45)
16961                    {
16962                        Local2 = 0x07
16963                        BankField (OPR0, BNK0, 0x07, AnyAcc, Lock, Preserve)
16964                        {
16965                            Offset (0x04),
16966                            F0BB,   69
16967                        }
16968
16969                        Local3 = RefOf (F0BB)
16970                        Local4 = RefOf (G007)
16971                    }
16972                    Case (0x81)
16973                    {
16974                        Local2 = 0x08
16975                        BankField (OPR0, BNK0, 0x08, ByteAcc, Lock, Preserve)
16976                        {
16977                            AccessAs (AnyAcc, 0x00),
16978                            Offset (0x04),
16979                            F0BC,   129
16980                        }
16981
16982                        Local3 = RefOf (F0BC)
16983                        Local4 = RefOf (G008)
16984                    }
16985                    Case (0x0100)
16986                    {
16987                        Local2 = 0x09
16988                        BankField (OPR0, BNK0, 0x09, AnyAcc, Lock, Preserve)
16989                        {
16990                            Offset (0x04),
16991                            F0BD,   256
16992                        }
16993
16994                        Local3 = RefOf (F0BD)
16995                        Local4 = RefOf (G009)
16996                    }
16997                    Case (0x03FF)
16998                    {
16999                        Local2 = 0x3F
17000                        BankField (OPR0, BNK0, 0x3F, WordAcc, Lock, Preserve)
17001                        {
17002                            AccessAs (AnyAcc, 0x00),
17003                            Offset (0x04),
17004                            F0BE,   1023
17005                        }
17006
17007                        Local3 = RefOf (F0BE)
17008                        Local4 = RefOf (G00A)
17009                    }
17010                    Case (0x07BF)
17011                    {
17012                        Local2 = 0x40
17013                        BankField (OPR0, BNK0, 0x40, AnyAcc, Lock, Preserve)
17014                        {
17015                            Offset (0x04),
17016                            F0BF,   1983
17017                        }
17018
17019                        Local3 = RefOf (F0BF)
17020                        Local4 = RefOf (G00B)
17021                    }
17022                    Default
17023                    {
17024                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
17025                        Return (Zero)
17026                    }
17027
17028                }
17029            }
17030            Case (0x21)
17031            {
17032                Switch (ToInteger (Arg3))
17033                {
17034                    Case (0x01)
17035                    {
17036                        Local2 = 0x7F
17037                        BankField (OPR0, BNK0, 0x7F, AnyAcc, Lock, Preserve)
17038                        {
17039                                ,   33,
17040                            F0C0,   1
17041                        }
17042
17043                        Local3 = RefOf (F0C0)
17044                        Local4 = RefOf (G00C)
17045                    }
17046                    Case (0x06)
17047                    {
17048                        Local2 = 0x80
17049                        BankField (OPR0, BNK0, 0x80, DWordAcc, Lock, Preserve)
17050                        {
17051                            AccessAs (AnyAcc, 0x00),
17052                                ,   33,
17053                            F0C1,   6
17054                        }
17055
17056                        Local3 = RefOf (F0C1)
17057                        Local4 = RefOf (G00D)
17058                    }
17059                    Case (0x07)
17060                    {
17061                        Local2 = 0xFF
17062                        BankField (OPR0, BNK0, 0xFF, AnyAcc, Lock, Preserve)
17063                        {
17064                                ,   33,
17065                            F0C2,   7
17066                        }
17067
17068                        Local3 = RefOf (F0C2)
17069                        Local4 = RefOf (G00E)
17070                    }
17071                    Case (0x08)
17072                    {
17073                        Local2 = 0x00
17074                        BankField (OPR0, BNK0, 0x00, QWordAcc, Lock, Preserve)
17075                        {
17076                            AccessAs (AnyAcc, 0x00),
17077                                ,   33,
17078                            F0C3,   8
17079                        }
17080
17081                        Local3 = RefOf (F0C3)
17082                        Local4 = RefOf (G000)
17083                    }
17084                    Case (0x09)
17085                    {
17086                        Local2 = 0x01
17087                        BankField (OPR0, BNK0, 0x01, AnyAcc, Lock, Preserve)
17088                        {
17089                                ,   33,
17090                            F0C4,   9
17091                        }
17092
17093                        Local3 = RefOf (F0C4)
17094                        Local4 = RefOf (G001)
17095                    }
17096                    Case (0x1F)
17097                    {
17098                        Local2 = 0x02
17099                        BankField (OPR0, BNK0, 0x02, AnyAcc, Lock, Preserve)
17100                        {
17101                            AccessAs (AnyAcc, 0x00),
17102                                ,   33,
17103                            F0C5,   31
17104                        }
17105
17106                        Local3 = RefOf (F0C5)
17107                        Local4 = RefOf (G002)
17108                    }
17109                    Case (0x20)
17110                    {
17111                        Local2 = 0x03
17112                        BankField (OPR0, BNK0, 0x03, AnyAcc, Lock, Preserve)
17113                        {
17114                                ,   33,
17115                            F0C6,   32
17116                        }
17117
17118                        Local3 = RefOf (F0C6)
17119                        Local4 = RefOf (G003)
17120                    }
17121                    Case (0x21)
17122                    {
17123                        Local2 = 0x04
17124                        BankField (OPR0, BNK0, 0x04, ByteAcc, Lock, Preserve)
17125                        {
17126                            AccessAs (AnyAcc, 0x00),
17127                                ,   33,
17128                            F0C7,   33
17129                        }
17130
17131                        Local3 = RefOf (F0C7)
17132                        Local4 = RefOf (G004)
17133                    }
17134                    Case (0x3F)
17135                    {
17136                        Local2 = 0x05
17137                        BankField (OPR0, BNK0, 0x05, AnyAcc, Lock, Preserve)
17138                        {
17139                                ,   33,
17140                            F0C8,   63
17141                        }
17142
17143                        Local3 = RefOf (F0C8)
17144                        Local4 = RefOf (G005)
17145                    }
17146                    Case (0x40)
17147                    {
17148                        Local2 = 0x06
17149                        BankField (OPR0, BNK0, 0x06, WordAcc, Lock, Preserve)
17150                        {
17151                            AccessAs (AnyAcc, 0x00),
17152                                ,   33,
17153                            F0C9,   64
17154                        }
17155
17156                        Local3 = RefOf (F0C9)
17157                        Local4 = RefOf (G006)
17158                    }
17159                    Case (0x41)
17160                    {
17161                        Local2 = 0x07
17162                        BankField (OPR0, BNK0, 0x07, AnyAcc, Lock, Preserve)
17163                        {
17164                                ,   33,
17165                            F0CA,   65
17166                        }
17167
17168                        Local3 = RefOf (F0CA)
17169                        Local4 = RefOf (G007)
17170                    }
17171                    Case (0x45)
17172                    {
17173                        Local2 = 0x08
17174                        BankField (OPR0, BNK0, 0x08, DWordAcc, Lock, Preserve)
17175                        {
17176                            AccessAs (AnyAcc, 0x00),
17177                                ,   33,
17178                            F0CB,   69
17179                        }
17180
17181                        Local3 = RefOf (F0CB)
17182                        Local4 = RefOf (G008)
17183                    }
17184                    Case (0x81)
17185                    {
17186                        Local2 = 0x09
17187                        BankField (OPR0, BNK0, 0x09, AnyAcc, Lock, Preserve)
17188                        {
17189                                ,   33,
17190                            F0CC,   129
17191                        }
17192
17193                        Local3 = RefOf (F0CC)
17194                        Local4 = RefOf (G009)
17195                    }
17196                    Case (0x0100)
17197                    {
17198                        Local2 = 0x3F
17199                        BankField (OPR0, BNK0, 0x3F, QWordAcc, Lock, Preserve)
17200                        {
17201                            AccessAs (AnyAcc, 0x00),
17202                                ,   33,
17203                            F0CD,   256
17204                        }
17205
17206                        Local3 = RefOf (F0CD)
17207                        Local4 = RefOf (G00A)
17208                    }
17209                    Case (0x03FF)
17210                    {
17211                        Local2 = 0x40
17212                        BankField (OPR0, BNK0, 0x40, AnyAcc, Lock, Preserve)
17213                        {
17214                                ,   33,
17215                            F0CE,   1023
17216                        }
17217
17218                        Local3 = RefOf (F0CE)
17219                        Local4 = RefOf (G00B)
17220                    }
17221                    Case (0x07BF)
17222                    {
17223                        Local2 = 0x7F
17224                        BankField (OPR0, BNK0, 0x7F, AnyAcc, Lock, Preserve)
17225                        {
17226                            AccessAs (AnyAcc, 0x00),
17227                                ,   33,
17228                            F0CF,   1983
17229                        }
17230
17231                        Local3 = RefOf (F0CF)
17232                        Local4 = RefOf (G00C)
17233                    }
17234                    Default
17235                    {
17236                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
17237                        Return (Zero)
17238                    }
17239
17240                }
17241            }
17242            Case (0x3F)
17243            {
17244                Switch (ToInteger (Arg3))
17245                {
17246                    Case (0x01)
17247                    {
17248                        Local2 = 0x80
17249                        BankField (OPR0, BNK0, 0x80, ByteAcc, Lock, Preserve)
17250                        {
17251                            AccessAs (AnyAcc, 0x00),
17252                                ,   63,
17253                            F0D0,   1
17254                        }
17255
17256                        Local3 = RefOf (F0D0)
17257                        Local4 = RefOf (G00D)
17258                    }
17259                    Case (0x06)
17260                    {
17261                        Local2 = 0xFF
17262                        BankField (OPR0, BNK0, 0xFF, AnyAcc, Lock, Preserve)
17263                        {
17264                                ,   63,
17265                            F0D1,   6
17266                        }
17267
17268                        Local3 = RefOf (F0D1)
17269                        Local4 = RefOf (G00E)
17270                    }
17271                    Case (0x07)
17272                    {
17273                        Local2 = 0x00
17274                        BankField (OPR0, BNK0, 0x00, WordAcc, Lock, Preserve)
17275                        {
17276                            AccessAs (AnyAcc, 0x00),
17277                                ,   63,
17278                            F0D2,   7
17279                        }
17280
17281                        Local3 = RefOf (F0D2)
17282                        Local4 = RefOf (G000)
17283                    }
17284                    Case (0x08)
17285                    {
17286                        Local2 = 0x01
17287                        BankField (OPR0, BNK0, 0x01, AnyAcc, Lock, Preserve)
17288                        {
17289                                ,   63,
17290                            F0D3,   8
17291                        }
17292
17293                        Local3 = RefOf (F0D3)
17294                        Local4 = RefOf (G001)
17295                    }
17296                    Case (0x09)
17297                    {
17298                        Local2 = 0x02
17299                        BankField (OPR0, BNK0, 0x02, DWordAcc, Lock, Preserve)
17300                        {
17301                            AccessAs (AnyAcc, 0x00),
17302                                ,   63,
17303                            F0D4,   9
17304                        }
17305
17306                        Local3 = RefOf (F0D4)
17307                        Local4 = RefOf (G002)
17308                    }
17309                    Case (0x1F)
17310                    {
17311                        Local2 = 0x03
17312                        BankField (OPR0, BNK0, 0x03, AnyAcc, Lock, Preserve)
17313                        {
17314                                ,   63,
17315                            F0D5,   31
17316                        }
17317
17318                        Local3 = RefOf (F0D5)
17319                        Local4 = RefOf (G003)
17320                    }
17321                    Case (0x20)
17322                    {
17323                        Local2 = 0x04
17324                        BankField (OPR0, BNK0, 0x04, QWordAcc, Lock, Preserve)
17325                        {
17326                            AccessAs (AnyAcc, 0x00),
17327                                ,   63,
17328                            F0D6,   32
17329                        }
17330
17331                        Local3 = RefOf (F0D6)
17332                        Local4 = RefOf (G004)
17333                    }
17334                    Case (0x21)
17335                    {
17336                        Local2 = 0x05
17337                        BankField (OPR0, BNK0, 0x05, AnyAcc, Lock, Preserve)
17338                        {
17339                                ,   63,
17340                            F0D7,   33
17341                        }
17342
17343                        Local3 = RefOf (F0D7)
17344                        Local4 = RefOf (G005)
17345                    }
17346                    Case (0x3F)
17347                    {
17348                        Local2 = 0x06
17349                        BankField (OPR0, BNK0, 0x06, AnyAcc, Lock, Preserve)
17350                        {
17351                            AccessAs (AnyAcc, 0x00),
17352                                ,   63,
17353                            F0D8,   63
17354                        }
17355
17356                        Local3 = RefOf (F0D8)
17357                        Local4 = RefOf (G006)
17358                    }
17359                    Case (0x40)
17360                    {
17361                        Local2 = 0x07
17362                        BankField (OPR0, BNK0, 0x07, AnyAcc, Lock, Preserve)
17363                        {
17364                                ,   63,
17365                            F0D9,   64
17366                        }
17367
17368                        Local3 = RefOf (F0D9)
17369                        Local4 = RefOf (G007)
17370                    }
17371                    Case (0x41)
17372                    {
17373                        Local2 = 0x08
17374                        BankField (OPR0, BNK0, 0x08, ByteAcc, Lock, Preserve)
17375                        {
17376                            AccessAs (AnyAcc, 0x00),
17377                                ,   63,
17378                            F0DA,   65
17379                        }
17380
17381                        Local3 = RefOf (F0DA)
17382                        Local4 = RefOf (G008)
17383                    }
17384                    Case (0x45)
17385                    {
17386                        Local2 = 0x09
17387                        BankField (OPR0, BNK0, 0x09, AnyAcc, Lock, Preserve)
17388                        {
17389                                ,   63,
17390                            F0DB,   69
17391                        }
17392
17393                        Local3 = RefOf (F0DB)
17394                        Local4 = RefOf (G009)
17395                    }
17396                    Case (0x81)
17397                    {
17398                        Local2 = 0x3F
17399                        BankField (OPR0, BNK0, 0x3F, WordAcc, Lock, Preserve)
17400                        {
17401                            AccessAs (AnyAcc, 0x00),
17402                                ,   63,
17403                            F0DC,   129
17404                        }
17405
17406                        Local3 = RefOf (F0DC)
17407                        Local4 = RefOf (G00A)
17408                    }
17409                    Case (0x0100)
17410                    {
17411                        Local2 = 0x40
17412                        BankField (OPR0, BNK0, 0x40, AnyAcc, Lock, Preserve)
17413                        {
17414                                ,   63,
17415                            F0DD,   256
17416                        }
17417
17418                        Local3 = RefOf (F0DD)
17419                        Local4 = RefOf (G00B)
17420                    }
17421                    Case (0x03FF)
17422                    {
17423                        Local2 = 0x7F
17424                        BankField (OPR0, BNK0, 0x7F, DWordAcc, Lock, Preserve)
17425                        {
17426                            AccessAs (AnyAcc, 0x00),
17427                                ,   63,
17428                            F0DE,   1023
17429                        }
17430
17431                        Local3 = RefOf (F0DE)
17432                        Local4 = RefOf (G00C)
17433                    }
17434                    Case (0x07BF)
17435                    {
17436                        Local2 = 0x80
17437                        BankField (OPR0, BNK0, 0x80, AnyAcc, Lock, Preserve)
17438                        {
17439                                ,   63,
17440                            F0DF,   1983
17441                        }
17442
17443                        Local3 = RefOf (F0DF)
17444                        Local4 = RefOf (G00D)
17445                    }
17446                    Default
17447                    {
17448                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
17449                        Return (Zero)
17450                    }
17451
17452                }
17453            }
17454            Case (0x40)
17455            {
17456                Switch (ToInteger (Arg3))
17457                {
17458                    Case (0x01)
17459                    {
17460                        Local2 = 0xFF
17461                        BankField (OPR0, BNK0, 0xFF, AnyAcc, Lock, Preserve)
17462                        {
17463                            Offset (0x08),
17464                            F0E0,   1
17465                        }
17466
17467                        Local3 = RefOf (F0E0)
17468                        Local4 = RefOf (G00E)
17469                    }
17470                    Case (0x06)
17471                    {
17472                        Local2 = 0x00
17473                        BankField (OPR0, BNK0, 0x00, QWordAcc, Lock, Preserve)
17474                        {
17475                            AccessAs (AnyAcc, 0x00),
17476                            Offset (0x08),
17477                            F0E1,   6
17478                        }
17479
17480                        Local3 = RefOf (F0E1)
17481                        Local4 = RefOf (G000)
17482                    }
17483                    Case (0x07)
17484                    {
17485                        Local2 = 0x01
17486                        BankField (OPR0, BNK0, 0x01, AnyAcc, Lock, Preserve)
17487                        {
17488                            Offset (0x08),
17489                            F0E2,   7
17490                        }
17491
17492                        Local3 = RefOf (F0E2)
17493                        Local4 = RefOf (G001)
17494                    }
17495                    Case (0x08)
17496                    {
17497                        Local2 = 0x02
17498                        BankField (OPR0, BNK0, 0x02, AnyAcc, Lock, Preserve)
17499                        {
17500                            AccessAs (AnyAcc, 0x00),
17501                            Offset (0x08),
17502                            F0E3,   8
17503                        }
17504
17505                        Local3 = RefOf (F0E3)
17506                        Local4 = RefOf (G002)
17507                    }
17508                    Case (0x09)
17509                    {
17510                        Local2 = 0x03
17511                        BankField (OPR0, BNK0, 0x03, AnyAcc, Lock, Preserve)
17512                        {
17513                            Offset (0x08),
17514                            F0E4,   9
17515                        }
17516
17517                        Local3 = RefOf (F0E4)
17518                        Local4 = RefOf (G003)
17519                    }
17520                    Case (0x1F)
17521                    {
17522                        Local2 = 0x04
17523                        BankField (OPR0, BNK0, 0x04, ByteAcc, Lock, Preserve)
17524                        {
17525                            AccessAs (AnyAcc, 0x00),
17526                            Offset (0x08),
17527                            F0E5,   31
17528                        }
17529
17530                        Local3 = RefOf (F0E5)
17531                        Local4 = RefOf (G004)
17532                    }
17533                    Case (0x20)
17534                    {
17535                        Local2 = 0x05
17536                        BankField (OPR0, BNK0, 0x05, AnyAcc, Lock, Preserve)
17537                        {
17538                            Offset (0x08),
17539                            F0E6,   32
17540                        }
17541
17542                        Local3 = RefOf (F0E6)
17543                        Local4 = RefOf (G005)
17544                    }
17545                    Case (0x21)
17546                    {
17547                        Local2 = 0x06
17548                        BankField (OPR0, BNK0, 0x06, WordAcc, Lock, Preserve)
17549                        {
17550                            AccessAs (AnyAcc, 0x00),
17551                            Offset (0x08),
17552                            F0E7,   33
17553                        }
17554
17555                        Local3 = RefOf (F0E7)
17556                        Local4 = RefOf (G006)
17557                    }
17558                    Case (0x3F)
17559                    {
17560                        Local2 = 0x07
17561                        BankField (OPR0, BNK0, 0x07, AnyAcc, Lock, Preserve)
17562                        {
17563                            Offset (0x08),
17564                            F0E8,   63
17565                        }
17566
17567                        Local3 = RefOf (F0E8)
17568                        Local4 = RefOf (G007)
17569                    }
17570                    Case (0x40)
17571                    {
17572                        Local2 = 0x08
17573                        BankField (OPR0, BNK0, 0x08, DWordAcc, Lock, Preserve)
17574                        {
17575                            AccessAs (AnyAcc, 0x00),
17576                            Offset (0x08),
17577                            F0E9,   64
17578                        }
17579
17580                        Local3 = RefOf (F0E9)
17581                        Local4 = RefOf (G008)
17582                    }
17583                    Case (0x41)
17584                    {
17585                        Local2 = 0x09
17586                        BankField (OPR0, BNK0, 0x09, AnyAcc, Lock, Preserve)
17587                        {
17588                            Offset (0x08),
17589                            F0EA,   65
17590                        }
17591
17592                        Local3 = RefOf (F0EA)
17593                        Local4 = RefOf (G009)
17594                    }
17595                    Case (0x45)
17596                    {
17597                        Local2 = 0x3F
17598                        BankField (OPR0, BNK0, 0x3F, QWordAcc, Lock, Preserve)
17599                        {
17600                            AccessAs (AnyAcc, 0x00),
17601                            Offset (0x08),
17602                            F0EB,   69
17603                        }
17604
17605                        Local3 = RefOf (F0EB)
17606                        Local4 = RefOf (G00A)
17607                    }
17608                    Case (0x81)
17609                    {
17610                        Local2 = 0x40
17611                        BankField (OPR0, BNK0, 0x40, AnyAcc, Lock, Preserve)
17612                        {
17613                            Offset (0x08),
17614                            F0EC,   129
17615                        }
17616
17617                        Local3 = RefOf (F0EC)
17618                        Local4 = RefOf (G00B)
17619                    }
17620                    Case (0x0100)
17621                    {
17622                        Local2 = 0x7F
17623                        BankField (OPR0, BNK0, 0x7F, AnyAcc, Lock, Preserve)
17624                        {
17625                            AccessAs (AnyAcc, 0x00),
17626                            Offset (0x08),
17627                            F0ED,   256
17628                        }
17629
17630                        Local3 = RefOf (F0ED)
17631                        Local4 = RefOf (G00C)
17632                    }
17633                    Case (0x03FF)
17634                    {
17635                        Local2 = 0x80
17636                        BankField (OPR0, BNK0, 0x80, AnyAcc, Lock, Preserve)
17637                        {
17638                            Offset (0x08),
17639                            F0EE,   1023
17640                        }
17641
17642                        Local3 = RefOf (F0EE)
17643                        Local4 = RefOf (G00D)
17644                    }
17645                    Case (0x07BF)
17646                    {
17647                        Local2 = 0xFF
17648                        BankField (OPR0, BNK0, 0xFF, ByteAcc, Lock, Preserve)
17649                        {
17650                            AccessAs (AnyAcc, 0x00),
17651                            Offset (0x08),
17652                            F0EF,   1983
17653                        }
17654
17655                        Local3 = RefOf (F0EF)
17656                        Local4 = RefOf (G00E)
17657                    }
17658                    Default
17659                    {
17660                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
17661                        Return (Zero)
17662                    }
17663
17664                }
17665            }
17666            Case (0x41)
17667            {
17668                Switch (ToInteger (Arg3))
17669                {
17670                    Case (0x01)
17671                    {
17672                        Local2 = 0x00
17673                        BankField (OPR0, BNK0, 0x00, WordAcc, Lock, Preserve)
17674                        {
17675                            AccessAs (AnyAcc, 0x00),
17676                            Offset (0x08),
17677                                ,   1,
17678                            F0F0,   1
17679                        }
17680
17681                        Local3 = RefOf (F0F0)
17682                        Local4 = RefOf (G000)
17683                    }
17684                    Case (0x06)
17685                    {
17686                        Local2 = 0x01
17687                        BankField (OPR0, BNK0, 0x01, AnyAcc, Lock, Preserve)
17688                        {
17689                            Offset (0x08),
17690                                ,   1,
17691                            F0F1,   6
17692                        }
17693
17694                        Local3 = RefOf (F0F1)
17695                        Local4 = RefOf (G001)
17696                    }
17697                    Case (0x07)
17698                    {
17699                        Local2 = 0x02
17700                        BankField (OPR0, BNK0, 0x02, DWordAcc, Lock, Preserve)
17701                        {
17702                            AccessAs (AnyAcc, 0x00),
17703                            Offset (0x08),
17704                                ,   1,
17705                            F0F2,   7
17706                        }
17707
17708                        Local3 = RefOf (F0F2)
17709                        Local4 = RefOf (G002)
17710                    }
17711                    Case (0x08)
17712                    {
17713                        Local2 = 0x03
17714                        BankField (OPR0, BNK0, 0x03, AnyAcc, Lock, Preserve)
17715                        {
17716                            Offset (0x08),
17717                                ,   1,
17718                            F0F3,   8
17719                        }
17720
17721                        Local3 = RefOf (F0F3)
17722                        Local4 = RefOf (G003)
17723                    }
17724                    Case (0x09)
17725                    {
17726                        Local2 = 0x04
17727                        BankField (OPR0, BNK0, 0x04, QWordAcc, Lock, Preserve)
17728                        {
17729                            AccessAs (AnyAcc, 0x00),
17730                            Offset (0x08),
17731                                ,   1,
17732                            F0F4,   9
17733                        }
17734
17735                        Local3 = RefOf (F0F4)
17736                        Local4 = RefOf (G004)
17737                    }
17738                    Case (0x1F)
17739                    {
17740                        Local2 = 0x05
17741                        BankField (OPR0, BNK0, 0x05, AnyAcc, Lock, Preserve)
17742                        {
17743                            Offset (0x08),
17744                                ,   1,
17745                            F0F5,   31
17746                        }
17747
17748                        Local3 = RefOf (F0F5)
17749                        Local4 = RefOf (G005)
17750                    }
17751                    Case (0x20)
17752                    {
17753                        Local2 = 0x06
17754                        BankField (OPR0, BNK0, 0x06, AnyAcc, Lock, Preserve)
17755                        {
17756                            AccessAs (AnyAcc, 0x00),
17757                            Offset (0x08),
17758                                ,   1,
17759                            F0F6,   32
17760                        }
17761
17762                        Local3 = RefOf (F0F6)
17763                        Local4 = RefOf (G006)
17764                    }
17765                    Case (0x21)
17766                    {
17767                        Local2 = 0x07
17768                        BankField (OPR0, BNK0, 0x07, AnyAcc, Lock, Preserve)
17769                        {
17770                            Offset (0x08),
17771                                ,   1,
17772                            F0F7,   33
17773                        }
17774
17775                        Local3 = RefOf (F0F7)
17776                        Local4 = RefOf (G007)
17777                    }
17778                    Case (0x3F)
17779                    {
17780                        Local2 = 0x08
17781                        BankField (OPR0, BNK0, 0x08, ByteAcc, Lock, Preserve)
17782                        {
17783                            AccessAs (AnyAcc, 0x00),
17784                            Offset (0x08),
17785                                ,   1,
17786                            F0F8,   63
17787                        }
17788
17789                        Local3 = RefOf (F0F8)
17790                        Local4 = RefOf (G008)
17791                    }
17792                    Case (0x40)
17793                    {
17794                        Local2 = 0x09
17795                        BankField (OPR0, BNK0, 0x09, AnyAcc, Lock, Preserve)
17796                        {
17797                            Offset (0x08),
17798                                ,   1,
17799                            F0F9,   64
17800                        }
17801
17802                        Local3 = RefOf (F0F9)
17803                        Local4 = RefOf (G009)
17804                    }
17805                    Case (0x41)
17806                    {
17807                        Local2 = 0x3F
17808                        BankField (OPR0, BNK0, 0x3F, WordAcc, Lock, Preserve)
17809                        {
17810                            AccessAs (AnyAcc, 0x00),
17811                            Offset (0x08),
17812                                ,   1,
17813                            F0FA,   65
17814                        }
17815
17816                        Local3 = RefOf (F0FA)
17817                        Local4 = RefOf (G00A)
17818                    }
17819                    Case (0x45)
17820                    {
17821                        Local2 = 0x40
17822                        BankField (OPR0, BNK0, 0x40, AnyAcc, Lock, Preserve)
17823                        {
17824                            Offset (0x08),
17825                                ,   1,
17826                            F0FB,   69
17827                        }
17828
17829                        Local3 = RefOf (F0FB)
17830                        Local4 = RefOf (G00B)
17831                    }
17832                    Case (0x81)
17833                    {
17834                        Local2 = 0x7F
17835                        BankField (OPR0, BNK0, 0x7F, DWordAcc, Lock, Preserve)
17836                        {
17837                            AccessAs (AnyAcc, 0x00),
17838                            Offset (0x08),
17839                                ,   1,
17840                            F0FC,   129
17841                        }
17842
17843                        Local3 = RefOf (F0FC)
17844                        Local4 = RefOf (G00C)
17845                    }
17846                    Case (0x0100)
17847                    {
17848                        Local2 = 0x80
17849                        BankField (OPR0, BNK0, 0x80, AnyAcc, Lock, Preserve)
17850                        {
17851                            Offset (0x08),
17852                                ,   1,
17853                            F0FD,   256
17854                        }
17855
17856                        Local3 = RefOf (F0FD)
17857                        Local4 = RefOf (G00D)
17858                    }
17859                    Case (0x03FF)
17860                    {
17861                        Local2 = 0xFF
17862                        BankField (OPR0, BNK0, 0xFF, QWordAcc, Lock, Preserve)
17863                        {
17864                            AccessAs (AnyAcc, 0x00),
17865                            Offset (0x08),
17866                                ,   1,
17867                            F0FE,   1023
17868                        }
17869
17870                        Local3 = RefOf (F0FE)
17871                        Local4 = RefOf (G00E)
17872                    }
17873                    Case (0x07BF)
17874                    {
17875                        Local2 = 0x00
17876                        BankField (OPR0, BNK0, 0x00, AnyAcc, Lock, Preserve)
17877                        {
17878                            Offset (0x08),
17879                                ,   1,
17880                            F0FF,   1983
17881                        }
17882
17883                        Local3 = RefOf (F0FF)
17884                        Local4 = RefOf (G000)
17885                    }
17886                    Default
17887                    {
17888                        ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
17889                        Return (Zero)
17890                    }
17891
17892                }
17893            }
17894            Default
17895            {
17896                ERR (Arg0, Z145, __LINE__, 0x00, 0x00, Arg2, Arg3)
17897                Return (Zero)
17898            }
17899
17900        }
17901
17902        FCP0 [0x00] = 0x02
17903        FCP0 [0x01] = RefOf (BNK0)
17904        FCP0 [0x02] = Local2
17905        M72D (Arg0, Local3, Arg2, Arg3, Arg4, Arg5, Local4)
17906        FCP0 [0x00] = 0x00
17907    }
17908
17909    /* Splitting of BankFields */
17910    /* m7c6(CallChain) */
17911    Method (M7C6, 1, Serialized)
17912    {
17913        OperationRegion (OPR0, SystemIO, 0x03E8, 0x0101)
17914        Debug = "TEST: m7c6, Check Splitting of BankFields"
17915        Concatenate (Arg0, "-m7c6", Arg0)
17916        M7E0 (Arg0, OPR0, 0x04)
17917        M7E1 (Arg0, OPR0, 0x0400)
17918        M7E2 (Arg0, OPR0, 0x4000)
17919        M7E3 (Arg0, OPR0, 0xF000)
17920        M7E4 (Arg0, OPR0, 0xF004)
17921        M7E5 (Arg0, OPR0, 0xF400)
17922        M7E6 (Arg0, OPR0, 0xFF00)
17923        M7E7 (Arg0, OPR0, 0xFFF0)
17924        M7E8 (Arg0, OPR0, 0xFFFF)
17925        M7E9 (Arg0, OPR0, 0x04)
17926    }
17927
17928    /* Create BankFields that spans the same bits */
17929    /* and check possible inconsistence, 0-bit offset. */
17930    /* m7e0(CallChain, OpRegion, BankNum) */
17931    Method (M7E0, 3, Serialized)
17932    {
17933        OperationRegion (OPRM, 0xFF, 0x0100, 0x08)
17934        OperationRegion (OPRN, SystemIO, 0x10, 0x02)
17935        Field (OPRN, ByteAcc, NoLock, Preserve)
17936        {
17937            BNK0,   16
17938        }
17939
17940        Concatenate (Arg0, "-m7e0", Arg0)
17941        CopyObject (Arg1, OPRM) /* \M7E0.OPRM */
17942        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
17943        {
17944            Offset (0x00),
17945            BF00,   3
17946        }
17947
17948        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
17949        {
17950            Offset (0x00),
17951            BF10,   1,
17952            BF11,   1,
17953            BF12,   1
17954        }
17955
17956        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
17957        {
17958            Offset (0x00),
17959            BF20,   1,
17960            BF21,   2
17961        }
17962
17963        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
17964        {
17965            Offset (0x00),
17966            BF30,   2,
17967            BF31,   1
17968        }
17969
17970        Local0 = 0x08
17971        Local1 = Package (0x07)
17972            {
17973                BF10,
17974                BF11,
17975                BF12,
17976                BF20,
17977                BF21,
17978                BF30,
17979                BF31
17980            }
17981        While (Local0)
17982        {
17983            Local0--
17984            BF00 = Local0
17985            If (Y118){}
17986            Else
17987            {
17988                Local1 [0x00] = BF10 /* \M7E0.BF10 */
17989                Local1 [0x01] = BF11 /* \M7E0.BF11 */
17990                Local1 [0x02] = BF12 /* \M7E0.BF12 */
17991                Local1 [0x03] = BF20 /* \M7E0.BF20 */
17992                Local1 [0x04] = BF21 /* \M7E0.BF21 */
17993                Local1 [0x05] = BF30 /* \M7E0.BF30 */
17994                Local1 [0x06] = BF31 /* \M7E0.BF31 */
17995            }
17996
17997            M72A (Arg0, Local0, Local1)
17998        }
17999    }
18000
18001    /* Create BankFields that spans the same bits */
18002    /* and check possible inconsistence, 1-bit offset. */
18003    /* m7e1(CallChain, OpRegion, BankNum) */
18004    Method (M7E1, 3, Serialized)
18005    {
18006        OperationRegion (OPRM, 0xFF, 0x00, 0x08)
18007        OperationRegion (OPRN, SystemIO, 0x10, 0x02)
18008        Field (OPRN, ByteAcc, NoLock, Preserve)
18009        {
18010            BNK0,   16
18011        }
18012
18013        Concatenate (Arg0, "-m7e1", Arg0)
18014        CopyObject (Arg1, OPRM) /* \M7E1.OPRM */
18015        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18016        {
18017                ,   1,
18018            BF00,   3
18019        }
18020
18021        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18022        {
18023                ,   1,
18024            BF10,   1,
18025            BF11,   1,
18026            BF12,   1
18027        }
18028
18029        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18030        {
18031                ,   1,
18032            BF20,   1,
18033            BF21,   2
18034        }
18035
18036        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18037        {
18038                ,   1,
18039            BF30,   2,
18040            BF31,   1
18041        }
18042
18043        Local0 = 0x08
18044        Local1 = Package (0x07)
18045            {
18046                BF10,
18047                BF11,
18048                BF12,
18049                BF20,
18050                BF21,
18051                BF30,
18052                BF31
18053            }
18054        While (Local0)
18055        {
18056            Local0--
18057            BF00 = Local0
18058            If (Y118){}
18059            Else
18060            {
18061                Local1 [0x00] = BF10 /* \M7E1.BF10 */
18062                Local1 [0x01] = BF11 /* \M7E1.BF11 */
18063                Local1 [0x02] = BF12 /* \M7E1.BF12 */
18064                Local1 [0x03] = BF20 /* \M7E1.BF20 */
18065                Local1 [0x04] = BF21 /* \M7E1.BF21 */
18066                Local1 [0x05] = BF30 /* \M7E1.BF30 */
18067                Local1 [0x06] = BF31 /* \M7E1.BF31 */
18068            }
18069
18070            M72A (Arg0, Local0, Local1)
18071        }
18072    }
18073
18074    /* Create BankFields that spans the same bits */
18075    /* and check possible inconsistence, 2-bit offset. */
18076    /* m7e2(CallChain, OpRegion, BankNum) */
18077    Method (M7E2, 3, Serialized)
18078    {
18079        OperationRegion (OPRM, 0xFF, 0x00, 0x08)
18080        OperationRegion (OPRN, SystemIO, 0x10, 0x02)
18081        Field (OPRN, ByteAcc, NoLock, Preserve)
18082        {
18083            BNK0,   16
18084        }
18085
18086        Concatenate (Arg0, "-m7e2", Arg0)
18087        CopyObject (Arg1, OPRM) /* \M7E2.OPRM */
18088        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18089        {
18090                ,   2,
18091            BF00,   3
18092        }
18093
18094        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18095        {
18096                ,   2,
18097            BF10,   1,
18098            BF11,   1,
18099            BF12,   1
18100        }
18101
18102        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18103        {
18104                ,   2,
18105            BF20,   1,
18106            BF21,   2
18107        }
18108
18109        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18110        {
18111                ,   2,
18112            BF30,   2,
18113            BF31,   1
18114        }
18115
18116        Local0 = 0x08
18117        Local1 = Package (0x07)
18118            {
18119                BF10,
18120                BF11,
18121                BF12,
18122                BF20,
18123                BF21,
18124                BF30,
18125                BF31
18126            }
18127        While (Local0)
18128        {
18129            Local0--
18130            BF00 = Local0
18131            If (Y118){}
18132            Else
18133            {
18134                Local1 [0x00] = BF10 /* \M7E2.BF10 */
18135                Local1 [0x01] = BF11 /* \M7E2.BF11 */
18136                Local1 [0x02] = BF12 /* \M7E2.BF12 */
18137                Local1 [0x03] = BF20 /* \M7E2.BF20 */
18138                Local1 [0x04] = BF21 /* \M7E2.BF21 */
18139                Local1 [0x05] = BF30 /* \M7E2.BF30 */
18140                Local1 [0x06] = BF31 /* \M7E2.BF31 */
18141            }
18142
18143            M72A (Arg0, Local0, Local1)
18144        }
18145    }
18146
18147    /* Create BankFields that spans the same bits */
18148    /* and check possible inconsistence, 3-bit offset. */
18149    /* m7e3(CallChain, OpRegion, BankNum) */
18150    Method (M7E3, 3, Serialized)
18151    {
18152        OperationRegion (OPRM, 0xFF, 0x00, 0x08)
18153        OperationRegion (OPRN, SystemIO, 0x10, 0x02)
18154        Field (OPRN, ByteAcc, NoLock, Preserve)
18155        {
18156            BNK0,   16
18157        }
18158
18159        Concatenate (Arg0, "-m7e3", Arg0)
18160        CopyObject (Arg1, OPRM) /* \M7E3.OPRM */
18161        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18162        {
18163                ,   3,
18164            BF00,   3
18165        }
18166
18167        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18168        {
18169                ,   3,
18170            BF10,   1,
18171            BF11,   1,
18172            BF12,   1
18173        }
18174
18175        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18176        {
18177                ,   3,
18178            BF20,   1,
18179            BF21,   2
18180        }
18181
18182        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18183        {
18184                ,   3,
18185            BF30,   2,
18186            BF31,   1
18187        }
18188
18189        Local0 = 0x08
18190        Local1 = Package (0x07)
18191            {
18192                BF10,
18193                BF11,
18194                BF12,
18195                BF20,
18196                BF21,
18197                BF30,
18198                BF31
18199            }
18200        While (Local0)
18201        {
18202            Local0--
18203            BF00 = Local0
18204            If (Y118){}
18205            Else
18206            {
18207                Local1 [0x00] = BF10 /* \M7E3.BF10 */
18208                Local1 [0x01] = BF11 /* \M7E3.BF11 */
18209                Local1 [0x02] = BF12 /* \M7E3.BF12 */
18210                Local1 [0x03] = BF20 /* \M7E3.BF20 */
18211                Local1 [0x04] = BF21 /* \M7E3.BF21 */
18212                Local1 [0x05] = BF30 /* \M7E3.BF30 */
18213                Local1 [0x06] = BF31 /* \M7E3.BF31 */
18214            }
18215
18216            M72A (Arg0, Local0, Local1)
18217        }
18218    }
18219
18220    /* Create BankFields that spans the same bits */
18221    /* and check possible inconsistence, 4-bit offset. */
18222    /* m7e4(CallChain, OpRegion, BankNum) */
18223    Method (M7E4, 3, Serialized)
18224    {
18225        OperationRegion (OPRM, 0xFF, 0x00, 0x08)
18226        OperationRegion (OPRN, SystemIO, 0x10, 0x02)
18227        Field (OPRN, ByteAcc, NoLock, Preserve)
18228        {
18229            BNK0,   16
18230        }
18231
18232        Concatenate (Arg0, "-m7e4", Arg0)
18233        CopyObject (Arg1, OPRM) /* \M7E4.OPRM */
18234        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18235        {
18236                ,   4,
18237            BF00,   3
18238        }
18239
18240        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18241        {
18242                ,   4,
18243            BF10,   1,
18244            BF11,   1,
18245            BF12,   1
18246        }
18247
18248        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18249        {
18250                ,   4,
18251            BF20,   1,
18252            BF21,   2
18253        }
18254
18255        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18256        {
18257                ,   4,
18258            BF30,   2,
18259            BF31,   1
18260        }
18261
18262        Local0 = 0x08
18263        Local1 = Package (0x07)
18264            {
18265                BF10,
18266                BF11,
18267                BF12,
18268                BF20,
18269                BF21,
18270                BF30,
18271                BF31
18272            }
18273        While (Local0)
18274        {
18275            Local0--
18276            BF00 = Local0
18277            If (Y118){}
18278            Else
18279            {
18280                Local1 [0x00] = BF10 /* \M7E4.BF10 */
18281                Local1 [0x01] = BF11 /* \M7E4.BF11 */
18282                Local1 [0x02] = BF12 /* \M7E4.BF12 */
18283                Local1 [0x03] = BF20 /* \M7E4.BF20 */
18284                Local1 [0x04] = BF21 /* \M7E4.BF21 */
18285                Local1 [0x05] = BF30 /* \M7E4.BF30 */
18286                Local1 [0x06] = BF31 /* \M7E4.BF31 */
18287            }
18288
18289            M72A (Arg0, Local0, Local1)
18290        }
18291    }
18292
18293    /* Create BankFields that spans the same bits */
18294    /* and check possible inconsistence, 5-bit offset. */
18295    /* m7e5(CallChain, OpRegion, BankNum) */
18296    Method (M7E5, 3, Serialized)
18297    {
18298        OperationRegion (OPRM, 0xFF, 0x00, 0x08)
18299        OperationRegion (OPRN, SystemIO, 0x10, 0x02)
18300        Field (OPRN, ByteAcc, NoLock, Preserve)
18301        {
18302            BNK0,   16
18303        }
18304
18305        Concatenate (Arg0, "-m7e5", Arg0)
18306        CopyObject (Arg1, OPRM) /* \M7E5.OPRM */
18307        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18308        {
18309                ,   5,
18310            BF00,   3
18311        }
18312
18313        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18314        {
18315                ,   5,
18316            BF10,   1,
18317            BF11,   1,
18318            BF12,   1
18319        }
18320
18321        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18322        {
18323                ,   5,
18324            BF20,   1,
18325            BF21,   2
18326        }
18327
18328        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18329        {
18330                ,   5,
18331            BF30,   2,
18332            BF31,   1
18333        }
18334
18335        Local0 = 0x08
18336        Local1 = Package (0x07)
18337            {
18338                BF10,
18339                BF11,
18340                BF12,
18341                BF20,
18342                BF21,
18343                BF30,
18344                BF31
18345            }
18346        While (Local0)
18347        {
18348            Local0--
18349            BF00 = Local0
18350            If (Y118){}
18351            Else
18352            {
18353                Local1 [0x00] = BF10 /* \M7E5.BF10 */
18354                Local1 [0x01] = BF11 /* \M7E5.BF11 */
18355                Local1 [0x02] = BF12 /* \M7E5.BF12 */
18356                Local1 [0x03] = BF20 /* \M7E5.BF20 */
18357                Local1 [0x04] = BF21 /* \M7E5.BF21 */
18358                Local1 [0x05] = BF30 /* \M7E5.BF30 */
18359                Local1 [0x06] = BF31 /* \M7E5.BF31 */
18360            }
18361
18362            M72A (Arg0, Local0, Local1)
18363        }
18364    }
18365
18366    /* Create BankFields that spans the same bits */
18367    /* and check possible inconsistence, 6-bit offset. */
18368    /* m7e6(CallChain, OpRegion, BankNum) */
18369    Method (M7E6, 3, Serialized)
18370    {
18371        OperationRegion (OPRM, 0xFF, 0x00, 0x08)
18372        OperationRegion (OPRN, SystemIO, 0x10, 0x02)
18373        Field (OPRN, ByteAcc, NoLock, Preserve)
18374        {
18375            BNK0,   16
18376        }
18377
18378        Concatenate (Arg0, "-m7e6", Arg0)
18379        CopyObject (Arg1, OPRM) /* \M7E6.OPRM */
18380        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18381        {
18382                ,   6,
18383            BF00,   3
18384        }
18385
18386        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18387        {
18388                ,   6,
18389            BF10,   1,
18390            BF11,   1,
18391            BF12,   1
18392        }
18393
18394        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18395        {
18396                ,   6,
18397            BF20,   1,
18398            BF21,   2
18399        }
18400
18401        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18402        {
18403                ,   6,
18404            BF30,   2,
18405            BF31,   1
18406        }
18407
18408        Local0 = 0x08
18409        Local1 = Package (0x07)
18410            {
18411                BF10,
18412                BF11,
18413                BF12,
18414                BF20,
18415                BF21,
18416                BF30,
18417                BF31
18418            }
18419        While (Local0)
18420        {
18421            Local0--
18422            BF00 = Local0
18423            If (Y118){}
18424            Else
18425            {
18426                Local1 [0x00] = BF10 /* \M7E6.BF10 */
18427                Local1 [0x01] = BF11 /* \M7E6.BF11 */
18428                Local1 [0x02] = BF12 /* \M7E6.BF12 */
18429                Local1 [0x03] = BF20 /* \M7E6.BF20 */
18430                Local1 [0x04] = BF21 /* \M7E6.BF21 */
18431                Local1 [0x05] = BF30 /* \M7E6.BF30 */
18432                Local1 [0x06] = BF31 /* \M7E6.BF31 */
18433            }
18434
18435            M72A (Arg0, Local0, Local1)
18436        }
18437    }
18438
18439    /* Create BankFields that spans the same bits */
18440    /* and check possible inconsistence, 7-bit offset. */
18441    /* m7e7(CallChain, OpRegion, BankNum) */
18442    Method (M7E7, 3, Serialized)
18443    {
18444        OperationRegion (OPRM, 0xFF, 0x00, 0x08)
18445        OperationRegion (OPRN, SystemIO, 0x10, 0x02)
18446        Field (OPRN, ByteAcc, NoLock, Preserve)
18447        {
18448            BNK0,   16
18449        }
18450
18451        Concatenate (Arg0, "-m7e7", Arg0)
18452        CopyObject (Arg1, OPRM) /* \M7E7.OPRM */
18453        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18454        {
18455                ,   7,
18456            BF00,   3
18457        }
18458
18459        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18460        {
18461                ,   7,
18462            BF10,   1,
18463            BF11,   1,
18464            BF12,   1
18465        }
18466
18467        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18468        {
18469                ,   7,
18470            BF20,   1,
18471            BF21,   2
18472        }
18473
18474        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18475        {
18476                ,   7,
18477            BF30,   2,
18478            BF31,   1
18479        }
18480
18481        Local0 = 0x08
18482        Local1 = Package (0x07)
18483            {
18484                BF10,
18485                BF11,
18486                BF12,
18487                BF20,
18488                BF21,
18489                BF30,
18490                BF31
18491            }
18492        While (Local0)
18493        {
18494            Local0--
18495            BF00 = Local0
18496            If (Y118){}
18497            Else
18498            {
18499                Local1 [0x00] = BF10 /* \M7E7.BF10 */
18500                Local1 [0x01] = BF11 /* \M7E7.BF11 */
18501                Local1 [0x02] = BF12 /* \M7E7.BF12 */
18502                Local1 [0x03] = BF20 /* \M7E7.BF20 */
18503                Local1 [0x04] = BF21 /* \M7E7.BF21 */
18504                Local1 [0x05] = BF30 /* \M7E7.BF30 */
18505                Local1 [0x06] = BF31 /* \M7E7.BF31 */
18506            }
18507
18508            M72A (Arg0, Local0, Local1)
18509        }
18510    }
18511
18512    /* Create BankFields that spans the same bits */
18513    /* and check possible inconsistence, 8-bit offset. */
18514    /* m7e8(CallChain, OpRegion, BankNum) */
18515    Method (M7E8, 3, Serialized)
18516    {
18517        OperationRegion (OPRM, 0xFF, 0x00, 0x08)
18518        OperationRegion (OPRN, SystemIO, 0x10, 0x02)
18519        Field (OPRN, ByteAcc, NoLock, Preserve)
18520        {
18521            BNK0,   16
18522        }
18523
18524        Concatenate (Arg0, "-m7e8", Arg0)
18525        CopyObject (Arg1, OPRM) /* \M7E8.OPRM */
18526        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18527        {
18528            Offset (0x01),
18529            BF00,   3
18530        }
18531
18532        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18533        {
18534            Offset (0x01),
18535            BF10,   1,
18536            BF11,   1,
18537            BF12,   1
18538        }
18539
18540        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18541        {
18542            Offset (0x01),
18543            BF20,   1,
18544            BF21,   2
18545        }
18546
18547        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18548        {
18549            Offset (0x01),
18550            BF30,   2,
18551            BF31,   1
18552        }
18553
18554        Local0 = 0x08
18555        Local1 = Package (0x07)
18556            {
18557                BF10,
18558                BF11,
18559                BF12,
18560                BF20,
18561                BF21,
18562                BF30,
18563                BF31
18564            }
18565        While (Local0)
18566        {
18567            Local0--
18568            BF00 = Local0
18569            If (Y118){}
18570            Else
18571            {
18572                Local1 [0x00] = BF10 /* \M7E8.BF10 */
18573                Local1 [0x01] = BF11 /* \M7E8.BF11 */
18574                Local1 [0x02] = BF12 /* \M7E8.BF12 */
18575                Local1 [0x03] = BF20 /* \M7E8.BF20 */
18576                Local1 [0x04] = BF21 /* \M7E8.BF21 */
18577                Local1 [0x05] = BF30 /* \M7E8.BF30 */
18578                Local1 [0x06] = BF31 /* \M7E8.BF31 */
18579            }
18580
18581            M72A (Arg0, Local0, Local1)
18582        }
18583    }
18584
18585    /* Create BankFields that spans the same bits */
18586    /* and check possible inconsistence, 2046-bit offset. */
18587    /* m7e9(CallChain, OpRegion, BankNum) */
18588    Method (M7E9, 3, Serialized)
18589    {
18590        OperationRegion (OPRM, 0xFF, 0x00, 0x0101)
18591        OperationRegion (OPRN, SystemIO, 0x10, 0x02)
18592        Field (OPRN, ByteAcc, NoLock, Preserve)
18593        {
18594            BNK0,   16
18595        }
18596
18597        Concatenate (Arg0, "-m7e9", Arg0)
18598        CopyObject (Arg1, OPRM) /* \M7E9.OPRM */
18599        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18600        {
18601                ,   2046,
18602            BF00,   3
18603        }
18604
18605        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18606        {
18607                ,   2046,
18608            BF10,   1,
18609            BF11,   1,
18610            BF12,   1
18611        }
18612
18613        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18614        {
18615                ,   2046,
18616            BF20,   1,
18617            BF21,   2
18618        }
18619
18620        BankField (OPRM, BNK0, Arg2, ByteAcc, NoLock, Preserve)
18621        {
18622                ,   2046,
18623            BF30,   2,
18624            BF31,   1
18625        }
18626
18627        Local0 = 0x08
18628        Local1 = Package (0x07)
18629            {
18630                BF10,
18631                BF11,
18632                BF12,
18633                BF20,
18634                BF21,
18635                BF30,
18636                BF31
18637            }
18638        While (Local0)
18639        {
18640            Local0--
18641            BF00 = Local0
18642            If (Y118){}
18643            Else
18644            {
18645                Local1 [0x00] = BF10 /* \M7E9.BF10 */
18646                Local1 [0x01] = BF11 /* \M7E9.BF11 */
18647                Local1 [0x02] = BF12 /* \M7E9.BF12 */
18648                Local1 [0x03] = BF20 /* \M7E9.BF20 */
18649                Local1 [0x04] = BF21 /* \M7E9.BF21 */
18650                Local1 [0x05] = BF30 /* \M7E9.BF30 */
18651                Local1 [0x06] = BF31 /* \M7E9.BF31 */
18652            }
18653
18654            M72A (Arg0, Local0, Local1)
18655        }
18656    }
18657
18658    /* Check non-constant Bank value */
18659
18660    Method (M7C7, 1, Serialized)
18661    {
18662        Field (OPRI, ByteAcc, NoLock, Preserve)
18663        {
18664            BNK0,   8
18665        }
18666
18667        Name (BVAL, 0x02)
18668        Method (CHCK, 3, NotSerialized)
18669        {
18670            Local0 = RefOf (Arg1)
18671            /* Write */
18672
18673            BNK0 = 0xFF
18674            M7BF (Arg0, BNK0, 0xFF, (Arg2 + 0x00))
18675            DerefOf (Local0) = 0x67
18676            M7BF (Arg0, BNK0, 0x02, (Arg2 + 0x01))
18677            /* Read */
18678
18679            BNK0 = 0xFF
18680            M7BF (Arg0, BNK0, 0xFF, (Arg2 + 0x02))
18681            Local1 = DerefOf (Arg1)
18682            M7BF (Arg0, Local1, 0x67, (Arg2 + 0x03))
18683            M7BF (Arg0, BNK0, 0x02, (Arg2 + 0x04))
18684        }
18685
18686        /* ArgX */
18687
18688        Method (M000, 2, Serialized)
18689        {
18690            BankField (OPRJ, BNK0, Arg1, ByteAcc, NoLock, Preserve)
18691            {
18692                Offset (0x08),
18693                BF00,   8
18694            }
18695
18696            CHCK (Arg0, RefOf (BF00), 0x5F)
18697        }
18698
18699        /* Named */
18700
18701        Method (M001, 1, Serialized)
18702        {
18703            BankField (OPRJ, BNK0, BVAL, ByteAcc, NoLock, Preserve)
18704            {
18705                Offset (0x08),
18706                BF00,   8
18707            }
18708
18709            CHCK (Arg0, RefOf (BF00), 0x64)
18710        }
18711
18712        /* LocalX */
18713
18714        Method (M002, 1, Serialized)
18715        {
18716            Local0 = BVAL /* \M7C7.BVAL */
18717            BankField (OPRJ, BNK0, Local0, ByteAcc, NoLock, Preserve)
18718            {
18719                Offset (0x08),
18720                BF00,   8
18721            }
18722
18723            CHCK (Arg0, RefOf (BF00), 0x69)
18724        }
18725
18726        /* Expression */
18727
18728        Method (M003, 1, Serialized)
18729        {
18730            Local0 = 0x01
18731            BankField (OPRJ, BNK0, (Local0 + 0x01), ByteAcc, NoLock, Preserve)
18732            {
18733                Offset (0x08),
18734                BF00,   8
18735            }
18736
18737            CHCK (Arg0, RefOf (BF00), 0x6E)
18738        }
18739
18740        Concatenate (Arg0, "-m7c7", Arg0)
18741        M000 (Arg0, 0x02)
18742        M001 (Arg0)
18743        M002 (Arg0)
18744        M003 (Arg0)
18745    }
18746
18747    /* Check non-Integer Bank value */
18748
18749    Method (M7C8, 1, Serialized)
18750    {
18751        Field (OPRI, ByteAcc, NoLock, Preserve)
18752        {
18753            BNK0,   8
18754        }
18755
18756        Name (VAL0, 0x02)
18757        Name (VALB, Buffer (0x01)
18758        {
18759             0x02                                             // .
18760        })
18761        Name (VALS, "2")
18762        BankField (OPRJ, BNK0, 0x02, ByteAcc, NoLock, Preserve)
18763        {
18764            Offset (0x08),
18765            BF00,   32
18766        }
18767
18768        /* */
18769        /* BUG: ToInteger should not be necessary. The buffer and string */
18770        /* arguments should be implicitly converted to integers. */
18771        /* */
18772        BankField (OPRJ, BNK0, ToInteger (VALB), ByteAcc, NoLock, Preserve)
18773        {
18774            Offset (0x08),
18775            BF01,   32
18776        }
18777
18778        BankField (OPRJ, BNK0, ToInteger (VALS), ByteAcc, NoLock, Preserve)
18779        {
18780            Offset (0x08),
18781            BF02,   32
18782        }
18783
18784        Name (I000, 0x12345678)
18785        Method (M000, 3, Serialized)
18786        {
18787            Local0 = 0x01
18788            BankField (OPRJ, BNK0, Arg1, ByteAcc, NoLock, Preserve)
18789            {
18790                Offset (0x08),
18791                BF03,   32
18792            }
18793
18794            If ((BF03 != I000))
18795            {
18796                ERR (Arg0, Z145, __LINE__, 0x00, 0x00, BF03, I000)
18797            }
18798        }
18799
18800        Concatenate (Arg0, "-m7c8", Arg0)
18801        BF00 = I000 /* \M7C8.I000 */
18802        If ((BF00 != I000))
18803        {
18804            ERR (Arg0, Z145, __LINE__, 0x00, 0x00, BF00, I000)
18805        }
18806
18807        If ((BF01 != I000))
18808        {
18809            ERR (Arg0, Z145, __LINE__, 0x00, 0x00, BF00, I000)
18810        }
18811
18812        If ((BF02 != I000))
18813        {
18814            ERR (Arg0, Z145, __LINE__, 0x00, 0x00, BF00, I000)
18815        }
18816
18817        /* */
18818        /* BUG: ToInteger should not be necessary. The buffer and string */
18819        /* arguments should be implicitly converted to integers. */
18820        /* */
18821        M000 (Arg0, VAL0, 0x76)
18822        M000 (Arg0, ToInteger (VALB), 0x77)
18823        M000 (Arg0, ToInteger (VALS), 0x78)
18824    }
18825
18826    /* Run-method */
18827
18828    Method (BFC0, 0, Serialized)
18829    {
18830        /* Simple BankField test */
18831
18832        SRMT ("m7c0")
18833        M7C0 (__METHOD__)
18834        /* Check BankField access: ByteAcc, NoLock, Preserve */
18835
18836        SRMT ("m7c1")
18837        If (Y192)
18838        {
18839            M7C1 (__METHOD__)
18840        }
18841        Else
18842        {
18843            BLCK ()
18844        }
18845
18846        /* Check BankField access: WordAcc, NoLock, WriteAsOnes */
18847
18848        SRMT ("m7c2")
18849        If (Y192)
18850        {
18851            M7C2 (__METHOD__)
18852        }
18853        Else
18854        {
18855            BLCK ()
18856        }
18857
18858        /* Check BankField access: DWordAcc, NoLock, WriteAsZeros */
18859
18860        SRMT ("m7c3")
18861        If (Y192)
18862        {
18863            M7C3 (__METHOD__)
18864        }
18865        Else
18866        {
18867            BLCK ()
18868        }
18869
18870        /* Check BankField access: QWordAcc, NoLock, Preserve */
18871
18872        SRMT ("m7c4")
18873        If (Y192)
18874        {
18875            M7C4 (__METHOD__)
18876        }
18877        Else
18878        {
18879            BLCK ()
18880        }
18881
18882        /* Check BankField access: AnyAcc, Lock, Preserve */
18883
18884        SRMT ("m7c5")
18885        If (Y192)
18886        {
18887            M7C5 (__METHOD__)
18888        }
18889        Else
18890        {
18891            BLCK ()
18892        }
18893
18894        /* Splitting of BankFields */
18895
18896        SRMT ("m7c6")
18897        If (Y192)
18898        {
18899            M7C6 (__METHOD__)
18900        }
18901        Else
18902        {
18903            BLCK ()
18904        }
18905
18906        /* Non-constant Bank value */
18907
18908        SRMT ("m7c7")
18909        If (Y178)
18910        {
18911            M7C7 (__METHOD__)
18912        }
18913        Else
18914        {
18915            BLCK ()
18916        }
18917
18918        /* Non-Integer Bank value */
18919
18920        SRMT ("m7c8")
18921        If (Y178)
18922        {
18923            M7C8 (__METHOD__)
18924        }
18925        Else
18926        {
18927            BLCK ()
18928        }
18929    }
18930