public abstract class org.graalvm.compiler.lir.SwitchStrategy
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: org.graalvm.compiler.lir.SwitchStrategy
  super_class: java.lang.Object
{
  public final double[] keyProbabilities;
    descriptor: [D
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL

  private double averageEffort;
    descriptor: D
    flags: (0x0002) ACC_PRIVATE

  private org.graalvm.compiler.lir.SwitchStrategy$EffortClosure effortClosure;
    descriptor: Lorg/graalvm/compiler/lir/SwitchStrategy$EffortClosure;
    flags: (0x0002) ACC_PRIVATE

  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 44
            ldc Lorg/graalvm/compiler/lir/SwitchStrategy;
            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.SwitchStrategy.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(double[]);
    descriptor: ([D)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.lir.SwitchStrategy this
        start local 1 // double[] keyProbabilities
         0: .line 211
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 208
            aload 0 /* this */
            ldc -1.0
            putfield org.graalvm.compiler.lir.SwitchStrategy.averageEffort:D
         2: .line 212
            getstatic org.graalvm.compiler.lir.SwitchStrategy.$assertionsDisabled:Z
            ifne 3
            aload 1 /* keyProbabilities */
            arraylength
            iconst_2
            if_icmpge 3
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         3: .line 213
      StackMap locals: org.graalvm.compiler.lir.SwitchStrategy double[]
      StackMap stack:
            aload 0 /* this */
            aload 1 /* keyProbabilities */
            putfield org.graalvm.compiler.lir.SwitchStrategy.keyProbabilities:[D
         4: .line 214
            return
        end local 1 // double[] keyProbabilities
        end local 0 // org.graalvm.compiler.lir.SwitchStrategy this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    5     0              this  Lorg/graalvm/compiler/lir/SwitchStrategy;
            0    5     1  keyProbabilities  [D
    MethodParameters:
                  Name  Flags
      keyProbabilities  

  public abstract jdk.vm.ci.meta.Constant[] getKeyConstants();
    descriptor: ()[Ljdk/vm/ci/meta/Constant;
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT

  public double getAverageEffort();
    descriptor: ()D
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.lir.SwitchStrategy this
         0: .line 219
            getstatic org.graalvm.compiler.lir.SwitchStrategy.$assertionsDisabled:Z
            ifne 1
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.SwitchStrategy.averageEffort:D
            dconst_0
            dcmpl
            ifge 1
            new java.lang.AssertionError
            dup
            ldc "average effort was not calculated yet for this strategy"
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         1: .line 220
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.SwitchStrategy.averageEffort:D
            dreturn
        end local 0 // org.graalvm.compiler.lir.SwitchStrategy this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/graalvm/compiler/lir/SwitchStrategy;

  protected void registerEffort(int, int, int);
    descriptor: (III)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=5, args_size=4
        start local 0 // org.graalvm.compiler.lir.SwitchStrategy this
        start local 1 // int rangeStart
        start local 2 // int rangeEnd
        start local 3 // int depth
         0: .line 228
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.SwitchStrategy.effortClosure:Lorg/graalvm/compiler/lir/SwitchStrategy$EffortClosure;
            ifnull 7
         1: .line 229
            iload 1 /* rangeStart */
            istore 4 /* i */
        start local 4 // int i
         2: goto 6
         3: .line 230
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.SwitchStrategy.effortClosure:Lorg/graalvm/compiler/lir/SwitchStrategy$EffortClosure;
            getfield org.graalvm.compiler.lir.SwitchStrategy$EffortClosure.keyEfforts:[I
            iload 4 /* i */
            dup2
            iaload
            iload 3 /* depth */
            iadd
            iastore
         4: .line 231
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.SwitchStrategy.effortClosure:Lorg/graalvm/compiler/lir/SwitchStrategy$EffortClosure;
            getfield org.graalvm.compiler.lir.SwitchStrategy$EffortClosure.keyCounts:[I
            iload 4 /* i */
            dup2
            iaload
            iconst_1
            iadd
            iastore
         5: .line 229
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
         6: iload 4 /* i */
            iload 2 /* rangeEnd */
            if_icmple 3
        end local 4 // int i
         7: .line 234
      StackMap locals:
      StackMap stack:
            return
        end local 3 // int depth
        end local 2 // int rangeEnd
        end local 1 // int rangeStart
        end local 0 // org.graalvm.compiler.lir.SwitchStrategy this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    8     0        this  Lorg/graalvm/compiler/lir/SwitchStrategy;
            0    8     1  rangeStart  I
            0    8     2    rangeEnd  I
            0    8     3       depth  I
            2    7     4           i  I
    MethodParameters:
            Name  Flags
      rangeStart  
      rangeEnd    
      depth       

  protected void registerDefaultEffort(int);
    descriptor: (I)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.lir.SwitchStrategy this
        start local 1 // int depth
         0: .line 241
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.SwitchStrategy.effortClosure:Lorg/graalvm/compiler/lir/SwitchStrategy$EffortClosure;
            ifnull 3
         1: .line 242
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.SwitchStrategy.effortClosure:Lorg/graalvm/compiler/lir/SwitchStrategy$EffortClosure;
            dup
            getfield org.graalvm.compiler.lir.SwitchStrategy$EffortClosure.defaultEffort:I
            iload 1 /* depth */
            iadd
            putfield org.graalvm.compiler.lir.SwitchStrategy$EffortClosure.defaultEffort:I
         2: .line 243
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.SwitchStrategy.effortClosure:Lorg/graalvm/compiler/lir/SwitchStrategy$EffortClosure;
            dup
            getfield org.graalvm.compiler.lir.SwitchStrategy$EffortClosure.defaultCount:I
            iconst_1
            iadd
            putfield org.graalvm.compiler.lir.SwitchStrategy$EffortClosure.defaultCount:I
         3: .line 245
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int depth
        end local 0 // org.graalvm.compiler.lir.SwitchStrategy this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Lorg/graalvm/compiler/lir/SwitchStrategy;
            0    4     1  depth  I
    MethodParameters:
       Name  Flags
      depth  

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.lir.SwitchStrategy this
         0: .line 249
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "[avgEffort="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield org.graalvm.compiler.lir.SwitchStrategy.averageEffort:D
            invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
            ldc "]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // org.graalvm.compiler.lir.SwitchStrategy this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/lir/SwitchStrategy;

  public abstract void run(org.graalvm.compiler.lir.SwitchStrategy$SwitchClosure);
    descriptor: (Lorg/graalvm/compiler/lir/SwitchStrategy$SwitchClosure;)V
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    MethodParameters:
         Name  Flags
      closure  

  private static org.graalvm.compiler.lir.SwitchStrategy[] getStrategies(double[], jdk.vm.ci.meta.JavaConstant[], org.graalvm.compiler.lir.LabelRef[]);
    descriptor: ([D[Ljdk/vm/ci/meta/JavaConstant;[Lorg/graalvm/compiler/lir/LabelRef;)[Lorg/graalvm/compiler/lir/SwitchStrategy;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=7, locals=8, args_size=3
        start local 0 // double[] keyProbabilities
        start local 1 // jdk.vm.ci.meta.JavaConstant[] keyConstants
        start local 2 // org.graalvm.compiler.lir.LabelRef[] keyTargets
         0: .line 501
            iconst_3
            anewarray org.graalvm.compiler.lir.SwitchStrategy
            dup
            iconst_0
            new org.graalvm.compiler.lir.SwitchStrategy$SequentialStrategy
            dup
            aload 0 /* keyProbabilities */
            aload 1 /* keyConstants */
            invokespecial org.graalvm.compiler.lir.SwitchStrategy$SequentialStrategy.<init>:([D[Ljdk/vm/ci/meta/Constant;)V
            aastore
            dup
            iconst_1
            new org.graalvm.compiler.lir.SwitchStrategy$RangesStrategy
            dup
            aload 0 /* keyProbabilities */
            aload 1 /* keyConstants */
            invokespecial org.graalvm.compiler.lir.SwitchStrategy$RangesStrategy.<init>:([D[Ljdk/vm/ci/meta/JavaConstant;)V
            aastore
            dup
            iconst_2
         1: .line 502
            new org.graalvm.compiler.lir.SwitchStrategy$BinaryStrategy
            dup
            aload 0 /* keyProbabilities */
            aload 1 /* keyConstants */
            invokespecial org.graalvm.compiler.lir.SwitchStrategy$BinaryStrategy.<init>:([D[Ljdk/vm/ci/meta/JavaConstant;)V
            aastore
         2: .line 501
            astore 3 /* strategies */
        start local 3 // org.graalvm.compiler.lir.SwitchStrategy[] strategies
         3: .line 503
            aload 3 /* strategies */
            dup
            astore 7
            arraylength
            istore 6
            iconst_0
            istore 5
            goto 10
      StackMap locals: double[] jdk.vm.ci.meta.JavaConstant[] org.graalvm.compiler.lir.LabelRef[] org.graalvm.compiler.lir.SwitchStrategy[] top int int org.graalvm.compiler.lir.SwitchStrategy[]
      StackMap stack:
         4: aload 7
            iload 5
            aaload
            astore 4 /* strategy */
        start local 4 // org.graalvm.compiler.lir.SwitchStrategy strategy
         5: .line 504
            aload 4 /* strategy */
            new org.graalvm.compiler.lir.SwitchStrategy$EffortClosure
            dup
            aload 4 /* strategy */
            dup
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            pop
            aload 2 /* keyTargets */
            invokespecial org.graalvm.compiler.lir.SwitchStrategy$EffortClosure.<init>:(Lorg/graalvm/compiler/lir/SwitchStrategy;[Lorg/graalvm/compiler/lir/LabelRef;)V
            putfield org.graalvm.compiler.lir.SwitchStrategy.effortClosure:Lorg/graalvm/compiler/lir/SwitchStrategy$EffortClosure;
         6: .line 505
            aload 4 /* strategy */
            aload 4 /* strategy */
            getfield org.graalvm.compiler.lir.SwitchStrategy.effortClosure:Lorg/graalvm/compiler/lir/SwitchStrategy$EffortClosure;
            invokevirtual org.graalvm.compiler.lir.SwitchStrategy.run:(Lorg/graalvm/compiler/lir/SwitchStrategy$SwitchClosure;)V
         7: .line 506
            aload 4 /* strategy */
            aload 4 /* strategy */
            getfield org.graalvm.compiler.lir.SwitchStrategy.effortClosure:Lorg/graalvm/compiler/lir/SwitchStrategy$EffortClosure;
            invokevirtual org.graalvm.compiler.lir.SwitchStrategy$EffortClosure.getAverageEffort:()D
            putfield org.graalvm.compiler.lir.SwitchStrategy.averageEffort:D
         8: .line 507
            aload 4 /* strategy */
            aconst_null
            putfield org.graalvm.compiler.lir.SwitchStrategy.effortClosure:Lorg/graalvm/compiler/lir/SwitchStrategy$EffortClosure;
        end local 4 // org.graalvm.compiler.lir.SwitchStrategy strategy
         9: .line 503
            iinc 5 1
      StackMap locals:
      StackMap stack:
        10: iload 5
            iload 6
            if_icmplt 4
        11: .line 509
            aload 3 /* strategies */
            areturn
        end local 3 // org.graalvm.compiler.lir.SwitchStrategy[] strategies
        end local 2 // org.graalvm.compiler.lir.LabelRef[] keyTargets
        end local 1 // jdk.vm.ci.meta.JavaConstant[] keyConstants
        end local 0 // double[] keyProbabilities
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   12     0  keyProbabilities  [D
            0   12     1      keyConstants  [Ljdk/vm/ci/meta/JavaConstant;
            0   12     2        keyTargets  [Lorg/graalvm/compiler/lir/LabelRef;
            3   12     3        strategies  [Lorg/graalvm/compiler/lir/SwitchStrategy;
            5    9     4          strategy  Lorg/graalvm/compiler/lir/SwitchStrategy;
    MethodParameters:
                  Name  Flags
      keyProbabilities  
      keyConstants      
      keyTargets        

  public static org.graalvm.compiler.lir.SwitchStrategy getBestStrategy(double[], jdk.vm.ci.meta.JavaConstant[], org.graalvm.compiler.lir.LabelRef[]);
    descriptor: ([D[Ljdk/vm/ci/meta/JavaConstant;[Lorg/graalvm/compiler/lir/LabelRef;)Lorg/graalvm/compiler/lir/SwitchStrategy;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=11, args_size=3
        start local 0 // double[] keyProbabilities
        start local 1 // jdk.vm.ci.meta.JavaConstant[] keyConstants
        start local 2 // org.graalvm.compiler.lir.LabelRef[] keyTargets
         0: .line 517
            aload 0 /* keyProbabilities */
            aload 1 /* keyConstants */
            aload 2 /* keyTargets */
            invokestatic org.graalvm.compiler.lir.SwitchStrategy.getStrategies:([D[Ljdk/vm/ci/meta/JavaConstant;[Lorg/graalvm/compiler/lir/LabelRef;)[Lorg/graalvm/compiler/lir/SwitchStrategy;
            astore 3 /* strategies */
        start local 3 // org.graalvm.compiler.lir.SwitchStrategy[] strategies
         1: .line 518
            ldc 2.147483647E9
            dstore 4 /* bestEffort */
        start local 4 // double bestEffort
         2: .line 519
            aconst_null
            astore 6 /* bestStrategy */
        start local 6 // org.graalvm.compiler.lir.SwitchStrategy bestStrategy
         3: .line 520
            aload 3 /* strategies */
            dup
            astore 10
            arraylength
            istore 9
            iconst_0
            istore 8
            goto 9
      StackMap locals: double[] jdk.vm.ci.meta.JavaConstant[] org.graalvm.compiler.lir.LabelRef[] org.graalvm.compiler.lir.SwitchStrategy[] double org.graalvm.compiler.lir.SwitchStrategy top int int org.graalvm.compiler.lir.SwitchStrategy[]
      StackMap stack:
         4: aload 10
            iload 8
            aaload
            astore 7 /* strategy */
        start local 7 // org.graalvm.compiler.lir.SwitchStrategy strategy
         5: .line 521
            aload 7 /* strategy */
            invokevirtual org.graalvm.compiler.lir.SwitchStrategy.getAverageEffort:()D
            dload 4 /* bestEffort */
            dcmpg
            ifge 8
         6: .line 522
            aload 7 /* strategy */
            invokevirtual org.graalvm.compiler.lir.SwitchStrategy.getAverageEffort:()D
            dstore 4 /* bestEffort */
         7: .line 523
            aload 7 /* strategy */
            astore 6 /* bestStrategy */
        end local 7 // org.graalvm.compiler.lir.SwitchStrategy strategy
         8: .line 520
      StackMap locals:
      StackMap stack:
            iinc 8 1
      StackMap locals:
      StackMap stack:
         9: iload 8
            iload 9
            if_icmplt 4
        10: .line 526
            aload 6 /* bestStrategy */
            areturn
        end local 6 // org.graalvm.compiler.lir.SwitchStrategy bestStrategy
        end local 4 // double bestEffort
        end local 3 // org.graalvm.compiler.lir.SwitchStrategy[] strategies
        end local 2 // org.graalvm.compiler.lir.LabelRef[] keyTargets
        end local 1 // jdk.vm.ci.meta.JavaConstant[] keyConstants
        end local 0 // double[] keyProbabilities
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   11     0  keyProbabilities  [D
            0   11     1      keyConstants  [Ljdk/vm/ci/meta/JavaConstant;
            0   11     2        keyTargets  [Lorg/graalvm/compiler/lir/LabelRef;
            1   11     3        strategies  [Lorg/graalvm/compiler/lir/SwitchStrategy;
            2   11     4        bestEffort  D
            3   11     6      bestStrategy  Lorg/graalvm/compiler/lir/SwitchStrategy;
            5    8     7          strategy  Lorg/graalvm/compiler/lir/SwitchStrategy;
    MethodParameters:
                  Name  Flags
      keyProbabilities  
      keyConstants      
      keyTargets        
}
SourceFile: "SwitchStrategy.java"
NestMembers:
  org.graalvm.compiler.lir.SwitchStrategy$BaseSwitchClosure  org.graalvm.compiler.lir.SwitchStrategy$BinaryStrategy  org.graalvm.compiler.lir.SwitchStrategy$EffortClosure  org.graalvm.compiler.lir.SwitchStrategy$PrimitiveStrategy  org.graalvm.compiler.lir.SwitchStrategy$RangesStrategy  org.graalvm.compiler.lir.SwitchStrategy$RangesStrategy$1  org.graalvm.compiler.lir.SwitchStrategy$SequentialStrategy  org.graalvm.compiler.lir.SwitchStrategy$SequentialStrategy$1  org.graalvm.compiler.lir.SwitchStrategy$SwitchClosure
InnerClasses:
  public abstract BaseSwitchClosure = org.graalvm.compiler.lir.SwitchStrategy$BaseSwitchClosure of org.graalvm.compiler.lir.SwitchStrategy
  public BinaryStrategy = org.graalvm.compiler.lir.SwitchStrategy$BinaryStrategy of org.graalvm.compiler.lir.SwitchStrategy
  private EffortClosure = org.graalvm.compiler.lir.SwitchStrategy$EffortClosure of org.graalvm.compiler.lir.SwitchStrategy
  private abstract PrimitiveStrategy = org.graalvm.compiler.lir.SwitchStrategy$PrimitiveStrategy of org.graalvm.compiler.lir.SwitchStrategy
  public RangesStrategy = org.graalvm.compiler.lir.SwitchStrategy$RangesStrategy of org.graalvm.compiler.lir.SwitchStrategy
  public SequentialStrategy = org.graalvm.compiler.lir.SwitchStrategy$SequentialStrategy of org.graalvm.compiler.lir.SwitchStrategy
  private abstract SwitchClosure = org.graalvm.compiler.lir.SwitchStrategy$SwitchClosure of org.graalvm.compiler.lir.SwitchStrategy