public class java.util.concurrent.Phaser
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: java.util.concurrent.Phaser
  super_class: java.lang.Object
{
  private volatile long state;
    descriptor: J
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private static final int MAX_PARTIES;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 65535

  private static final int MAX_PHASE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 2147483647

  private static final int PARTIES_SHIFT;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 16

  private static final int PHASE_SHIFT;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 32

  private static final int UNARRIVED_MASK;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 65535

  private static final long PARTIES_MASK;
    descriptor: J
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 4294901760

  private static final long COUNTS_MASK;
    descriptor: J
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 4294967295

  private static final long TERMINATION_BIT;
    descriptor: J
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: -9223372036854775808

  private static final int ONE_ARRIVAL;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  private static final int ONE_PARTY;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 65536

  private static final int ONE_DEREGISTER;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 65537

  private static final int EMPTY;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  private final java.util.concurrent.Phaser parent;
    descriptor: Ljava/util/concurrent/Phaser;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.concurrent.Phaser root;
    descriptor: Ljava/util/concurrent/Phaser;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.concurrent.atomic.AtomicReference<java.util.concurrent.Phaser$QNode> evenQ;
    descriptor: Ljava/util/concurrent/atomic/AtomicReference;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/atomic/AtomicReference<Ljava/util/concurrent/Phaser$QNode;>;

  private final java.util.concurrent.atomic.AtomicReference<java.util.concurrent.Phaser$QNode> oddQ;
    descriptor: Ljava/util/concurrent/atomic/AtomicReference;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/atomic/AtomicReference<Ljava/util/concurrent/Phaser$QNode;>;

  private static final int NCPU;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static final int SPINS_PER_ARRIVAL;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  private static final java.lang.invoke.VarHandle STATE;
    descriptor: Ljava/lang/invoke/VarHandle;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=1, args_size=0
         0: .line 1000
            invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
            invokevirtual java.lang.Runtime.availableProcessors:()I
            putstatic java.util.concurrent.Phaser.NCPU:I
         1: .line 1013
            getstatic java.util.concurrent.Phaser.NCPU:I
            iconst_2
            if_icmpge 2
            iconst_1
            goto 3
      StackMap locals:
      StackMap stack:
         2: sipush 256
      StackMap locals:
      StackMap stack: int
         3: putstatic java.util.concurrent.Phaser.SPINS_PER_ARRIVAL:I
         4: .line 1137
            invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
            astore 0 /* l */
        start local 0 // java.lang.invoke.MethodHandles$Lookup l
         5: .line 1138
            aload 0 /* l */
            ldc Ljava/util/concurrent/Phaser;
            ldc "state"
            getstatic java.lang.Long.TYPE:Ljava/lang/Class;
            invokevirtual java.lang.invoke.MethodHandles$Lookup.findVarHandle:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/invoke/VarHandle;
            putstatic java.util.concurrent.Phaser.STATE:Ljava/lang/invoke/VarHandle;
        end local 0 // java.lang.invoke.MethodHandles$Lookup l
         6: .line 1139
            goto 9
      StackMap locals:
      StackMap stack: java.lang.ReflectiveOperationException
         7: astore 0 /* e */
        start local 0 // java.lang.ReflectiveOperationException e
         8: .line 1140
            new java.lang.ExceptionInInitializerError
            dup
            aload 0 /* e */
            invokespecial java.lang.ExceptionInInitializerError.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 0 // java.lang.ReflectiveOperationException e
         9: .line 1146
      StackMap locals:
      StackMap stack:
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            5    6     0     l  Ljava/lang/invoke/MethodHandles$Lookup;
            8    9     0     e  Ljava/lang/ReflectiveOperationException;
      Exception table:
        from    to  target  type
           4     6       7  Class java.lang.ReflectiveOperationException

  private static int unarrivedOf(long);
    descriptor: (J)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // long s
         0: .line 311
            lload 0 /* s */
            l2i
            istore 2 /* counts */
        start local 2 // int counts
         1: .line 312
            iload 2 /* counts */
            iconst_1
            if_icmpne 2
            iconst_0
            goto 3
      StackMap locals: int
      StackMap stack:
         2: iload 2 /* counts */
            ldc 65535
            iand
      StackMap locals:
      StackMap stack: int
         3: ireturn
        end local 2 // int counts
        end local 0 // long s
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0       s  J
            1    4     2  counts  I
    MethodParameters:
      Name  Flags
      s     

  private static int partiesOf(long);
    descriptor: (J)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // long s
         0: .line 316
            lload 0 /* s */
            l2i
            bipush 16
            iushr
            ireturn
        end local 0 // long s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     s  J
    MethodParameters:
      Name  Flags
      s     

  private static int phaseOf(long);
    descriptor: (J)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // long s
         0: .line 320
            lload 0 /* s */
            bipush 32
            lushr
            l2i
            ireturn
        end local 0 // long s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     s  J
    MethodParameters:
      Name  Flags
      s     

  private static int arrivedOf(long);
    descriptor: (J)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // long s
         0: .line 324
            lload 0 /* s */
            l2i
            istore 2 /* counts */
        start local 2 // int counts
         1: .line 325
            iload 2 /* counts */
            iconst_1
            if_icmpne 2
            iconst_0
            goto 3
         2: .line 326
      StackMap locals: int
      StackMap stack:
            iload 2 /* counts */
            bipush 16
            iushr
            iload 2 /* counts */
            ldc 65535
            iand
            isub
         3: .line 325
      StackMap locals:
      StackMap stack: int
            ireturn
        end local 2 // int counts
        end local 0 // long s
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0       s  J
            1    4     2  counts  I
    MethodParameters:
      Name  Flags
      s     

  private java.lang.String badArrive(long);
    descriptor: (J)Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // java.util.concurrent.Phaser this
        start local 1 // long s
         0: .line 352
            new java.lang.StringBuilder
            dup
            ldc "Attempted arrival of unregistered party for "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         1: .line 353
            aload 0 /* this */
            lload 1 /* s */
            invokevirtual java.util.concurrent.Phaser.stateToString:(J)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         2: .line 352
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 1 // long s
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljava/util/concurrent/Phaser;
            0    3     1     s  J
    MethodParameters:
      Name  Flags
      s     

  private java.lang.String badRegister(long);
    descriptor: (J)Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // java.util.concurrent.Phaser this
        start local 1 // long s
         0: .line 360
            new java.lang.StringBuilder
            dup
            ldc "Attempt to register more than 65535 parties for "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         1: .line 361
            aload 0 /* this */
            lload 1 /* s */
            invokevirtual java.util.concurrent.Phaser.stateToString:(J)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         2: .line 360
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 1 // long s
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljava/util/concurrent/Phaser;
            0    3     1     s  J
    MethodParameters:
      Name  Flags
      s     

  private int doArrive(int);
    descriptor: (I)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=8, locals=12, args_size=2
        start local 0 // java.util.concurrent.Phaser this
        start local 1 // int adjust
         0: .line 374
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.root:Ljava/util/concurrent/Phaser;
            astore 2 /* root */
        start local 2 // java.util.concurrent.Phaser root
         1: .line 376
      StackMap locals: java.util.concurrent.Phaser
      StackMap stack:
            aload 2 /* root */
            aload 0 /* this */
            if_acmpne 2
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.state:J
            goto 3
      StackMap locals:
      StackMap stack:
         2: aload 0 /* this */
            invokevirtual java.util.concurrent.Phaser.reconcileState:()J
      StackMap locals:
      StackMap stack: long
         3: lstore 3 /* s */
        start local 3 // long s
         4: .line 377
            lload 3 /* s */
            bipush 32
            lushr
            l2i
            istore 5 /* phase */
        start local 5 // int phase
         5: .line 378
            iload 5 /* phase */
            ifge 7
         6: .line 379
            iload 5 /* phase */
            ireturn
         7: .line 380
      StackMap locals: long int
      StackMap stack:
            lload 3 /* s */
            l2i
            istore 6 /* counts */
        start local 6 // int counts
         8: .line 381
            iload 6 /* counts */
            iconst_1
            if_icmpne 9
            iconst_0
            goto 10
      StackMap locals: int
      StackMap stack:
         9: iload 6 /* counts */
            ldc 65535
            iand
      StackMap locals:
      StackMap stack: int
        10: istore 7 /* unarrived */
        start local 7 // int unarrived
        11: .line 382
            iload 7 /* unarrived */
            ifgt 13
        12: .line 383
            new java.lang.IllegalStateException
            dup
            aload 0 /* this */
            lload 3 /* s */
            invokevirtual java.util.concurrent.Phaser.badArrive:(J)Ljava/lang/String;
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
        13: .line 384
      StackMap locals: int
      StackMap stack:
            getstatic java.util.concurrent.Phaser.STATE:Ljava/lang/invoke/VarHandle;
            aload 0 /* this */
            lload 3 /* s */
            lload 3 /* s */
            iload 1 /* adjust */
            i2l
            lsub
            dup2
            lstore 3 /* s */
            invokevirtual java.lang.invoke.VarHandle.compareAndSet:(Ljava/util/concurrent/Phaser;JJ)Z
            ifeq 1
        14: .line 385
            iload 7 /* unarrived */
            iconst_1
            if_icmpne 33
        15: .line 386
            lload 3 /* s */
            ldc 4294901760
            land
            lstore 8 /* n */
        start local 8 // long n
        16: .line 387
            lload 8 /* n */
            l2i
            bipush 16
            iushr
            istore 10 /* nextUnarrived */
        start local 10 // int nextUnarrived
        17: .line 388
            aload 2 /* root */
            aload 0 /* this */
            if_acmpne 28
        18: .line 389
            aload 0 /* this */
            iload 5 /* phase */
            iload 10 /* nextUnarrived */
            invokevirtual java.util.concurrent.Phaser.onAdvance:(II)Z
            ifeq 20
        19: .line 390
            lload 8 /* n */
            ldc -9223372036854775808
            lor
            lstore 8 /* n */
            goto 23
        20: .line 391
      StackMap locals: long int
      StackMap stack:
            iload 10 /* nextUnarrived */
            ifne 22
        21: .line 392
            lload 8 /* n */
            lconst_1
            lor
            lstore 8 /* n */
            goto 23
        22: .line 394
      StackMap locals:
      StackMap stack:
            lload 8 /* n */
            iload 10 /* nextUnarrived */
            i2l
            lor
            lstore 8 /* n */
        23: .line 395
      StackMap locals:
      StackMap stack:
            iload 5 /* phase */
            iconst_1
            iadd
            ldc 2147483647
            iand
            istore 11 /* nextPhase */
        start local 11 // int nextPhase
        24: .line 396
            lload 8 /* n */
            iload 11 /* nextPhase */
            i2l
            bipush 32
            lshl
            lor
            lstore 8 /* n */
        25: .line 397
            getstatic java.util.concurrent.Phaser.STATE:Ljava/lang/invoke/VarHandle;
            aload 0 /* this */
            lload 3 /* s */
            lload 8 /* n */
            invokevirtual java.lang.invoke.VarHandle.compareAndSet:(Ljava/util/concurrent/Phaser;JJ)V
        26: .line 398
            aload 0 /* this */
            iload 5 /* phase */
            invokevirtual java.util.concurrent.Phaser.releaseWaiters:(I)V
        end local 11 // int nextPhase
        27: .line 399
            goto 33
        28: .line 400
      StackMap locals:
      StackMap stack:
            iload 10 /* nextUnarrived */
            ifne 32
        29: .line 401
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.parent:Ljava/util/concurrent/Phaser;
            ldc 65537
            invokevirtual java.util.concurrent.Phaser.doArrive:(I)I
            istore 5 /* phase */
        30: .line 402
            getstatic java.util.concurrent.Phaser.STATE:Ljava/lang/invoke/VarHandle;
            aload 0 /* this */
            lload 3 /* s */
            lload 3 /* s */
            lconst_1
            lor
            invokevirtual java.lang.invoke.VarHandle.compareAndSet:(Ljava/util/concurrent/Phaser;JJ)V
        31: .line 403
            goto 33
        32: .line 405
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.parent:Ljava/util/concurrent/Phaser;
            iconst_1
            invokevirtual java.util.concurrent.Phaser.doArrive:(I)I
            istore 5 /* phase */
        end local 10 // int nextUnarrived
        end local 8 // long n
        33: .line 407
      StackMap locals:
      StackMap stack:
            iload 5 /* phase */
            ireturn
        end local 7 // int unarrived
        end local 6 // int counts
        end local 5 // int phase
        end local 3 // long s
        end local 2 // java.util.concurrent.Phaser root
        end local 1 // int adjust
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   34     0           this  Ljava/util/concurrent/Phaser;
            0   34     1         adjust  I
            1   34     2           root  Ljava/util/concurrent/Phaser;
            4   34     3              s  J
            5   34     5          phase  I
            8   34     6         counts  I
           11   34     7      unarrived  I
           16   33     8              n  J
           17   33    10  nextUnarrived  I
           24   27    11      nextPhase  I
    MethodParameters:
        Name  Flags
      adjust  

  private int doRegister(int);
    descriptor: (I)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=8, locals=13, args_size=2
        start local 0 // java.util.concurrent.Phaser this
        start local 1 // int registrations
         0: .line 420
            iload 1 /* registrations */
            i2l
            bipush 16
            lshl
            iload 1 /* registrations */
            i2l
            lor
            lstore 2 /* adjust */
        start local 2 // long adjust
         1: .line 421
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.parent:Ljava/util/concurrent/Phaser;
            astore 4 /* parent */
        start local 4 // java.util.concurrent.Phaser parent
         2: .line 424
      StackMap locals: long java.util.concurrent.Phaser
      StackMap stack:
            aload 4 /* parent */
            ifnonnull 3
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.state:J
            goto 4
      StackMap locals:
      StackMap stack:
         3: aload 0 /* this */
            invokevirtual java.util.concurrent.Phaser.reconcileState:()J
      StackMap locals:
      StackMap stack: long
         4: lstore 6 /* s */
        start local 6 // long s
         5: .line 425
            lload 6 /* s */
            l2i
            istore 8 /* counts */
        start local 8 // int counts
         6: .line 426
            iload 8 /* counts */
            bipush 16
            iushr
            istore 9 /* parties */
        start local 9 // int parties
         7: .line 427
            iload 8 /* counts */
            ldc 65535
            iand
            istore 10 /* unarrived */
        start local 10 // int unarrived
         8: .line 428
            iload 1 /* registrations */
            ldc 65535
            iload 9 /* parties */
            isub
            if_icmple 10
         9: .line 429
            new java.lang.IllegalStateException
            dup
            aload 0 /* this */
            lload 6 /* s */
            invokevirtual java.util.concurrent.Phaser.badRegister:(J)Ljava/lang/String;
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
        10: .line 430
      StackMap locals: java.util.concurrent.Phaser int long java.util.concurrent.Phaser top long int int int
      StackMap stack:
            lload 6 /* s */
            bipush 32
            lushr
            l2i
            istore 5 /* phase */
        start local 5 // int phase
        11: .line 431
            iload 5 /* phase */
            ifge 13
        12: .line 432
            goto 42
        13: .line 433
      StackMap locals: java.util.concurrent.Phaser int long java.util.concurrent.Phaser int long int int int
      StackMap stack:
            iload 8 /* counts */
            iconst_1
            if_icmpeq 19
        14: .line 434
            aload 4 /* parent */
            ifnull 15
            aload 0 /* this */
            invokevirtual java.util.concurrent.Phaser.reconcileState:()J
            lload 6 /* s */
            lcmp
            ifne 2
        15: .line 435
      StackMap locals:
      StackMap stack:
            iload 10 /* unarrived */
            ifne 17
        16: .line 436
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.root:Ljava/util/concurrent/Phaser;
            iload 5 /* phase */
            aconst_null
            invokevirtual java.util.concurrent.Phaser.internalAwaitAdvance:(ILjava/util/concurrent/Phaser$QNode;)I
            pop
            goto 2
        17: .line 437
      StackMap locals:
      StackMap stack:
            getstatic java.util.concurrent.Phaser.STATE:Ljava/lang/invoke/VarHandle;
            aload 0 /* this */
            lload 6 /* s */
            lload 6 /* s */
            lload 2 /* adjust */
            ladd
            invokevirtual java.lang.invoke.VarHandle.compareAndSet:(Ljava/util/concurrent/Phaser;JJ)Z
            ifeq 2
        18: .line 438
            goto 42
        19: .line 441
      StackMap locals:
      StackMap stack:
            aload 4 /* parent */
            ifnonnull 23
        20: .line 442
            iload 5 /* phase */
            i2l
            bipush 32
            lshl
            lload 2 /* adjust */
            lor
            lstore 11 /* next */
        start local 11 // long next
        21: .line 443
            getstatic java.util.concurrent.Phaser.STATE:Ljava/lang/invoke/VarHandle;
            aload 0 /* this */
            lload 6 /* s */
            lload 11 /* next */
            invokevirtual java.lang.invoke.VarHandle.compareAndSet:(Ljava/util/concurrent/Phaser;JJ)Z
            ifeq 2
        22: .line 444
            goto 42
        end local 11 // long next
        23: .line 447
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            astore 11
            monitorenter
        24: .line 448
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.state:J
            lload 6 /* s */
            lcmp
            ifne 38
        25: .line 449
            aload 4 /* parent */
            iconst_1
            invokevirtual java.util.concurrent.Phaser.doRegister:(I)I
            istore 5 /* phase */
        26: .line 450
            iload 5 /* phase */
            ifge 31
        27: .line 451
            aload 11
            monitorexit
        28: goto 42
        29: .line 458
      StackMap locals: java.util.concurrent.Phaser
      StackMap stack:
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.state:J
            lstore 6 /* s */
        30: .line 459
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.root:Ljava/util/concurrent/Phaser;
            getfield java.util.concurrent.Phaser.state:J
            bipush 32
            lushr
            l2i
            istore 5 /* phase */
        31: .line 455
      StackMap locals:
      StackMap stack:
            getstatic java.util.concurrent.Phaser.STATE:Ljava/lang/invoke/VarHandle;
        32: .line 456
            aload 0 /* this */
            lload 6 /* s */
        33: .line 457
            iload 5 /* phase */
            i2l
            bipush 32
            lshl
            lload 2 /* adjust */
            lor
        34: .line 455
            invokevirtual java.lang.invoke.VarHandle.weakCompareAndSet:(Ljava/util/concurrent/Phaser;JJ)Z
        35: .line 457
            ifeq 29
        36: .line 462
            aload 11
            monitorexit
        37: goto 42
        38: .line 447
      StackMap locals:
      StackMap stack:
            aload 11
            monitorexit
        39: goto 2
      StackMap locals:
      StackMap stack: java.lang.Throwable
        40: aload 11
            monitorexit
        41: athrow
        end local 10 // int unarrived
        end local 9 // int parties
        end local 8 // int counts
        end local 6 // long s
        42: .line 467
      StackMap locals: java.util.concurrent.Phaser int long java.util.concurrent.Phaser int
      StackMap stack:
            iload 5 /* phase */
            ireturn
        end local 5 // int phase
        end local 4 // java.util.concurrent.Phaser parent
        end local 2 // long adjust
        end local 1 // int registrations
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   43     0           this  Ljava/util/concurrent/Phaser;
            0   43     1  registrations  I
            1   43     2         adjust  J
            2   43     4         parent  Ljava/util/concurrent/Phaser;
           11   43     5          phase  I
            5   42     6              s  J
            6   42     8         counts  I
            7   42     9        parties  I
            8   42    10      unarrived  I
           21   23    11           next  J
      Exception table:
        from    to  target  type
          24    28      40  any
          29    37      40  any
          38    39      40  any
          40    41      40  any
    MethodParameters:
               Name  Flags
      registrations  

  private long reconcileState();
    descriptor: ()J
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=10, locals=6, args_size=1
        start local 0 // java.util.concurrent.Phaser this
         0: .line 480
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.root:Ljava/util/concurrent/Phaser;
            astore 1 /* root */
        start local 1 // java.util.concurrent.Phaser root
         1: .line 481
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.state:J
            lstore 2 /* s */
        start local 2 // long s
         2: .line 482
            aload 1 /* root */
            aload 0 /* this */
            if_acmpeq 18
         3: .line 485
            goto 5
        start local 4 // int phase
         4: .line 493
      StackMap locals: java.util.concurrent.Phaser long int
      StackMap stack:
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.state:J
            lstore 2 /* s */
        end local 4 // int phase
         5: .line 485
      StackMap locals:
      StackMap stack:
            aload 1 /* root */
            getfield java.util.concurrent.Phaser.state:J
            bipush 32
            lushr
            l2i
            dup
            istore 4 /* phase */
        start local 4 // int phase
         6: .line 486
            lload 2 /* s */
            bipush 32
            lushr
            l2i
         7: .line 485
            if_icmpeq 18
         8: .line 487
            getstatic java.util.concurrent.Phaser.STATE:Ljava/lang/invoke/VarHandle;
         9: .line 488
            aload 0 /* this */
            lload 2 /* s */
        10: .line 489
            iload 4 /* phase */
            i2l
            bipush 32
            lshl
        11: .line 490
            iload 4 /* phase */
            ifge 12
            lload 2 /* s */
            ldc 4294967295
            land
            goto 15
        12: .line 491
      StackMap locals: java.util.concurrent.Phaser java.util.concurrent.Phaser long int
      StackMap stack: java.lang.invoke.VarHandle java.util.concurrent.Phaser long long
            lload 2 /* s */
            l2i
            bipush 16
            iushr
            dup
            istore 5 /* p */
        start local 5 // int p
        13: ifne 14
            lconst_1
            goto 15
        14: .line 492
      StackMap locals: java.util.concurrent.Phaser java.util.concurrent.Phaser long int int
      StackMap stack: java.lang.invoke.VarHandle java.util.concurrent.Phaser long long
            lload 2 /* s */
            ldc 4294901760
            land
            iload 5 /* p */
            i2l
            lor
        end local 5 // int p
        15: .line 489
      StackMap locals: java.util.concurrent.Phaser java.util.concurrent.Phaser long int
      StackMap stack: java.lang.invoke.VarHandle java.util.concurrent.Phaser long long long
            lor
            dup2
            lstore 2 /* s */
        16: .line 487
            invokevirtual java.lang.invoke.VarHandle.weakCompareAndSet:(Ljava/util/concurrent/Phaser;JJ)Z
        17: .line 492
            ifeq 4
        end local 4 // int phase
        18: .line 495
      StackMap locals:
      StackMap stack:
            lload 2 /* s */
            lreturn
        end local 2 // long s
        end local 1 // java.util.concurrent.Phaser root
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   19     0   this  Ljava/util/concurrent/Phaser;
            1   19     1   root  Ljava/util/concurrent/Phaser;
            2   19     2      s  J
            4    5     4  phase  I
            6   18     4  phase  I
           13   15     5      p  I

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.util.concurrent.Phaser this
         0: .line 504
            aload 0 /* this */
            aconst_null
            iconst_0
            invokespecial java.util.concurrent.Phaser.<init>:(Ljava/util/concurrent/Phaser;I)V
         1: .line 505
            return
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljava/util/concurrent/Phaser;

  public void <init>(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.util.concurrent.Phaser this
        start local 1 // int parties
         0: .line 517
            aload 0 /* this */
            aconst_null
            iload 1 /* parties */
            invokespecial java.util.concurrent.Phaser.<init>:(Ljava/util/concurrent/Phaser;I)V
         1: .line 518
            return
        end local 1 // int parties
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Ljava/util/concurrent/Phaser;
            0    2     1  parties  I
    MethodParameters:
         Name  Flags
      parties  

  public void <init>(java.util.concurrent.Phaser);
    descriptor: (Ljava/util/concurrent/Phaser;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.util.concurrent.Phaser this
        start local 1 // java.util.concurrent.Phaser parent
         0: .line 526
            aload 0 /* this */
            aload 1 /* parent */
            iconst_0
            invokespecial java.util.concurrent.Phaser.<init>:(Ljava/util/concurrent/Phaser;I)V
         1: .line 527
            return
        end local 1 // java.util.concurrent.Phaser parent
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Ljava/util/concurrent/Phaser;
            0    2     1  parent  Ljava/util/concurrent/Phaser;
    MethodParameters:
        Name  Flags
      parent  

  public void <init>(java.util.concurrent.Phaser, int);
    descriptor: (Ljava/util/concurrent/Phaser;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=5, args_size=3
        start local 0 // java.util.concurrent.Phaser this
        start local 1 // java.util.concurrent.Phaser parent
        start local 2 // int parties
         0: .line 541
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 542
            iload 2 /* parties */
            bipush 16
            iushr
            ifeq 3
         2: .line 543
            new java.lang.IllegalArgumentException
            dup
            ldc "Illegal number of parties"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 544
      StackMap locals: java.util.concurrent.Phaser java.util.concurrent.Phaser int
      StackMap stack:
            iconst_0
            istore 3 /* phase */
        start local 3 // int phase
         4: .line 545
            aload 0 /* this */
            aload 1 /* parent */
            putfield java.util.concurrent.Phaser.parent:Ljava/util/concurrent/Phaser;
         5: .line 546
            aload 1 /* parent */
            ifnull 13
         6: .line 547
            aload 1 /* parent */
            getfield java.util.concurrent.Phaser.root:Ljava/util/concurrent/Phaser;
            astore 4 /* root */
        start local 4 // java.util.concurrent.Phaser root
         7: .line 548
            aload 0 /* this */
            aload 4 /* root */
            putfield java.util.concurrent.Phaser.root:Ljava/util/concurrent/Phaser;
         8: .line 549
            aload 0 /* this */
            aload 4 /* root */
            getfield java.util.concurrent.Phaser.evenQ:Ljava/util/concurrent/atomic/AtomicReference;
            putfield java.util.concurrent.Phaser.evenQ:Ljava/util/concurrent/atomic/AtomicReference;
         9: .line 550
            aload 0 /* this */
            aload 4 /* root */
            getfield java.util.concurrent.Phaser.oddQ:Ljava/util/concurrent/atomic/AtomicReference;
            putfield java.util.concurrent.Phaser.oddQ:Ljava/util/concurrent/atomic/AtomicReference;
        10: .line 551
            iload 2 /* parties */
            ifeq 16
        11: .line 552
            aload 1 /* parent */
            iconst_1
            invokevirtual java.util.concurrent.Phaser.doRegister:(I)I
            istore 3 /* phase */
        end local 4 // java.util.concurrent.Phaser root
        12: .line 553
            goto 16
        13: .line 555
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            putfield java.util.concurrent.Phaser.root:Ljava/util/concurrent/Phaser;
        14: .line 556
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicReference
            dup
            invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
            putfield java.util.concurrent.Phaser.evenQ:Ljava/util/concurrent/atomic/AtomicReference;
        15: .line 557
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicReference
            dup
            invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
            putfield java.util.concurrent.Phaser.oddQ:Ljava/util/concurrent/atomic/AtomicReference;
        16: .line 559
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 2 /* parties */
            ifne 17
            lconst_1
            goto 22
        17: .line 560
      StackMap locals:
      StackMap stack: java.util.concurrent.Phaser
            iload 3 /* phase */
            i2l
            bipush 32
            lshl
        18: .line 561
            iload 2 /* parties */
            i2l
            bipush 16
            lshl
        19: .line 560
            lor
        20: .line 562
            iload 2 /* parties */
            i2l
        21: .line 560
            lor
        22: .line 559
      StackMap locals: java.util.concurrent.Phaser java.util.concurrent.Phaser int int
      StackMap stack: java.util.concurrent.Phaser long
            putfield java.util.concurrent.Phaser.state:J
        23: .line 563
            return
        end local 3 // int phase
        end local 2 // int parties
        end local 1 // java.util.concurrent.Phaser parent
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   24     0     this  Ljava/util/concurrent/Phaser;
            0   24     1   parent  Ljava/util/concurrent/Phaser;
            0   24     2  parties  I
            4   24     3    phase  I
            7   12     4     root  Ljava/util/concurrent/Phaser;
    MethodParameters:
         Name  Flags
      parent   
      parties  

  public int register();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.util.concurrent.Phaser this
         0: .line 581
            aload 0 /* this */
            iconst_1
            invokevirtual java.util.concurrent.Phaser.doRegister:(I)I
            ireturn
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/util/concurrent/Phaser;

  public int bulkRegister(int);
    descriptor: (I)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.util.concurrent.Phaser this
        start local 1 // int parties
         0: .line 604
            iload 1 /* parties */
            ifge 2
         1: .line 605
            new java.lang.IllegalArgumentException
            dup
            invokespecial java.lang.IllegalArgumentException.<init>:()V
            athrow
         2: .line 606
      StackMap locals:
      StackMap stack:
            iload 1 /* parties */
            ifne 4
         3: .line 607
            aload 0 /* this */
            invokevirtual java.util.concurrent.Phaser.getPhase:()I
            ireturn
         4: .line 608
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* parties */
            invokevirtual java.util.concurrent.Phaser.doRegister:(I)I
            ireturn
        end local 1 // int parties
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Ljava/util/concurrent/Phaser;
            0    5     1  parties  I
    MethodParameters:
         Name  Flags
      parties  

  public int arrive();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.util.concurrent.Phaser this
         0: .line 624
            aload 0 /* this */
            iconst_1
            invokevirtual java.util.concurrent.Phaser.doArrive:(I)I
            ireturn
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/util/concurrent/Phaser;

  public int arriveAndDeregister();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.util.concurrent.Phaser this
         0: .line 644
            aload 0 /* this */
            ldc 65537
            invokevirtual java.util.concurrent.Phaser.doArrive:(I)I
            ireturn
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/util/concurrent/Phaser;

  public int arriveAndAwaitAdvance();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=11, args_size=1
        start local 0 // java.util.concurrent.Phaser this
         0: .line 667
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.root:Ljava/util/concurrent/Phaser;
            astore 1 /* root */
        start local 1 // java.util.concurrent.Phaser root
         1: .line 669
      StackMap locals: java.util.concurrent.Phaser
      StackMap stack:
            aload 1 /* root */
            aload 0 /* this */
            if_acmpne 2
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.state:J
            goto 3
      StackMap locals:
      StackMap stack:
         2: aload 0 /* this */
            invokevirtual java.util.concurrent.Phaser.reconcileState:()J
      StackMap locals:
      StackMap stack: long
         3: lstore 2 /* s */
        start local 2 // long s
         4: .line 670
            lload 2 /* s */
            bipush 32
            lushr
            l2i
            istore 4 /* phase */
        start local 4 // int phase
         5: .line 671
            iload 4 /* phase */
            ifge 7
         6: .line 672
            iload 4 /* phase */
            ireturn
         7: .line 673
      StackMap locals: long int
      StackMap stack:
            lload 2 /* s */
            l2i
            istore 5 /* counts */
        start local 5 // int counts
         8: .line 674
            iload 5 /* counts */
            iconst_1
            if_icmpne 9
            iconst_0
            goto 10
      StackMap locals: int
      StackMap stack:
         9: iload 5 /* counts */
            ldc 65535
            iand
      StackMap locals:
      StackMap stack: int
        10: istore 6 /* unarrived */
        start local 6 // int unarrived
        11: .line 675
            iload 6 /* unarrived */
            ifgt 13
        12: .line 676
            new java.lang.IllegalStateException
            dup
            aload 0 /* this */
            lload 2 /* s */
            invokevirtual java.util.concurrent.Phaser.badArrive:(J)Ljava/lang/String;
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
        13: .line 677
      StackMap locals: int
      StackMap stack:
            getstatic java.util.concurrent.Phaser.STATE:Ljava/lang/invoke/VarHandle;
            aload 0 /* this */
            lload 2 /* s */
            lload 2 /* s */
            lconst_1
            lsub
            dup2
            lstore 2 /* s */
            invokevirtual java.lang.invoke.VarHandle.compareAndSet:(Ljava/util/concurrent/Phaser;JJ)Z
            ifeq 1
        14: .line 678
            iload 6 /* unarrived */
            iconst_1
            if_icmple 16
        15: .line 679
            aload 1 /* root */
            iload 4 /* phase */
            aconst_null
            invokevirtual java.util.concurrent.Phaser.internalAwaitAdvance:(ILjava/util/concurrent/Phaser$QNode;)I
            ireturn
        16: .line 680
      StackMap locals:
      StackMap stack:
            aload 1 /* root */
            aload 0 /* this */
            if_acmpeq 18
        17: .line 681
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.parent:Ljava/util/concurrent/Phaser;
            invokevirtual java.util.concurrent.Phaser.arriveAndAwaitAdvance:()I
            ireturn
        18: .line 682
      StackMap locals:
      StackMap stack:
            lload 2 /* s */
            ldc 4294901760
            land
            lstore 7 /* n */
        start local 7 // long n
        19: .line 683
            lload 7 /* n */
            l2i
            bipush 16
            iushr
            istore 9 /* nextUnarrived */
        start local 9 // int nextUnarrived
        20: .line 684
            aload 0 /* this */
            iload 4 /* phase */
            iload 9 /* nextUnarrived */
            invokevirtual java.util.concurrent.Phaser.onAdvance:(II)Z
            ifeq 22
        21: .line 685
            lload 7 /* n */
            ldc -9223372036854775808
            lor
            lstore 7 /* n */
            goto 25
        22: .line 686
      StackMap locals: long int
      StackMap stack:
            iload 9 /* nextUnarrived */
            ifne 24
        23: .line 687
            lload 7 /* n */
            lconst_1
            lor
            lstore 7 /* n */
            goto 25
        24: .line 689
      StackMap locals:
      StackMap stack:
            lload 7 /* n */
            iload 9 /* nextUnarrived */
            i2l
            lor
            lstore 7 /* n */
        25: .line 690
      StackMap locals:
      StackMap stack:
            iload 4 /* phase */
            iconst_1
            iadd
            ldc 2147483647
            iand
            istore 10 /* nextPhase */
        start local 10 // int nextPhase
        26: .line 691
            lload 7 /* n */
            iload 10 /* nextPhase */
            i2l
            bipush 32
            lshl
            lor
            lstore 7 /* n */
        27: .line 692
            getstatic java.util.concurrent.Phaser.STATE:Ljava/lang/invoke/VarHandle;
            aload 0 /* this */
            lload 2 /* s */
            lload 7 /* n */
            invokevirtual java.lang.invoke.VarHandle.compareAndSet:(Ljava/util/concurrent/Phaser;JJ)Z
            ifne 29
        28: .line 693
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.state:J
            bipush 32
            lushr
            l2i
            ireturn
        29: .line 694
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            iload 4 /* phase */
            invokevirtual java.util.concurrent.Phaser.releaseWaiters:(I)V
        30: .line 695
            iload 10 /* nextPhase */
            ireturn
        end local 10 // int nextPhase
        end local 9 // int nextUnarrived
        end local 7 // long n
        end local 6 // int unarrived
        end local 5 // int counts
        end local 4 // int phase
        end local 2 // long s
        end local 1 // java.util.concurrent.Phaser root
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   31     0           this  Ljava/util/concurrent/Phaser;
            1   31     1           root  Ljava/util/concurrent/Phaser;
            4   31     2              s  J
            5   31     4          phase  I
            8   31     5         counts  I
           11   31     6      unarrived  I
           19   31     7              n  J
           20   31     9  nextUnarrived  I
           26   31    10      nextPhase  I

  public int awaitAdvance(int);
    descriptor: (I)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=6, args_size=2
        start local 0 // java.util.concurrent.Phaser this
        start local 1 // int phase
         0: .line 713
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.root:Ljava/util/concurrent/Phaser;
            astore 2 /* root */
        start local 2 // java.util.concurrent.Phaser root
         1: .line 714
            aload 2 /* root */
            aload 0 /* this */
            if_acmpne 2
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.state:J
            goto 3
      StackMap locals: java.util.concurrent.Phaser
      StackMap stack:
         2: aload 0 /* this */
            invokevirtual java.util.concurrent.Phaser.reconcileState:()J
      StackMap locals:
      StackMap stack: long
         3: lstore 3 /* s */
        start local 3 // long s
         4: .line 715
            lload 3 /* s */
            bipush 32
            lushr
            l2i
            istore 5 /* p */
        start local 5 // int p
         5: .line 716
            iload 1 /* phase */
            ifge 7
         6: .line 717
            iload 1 /* phase */
            ireturn
         7: .line 718
      StackMap locals: long int
      StackMap stack:
            iload 5 /* p */
            iload 1 /* phase */
            if_icmpne 9
         8: .line 719
            aload 2 /* root */
            iload 1 /* phase */
            aconst_null
            invokevirtual java.util.concurrent.Phaser.internalAwaitAdvance:(ILjava/util/concurrent/Phaser$QNode;)I
            ireturn
         9: .line 720
      StackMap locals:
      StackMap stack:
            iload 5 /* p */
            ireturn
        end local 5 // int p
        end local 3 // long s
        end local 2 // java.util.concurrent.Phaser root
        end local 1 // int phase
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   10     0   this  Ljava/util/concurrent/Phaser;
            0   10     1  phase  I
            1   10     2   root  Ljava/util/concurrent/Phaser;
            4   10     3      s  J
            5   10     5      p  I
    MethodParameters:
       Name  Flags
      phase  

  public int awaitAdvanceInterruptibly(int);
    descriptor: (I)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=7, args_size=2
        start local 0 // java.util.concurrent.Phaser this
        start local 1 // int phase
         0: .line 740
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.root:Ljava/util/concurrent/Phaser;
            astore 2 /* root */
        start local 2 // java.util.concurrent.Phaser root
         1: .line 741
            aload 2 /* root */
            aload 0 /* this */
            if_acmpne 2
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.state:J
            goto 3
      StackMap locals: java.util.concurrent.Phaser
      StackMap stack:
         2: aload 0 /* this */
            invokevirtual java.util.concurrent.Phaser.reconcileState:()J
      StackMap locals:
      StackMap stack: long
         3: lstore 3 /* s */
        start local 3 // long s
         4: .line 742
            lload 3 /* s */
            bipush 32
            lushr
            l2i
            istore 5 /* p */
        start local 5 // int p
         5: .line 743
            iload 1 /* phase */
            ifge 7
         6: .line 744
            iload 1 /* phase */
            ireturn
         7: .line 745
      StackMap locals: long int
      StackMap stack:
            iload 5 /* p */
            iload 1 /* phase */
            if_icmpne 12
         8: .line 746
            new java.util.concurrent.Phaser$QNode
            dup
            aload 0 /* this */
            iload 1 /* phase */
            iconst_1
            iconst_0
            lconst_0
            invokespecial java.util.concurrent.Phaser$QNode.<init>:(Ljava/util/concurrent/Phaser;IZZJ)V
            astore 6 /* node */
        start local 6 // java.util.concurrent.Phaser$QNode node
         9: .line 747
            aload 2 /* root */
            iload 1 /* phase */
            aload 6 /* node */
            invokevirtual java.util.concurrent.Phaser.internalAwaitAdvance:(ILjava/util/concurrent/Phaser$QNode;)I
            istore 5 /* p */
        10: .line 748
            aload 6 /* node */
            getfield java.util.concurrent.Phaser$QNode.wasInterrupted:Z
            ifeq 12
        11: .line 749
            new java.lang.InterruptedException
            dup
            invokespecial java.lang.InterruptedException.<init>:()V
            athrow
        end local 6 // java.util.concurrent.Phaser$QNode node
        12: .line 751
      StackMap locals:
      StackMap stack:
            iload 5 /* p */
            ireturn
        end local 5 // int p
        end local 3 // long s
        end local 2 // java.util.concurrent.Phaser root
        end local 1 // int phase
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   13     0   this  Ljava/util/concurrent/Phaser;
            0   13     1  phase  I
            1   13     2   root  Ljava/util/concurrent/Phaser;
            4   13     3      s  J
            5   13     5      p  I
            9   12     6   node  Ljava/util/concurrent/Phaser$QNode;
    Exceptions:
      throws java.lang.InterruptedException
    MethodParameters:
       Name  Flags
      phase  

  public int awaitAdvanceInterruptibly(int, long, java.util.concurrent.TimeUnit);
    descriptor: (IJLjava/util/concurrent/TimeUnit;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=12, args_size=4
        start local 0 // java.util.concurrent.Phaser this
        start local 1 // int phase
        start local 2 // long timeout
        start local 4 // java.util.concurrent.TimeUnit unit
         0: .line 777
            aload 4 /* unit */
            lload 2 /* timeout */
            invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
            lstore 5 /* nanos */
        start local 5 // long nanos
         1: .line 778
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.root:Ljava/util/concurrent/Phaser;
            astore 7 /* root */
        start local 7 // java.util.concurrent.Phaser root
         2: .line 779
            aload 7 /* root */
            aload 0 /* this */
            if_acmpne 3
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.state:J
            goto 4
      StackMap locals: long java.util.concurrent.Phaser
      StackMap stack:
         3: aload 0 /* this */
            invokevirtual java.util.concurrent.Phaser.reconcileState:()J
      StackMap locals:
      StackMap stack: long
         4: lstore 8 /* s */
        start local 8 // long s
         5: .line 780
            lload 8 /* s */
            bipush 32
            lushr
            l2i
            istore 10 /* p */
        start local 10 // int p
         6: .line 781
            iload 1 /* phase */
            ifge 8
         7: .line 782
            iload 1 /* phase */
            ireturn
         8: .line 783
      StackMap locals: long int
      StackMap stack:
            iload 10 /* p */
            iload 1 /* phase */
            if_icmpne 15
         9: .line 784
            new java.util.concurrent.Phaser$QNode
            dup
            aload 0 /* this */
            iload 1 /* phase */
            iconst_1
            iconst_1
            lload 5 /* nanos */
            invokespecial java.util.concurrent.Phaser$QNode.<init>:(Ljava/util/concurrent/Phaser;IZZJ)V
            astore 11 /* node */
        start local 11 // java.util.concurrent.Phaser$QNode node
        10: .line 785
            aload 7 /* root */
            iload 1 /* phase */
            aload 11 /* node */
            invokevirtual java.util.concurrent.Phaser.internalAwaitAdvance:(ILjava/util/concurrent/Phaser$QNode;)I
            istore 10 /* p */
        11: .line 786
            aload 11 /* node */
            getfield java.util.concurrent.Phaser$QNode.wasInterrupted:Z
            ifeq 13
        12: .line 787
            new java.lang.InterruptedException
            dup
            invokespecial java.lang.InterruptedException.<init>:()V
            athrow
        13: .line 788
      StackMap locals: java.util.concurrent.Phaser$QNode
      StackMap stack:
            iload 10 /* p */
            iload 1 /* phase */
            if_icmpne 15
        14: .line 789
            new java.util.concurrent.TimeoutException
            dup
            invokespecial java.util.concurrent.TimeoutException.<init>:()V
            athrow
        end local 11 // java.util.concurrent.Phaser$QNode node
        15: .line 791
      StackMap locals:
      StackMap stack:
            iload 10 /* p */
            ireturn
        end local 10 // int p
        end local 8 // long s
        end local 7 // java.util.concurrent.Phaser root
        end local 5 // long nanos
        end local 4 // java.util.concurrent.TimeUnit unit
        end local 2 // long timeout
        end local 1 // int phase
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   16     0     this  Ljava/util/concurrent/Phaser;
            0   16     1    phase  I
            0   16     2  timeout  J
            0   16     4     unit  Ljava/util/concurrent/TimeUnit;
            1   16     5    nanos  J
            2   16     7     root  Ljava/util/concurrent/Phaser;
            5   16     8        s  J
            6   16    10        p  I
           10   15    11     node  Ljava/util/concurrent/Phaser$QNode;
    Exceptions:
      throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
    MethodParameters:
         Name  Flags
      phase    
      timeout  
      unit     

  public void forceTermination();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=4, args_size=1
        start local 0 // java.util.concurrent.Phaser this
         0: .line 805
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.root:Ljava/util/concurrent/Phaser;
            astore 1 /* root */
        start local 1 // java.util.concurrent.Phaser root
         1: .line 807
            goto 6
        start local 2 // long s
         2: .line 808
      StackMap locals: java.util.concurrent.Phaser long
      StackMap stack:
            getstatic java.util.concurrent.Phaser.STATE:Ljava/lang/invoke/VarHandle;
            aload 1 /* root */
            lload 2 /* s */
            lload 2 /* s */
            ldc -9223372036854775808
            lor
            invokevirtual java.lang.invoke.VarHandle.compareAndSet:(Ljava/util/concurrent/Phaser;JJ)Z
            ifeq 6
         3: .line 810
            aload 0 /* this */
            iconst_0
            invokevirtual java.util.concurrent.Phaser.releaseWaiters:(I)V
         4: .line 811
            aload 0 /* this */
            iconst_1
            invokevirtual java.util.concurrent.Phaser.releaseWaiters:(I)V
         5: .line 812
            return
        end local 2 // long s
         6: .line 807
      StackMap locals:
      StackMap stack:
            aload 1 /* root */
            getfield java.util.concurrent.Phaser.state:J
            dup2
            lstore 2 /* s */
        start local 2 // long s
         7: lconst_0
            lcmp
            ifge 2
         8: .line 815
            return
        end local 2 // long s
        end local 1 // java.util.concurrent.Phaser root
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Ljava/util/concurrent/Phaser;
            1    9     1  root  Ljava/util/concurrent/Phaser;
            2    6     2     s  J
            7    9     2     s  J

  public final int getPhase();
    descriptor: ()I
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.util.concurrent.Phaser this
         0: .line 827
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.root:Ljava/util/concurrent/Phaser;
            getfield java.util.concurrent.Phaser.state:J
            bipush 32
            lushr
            l2i
            ireturn
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/util/concurrent/Phaser;

  public int getRegisteredParties();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.util.concurrent.Phaser this
         0: .line 836
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.state:J
            invokestatic java.util.concurrent.Phaser.partiesOf:(J)I
            ireturn
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/util/concurrent/Phaser;

  public int getArrivedParties();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.util.concurrent.Phaser this
         0: .line 847
            aload 0 /* this */
            invokevirtual java.util.concurrent.Phaser.reconcileState:()J
            invokestatic java.util.concurrent.Phaser.arrivedOf:(J)I
            ireturn
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/util/concurrent/Phaser;

  public int getUnarrivedParties();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.util.concurrent.Phaser this
         0: .line 858
            aload 0 /* this */
            invokevirtual java.util.concurrent.Phaser.reconcileState:()J
            invokestatic java.util.concurrent.Phaser.unarrivedOf:(J)I
            ireturn
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/util/concurrent/Phaser;

  public java.util.concurrent.Phaser getParent();
    descriptor: ()Ljava/util/concurrent/Phaser;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.util.concurrent.Phaser this
         0: .line 867
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.parent:Ljava/util/concurrent/Phaser;
            areturn
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/util/concurrent/Phaser;

  public java.util.concurrent.Phaser getRoot();
    descriptor: ()Ljava/util/concurrent/Phaser;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.util.concurrent.Phaser this
         0: .line 877
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.root:Ljava/util/concurrent/Phaser;
            areturn
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/util/concurrent/Phaser;

  public boolean isTerminated();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.util.concurrent.Phaser this
         0: .line 886
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.root:Ljava/util/concurrent/Phaser;
            getfield java.util.concurrent.Phaser.state:J
            lconst_0
            lcmp
            ifge 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljava/util/concurrent/Phaser;

  protected boolean onAdvance(int, int);
    descriptor: (II)Z
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=3, args_size=3
        start local 0 // java.util.concurrent.Phaser this
        start local 1 // int phase
        start local 2 // int registeredParties
         0: .line 930
            iload 2 /* registeredParties */
            ifne 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 2 // int registeredParties
        end local 1 // int phase
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    2     0               this  Ljava/util/concurrent/Phaser;
            0    2     1              phase  I
            0    2     2  registeredParties  I
    MethodParameters:
                   Name  Flags
      phase              
      registeredParties  

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.util.concurrent.Phaser this
         0: .line 943
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual java.util.concurrent.Phaser.reconcileState:()J
            invokevirtual java.util.concurrent.Phaser.stateToString:(J)Ljava/lang/String;
            areturn
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljava/util/concurrent/Phaser;

  private java.lang.String stateToString(long);
    descriptor: (J)Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // java.util.concurrent.Phaser this
        start local 1 // long s
         0: .line 950
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            invokespecial java.lang.Object.toString:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         1: .line 951
            ldc "[phase = "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            lload 1 /* s */
            invokestatic java.util.concurrent.Phaser.phaseOf:(J)I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
         2: .line 952
            ldc " parties = "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            lload 1 /* s */
            invokestatic java.util.concurrent.Phaser.partiesOf:(J)I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
         3: .line 953
            ldc " arrived = "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            lload 1 /* s */
            invokestatic java.util.concurrent.Phaser.arrivedOf:(J)I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc "]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         4: .line 950
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 1 // long s
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljava/util/concurrent/Phaser;
            0    5     1     s  J
    MethodParameters:
      Name  Flags
      s     

  private void releaseWaiters(int);
    descriptor: (I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // java.util.concurrent.Phaser this
        start local 1 // int phase
         0: .line 964
            iload 1 /* phase */
            iconst_1
            iand
            ifne 1
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.evenQ:Ljava/util/concurrent/atomic/AtomicReference;
            goto 2
      StackMap locals:
      StackMap stack:
         1: aload 0 /* this */
            getfield java.util.concurrent.Phaser.oddQ:Ljava/util/concurrent/atomic/AtomicReference;
      StackMap locals:
      StackMap stack: java.util.concurrent.atomic.AtomicReference
         2: astore 4 /* head */
        start local 4 // java.util.concurrent.atomic.AtomicReference head
         3: .line 965
            goto 9
        start local 2 // java.util.concurrent.Phaser$QNode q
         4: .line 967
      StackMap locals: java.util.concurrent.Phaser int java.util.concurrent.Phaser$QNode top java.util.concurrent.atomic.AtomicReference
      StackMap stack:
            aload 4 /* head */
            aload 2 /* q */
            aload 2 /* q */
            getfield java.util.concurrent.Phaser$QNode.next:Ljava/util/concurrent/Phaser$QNode;
            invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
            ifeq 9
         5: .line 968
            aload 2 /* q */
            getfield java.util.concurrent.Phaser$QNode.thread:Ljava/lang/Thread;
            dup
            astore 3 /* t */
        start local 3 // java.lang.Thread t
         6: ifnull 9
         7: .line 969
            aload 2 /* q */
            aconst_null
            putfield java.util.concurrent.Phaser$QNode.thread:Ljava/lang/Thread;
         8: .line 970
            aload 3 /* t */
            invokestatic java.util.concurrent.locks.LockSupport.unpark:(Ljava/lang/Thread;)V
        end local 3 // java.lang.Thread t
        end local 2 // java.util.concurrent.Phaser$QNode q
         9: .line 965
      StackMap locals: java.util.concurrent.Phaser int top top java.util.concurrent.atomic.AtomicReference
      StackMap stack:
            aload 4 /* head */
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast java.util.concurrent.Phaser$QNode
            dup
            astore 2 /* q */
        start local 2 // java.util.concurrent.Phaser$QNode q
        10: ifnull 12
        11: .line 966
            aload 2 /* q */
            getfield java.util.concurrent.Phaser$QNode.phase:I
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.root:Ljava/util/concurrent/Phaser;
            getfield java.util.concurrent.Phaser.state:J
            bipush 32
            lushr
            l2i
            if_icmpne 4
        12: .line 973
      StackMap locals: java.util.concurrent.Phaser int java.util.concurrent.Phaser$QNode top java.util.concurrent.atomic.AtomicReference
      StackMap stack:
            return
        end local 4 // java.util.concurrent.atomic.AtomicReference head
        end local 2 // java.util.concurrent.Phaser$QNode q
        end local 1 // int phase
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   13     0   this  Ljava/util/concurrent/Phaser;
            0   13     1  phase  I
            4    9     2      q  Ljava/util/concurrent/Phaser$QNode;
           10   13     2      q  Ljava/util/concurrent/Phaser$QNode;
            6    9     3      t  Ljava/lang/Thread;
            3   13     4   head  Ljava/util/concurrent/atomic/AtomicReference<Ljava/util/concurrent/Phaser$QNode;>;
    MethodParameters:
       Name  Flags
      phase  

  private int abortWait(int);
    descriptor: (I)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=6, args_size=2
        start local 0 // java.util.concurrent.Phaser this
        start local 1 // int phase
         0: .line 985
            iload 1 /* phase */
            iconst_1
            iand
            ifne 1
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.evenQ:Ljava/util/concurrent/atomic/AtomicReference;
            goto 2
      StackMap locals:
      StackMap stack:
         1: aload 0 /* this */
            getfield java.util.concurrent.Phaser.oddQ:Ljava/util/concurrent/atomic/AtomicReference;
      StackMap locals:
      StackMap stack: java.util.concurrent.atomic.AtomicReference
         2: astore 2 /* head */
        start local 2 // java.util.concurrent.atomic.AtomicReference head
         3: .line 988
      StackMap locals: java.util.concurrent.atomic.AtomicReference
      StackMap stack:
            aload 2 /* head */
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast java.util.concurrent.Phaser$QNode
            astore 4 /* q */
        start local 4 // java.util.concurrent.Phaser$QNode q
         4: .line 989
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.root:Ljava/util/concurrent/Phaser;
            getfield java.util.concurrent.Phaser.state:J
            bipush 32
            lushr
            l2i
            istore 5 /* p */
        start local 5 // int p
         5: .line 990
            aload 4 /* q */
            ifnull 7
            aload 4 /* q */
            getfield java.util.concurrent.Phaser$QNode.thread:Ljava/lang/Thread;
            dup
            astore 3 /* t */
        start local 3 // java.lang.Thread t
         6: ifnull 8
            aload 4 /* q */
            getfield java.util.concurrent.Phaser$QNode.phase:I
            iload 5 /* p */
            if_icmpne 8
        end local 3 // java.lang.Thread t
         7: .line 991
      StackMap locals: java.util.concurrent.Phaser int java.util.concurrent.atomic.AtomicReference top java.util.concurrent.Phaser$QNode int
      StackMap stack:
            iload 5 /* p */
            ireturn
        start local 3 // java.lang.Thread t
         8: .line 992
      StackMap locals: java.util.concurrent.Phaser int java.util.concurrent.atomic.AtomicReference java.lang.Thread java.util.concurrent.Phaser$QNode int
      StackMap stack:
            aload 2 /* head */
            aload 4 /* q */
            aload 4 /* q */
            getfield java.util.concurrent.Phaser$QNode.next:Ljava/util/concurrent/Phaser$QNode;
            invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
            ifeq 3
            aload 3 /* t */
            ifnull 3
         9: .line 993
            aload 4 /* q */
            aconst_null
            putfield java.util.concurrent.Phaser$QNode.thread:Ljava/lang/Thread;
        10: .line 994
            aload 3 /* t */
            invokestatic java.util.concurrent.locks.LockSupport.unpark:(Ljava/lang/Thread;)V
        end local 5 // int p
        end local 4 // java.util.concurrent.Phaser$QNode q
        end local 3 // java.lang.Thread t
        11: .line 986
            goto 3
        end local 2 // java.util.concurrent.atomic.AtomicReference head
        end local 1 // int phase
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   12     0   this  Ljava/util/concurrent/Phaser;
            0   12     1  phase  I
            3   12     2   head  Ljava/util/concurrent/atomic/AtomicReference<Ljava/util/concurrent/Phaser$QNode;>;
            6    7     3      t  Ljava/lang/Thread;
            8   11     3      t  Ljava/lang/Thread;
            4   11     4      q  Ljava/util/concurrent/Phaser$QNode;
            5   11     5      p  I
    MethodParameters:
       Name  Flags
      phase  

  private int internalAwaitAdvance(int, java.util.concurrent.Phaser$QNode);
    descriptor: (ILjava/util/concurrent/Phaser$QNode;)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=8, locals=11, args_size=3
        start local 0 // java.util.concurrent.Phaser this
        start local 1 // int phase
        start local 2 // java.util.concurrent.Phaser$QNode node
         0: .line 1026
            aload 0 /* this */
            iload 1 /* phase */
            iconst_1
            isub
            invokevirtual java.util.concurrent.Phaser.releaseWaiters:(I)V
         1: .line 1027
            iconst_0
            istore 3 /* queued */
        start local 3 // boolean queued
         2: .line 1028
            iconst_0
            istore 4 /* lastUnarrived */
        start local 4 // int lastUnarrived
         3: .line 1029
            getstatic java.util.concurrent.Phaser.SPINS_PER_ARRIVAL:I
            istore 5 /* spins */
        start local 5 // int spins
         4: .line 1032
            goto 32
        start local 6 // long s
        start local 8 // int p
         5: .line 1033
      StackMap locals: java.util.concurrent.Phaser int java.util.concurrent.Phaser$QNode int int int long int
      StackMap stack:
            aload 2 /* node */
            ifnonnull 17
         6: .line 1034
            lload 6 /* s */
            l2i
            ldc 65535
            iand
            istore 9 /* unarrived */
        start local 9 // int unarrived
         7: .line 1035
            iload 9 /* unarrived */
            iload 4 /* lastUnarrived */
            if_icmpeq 10
         8: .line 1036
            iload 9 /* unarrived */
            dup
            istore 4 /* lastUnarrived */
            getstatic java.util.concurrent.Phaser.NCPU:I
            if_icmpge 10
         9: .line 1037
            iload 5 /* spins */
            getstatic java.util.concurrent.Phaser.SPINS_PER_ARRIVAL:I
            iadd
            istore 5 /* spins */
        10: .line 1038
      StackMap locals: int
      StackMap stack:
            invokestatic java.lang.Thread.interrupted:()Z
            istore 10 /* interrupted */
        start local 10 // boolean interrupted
        11: .line 1039
            iload 10 /* interrupted */
            ifne 12
            iinc 5 /* spins */ -1
            iload 5 /* spins */
            ifge 15
        12: .line 1040
      StackMap locals: int
      StackMap stack:
            new java.util.concurrent.Phaser$QNode
            dup
            aload 0 /* this */
            iload 1 /* phase */
            iconst_0
            iconst_0
            lconst_0
            invokespecial java.util.concurrent.Phaser$QNode.<init>:(Ljava/util/concurrent/Phaser;IZZJ)V
            astore 2 /* node */
        13: .line 1041
            aload 2 /* node */
            iload 10 /* interrupted */
            putfield java.util.concurrent.Phaser$QNode.wasInterrupted:Z
        14: .line 1042
            goto 32
        15: .line 1044
      StackMap locals:
      StackMap stack:
            invokestatic java.lang.Thread.onSpinWait:()V
        end local 10 // boolean interrupted
        end local 9 // int unarrived
        16: .line 1045
            goto 32
        17: .line 1046
      StackMap locals:
      StackMap stack:
            aload 2 /* node */
            invokevirtual java.util.concurrent.Phaser$QNode.isReleasable:()Z
            ifeq 19
        18: .line 1047
            goto 35
        19: .line 1048
      StackMap locals:
      StackMap stack:
            iload 3 /* queued */
            ifne 28
        20: .line 1049
            iload 1 /* phase */
            iconst_1
            iand
            ifne 21
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.evenQ:Ljava/util/concurrent/atomic/AtomicReference;
            goto 22
      StackMap locals:
      StackMap stack:
        21: aload 0 /* this */
            getfield java.util.concurrent.Phaser.oddQ:Ljava/util/concurrent/atomic/AtomicReference;
      StackMap locals:
      StackMap stack: java.util.concurrent.atomic.AtomicReference
        22: astore 9 /* head */
        start local 9 // java.util.concurrent.atomic.AtomicReference head
        23: .line 1050
            aload 2 /* node */
            aload 9 /* head */
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast java.util.concurrent.Phaser$QNode
            dup_x1
            putfield java.util.concurrent.Phaser$QNode.next:Ljava/util/concurrent/Phaser$QNode;
            astore 10 /* q */
        start local 10 // java.util.concurrent.Phaser$QNode q
        24: .line 1051
            aload 10 /* q */
            ifnull 25
            aload 10 /* q */
            getfield java.util.concurrent.Phaser$QNode.phase:I
            iload 1 /* phase */
            if_icmpne 32
        25: .line 1052
      StackMap locals: java.util.concurrent.atomic.AtomicReference java.util.concurrent.Phaser$QNode
      StackMap stack:
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.state:J
            bipush 32
            lushr
            l2i
            iload 1 /* phase */
            if_icmpne 32
        26: .line 1053
            aload 9 /* head */
            aload 10 /* q */
            aload 2 /* node */
            invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
            istore 3 /* queued */
        end local 10 // java.util.concurrent.Phaser$QNode q
        end local 9 // java.util.concurrent.atomic.AtomicReference head
        27: .line 1054
            goto 32
        28: .line 1057
      StackMap locals:
      StackMap stack:
            aload 2 /* node */
            invokestatic java.util.concurrent.ForkJoinPool.managedBlock:(Ljava/util/concurrent/ForkJoinPool$ManagedBlocker;)V
        29: .line 1058
            goto 32
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
        30: pop
        31: .line 1059
            aload 2 /* node */
            iconst_1
            putfield java.util.concurrent.Phaser$QNode.wasInterrupted:Z
        end local 8 // int p
        end local 6 // long s
        32: .line 1032
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.state:J
            dup2
            lstore 6 /* s */
        start local 6 // long s
        33: bipush 32
            lushr
            l2i
            dup
            istore 8 /* p */
        start local 8 // int p
        34: iload 1 /* phase */
            if_icmpeq 5
        35: .line 1064
      StackMap locals: long int
      StackMap stack:
            aload 2 /* node */
            ifnull 42
        36: .line 1065
            aload 2 /* node */
            getfield java.util.concurrent.Phaser$QNode.thread:Ljava/lang/Thread;
            ifnull 38
        37: .line 1066
            aload 2 /* node */
            aconst_null
            putfield java.util.concurrent.Phaser$QNode.thread:Ljava/lang/Thread;
        38: .line 1067
      StackMap locals:
      StackMap stack:
            aload 2 /* node */
            getfield java.util.concurrent.Phaser$QNode.wasInterrupted:Z
            ifeq 40
            aload 2 /* node */
            getfield java.util.concurrent.Phaser$QNode.interruptible:Z
            ifne 40
        39: .line 1068
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.interrupt:()V
        40: .line 1069
      StackMap locals:
      StackMap stack:
            iload 8 /* p */
            iload 1 /* phase */
            if_icmpne 42
            aload 0 /* this */
            getfield java.util.concurrent.Phaser.state:J
            bipush 32
            lushr
            l2i
            dup
            istore 8 /* p */
            iload 1 /* phase */
            if_icmpne 42
        41: .line 1070
            aload 0 /* this */
            iload 1 /* phase */
            invokevirtual java.util.concurrent.Phaser.abortWait:(I)I
            ireturn
        42: .line 1072
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* phase */
            invokevirtual java.util.concurrent.Phaser.releaseWaiters:(I)V
        43: .line 1073
            iload 8 /* p */
            ireturn
        end local 8 // int p
        end local 6 // long s
        end local 5 // int spins
        end local 4 // int lastUnarrived
        end local 3 // boolean queued
        end local 2 // java.util.concurrent.Phaser$QNode node
        end local 1 // int phase
        end local 0 // java.util.concurrent.Phaser this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   44     0           this  Ljava/util/concurrent/Phaser;
            0   44     1          phase  I
            0   44     2           node  Ljava/util/concurrent/Phaser$QNode;
            2   44     3         queued  Z
            3   44     4  lastUnarrived  I
            4   44     5          spins  I
            5   32     6              s  J
           33   44     6              s  J
            5   32     8              p  I
           34   44     8              p  I
            7   16     9      unarrived  I
           11   16    10    interrupted  Z
           23   27     9           head  Ljava/util/concurrent/atomic/AtomicReference<Ljava/util/concurrent/Phaser$QNode;>;
           24   27    10              q  Ljava/util/concurrent/Phaser$QNode;
      Exception table:
        from    to  target  type
          28    29      30  Class java.lang.InterruptedException
    MethodParameters:
       Name  Flags
      phase  
      node   
}
SourceFile: "Phaser.java"
NestMembers:
  java.util.concurrent.Phaser$QNode
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract ManagedBlocker = java.util.concurrent.ForkJoinPool$ManagedBlocker of java.util.concurrent.ForkJoinPool
  final QNode = java.util.concurrent.Phaser$QNode of java.util.concurrent.Phaser