; LLVM IR from guanzhi/GmSSL :: src/sdf (sdf_meth)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.sdf_method_st = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local ptr @SDF_METHOD_load_library(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  store ptr null, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  store ptr null, ptr %4, align 8, !tbaa !5
  %5 = call noalias ptr @malloc(i64 noundef 400) #6
  store ptr %5, ptr %4, align 8, !tbaa !5
  %6 = icmp ne ptr %5, null
  br i1 %6, label %8, label %7

7:                                                ; preds = %1
  br label %297

8:                                                ; preds = %1
  %9 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 8 %9, i8 0, i64 400, i1 false)
  %10 = load ptr, ptr %2, align 8, !tbaa !5
  %11 = call ptr @dlopen(ptr noundef %10, i32 noundef 1) #5
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.sdf_method_st, ptr %12, i32 0, i32 1
  store ptr %11, ptr %13, align 8, !tbaa !9
  %14 = icmp ne ptr %11, null
  br i1 %14, label %19, label %15

15:                                               ; preds = %8
  %16 = load ptr, ptr @stderr, align 8, !tbaa !5
  %17 = call ptr @dlerror() #5
  %18 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 37, ptr noundef %17) #5
  br label %297

19:                                               ; preds = %8
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.sdf_method_st, ptr %20, i32 0, i32 1
  %22 = load ptr, ptr %21, align 8, !tbaa !9
  %23 = call ptr @dlsym(ptr noundef %22, ptr noundef @.str.2) #5
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.sdf_method_st, ptr %24, i32 0, i32 2
  store ptr %23, ptr %25, align 8, !tbaa !11
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.sdf_method_st, ptr %26, i32 0, i32 1
  %28 = load ptr, ptr %27, align 8, !tbaa !9
  %29 = call ptr @dlsym(ptr noundef %28, ptr noundef @.str.3) #5
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.sdf_method_st, ptr %30, i32 0, i32 3
  store ptr %29, ptr %31, align 8, !tbaa !12
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.sdf_method_st, ptr %32, i32 0, i32 1
  %34 = load ptr, ptr %33, align 8, !tbaa !9
  %35 = call ptr @dlsym(ptr noundef %34, ptr noundef @.str.4) #5
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.sdf_method_st, ptr %36, i32 0, i32 4
  store ptr %35, ptr %37, align 8, !tbaa !13
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.sdf_method_st, ptr %38, i32 0, i32 1
  %40 = load ptr, ptr %39, align 8, !tbaa !9
  %41 = call ptr @dlsym(ptr noundef %40, ptr noundef @.str.5) #5
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.sdf_method_st, ptr %42, i32 0, i32 5
  store ptr %41, ptr %43, align 8, !tbaa !14
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.sdf_method_st, ptr %44, i32 0, i32 1
  %46 = load ptr, ptr %45, align 8, !tbaa !9
  %47 = call ptr @dlsym(ptr noundef %46, ptr noundef @.str.6) #5
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.sdf_method_st, ptr %48, i32 0, i32 6
  store ptr %47, ptr %49, align 8, !tbaa !15
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.sdf_method_st, ptr %50, i32 0, i32 1
  %52 = load ptr, ptr %51, align 8, !tbaa !9
  %53 = call ptr @dlsym(ptr noundef %52, ptr noundef @.str.7) #5
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.sdf_method_st, ptr %54, i32 0, i32 7
  store ptr %53, ptr %55, align 8, !tbaa !16
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.sdf_method_st, ptr %56, i32 0, i32 1
  %58 = load ptr, ptr %57, align 8, !tbaa !9
  %59 = call ptr @dlsym(ptr noundef %58, ptr noundef @.str.8) #5
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.sdf_method_st, ptr %60, i32 0, i32 8
  store ptr %59, ptr %61, align 8, !tbaa !17
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.sdf_method_st, ptr %62, i32 0, i32 1
  %64 = load ptr, ptr %63, align 8, !tbaa !9
  %65 = call ptr @dlsym(ptr noundef %64, ptr noundef @.str.9) #5
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.sdf_method_st, ptr %66, i32 0, i32 9
  store ptr %65, ptr %67, align 8, !tbaa !18
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.sdf_method_st, ptr %68, i32 0, i32 1
  %70 = load ptr, ptr %69, align 8, !tbaa !9
  %71 = call ptr @dlsym(ptr noundef %70, ptr noundef @.str.10) #5
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.sdf_method_st, ptr %72, i32 0, i32 10
  store ptr %71, ptr %73, align 8, !tbaa !19
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.sdf_method_st, ptr %74, i32 0, i32 1
  %76 = load ptr, ptr %75, align 8, !tbaa !9
  %77 = call ptr @dlsym(ptr noundef %76, ptr noundef @.str.11) #5
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.sdf_method_st, ptr %78, i32 0, i32 11
  store ptr %77, ptr %79, align 8, !tbaa !20
  %80 = load ptr, ptr %4, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.sdf_method_st, ptr %80, i32 0, i32 1
  %82 = load ptr, ptr %81, align 8, !tbaa !9
  %83 = call ptr @dlsym(ptr noundef %82, ptr noundef @.str.12) #5
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.sdf_method_st, ptr %84, i32 0, i32 12
  store ptr %83, ptr %85, align 8, !tbaa !21
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.sdf_method_st, ptr %86, i32 0, i32 1
  %88 = load ptr, ptr %87, align 8, !tbaa !9
  %89 = call ptr @dlsym(ptr noundef %88, ptr noundef @.str.13) #5
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.sdf_method_st, ptr %90, i32 0, i32 13
  store ptr %89, ptr %91, align 8, !tbaa !22
  %92 = load ptr, ptr %4, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.sdf_method_st, ptr %92, i32 0, i32 1
  %94 = load ptr, ptr %93, align 8, !tbaa !9
  %95 = call ptr @dlsym(ptr noundef %94, ptr noundef @.str.14) #5
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.sdf_method_st, ptr %96, i32 0, i32 14
  store ptr %95, ptr %97, align 8, !tbaa !23
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.sdf_method_st, ptr %98, i32 0, i32 1
  %100 = load ptr, ptr %99, align 8, !tbaa !9
  %101 = call ptr @dlsym(ptr noundef %100, ptr noundef @.str.15) #5
  %102 = load ptr, ptr %4, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.sdf_method_st, ptr %102, i32 0, i32 15
  store ptr %101, ptr %103, align 8, !tbaa !24
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.sdf_method_st, ptr %104, i32 0, i32 1
  %106 = load ptr, ptr %105, align 8, !tbaa !9
  %107 = call ptr @dlsym(ptr noundef %106, ptr noundef @.str.16) #5
  %108 = load ptr, ptr %4, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.sdf_method_st, ptr %108, i32 0, i32 16
  store ptr %107, ptr %109, align 8, !tbaa !25
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.sdf_method_st, ptr %110, i32 0, i32 1
  %112 = load ptr, ptr %111, align 8, !tbaa !9
  %113 = call ptr @dlsym(ptr noundef %112, ptr noundef @.str.17) #5
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.sdf_method_st, ptr %114, i32 0, i32 17
  store ptr %113, ptr %115, align 8, !tbaa !26
  %116 = load ptr, ptr %4, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.sdf_method_st, ptr %116, i32 0, i32 1
  %118 = load ptr, ptr %117, align 8, !tbaa !9
  %119 = call ptr @dlsym(ptr noundef %118, ptr noundef @.str.18) #5
  %120 = load ptr, ptr %4, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.sdf_method_st, ptr %120, i32 0, i32 18
  store ptr %119, ptr %121, align 8, !tbaa !27
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.sdf_method_st, ptr %122, i32 0, i32 1
  %124 = load ptr, ptr %123, align 8, !tbaa !9
  %125 = call ptr @dlsym(ptr noundef %124, ptr noundef @.str.19) #5
  %126 = load ptr, ptr %4, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.sdf_method_st, ptr %126, i32 0, i32 19
  store ptr %125, ptr %127, align 8, !tbaa !28
  %128 = load ptr, ptr %4, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.sdf_method_st, ptr %128, i32 0, i32 1
  %130 = load ptr, ptr %129, align 8, !tbaa !9
  %131 = call ptr @dlsym(ptr noundef %130, ptr noundef @.str.20) #5
  %132 = load ptr, ptr %4, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.sdf_method_st, ptr %132, i32 0, i32 20
  store ptr %131, ptr %133, align 8, !tbaa !29
  %134 = load ptr, ptr %4, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.sdf_method_st, ptr %134, i32 0, i32 1
  %136 = load ptr, ptr %135, align 8, !tbaa !9
  %137 = call ptr @dlsym(ptr noundef %136, ptr noundef @.str.21) #5
  %138 = load ptr, ptr %4, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.sdf_method_st, ptr %138, i32 0, i32 21
  store ptr %137, ptr %139, align 8, !tbaa !30
  %140 = load ptr, ptr %4, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.sdf_method_st, ptr %140, i32 0, i32 1
  %142 = load ptr, ptr %141, align 8, !tbaa !9
  %143 = call ptr @dlsym(ptr noundef %142, ptr noundef @.str.22) #5
  %144 = load ptr, ptr %4, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.sdf_method_st, ptr %144, i32 0, i32 22
  store ptr %143, ptr %145, align 8, !tbaa !31
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.sdf_method_st, ptr %146, i32 0, i32 1
  %148 = load ptr, ptr %147, align 8, !tbaa !9
  %149 = call ptr @dlsym(ptr noundef %148, ptr noundef @.str.23) #5
  %150 = load ptr, ptr %4, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.sdf_method_st, ptr %150, i32 0, i32 23
  store ptr %149, ptr %151, align 8, !tbaa !32
  %152 = load ptr, ptr %4, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.sdf_method_st, ptr %152, i32 0, i32 1
  %154 = load ptr, ptr %153, align 8, !tbaa !9
  %155 = call ptr @dlsym(ptr noundef %154, ptr noundef @.str.24) #5
  %156 = load ptr, ptr %4, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.sdf_method_st, ptr %156, i32 0, i32 24
  store ptr %155, ptr %157, align 8, !tbaa !33
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.sdf_method_st, ptr %158, i32 0, i32 1
  %160 = load ptr, ptr %159, align 8, !tbaa !9
  %161 = call ptr @dlsym(ptr noundef %160, ptr noundef @.str.25) #5
  %162 = load ptr, ptr %4, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.sdf_method_st, ptr %162, i32 0, i32 25
  store ptr %161, ptr %163, align 8, !tbaa !34
  %164 = load ptr, ptr %4, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.sdf_method_st, ptr %164, i32 0, i32 1
  %166 = load ptr, ptr %165, align 8, !tbaa !9
  %167 = call ptr @dlsym(ptr noundef %166, ptr noundef @.str.26) #5
  %168 = load ptr, ptr %4, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.sdf_method_st, ptr %168, i32 0, i32 26
  store ptr %167, ptr %169, align 8, !tbaa !35
  %170 = load ptr, ptr %4, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.sdf_method_st, ptr %170, i32 0, i32 1
  %172 = load ptr, ptr %171, align 8, !tbaa !9
  %173 = call ptr @dlsym(ptr noundef %172, ptr noundef @.str.27) #5
  %174 = load ptr, ptr %4, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.sdf_method_st, ptr %174, i32 0, i32 27
  store ptr %173, ptr %175, align 8, !tbaa !36
  %176 = load ptr, ptr %4, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.sdf_method_st, ptr %176, i32 0, i32 1
  %178 = load ptr, ptr %177, align 8, !tbaa !9
  %179 = call ptr @dlsym(ptr noundef %178, ptr noundef @.str.28) #5
  %180 = load ptr, ptr %4, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.sdf_method_st, ptr %180, i32 0, i32 28
  store ptr %179, ptr %181, align 8, !tbaa !37
  %182 = load ptr, ptr %4, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.sdf_method_st, ptr %182, i32 0, i32 1
  %184 = load ptr, ptr %183, align 8, !tbaa !9
  %185 = call ptr @dlsym(ptr noundef %184, ptr noundef @.str.29) #5
  %186 = load ptr, ptr %4, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.sdf_method_st, ptr %186, i32 0, i32 29
  store ptr %185, ptr %187, align 8, !tbaa !38
  %188 = load ptr, ptr %4, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.sdf_method_st, ptr %188, i32 0, i32 1
  %190 = load ptr, ptr %189, align 8, !tbaa !9
  %191 = call ptr @dlsym(ptr noundef %190, ptr noundef @.str.30) #5
  %192 = load ptr, ptr %4, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.sdf_method_st, ptr %192, i32 0, i32 30
  store ptr %191, ptr %193, align 8, !tbaa !39
  %194 = load ptr, ptr %4, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.sdf_method_st, ptr %194, i32 0, i32 1
  %196 = load ptr, ptr %195, align 8, !tbaa !9
  %197 = call ptr @dlsym(ptr noundef %196, ptr noundef @.str.31) #5
  %198 = load ptr, ptr %4, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.sdf_method_st, ptr %198, i32 0, i32 32
  store ptr %197, ptr %199, align 8, !tbaa !40
  %200 = load ptr, ptr %4, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.sdf_method_st, ptr %200, i32 0, i32 1
  %202 = load ptr, ptr %201, align 8, !tbaa !9
  %203 = call ptr @dlsym(ptr noundef %202, ptr noundef @.str.32) #5
  %204 = load ptr, ptr %4, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.sdf_method_st, ptr %204, i32 0, i32 33
  store ptr %203, ptr %205, align 8, !tbaa !41
  %206 = load ptr, ptr %4, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.sdf_method_st, ptr %206, i32 0, i32 1
  %208 = load ptr, ptr %207, align 8, !tbaa !9
  %209 = call ptr @dlsym(ptr noundef %208, ptr noundef @.str.33) #5
  %210 = load ptr, ptr %4, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.sdf_method_st, ptr %210, i32 0, i32 34
  store ptr %209, ptr %211, align 8, !tbaa !42
  %212 = load ptr, ptr %4, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.sdf_method_st, ptr %212, i32 0, i32 1
  %214 = load ptr, ptr %213, align 8, !tbaa !9
  %215 = call ptr @dlsym(ptr noundef %214, ptr noundef @.str.34) #5
  %216 = load ptr, ptr %4, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.sdf_method_st, ptr %216, i32 0, i32 35
  store ptr %215, ptr %217, align 8, !tbaa !43
  %218 = load ptr, ptr %4, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.sdf_method_st, ptr %218, i32 0, i32 1
  %220 = load ptr, ptr %219, align 8, !tbaa !9
  %221 = call ptr @dlsym(ptr noundef %220, ptr noundef @.str.35) #5
  %222 = load ptr, ptr %4, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.sdf_method_st, ptr %222, i32 0, i32 36
  store ptr %221, ptr %223, align 8, !tbaa !44
  %224 = load ptr, ptr %4, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.sdf_method_st, ptr %224, i32 0, i32 1
  %226 = load ptr, ptr %225, align 8, !tbaa !9
  %227 = call ptr @dlsym(ptr noundef %226, ptr noundef @.str.36) #5
  %228 = load ptr, ptr %4, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.sdf_method_st, ptr %228, i32 0, i32 38
  store ptr %227, ptr %229, align 8, !tbaa !45
  %230 = load ptr, ptr %4, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.sdf_method_st, ptr %230, i32 0, i32 1
  %232 = load ptr, ptr %231, align 8, !tbaa !9
  %233 = call ptr @dlsym(ptr noundef %232, ptr noundef @.str.37) #5
  %234 = load ptr, ptr %4, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.sdf_method_st, ptr %234, i32 0, i32 39
  store ptr %233, ptr %235, align 8, !tbaa !46
  %236 = load ptr, ptr %4, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.sdf_method_st, ptr %236, i32 0, i32 1
  %238 = load ptr, ptr %237, align 8, !tbaa !9
  %239 = call ptr @dlsym(ptr noundef %238, ptr noundef @.str.38) #5
  %240 = load ptr, ptr %4, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.sdf_method_st, ptr %240, i32 0, i32 40
  store ptr %239, ptr %241, align 8, !tbaa !47
  %242 = load ptr, ptr %4, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.sdf_method_st, ptr %242, i32 0, i32 1
  %244 = load ptr, ptr %243, align 8, !tbaa !9
  %245 = call ptr @dlsym(ptr noundef %244, ptr noundef @.str.39) #5
  %246 = load ptr, ptr %4, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.sdf_method_st, ptr %246, i32 0, i32 41
  store ptr %245, ptr %247, align 8, !tbaa !48
  %248 = load ptr, ptr %4, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.sdf_method_st, ptr %248, i32 0, i32 1
  %250 = load ptr, ptr %249, align 8, !tbaa !9
  %251 = call ptr @dlsym(ptr noundef %250, ptr noundef @.str.40) #5
  %252 = load ptr, ptr %4, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.sdf_method_st, ptr %252, i32 0, i32 42
  store ptr %251, ptr %253, align 8, !tbaa !49
  %254 = load ptr, ptr %4, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.sdf_method_st, ptr %254, i32 0, i32 1
  %256 = load ptr, ptr %255, align 8, !tbaa !9
  %257 = call ptr @dlsym(ptr noundef %256, ptr noundef @.str.41) #5
  %258 = load ptr, ptr %4, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.sdf_method_st, ptr %258, i32 0, i32 43
  store ptr %257, ptr %259, align 8, !tbaa !50
  %260 = load ptr, ptr %4, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.sdf_method_st, ptr %260, i32 0, i32 1
  %262 = load ptr, ptr %261, align 8, !tbaa !9
  %263 = call ptr @dlsym(ptr noundef %262, ptr noundef @.str.42) #5
  %264 = load ptr, ptr %4, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.sdf_method_st, ptr %264, i32 0, i32 44
  store ptr %263, ptr %265, align 8, !tbaa !51
  %266 = load ptr, ptr %4, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.sdf_method_st, ptr %266, i32 0, i32 1
  %268 = load ptr, ptr %267, align 8, !tbaa !9
  %269 = call ptr @dlsym(ptr noundef %268, ptr noundef @.str.43) #5
  %270 = load ptr, ptr %4, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.sdf_method_st, ptr %270, i32 0, i32 45
  store ptr %269, ptr %271, align 8, !tbaa !52
  %272 = load ptr, ptr %4, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.sdf_method_st, ptr %272, i32 0, i32 1
  %274 = load ptr, ptr %273, align 8, !tbaa !9
  %275 = call ptr @dlsym(ptr noundef %274, ptr noundef @.str.44) #5
  %276 = load ptr, ptr %4, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.sdf_method_st, ptr %276, i32 0, i32 46
  store ptr %275, ptr %277, align 8, !tbaa !53
  %278 = load ptr, ptr %4, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.sdf_method_st, ptr %278, i32 0, i32 1
  %280 = load ptr, ptr %279, align 8, !tbaa !9
  %281 = call ptr @dlsym(ptr noundef %280, ptr noundef @.str.45) #5
  %282 = load ptr, ptr %4, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.sdf_method_st, ptr %282, i32 0, i32 47
  store ptr %281, ptr %283, align 8, !tbaa !54
  %284 = load ptr, ptr %4, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.sdf_method_st, ptr %284, i32 0, i32 1
  %286 = load ptr, ptr %285, align 8, !tbaa !9
  %287 = call ptr @dlsym(ptr noundef %286, ptr noundef @.str.46) #5
  %288 = load ptr, ptr %4, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.sdf_method_st, ptr %288, i32 0, i32 48
  store ptr %287, ptr %289, align 8, !tbaa !55
  %290 = load ptr, ptr %4, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.sdf_method_st, ptr %290, i32 0, i32 1
  %292 = load ptr, ptr %291, align 8, !tbaa !9
  %293 = call ptr @dlsym(ptr noundef %292, ptr noundef @.str.47) #5
  %294 = load ptr, ptr %4, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.sdf_method_st, ptr %294, i32 0, i32 49
  store ptr %293, ptr %295, align 8, !tbaa !56
  %296 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %296, ptr %3, align 8, !tbaa !5
  store ptr null, ptr %4, align 8, !tbaa !5
  br label %297

