public class org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp extends org.graalvm.compiler.lir.amd64.AMD64LIRInstruction implements org.graalvm.compiler.lir.StandardOp$SaveRegistersOp
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp
  super_class: org.graalvm.compiler.lir.amd64.AMD64LIRInstruction
{
  public static final org.graalvm.compiler.lir.LIRInstructionClass<org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp> TYPE;
    descriptor: Lorg/graalvm/compiler/lir/LIRInstructionClass;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    Signature: Lorg/graalvm/compiler/lir/LIRInstructionClass<Lorg/graalvm/compiler/lir/amd64/AMD64SaveRegistersOp;>;

  protected final jdk.vm.ci.code.Register[] savedRegisters;
    descriptor: [Ljdk/vm/ci/code/Register;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  protected final jdk.vm.ci.meta.AllocatableValue[] slots;
    descriptor: [Ljdk/vm/ci/meta/AllocatableValue;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.lir.LIRInstruction$Def(value = {org.graalvm.compiler.lir.LIRInstruction$OperandFlag.STACK:Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;})

  protected final boolean supportsRemove;
    descriptor: Z
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 50
            ldc Lorg/graalvm/compiler/lir/amd64/AMD64SaveRegistersOp;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.$assertionsDisabled:Z
         3: .line 51
            ldc Lorg/graalvm/compiler/lir/amd64/AMD64SaveRegistersOp;
            invokestatic org.graalvm.compiler.lir.LIRInstructionClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/lir/LIRInstructionClass;
            putstatic org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.TYPE:Lorg/graalvm/compiler/lir/LIRInstructionClass;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(jdk.vm.ci.code.Register[], jdk.vm.ci.meta.AllocatableValue[], boolean);
    descriptor: ([Ljdk/vm/ci/code/Register;[Ljdk/vm/ci/meta/AllocatableValue;Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=4
        start local 0 // org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp this
        start local 1 // jdk.vm.ci.code.Register[] savedRegisters
        start local 2 // jdk.vm.ci.meta.AllocatableValue[] savedRegisterLocations
        start local 3 // boolean supportsRemove
         0: .line 76
            aload 0 /* this */
            getstatic org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.TYPE:Lorg/graalvm/compiler/lir/LIRInstructionClass;
            aload 1 /* savedRegisters */
            aload 2 /* savedRegisterLocations */
            iload 3 /* supportsRemove */
            invokespecial org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.<init>:(Lorg/graalvm/compiler/lir/LIRInstructionClass;[Ljdk/vm/ci/code/Register;[Ljdk/vm/ci/meta/AllocatableValue;Z)V
         1: .line 77
            return
        end local 3 // boolean supportsRemove
        end local 2 // jdk.vm.ci.meta.AllocatableValue[] savedRegisterLocations
        end local 1 // jdk.vm.ci.code.Register[] savedRegisters
        end local 0 // org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp this
      LocalVariableTable:
        Start  End  Slot                    Name  Signature
            0    2     0                    this  Lorg/graalvm/compiler/lir/amd64/AMD64SaveRegistersOp;
            0    2     1          savedRegisters  [Ljdk/vm/ci/code/Register;
            0    2     2  savedRegisterLocations  [Ljdk/vm/ci/meta/AllocatableValue;
            0    2     3          supportsRemove  Z
    MethodParameters:
                        Name  Flags
      savedRegisters          
      savedRegisterLocations  
      supportsRemove          

  public void <init>(org.graalvm.compiler.lir.LIRInstructionClass<? extends org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp>, jdk.vm.ci.code.Register[], jdk.vm.ci.meta.AllocatableValue[], );
    descriptor: (Lorg/graalvm/compiler/lir/LIRInstructionClass;[Ljdk/vm/ci/code/Register;[Ljdk/vm/ci/meta/AllocatableValue;Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=5, args_size=5
        start local 0 // org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp this
        start local 1 // org.graalvm.compiler.lir.LIRInstructionClass c
        start local 2 // jdk.vm.ci.code.Register[] savedRegisters
        start local 3 // jdk.vm.ci.meta.AllocatableValue[] savedRegisterLocations
        start local 4 // boolean supportsRemove
         0: .line 80
            aload 0 /* this */
            aload 1 /* c */
            invokespecial org.graalvm.compiler.lir.amd64.AMD64LIRInstruction.<init>:(Lorg/graalvm/compiler/lir/LIRInstructionClass;)V
         1: .line 81
            getstatic org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.$assertionsDisabled:Z
            ifne 2
            aload 3 /* savedRegisterLocations */
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
            invokedynamic test()Ljava/util/function/Predicate;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Z
                  org/graalvm/compiler/lir/LIRValueUtil.isVirtualStackSlot(Ljdk/vm/ci/meta/Value;)Z (6)
                  (Ljdk/vm/ci/meta/AllocatableValue;)Z
            invokeinterface java.util.stream.Stream.allMatch:(Ljava/util/function/Predicate;)Z
            ifne 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 82
      StackMap locals: org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp org.graalvm.compiler.lir.LIRInstructionClass jdk.vm.ci.code.Register[] jdk.vm.ci.meta.AllocatableValue[] int
      StackMap stack:
            aload 0 /* this */
            aload 2 /* savedRegisters */
            putfield org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.savedRegisters:[Ljdk/vm/ci/code/Register;
         3: .line 83
            aload 0 /* this */
            aload 3 /* savedRegisterLocations */
            putfield org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.slots:[Ljdk/vm/ci/meta/AllocatableValue;
         4: .line 84
            aload 0 /* this */
            iload 4 /* supportsRemove */
            putfield org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.supportsRemove:Z
         5: .line 85
            return
        end local 4 // boolean supportsRemove
        end local 3 // jdk.vm.ci.meta.AllocatableValue[] savedRegisterLocations
        end local 2 // jdk.vm.ci.code.Register[] savedRegisters
        end local 1 // org.graalvm.compiler.lir.LIRInstructionClass c
        end local 0 // org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp this
      LocalVariableTable:
        Start  End  Slot                    Name  Signature
            0    6     0                    this  Lorg/graalvm/compiler/lir/amd64/AMD64SaveRegistersOp;
            0    6     1                       c  Lorg/graalvm/compiler/lir/LIRInstructionClass<+Lorg/graalvm/compiler/lir/amd64/AMD64SaveRegistersOp;>;
            0    6     2          savedRegisters  [Ljdk/vm/ci/code/Register;
            0    6     3  savedRegisterLocations  [Ljdk/vm/ci/meta/AllocatableValue;
            0    6     4          supportsRemove  Z
    Signature: (Lorg/graalvm/compiler/lir/LIRInstructionClass<+Lorg/graalvm/compiler/lir/amd64/AMD64SaveRegistersOp;>;[Ljdk/vm/ci/code/Register;[Ljdk/vm/ci/meta/AllocatableValue;Z)V
    MethodParameters:
                        Name  Flags
      c                       
      savedRegisters          
      savedRegisterLocations  
      supportsRemove          

  protected void saveRegister(org.graalvm.compiler.lir.asm.CompilationResultBuilder, org.graalvm.compiler.asm.amd64.AMD64MacroAssembler, jdk.vm.ci.code.StackSlot, jdk.vm.ci.code.Register);
    descriptor: (Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;Ljdk/vm/ci/code/StackSlot;Ljdk/vm/ci/code/Register;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=5, args_size=5
        start local 0 // org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp this
        start local 1 // org.graalvm.compiler.lir.asm.CompilationResultBuilder crb
        start local 2 // org.graalvm.compiler.asm.amd64.AMD64MacroAssembler masm
        start local 3 // jdk.vm.ci.code.StackSlot result
        start local 4 // jdk.vm.ci.code.Register input
         0: .line 88
            aload 3 /* result */
            invokevirtual jdk.vm.ci.code.StackSlot.getPlatformKind:()Ljdk/vm/ci/meta/PlatformKind;
            checkcast jdk.vm.ci.amd64.AMD64Kind
            aload 1 /* crb */
            aload 2 /* masm */
            aload 3 /* result */
            aload 4 /* input */
            invokestatic org.graalvm.compiler.lir.amd64.AMD64Move.reg2stack:(Ljdk/vm/ci/amd64/AMD64Kind;Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/code/Register;)V
         1: .line 89
            return
        end local 4 // jdk.vm.ci.code.Register input
        end local 3 // jdk.vm.ci.code.StackSlot result
        end local 2 // org.graalvm.compiler.asm.amd64.AMD64MacroAssembler masm
        end local 1 // org.graalvm.compiler.lir.asm.CompilationResultBuilder crb
        end local 0 // org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Lorg/graalvm/compiler/lir/amd64/AMD64SaveRegistersOp;
            0    2     1     crb  Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;
            0    2     2    masm  Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;
            0    2     3  result  Ljdk/vm/ci/code/StackSlot;
            0    2     4   input  Ljdk/vm/ci/code/Register;
    MethodParameters:
        Name  Flags
      crb     
      masm    
      result  
      input   

  public void emitCode(org.graalvm.compiler.lir.asm.CompilationResultBuilder, org.graalvm.compiler.asm.amd64.AMD64MacroAssembler);
    descriptor: (Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=4, args_size=3
        start local 0 // org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp this
        start local 1 // org.graalvm.compiler.lir.asm.CompilationResultBuilder crb
        start local 2 // org.graalvm.compiler.asm.amd64.AMD64MacroAssembler masm
         0: .line 93
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         1: goto 6
         2: .line 94
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.savedRegisters:[Ljdk/vm/ci/code/Register;
            iload 3 /* i */
            aaload
            ifnull 5
         3: .line 95
            getstatic org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.$assertionsDisabled:Z
            ifne 4
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.slots:[Ljdk/vm/ci/meta/AllocatableValue;
            iload 3 /* i */
            aaload
            invokestatic jdk.vm.ci.code.ValueUtil.isStackSlot:(Ljdk/vm/ci/meta/Value;)Z
            ifne 4
            new java.lang.AssertionError
            dup
            new java.lang.StringBuilder
            dup
            ldc "not a StackSlot: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.slots:[Ljdk/vm/ci/meta/AllocatableValue;
            iload 3 /* i */
            aaload
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         4: .line 96
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* crb */
            aload 2 /* masm */
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.slots:[Ljdk/vm/ci/meta/AllocatableValue;
            iload 3 /* i */
            aaload
            invokestatic jdk.vm.ci.code.ValueUtil.asStackSlot:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/StackSlot;
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.savedRegisters:[Ljdk/vm/ci/code/Register;
            iload 3 /* i */
            aaload
            invokevirtual org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.saveRegister:(Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;Ljdk/vm/ci/code/StackSlot;Ljdk/vm/ci/code/Register;)V
         5: .line 93
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
         6: iload 3 /* i */
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.savedRegisters:[Ljdk/vm/ci/code/Register;
            arraylength
            if_icmplt 2
        end local 3 // int i
         7: .line 99
            return
        end local 2 // org.graalvm.compiler.asm.amd64.AMD64MacroAssembler masm
        end local 1 // org.graalvm.compiler.lir.asm.CompilationResultBuilder crb
        end local 0 // org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lorg/graalvm/compiler/lir/amd64/AMD64SaveRegistersOp;
            0    8     1   crb  Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;
            0    8     2  masm  Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;
            1    7     3     i  I
    MethodParameters:
      Name  Flags
      crb   
      masm  

  public jdk.vm.ci.meta.AllocatableValue[] getSlots();
    descriptor: ()[Ljdk/vm/ci/meta/AllocatableValue;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp this
         0: .line 102
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.slots:[Ljdk/vm/ci/meta/AllocatableValue;
            areturn
        end local 0 // org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/lir/amd64/AMD64SaveRegistersOp;

  public boolean supportsRemove();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp this
         0: .line 107
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.supportsRemove:Z
            ireturn
        end local 0 // org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/lir/amd64/AMD64SaveRegistersOp;

  public int remove(java.util.Set<jdk.vm.ci.code.Register>);
    descriptor: (Ljava/util/Set;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp this
        start local 1 // java.util.Set doNotSave
         0: .line 112
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.supportsRemove:Z
            ifne 2
         1: .line 113
            new java.lang.UnsupportedOperationException
            dup
            invokespecial java.lang.UnsupportedOperationException.<init>:()V
            athrow
         2: .line 115
      StackMap locals:
      StackMap stack:
            aload 1 /* doNotSave */
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.savedRegisters:[Ljdk/vm/ci/code/Register;
            invokestatic org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.prune:(Ljava/util/Set;[Ljdk/vm/ci/code/Register;)I
            ireturn
        end local 1 // java.util.Set doNotSave
        end local 0 // org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0       this  Lorg/graalvm/compiler/lir/amd64/AMD64SaveRegistersOp;
            0    3     1  doNotSave  Ljava/util/Set<Ljdk/vm/ci/code/Register;>;
    Signature: (Ljava/util/Set<Ljdk/vm/ci/code/Register;>;)I
    MethodParameters:
           Name  Flags
      doNotSave  

  static int prune(java.util.Set<jdk.vm.ci.code.Register>, jdk.vm.ci.code.Register[]);
    descriptor: (Ljava/util/Set;[Ljdk/vm/ci/code/Register;)I
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // java.util.Set toRemove
        start local 1 // jdk.vm.ci.code.Register[] registers
         0: .line 119
            iconst_0
            istore 2 /* pruned */
        start local 2 // int pruned
         1: .line 120
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         2: goto 8
         3: .line 121
      StackMap locals: int int
      StackMap stack:
            aload 1 /* registers */
            iload 3 /* i */
            aaload
            ifnull 7
         4: .line 122
            aload 0 /* toRemove */
            aload 1 /* registers */
            iload 3 /* i */
            aaload
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            ifeq 7
         5: .line 123
            aload 1 /* registers */
            iload 3 /* i */
            aconst_null
            aastore
         6: .line 124
            iinc 2 /* pruned */ 1
         7: .line 120
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
         8: iload 3 /* i */
            aload 1 /* registers */
            arraylength
            if_icmplt 3
        end local 3 // int i
         9: .line 128
            iload 2 /* pruned */
            ireturn
        end local 2 // int pruned
        end local 1 // jdk.vm.ci.code.Register[] registers
        end local 0 // java.util.Set toRemove
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   10     0   toRemove  Ljava/util/Set<Ljdk/vm/ci/code/Register;>;
            0   10     1  registers  [Ljdk/vm/ci/code/Register;
            1   10     2     pruned  I
            2    9     3          i  I
    Signature: (Ljava/util/Set<Ljdk/vm/ci/code/Register;>;[Ljdk/vm/ci/code/Register;)I
    MethodParameters:
           Name  Flags
      toRemove   
      registers  

  public jdk.vm.ci.code.RegisterSaveLayout getMap(org.graalvm.compiler.lir.framemap.FrameMap);
    descriptor: (Lorg/graalvm/compiler/lir/framemap/FrameMap;)Ljdk/vm/ci/code/RegisterSaveLayout;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=8, args_size=2
        start local 0 // org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp this
        start local 1 // org.graalvm.compiler.lir.framemap.FrameMap frameMap
         0: .line 133
            iconst_0
            istore 2 /* total */
        start local 2 // int total
         1: .line 134
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         2: goto 6
         3: .line 135
      StackMap locals: int int
      StackMap stack:
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.savedRegisters:[Ljdk/vm/ci/code/Register;
            iload 3 /* i */
            aaload
            ifnull 5
         4: .line 136
            iinc 2 /* total */ 1
         5: .line 134
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
         6: iload 3 /* i */
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.savedRegisters:[Ljdk/vm/ci/code/Register;
            arraylength
            if_icmplt 3
        end local 3 // int i
         7: .line 139
            iload 2 /* total */
            anewarray jdk.vm.ci.code.Register
            astore 3 /* keys */
        start local 3 // jdk.vm.ci.code.Register[] keys
         8: .line 140
            iload 2 /* total */
            newarray 10
            astore 4 /* values */
        start local 4 // int[] values
         9: .line 141
            iload 2 /* total */
            ifeq 22
        10: .line 142
            iconst_0
            istore 5 /* mapIndex */
        start local 5 // int mapIndex
        11: .line 143
            iconst_0
            istore 6 /* i */
        start local 6 // int i
        12: goto 20
        13: .line 144
      StackMap locals: org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp org.graalvm.compiler.lir.framemap.FrameMap int jdk.vm.ci.code.Register[] int[] int int
      StackMap stack:
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.savedRegisters:[Ljdk/vm/ci/code/Register;
            iload 6 /* i */
            aaload
            ifnull 19
        14: .line 145
            aload 3 /* keys */
            iload 5 /* mapIndex */
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.savedRegisters:[Ljdk/vm/ci/code/Register;
            iload 6 /* i */
            aaload
            aastore
        15: .line 146
            getstatic org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.$assertionsDisabled:Z
            ifne 16
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.slots:[Ljdk/vm/ci/meta/AllocatableValue;
            iload 6 /* i */
            aaload
            invokestatic jdk.vm.ci.code.ValueUtil.isStackSlot:(Ljdk/vm/ci/meta/Value;)Z
            ifne 16
            new java.lang.AssertionError
            dup
            new java.lang.StringBuilder
            dup
            ldc "not a StackSlot: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.slots:[Ljdk/vm/ci/meta/AllocatableValue;
            iload 6 /* i */
            aaload
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        16: .line 147
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.slots:[Ljdk/vm/ci/meta/AllocatableValue;
            iload 6 /* i */
            aaload
            invokestatic jdk.vm.ci.code.ValueUtil.asStackSlot:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/StackSlot;
            astore 7 /* slot */
        start local 7 // jdk.vm.ci.code.StackSlot slot
        17: .line 148
            aload 4 /* values */
            iload 5 /* mapIndex */
            aload 1 /* frameMap */
            aload 7 /* slot */
            invokestatic org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.indexForStackSlot:(Lorg/graalvm/compiler/lir/framemap/FrameMap;Ljdk/vm/ci/code/StackSlot;)I
            iastore
        18: .line 149
            iinc 5 /* mapIndex */ 1
        end local 7 // jdk.vm.ci.code.StackSlot slot
        19: .line 143
      StackMap locals:
      StackMap stack:
            iinc 6 /* i */ 1
      StackMap locals:
      StackMap stack:
        20: iload 6 /* i */
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.savedRegisters:[Ljdk/vm/ci/code/Register;
            arraylength
            if_icmplt 13
        end local 6 // int i
        21: .line 152
            getstatic org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.$assertionsDisabled:Z
            ifne 22
            iload 5 /* mapIndex */
            iload 2 /* total */
            if_icmpeq 22
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        end local 5 // int mapIndex
        22: .line 154
      StackMap locals:
      StackMap stack:
            new jdk.vm.ci.code.RegisterSaveLayout
            dup
            aload 3 /* keys */
            aload 4 /* values */
            invokespecial jdk.vm.ci.code.RegisterSaveLayout.<init>:([Ljdk/vm/ci/code/Register;[I)V
            areturn
        end local 4 // int[] values
        end local 3 // jdk.vm.ci.code.Register[] keys
        end local 2 // int total
        end local 1 // org.graalvm.compiler.lir.framemap.FrameMap frameMap
        end local 0 // org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   23     0      this  Lorg/graalvm/compiler/lir/amd64/AMD64SaveRegistersOp;
            0   23     1  frameMap  Lorg/graalvm/compiler/lir/framemap/FrameMap;
            1   23     2     total  I
            2    7     3         i  I
            8   23     3      keys  [Ljdk/vm/ci/code/Register;
            9   23     4    values  [I
           11   22     5  mapIndex  I
           12   21     6         i  I
           17   19     7      slot  Ljdk/vm/ci/code/StackSlot;
    MethodParameters:
          Name  Flags
      frameMap  

  private static int indexForStackSlot(org.graalvm.compiler.lir.framemap.FrameMap, jdk.vm.ci.code.StackSlot);
    descriptor: (Lorg/graalvm/compiler/lir/framemap/FrameMap;Ljdk/vm/ci/code/StackSlot;)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // org.graalvm.compiler.lir.framemap.FrameMap frameMap
        start local 1 // jdk.vm.ci.code.StackSlot slot
         0: .line 165
            getstatic org.graalvm.compiler.lir.amd64.AMD64SaveRegistersOp.$assertionsDisabled:Z
            ifne 1
            aload 0 /* frameMap */
            aload 1 /* slot */
            invokevirtual org.graalvm.compiler.lir.framemap.FrameMap.offsetForStackSlot:(Ljdk/vm/ci/code/StackSlot;)I
            aload 0 /* frameMap */
            invokevirtual org.graalvm.compiler.lir.framemap.FrameMap.getTarget:()Ljdk/vm/ci/code/TargetDescription;
            getfield jdk.vm.ci.code.TargetDescription.wordSize:I
            irem
            ifeq 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 166
      StackMap locals:
      StackMap stack:
            aload 0 /* frameMap */
            aload 1 /* slot */
            invokevirtual org.graalvm.compiler.lir.framemap.FrameMap.offsetForStackSlot:(Ljdk/vm/ci/code/StackSlot;)I
            aload 0 /* frameMap */
            invokevirtual org.graalvm.compiler.lir.framemap.FrameMap.getTarget:()Ljdk/vm/ci/code/TargetDescription;
            getfield jdk.vm.ci.code.TargetDescription.wordSize:I
            idiv
            istore 2 /* value */
        start local 2 // int value
         2: .line 167
            iload 2 /* value */
            ireturn
        end local 2 // int value
        end local 1 // jdk.vm.ci.code.StackSlot slot
        end local 0 // org.graalvm.compiler.lir.framemap.FrameMap frameMap
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0  frameMap  Lorg/graalvm/compiler/lir/framemap/FrameMap;
            0    3     1      slot  Ljdk/vm/ci/code/StackSlot;
            2    3     2     value  I
    MethodParameters:
          Name  Flags
      frameMap  
      slot      
}
SourceFile: "AMD64SaveRegistersOp.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract Def = org.graalvm.compiler.lir.LIRInstruction$Def of org.graalvm.compiler.lir.LIRInstruction
  public final OperandFlag = org.graalvm.compiler.lir.LIRInstruction$OperandFlag of org.graalvm.compiler.lir.LIRInstruction
  public abstract SaveRegistersOp = org.graalvm.compiler.lir.StandardOp$SaveRegistersOp of org.graalvm.compiler.lir.StandardOp
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.lir.Opcode(value = "SAVE_REGISTER")