final class jdk.tools.jaotc.ForeignGotCallSiteRelocationSymbol extends jdk.tools.jaotc.CallSiteRelocationSymbol
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.tools.jaotc.ForeignGotCallSiteRelocationSymbol
  super_class: jdk.tools.jaotc.CallSiteRelocationSymbol
{
  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 33
            ldc Ljdk/tools/jaotc/ForeignGotCallSiteRelocationSymbol;
            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 jdk.tools.jaotc.ForeignGotCallSiteRelocationSymbol.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(jdk.tools.jaotc.CompiledMethodInfo, jdk.vm.ci.code.site.Call, jdk.tools.jaotc.CallSiteRelocationInfo, jdk.tools.jaotc.DataBuilder);
    descriptor: (Ljdk/tools/jaotc/CompiledMethodInfo;Ljdk/vm/ci/code/site/Call;Ljdk/tools/jaotc/CallSiteRelocationInfo;Ljdk/tools/jaotc/DataBuilder;)V
    flags: (0x0000) 
    Code:
      stack=5, locals=5, args_size=5
        start local 0 // jdk.tools.jaotc.ForeignGotCallSiteRelocationSymbol this
        start local 1 // jdk.tools.jaotc.CompiledMethodInfo mi
        start local 2 // jdk.vm.ci.code.site.Call call
        start local 3 // jdk.tools.jaotc.CallSiteRelocationInfo callSiteRelocation
        start local 4 // jdk.tools.jaotc.DataBuilder dataBuilder
         0: .line 36
            aload 0 /* this */
            aload 4 /* dataBuilder */
            aload 1 /* mi */
            aload 2 /* call */
            aload 3 /* callSiteRelocation */
            invokestatic jdk.tools.jaotc.ForeignGotCallSiteRelocationSymbol.createPltSymbol:(Ljdk/tools/jaotc/DataBuilder;Ljdk/tools/jaotc/CompiledMethodInfo;Ljdk/vm/ci/code/site/Call;Ljdk/tools/jaotc/CallSiteRelocationInfo;)Ljdk/tools/jaotc/binformat/Symbol;
            invokespecial jdk.tools.jaotc.CallSiteRelocationSymbol.<init>:(Ljdk/tools/jaotc/binformat/Symbol;)V
         1: .line 37
            return
        end local 4 // jdk.tools.jaotc.DataBuilder dataBuilder
        end local 3 // jdk.tools.jaotc.CallSiteRelocationInfo callSiteRelocation
        end local 2 // jdk.vm.ci.code.site.Call call
        end local 1 // jdk.tools.jaotc.CompiledMethodInfo mi
        end local 0 // jdk.tools.jaotc.ForeignGotCallSiteRelocationSymbol this
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0    2     0                this  Ljdk/tools/jaotc/ForeignGotCallSiteRelocationSymbol;
            0    2     1                  mi  Ljdk/tools/jaotc/CompiledMethodInfo;
            0    2     2                call  Ljdk/vm/ci/code/site/Call;
            0    2     3  callSiteRelocation  Ljdk/tools/jaotc/CallSiteRelocationInfo;
            0    2     4         dataBuilder  Ljdk/tools/jaotc/DataBuilder;
    MethodParameters:
                    Name  Flags
      mi                  
      call                
      callSiteRelocation  
      dataBuilder         

  private static jdk.tools.jaotc.binformat.Symbol createPltSymbol(jdk.tools.jaotc.DataBuilder, jdk.tools.jaotc.CompiledMethodInfo, jdk.vm.ci.code.site.Call, jdk.tools.jaotc.CallSiteRelocationInfo);
    descriptor: (Ljdk/tools/jaotc/DataBuilder;Ljdk/tools/jaotc/CompiledMethodInfo;Ljdk/vm/ci/code/site/Call;Ljdk/tools/jaotc/CallSiteRelocationInfo;)Ljdk/tools/jaotc/binformat/Symbol;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=12, args_size=4
        start local 0 // jdk.tools.jaotc.DataBuilder dataBuilder
        start local 1 // jdk.tools.jaotc.CompiledMethodInfo mi
        start local 2 // jdk.vm.ci.code.site.Call call
        start local 3 // jdk.tools.jaotc.CallSiteRelocationInfo callSiteRelocation
         0: .line 40
            aload 0 /* dataBuilder */
            invokevirtual jdk.tools.jaotc.DataBuilder.getBinaryContainer:()Ljdk/tools/jaotc/binformat/BinaryContainer;
            astore 4 /* binaryContainer */
        start local 4 // jdk.tools.jaotc.binformat.BinaryContainer binaryContainer
         1: .line 41
            aload 3 /* callSiteRelocation */
            getfield jdk.tools.jaotc.CallSiteRelocationInfo.targetSymbol:Ljava/lang/String;
            astore 5 /* vmSymbolName */
        start local 5 // java.lang.String vmSymbolName
         2: .line 44
            new java.lang.StringBuilder
            dup
            ldc "plt."
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 5 /* vmSymbolName */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 6 /* pltSymbolName */
        start local 6 // java.lang.String pltSymbolName
         3: .line 45
            aload 4 /* binaryContainer */
            aload 6 /* pltSymbolName */
            invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.getSymbol:(Ljava/lang/String;)Ljdk/tools/jaotc/binformat/Symbol;
            astore 7 /* pltSymbol */
        start local 7 // jdk.tools.jaotc.binformat.Symbol pltSymbol
         4: .line 47
            aload 7 /* pltSymbol */
            ifnonnull 12
         5: .line 48
            new java.lang.StringBuilder
            dup
            ldc "got."
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 5 /* vmSymbolName */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 8 /* gotSymbolName */
        start local 8 // java.lang.String gotSymbolName
         6: .line 49
            aload 4 /* binaryContainer */
            aload 8 /* gotSymbolName */
            invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.getGotSymbol:(Ljava/lang/String;)Ljdk/tools/jaotc/binformat/Symbol;
            astore 9 /* gotSymbol */
        start local 9 // jdk.tools.jaotc.binformat.Symbol gotSymbol
         7: .line 50
            getstatic jdk.tools.jaotc.ForeignGotCallSiteRelocationSymbol.$assertionsDisabled:Z
            ifne 8
            aload 9 /* gotSymbol */
            ifnonnull 8
            new java.lang.AssertionError
            dup
            new java.lang.StringBuilder
            dup
            ldc "undefined VM got symbol '"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 8 /* gotSymbolName */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "' for call at "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 2 /* call */
            getfield jdk.vm.ci.code.site.Call.pcOffset:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " in "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* mi */
            invokevirtual jdk.tools.jaotc.CompiledMethodInfo.getMethodInfo:()Ljdk/tools/jaotc/JavaMethodInfo;
            invokeinterface jdk.tools.jaotc.JavaMethodInfo.getSymbolName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         8: .line 53
      StackMap locals: jdk.tools.jaotc.DataBuilder jdk.tools.jaotc.CompiledMethodInfo jdk.vm.ci.code.site.Call jdk.tools.jaotc.CallSiteRelocationInfo jdk.tools.jaotc.binformat.BinaryContainer java.lang.String java.lang.String jdk.tools.jaotc.binformat.Symbol java.lang.String jdk.tools.jaotc.binformat.Symbol
      StackMap stack:
            aload 4 /* binaryContainer */
            invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.getCodeContainer:()Ljdk/tools/jaotc/binformat/CodeContainer;
            invokevirtual jdk.tools.jaotc.binformat.CodeContainer.getByteStreamSize:()I
            istore 10 /* pltStartOffset */
        start local 10 // int pltStartOffset
         9: .line 54
            iload 10 /* pltStartOffset */
            aload 0 /* dataBuilder */
            invokestatic jdk.tools.jaotc.ForeignGotCallSiteRelocationSymbol.addPltJump:(Ljdk/tools/jaotc/DataBuilder;)I
            iadd
            istore 11 /* pltEndOffset */
        start local 11 // int pltEndOffset
        10: .line 57
            aload 4 /* binaryContainer */
            aload 6 /* pltSymbolName */
            iload 10 /* pltStartOffset */
            invokestatic jdk.tools.jaotc.ForeignGotCallSiteRelocationSymbol.createCodeContainerSymbol:(Ljdk/tools/jaotc/binformat/BinaryContainer;Ljava/lang/String;I)Ljdk/tools/jaotc/binformat/Symbol;
            astore 7 /* pltSymbol */
        11: .line 58
            aload 4 /* binaryContainer */
            aload 9 /* gotSymbol */
            iload 11 /* pltEndOffset */
            invokestatic jdk.tools.jaotc.ForeignGotCallSiteRelocationSymbol.addExternalPltToGotRelocation:(Ljdk/tools/jaotc/binformat/BinaryContainer;Ljdk/tools/jaotc/binformat/Symbol;I)V
        end local 11 // int pltEndOffset
        end local 10 // int pltStartOffset
        end local 9 // jdk.tools.jaotc.binformat.Symbol gotSymbol
        end local 8 // java.lang.String gotSymbolName
        12: .line 61
      StackMap locals:
      StackMap stack:
            aload 7 /* pltSymbol */
            areturn
        end local 7 // jdk.tools.jaotc.binformat.Symbol pltSymbol
        end local 6 // java.lang.String pltSymbolName
        end local 5 // java.lang.String vmSymbolName
        end local 4 // jdk.tools.jaotc.binformat.BinaryContainer binaryContainer
        end local 3 // jdk.tools.jaotc.CallSiteRelocationInfo callSiteRelocation
        end local 2 // jdk.vm.ci.code.site.Call call
        end local 1 // jdk.tools.jaotc.CompiledMethodInfo mi
        end local 0 // jdk.tools.jaotc.DataBuilder dataBuilder
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0   13     0         dataBuilder  Ljdk/tools/jaotc/DataBuilder;
            0   13     1                  mi  Ljdk/tools/jaotc/CompiledMethodInfo;
            0   13     2                call  Ljdk/vm/ci/code/site/Call;
            0   13     3  callSiteRelocation  Ljdk/tools/jaotc/CallSiteRelocationInfo;
            1   13     4     binaryContainer  Ljdk/tools/jaotc/binformat/BinaryContainer;
            2   13     5        vmSymbolName  Ljava/lang/String;
            3   13     6       pltSymbolName  Ljava/lang/String;
            4   13     7           pltSymbol  Ljdk/tools/jaotc/binformat/Symbol;
            6   12     8       gotSymbolName  Ljava/lang/String;
            7   12     9           gotSymbol  Ljdk/tools/jaotc/binformat/Symbol;
            9   12    10      pltStartOffset  I
           10   12    11        pltEndOffset  I
    MethodParameters:
                    Name  Flags
      dataBuilder         
      mi                  
      call                
      callSiteRelocation  

  private static int addPltJump(jdk.tools.jaotc.DataBuilder);
    descriptor: (Ljdk/tools/jaotc/DataBuilder;)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // jdk.tools.jaotc.DataBuilder dataBuilder
         0: .line 65
            aload 0 /* dataBuilder */
            invokevirtual jdk.tools.jaotc.DataBuilder.getBackend:()Lorg/graalvm/compiler/hotspot/HotSpotHostBackend;
            invokevirtual org.graalvm.compiler.hotspot.HotSpotHostBackend.getTarget:()Ljdk/vm/ci/code/TargetDescription;
            aload 0 /* dataBuilder */
            invokevirtual jdk.tools.jaotc.DataBuilder.getBackend:()Lorg/graalvm/compiler/hotspot/HotSpotHostBackend;
            invokevirtual org.graalvm.compiler.hotspot.HotSpotHostBackend.getRuntime:()Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
            invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
            invokestatic jdk.tools.jaotc.ELFMacroAssembler.getELFMacroAssembler:(Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/options/OptionValues;)Ljdk/tools/jaotc/ELFMacroAssembler;
            astore 1 /* masm */
        start local 1 // jdk.tools.jaotc.ELFMacroAssembler masm
         1: .line 66
            aload 1 /* masm */
            invokeinterface jdk.tools.jaotc.ELFMacroAssembler.getPLTJumpCode:()[B
            astore 2 /* code */
        start local 2 // byte[] code
         2: .line 67
            aload 1 /* masm */
            invokeinterface jdk.tools.jaotc.ELFMacroAssembler.currentEndOfInstruction:()I
            istore 3 /* size */
        start local 3 // int size
         3: .line 68
            aload 0 /* dataBuilder */
            invokevirtual jdk.tools.jaotc.DataBuilder.getBinaryContainer:()Ljdk/tools/jaotc/binformat/BinaryContainer;
            aload 2 /* code */
            iconst_0
            aload 2 /* code */
            arraylength
            invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.appendCodeBytes:([BII)V
         4: .line 69
            iload 3 /* size */
            ireturn
        end local 3 // int size
        end local 2 // byte[] code
        end local 1 // jdk.tools.jaotc.ELFMacroAssembler masm
        end local 0 // jdk.tools.jaotc.DataBuilder dataBuilder
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    5     0  dataBuilder  Ljdk/tools/jaotc/DataBuilder;
            1    5     1         masm  Ljdk/tools/jaotc/ELFMacroAssembler;
            2    5     2         code  [B
            3    5     3         size  I
    MethodParameters:
             Name  Flags
      dataBuilder  
}
SourceFile: "ForeignGotCallSiteRelocationSymbol.java"