297:                                              ; preds = %19, %15, %7
  %298 = load ptr, ptr %4, align 8, !tbaa !5
  call void @SDF_METHOD_free(ptr noundef %298)
  %299 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  ret ptr %299
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

; Function Attrs: nounwind
declare ptr @dlopen(ptr noundef, i32 noundef) #4

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #4

; Function Attrs: nounwind
declare ptr @dlerror() #4

; Function Attrs: nounwind
declare ptr @dlsym(ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @SDF_METHOD_free(ptr noundef) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { nounwind allocsize(0) }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"sdf_method_st", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368, !6, i64 376, !6, i64 384, !6, i64 392}
!11 = !{!10, !6, i64 16}
!12 = !{!10, !6, i64 24}
!13 = !{!10, !6, i64 32}
!14 = !{!10, !6, i64 40}
!15 = !{!10, !6, i64 48}
!16 = !{!10, !6, i64 56}
!17 = !{!10, !6, i64 64}
!18 = !{!10, !6, i64 72}
!19 = !{!10, !6, i64 80}
!20 = !{!10, !6, i64 88}
!21 = !{!10, !6, i64 96}
!22 = !{!10, !6, i64 104}
!23 = !{!10, !6, i64 112}
!24 = !{!10, !6, i64 120}
!25 = !{!10, !6, i64 128}
!26 = !{!10, !6, i64 136}
!27 = !{!10, !6, i64 144}
!28 = !{!10, !6, i64 152}
!29 = !{!10, !6, i64 160}
!30 = !{!10, !6, i64 168}
!31 = !{!10, !6, i64 176}
!32 = !{!10, !6, i64 184}
!33 = !{!10, !6, i64 192}
!34 = !{!10, !6, i64 200}
!35 = !{!10, !6, i64 208}
!36 = !{!10, !6, i64 216}
!37 = !{!10, !6, i64 224}
!38 = !{!10, !6, i64 232}
!39 = !{!10, !6, i64 240}
!40 = !{!10, !6, i64 256}
!41 = !{!10, !6, i64 264}
!42 = !{!10, !6, i64 272}
!43 = !{!10, !6, i64 280}
!44 = !{!10, !6, i64 288}
!45 = !{!10, !6, i64 304}
!46 = !{!10, !6, i64 312}
!47 = !{!10, !6, i64 320}
!48 = !{!10, !6, i64 328}
!49 = !{!10, !6, i64 336}
!50 = !{!10, !6, i64 344}
!51 = !{!10, !6, i64 352}
!52 = !{!10, !6, i64 360}
!53 = !{!10, !6, i64 368}
!54 = !{!10, !6, i64 376}
!55 = !{!10, !6, i64 384}
!56 = !{!10, !6, i64 392}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef ptr @SDF_METHOD_load_library(ptr noundef %0) local_unnamed_addr #0 {
  %calloc = tail call dereferenceable_or_null(400) ptr @calloc(i64 1, i64 400)
  %.not = icmp eq ptr %calloc, null
  br i1 %.not, label %147, label %2

2:                                                ; preds = %1
  %3 = tail call ptr @dlopen(ptr noundef %0, i32 noundef 1) #4
  %4 = getelementptr inbounds i8, ptr %calloc, i64 8
  store ptr %3, ptr %4, align 8, !tbaa !5
  %.not101 = icmp eq ptr %3, null
  br i1 %.not101, label %5, label %9

5:                                                ; preds = %2
  %6 = load ptr, ptr @stderr, align 8, !tbaa !10
  %7 = tail call ptr @dlerror() #4
  %8 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %6, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 37, ptr noundef %7) #5
  br label %147

9:                                                ; preds = %2
  %10 = tail call ptr @dlsym(ptr noundef nonnull %3, ptr noundef nonnull @.str.2) #4
  %11 = getelementptr inbounds i8, ptr %calloc, i64 16
  store ptr %10, ptr %11, align 8, !tbaa !11
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = tail call ptr @dlsym(ptr noundef %12, ptr noundef nonnull @.str.3) #4
  %14 = getelementptr inbounds i8, ptr %calloc, i64 24
  store ptr %13, ptr %14, align 8, !tbaa !12
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = tail call ptr @dlsym(ptr noundef %15, ptr noundef nonnull @.str.4) #4
  %17 = getelementptr inbounds i8, ptr %calloc, i64 32
  store ptr %16, ptr %17, align 8, !tbaa !13
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = tail call ptr @dlsym(ptr noundef %18, ptr noundef nonnull @.str.5) #4
  %20 = getelementptr inbounds i8, ptr %calloc, i64 40
  store ptr %19, ptr %20, align 8, !tbaa !14
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = tail call ptr @dlsym(ptr noundef %21, ptr noundef nonnull @.str.6) #4
  %23 = getelementptr inbounds i8, ptr %calloc, i64 48
  store ptr %22, ptr %23, align 8, !tbaa !15
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = tail call ptr @dlsym(ptr noundef %24, ptr noundef nonnull @.str.7) #4
  %26 = getelementptr inbounds i8, ptr %calloc, i64 56
  store ptr %25, ptr %26, align 8, !tbaa !16
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = tail call ptr @dlsym(ptr noundef %27, ptr noundef nonnull @.str.8) #4
  %29 = getelementptr inbounds i8, ptr %calloc, i64 64
  store ptr %28, ptr %29, align 8, !tbaa !17
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = tail call ptr @dlsym(ptr noundef %30, ptr noundef nonnull @.str.9) #4
  %32 = getelementptr inbounds i8, ptr %calloc, i64 72
  store ptr %31, ptr %32, align 8, !tbaa !18
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = tail call ptr @dlsym(ptr noundef %33, ptr noundef nonnull @.str.10) #4
  %35 = getelementptr inbounds i8, ptr %calloc, i64 80
  store ptr %34, ptr %35, align 8, !tbaa !19
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = tail call ptr @dlsym(ptr noundef %36, ptr noundef nonnull @.str.11) #4
  %38 = getelementptr inbounds i8, ptr %calloc, i64 88
  store ptr %37, ptr %38, align 8, !tbaa !20
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = tail call ptr @dlsym(ptr noundef %39, ptr noundef nonnull @.str.12) #4
  %41 = getelementptr inbounds i8, ptr %calloc, i64 96
  store ptr %40, ptr %41, align 8, !tbaa !21
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = tail call ptr @dlsym(ptr noundef %42, ptr noundef nonnull @.str.13) #4
  %44 = getelementptr inbounds i8, ptr %calloc, i64 104
  store ptr %43, ptr %44, align 8, !tbaa !22
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = tail call ptr @dlsym(ptr noundef %45, ptr noundef nonnull @.str.14) #4
  %47 = getelementptr inbounds i8, ptr %calloc, i64 112
  store ptr %46, ptr %47, align 8, !tbaa !23
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = tail call ptr @dlsym(ptr noundef %48, ptr noundef nonnull @.str.15) #4
  %50 = getelementptr inbounds i8, ptr %calloc, i64 120
  store ptr %49, ptr %50, align 8, !tbaa !24
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = tail call ptr @dlsym(ptr noundef %51, ptr noundef nonnull @.str.16) #4
  %53 = getelementptr inbounds i8, ptr %calloc, i64 128
  store ptr %52, ptr %53, align 8, !tbaa !25
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = tail call ptr @dlsym(ptr noundef %54, ptr noundef nonnull @.str.17) #4
  %56 = getelementptr inbounds i8, ptr %calloc, i64 136
  store ptr %55, ptr %56, align 8, !tbaa !26
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = tail call ptr @dlsym(ptr noundef %57, ptr noundef nonnull @.str.18) #4
  %59 = getelementptr inbounds i8, ptr %calloc, i64 144
  store ptr %58, ptr %59, align 8, !tbaa !27
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = tail call ptr @dlsym(ptr noundef %60, ptr noundef nonnull @.str.19) #4
  %62 = getelementptr inbounds i8, ptr %calloc, i64 152
  store ptr %61, ptr %62, align 8, !tbaa !28
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = tail call ptr @dlsym(ptr noundef %63, ptr noundef nonnull @.str.20) #4
  %65 = getelementptr inbounds i8, ptr %calloc, i64 160
  store ptr %64, ptr %65, align 8, !tbaa !29
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = tail call ptr @dlsym(ptr noundef %66, ptr noundef nonnull @.str.21) #4
  %68 = getelementptr inbounds i8, ptr %calloc, i64 168
  store ptr %67, ptr %68, align 8, !tbaa !30
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = tail call ptr @dlsym(ptr noundef %69, ptr noundef nonnull @.str.22) #4
  %71 = getelementptr inbounds i8, ptr %calloc, i64 176
  store ptr %70, ptr %71, align 8, !tbaa !31
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = tail call ptr @dlsym(ptr noundef %72, ptr noundef nonnull @.str.23) #4
  %74 = getelementptr inbounds i8, ptr %calloc, i64 184
  store ptr %73, ptr %74, align 8, !tbaa !32
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = tail call ptr @dlsym(ptr noundef %75, ptr noundef nonnull @.str.24) #4
  %77 = getelementptr inbounds i8, ptr %calloc, i64 192
  store ptr %76, ptr %77, align 8, !tbaa !33
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = tail call ptr @dlsym(ptr noundef %78, ptr noundef nonnull @.str.25) #4
  %80 = getelementptr inbounds i8, ptr %calloc, i64 200
  store ptr %79, ptr %80, align 8, !tbaa !34
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = tail call ptr @dlsym(ptr noundef %81, ptr noundef nonnull @.str.26) #4
  %83 = getelementptr inbounds i8, ptr %calloc, i64 208
  store ptr %82, ptr %83, align 8, !tbaa !35
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = tail call ptr @dlsym(ptr noundef %84, ptr noundef nonnull @.str.27) #4
  %86 = getelementptr inbounds i8, ptr %calloc, i64 216
  store ptr %85, ptr %86, align 8, !tbaa !36
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = tail call ptr @dlsym(ptr noundef %87, ptr noundef nonnull @.str.28) #4
  %89 = getelementptr inbounds i8, ptr %calloc, i64 224
  store ptr %88, ptr %89, align 8, !tbaa !37
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = tail call ptr @dlsym(ptr noundef %90, ptr noundef nonnull @.str.29) #4
  %92 = getelementptr inbounds i8, ptr %calloc, i64 232
  store ptr %91, ptr %92, align 8, !tbaa !38
  %93 = load ptr, ptr %4, align 8, !tbaa !5
  %94 = tail call ptr @dlsym(ptr noundef %93, ptr noundef nonnull @.str.30) #4
  %95 = getelementptr inbounds i8, ptr %calloc, i64 240
  store ptr %94, ptr %95, align 8, !tbaa !39
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = tail call ptr @dlsym(ptr noundef %96, ptr noundef nonnull @.str.31) #4
  %98 = getelementptr inbounds i8, ptr %calloc, i64 256
  store ptr %97, ptr %98, align 8, !tbaa !40
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = tail call ptr @dlsym(ptr noundef %99, ptr noundef nonnull @.str.32) #4
  %101 = getelementptr inbounds i8, ptr %calloc, i64 264
  store ptr %100, ptr %101, align 8, !tbaa !41
  %102 = load ptr, ptr %4, align 8, !tbaa !5
  %103 = tail call ptr @dlsym(ptr noundef %102, ptr noundef nonnull @.str.33) #4
  %104 = getelementptr inbounds i8, ptr %calloc, i64 272
  store ptr %103, ptr %104, align 8, !tbaa !42
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = tail call ptr @dlsym(ptr noundef %105, ptr noundef nonnull @.str.34) #4
  %107 = getelementptr inbounds i8, ptr %calloc, i64 280
  store ptr %106, ptr %107, align 8, !tbaa !43
  %108 = load ptr, ptr %4, align 8, !tbaa !5
  %109 = tail call ptr @dlsym(ptr noundef %108, ptr noundef nonnull @.str.35) #4
  %110 = getelementptr inbounds i8, ptr %calloc, i64 288
  store ptr %109, ptr %110, align 8, !tbaa !44
  %111 = load ptr, ptr %4, align 8, !tbaa !5
  %112 = tail call ptr @dlsym(ptr noundef %111, ptr noundef nonnull @.str.36) #4
  %113 = getelementptr inbounds i8, ptr %calloc, i64 304
  store ptr %112, ptr %113, align 8, !tbaa !45
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  %115 = tail call ptr @dlsym(ptr noundef %114, ptr noundef nonnull @.str.37) #4
  %116 = getelementptr inbounds i8, ptr %calloc, i64 312
  store ptr %115, ptr %116, align 8, !tbaa !46
  %117 = load ptr, ptr %4, align 8, !tbaa !5
  %118 = tail call ptr @dlsym(ptr noundef %117, ptr noundef nonnull @.str.38) #4
  %119 = getelementptr inbounds i8, ptr %calloc, i64 320
  store ptr %118, ptr %119, align 8, !tbaa !47
  %120 = load ptr, ptr %4, align 8, !tbaa !5
  %121 = tail call ptr @dlsym(ptr noundef %120, ptr noundef nonnull @.str.39) #4
  %122 = getelementptr inbounds i8, ptr %calloc, i64 328
  store ptr %121, ptr %122, align 8, !tbaa !48
  %123 = load ptr, ptr %4, align 8, !tbaa !5
  %124 = tail call ptr @dlsym(ptr noundef %123, ptr noundef nonnull @.str.40) #4
  %125 = getelementptr inbounds i8, ptr %calloc, i64 336
  store ptr %124, ptr %125, align 8, !tbaa !49
  %126 = load ptr, ptr %4, align 8, !tbaa !5
  %127 = tail call ptr @dlsym(ptr noundef %126, ptr noundef nonnull @.str.41) #4
  %128 = getelementptr inbounds i8, ptr %calloc, i64 344
  store ptr %127, ptr %128, align 8, !tbaa !50
  %129 = load ptr, ptr %4, align 8, !tbaa !5
  %130 = tail call ptr @dlsym(ptr noundef %129, ptr noundef nonnull @.str.42) #4
  %131 = getelementptr inbounds i8, ptr %calloc, i64 352
  store ptr %130, ptr %131, align 8, !tbaa !51
  %132 = load ptr, ptr %4, align 8, !tbaa !5
  %133 = tail call ptr @dlsym(ptr noundef %132, ptr noundef nonnull @.str.43) #4
  %134 = getelementptr inbounds i8, ptr %calloc, i64 360
  store ptr %133, ptr %134, align 8, !tbaa !52
  %135 = load ptr, ptr %4, align 8, !tbaa !5
  %136 = tail call ptr @dlsym(ptr noundef %135, ptr noundef nonnull @.str.44) #4
  %137 = getelementptr inbounds i8, ptr %calloc, i64 368
  store ptr %136, ptr %137, align 8, !tbaa !53
  %138 = load ptr, ptr %4, align 8, !tbaa !5
  %139 = tail call ptr @dlsym(ptr noundef %138, ptr noundef nonnull @.str.45) #4
  %140 = getelementptr inbounds i8, ptr %calloc, i64 376
  store ptr %139, ptr %140, align 8, !tbaa !54
  %141 = load ptr, ptr %4, align 8, !tbaa !5
  %142 = tail call ptr @dlsym(ptr noundef %141, ptr noundef nonnull @.str.46) #4
  %143 = getelementptr inbounds i8, ptr %calloc, i64 384
  store ptr %142, ptr %143, align 8, !tbaa !55
  %144 = load ptr, ptr %4, align 8, !tbaa !5
  %145 = tail call ptr @dlsym(ptr noundef %144, ptr noundef nonnull @.str.47) #4
  %146 = getelementptr inbounds i8, ptr %calloc, i64 392
  store ptr %145, ptr %146, align 8, !tbaa !56
  br label %147

147:                                              ; preds = %1, %9, %5
  %.098 = phi ptr [ %calloc, %9 ], [ null, %5 ], [ null, %1 ]
  %.0 = phi ptr [ null, %9 ], [ %calloc, %5 ], [ null, %1 ]
  tail call void @SDF_METHOD_free(ptr noundef %.0)
  ret ptr %.098
}

; Function Attrs: nounwind
declare ptr @dlopen(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: nounwind
declare ptr @dlerror() local_unnamed_addr #1

; Function Attrs: nounwind
declare ptr @dlsym(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @SDF_METHOD_free(ptr noundef) local_unnamed_addr #0

; Function Attrs: nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #3

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" }
attributes #4 = { nounwind }
attributes #5 = { cold nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"sdf_method_st", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200, !7, i64 208, !7, i64 216, !7, i64 224, !7, i64 232, !7, i64 240, !7, i64 248, !7, i64 256, !7, i64 264, !7, i64 272, !7, i64 280, !7, i64 288, !7, i64 296, !7, i64 304, !7, i64 312, !7, i64 320, !7, i64 328, !7, i64 336, !7, i64 344, !7, i64 352, !7, i64 360, !7, i64 368, !7, i64 376, !7, i64 384, !7, i64 392}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 16}
!12 = !{!6, !7, i64 24}
!13 = !{!6, !7, i64 32}
!14 = !{!6, !7, i64 40}
!15 = !{!6, !7, i64 48}
!16 = !{!6, !7, i64 56}
!17 = !{!6, !7, i64 64}
!18 = !{!6, !7, i64 72}
!19 = !{!6, !7, i64 80}
!20 = !{!6, !7, i64 88}
!21 = !{!6, !7, i64 96}
!22 = !{!6, !7, i64 104}
!23 = !{!6, !7, i64 112}
!24 = !{!6, !7, i64 120}
!25 = !{!6, !7, i64 128}
!26 = !{!6, !7, i64 136}
!27 = !{!6, !7, i64 144}
!28 = !{!6, !7, i64 152}
!29 = !{!6, !7, i64 160}
!30 = !{!6, !7, i64 168}
!31 = !{!6, !7, i64 176}
!32 = !{!6, !7, i64 184}
!33 = !{!6, !7, i64 192}
!34 = !{!6, !7, i64 200}
!35 = !{!6, !7, i64 208}
!36 = !{!6, !7, i64 216}
!37 = !{!6, !7, i64 224}
!38 = !{!6, !7, i64 232}
!39 = !{!6, !7, i64 240}
!40 = !{!6, !7, i64 256}
!41 = !{!6, !7, i64 264}
!42 = !{!6, !7, i64 272}
!43 = !{!6, !7, i64 280}
!44 = !{!6, !7, i64 288}
!45 = !{!6, !7, i64 304}
!46 = !{!6, !7, i64 312}
!47 = !{!6, !7, i64 320}
!48 = !{!6, !7, i64 328}
!49 = !{!6, !7, i64 336}
!50 = !{!6, !7, i64 344}
!51 = !{!6, !7, i64 352}
!52 = !{!6, !7, i64 360}
!53 = !{!6, !7, i64 368}
!54 = !{!6, !7, i64 376}
!55 = !{!6, !7, i64 384}
!56 = !{!6, !7, i64 392}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass