; LLVM IR from arpawar/RayTracer :: src/common/inc (cuda_drvapi_dynlink)

; 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"

@.str = external hidden unnamed_addr constant [7 x i8], align 1
@_cuInit = external dso_local global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [45 x i8], align 1
@__CudaLibName = external hidden global [11 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [19 x i8], align 1
@cuDriverGetVersion = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@cuDeviceGet = external dso_local global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [17 x i8], align 1
@cuDeviceGetCount = external dso_local global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1
@cuDeviceGetName = external dso_local global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [26 x i8], align 1
@cuDeviceComputeCapability = external dso_local global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [22 x i8], align 1
@cuDeviceGetProperties = external dso_local global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [21 x i8], align 1
@cuDeviceGetAttribute = external dso_local global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [13 x i8], align 1
@cuCtxDestroy = external dso_local global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [12 x i8], align 1
@cuCtxAttach = external dso_local global ptr, align 8
@.str.11 = external hidden unnamed_addr constant [12 x i8], align 1
@cuCtxDetach = external dso_local global ptr, align 8
@.str.12 = external hidden unnamed_addr constant [17 x i8], align 1
@cuCtxPushCurrent = external dso_local global ptr, align 8
@.str.13 = external hidden unnamed_addr constant [16 x i8], align 1
@cuCtxPopCurrent = external dso_local global ptr, align 8
@.str.14 = external hidden unnamed_addr constant [15 x i8], align 1
@cuCtxGetDevice = external dso_local global ptr, align 8
@.str.15 = external hidden unnamed_addr constant [17 x i8], align 1
@cuCtxSynchronize = external dso_local global ptr, align 8
@.str.16 = external hidden unnamed_addr constant [13 x i8], align 1
@cuModuleLoad = external dso_local global ptr, align 8
@.str.17 = external hidden unnamed_addr constant [17 x i8], align 1
@cuModuleLoadData = external dso_local global ptr, align 8
@.str.18 = external hidden unnamed_addr constant [15 x i8], align 1
@cuModuleUnload = external dso_local global ptr, align 8
@.str.19 = external hidden unnamed_addr constant [20 x i8], align 1
@cuModuleGetFunction = external dso_local global ptr, align 8
@.str.20 = external hidden unnamed_addr constant [18 x i8], align 1
@cuModuleGetTexRef = external dso_local global ptr, align 8
@.str.21 = external hidden unnamed_addr constant [14 x i8], align 1
@cuMemFreeHost = external dso_local global ptr, align 8
@.str.22 = external hidden unnamed_addr constant [15 x i8], align 1
@cuMemHostAlloc = external dso_local global ptr, align 8
@.str.23 = external hidden unnamed_addr constant [20 x i8], align 1
@cuFuncSetBlockShape = external dso_local global ptr, align 8
@.str.24 = external hidden unnamed_addr constant [20 x i8], align 1
@cuFuncSetSharedSize = external dso_local global ptr, align 8
@.str.25 = external hidden unnamed_addr constant [19 x i8], align 1
@cuFuncGetAttribute = external dso_local global ptr, align 8
@.str.26 = external hidden unnamed_addr constant [15 x i8], align 1
@cuArrayDestroy = external dso_local global ptr, align 8
@.str.27 = external hidden unnamed_addr constant [15 x i8], align 1
@cuTexRefCreate = external dso_local global ptr, align 8
@.str.28 = external hidden unnamed_addr constant [16 x i8], align 1
@cuTexRefDestroy = external dso_local global ptr, align 8
@.str.29 = external hidden unnamed_addr constant [17 x i8], align 1
@cuTexRefSetArray = external dso_local global ptr, align 8
@.str.30 = external hidden unnamed_addr constant [18 x i8], align 1
@cuTexRefSetFormat = external dso_local global ptr, align 8
@.str.31 = external hidden unnamed_addr constant [23 x i8], align 1
@cuTexRefSetAddressMode = external dso_local global ptr, align 8
@.str.32 = external hidden unnamed_addr constant [22 x i8], align 1
@cuTexRefSetFilterMode = external dso_local global ptr, align 8
@.str.33 = external hidden unnamed_addr constant [17 x i8], align 1
@cuTexRefSetFlags = external dso_local global ptr, align 8
@.str.34 = external hidden unnamed_addr constant [17 x i8], align 1
@cuTexRefGetArray = external dso_local global ptr, align 8
@.str.35 = external hidden unnamed_addr constant [23 x i8], align 1
@cuTexRefGetAddressMode = external dso_local global ptr, align 8
@.str.36 = external hidden unnamed_addr constant [22 x i8], align 1
@cuTexRefGetFilterMode = external dso_local global ptr, align 8
@.str.37 = external hidden unnamed_addr constant [18 x i8], align 1
@cuTexRefGetFormat = external dso_local global ptr, align 8
@.str.38 = external hidden unnamed_addr constant [17 x i8], align 1
@cuTexRefGetFlags = external dso_local global ptr, align 8
@.str.39 = external hidden unnamed_addr constant [15 x i8], align 1
@cuParamSetSize = external dso_local global ptr, align 8
@.str.40 = external hidden unnamed_addr constant [12 x i8], align 1
@cuParamSeti = external dso_local global ptr, align 8
@.str.41 = external hidden unnamed_addr constant [12 x i8], align 1
@cuParamSetf = external dso_local global ptr, align 8
@.str.42 = external hidden unnamed_addr constant [12 x i8], align 1
@cuParamSetv = external dso_local global ptr, align 8
@.str.43 = external hidden unnamed_addr constant [17 x i8], align 1
@cuParamSetTexRef = external dso_local global ptr, align 8
@.str.44 = external hidden unnamed_addr constant [9 x i8], align 1
@cuLaunch = external dso_local global ptr, align 8
@.str.45 = external hidden unnamed_addr constant [13 x i8], align 1
@cuLaunchGrid = external dso_local global ptr, align 8
@.str.46 = external hidden unnamed_addr constant [18 x i8], align 1
@cuLaunchGridAsync = external dso_local global ptr, align 8
@.str.47 = external hidden unnamed_addr constant [14 x i8], align 1
@cuEventCreate = external dso_local global ptr, align 8
@.str.48 = external hidden unnamed_addr constant [14 x i8], align 1
@cuEventRecord = external dso_local global ptr, align 8
@.str.49 = external hidden unnamed_addr constant [13 x i8], align 1
@cuEventQuery = external dso_local global ptr, align 8
@.str.50 = external hidden unnamed_addr constant [19 x i8], align 1
@cuEventSynchronize = external dso_local global ptr, align 8
@.str.51 = external hidden unnamed_addr constant [15 x i8], align 1
@cuEventDestroy = external dso_local global ptr, align 8
@.str.52 = external hidden unnamed_addr constant [19 x i8], align 1
@cuEventElapsedTime = external dso_local global ptr, align 8
@.str.53 = external hidden unnamed_addr constant [15 x i8], align 1
@cuStreamCreate = external dso_local global ptr, align 8
@.str.54 = external hidden unnamed_addr constant [14 x i8], align 1
@cuStreamQuery = external dso_local global ptr, align 8
@.str.55 = external hidden unnamed_addr constant [20 x i8], align 1
@cuStreamSynchronize = external dso_local global ptr, align 8
@.str.56 = external hidden unnamed_addr constant [16 x i8], align 1
@cuStreamDestroy = external dso_local global ptr, align 8
@.str.57 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [20 x i8], align 1
@cuDeviceTotalMem = external dso_local global ptr, align 8
@.str.63 = external hidden unnamed_addr constant [15 x i8], align 1
@cuCtxCreate = external dso_local global ptr, align 8
@.str.64 = external hidden unnamed_addr constant [21 x i8], align 1
@cuModuleGetGlobal = external dso_local global ptr, align 8
@.str.65 = external hidden unnamed_addr constant [16 x i8], align 1
@cuMemGetInfo = external dso_local global ptr, align 8
@.str.66 = external hidden unnamed_addr constant [14 x i8], align 1
@cuMemAlloc = external dso_local global ptr, align 8
@.str.67 = external hidden unnamed_addr constant [19 x i8], align 1
@cuMemAllocPitch = external dso_local global ptr, align 8
@.str.68 = external hidden unnamed_addr constant [13 x i8], align 1
@cuMemFree = external dso_local global ptr, align 8
@.str.69 = external hidden unnamed_addr constant [24 x i8], align 1
@cuMemGetAddressRange = external dso_local global ptr, align 8
@.str.70 = external hidden unnamed_addr constant [18 x i8], align 1
@cuMemAllocHost = external dso_local global ptr, align 8
@.str.71 = external hidden unnamed_addr constant [29 x i8], align 1
@cuMemHostGetDevicePointer = external dso_local global ptr, align 8
@.str.72 = external hidden unnamed_addr constant [16 x i8], align 1
@cuMemcpyHtoD = external dso_local global ptr, align 8
@.str.73 = external hidden unnamed_addr constant [16 x i8], align 1
@cuMemcpyDtoH = external dso_local global ptr, align 8
@.str.74 = external hidden unnamed_addr constant [16 x i8], align 1
@cuMemcpyDtoD = external dso_local global ptr, align 8
@.str.75 = external hidden unnamed_addr constant [16 x i8], align 1
@cuMemcpyDtoA = external dso_local global ptr, align 8
@.str.76 = external hidden unnamed_addr constant [16 x i8], align 1
@cuMemcpyAtoD = external dso_local global ptr, align 8
@.str.77 = external hidden unnamed_addr constant [16 x i8], align 1
@cuMemcpyHtoA = external dso_local global ptr, align 8
@.str.78 = external hidden unnamed_addr constant [16 x i8], align 1
@cuMemcpyAtoH = external dso_local global ptr, align 8
@.str.79 = external hidden unnamed_addr constant [16 x i8], align 1
@cuMemcpyAtoA = external dso_local global ptr, align 8
@.str.80 = external hidden unnamed_addr constant [14 x i8], align 1
@cuMemcpy2D = external dso_local global ptr, align 8
@.str.81 = external hidden unnamed_addr constant [23 x i8], align 1
@cuMemcpy2DUnaligned = external dso_local global ptr, align 8
@.str.82 = external hidden unnamed_addr constant [14 x i8], align 1
@cuMemcpy3D = external dso_local global ptr, align 8
@.str.83 = external hidden unnamed_addr constant [21 x i8], align 1
@cuMemcpyHtoDAsync = external dso_local global ptr, align 8
@.str.84 = external hidden unnamed_addr constant [21 x i8], align 1
@cuMemcpyDtoHAsync = external dso_local global ptr, align 8
@.str.85 = external hidden unnamed_addr constant [21 x i8], align 1
@cuMemcpyHtoAAsync = external dso_local global ptr, align 8
@.str.86 = external hidden unnamed_addr constant [21 x i8], align 1
@cuMemcpyAtoHAsync = external dso_local global ptr, align 8
@.str.87 = external hidden unnamed_addr constant [19 x i8], align 1
@cuMemcpy2DAsync = external dso_local global ptr, align 8
@.str.88 = external hidden unnamed_addr constant [19 x i8], align 1
@cuMemcpy3DAsync = external dso_local global ptr, align 8
@.str.89 = external hidden unnamed_addr constant [14 x i8], align 1
@cuMemsetD8 = external dso_local global ptr, align 8
@.str.90 = external hidden unnamed_addr constant [15 x i8], align 1
@cuMemsetD16 = external dso_local global ptr, align 8
@.str.91 = external hidden unnamed_addr constant [15 x i8], align 1
@cuMemsetD32 = external dso_local global ptr, align 8
@.str.92 = external hidden unnamed_addr constant [16 x i8], align 1
@cuMemsetD2D8 = external dso_local global ptr, align 8
@.str.93 = external hidden unnamed_addr constant [17 x i8], align 1
@cuMemsetD2D16 = external dso_local global ptr, align 8
@.str.94 = external hidden unnamed_addr constant [17 x i8], align 1
@cuMemsetD2D32 = external dso_local global ptr, align 8
@.str.95 = external hidden unnamed_addr constant [17 x i8], align 1
@cuArrayCreate = external dso_local global ptr, align 8
@.str.96 = external hidden unnamed_addr constant [24 x i8], align 1
@cuArrayGetDescriptor = external dso_local global ptr, align 8
@.str.97 = external hidden unnamed_addr constant [19 x i8], align 1
@cuArray3DCreate = external dso_local global ptr, align 8
@.str.98 = external hidden unnamed_addr constant [26 x i8], align 1
@cuArray3DGetDescriptor = external dso_local global ptr, align 8
@.str.99 = external hidden unnamed_addr constant [22 x i8], align 1
@cuTexRefSetAddress = external dso_local global ptr, align 8
@.str.100 = external hidden unnamed_addr constant [24 x i8], align 1
@cuTexRefSetAddress2D = external dso_local global ptr, align 8
@.str.101 = external hidden unnamed_addr constant [22 x i8], align 1
@cuTexRefGetAddress = external dso_local global ptr, align 8
@.str.102 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.134 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.135 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.136 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.137 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.138 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.139 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.140 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.141 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.142 = external hidden unnamed_addr constant [19 x i8], align 1
@cuModuleLoadDataEx = external dso_local global ptr, align 8
@.str.143 = external hidden unnamed_addr constant [22 x i8], align 1
@cuModuleLoadFatBinary = external dso_local global ptr, align 8
@.str.144 = external hidden unnamed_addr constant [18 x i8], align 1
@cuMemHostGetFlags = external dso_local global ptr, align 8
@.str.145 = external hidden unnamed_addr constant [18 x i8], align 1
@cuMemcpyDtoDAsync = external dso_local global ptr, align 8
@.str.146 = external hidden unnamed_addr constant [21 x i8], align 1
@cuFuncSetCacheConfig = external dso_local global ptr, align 8
@.str.147 = external hidden unnamed_addr constant [29 x i8], align 1
@cuGraphicsUnregisterResource = external dso_local global ptr, align 8
@.str.148 = external hidden unnamed_addr constant [36 x i8], align 1
@cuGraphicsSubResourceGetMappedArray = external dso_local global ptr, align 8
@.str.149 = external hidden unnamed_addr constant [38 x i8], align 1
@cuGraphicsResourceGetMappedPointer = external dso_local global ptr, align 8
@.str.150 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.151 = external hidden unnamed_addr constant [30 x i8], align 1
@cuGraphicsResourceSetMapFlags = external dso_local global ptr, align 8
@.str.152 = external hidden unnamed_addr constant [23 x i8], align 1
@cuGraphicsMapResources = external dso_local global ptr, align 8
@.str.153 = external hidden unnamed_addr constant [25 x i8], align 1
@cuGraphicsUnmapResources = external dso_local global ptr, align 8
@.str.154 = external hidden unnamed_addr constant [17 x i8], align 1
@cuGetExportTable = external dso_local global ptr, align 8
@.str.155 = external hidden unnamed_addr constant [19 x i8], align 1
@cuModuleGetSurfRef = external dso_local global ptr, align 8
@.str.156 = external hidden unnamed_addr constant [18 x i8], align 1
@cuSurfRefSetArray = external dso_local global ptr, align 8
@.str.157 = external hidden unnamed_addr constant [18 x i8], align 1
@cuSurfRefGetArray = external dso_local global ptr, align 8
@.str.158 = external hidden unnamed_addr constant [14 x i8], align 1
@cuCtxSetLimit = external dso_local global ptr, align 8
@.str.159 = external hidden unnamed_addr constant [14 x i8], align 1
@cuCtxGetLimit = external dso_local global ptr, align 8
@.str.160 = external hidden unnamed_addr constant [16 x i8], align 1
@cuCtxSetCurrent = external dso_local global ptr, align 8
@.str.161 = external hidden unnamed_addr constant [16 x i8], align 1
@cuCtxGetCurrent = external dso_local global ptr, align 8
@.str.162 = external hidden unnamed_addr constant [18 x i8], align 1
@cuMemHostRegister = external dso_local global ptr, align 8
@.str.163 = external hidden unnamed_addr constant [20 x i8], align 1
@cuMemHostUnregister = external dso_local global ptr, align 8
@.str.164 = external hidden unnamed_addr constant [9 x i8], align 1
@cuMemcpy = external dso_local global ptr, align 8
@.str.165 = external hidden unnamed_addr constant [13 x i8], align 1
@cuMemcpyPeer = external dso_local global ptr, align 8
@.str.166 = external hidden unnamed_addr constant [15 x i8], align 1
@cuLaunchKernel = external dso_local global ptr, align 8

; Function Attrs: nounwind uwtable
define dso_local i32 @cuInit(i32 noundef %0, i32 noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 1000, ptr %7, align 4, !tbaa !5
  br label %12

12:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %13 = call i32 @LOAD_LIBRARY(ptr noundef %6)
  store i32 %13, ptr %8, align 4, !tbaa !5
  %14 = load i32, ptr %8, align 4, !tbaa !5
  %15 = icmp ne i32 0, %14
  br i1 %15, label %16, label %18

16:                                               ; preds = %12
  %17 = load i32, ptr %8, align 4, !tbaa !5
  store i32 %17, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %19

18:                                               ; preds = %12
  store i32 0, ptr %9, align 4
  br label %19

19:                                               ; preds = %18, %16
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  %20 = load i32, ptr %9, align 4
  switch i32 %20, label %1252 [
    i32 0, label %21
  ]

21:                                               ; preds = %19
  br label %22

22:                                               ; preds = %21
  br label %23

23:                                               ; preds = %22
  %24 = load ptr, ptr %6, align 8, !tbaa !9
  %25 = call ptr @dlsym(ptr noundef %24, ptr noundef @.str) #4
  store ptr %25, ptr @_cuInit, align 8, !tbaa !9
  %26 = load ptr, ptr @_cuInit, align 8, !tbaa !9
  %27 = icmp eq ptr %26, null
  br i1 %27, label %28, label %30

28:                                               ; preds = %23
  %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

30:                                               ; preds = %23
  br label %31

31:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %32 = load ptr, ptr @_cuInit, align 8, !tbaa !9
  %33 = load i32, ptr %4, align 4, !tbaa !5
  %34 = call i32 %32(i32 noundef %33)
  store i32 %34, ptr %10, align 4, !tbaa !5
  %35 = load i32, ptr %10, align 4, !tbaa !5
  %36 = icmp ne i32 0, %35
  br i1 %36, label %37, label %39

37:                                               ; preds = %31
  %38 = load i32, ptr %10, align 4, !tbaa !5
  store i32 %38, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %40

39:                                               ; preds = %31
  store i32 0, ptr %9, align 4
  br label %40

40:                                               ; preds = %39, %37
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  %41 = load i32, ptr %9, align 4
  switch i32 %41, label %1252 [
    i32 0, label %42
  ]

42:                                               ; preds = %40
  br label %43

43:                                               ; preds = %42
  br label %44

44:                                               ; preds = %43
  %45 = load ptr, ptr %6, align 8, !tbaa !9
  %46 = call ptr @dlsym(ptr noundef %45, ptr noundef @.str.2) #4
  store ptr %46, ptr @cuDriverGetVersion, align 8, !tbaa !9
  %47 = load ptr, ptr @cuDriverGetVersion, align 8, !tbaa !9
  %48 = icmp eq ptr %47, null
  br i1 %48, label %49, label %52

49:                                               ; preds = %44
  br i1 false, label %50, label %52

50:                                               ; preds = %49
  %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

52:                                               ; preds = %49, %44
  %53 = load ptr, ptr @cuDriverGetVersion, align 8, !tbaa !9
  %54 = icmp ne ptr %53, null
  br i1 %54, label %55, label %69

55:                                               ; preds = %52
  br label %56

56:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %57 = load ptr, ptr @cuDriverGetVersion, align 8, !tbaa !9
  %58 = call i32 %57(ptr noundef %7)
  store i32 %58, ptr %11, align 4, !tbaa !5
  %59 = load i32, ptr %11, align 4, !tbaa !5
  %60 = icmp ne i32 0, %59
  br i1 %60, label %61, label %63

61:                                               ; preds = %56
  %62 = load i32, ptr %11, align 4, !tbaa !5
  store i32 %62, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %64

63:                                               ; preds = %56
  store i32 0, ptr %9, align 4
  br label %64

64:                                               ; preds = %63, %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  %65 = load i32, ptr %9, align 4
  switch i32 %65, label %1252 [
    i32 0, label %66
  ]

66:                                               ; preds = %64
  br label %67

67:                                               ; preds = %66
  br label %68

68:                                               ; preds = %67
  br label %69

69:                                               ; preds = %68, %52
  %70 = load ptr, ptr %6, align 8, !tbaa !9
  %71 = call ptr @dlsym(ptr noundef %70, ptr noundef @.str.3) #4
  store ptr %71, ptr @cuDeviceGet, align 8, !tbaa !9
  %72 = load ptr, ptr @cuDeviceGet, align 8, !tbaa !9
  %73 = icmp eq ptr %72, null
  br i1 %73, label %74, label %76

74:                                               ; preds = %69
  %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.3, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

76:                                               ; preds = %69
  %77 = load ptr, ptr %6, align 8, !tbaa !9
  %78 = call ptr @dlsym(ptr noundef %77, ptr noundef @.str.4) #4
  store ptr %78, ptr @cuDeviceGetCount, align 8, !tbaa !9
  %79 = load ptr, ptr @cuDeviceGetCount, align 8, !tbaa !9
  %80 = icmp eq ptr %79, null
  br i1 %80, label %81, label %83

81:                                               ; preds = %76
  %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.4, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

83:                                               ; preds = %76
  %84 = load ptr, ptr %6, align 8, !tbaa !9
  %85 = call ptr @dlsym(ptr noundef %84, ptr noundef @.str.5) #4
  store ptr %85, ptr @cuDeviceGetName, align 8, !tbaa !9
  %86 = load ptr, ptr @cuDeviceGetName, align 8, !tbaa !9
  %87 = icmp eq ptr %86, null
  br i1 %87, label %88, label %90

88:                                               ; preds = %83
  %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.5, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

90:                                               ; preds = %83
  %91 = load ptr, ptr %6, align 8, !tbaa !9
  %92 = call ptr @dlsym(ptr noundef %91, ptr noundef @.str.6) #4
  store ptr %92, ptr @cuDeviceComputeCapability, align 8, !tbaa !9
  %93 = load ptr, ptr @cuDeviceComputeCapability, align 8, !tbaa !9
  %94 = icmp eq ptr %93, null
  br i1 %94, label %95, label %97

95:                                               ; preds = %90
  %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.6, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

97:                                               ; preds = %90
  %98 = load ptr, ptr %6, align 8, !tbaa !9
  %99 = call ptr @dlsym(ptr noundef %98, ptr noundef @.str.7) #4
  store ptr %99, ptr @cuDeviceGetProperties, align 8, !tbaa !9
  %100 = load ptr, ptr @cuDeviceGetProperties, align 8, !tbaa !9
  %101 = icmp eq ptr %100, null
  br i1 %101, label %102, label %104

102:                                              ; preds = %97
  %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.7, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

104:                                              ; preds = %97
  %105 = load ptr, ptr %6, align 8, !tbaa !9
  %106 = call ptr @dlsym(ptr noundef %105, ptr noundef @.str.8) #4
  store ptr %106, ptr @cuDeviceGetAttribute, align 8, !tbaa !9
  %107 = load ptr, ptr @cuDeviceGetAttribute, align 8, !tbaa !9
  %108 = icmp eq ptr %107, null
  br i1 %108, label %109, label %111

109:                                              ; preds = %104
  %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.8, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

111:                                              ; preds = %104
  %112 = load ptr, ptr %6, align 8, !tbaa !9
  %113 = call ptr @dlsym(ptr noundef %112, ptr noundef @.str.9) #4
  store ptr %113, ptr @cuCtxDestroy, align 8, !tbaa !9
  %114 = load ptr, ptr @cuCtxDestroy, align 8, !tbaa !9
  %115 = icmp eq ptr %114, null
  br i1 %115, label %116, label %118

116:                                              ; preds = %111
  %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.9, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

118:                                              ; preds = %111
  %119 = load ptr, ptr %6, align 8, !tbaa !9
  %120 = call ptr @dlsym(ptr noundef %119, ptr noundef @.str.10) #4
  store ptr %120, ptr @cuCtxAttach, align 8, !tbaa !9
  %121 = load ptr, ptr @cuCtxAttach, align 8, !tbaa !9
  %122 = icmp eq ptr %121, null
  br i1 %122, label %123, label %125

123:                                              ; preds = %118
  %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.10, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

125:                                              ; preds = %118
  %126 = load ptr, ptr %6, align 8, !tbaa !9
  %127 = call ptr @dlsym(ptr noundef %126, ptr noundef @.str.11) #4
  store ptr %127, ptr @cuCtxDetach, align 8, !tbaa !9
  %128 = load ptr, ptr @cuCtxDetach, align 8, !tbaa !9
  %129 = icmp eq ptr %128, null
  br i1 %129, label %130, label %132

130:                                              ; preds = %125
  %131 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.11, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

132:                                              ; preds = %125
  %133 = load ptr, ptr %6, align 8, !tbaa !9
  %134 = call ptr @dlsym(ptr noundef %133, ptr noundef @.str.12) #4
  store ptr %134, ptr @cuCtxPushCurrent, align 8, !tbaa !9
  %135 = load ptr, ptr @cuCtxPushCurrent, align 8, !tbaa !9
  %136 = icmp eq ptr %135, null
  br i1 %136, label %137, label %139

137:                                              ; preds = %132
  %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.12, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

139:                                              ; preds = %132
  %140 = load ptr, ptr %6, align 8, !tbaa !9
  %141 = call ptr @dlsym(ptr noundef %140, ptr noundef @.str.13) #4
  store ptr %141, ptr @cuCtxPopCurrent, align 8, !tbaa !9
  %142 = load ptr, ptr @cuCtxPopCurrent, align 8, !tbaa !9
  %143 = icmp eq ptr %142, null
  br i1 %143, label %144, label %146

144:                                              ; preds = %139
  %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.13, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

146:                                              ; preds = %139
  %147 = load ptr, ptr %6, align 8, !tbaa !9
  %148 = call ptr @dlsym(ptr noundef %147, ptr noundef @.str.14) #4
  store ptr %148, ptr @cuCtxGetDevice, align 8, !tbaa !9
  %149 = load ptr, ptr @cuCtxGetDevice, align 8, !tbaa !9
  %150 = icmp eq ptr %149, null
  br i1 %150, label %151, label %153

151:                                              ; preds = %146
  %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.14, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

153:                                              ; preds = %146
  %154 = load ptr, ptr %6, align 8, !tbaa !9
  %155 = call ptr @dlsym(ptr noundef %154, ptr noundef @.str.15) #4
  store ptr %155, ptr @cuCtxSynchronize, align 8, !tbaa !9
  %156 = load ptr, ptr @cuCtxSynchronize, align 8, !tbaa !9
  %157 = icmp eq ptr %156, null
  br i1 %157, label %158, label %160

158:                                              ; preds = %153
  %159 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.15, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

160:                                              ; preds = %153
  %161 = load ptr, ptr %6, align 8, !tbaa !9
  %162 = call ptr @dlsym(ptr noundef %161, ptr noundef @.str.16) #4
  store ptr %162, ptr @cuModuleLoad, align 8, !tbaa !9
  %163 = load ptr, ptr @cuModuleLoad, align 8, !tbaa !9
  %164 = icmp eq ptr %163, null
  br i1 %164, label %165, label %167

165:                                              ; preds = %160
  %166 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.16, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

167:                                              ; preds = %160
  %168 = load ptr, ptr %6, align 8, !tbaa !9
  %169 = call ptr @dlsym(ptr noundef %168, ptr noundef @.str.17) #4
  store ptr %169, ptr @cuModuleLoadData, align 8, !tbaa !9
  %170 = load ptr, ptr @cuModuleLoadData, align 8, !tbaa !9
  %171 = icmp eq ptr %170, null
  br i1 %171, label %172, label %174

172:                                              ; preds = %167
  %173 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.17, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

174:                                              ; preds = %167
  %175 = load ptr, ptr %6, align 8, !tbaa !9
  %176 = call ptr @dlsym(ptr noundef %175, ptr noundef @.str.18) #4
  store ptr %176, ptr @cuModuleUnload, align 8, !tbaa !9
  %177 = load ptr, ptr @cuModuleUnload, align 8, !tbaa !9
  %178 = icmp eq ptr %177, null
  br i1 %178, label %179, label %181

179:                                              ; preds = %174
  %180 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.18, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

181:                                              ; preds = %174
  %182 = load ptr, ptr %6, align 8, !tbaa !9
  %183 = call ptr @dlsym(ptr noundef %182, ptr noundef @.str.19) #4
  store ptr %183, ptr @cuModuleGetFunction, align 8, !tbaa !9
  %184 = load ptr, ptr @cuModuleGetFunction, align 8, !tbaa !9
  %185 = icmp eq ptr %184, null
  br i1 %185, label %186, label %188

186:                                              ; preds = %181
  %187 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.19, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

188:                                              ; preds = %181
  %189 = load ptr, ptr %6, align 8, !tbaa !9
  %190 = call ptr @dlsym(ptr noundef %189, ptr noundef @.str.20) #4
  store ptr %190, ptr @cuModuleGetTexRef, align 8, !tbaa !9
  %191 = load ptr, ptr @cuModuleGetTexRef, align 8, !tbaa !9
  %192 = icmp eq ptr %191, null
  br i1 %192, label %193, label %195

193:                                              ; preds = %188
  %194 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.20, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

195:                                              ; preds = %188
  %196 = load ptr, ptr %6, align 8, !tbaa !9
  %197 = call ptr @dlsym(ptr noundef %196, ptr noundef @.str.21) #4
  store ptr %197, ptr @cuMemFreeHost, align 8, !tbaa !9
  %198 = load ptr, ptr @cuMemFreeHost, align 8, !tbaa !9
  %199 = icmp eq ptr %198, null
  br i1 %199, label %200, label %202

200:                                              ; preds = %195
  %201 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.21, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

202:                                              ; preds = %195
  %203 = load ptr, ptr %6, align 8, !tbaa !9
  %204 = call ptr @dlsym(ptr noundef %203, ptr noundef @.str.22) #4
  store ptr %204, ptr @cuMemHostAlloc, align 8, !tbaa !9
  %205 = load ptr, ptr @cuMemHostAlloc, align 8, !tbaa !9
  %206 = icmp eq ptr %205, null
  br i1 %206, label %207, label %209

207:                                              ; preds = %202
  %208 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.22, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

209:                                              ; preds = %202
  %210 = load ptr, ptr %6, align 8, !tbaa !9
  %211 = call ptr @dlsym(ptr noundef %210, ptr noundef @.str.23) #4
  store ptr %211, ptr @cuFuncSetBlockShape, align 8, !tbaa !9
  %212 = load ptr, ptr @cuFuncSetBlockShape, align 8, !tbaa !9
  %213 = icmp eq ptr %212, null
  br i1 %213, label %214, label %216

214:                                              ; preds = %209
  %215 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.23, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

216:                                              ; preds = %209
  %217 = load ptr, ptr %6, align 8, !tbaa !9
  %218 = call ptr @dlsym(ptr noundef %217, ptr noundef @.str.24) #4
  store ptr %218, ptr @cuFuncSetSharedSize, align 8, !tbaa !9
  %219 = load ptr, ptr @cuFuncSetSharedSize, align 8, !tbaa !9
  %220 = icmp eq ptr %219, null
  br i1 %220, label %221, label %223

221:                                              ; preds = %216
  %222 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.24, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

223:                                              ; preds = %216
  %224 = load ptr, ptr %6, align 8, !tbaa !9
  %225 = call ptr @dlsym(ptr noundef %224, ptr noundef @.str.25) #4
  store ptr %225, ptr @cuFuncGetAttribute, align 8, !tbaa !9
  %226 = load ptr, ptr @cuFuncGetAttribute, align 8, !tbaa !9
  %227 = icmp eq ptr %226, null
  br i1 %227, label %228, label %230

228:                                              ; preds = %223
  %229 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.25, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

230:                                              ; preds = %223
  %231 = load ptr, ptr %6, align 8, !tbaa !9
  %232 = call ptr @dlsym(ptr noundef %231, ptr noundef @.str.26) #4
  store ptr %232, ptr @cuArrayDestroy, align 8, !tbaa !9
  %233 = load ptr, ptr @cuArrayDestroy, align 8, !tbaa !9
  %234 = icmp eq ptr %233, null
  br i1 %234, label %235, label %237

235:                                              ; preds = %230
  %236 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.26, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

237:                                              ; preds = %230
  %238 = load ptr, ptr %6, align 8, !tbaa !9
  %239 = call ptr @dlsym(ptr noundef %238, ptr noundef @.str.27) #4
  store ptr %239, ptr @cuTexRefCreate, align 8, !tbaa !9
  %240 = load ptr, ptr @cuTexRefCreate, align 8, !tbaa !9
  %241 = icmp eq ptr %240, null
  br i1 %241, label %242, label %244

242:                                              ; preds = %237
  %243 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.27, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

244:                                              ; preds = %237
  %245 = load ptr, ptr %6, align 8, !tbaa !9
  %246 = call ptr @dlsym(ptr noundef %245, ptr noundef @.str.28) #4
  store ptr %246, ptr @cuTexRefDestroy, align 8, !tbaa !9
  %247 = load ptr, ptr @cuTexRefDestroy, align 8, !tbaa !9
  %248 = icmp eq ptr %247, null
  br i1 %248, label %249, label %251

249:                                              ; preds = %244
  %250 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.28, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

251:                                              ; preds = %244
  %252 = load ptr, ptr %6, align 8, !tbaa !9
  %253 = call ptr @dlsym(ptr noundef %252, ptr noundef @.str.29) #4
  store ptr %253, ptr @cuTexRefSetArray, align 8, !tbaa !9
  %254 = load ptr, ptr @cuTexRefSetArray, align 8, !tbaa !9
  %255 = icmp eq ptr %254, null
  br i1 %255, label %256, label %258

256:                                              ; preds = %251
  %257 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.29, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

258:                                              ; preds = %251
  %259 = load ptr, ptr %6, align 8, !tbaa !9
  %260 = call ptr @dlsym(ptr noundef %259, ptr noundef @.str.30) #4
  store ptr %260, ptr @cuTexRefSetFormat, align 8, !tbaa !9
  %261 = load ptr, ptr @cuTexRefSetFormat, align 8, !tbaa !9
  %262 = icmp eq ptr %261, null
  br i1 %262, label %263, label %265

263:                                              ; preds = %258
  %264 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.30, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

265:                                              ; preds = %258
  %266 = load ptr, ptr %6, align 8, !tbaa !9
  %267 = call ptr @dlsym(ptr noundef %266, ptr noundef @.str.31) #4
  store ptr %267, ptr @cuTexRefSetAddressMode, align 8, !tbaa !9
  %268 = load ptr, ptr @cuTexRefSetAddressMode, align 8, !tbaa !9
  %269 = icmp eq ptr %268, null
  br i1 %269, label %270, label %272

270:                                              ; preds = %265
  %271 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.31, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

272:                                              ; preds = %265
  %273 = load ptr, ptr %6, align 8, !tbaa !9
  %274 = call ptr @dlsym(ptr noundef %273, ptr noundef @.str.32) #4
  store ptr %274, ptr @cuTexRefSetFilterMode, align 8, !tbaa !9
  %275 = load ptr, ptr @cuTexRefSetFilterMode, align 8, !tbaa !9
  %276 = icmp eq ptr %275, null
  br i1 %276, label %277, label %279

277:                                              ; preds = %272
  %278 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.32, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

279:                                              ; preds = %272
  %280 = load ptr, ptr %6, align 8, !tbaa !9
  %281 = call ptr @dlsym(ptr noundef %280, ptr noundef @.str.33) #4
  store ptr %281, ptr @cuTexRefSetFlags, align 8, !tbaa !9
  %282 = load ptr, ptr @cuTexRefSetFlags, align 8, !tbaa !9
  %283 = icmp eq ptr %282, null
  br i1 %283, label %284, label %286

284:                                              ; preds = %279
  %285 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.33, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

286:                                              ; preds = %279
  %287 = load ptr, ptr %6, align 8, !tbaa !9
  %288 = call ptr @dlsym(ptr noundef %287, ptr noundef @.str.34) #4
  store ptr %288, ptr @cuTexRefGetArray, align 8, !tbaa !9
  %289 = load ptr, ptr @cuTexRefGetArray, align 8, !tbaa !9
  %290 = icmp eq ptr %289, null
  br i1 %290, label %291, label %293

291:                                              ; preds = %286
  %292 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.34, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

293:                                              ; preds = %286
  %294 = load ptr, ptr %6, align 8, !tbaa !9
  %295 = call ptr @dlsym(ptr noundef %294, ptr noundef @.str.35) #4
  store ptr %295, ptr @cuTexRefGetAddressMode, align 8, !tbaa !9
  %296 = load ptr, ptr @cuTexRefGetAddressMode, align 8, !tbaa !9
  %297 = icmp eq ptr %296, null
  br i1 %297, label %298, label %300

298:                                              ; preds = %293
  %299 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.35, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

300:                                              ; preds = %293
  %301 = load ptr, ptr %6, align 8, !tbaa !9
  %302 = call ptr @dlsym(ptr noundef %301, ptr noundef @.str.36) #4
  store ptr %302, ptr @cuTexRefGetFilterMode, align 8, !tbaa !9
  %303 = load ptr, ptr @cuTexRefGetFilterMode, align 8, !tbaa !9
  %304 = icmp eq ptr %303, null
  br i1 %304, label %305, label %307

305:                                              ; preds = %300
  %306 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.36, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

307:                                              ; preds = %300
  %308 = load ptr, ptr %6, align 8, !tbaa !9
  %309 = call ptr @dlsym(ptr noundef %308, ptr noundef @.str.37) #4
  store ptr %309, ptr @cuTexRefGetFormat, align 8, !tbaa !9
  %310 = load ptr, ptr @cuTexRefGetFormat, align 8, !tbaa !9
  %311 = icmp eq ptr %310, null
  br i1 %311, label %312, label %314

312:                                              ; preds = %307
  %313 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.37, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

314:                                              ; preds = %307
  %315 = load ptr, ptr %6, align 8, !tbaa !9
  %316 = call ptr @dlsym(ptr noundef %315, ptr noundef @.str.38) #4
  store ptr %316, ptr @cuTexRefGetFlags, align 8, !tbaa !9
  %317 = load ptr, ptr @cuTexRefGetFlags, align 8, !tbaa !9
  %318 = icmp eq ptr %317, null
  br i1 %318, label %319, label %321

319:                                              ; preds = %314
  %320 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.38, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

321:                                              ; preds = %314
  %322 = load ptr, ptr %6, align 8, !tbaa !9
  %323 = call ptr @dlsym(ptr noundef %322, ptr noundef @.str.39) #4
  store ptr %323, ptr @cuParamSetSize, align 8, !tbaa !9
  %324 = load ptr, ptr @cuParamSetSize, align 8, !tbaa !9
  %325 = icmp eq ptr %324, null
  br i1 %325, label %326, label %328

326:                                              ; preds = %321
  %327 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.39, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

328:                                              ; preds = %321
  %329 = load ptr, ptr %6, align 8, !tbaa !9
  %330 = call ptr @dlsym(ptr noundef %329, ptr noundef @.str.40) #4
  store ptr %330, ptr @cuParamSeti, align 8, !tbaa !9
  %331 = load ptr, ptr @cuParamSeti, align 8, !tbaa !9
  %332 = icmp eq ptr %331, null
  br i1 %332, label %333, label %335

333:                                              ; preds = %328
  %334 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.40, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

335:                                              ; preds = %328
  %336 = load ptr, ptr %6, align 8, !tbaa !9
  %337 = call ptr @dlsym(ptr noundef %336, ptr noundef @.str.41) #4
  store ptr %337, ptr @cuParamSetf, align 8, !tbaa !9
  %338 = load ptr, ptr @cuParamSetf, align 8, !tbaa !9
  %339 = icmp eq ptr %338, null
  br i1 %339, label %340, label %342

340:                                              ; preds = %335
  %341 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.41, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

342:                                              ; preds = %335
  %343 = load ptr, ptr %6, align 8, !tbaa !9
  %344 = call ptr @dlsym(ptr noundef %343, ptr noundef @.str.42) #4
  store ptr %344, ptr @cuParamSetv, align 8, !tbaa !9
  %345 = load ptr, ptr @cuParamSetv, align 8, !tbaa !9
  %346 = icmp eq ptr %345, null
  br i1 %346, label %347, label %349

347:                                              ; preds = %342
  %348 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.42, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

349:                                              ; preds = %342
  %350 = load ptr, ptr %6, align 8, !tbaa !9
  %351 = call ptr @dlsym(ptr noundef %350, ptr noundef @.str.43) #4
  store ptr %351, ptr @cuParamSetTexRef, align 8, !tbaa !9
  %352 = load ptr, ptr @cuParamSetTexRef, align 8, !tbaa !9
  %353 = icmp eq ptr %352, null
  br i1 %353, label %354, label %356

354:                                              ; preds = %349
  %355 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.43, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

356:                                              ; preds = %349
  %357 = load ptr, ptr %6, align 8, !tbaa !9
  %358 = call ptr @dlsym(ptr noundef %357, ptr noundef @.str.44) #4
  store ptr %358, ptr @cuLaunch, align 8, !tbaa !9
  %359 = load ptr, ptr @cuLaunch, align 8, !tbaa !9
  %360 = icmp eq ptr %359, null
  br i1 %360, label %361, label %363

361:                                              ; preds = %356
  %362 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.44, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

363:                                              ; preds = %356
  %364 = load ptr, ptr %6, align 8, !tbaa !9
  %365 = call ptr @dlsym(ptr noundef %364, ptr noundef @.str.45) #4
  store ptr %365, ptr @cuLaunchGrid, align 8, !tbaa !9
  %366 = load ptr, ptr @cuLaunchGrid, align 8, !tbaa !9
  %367 = icmp eq ptr %366, null
  br i1 %367, label %368, label %370

368:                                              ; preds = %363
  %369 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.45, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

370:                                              ; preds = %363
  %371 = load ptr, ptr %6, align 8, !tbaa !9
  %372 = call ptr @dlsym(ptr noundef %371, ptr noundef @.str.46) #4
  store ptr %372, ptr @cuLaunchGridAsync, align 8, !tbaa !9
  %373 = load ptr, ptr @cuLaunchGridAsync, align 8, !tbaa !9
  %374 = icmp eq ptr %373, null
  br i1 %374, label %375, label %377

375:                                              ; preds = %370
  %376 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.46, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

377:                                              ; preds = %370
  %378 = load ptr, ptr %6, align 8, !tbaa !9
  %379 = call ptr @dlsym(ptr noundef %378, ptr noundef @.str.47) #4
  store ptr %379, ptr @cuEventCreate, align 8, !tbaa !9
  %380 = load ptr, ptr @cuEventCreate, align 8, !tbaa !9
  %381 = icmp eq ptr %380, null
  br i1 %381, label %382, label %384

382:                                              ; preds = %377
  %383 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.47, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

384:                                              ; preds = %377
  %385 = load ptr, ptr %6, align 8, !tbaa !9
  %386 = call ptr @dlsym(ptr noundef %385, ptr noundef @.str.48) #4
  store ptr %386, ptr @cuEventRecord, align 8, !tbaa !9
  %387 = load ptr, ptr @cuEventRecord, align 8, !tbaa !9
  %388 = icmp eq ptr %387, null
  br i1 %388, label %389, label %391

389:                                              ; preds = %384
  %390 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.48, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

391:                                              ; preds = %384
  %392 = load ptr, ptr %6, align 8, !tbaa !9
  %393 = call ptr @dlsym(ptr noundef %392, ptr noundef @.str.49) #4
  store ptr %393, ptr @cuEventQuery, align 8, !tbaa !9
  %394 = load ptr, ptr @cuEventQuery, align 8, !tbaa !9
  %395 = icmp eq ptr %394, null
  br i1 %395, label %396, label %398

396:                                              ; preds = %391
  %397 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.49, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

398:                                              ; preds = %391
  %399 = load ptr, ptr %6, align 8, !tbaa !9
  %400 = call ptr @dlsym(ptr noundef %399, ptr noundef @.str.50) #4
  store ptr %400, ptr @cuEventSynchronize, align 8, !tbaa !9
  %401 = load ptr, ptr @cuEventSynchronize, align 8, !tbaa !9
  %402 = icmp eq ptr %401, null
  br i1 %402, label %403, label %405

403:                                              ; preds = %398
  %404 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.50, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

405:                                              ; preds = %398
  %406 = load ptr, ptr %6, align 8, !tbaa !9
  %407 = call ptr @dlsym(ptr noundef %406, ptr noundef @.str.51) #4
  store ptr %407, ptr @cuEventDestroy, align 8, !tbaa !9
  %408 = load ptr, ptr @cuEventDestroy, align 8, !tbaa !9
  %409 = icmp eq ptr %408, null
  br i1 %409, label %410, label %412

410:                                              ; preds = %405
  %411 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.51, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

412:                                              ; preds = %405
  %413 = load ptr, ptr %6, align 8, !tbaa !9
  %414 = call ptr @dlsym(ptr noundef %413, ptr noundef @.str.52) #4
  store ptr %414, ptr @cuEventElapsedTime, align 8, !tbaa !9
  %415 = load ptr, ptr @cuEventElapsedTime, align 8, !tbaa !9
  %416 = icmp eq ptr %415, null
  br i1 %416, label %417, label %419

417:                                              ; preds = %412
  %418 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.52, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

419:                                              ; preds = %412
  %420 = load ptr, ptr %6, align 8, !tbaa !9
  %421 = call ptr @dlsym(ptr noundef %420, ptr noundef @.str.53) #4
  store ptr %421, ptr @cuStreamCreate, align 8, !tbaa !9
  %422 = load ptr, ptr @cuStreamCreate, align 8, !tbaa !9
  %423 = icmp eq ptr %422, null
  br i1 %423, label %424, label %426

424:                                              ; preds = %419
  %425 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.53, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

426:                                              ; preds = %419
  %427 = load ptr, ptr %6, align 8, !tbaa !9
  %428 = call ptr @dlsym(ptr noundef %427, ptr noundef @.str.54) #4
  store ptr %428, ptr @cuStreamQuery, align 8, !tbaa !9
  %429 = load ptr, ptr @cuStreamQuery, align 8, !tbaa !9
  %430 = icmp eq ptr %429, null
  br i1 %430, label %431, label %433

431:                                              ; preds = %426
  %432 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.54, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

433:                                              ; preds = %426
  %434 = load ptr, ptr %6, align 8, !tbaa !9
  %435 = call ptr @dlsym(ptr noundef %434, ptr noundef @.str.55) #4
  store ptr %435, ptr @cuStreamSynchronize, align 8, !tbaa !9
  %436 = load ptr, ptr @cuStreamSynchronize, align 8, !tbaa !9
  %437 = icmp eq ptr %436, null
  br i1 %437, label %438, label %440

438:                                              ; preds = %433
  %439 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.55, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

440:                                              ; preds = %433
  %441 = load ptr, ptr %6, align 8, !tbaa !9
  %442 = call ptr @dlsym(ptr noundef %441, ptr noundef @.str.56) #4
  store ptr %442, ptr @cuStreamDestroy, align 8, !tbaa !9
  %443 = load ptr, ptr @cuStreamDestroy, align 8, !tbaa !9
  %444 = icmp eq ptr %443, null
  br i1 %444, label %445, label %447

445:                                              ; preds = %440
  %446 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.56, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

447:                                              ; preds = %440
  %448 = load i32, ptr %5, align 4, !tbaa !5
  %449 = icmp sge i32 %448, 4000
  br i1 %449, label %450, label %486

450:                                              ; preds = %447
  %451 = load ptr, ptr %6, align 8, !tbaa !9
  %452 = call ptr @dlsym(ptr noundef %451, ptr noundef @.str.57) #4
  store ptr %452, ptr @cuCtxDestroy, align 8, !tbaa !9
  %453 = load ptr, ptr @cuCtxDestroy, align 8, !tbaa !9
  %454 = icmp eq ptr %453, null
  br i1 %454, label %455, label %457

455:                                              ; preds = %450
  %456 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.57, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

457:                                              ; preds = %450
  %458 = load ptr, ptr %6, align 8, !tbaa !9
  %459 = call ptr @dlsym(ptr noundef %458, ptr noundef @.str.58) #4
  store ptr %459, ptr @cuCtxPopCurrent, align 8, !tbaa !9
  %460 = load ptr, ptr @cuCtxPopCurrent, align 8, !tbaa !9
  %461 = icmp eq ptr %460, null
  br i1 %461, label %462, label %464

462:                                              ; preds = %457
  %463 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.58, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

464:                                              ; preds = %457
  %465 = load ptr, ptr %6, align 8, !tbaa !9
  %466 = call ptr @dlsym(ptr noundef %465, ptr noundef @.str.59) #4
  store ptr %466, ptr @cuCtxPushCurrent, align 8, !tbaa !9
  %467 = load ptr, ptr @cuCtxPushCurrent, align 8, !tbaa !9
  %468 = icmp eq ptr %467, null
  br i1 %468, label %469, label %471

469:                                              ; preds = %464
  %470 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.59, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

471:                                              ; preds = %464
  %472 = load ptr, ptr %6, align 8, !tbaa !9
  %473 = call ptr @dlsym(ptr noundef %472, ptr noundef @.str.60) #4
  store ptr %473, ptr @cuStreamDestroy, align 8, !tbaa !9
  %474 = load ptr, ptr @cuStreamDestroy, align 8, !tbaa !9
  %475 = icmp eq ptr %474, null
  br i1 %475, label %476, label %478

476:                                              ; preds = %471
  %477 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.60, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

478:                                              ; preds = %471
  %479 = load ptr, ptr %6, align 8, !tbaa !9
  %480 = call ptr @dlsym(ptr noundef %479, ptr noundef @.str.61) #4
  store ptr %480, ptr @cuEventDestroy, align 8, !tbaa !9
  %481 = load ptr, ptr @cuEventDestroy, align 8, !tbaa !9
  %482 = icmp eq ptr %481, null
  br i1 %482, label %483, label %485

483:                                              ; preds = %478
  %484 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.61, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

485:                                              ; preds = %478
  br label %486

486:                                              ; preds = %485, %447
  %487 = load i32, ptr %5, align 4, !tbaa !5
  %488 = icmp sge i32 %487, 3020
  br i1 %488, label %489, label %770

489:                                              ; preds = %486
  %490 = load ptr, ptr %6, align 8, !tbaa !9
  %491 = call ptr @dlsym(ptr noundef %490, ptr noundef @.str.62) #4
  store ptr %491, ptr @cuDeviceTotalMem, align 8, !tbaa !9
  %492 = load ptr, ptr @cuDeviceTotalMem, align 8, !tbaa !9
  %493 = icmp eq ptr %492, null
  br i1 %493, label %494, label %496

494:                                              ; preds = %489
  %495 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.62, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

496:                                              ; preds = %489
  %497 = load ptr, ptr %6, align 8, !tbaa !9
  %498 = call ptr @dlsym(ptr noundef %497, ptr noundef @.str.63) #4
  store ptr %498, ptr @cuCtxCreate, align 8, !tbaa !9
  %499 = load ptr, ptr @cuCtxCreate, align 8, !tbaa !9
  %500 = icmp eq ptr %499, null
  br i1 %500, label %501, label %503

501:                                              ; preds = %496
  %502 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.63, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

503:                                              ; preds = %496
  %504 = load ptr, ptr %6, align 8, !tbaa !9
  %505 = call ptr @dlsym(ptr noundef %504, ptr noundef @.str.64) #4
  store ptr %505, ptr @cuModuleGetGlobal, align 8, !tbaa !9
  %506 = load ptr, ptr @cuModuleGetGlobal, align 8, !tbaa !9
  %507 = icmp eq ptr %506, null
  br i1 %507, label %508, label %510

508:                                              ; preds = %503
  %509 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.64, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

510:                                              ; preds = %503
  %511 = load ptr, ptr %6, align 8, !tbaa !9
  %512 = call ptr @dlsym(ptr noundef %511, ptr noundef @.str.65) #4
  store ptr %512, ptr @cuMemGetInfo, align 8, !tbaa !9
  %513 = load ptr, ptr @cuMemGetInfo, align 8, !tbaa !9
  %514 = icmp eq ptr %513, null
  br i1 %514, label %515, label %517

515:                                              ; preds = %510
  %516 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.65, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

517:                                              ; preds = %510
  %518 = load ptr, ptr %6, align 8, !tbaa !9
  %519 = call ptr @dlsym(ptr noundef %518, ptr noundef @.str.66) #4
  store ptr %519, ptr @cuMemAlloc, align 8, !tbaa !9
  %520 = load ptr, ptr @cuMemAlloc, align 8, !tbaa !9
  %521 = icmp eq ptr %520, null
  br i1 %521, label %522, label %524

522:                                              ; preds = %517
  %523 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.66, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

524:                                              ; preds = %517
  %525 = load ptr, ptr %6, align 8, !tbaa !9
  %526 = call ptr @dlsym(ptr noundef %525, ptr noundef @.str.67) #4
  store ptr %526, ptr @cuMemAllocPitch, align 8, !tbaa !9
  %527 = load ptr, ptr @cuMemAllocPitch, align 8, !tbaa !9
  %528 = icmp eq ptr %527, null
  br i1 %528, label %529, label %531

529:                                              ; preds = %524
  %530 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.67, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

531:                                              ; preds = %524
  %532 = load ptr, ptr %6, align 8, !tbaa !9
  %533 = call ptr @dlsym(ptr noundef %532, ptr noundef @.str.68) #4
  store ptr %533, ptr @cuMemFree, align 8, !tbaa !9
  %534 = load ptr, ptr @cuMemFree, align 8, !tbaa !9
  %535 = icmp eq ptr %534, null
  br i1 %535, label %536, label %538

536:                                              ; preds = %531
  %537 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.68, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

538:                                              ; preds = %531
  %539 = load ptr, ptr %6, align 8, !tbaa !9
  %540 = call ptr @dlsym(ptr noundef %539, ptr noundef @.str.69) #4
  store ptr %540, ptr @cuMemGetAddressRange, align 8, !tbaa !9
  %541 = load ptr, ptr @cuMemGetAddressRange, align 8, !tbaa !9
  %542 = icmp eq ptr %541, null
  br i1 %542, label %543, label %545

543:                                              ; preds = %538
  %544 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.69, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

545:                                              ; preds = %538
  %546 = load ptr, ptr %6, align 8, !tbaa !9
  %547 = call ptr @dlsym(ptr noundef %546, ptr noundef @.str.70) #4
  store ptr %547, ptr @cuMemAllocHost, align 8, !tbaa !9
  %548 = load ptr, ptr @cuMemAllocHost, align 8, !tbaa !9
  %549 = icmp eq ptr %548, null
  br i1 %549, label %550, label %552

550:                                              ; preds = %545
  %551 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.70, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

552:                                              ; preds = %545
  %553 = load ptr, ptr %6, align 8, !tbaa !9
  %554 = call ptr @dlsym(ptr noundef %553, ptr noundef @.str.71) #4
  store ptr %554, ptr @cuMemHostGetDevicePointer, align 8, !tbaa !9
  %555 = load ptr, ptr @cuMemHostGetDevicePointer, align 8, !tbaa !9
  %556 = icmp eq ptr %555, null
  br i1 %556, label %557, label %559

557:                                              ; preds = %552
  %558 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.71, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

559:                                              ; preds = %552
  %560 = load ptr, ptr %6, align 8, !tbaa !9
  %561 = call ptr @dlsym(ptr noundef %560, ptr noundef @.str.72) #4
  store ptr %561, ptr @cuMemcpyHtoD, align 8, !tbaa !9
  %562 = load ptr, ptr @cuMemcpyHtoD, align 8, !tbaa !9
  %563 = icmp eq ptr %562, null
  br i1 %563, label %564, label %566

564:                                              ; preds = %559
  %565 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.72, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

566:                                              ; preds = %559
  %567 = load ptr, ptr %6, align 8, !tbaa !9
  %568 = call ptr @dlsym(ptr noundef %567, ptr noundef @.str.73) #4
  store ptr %568, ptr @cuMemcpyDtoH, align 8, !tbaa !9
  %569 = load ptr, ptr @cuMemcpyDtoH, align 8, !tbaa !9
  %570 = icmp eq ptr %569, null
  br i1 %570, label %571, label %573

571:                                              ; preds = %566
  %572 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.73, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

573:                                              ; preds = %566
  %574 = load ptr, ptr %6, align 8, !tbaa !9
  %575 = call ptr @dlsym(ptr noundef %574, ptr noundef @.str.74) #4
  store ptr %575, ptr @cuMemcpyDtoD, align 8, !tbaa !9
  %576 = load ptr, ptr @cuMemcpyDtoD, align 8, !tbaa !9
  %577 = icmp eq ptr %576, null
  br i1 %577, label %578, label %580

578:                                              ; preds = %573
  %579 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.74, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

580:                                              ; preds = %573
  %581 = load ptr, ptr %6, align 8, !tbaa !9
  %582 = call ptr @dlsym(ptr noundef %581, ptr noundef @.str.75) #4
  store ptr %582, ptr @cuMemcpyDtoA, align 8, !tbaa !9
  %583 = load ptr, ptr @cuMemcpyDtoA, align 8, !tbaa !9
  %584 = icmp eq ptr %583, null
  br i1 %584, label %585, label %587

585:                                              ; preds = %580
  %586 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.75, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

587:                                              ; preds = %580
  %588 = load ptr, ptr %6, align 8, !tbaa !9
  %589 = call ptr @dlsym(ptr noundef %588, ptr noundef @.str.76) #4
  store ptr %589, ptr @cuMemcpyAtoD, align 8, !tbaa !9
  %590 = load ptr, ptr @cuMemcpyAtoD, align 8, !tbaa !9
  %591 = icmp eq ptr %590, null
  br i1 %591, label %592, label %594

592:                                              ; preds = %587
  %593 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.76, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

594:                                              ; preds = %587
  %595 = load ptr, ptr %6, align 8, !tbaa !9
  %596 = call ptr @dlsym(ptr noundef %595, ptr noundef @.str.77) #4
  store ptr %596, ptr @cuMemcpyHtoA, align 8, !tbaa !9
  %597 = load ptr, ptr @cuMemcpyHtoA, align 8, !tbaa !9
  %598 = icmp eq ptr %597, null
  br i1 %598, label %599, label %601

599:                                              ; preds = %594
  %600 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.77, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

601:                                              ; preds = %594
  %602 = load ptr, ptr %6, align 8, !tbaa !9
  %603 = call ptr @dlsym(ptr noundef %602, ptr noundef @.str.78) #4
  store ptr %603, ptr @cuMemcpyAtoH, align 8, !tbaa !9
  %604 = load ptr, ptr @cuMemcpyAtoH, align 8, !tbaa !9
  %605 = icmp eq ptr %604, null
  br i1 %605, label %606, label %608

606:                                              ; preds = %601
  %607 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.78, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

608:                                              ; preds = %601
  %609 = load ptr, ptr %6, align 8, !tbaa !9
  %610 = call ptr @dlsym(ptr noundef %609, ptr noundef @.str.79) #4
  store ptr %610, ptr @cuMemcpyAtoA, align 8, !tbaa !9
  %611 = load ptr, ptr @cuMemcpyAtoA, align 8, !tbaa !9
  %612 = icmp eq ptr %611, null
  br i1 %612, label %613, label %615

613:                                              ; preds = %608
  %614 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.79, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

615:                                              ; preds = %608
  %616 = load ptr, ptr %6, align 8, !tbaa !9
  %617 = call ptr @dlsym(ptr noundef %616, ptr noundef @.str.80) #4
  store ptr %617, ptr @cuMemcpy2D, align 8, !tbaa !9
  %618 = load ptr, ptr @cuMemcpy2D, align 8, !tbaa !9
  %619 = icmp eq ptr %618, null
  br i1 %619, label %620, label %622

620:                                              ; preds = %615
  %621 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.80, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

622:                                              ; preds = %615
  %623 = load ptr, ptr %6, align 8, !tbaa !9
  %624 = call ptr @dlsym(ptr noundef %623, ptr noundef @.str.81) #4
  store ptr %624, ptr @cuMemcpy2DUnaligned, align 8, !tbaa !9
  %625 = load ptr, ptr @cuMemcpy2DUnaligned, align 8, !tbaa !9
  %626 = icmp eq ptr %625, null
  br i1 %626, label %627, label %629

627:                                              ; preds = %622
  %628 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.81, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

629:                                              ; preds = %622
  %630 = load ptr, ptr %6, align 8, !tbaa !9
  %631 = call ptr @dlsym(ptr noundef %630, ptr noundef @.str.82) #4
  store ptr %631, ptr @cuMemcpy3D, align 8, !tbaa !9
  %632 = load ptr, ptr @cuMemcpy3D, align 8, !tbaa !9
  %633 = icmp eq ptr %632, null
  br i1 %633, label %634, label %636

634:                                              ; preds = %629
  %635 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.82, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

636:                                              ; preds = %629
  %637 = load ptr, ptr %6, align 8, !tbaa !9
  %638 = call ptr @dlsym(ptr noundef %637, ptr noundef @.str.83) #4
  store ptr %638, ptr @cuMemcpyHtoDAsync, align 8, !tbaa !9
  %639 = load ptr, ptr @cuMemcpyHtoDAsync, align 8, !tbaa !9
  %640 = icmp eq ptr %639, null
  br i1 %640, label %641, label %643

641:                                              ; preds = %636
  %642 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.83, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

643:                                              ; preds = %636
  %644 = load ptr, ptr %6, align 8, !tbaa !9
  %645 = call ptr @dlsym(ptr noundef %644, ptr noundef @.str.84) #4
  store ptr %645, ptr @cuMemcpyDtoHAsync, align 8, !tbaa !9
  %646 = load ptr, ptr @cuMemcpyDtoHAsync, align 8, !tbaa !9
  %647 = icmp eq ptr %646, null
  br i1 %647, label %648, label %650

648:                                              ; preds = %643
  %649 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.84, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

650:                                              ; preds = %643
  %651 = load ptr, ptr %6, align 8, !tbaa !9
  %652 = call ptr @dlsym(ptr noundef %651, ptr noundef @.str.85) #4
  store ptr %652, ptr @cuMemcpyHtoAAsync, align 8, !tbaa !9
  %653 = load ptr, ptr @cuMemcpyHtoAAsync, align 8, !tbaa !9
  %654 = icmp eq ptr %653, null
  br i1 %654, label %655, label %657

655:                                              ; preds = %650
  %656 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.85, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

657:                                              ; preds = %650
  %658 = load ptr, ptr %6, align 8, !tbaa !9
  %659 = call ptr @dlsym(ptr noundef %658, ptr noundef @.str.86) #4
  store ptr %659, ptr @cuMemcpyAtoHAsync, align 8, !tbaa !9
  %660 = load ptr, ptr @cuMemcpyAtoHAsync, align 8, !tbaa !9
  %661 = icmp eq ptr %660, null
  br i1 %661, label %662, label %664

662:                                              ; preds = %657
  %663 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.86, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

664:                                              ; preds = %657
  %665 = load ptr, ptr %6, align 8, !tbaa !9
  %666 = call ptr @dlsym(ptr noundef %665, ptr noundef @.str.87) #4
  store ptr %666, ptr @cuMemcpy2DAsync, align 8, !tbaa !9
  %667 = load ptr, ptr @cuMemcpy2DAsync, align 8, !tbaa !9
  %668 = icmp eq ptr %667, null
  br i1 %668, label %669, label %671

669:                                              ; preds = %664
  %670 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.87, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

671:                                              ; preds = %664
  %672 = load ptr, ptr %6, align 8, !tbaa !9
  %673 = call ptr @dlsym(ptr noundef %672, ptr noundef @.str.88) #4
  store ptr %673, ptr @cuMemcpy3DAsync, align 8, !tbaa !9
  %674 = load ptr, ptr @cuMemcpy3DAsync, align 8, !tbaa !9
  %675 = icmp eq ptr %674, null
  br i1 %675, label %676, label %678

676:                                              ; preds = %671
  %677 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.88, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

678:                                              ; preds = %671
  %679 = load ptr, ptr %6, align 8, !tbaa !9
  %680 = call ptr @dlsym(ptr noundef %679, ptr noundef @.str.89) #4
  store ptr %680, ptr @cuMemsetD8, align 8, !tbaa !9
  %681 = load ptr, ptr @cuMemsetD8, align 8, !tbaa !9
  %682 = icmp eq ptr %681, null
  br i1 %682, label %683, label %685

683:                                              ; preds = %678
  %684 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.89, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

685:                                              ; preds = %678
  %686 = load ptr, ptr %6, align 8, !tbaa !9
  %687 = call ptr @dlsym(ptr noundef %686, ptr noundef @.str.90) #4
  store ptr %687, ptr @cuMemsetD16, align 8, !tbaa !9
  %688 = load ptr, ptr @cuMemsetD16, align 8, !tbaa !9
  %689 = icmp eq ptr %688, null
  br i1 %689, label %690, label %692

690:                                              ; preds = %685
  %691 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.90, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

692:                                              ; preds = %685
  %693 = load ptr, ptr %6, align 8, !tbaa !9
  %694 = call ptr @dlsym(ptr noundef %693, ptr noundef @.str.91) #4
  store ptr %694, ptr @cuMemsetD32, align 8, !tbaa !9
  %695 = load ptr, ptr @cuMemsetD32, align 8, !tbaa !9
  %696 = icmp eq ptr %695, null
  br i1 %696, label %697, label %699

697:                                              ; preds = %692
  %698 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.91, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

699:                                              ; preds = %692
  %700 = load ptr, ptr %6, align 8, !tbaa !9
  %701 = call ptr @dlsym(ptr noundef %700, ptr noundef @.str.92) #4
  store ptr %701, ptr @cuMemsetD2D8, align 8, !tbaa !9
  %702 = load ptr, ptr @cuMemsetD2D8, align 8, !tbaa !9
  %703 = icmp eq ptr %702, null
  br i1 %703, label %704, label %706

704:                                              ; preds = %699
  %705 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.92, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

706:                                              ; preds = %699
  %707 = load ptr, ptr %6, align 8, !tbaa !9
  %708 = call ptr @dlsym(ptr noundef %707, ptr noundef @.str.93) #4
  store ptr %708, ptr @cuMemsetD2D16, align 8, !tbaa !9
  %709 = load ptr, ptr @cuMemsetD2D16, align 8, !tbaa !9
  %710 = icmp eq ptr %709, null
  br i1 %710, label %711, label %713

711:                                              ; preds = %706
  %712 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.93, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

713:                                              ; preds = %706
  %714 = load ptr, ptr %6, align 8, !tbaa !9
  %715 = call ptr @dlsym(ptr noundef %714, ptr noundef @.str.94) #4
  store ptr %715, ptr @cuMemsetD2D32, align 8, !tbaa !9
  %716 = load ptr, ptr @cuMemsetD2D32, align 8, !tbaa !9
  %717 = icmp eq ptr %716, null
  br i1 %717, label %718, label %720

718:                                              ; preds = %713
  %719 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.94, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

720:                                              ; preds = %713
  %721 = load ptr, ptr %6, align 8, !tbaa !9
  %722 = call ptr @dlsym(ptr noundef %721, ptr noundef @.str.95) #4
  store ptr %722, ptr @cuArrayCreate, align 8, !tbaa !9
  %723 = load ptr, ptr @cuArrayCreate, align 8, !tbaa !9
  %724 = icmp eq ptr %723, null
  br i1 %724, label %725, label %727

725:                                              ; preds = %720
  %726 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.95, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

727:                                              ; preds = %720
  %728 = load ptr, ptr %6, align 8, !tbaa !9
  %729 = call ptr @dlsym(ptr noundef %728, ptr noundef @.str.96) #4
  store ptr %729, ptr @cuArrayGetDescriptor, align 8, !tbaa !9
  %730 = load ptr, ptr @cuArrayGetDescriptor, align 8, !tbaa !9
  %731 = icmp eq ptr %730, null
  br i1 %731, label %732, label %734

732:                                              ; preds = %727
  %733 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.96, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

734:                                              ; preds = %727
  %735 = load ptr, ptr %6, align 8, !tbaa !9
  %736 = call ptr @dlsym(ptr noundef %735, ptr noundef @.str.97) #4
  store ptr %736, ptr @cuArray3DCreate, align 8, !tbaa !9
  %737 = load ptr, ptr @cuArray3DCreate, align 8, !tbaa !9
  %738 = icmp eq ptr %737, null
  br i1 %738, label %739, label %741

739:                                              ; preds = %734
  %740 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.97, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

741:                                              ; preds = %734
  %742 = load ptr, ptr %6, align 8, !tbaa !9
  %743 = call ptr @dlsym(ptr noundef %742, ptr noundef @.str.98) #4
  store ptr %743, ptr @cuArray3DGetDescriptor, align 8, !tbaa !9
  %744 = load ptr, ptr @cuArray3DGetDescriptor, align 8, !tbaa !9
  %745 = icmp eq ptr %744, null
  br i1 %745, label %746, label %748

746:                                              ; preds = %741
  %747 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.98, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

748:                                              ; preds = %741
  %749 = load ptr, ptr %6, align 8, !tbaa !9
  %750 = call ptr @dlsym(ptr noundef %749, ptr noundef @.str.99) #4
  store ptr %750, ptr @cuTexRefSetAddress, align 8, !tbaa !9
  %751 = load ptr, ptr @cuTexRefSetAddress, align 8, !tbaa !9
  %752 = icmp eq ptr %751, null
  br i1 %752, label %753, label %755

753:                                              ; preds = %748
  %754 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.99, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

755:                                              ; preds = %748
  %756 = load ptr, ptr %6, align 8, !tbaa !9
  %757 = call ptr @dlsym(ptr noundef %756, ptr noundef @.str.100) #4
  store ptr %757, ptr @cuTexRefSetAddress2D, align 8, !tbaa !9
  %758 = load ptr, ptr @cuTexRefSetAddress2D, align 8, !tbaa !9
  %759 = icmp eq ptr %758, null
  br i1 %759, label %760, label %762

760:                                              ; preds = %755
  %761 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.100, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

762:                                              ; preds = %755
  %763 = load ptr, ptr %6, align 8, !tbaa !9
  %764 = call ptr @dlsym(ptr noundef %763, ptr noundef @.str.101) #4
  store ptr %764, ptr @cuTexRefGetAddress, align 8, !tbaa !9
  %765 = load ptr, ptr @cuTexRefGetAddress, align 8, !tbaa !9
  %766 = icmp eq ptr %765, null
  br i1 %766, label %767, label %769

767:                                              ; preds = %762
  %768 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.101, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

769:                                              ; preds = %762
  br label %1051

770:                                              ; preds = %486
  %771 = load ptr, ptr %6, align 8, !tbaa !9
  %772 = call ptr @dlsym(ptr noundef %771, ptr noundef @.str.102) #4
  store ptr %772, ptr @cuDeviceTotalMem, align 8, !tbaa !9
  %773 = load ptr, ptr @cuDeviceTotalMem, align 8, !tbaa !9
  %774 = icmp eq ptr %773, null
  br i1 %774, label %775, label %777

775:                                              ; preds = %770
  %776 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.102, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

777:                                              ; preds = %770
  %778 = load ptr, ptr %6, align 8, !tbaa !9
  %779 = call ptr @dlsym(ptr noundef %778, ptr noundef @.str.103) #4
  store ptr %779, ptr @cuCtxCreate, align 8, !tbaa !9
  %780 = load ptr, ptr @cuCtxCreate, align 8, !tbaa !9
  %781 = icmp eq ptr %780, null
  br i1 %781, label %782, label %784

782:                                              ; preds = %777
  %783 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.103, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

784:                                              ; preds = %777
  %785 = load ptr, ptr %6, align 8, !tbaa !9
  %786 = call ptr @dlsym(ptr noundef %785, ptr noundef @.str.104) #4
  store ptr %786, ptr @cuModuleGetGlobal, align 8, !tbaa !9
  %787 = load ptr, ptr @cuModuleGetGlobal, align 8, !tbaa !9
  %788 = icmp eq ptr %787, null
  br i1 %788, label %789, label %791

789:                                              ; preds = %784
  %790 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.104, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

791:                                              ; preds = %784
  %792 = load ptr, ptr %6, align 8, !tbaa !9
  %793 = call ptr @dlsym(ptr noundef %792, ptr noundef @.str.105) #4
  store ptr %793, ptr @cuMemGetInfo, align 8, !tbaa !9
  %794 = load ptr, ptr @cuMemGetInfo, align 8, !tbaa !9
  %795 = icmp eq ptr %794, null
  br i1 %795, label %796, label %798

796:                                              ; preds = %791
  %797 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.105, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

798:                                              ; preds = %791
  %799 = load ptr, ptr %6, align 8, !tbaa !9
  %800 = call ptr @dlsym(ptr noundef %799, ptr noundef @.str.106) #4
  store ptr %800, ptr @cuMemAlloc, align 8, !tbaa !9
  %801 = load ptr, ptr @cuMemAlloc, align 8, !tbaa !9
  %802 = icmp eq ptr %801, null
  br i1 %802, label %803, label %805

803:                                              ; preds = %798
  %804 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.106, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

805:                                              ; preds = %798
  %806 = load ptr, ptr %6, align 8, !tbaa !9
  %807 = call ptr @dlsym(ptr noundef %806, ptr noundef @.str.107) #4
  store ptr %807, ptr @cuMemAllocPitch, align 8, !tbaa !9
  %808 = load ptr, ptr @cuMemAllocPitch, align 8, !tbaa !9
  %809 = icmp eq ptr %808, null
  br i1 %809, label %810, label %812

810:                                              ; preds = %805
  %811 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.107, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

812:                                              ; preds = %805
  %813 = load ptr, ptr %6, align 8, !tbaa !9
  %814 = call ptr @dlsym(ptr noundef %813, ptr noundef @.str.108) #4
  store ptr %814, ptr @cuMemFree, align 8, !tbaa !9
  %815 = load ptr, ptr @cuMemFree, align 8, !tbaa !9
  %816 = icmp eq ptr %815, null
  br i1 %816, label %817, label %819

817:                                              ; preds = %812
  %818 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.108, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

819:                                              ; preds = %812
  %820 = load ptr, ptr %6, align 8, !tbaa !9
  %821 = call ptr @dlsym(ptr noundef %820, ptr noundef @.str.109) #4
  store ptr %821, ptr @cuMemGetAddressRange, align 8, !tbaa !9
  %822 = load ptr, ptr @cuMemGetAddressRange, align 8, !tbaa !9
  %823 = icmp eq ptr %822, null
  br i1 %823, label %824, label %826

824:                                              ; preds = %819
  %825 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.109, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

826:                                              ; preds = %819
  %827 = load ptr, ptr %6, align 8, !tbaa !9
  %828 = call ptr @dlsym(ptr noundef %827, ptr noundef @.str.110) #4
  store ptr %828, ptr @cuMemAllocHost, align 8, !tbaa !9
  %829 = load ptr, ptr @cuMemAllocHost, align 8, !tbaa !9
  %830 = icmp eq ptr %829, null
  br i1 %830, label %831, label %833

831:                                              ; preds = %826
  %832 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.110, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

833:                                              ; preds = %826
  %834 = load ptr, ptr %6, align 8, !tbaa !9
  %835 = call ptr @dlsym(ptr noundef %834, ptr noundef @.str.111) #4
  store ptr %835, ptr @cuMemHostGetDevicePointer, align 8, !tbaa !9
  %836 = load ptr, ptr @cuMemHostGetDevicePointer, align 8, !tbaa !9
  %837 = icmp eq ptr %836, null
  br i1 %837, label %838, label %840

838:                                              ; preds = %833
  %839 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.111, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

840:                                              ; preds = %833
  %841 = load ptr, ptr %6, align 8, !tbaa !9
  %842 = call ptr @dlsym(ptr noundef %841, ptr noundef @.str.112) #4
  store ptr %842, ptr @cuMemcpyHtoD, align 8, !tbaa !9
  %843 = load ptr, ptr @cuMemcpyHtoD, align 8, !tbaa !9
  %844 = icmp eq ptr %843, null
  br i1 %844, label %845, label %847

845:                                              ; preds = %840
  %846 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.112, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

847:                                              ; preds = %840
  %848 = load ptr, ptr %6, align 8, !tbaa !9
  %849 = call ptr @dlsym(ptr noundef %848, ptr noundef @.str.113) #4
  store ptr %849, ptr @cuMemcpyDtoH, align 8, !tbaa !9
  %850 = load ptr, ptr @cuMemcpyDtoH, align 8, !tbaa !9
  %851 = icmp eq ptr %850, null
  br i1 %851, label %852, label %854

852:                                              ; preds = %847
  %853 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.113, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

854:                                              ; preds = %847
  %855 = load ptr, ptr %6, align 8, !tbaa !9
  %856 = call ptr @dlsym(ptr noundef %855, ptr noundef @.str.114) #4
  store ptr %856, ptr @cuMemcpyDtoD, align 8, !tbaa !9
  %857 = load ptr, ptr @cuMemcpyDtoD, align 8, !tbaa !9
  %858 = icmp eq ptr %857, null
  br i1 %858, label %859, label %861

859:                                              ; preds = %854
  %860 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.114, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

861:                                              ; preds = %854
  %862 = load ptr, ptr %6, align 8, !tbaa !9
  %863 = call ptr @dlsym(ptr noundef %862, ptr noundef @.str.115) #4
  store ptr %863, ptr @cuMemcpyDtoA, align 8, !tbaa !9
  %864 = load ptr, ptr @cuMemcpyDtoA, align 8, !tbaa !9
  %865 = icmp eq ptr %864, null
  br i1 %865, label %866, label %868

866:                                              ; preds = %861
  %867 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.115, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

868:                                              ; preds = %861
  %869 = load ptr, ptr %6, align 8, !tbaa !9
  %870 = call ptr @dlsym(ptr noundef %869, ptr noundef @.str.116) #4
  store ptr %870, ptr @cuMemcpyAtoD, align 8, !tbaa !9
  %871 = load ptr, ptr @cuMemcpyAtoD, align 8, !tbaa !9
  %872 = icmp eq ptr %871, null
  br i1 %872, label %873, label %875

873:                                              ; preds = %868
  %874 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.116, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

875:                                              ; preds = %868
  %876 = load ptr, ptr %6, align 8, !tbaa !9
  %877 = call ptr @dlsym(ptr noundef %876, ptr noundef @.str.117) #4
  store ptr %877, ptr @cuMemcpyHtoA, align 8, !tbaa !9
  %878 = load ptr, ptr @cuMemcpyHtoA, align 8, !tbaa !9
  %879 = icmp eq ptr %878, null
  br i1 %879, label %880, label %882

880:                                              ; preds = %875
  %881 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.117, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

882:                                              ; preds = %875
  %883 = load ptr, ptr %6, align 8, !tbaa !9
  %884 = call ptr @dlsym(ptr noundef %883, ptr noundef @.str.118) #4
  store ptr %884, ptr @cuMemcpyAtoH, align 8, !tbaa !9
  %885 = load ptr, ptr @cuMemcpyAtoH, align 8, !tbaa !9
  %886 = icmp eq ptr %885, null
  br i1 %886, label %887, label %889

887:                                              ; preds = %882
  %888 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.118, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

889:                                              ; preds = %882
  %890 = load ptr, ptr %6, align 8, !tbaa !9
  %891 = call ptr @dlsym(ptr noundef %890, ptr noundef @.str.119) #4
  store ptr %891, ptr @cuMemcpyAtoA, align 8, !tbaa !9
  %892 = load ptr, ptr @cuMemcpyAtoA, align 8, !tbaa !9
  %893 = icmp eq ptr %892, null
  br i1 %893, label %894, label %896

894:                                              ; preds = %889
  %895 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.119, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

896:                                              ; preds = %889
  %897 = load ptr, ptr %6, align 8, !tbaa !9
  %898 = call ptr @dlsym(ptr noundef %897, ptr noundef @.str.120) #4
  store ptr %898, ptr @cuMemcpy2D, align 8, !tbaa !9
  %899 = load ptr, ptr @cuMemcpy2D, align 8, !tbaa !9
  %900 = icmp eq ptr %899, null
  br i1 %900, label %901, label %903

901:                                              ; preds = %896
  %902 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.120, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

903:                                              ; preds = %896
  %904 = load ptr, ptr %6, align 8, !tbaa !9
  %905 = call ptr @dlsym(ptr noundef %904, ptr noundef @.str.121) #4
  store ptr %905, ptr @cuMemcpy2DUnaligned, align 8, !tbaa !9
  %906 = load ptr, ptr @cuMemcpy2DUnaligned, align 8, !tbaa !9
  %907 = icmp eq ptr %906, null
  br i1 %907, label %908, label %910

908:                                              ; preds = %903
  %909 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.121, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

910:                                              ; preds = %903
  %911 = load ptr, ptr %6, align 8, !tbaa !9
  %912 = call ptr @dlsym(ptr noundef %911, ptr noundef @.str.122) #4
  store ptr %912, ptr @cuMemcpy3D, align 8, !tbaa !9
  %913 = load ptr, ptr @cuMemcpy3D, align 8, !tbaa !9
  %914 = icmp eq ptr %913, null
  br i1 %914, label %915, label %917

915:                                              ; preds = %910
  %916 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.122, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

917:                                              ; preds = %910
  %918 = load ptr, ptr %6, align 8, !tbaa !9
  %919 = call ptr @dlsym(ptr noundef %918, ptr noundef @.str.123) #4
  store ptr %919, ptr @cuMemcpyHtoDAsync, align 8, !tbaa !9
  %920 = load ptr, ptr @cuMemcpyHtoDAsync, align 8, !tbaa !9
  %921 = icmp eq ptr %920, null
  br i1 %921, label %922, label %924

922:                                              ; preds = %917
  %923 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.123, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

924:                                              ; preds = %917
  %925 = load ptr, ptr %6, align 8, !tbaa !9
  %926 = call ptr @dlsym(ptr noundef %925, ptr noundef @.str.124) #4
  store ptr %926, ptr @cuMemcpyDtoHAsync, align 8, !tbaa !9
  %927 = load ptr, ptr @cuMemcpyDtoHAsync, align 8, !tbaa !9
  %928 = icmp eq ptr %927, null
  br i1 %928, label %929, label %931

929:                                              ; preds = %924
  %930 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.124, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

931:                                              ; preds = %924
  %932 = load ptr, ptr %6, align 8, !tbaa !9
  %933 = call ptr @dlsym(ptr noundef %932, ptr noundef @.str.125) #4
  store ptr %933, ptr @cuMemcpyHtoAAsync, align 8, !tbaa !9
  %934 = load ptr, ptr @cuMemcpyHtoAAsync, align 8, !tbaa !9
  %935 = icmp eq ptr %934, null
  br i1 %935, label %936, label %938

936:                                              ; preds = %931
  %937 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.125, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

938:                                              ; preds = %931
  %939 = load ptr, ptr %6, align 8, !tbaa !9
  %940 = call ptr @dlsym(ptr noundef %939, ptr noundef @.str.126) #4
  store ptr %940, ptr @cuMemcpyAtoHAsync, align 8, !tbaa !9
  %941 = load ptr, ptr @cuMemcpyAtoHAsync, align 8, !tbaa !9
  %942 = icmp eq ptr %941, null
  br i1 %942, label %943, label %945

943:                                              ; preds = %938
  %944 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.126, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

945:                                              ; preds = %938
  %946 = load ptr, ptr %6, align 8, !tbaa !9
  %947 = call ptr @dlsym(ptr noundef %946, ptr noundef @.str.127) #4
  store ptr %947, ptr @cuMemcpy2DAsync, align 8, !tbaa !9
  %948 = load ptr, ptr @cuMemcpy2DAsync, align 8, !tbaa !9
  %949 = icmp eq ptr %948, null
  br i1 %949, label %950, label %952

950:                                              ; preds = %945
  %951 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.127, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

952:                                              ; preds = %945
  %953 = load ptr, ptr %6, align 8, !tbaa !9
  %954 = call ptr @dlsym(ptr noundef %953, ptr noundef @.str.128) #4
  store ptr %954, ptr @cuMemcpy3DAsync, align 8, !tbaa !9
  %955 = load ptr, ptr @cuMemcpy3DAsync, align 8, !tbaa !9
  %956 = icmp eq ptr %955, null
  br i1 %956, label %957, label %959

957:                                              ; preds = %952
  %958 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.128, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

959:                                              ; preds = %952
  %960 = load ptr, ptr %6, align 8, !tbaa !9
  %961 = call ptr @dlsym(ptr noundef %960, ptr noundef @.str.129) #4
  store ptr %961, ptr @cuMemsetD8, align 8, !tbaa !9
  %962 = load ptr, ptr @cuMemsetD8, align 8, !tbaa !9
  %963 = icmp eq ptr %962, null
  br i1 %963, label %964, label %966

964:                                              ; preds = %959
  %965 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.129, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

966:                                              ; preds = %959
  %967 = load ptr, ptr %6, align 8, !tbaa !9
  %968 = call ptr @dlsym(ptr noundef %967, ptr noundef @.str.130) #4
  store ptr %968, ptr @cuMemsetD16, align 8, !tbaa !9
  %969 = load ptr, ptr @cuMemsetD16, align 8, !tbaa !9
  %970 = icmp eq ptr %969, null
  br i1 %970, label %971, label %973

971:                                              ; preds = %966
  %972 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.130, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

973:                                              ; preds = %966
  %974 = load ptr, ptr %6, align 8, !tbaa !9
  %975 = call ptr @dlsym(ptr noundef %974, ptr noundef @.str.131) #4
  store ptr %975, ptr @cuMemsetD32, align 8, !tbaa !9
  %976 = load ptr, ptr @cuMemsetD32, align 8, !tbaa !9
  %977 = icmp eq ptr %976, null
  br i1 %977, label %978, label %980

978:                                              ; preds = %973
  %979 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.131, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

980:                                              ; preds = %973
  %981 = load ptr, ptr %6, align 8, !tbaa !9
  %982 = call ptr @dlsym(ptr noundef %981, ptr noundef @.str.132) #4
  store ptr %982, ptr @cuMemsetD2D8, align 8, !tbaa !9
  %983 = load ptr, ptr @cuMemsetD2D8, align 8, !tbaa !9
  %984 = icmp eq ptr %983, null
  br i1 %984, label %985, label %987

985:                                              ; preds = %980
  %986 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.132, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

987:                                              ; preds = %980
  %988 = load ptr, ptr %6, align 8, !tbaa !9
  %989 = call ptr @dlsym(ptr noundef %988, ptr noundef @.str.133) #4
  store ptr %989, ptr @cuMemsetD2D16, align 8, !tbaa !9
  %990 = load ptr, ptr @cuMemsetD2D16, align 8, !tbaa !9
  %991 = icmp eq ptr %990, null
  br i1 %991, label %992, label %994

992:                                              ; preds = %987
  %993 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.133, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

994:                                              ; preds = %987
  %995 = load ptr, ptr %6, align 8, !tbaa !9
  %996 = call ptr @dlsym(ptr noundef %995, ptr noundef @.str.134) #4
  store ptr %996, ptr @cuMemsetD2D32, align 8, !tbaa !9
  %997 = load ptr, ptr @cuMemsetD2D32, align 8, !tbaa !9
  %998 = icmp eq ptr %997, null
  br i1 %998, label %999, label %1001

999:                                              ; preds = %994
  %1000 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.134, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1001:                                             ; preds = %994
  %1002 = load ptr, ptr %6, align 8, !tbaa !9
  %1003 = call ptr @dlsym(ptr noundef %1002, ptr noundef @.str.135) #4
  store ptr %1003, ptr @cuArrayCreate, align 8, !tbaa !9
  %1004 = load ptr, ptr @cuArrayCreate, align 8, !tbaa !9
  %1005 = icmp eq ptr %1004, null
  br i1 %1005, label %1006, label %1008

1006:                                             ; preds = %1001
  %1007 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.135, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1008:                                             ; preds = %1001
  %1009 = load ptr, ptr %6, align 8, !tbaa !9
  %1010 = call ptr @dlsym(ptr noundef %1009, ptr noundef @.str.136) #4
  store ptr %1010, ptr @cuArrayGetDescriptor, align 8, !tbaa !9
  %1011 = load ptr, ptr @cuArrayGetDescriptor, align 8, !tbaa !9
  %1012 = icmp eq ptr %1011, null
  br i1 %1012, label %1013, label %1015

1013:                                             ; preds = %1008
  %1014 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.136, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1015:                                             ; preds = %1008
  %1016 = load ptr, ptr %6, align 8, !tbaa !9
  %1017 = call ptr @dlsym(ptr noundef %1016, ptr noundef @.str.137) #4
  store ptr %1017, ptr @cuArray3DCreate, align 8, !tbaa !9
  %1018 = load ptr, ptr @cuArray3DCreate, align 8, !tbaa !9
  %1019 = icmp eq ptr %1018, null
  br i1 %1019, label %1020, label %1022

1020:                                             ; preds = %1015
  %1021 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.137, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1022:                                             ; preds = %1015
  %1023 = load ptr, ptr %6, align 8, !tbaa !9
  %1024 = call ptr @dlsym(ptr noundef %1023, ptr noundef @.str.138) #4
  store ptr %1024, ptr @cuArray3DGetDescriptor, align 8, !tbaa !9
  %1025 = load ptr, ptr @cuArray3DGetDescriptor, align 8, !tbaa !9
  %1026 = icmp eq ptr %1025, null
  br i1 %1026, label %1027, label %1029

1027:                                             ; preds = %1022
  %1028 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.138, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1029:                                             ; preds = %1022
  %1030 = load ptr, ptr %6, align 8, !tbaa !9
  %1031 = call ptr @dlsym(ptr noundef %1030, ptr noundef @.str.139) #4
  store ptr %1031, ptr @cuTexRefSetAddress, align 8, !tbaa !9
  %1032 = load ptr, ptr @cuTexRefSetAddress, align 8, !tbaa !9
  %1033 = icmp eq ptr %1032, null
  br i1 %1033, label %1034, label %1036

1034:                                             ; preds = %1029
  %1035 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.139, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1036:                                             ; preds = %1029
  %1037 = load ptr, ptr %6, align 8, !tbaa !9
  %1038 = call ptr @dlsym(ptr noundef %1037, ptr noundef @.str.140) #4
  store ptr %1038, ptr @cuTexRefSetAddress2D, align 8, !tbaa !9
  %1039 = load ptr, ptr @cuTexRefSetAddress2D, align 8, !tbaa !9
  %1040 = icmp eq ptr %1039, null
  br i1 %1040, label %1041, label %1043

1041:                                             ; preds = %1036
  %1042 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.140, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1043:                                             ; preds = %1036
  %1044 = load ptr, ptr %6, align 8, !tbaa !9
  %1045 = call ptr @dlsym(ptr noundef %1044, ptr noundef @.str.141) #4
  store ptr %1045, ptr @cuTexRefGetAddress, align 8, !tbaa !9
  %1046 = load ptr, ptr @cuTexRefGetAddress, align 8, !tbaa !9
  %1047 = icmp eq ptr %1046, null
  br i1 %1047, label %1048, label %1050

1048:                                             ; preds = %1043
  %1049 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.141, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1050:                                             ; preds = %1043
  br label %1051

1051:                                             ; preds = %1050, %769
  %1052 = load i32, ptr %7, align 4, !tbaa !5
  %1053 = icmp sge i32 %1052, 2010
  br i1 %1053, label %1054, label %1069

1054:                                             ; preds = %1051
  %1055 = load ptr, ptr %6, align 8, !tbaa !9
  %1056 = call ptr @dlsym(ptr noundef %1055, ptr noundef @.str.142) #4
  store ptr %1056, ptr @cuModuleLoadDataEx, align 8, !tbaa !9
  %1057 = load ptr, ptr @cuModuleLoadDataEx, align 8, !tbaa !9
  %1058 = icmp eq ptr %1057, null
  br i1 %1058, label %1059, label %1061

1059:                                             ; preds = %1054
  %1060 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.142, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1061:                                             ; preds = %1054
  %1062 = load ptr, ptr %6, align 8, !tbaa !9
  %1063 = call ptr @dlsym(ptr noundef %1062, ptr noundef @.str.143) #4
  store ptr %1063, ptr @cuModuleLoadFatBinary, align 8, !tbaa !9
  %1064 = load ptr, ptr @cuModuleLoadFatBinary, align 8, !tbaa !9
  %1065 = icmp eq ptr %1064, null
  br i1 %1065, label %1066, label %1068

1066:                                             ; preds = %1061
  %1067 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.143, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1068:                                             ; preds = %1061
  br label %1069

1069:                                             ; preds = %1068, %1051
  %1070 = load i32, ptr %7, align 4, !tbaa !5
  %1071 = icmp sge i32 %1070, 2030
  br i1 %1071, label %1072, label %1080

1072:                                             ; preds = %1069
  %1073 = load ptr, ptr %6, align 8, !tbaa !9
  %1074 = call ptr @dlsym(ptr noundef %1073, ptr noundef @.str.144) #4
  store ptr %1074, ptr @cuMemHostGetFlags, align 8, !tbaa !9
  %1075 = load ptr, ptr @cuMemHostGetFlags, align 8, !tbaa !9
  %1076 = icmp eq ptr %1075, null
  br i1 %1076, label %1077, label %1079

1077:                                             ; preds = %1072
  %1078 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.144, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1079:                                             ; preds = %1072
  br label %1080

1080:                                             ; preds = %1079, %1069
  %1081 = load i32, ptr %7, align 4, !tbaa !5
  %1082 = icmp sge i32 %1081, 3000
  br i1 %1082, label %1083, label %1159

1083:                                             ; preds = %1080
  %1084 = load ptr, ptr %6, align 8, !tbaa !9
  %1085 = call ptr @dlsym(ptr noundef %1084, ptr noundef @.str.145) #4
  store ptr %1085, ptr @cuMemcpyDtoDAsync, align 8, !tbaa !9
  %1086 = load ptr, ptr @cuMemcpyDtoDAsync, align 8, !tbaa !9
  %1087 = icmp eq ptr %1086, null
  br i1 %1087, label %1088, label %1090

1088:                                             ; preds = %1083
  %1089 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.145, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1090:                                             ; preds = %1083
  %1091 = load ptr, ptr %6, align 8, !tbaa !9
  %1092 = call ptr @dlsym(ptr noundef %1091, ptr noundef @.str.146) #4
  store ptr %1092, ptr @cuFuncSetCacheConfig, align 8, !tbaa !9
  %1093 = load ptr, ptr @cuFuncSetCacheConfig, align 8, !tbaa !9
  %1094 = icmp eq ptr %1093, null
  br i1 %1094, label %1095, label %1097

1095:                                             ; preds = %1090
  %1096 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.146, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1097:                                             ; preds = %1090
  %1098 = load ptr, ptr %6, align 8, !tbaa !9
  %1099 = call ptr @dlsym(ptr noundef %1098, ptr noundef @.str.147) #4
  store ptr %1099, ptr @cuGraphicsUnregisterResource, align 8, !tbaa !9
  %1100 = load ptr, ptr @cuGraphicsUnregisterResource, align 8, !tbaa !9
  %1101 = icmp eq ptr %1100, null
  br i1 %1101, label %1102, label %1104

1102:                                             ; preds = %1097
  %1103 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.147, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1104:                                             ; preds = %1097
  %1105 = load ptr, ptr %6, align 8, !tbaa !9
  %1106 = call ptr @dlsym(ptr noundef %1105, ptr noundef @.str.148) #4
  store ptr %1106, ptr @cuGraphicsSubResourceGetMappedArray, align 8, !tbaa !9
  %1107 = load ptr, ptr @cuGraphicsSubResourceGetMappedArray, align 8, !tbaa !9
  %1108 = icmp eq ptr %1107, null
  br i1 %1108, label %1109, label %1111

1109:                                             ; preds = %1104
  %1110 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.148, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1111:                                             ; preds = %1104
  %1112 = load i32, ptr %5, align 4, !tbaa !5
  %1113 = icmp sge i32 %1112, 3020
  br i1 %1113, label %1114, label %1122

1114:                                             ; preds = %1111
  %1115 = load ptr, ptr %6, align 8, !tbaa !9
  %1116 = call ptr @dlsym(ptr noundef %1115, ptr noundef @.str.149) #4
  store ptr %1116, ptr @cuGraphicsResourceGetMappedPointer, align 8, !tbaa !9
  %1117 = load ptr, ptr @cuGraphicsResourceGetMappedPointer, align 8, !tbaa !9
  %1118 = icmp eq ptr %1117, null
  br i1 %1118, label %1119, label %1121

1119:                                             ; preds = %1114
  %1120 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.149, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1121:                                             ; preds = %1114
  br label %1130

1122:                                             ; preds = %1111
  %1123 = load ptr, ptr %6, align 8, !tbaa !9
  %1124 = call ptr @dlsym(ptr noundef %1123, ptr noundef @.str.150) #4
  store ptr %1124, ptr @cuGraphicsResourceGetMappedPointer, align 8, !tbaa !9
  %1125 = load ptr, ptr @cuGraphicsResourceGetMappedPointer, align 8, !tbaa !9
  %1126 = icmp eq ptr %1125, null
  br i1 %1126, label %1127, label %1129

1127:                                             ; preds = %1122
  %1128 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.150, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1129:                                             ; preds = %1122
  br label %1130

1130:                                             ; preds = %1129, %1121
  %1131 = load ptr, ptr %6, align 8, !tbaa !9
  %1132 = call ptr @dlsym(ptr noundef %1131, ptr noundef @.str.151) #4
  store ptr %1132, ptr @cuGraphicsResourceSetMapFlags, align 8, !tbaa !9
  %1133 = load ptr, ptr @cuGraphicsResourceSetMapFlags, align 8, !tbaa !9
  %1134 = icmp eq ptr %1133, null
  br i1 %1134, label %1135, label %1137

1135:                                             ; preds = %1130
  %1136 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.151, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1137:                                             ; preds = %1130
  %1138 = load ptr, ptr %6, align 8, !tbaa !9
  %1139 = call ptr @dlsym(ptr noundef %1138, ptr noundef @.str.152) #4
  store ptr %1139, ptr @cuGraphicsMapResources, align 8, !tbaa !9
  %1140 = load ptr, ptr @cuGraphicsMapResources, align 8, !tbaa !9
  %1141 = icmp eq ptr %1140, null
  br i1 %1141, label %1142, label %1144

1142:                                             ; preds = %1137
  %1143 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.152, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1144:                                             ; preds = %1137
  %1145 = load ptr, ptr %6, align 8, !tbaa !9
  %1146 = call ptr @dlsym(ptr noundef %1145, ptr noundef @.str.153) #4
  store ptr %1146, ptr @cuGraphicsUnmapResources, align 8, !tbaa !9
  %1147 = load ptr, ptr @cuGraphicsUnmapResources, align 8, !tbaa !9
  %1148 = icmp eq ptr %1147, null
  br i1 %1148, label %1149, label %1151

1149:                                             ; preds = %1144
  %1150 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.153, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1151:                                             ; preds = %1144
  %1152 = load ptr, ptr %6, align 8, !tbaa !9
  %1153 = call ptr @dlsym(ptr noundef %1152, ptr noundef @.str.154) #4
  store ptr %1153, ptr @cuGetExportTable, align 8, !tbaa !9
  %1154 = load ptr, ptr @cuGetExportTable, align 8, !tbaa !9
  %1155 = icmp eq ptr %1154, null
  br i1 %1155, label %1156, label %1158

1156:                                             ; preds = %1151
  %1157 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.154, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1158:                                             ; preds = %1151
  br label %1159

1159:                                             ; preds = %1158, %1080
  %1160 = load i32, ptr %7, align 4, !tbaa !5
  %1161 = icmp sge i32 %1160, 3010
  br i1 %1161, label %1162, label %1198

1162:                                             ; preds = %1159
  %1163 = load ptr, ptr %6, align 8, !tbaa !9
  %1164 = call ptr @dlsym(ptr noundef %1163, ptr noundef @.str.155) #4
  store ptr %1164, ptr @cuModuleGetSurfRef, align 8, !tbaa !9
  %1165 = load ptr, ptr @cuModuleGetSurfRef, align 8, !tbaa !9
  %1166 = icmp eq ptr %1165, null
  br i1 %1166, label %1167, label %1169

1167:                                             ; preds = %1162
  %1168 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.155, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1169:                                             ; preds = %1162
  %1170 = load ptr, ptr %6, align 8, !tbaa !9
  %1171 = call ptr @dlsym(ptr noundef %1170, ptr noundef @.str.156) #4
  store ptr %1171, ptr @cuSurfRefSetArray, align 8, !tbaa !9
  %1172 = load ptr, ptr @cuSurfRefSetArray, align 8, !tbaa !9
  %1173 = icmp eq ptr %1172, null
  br i1 %1173, label %1174, label %1176

1174:                                             ; preds = %1169
  %1175 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.156, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1176:                                             ; preds = %1169
  %1177 = load ptr, ptr %6, align 8, !tbaa !9
  %1178 = call ptr @dlsym(ptr noundef %1177, ptr noundef @.str.157) #4
  store ptr %1178, ptr @cuSurfRefGetArray, align 8, !tbaa !9
  %1179 = load ptr, ptr @cuSurfRefGetArray, align 8, !tbaa !9
  %1180 = icmp eq ptr %1179, null
  br i1 %1180, label %1181, label %1183

1181:                                             ; preds = %1176
  %1182 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.157, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1183:                                             ; preds = %1176
  %1184 = load ptr, ptr %6, align 8, !tbaa !9
  %1185 = call ptr @dlsym(ptr noundef %1184, ptr noundef @.str.158) #4
  store ptr %1185, ptr @cuCtxSetLimit, align 8, !tbaa !9
  %1186 = load ptr, ptr @cuCtxSetLimit, align 8, !tbaa !9
  %1187 = icmp eq ptr %1186, null
  br i1 %1187, label %1188, label %1190

1188:                                             ; preds = %1183
  %1189 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.158, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1190:                                             ; preds = %1183
  %1191 = load ptr, ptr %6, align 8, !tbaa !9
  %1192 = call ptr @dlsym(ptr noundef %1191, ptr noundef @.str.159) #4
  store ptr %1192, ptr @cuCtxGetLimit, align 8, !tbaa !9
  %1193 = load ptr, ptr @cuCtxGetLimit, align 8, !tbaa !9
  %1194 = icmp eq ptr %1193, null
  br i1 %1194, label %1195, label %1197

1195:                                             ; preds = %1190
  %1196 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.159, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1197:                                             ; preds = %1190
  br label %1198

1198:                                             ; preds = %1197, %1159
  %1199 = load i32, ptr %7, align 4, !tbaa !5
  %1200 = icmp sge i32 %1199, 4000
  br i1 %1200, label %1201, label %1251

1201:                                             ; preds = %1198
  %1202 = load ptr, ptr %6, align 8, !tbaa !9
  %1203 = call ptr @dlsym(ptr noundef %1202, ptr noundef @.str.160) #4
  store ptr %1203, ptr @cuCtxSetCurrent, align 8, !tbaa !9
  %1204 = load ptr, ptr @cuCtxSetCurrent, align 8, !tbaa !9
  %1205 = icmp eq ptr %1204, null
  br i1 %1205, label %1206, label %1208

1206:                                             ; preds = %1201
  %1207 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.160, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1208:                                             ; preds = %1201
  %1209 = load ptr, ptr %6, align 8, !tbaa !9
  %1210 = call ptr @dlsym(ptr noundef %1209, ptr noundef @.str.161) #4
  store ptr %1210, ptr @cuCtxGetCurrent, align 8, !tbaa !9
  %1211 = load ptr, ptr @cuCtxGetCurrent, align 8, !tbaa !9
  %1212 = icmp eq ptr %1211, null
  br i1 %1212, label %1213, label %1215

1213:                                             ; preds = %1208
  %1214 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.161, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1215:                                             ; preds = %1208
  %1216 = load ptr, ptr %6, align 8, !tbaa !9
  %1217 = call ptr @dlsym(ptr noundef %1216, ptr noundef @.str.162) #4
  store ptr %1217, ptr @cuMemHostRegister, align 8, !tbaa !9
  %1218 = load ptr, ptr @cuMemHostRegister, align 8, !tbaa !9
  %1219 = icmp eq ptr %1218, null
  br i1 %1219, label %1220, label %1222

1220:                                             ; preds = %1215
  %1221 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.162, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1222:                                             ; preds = %1215
  %1223 = load ptr, ptr %6, align 8, !tbaa !9
  %1224 = call ptr @dlsym(ptr noundef %1223, ptr noundef @.str.163) #4
  store ptr %1224, ptr @cuMemHostUnregister, align 8, !tbaa !9
  %1225 = load ptr, ptr @cuMemHostUnregister, align 8, !tbaa !9
  %1226 = icmp eq ptr %1225, null
  br i1 %1226, label %1227, label %1229

1227:                                             ; preds = %1222
  %1228 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.163, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1229:                                             ; preds = %1222
  %1230 = load ptr, ptr %6, align 8, !tbaa !9
  %1231 = call ptr @dlsym(ptr noundef %1230, ptr noundef @.str.164) #4
  store ptr %1231, ptr @cuMemcpy, align 8, !tbaa !9
  %1232 = load ptr, ptr @cuMemcpy, align 8, !tbaa !9
  %1233 = icmp eq ptr %1232, null
  br i1 %1233, label %1234, label %1236

1234:                                             ; preds = %1229
  %1235 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.164, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1236:                                             ; preds = %1229
  %1237 = load ptr, ptr %6, align 8, !tbaa !9
  %1238 = call ptr @dlsym(ptr noundef %1237, ptr noundef @.str.165) #4
  store ptr %1238, ptr @cuMemcpyPeer, align 8, !tbaa !9
  %1239 = load ptr, ptr @cuMemcpyPeer, align 8, !tbaa !9
  %1240 = icmp eq ptr %1239, null
  br i1 %1240, label %1241, label %1243

1241:                                             ; preds = %1236
  %1242 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.165, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1243:                                             ; preds = %1236
  %1244 = load ptr, ptr %6, align 8, !tbaa !9
  %1245 = call ptr @dlsym(ptr noundef %1244, ptr noundef @.str.166) #4
  store ptr %1245, ptr @cuLaunchKernel, align 8, !tbaa !9
  %1246 = load ptr, ptr @cuLaunchKernel, align 8, !tbaa !9
  %1247 = icmp eq ptr %1246, null
  br i1 %1247, label %1248, label %1250

1248:                                             ; preds = %1243
  %1249 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.166, ptr noundef @__CudaLibName)
  store i32 999, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1250:                                             ; preds = %1243
  br label %1251

1251:                                             ; preds = %1250, %1198
  store i32 0, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %1252

1252:                                             ; preds = %1251, %1248, %1241, %1234, %1227, %1220, %1213, %1206, %1195, %1188, %1181, %1174, %1167, %1156, %1149, %1142, %1135, %1127, %1119, %1109, %1102, %1095, %1088, %1077, %1066, %1059, %1048, %1041, %1034, %1027, %1020, %1013, %1006, %999, %992, %985, %978, %971, %964, %957, %950, %943, %936, %929, %922, %915, %908, %901, %894, %887, %880, %873, %866, %859, %852, %845, %838, %831, %824, %817, %810, %803, %796, %789, %782, %775, %767, %760, %753, %746, %739, %732, %725, %718, %711, %704, %697, %690, %683, %676, %669, %662, %655, %648, %641, %634, %627, %620, %613, %606, %599, %592, %585, %578, %571, %564, %557, %550, %543, %536, %529, %522, %515, %508, %501, %494, %483, %476, %469, %462, %455, %445, %438, %431, %424, %417, %410, %403, %396, %389, %382, %375, %368, %361, %354, %347, %340, %333, %326, %319, %312, %305, %298, %291, %284, %277, %270, %263, %256, %249, %242, %235, %228, %221, %214, %207, %200, %193, %186, %179, %172, %165, %158, %151, %144, %137, %130, %123, %116, %109, %102, %95, %88, %81, %74, %64, %50, %40, %28, %19
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  %1253 = load i32, ptr %3, align 4
  ret i32 %1253
}

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

; Function Attrs: nounwind uwtable
declare hidden i32 @LOAD_LIBRARY(ptr noundef) #0

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

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

declare i32 @printf(ptr noundef, ...) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { "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 #4 = { 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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}


; 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"

@.str = external hidden unnamed_addr constant [7 x i8], align 1
@_cuInit = external dso_local local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [45 x i8], align 1
@__CudaLibName = external hidden global [11 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [19 x i8], align 1
@cuDriverGetVersion = external dso_local local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@cuDeviceGet = external dso_local local_unnamed_addr global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [17 x i8], align 1
@cuDeviceGetCount = external dso_local local_unnamed_addr global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1
@cuDeviceGetName = external dso_local local_unnamed_addr global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [26 x i8], align 1
@cuDeviceComputeCapability = external dso_local local_unnamed_addr global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [22 x i8], align 1
@cuDeviceGetProperties = external dso_local local_unnamed_addr global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [21 x i8], align 1
@cuDeviceGetAttribute = external dso_local local_unnamed_addr global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [13 x i8], align 1
@cuCtxDestroy = external dso_local local_unnamed_addr global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [12 x i8], align 1
@cuCtxAttach = external dso_local local_unnamed_addr global ptr, align 8
@.str.11 = external hidden unnamed_addr constant [12 x i8], align 1
@cuCtxDetach = external dso_local local_unnamed_addr global ptr, align 8
@.str.12 = external hidden unnamed_addr constant [17 x i8], align 1
@cuCtxPushCurrent = external dso_local local_unnamed_addr global ptr, align 8
@.str.13 = external hidden unnamed_addr constant [16 x i8], align 1
@cuCtxPopCurrent = external dso_local local_unnamed_addr global ptr, align 8
@.str.14 = external hidden unnamed_addr constant [15 x i8], align 1
@cuCtxGetDevice = external dso_local local_unnamed_addr global ptr, align 8
@.str.15 = external hidden unnamed_addr constant [17 x i8], align 1
@cuCtxSynchronize = external dso_local local_unnamed_addr global ptr, align 8
@.str.16 = external hidden unnamed_addr constant [13 x i8], align 1
@cuModuleLoad = external dso_local local_unnamed_addr global ptr, align 8
@.str.17 = external hidden unnamed_addr constant [17 x i8], align 1
@cuModuleLoadData = external dso_local local_unnamed_addr global ptr, align 8
@.str.18 = external hidden unnamed_addr constant [15 x i8], align 1
@cuModuleUnload = external dso_local local_unnamed_addr global ptr, align 8
@.str.19 = external hidden unnamed_addr constant [20 x i8], align 1
@cuModuleGetFunction = external dso_local local_unnamed_addr global ptr, align 8
@.str.20 = external hidden unnamed_addr constant [18 x i8], align 1
@cuModuleGetTexRef = external dso_local local_unnamed_addr global ptr, align 8
@.str.21 = external hidden unnamed_addr constant [14 x i8], align 1
@cuMemFreeHost = external dso_local local_unnamed_addr global ptr, align 8
@.str.22 = external hidden unnamed_addr constant [15 x i8], align 1
@cuMemHostAlloc = external dso_local local_unnamed_addr global ptr, align 8
@.str.23 = external hidden unnamed_addr constant [20 x i8], align 1
@cuFuncSetBlockShape = external dso_local local_unnamed_addr global ptr, align 8
@.str.24 = external hidden unnamed_addr constant [20 x i8], align 1
@cuFuncSetSharedSize = external dso_local local_unnamed_addr global ptr, align 8
@.str.25 = external hidden unnamed_addr constant [19 x i8], align 1
@cuFuncGetAttribute = external dso_local local_unnamed_addr global ptr, align 8
@.str.26 = external hidden unnamed_addr constant [15 x i8], align 1
@cuArrayDestroy = external dso_local local_unnamed_addr global ptr, align 8
@.str.27 = external hidden unnamed_addr constant [15 x i8], align 1
@cuTexRefCreate = external dso_local local_unnamed_addr global ptr, align 8
@.str.28 = external hidden unnamed_addr constant [16 x i8], align 1
@cuTexRefDestroy = external dso_local local_unnamed_addr global ptr, align 8
@.str.29 = external hidden unnamed_addr constant [17 x i8], align 1
@cuTexRefSetArray = external dso_local local_unnamed_addr global ptr, align 8
@.str.30 = external hidden unnamed_addr constant [18 x i8], align 1
@cuTexRefSetFormat = external dso_local local_unnamed_addr global ptr, align 8
@.str.31 = external hidden unnamed_addr constant [23 x i8], align 1
@cuTexRefSetAddressMode = external dso_local local_unnamed_addr global ptr, align 8
@.str.32 = external hidden unnamed_addr constant [22 x i8], align 1
@cuTexRefSetFilterMode = external dso_local local_unnamed_addr global ptr, align 8
@.str.33 = external hidden unnamed_addr constant [17 x i8], align 1
@cuTexRefSetFlags = external dso_local local_unnamed_addr global ptr, align 8
@.str.34 = external hidden unnamed_addr constant [17 x i8], align 1
@cuTexRefGetArray = external dso_local local_unnamed_addr global ptr, align 8
@.str.35 = external hidden unnamed_addr constant [23 x i8], align 1
@cuTexRefGetAddressMode = external dso_local local_unnamed_addr global ptr, align 8
@.str.36 = external hidden unnamed_addr constant [22 x i8], align 1
@cuTexRefGetFilterMode = external dso_local local_unnamed_addr global ptr, align 8
@.str.37 = external hidden unnamed_addr constant [18 x i8], align 1
@cuTexRefGetFormat = external dso_local local_unnamed_addr global ptr, align 8
@.str.38 = external hidden unnamed_addr constant [17 x i8], align 1
@cuTexRefGetFlags = external dso_local local_unnamed_addr global ptr, align 8
@.str.39 = external hidden unnamed_addr constant [15 x i8], align 1
@cuParamSetSize = external dso_local local_unnamed_addr global ptr, align 8
@.str.40 = external hidden unnamed_addr constant [12 x i8], align 1
@cuParamSeti = external dso_local local_unnamed_addr global ptr, align 8
@.str.41 = external hidden unnamed_addr constant [12 x i8], align 1
@cuParamSetf = external dso_local local_unnamed_addr global ptr, align 8
@.str.42 = external hidden unnamed_addr constant [12 x i8], align 1
@cuParamSetv = external dso_local local_unnamed_addr global ptr, align 8
@.str.43 = external hidden unnamed_addr constant [17 x i8], align 1
@cuParamSetTexRef = external dso_local local_unnamed_addr global ptr, align 8
@.str.44 = external hidden unnamed_addr constant [9 x i8], align 1
@cuLaunch = external dso_local local_unnamed_addr global ptr, align 8
@.str.45 = external hidden unnamed_addr constant [13 x i8], align 1
@cuLaunchGrid = external dso_local local_unnamed_addr global ptr, align 8
@.str.46 = external hidden unnamed_addr constant [18 x i8], align 1
@cuLaunchGridAsync = external dso_local local_unnamed_addr global ptr, align 8
@.str.47 = external hidden unnamed_addr constant [14 x i8], align 1
@cuEventCreate = external dso_local local_unnamed_addr global ptr, align 8
@.str.48 = external hidden unnamed_addr constant [14 x i8], align 1
@cuEventRecord = external dso_local local_unnamed_addr global ptr, align 8
@.str.49 = external hidden unnamed_addr constant [13 x i8], align 1
@cuEventQuery = external dso_local local_unnamed_addr global ptr, align 8
@.str.50 = external hidden unnamed_addr constant [19 x i8], align 1
@cuEventSynchronize = external dso_local local_unnamed_addr global ptr, align 8
@.str.51 = external hidden unnamed_addr constant [15 x i8], align 1
@cuEventDestroy = external dso_local local_unnamed_addr global ptr, align 8
@.str.52 = external hidden unnamed_addr constant [19 x i8], align 1
@cuEventElapsedTime = external dso_local local_unnamed_addr global ptr, align 8
@.str.53 = external hidden unnamed_addr constant [15 x i8], align 1
@cuStreamCreate = external dso_local local_unnamed_addr global ptr, align 8
@.str.54 = external hidden unnamed_addr constant [14 x i8], align 1
@cuStreamQuery = external dso_local local_unnamed_addr global ptr, align 8
@.str.55 = external hidden unnamed_addr constant [20 x i8], align 1
@cuStreamSynchronize = external dso_local local_unnamed_addr global ptr, align 8
@.str.56 = external hidden unnamed_addr constant [16 x i8], align 1
@cuStreamDestroy = external dso_local local_unnamed_addr global ptr, align 8
@.str.57 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [20 x i8], align 1
@cuDeviceTotalMem = external dso_local local_unnamed_addr global ptr, align 8
@.str.63 = external hidden unnamed_addr constant [15 x i8], align 1
@cuCtxCreate = external dso_local local_unnamed_addr global ptr, align 8
@.str.64 = external hidden unnamed_addr constant [21 x i8], align 1
@cuModuleGetGlobal = external dso_local local_unnamed_addr global ptr, align 8
@.str.65 = external hidden unnamed_addr constant [16 x i8], align 1
@cuMemGetInfo = external dso_local local_unnamed_addr global ptr, align 8
@.str.66 = external hidden unnamed_addr constant [14 x i8], align 1
@cuMemAlloc = external dso_local local_unnamed_addr global ptr, align 8
@.str.67 = external hidden unnamed_addr constant [19 x i8], align 1
@cuMemAllocPitch = external dso_local local_unnamed_addr global ptr, align 8
@.str.68 = external hidden unnamed_addr constant [13 x i8], align 1
@cuMemFree = external dso_local local_unnamed_addr global ptr, align 8
@.str.69 = external hidden unnamed_addr constant [24 x i8], align 1
@cuMemGetAddressRange = external dso_local local_unnamed_addr global ptr, align 8
@.str.70 = external hidden unnamed_addr constant [18 x i8], align 1
@cuMemAllocHost = external dso_local local_unnamed_addr global ptr, align 8
@.str.71 = external hidden unnamed_addr constant [29 x i8], align 1
@cuMemHostGetDevicePointer = external dso_local local_unnamed_addr global ptr, align 8
@.str.72 = external hidden unnamed_addr constant [16 x i8], align 1
@cuMemcpyHtoD = external dso_local local_unnamed_addr global ptr, align 8
@.str.73 = external hidden unnamed_addr constant [16 x i8], align 1
@cuMemcpyDtoH = external dso_local local_unnamed_addr global ptr, align 8
@.str.74 = external hidden unnamed_addr constant [16 x i8], align 1
@cuMemcpyDtoD = external dso_local local_unnamed_addr global ptr, align 8
@.str.75 = external hidden unnamed_addr constant [16 x i8], align 1
@cuMemcpyDtoA = external dso_local local_unnamed_addr global ptr, align 8
@.str.76 = external hidden unnamed_addr constant [16 x i8], align 1
@cuMemcpyAtoD = external dso_local local_unnamed_addr global ptr, align 8
@.str.77 = external hidden unnamed_addr constant [16 x i8], align 1
@cuMemcpyHtoA = external dso_local local_unnamed_addr global ptr, align 8
@.str.78 = external hidden unnamed_addr constant [16 x i8], align 1
@cuMemcpyAtoH = external dso_local local_unnamed_addr global ptr, align 8
@.str.79 = external hidden unnamed_addr constant [16 x i8], align 1
@cuMemcpyAtoA = external dso_local local_unnamed_addr global ptr, align 8
@.str.80 = external hidden unnamed_addr constant [14 x i8], align 1
@cuMemcpy2D = external dso_local local_unnamed_addr global ptr, align 8
@.str.81 = external hidden unnamed_addr constant [23 x i8], align 1
@cuMemcpy2DUnaligned = external dso_local local_unnamed_addr global ptr, align 8
@.str.82 = external hidden unnamed_addr constant [14 x i8], align 1
@cuMemcpy3D = external dso_local local_unnamed_addr global ptr, align 8
@.str.83 = external hidden unnamed_addr constant [21 x i8], align 1
@cuMemcpyHtoDAsync = external dso_local local_unnamed_addr global ptr, align 8
@.str.84 = external hidden unnamed_addr constant [21 x i8], align 1
@cuMemcpyDtoHAsync = external dso_local local_unnamed_addr global ptr, align 8
@.str.85 = external hidden unnamed_addr constant [21 x i8], align 1
@cuMemcpyHtoAAsync = external dso_local local_unnamed_addr global ptr, align 8
@.str.86 = external hidden unnamed_addr constant [21 x i8], align 1
@cuMemcpyAtoHAsync = external dso_local local_unnamed_addr global ptr, align 8
@.str.87 = external hidden unnamed_addr constant [19 x i8], align 1
@cuMemcpy2DAsync = external dso_local local_unnamed_addr global ptr, align 8
@.str.88 = external hidden unnamed_addr constant [19 x i8], align 1
@cuMemcpy3DAsync = external dso_local local_unnamed_addr global ptr, align 8
@.str.89 = external hidden unnamed_addr constant [14 x i8], align 1
@cuMemsetD8 = external dso_local local_unnamed_addr global ptr, align 8
@.str.90 = external hidden unnamed_addr constant [15 x i8], align 1
@cuMemsetD16 = external dso_local local_unnamed_addr global ptr, align 8
@.str.91 = external hidden unnamed_addr constant [15 x i8], align 1
@cuMemsetD32 = external dso_local local_unnamed_addr global ptr, align 8
@.str.92 = external hidden unnamed_addr constant [16 x i8], align 1
@cuMemsetD2D8 = external dso_local local_unnamed_addr global ptr, align 8
@.str.93 = external hidden unnamed_addr constant [17 x i8], align 1
@cuMemsetD2D16 = external dso_local local_unnamed_addr global ptr, align 8
@.str.94 = external hidden unnamed_addr constant [17 x i8], align 1
@cuMemsetD2D32 = external dso_local local_unnamed_addr global ptr, align 8
@.str.95 = external hidden unnamed_addr constant [17 x i8], align 1
@cuArrayCreate = external dso_local local_unnamed_addr global ptr, align 8
@.str.96 = external hidden unnamed_addr constant [24 x i8], align 1
@cuArrayGetDescriptor = external dso_local local_unnamed_addr global ptr, align 8
@.str.97 = external hidden unnamed_addr constant [19 x i8], align 1
@cuArray3DCreate = external dso_local local_unnamed_addr global ptr, align 8
@.str.98 = external hidden unnamed_addr constant [26 x i8], align 1
@cuArray3DGetDescriptor = external dso_local local_unnamed_addr global ptr, align 8
@.str.99 = external hidden unnamed_addr constant [22 x i8], align 1
@cuTexRefSetAddress = external dso_local local_unnamed_addr global ptr, align 8
@.str.100 = external hidden unnamed_addr constant [24 x i8], align 1
@cuTexRefSetAddress2D = external dso_local local_unnamed_addr global ptr, align 8
@.str.101 = external hidden unnamed_addr constant [22 x i8], align 1
@cuTexRefGetAddress = external dso_local local_unnamed_addr global ptr, align 8
@.str.102 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.134 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.135 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.136 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.137 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.138 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.139 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.140 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.141 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.142 = external hidden unnamed_addr constant [19 x i8], align 1
@cuModuleLoadDataEx = external dso_local local_unnamed_addr global ptr, align 8
@.str.143 = external hidden unnamed_addr constant [22 x i8], align 1
@cuModuleLoadFatBinary = external dso_local local_unnamed_addr global ptr, align 8
@.str.144 = external hidden unnamed_addr constant [18 x i8], align 1
@cuMemHostGetFlags = external dso_local local_unnamed_addr global ptr, align 8
@.str.145 = external hidden unnamed_addr constant [18 x i8], align 1
@cuMemcpyDtoDAsync = external dso_local local_unnamed_addr global ptr, align 8
@.str.146 = external hidden unnamed_addr constant [21 x i8], align 1
@cuFuncSetCacheConfig = external dso_local local_unnamed_addr global ptr, align 8
@.str.147 = external hidden unnamed_addr constant [29 x i8], align 1
@cuGraphicsUnregisterResource = external dso_local local_unnamed_addr global ptr, align 8
@.str.148 = external hidden unnamed_addr constant [36 x i8], align 1
@cuGraphicsSubResourceGetMappedArray = external dso_local local_unnamed_addr global ptr, align 8
@.str.149 = external hidden unnamed_addr constant [38 x i8], align 1
@cuGraphicsResourceGetMappedPointer = external dso_local local_unnamed_addr global ptr, align 8
@.str.150 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.151 = external hidden unnamed_addr constant [30 x i8], align 1
@cuGraphicsResourceSetMapFlags = external dso_local local_unnamed_addr global ptr, align 8
@.str.152 = external hidden unnamed_addr constant [23 x i8], align 1
@cuGraphicsMapResources = external dso_local local_unnamed_addr global ptr, align 8
@.str.153 = external hidden unnamed_addr constant [25 x i8], align 1
@cuGraphicsUnmapResources = external dso_local local_unnamed_addr global ptr, align 8
@.str.154 = external hidden unnamed_addr constant [17 x i8], align 1
@cuGetExportTable = external dso_local local_unnamed_addr global ptr, align 8
@.str.155 = external hidden unnamed_addr constant [19 x i8], align 1
@cuModuleGetSurfRef = external dso_local local_unnamed_addr global ptr, align 8
@.str.156 = external hidden unnamed_addr constant [18 x i8], align 1
@cuSurfRefSetArray = external dso_local local_unnamed_addr global ptr, align 8
@.str.157 = external hidden unnamed_addr constant [18 x i8], align 1
@cuSurfRefGetArray = external dso_local local_unnamed_addr global ptr, align 8
@.str.158 = external hidden unnamed_addr constant [14 x i8], align 1
@cuCtxSetLimit = external dso_local local_unnamed_addr global ptr, align 8
@.str.159 = external hidden unnamed_addr constant [14 x i8], align 1
@cuCtxGetLimit = external dso_local local_unnamed_addr global ptr, align 8
@.str.160 = external hidden unnamed_addr constant [16 x i8], align 1
@cuCtxSetCurrent = external dso_local local_unnamed_addr global ptr, align 8
@.str.161 = external hidden unnamed_addr constant [16 x i8], align 1
@cuCtxGetCurrent = external dso_local local_unnamed_addr global ptr, align 8
@.str.162 = external hidden unnamed_addr constant [18 x i8], align 1
@cuMemHostRegister = external dso_local local_unnamed_addr global ptr, align 8
@.str.163 = external hidden unnamed_addr constant [20 x i8], align 1
@cuMemHostUnregister = external dso_local local_unnamed_addr global ptr, align 8
@.str.164 = external hidden unnamed_addr constant [9 x i8], align 1
@cuMemcpy = external dso_local local_unnamed_addr global ptr, align 8
@.str.165 = external hidden unnamed_addr constant [13 x i8], align 1
@cuMemcpyPeer = external dso_local local_unnamed_addr global ptr, align 8
@.str.166 = external hidden unnamed_addr constant [15 x i8], align 1
@cuLaunchKernel = external dso_local local_unnamed_addr global ptr, align 8

; Function Attrs: nounwind uwtable
define dso_local i32 @cuInit(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  store i32 1000, ptr %4, align 4, !tbaa !5
  %5 = call i32 @LOAD_LIBRARY(ptr noundef nonnull %3)
  %.not = icmp eq i32 %5, 0
  br i1 %.not, label %6, label %.thread35

6:                                                ; preds = %2
  %7 = load ptr, ptr %3, align 8, !tbaa !9
  %8 = call ptr @dlsym(ptr noundef %7, ptr noundef nonnull @.str) #4
  store ptr %8, ptr @_cuInit, align 8, !tbaa !9
  %9 = icmp eq ptr %8, null
  br i1 %9, label %.thread35.sink.split, label %10

10:                                               ; preds = %6
  %11 = call i32 %8(i32 noundef %0) #4
  %.not22 = icmp eq i32 %11, 0
  br i1 %.not22, label %12, label %.thread35

12:                                               ; preds = %10
  %13 = load ptr, ptr %3, align 8, !tbaa !9
  %14 = call ptr @dlsym(ptr noundef %13, ptr noundef nonnull @.str.2) #4
  store ptr %14, ptr @cuDriverGetVersion, align 8, !tbaa !9
  %.not23 = icmp eq ptr %14, null
  br i1 %.not23, label %17, label %15

15:                                               ; preds = %12
  %16 = call i32 %14(ptr noundef nonnull %4) #4
  %.not24 = icmp eq i32 %16, 0
  br i1 %.not24, label %17, label %.thread35

17:                                               ; preds = %15, %12
  %18 = load ptr, ptr %3, align 8, !tbaa !9
  %19 = call ptr @dlsym(ptr noundef %18, ptr noundef nonnull @.str.3) #4
  store ptr %19, ptr @cuDeviceGet, align 8, !tbaa !9
  %20 = icmp eq ptr %19, null
  br i1 %20, label %.thread35.sink.split, label %21

21:                                               ; preds = %17
  %22 = load ptr, ptr %3, align 8, !tbaa !9
  %23 = call ptr @dlsym(ptr noundef %22, ptr noundef nonnull @.str.4) #4
  store ptr %23, ptr @cuDeviceGetCount, align 8, !tbaa !9
  %24 = icmp eq ptr %23, null
  br i1 %24, label %.thread35.sink.split, label %25

25:                                               ; preds = %21
  %26 = load ptr, ptr %3, align 8, !tbaa !9
  %27 = call ptr @dlsym(ptr noundef %26, ptr noundef nonnull @.str.5) #4
  store ptr %27, ptr @cuDeviceGetName, align 8, !tbaa !9
  %28 = icmp eq ptr %27, null
  br i1 %28, label %.thread35.sink.split, label %29

29:                                               ; preds = %25
  %30 = load ptr, ptr %3, align 8, !tbaa !9
  %31 = call ptr @dlsym(ptr noundef %30, ptr noundef nonnull @.str.6) #4
  store ptr %31, ptr @cuDeviceComputeCapability, align 8, !tbaa !9
  %32 = icmp eq ptr %31, null
  br i1 %32, label %.thread35.sink.split, label %33

33:                                               ; preds = %29
  %34 = load ptr, ptr %3, align 8, !tbaa !9
  %35 = call ptr @dlsym(ptr noundef %34, ptr noundef nonnull @.str.7) #4
  store ptr %35, ptr @cuDeviceGetProperties, align 8, !tbaa !9
  %36 = icmp eq ptr %35, null
  br i1 %36, label %.thread35.sink.split, label %37

37:                                               ; preds = %33
  %38 = load ptr, ptr %3, align 8, !tbaa !9
  %39 = call ptr @dlsym(ptr noundef %38, ptr noundef nonnull @.str.8) #4
  store ptr %39, ptr @cuDeviceGetAttribute, align 8, !tbaa !9
  %40 = icmp eq ptr %39, null
  br i1 %40, label %.thread35.sink.split, label %41

41:                                               ; preds = %37
  %42 = load ptr, ptr %3, align 8, !tbaa !9
  %43 = call ptr @dlsym(ptr noundef %42, ptr noundef nonnull @.str.9) #4
  store ptr %43, ptr @cuCtxDestroy, align 8, !tbaa !9
  %44 = icmp eq ptr %43, null
  br i1 %44, label %.thread35.sink.split, label %45

45:                                               ; preds = %41
  %46 = load ptr, ptr %3, align 8, !tbaa !9
  %47 = call ptr @dlsym(ptr noundef %46, ptr noundef nonnull @.str.10) #4
  store ptr %47, ptr @cuCtxAttach, align 8, !tbaa !9
  %48 = icmp eq ptr %47, null
  br i1 %48, label %.thread35.sink.split, label %49

49:                                               ; preds = %45
  %50 = load ptr, ptr %3, align 8, !tbaa !9
  %51 = call ptr @dlsym(ptr noundef %50, ptr noundef nonnull @.str.11) #4
  store ptr %51, ptr @cuCtxDetach, align 8, !tbaa !9
  %52 = icmp eq ptr %51, null
  br i1 %52, label %.thread35.sink.split, label %53

53:                                               ; preds = %49
  %54 = load ptr, ptr %3, align 8, !tbaa !9
  %55 = call ptr @dlsym(ptr noundef %54, ptr noundef nonnull @.str.12) #4
  store ptr %55, ptr @cuCtxPushCurrent, align 8, !tbaa !9
  %56 = icmp eq ptr %55, null
  br i1 %56, label %.thread35.sink.split, label %57

57:                                               ; preds = %53
  %58 = load ptr, ptr %3, align 8, !tbaa !9
  %59 = call ptr @dlsym(ptr noundef %58, ptr noundef nonnull @.str.13) #4
  store ptr %59, ptr @cuCtxPopCurrent, align 8, !tbaa !9
  %60 = icmp eq ptr %59, null
  br i1 %60, label %.thread35.sink.split, label %61

61:                                               ; preds = %57
  %62 = load ptr, ptr %3, align 8, !tbaa !9
  %63 = call ptr @dlsym(ptr noundef %62, ptr noundef nonnull @.str.14) #4
  store ptr %63, ptr @cuCtxGetDevice, align 8, !tbaa !9
  %64 = icmp eq ptr %63, null
  br i1 %64, label %.thread35.sink.split, label %65

65:                                               ; preds = %61
  %66 = load ptr, ptr %3, align 8, !tbaa !9
  %67 = call ptr @dlsym(ptr noundef %66, ptr noundef nonnull @.str.15) #4
  store ptr %67, ptr @cuCtxSynchronize, align 8, !tbaa !9
  %68 = icmp eq ptr %67, null
  br i1 %68, label %.thread35.sink.split, label %69

69:                                               ; preds = %65
  %70 = load ptr, ptr %3, align 8, !tbaa !9
  %71 = call ptr @dlsym(ptr noundef %70, ptr noundef nonnull @.str.16) #4
  store ptr %71, ptr @cuModuleLoad, align 8, !tbaa !9
  %72 = icmp eq ptr %71, null
  br i1 %72, label %.thread35.sink.split, label %73

73:                                               ; preds = %69
  %74 = load ptr, ptr %3, align 8, !tbaa !9
  %75 = call ptr @dlsym(ptr noundef %74, ptr noundef nonnull @.str.17) #4
  store ptr %75, ptr @cuModuleLoadData, align 8, !tbaa !9
  %76 = icmp eq ptr %75, null
  br i1 %76, label %.thread35.sink.split, label %77

77:                                               ; preds = %73
  %78 = load ptr, ptr %3, align 8, !tbaa !9
  %79 = call ptr @dlsym(ptr noundef %78, ptr noundef nonnull @.str.18) #4
  store ptr %79, ptr @cuModuleUnload, align 8, !tbaa !9
  %80 = icmp eq ptr %79, null
  br i1 %80, label %.thread35.sink.split, label %81

81:                                               ; preds = %77
  %82 = load ptr, ptr %3, align 8, !tbaa !9
  %83 = call ptr @dlsym(ptr noundef %82, ptr noundef nonnull @.str.19) #4
  store ptr %83, ptr @cuModuleGetFunction, align 8, !tbaa !9
  %84 = icmp eq ptr %83, null
  br i1 %84, label %.thread35.sink.split, label %85

85:                                               ; preds = %81
  %86 = load ptr, ptr %3, align 8, !tbaa !9
  %87 = call ptr @dlsym(ptr noundef %86, ptr noundef nonnull @.str.20) #4
  store ptr %87, ptr @cuModuleGetTexRef, align 8, !tbaa !9
  %88 = icmp eq ptr %87, null
  br i1 %88, label %.thread35.sink.split, label %89

89:                                               ; preds = %85
  %90 = load ptr, ptr %3, align 8, !tbaa !9
  %91 = call ptr @dlsym(ptr noundef %90, ptr noundef nonnull @.str.21) #4
  store ptr %91, ptr @cuMemFreeHost, align 8, !tbaa !9
  %92 = icmp eq ptr %91, null
  br i1 %92, label %.thread35.sink.split, label %93

93:                                               ; preds = %89
  %94 = load ptr, ptr %3, align 8, !tbaa !9
  %95 = call ptr @dlsym(ptr noundef %94, ptr noundef nonnull @.str.22) #4
  store ptr %95, ptr @cuMemHostAlloc, align 8, !tbaa !9
  %96 = icmp eq ptr %95, null
  br i1 %96, label %.thread35.sink.split, label %97

97:                                               ; preds = %93
  %98 = load ptr, ptr %3, align 8, !tbaa !9
  %99 = call ptr @dlsym(ptr noundef %98, ptr noundef nonnull @.str.23) #4
  store ptr %99, ptr @cuFuncSetBlockShape, align 8, !tbaa !9
  %100 = icmp eq ptr %99, null
  br i1 %100, label %.thread35.sink.split, label %101

101:                                              ; preds = %97
  %102 = load ptr, ptr %3, align 8, !tbaa !9
  %103 = call ptr @dlsym(ptr noundef %102, ptr noundef nonnull @.str.24) #4
  store ptr %103, ptr @cuFuncSetSharedSize, align 8, !tbaa !9
  %104 = icmp eq ptr %103, null
  br i1 %104, label %.thread35.sink.split, label %105

105:                                              ; preds = %101
  %106 = load ptr, ptr %3, align 8, !tbaa !9
  %107 = call ptr @dlsym(ptr noundef %106, ptr noundef nonnull @.str.25) #4
  store ptr %107, ptr @cuFuncGetAttribute, align 8, !tbaa !9
  %108 = icmp eq ptr %107, null
  br i1 %108, label %.thread35.sink.split, label %109

109:                                              ; preds = %105
  %110 = load ptr, ptr %3, align 8, !tbaa !9
  %111 = call ptr @dlsym(ptr noundef %110, ptr noundef nonnull @.str.26) #4
  store ptr %111, ptr @cuArrayDestroy, align 8, !tbaa !9
  %112 = icmp eq ptr %111, null
  br i1 %112, label %.thread35.sink.split, label %113

113:                                              ; preds = %109
  %114 = load ptr, ptr %3, align 8, !tbaa !9
  %115 = call ptr @dlsym(ptr noundef %114, ptr noundef nonnull @.str.27) #4
  store ptr %115, ptr @cuTexRefCreate, align 8, !tbaa !9
  %116 = icmp eq ptr %115, null
  br i1 %116, label %.thread35.sink.split, label %117

117:                                              ; preds = %113
  %118 = load ptr, ptr %3, align 8, !tbaa !9
  %119 = call ptr @dlsym(ptr noundef %118, ptr noundef nonnull @.str.28) #4
  store ptr %119, ptr @cuTexRefDestroy, align 8, !tbaa !9
  %120 = icmp eq ptr %119, null
  br i1 %120, label %.thread35.sink.split, label %121

121:                                              ; preds = %117
  %122 = load ptr, ptr %3, align 8, !tbaa !9
  %123 = call ptr @dlsym(ptr noundef %122, ptr noundef nonnull @.str.29) #4
  store ptr %123, ptr @cuTexRefSetArray, align 8, !tbaa !9
  %124 = icmp eq ptr %123, null
  br i1 %124, label %.thread35.sink.split, label %125

125:                                              ; preds = %121
  %126 = load ptr, ptr %3, align 8, !tbaa !9
  %127 = call ptr @dlsym(ptr noundef %126, ptr noundef nonnull @.str.30) #4
  store ptr %127, ptr @cuTexRefSetFormat, align 8, !tbaa !9
  %128 = icmp eq ptr %127, null
  br i1 %128, label %.thread35.sink.split, label %129

129:                                              ; preds = %125
  %130 = load ptr, ptr %3, align 8, !tbaa !9
  %131 = call ptr @dlsym(ptr noundef %130, ptr noundef nonnull @.str.31) #4
  store ptr %131, ptr @cuTexRefSetAddressMode, align 8, !tbaa !9
  %132 = icmp eq ptr %131, null
  br i1 %132, label %.thread35.sink.split, label %133

133:                                              ; preds = %129
  %134 = load ptr, ptr %3, align 8, !tbaa !9
  %135 = call ptr @dlsym(ptr noundef %134, ptr noundef nonnull @.str.32) #4
  store ptr %135, ptr @cuTexRefSetFilterMode, align 8, !tbaa !9
  %136 = icmp eq ptr %135, null
  br i1 %136, label %.thread35.sink.split, label %137

137:                                              ; preds = %133
  %138 = load ptr, ptr %3, align 8, !tbaa !9
  %139 = call ptr @dlsym(ptr noundef %138, ptr noundef nonnull @.str.33) #4
  store ptr %139, ptr @cuTexRefSetFlags, align 8, !tbaa !9
  %140 = icmp eq ptr %139, null
  br i1 %140, label %.thread35.sink.split, label %141

141:                                              ; preds = %137
  %142 = load ptr, ptr %3, align 8, !tbaa !9
  %143 = call ptr @dlsym(ptr noundef %142, ptr noundef nonnull @.str.34) #4
  store ptr %143, ptr @cuTexRefGetArray, align 8, !tbaa !9
  %144 = icmp eq ptr %143, null
  br i1 %144, label %.thread35.sink.split, label %145

145:                                              ; preds = %141
  %146 = load ptr, ptr %3, align 8, !tbaa !9
  %147 = call ptr @dlsym(ptr noundef %146, ptr noundef nonnull @.str.35) #4
  store ptr %147, ptr @cuTexRefGetAddressMode, align 8, !tbaa !9
  %148 = icmp eq ptr %147, null
  br i1 %148, label %.thread35.sink.split, label %149

149:                                              ; preds = %145
  %150 = load ptr, ptr %3, align 8, !tbaa !9
  %151 = call ptr @dlsym(ptr noundef %150, ptr noundef nonnull @.str.36) #4
  store ptr %151, ptr @cuTexRefGetFilterMode, align 8, !tbaa !9
  %152 = icmp eq ptr %151, null
  br i1 %152, label %.thread35.sink.split, label %153

153:                                              ; preds = %149
  %154 = load ptr, ptr %3, align 8, !tbaa !9
  %155 = call ptr @dlsym(ptr noundef %154, ptr noundef nonnull @.str.37) #4
  store ptr %155, ptr @cuTexRefGetFormat, align 8, !tbaa !9
  %156 = icmp eq ptr %155, null
  br i1 %156, label %.thread35.sink.split, label %157

157:                                              ; preds = %153
  %158 = load ptr, ptr %3, align 8, !tbaa !9
  %159 = call ptr @dlsym(ptr noundef %158, ptr noundef nonnull @.str.38) #4
  store ptr %159, ptr @cuTexRefGetFlags, align 8, !tbaa !9
  %160 = icmp eq ptr %159, null
  br i1 %160, label %.thread35.sink.split, label %161

161:                                              ; preds = %157
  %162 = load ptr, ptr %3, align 8, !tbaa !9
  %163 = call ptr @dlsym(ptr noundef %162, ptr noundef nonnull @.str.39) #4
  store ptr %163, ptr @cuParamSetSize, align 8, !tbaa !9
  %164 = icmp eq ptr %163, null
  br i1 %164, label %.thread35.sink.split, label %165

165:                                              ; preds = %161
  %166 = load ptr, ptr %3, align 8, !tbaa !9
  %167 = call ptr @dlsym(ptr noundef %166, ptr noundef nonnull @.str.40) #4
  store ptr %167, ptr @cuParamSeti, align 8, !tbaa !9
  %168 = icmp eq ptr %167, null
  br i1 %168, label %.thread35.sink.split, label %169

169:                                              ; preds = %165
  %170 = load ptr, ptr %3, align 8, !tbaa !9
  %171 = call ptr @dlsym(ptr noundef %170, ptr noundef nonnull @.str.41) #4
  store ptr %171, ptr @cuParamSetf, align 8, !tbaa !9
  %172 = icmp eq ptr %171, null
  br i1 %172, label %.thread35.sink.split, label %173

173:                                              ; preds = %169
  %174 = load ptr, ptr %3, align 8, !tbaa !9
  %175 = call ptr @dlsym(ptr noundef %174, ptr noundef nonnull @.str.42) #4
  store ptr %175, ptr @cuParamSetv, align 8, !tbaa !9
  %176 = icmp eq ptr %175, null
  br i1 %176, label %.thread35.sink.split, label %177

177:                                              ; preds = %173
  %178 = load ptr, ptr %3, align 8, !tbaa !9
  %179 = call ptr @dlsym(ptr noundef %178, ptr noundef nonnull @.str.43) #4
  store ptr %179, ptr @cuParamSetTexRef, align 8, !tbaa !9
  %180 = icmp eq ptr %179, null
  br i1 %180, label %.thread35.sink.split, label %181

181:                                              ; preds = %177
  %182 = load ptr, ptr %3, align 8, !tbaa !9
  %183 = call ptr @dlsym(ptr noundef %182, ptr noundef nonnull @.str.44) #4
  store ptr %183, ptr @cuLaunch, align 8, !tbaa !9
  %184 = icmp eq ptr %183, null
  br i1 %184, label %.thread35.sink.split, label %185

185:                                              ; preds = %181
  %186 = load ptr, ptr %3, align 8, !tbaa !9
  %187 = call ptr @dlsym(ptr noundef %186, ptr noundef nonnull @.str.45) #4
  store ptr %187, ptr @cuLaunchGrid, align 8, !tbaa !9
  %188 = icmp eq ptr %187, null
  br i1 %188, label %.thread35.sink.split, label %189

189:                                              ; preds = %185
  %190 = load ptr, ptr %3, align 8, !tbaa !9
  %191 = call ptr @dlsym(ptr noundef %190, ptr noundef nonnull @.str.46) #4
  store ptr %191, ptr @cuLaunchGridAsync, align 8, !tbaa !9
  %192 = icmp eq ptr %191, null
  br i1 %192, label %.thread35.sink.split, label %193

193:                                              ; preds = %189
  %194 = load ptr, ptr %3, align 8, !tbaa !9
  %195 = call ptr @dlsym(ptr noundef %194, ptr noundef nonnull @.str.47) #4
  store ptr %195, ptr @cuEventCreate, align 8, !tbaa !9
  %196 = icmp eq ptr %195, null
  br i1 %196, label %.thread35.sink.split, label %197

197:                                              ; preds = %193
  %198 = load ptr, ptr %3, align 8, !tbaa !9
  %199 = call ptr @dlsym(ptr noundef %198, ptr noundef nonnull @.str.48) #4
  store ptr %199, ptr @cuEventRecord, align 8, !tbaa !9
  %200 = icmp eq ptr %199, null
  br i1 %200, label %.thread35.sink.split, label %201

201:                                              ; preds = %197
  %202 = load ptr, ptr %3, align 8, !tbaa !9
  %203 = call ptr @dlsym(ptr noundef %202, ptr noundef nonnull @.str.49) #4
  store ptr %203, ptr @cuEventQuery, align 8, !tbaa !9
  %204 = icmp eq ptr %203, null
  br i1 %204, label %.thread35.sink.split, label %205

205:                                              ; preds = %201
  %206 = load ptr, ptr %3, align 8, !tbaa !9
  %207 = call ptr @dlsym(ptr noundef %206, ptr noundef nonnull @.str.50) #4
  store ptr %207, ptr @cuEventSynchronize, align 8, !tbaa !9
  %208 = icmp eq ptr %207, null
  br i1 %208, label %.thread35.sink.split, label %209

209:                                              ; preds = %205
  %210 = load ptr, ptr %3, align 8, !tbaa !9
  %211 = call ptr @dlsym(ptr noundef %210, ptr noundef nonnull @.str.51) #4
  store ptr %211, ptr @cuEventDestroy, align 8, !tbaa !9
  %212 = icmp eq ptr %211, null
  br i1 %212, label %.thread35.sink.split, label %213

213:                                              ; preds = %209
  %214 = load ptr, ptr %3, align 8, !tbaa !9
  %215 = call ptr @dlsym(ptr noundef %214, ptr noundef nonnull @.str.52) #4
  store ptr %215, ptr @cuEventElapsedTime, align 8, !tbaa !9
  %216 = icmp eq ptr %215, null
  br i1 %216, label %.thread35.sink.split, label %217

217:                                              ; preds = %213
  %218 = load ptr, ptr %3, align 8, !tbaa !9
  %219 = call ptr @dlsym(ptr noundef %218, ptr noundef nonnull @.str.53) #4
  store ptr %219, ptr @cuStreamCreate, align 8, !tbaa !9
  %220 = icmp eq ptr %219, null
  br i1 %220, label %.thread35.sink.split, label %221

221:                                              ; preds = %217
  %222 = load ptr, ptr %3, align 8, !tbaa !9
  %223 = call ptr @dlsym(ptr noundef %222, ptr noundef nonnull @.str.54) #4
  store ptr %223, ptr @cuStreamQuery, align 8, !tbaa !9
  %224 = icmp eq ptr %223, null
  br i1 %224, label %.thread35.sink.split, label %225

225:                                              ; preds = %221
  %226 = load ptr, ptr %3, align 8, !tbaa !9
  %227 = call ptr @dlsym(ptr noundef %226, ptr noundef nonnull @.str.55) #4
  store ptr %227, ptr @cuStreamSynchronize, align 8, !tbaa !9
  %228 = icmp eq ptr %227, null
  br i1 %228, label %.thread35.sink.split, label %229

229:                                              ; preds = %225
  %230 = load ptr, ptr %3, align 8, !tbaa !9
  %231 = call ptr @dlsym(ptr noundef %230, ptr noundef nonnull @.str.56) #4
  store ptr %231, ptr @cuStreamDestroy, align 8, !tbaa !9
  %232 = icmp eq ptr %231, null
  br i1 %232, label %.thread35.sink.split, label %233

233:                                              ; preds = %229
  %234 = icmp sgt i32 %1, 3999
  br i1 %234, label %235, label %255

235:                                              ; preds = %233
  %236 = load ptr, ptr %3, align 8, !tbaa !9
  %237 = call ptr @dlsym(ptr noundef %236, ptr noundef nonnull @.str.57) #4
  store ptr %237, ptr @cuCtxDestroy, align 8, !tbaa !9
  %238 = icmp eq ptr %237, null
  br i1 %238, label %.thread35.sink.split, label %239

239:                                              ; preds = %235
  %240 = load ptr, ptr %3, align 8, !tbaa !9
  %241 = call ptr @dlsym(ptr noundef %240, ptr noundef nonnull @.str.58) #4
  store ptr %241, ptr @cuCtxPopCurrent, align 8, !tbaa !9
  %242 = icmp eq ptr %241, null
  br i1 %242, label %.thread35.sink.split, label %243

243:                                              ; preds = %239
  %244 = load ptr, ptr %3, align 8, !tbaa !9
  %245 = call ptr @dlsym(ptr noundef %244, ptr noundef nonnull @.str.59) #4
  store ptr %245, ptr @cuCtxPushCurrent, align 8, !tbaa !9
  %246 = icmp eq ptr %245, null
  br i1 %246, label %.thread35.sink.split, label %247

247:                                              ; preds = %243
  %248 = load ptr, ptr %3, align 8, !tbaa !9
  %249 = call ptr @dlsym(ptr noundef %248, ptr noundef nonnull @.str.60) #4
  store ptr %249, ptr @cuStreamDestroy, align 8, !tbaa !9
  %250 = icmp eq ptr %249, null
  br i1 %250, label %.thread35.sink.split, label %251

251:                                              ; preds = %247
  %252 = load ptr, ptr %3, align 8, !tbaa !9
  %253 = call ptr @dlsym(ptr noundef %252, ptr noundef nonnull @.str.61) #4
  store ptr %253, ptr @cuEventDestroy, align 8, !tbaa !9
  %254 = icmp eq ptr %253, null
  br i1 %254, label %.thread35.sink.split, label %.thread

255:                                              ; preds = %233
  %256 = icmp sgt i32 %1, 3019
  br i1 %256, label %.thread, label %416

.thread:                                          ; preds = %251, %255
  %257 = load ptr, ptr %3, align 8, !tbaa !9
  %258 = call ptr @dlsym(ptr noundef %257, ptr noundef nonnull @.str.62) #4
  store ptr %258, ptr @cuDeviceTotalMem, align 8, !tbaa !9
  %259 = icmp eq ptr %258, null
  br i1 %259, label %.thread35.sink.split, label %260

260:                                              ; preds = %.thread
  %261 = load ptr, ptr %3, align 8, !tbaa !9
  %262 = call ptr @dlsym(ptr noundef %261, ptr noundef nonnull @.str.63) #4
  store ptr %262, ptr @cuCtxCreate, align 8, !tbaa !9
  %263 = icmp eq ptr %262, null
  br i1 %263, label %.thread35.sink.split, label %264

264:                                              ; preds = %260
  %265 = load ptr, ptr %3, align 8, !tbaa !9
  %266 = call ptr @dlsym(ptr noundef %265, ptr noundef nonnull @.str.64) #4
  store ptr %266, ptr @cuModuleGetGlobal, align 8, !tbaa !9
  %267 = icmp eq ptr %266, null
  br i1 %267, label %.thread35.sink.split, label %268

268:                                              ; preds = %264
  %269 = load ptr, ptr %3, align 8, !tbaa !9
  %270 = call ptr @dlsym(ptr noundef %269, ptr noundef nonnull @.str.65) #4
  store ptr %270, ptr @cuMemGetInfo, align 8, !tbaa !9
  %271 = icmp eq ptr %270, null
  br i1 %271, label %.thread35.sink.split, label %272

272:                                              ; preds = %268
  %273 = load ptr, ptr %3, align 8, !tbaa !9
  %274 = call ptr @dlsym(ptr noundef %273, ptr noundef nonnull @.str.66) #4
  store ptr %274, ptr @cuMemAlloc, align 8, !tbaa !9
  %275 = icmp eq ptr %274, null
  br i1 %275, label %.thread35.sink.split, label %276

276:                                              ; preds = %272
  %277 = load ptr, ptr %3, align 8, !tbaa !9
  %278 = call ptr @dlsym(ptr noundef %277, ptr noundef nonnull @.str.67) #4
  store ptr %278, ptr @cuMemAllocPitch, align 8, !tbaa !9
  %279 = icmp eq ptr %278, null
  br i1 %279, label %.thread35.sink.split, label %280

280:                                              ; preds = %276
  %281 = load ptr, ptr %3, align 8, !tbaa !9
  %282 = call ptr @dlsym(ptr noundef %281, ptr noundef nonnull @.str.68) #4
  store ptr %282, ptr @cuMemFree, align 8, !tbaa !9
  %283 = icmp eq ptr %282, null
  br i1 %283, label %.thread35.sink.split, label %284

284:                                              ; preds = %280
  %285 = load ptr, ptr %3, align 8, !tbaa !9
  %286 = call ptr @dlsym(ptr noundef %285, ptr noundef nonnull @.str.69) #4
  store ptr %286, ptr @cuMemGetAddressRange, align 8, !tbaa !9
  %287 = icmp eq ptr %286, null
  br i1 %287, label %.thread35.sink.split, label %288

288:                                              ; preds = %284
  %289 = load ptr, ptr %3, align 8, !tbaa !9
  %290 = call ptr @dlsym(ptr noundef %289, ptr noundef nonnull @.str.70) #4
  store ptr %290, ptr @cuMemAllocHost, align 8, !tbaa !9
  %291 = icmp eq ptr %290, null
  br i1 %291, label %.thread35.sink.split, label %292

292:                                              ; preds = %288
  %293 = load ptr, ptr %3, align 8, !tbaa !9
  %294 = call ptr @dlsym(ptr noundef %293, ptr noundef nonnull @.str.71) #4
  store ptr %294, ptr @cuMemHostGetDevicePointer, align 8, !tbaa !9
  %295 = icmp eq ptr %294, null
  br i1 %295, label %.thread35.sink.split, label %296

296:                                              ; preds = %292
  %297 = load ptr, ptr %3, align 8, !tbaa !9
  %298 = call ptr @dlsym(ptr noundef %297, ptr noundef nonnull @.str.72) #4
  store ptr %298, ptr @cuMemcpyHtoD, align 8, !tbaa !9
  %299 = icmp eq ptr %298, null
  br i1 %299, label %.thread35.sink.split, label %300

300:                                              ; preds = %296
  %301 = load ptr, ptr %3, align 8, !tbaa !9
  %302 = call ptr @dlsym(ptr noundef %301, ptr noundef nonnull @.str.73) #4
  store ptr %302, ptr @cuMemcpyDtoH, align 8, !tbaa !9
  %303 = icmp eq ptr %302, null
  br i1 %303, label %.thread35.sink.split, label %304

304:                                              ; preds = %300
  %305 = load ptr, ptr %3, align 8, !tbaa !9
  %306 = call ptr @dlsym(ptr noundef %305, ptr noundef nonnull @.str.74) #4
  store ptr %306, ptr @cuMemcpyDtoD, align 8, !tbaa !9
  %307 = icmp eq ptr %306, null
  br i1 %307, label %.thread35.sink.split, label %308

308:                                              ; preds = %304
  %309 = load ptr, ptr %3, align 8, !tbaa !9
  %310 = call ptr @dlsym(ptr noundef %309, ptr noundef nonnull @.str.75) #4
  store ptr %310, ptr @cuMemcpyDtoA, align 8, !tbaa !9
  %311 = icmp eq ptr %310, null
  br i1 %311, label %.thread35.sink.split, label %312

312:                                              ; preds = %308
  %313 = load ptr, ptr %3, align 8, !tbaa !9
  %314 = call ptr @dlsym(ptr noundef %313, ptr noundef nonnull @.str.76) #4
  store ptr %314, ptr @cuMemcpyAtoD, align 8, !tbaa !9
  %315 = icmp eq ptr %314, null
  br i1 %315, label %.thread35.sink.split, label %316

316:                                              ; preds = %312
  %317 = load ptr, ptr %3, align 8, !tbaa !9
  %318 = call ptr @dlsym(ptr noundef %317, ptr noundef nonnull @.str.77) #4
  store ptr %318, ptr @cuMemcpyHtoA, align 8, !tbaa !9
  %319 = icmp eq ptr %318, null
  br i1 %319, label %.thread35.sink.split, label %320

320:                                              ; preds = %316
  %321 = load ptr, ptr %3, align 8, !tbaa !9
  %322 = call ptr @dlsym(ptr noundef %321, ptr noundef nonnull @.str.78) #4
  store ptr %322, ptr @cuMemcpyAtoH, align 8, !tbaa !9
  %323 = icmp eq ptr %322, null
  br i1 %323, label %.thread35.sink.split, label %324

324:                                              ; preds = %320
  %325 = load ptr, ptr %3, align 8, !tbaa !9
  %326 = call ptr @dlsym(ptr noundef %325, ptr noundef nonnull @.str.79) #4
  store ptr %326, ptr @cuMemcpyAtoA, align 8, !tbaa !9
  %327 = icmp eq ptr %326, null
  br i1 %327, label %.thread35.sink.split, label %328

328:                                              ; preds = %324
  %329 = load ptr, ptr %3, align 8, !tbaa !9
  %330 = call ptr @dlsym(ptr noundef %329, ptr noundef nonnull @.str.80) #4
  store ptr %330, ptr @cuMemcpy2D, align 8, !tbaa !9
  %331 = icmp eq ptr %330, null
  br i1 %331, label %.thread35.sink.split, label %332

332:                                              ; preds = %328
  %333 = load ptr, ptr %3, align 8, !tbaa !9
  %334 = call ptr @dlsym(ptr noundef %333, ptr noundef nonnull @.str.81) #4
  store ptr %334, ptr @cuMemcpy2DUnaligned, align 8, !tbaa !9
  %335 = icmp eq ptr %334, null
  br i1 %335, label %.thread35.sink.split, label %336

336:                                              ; preds = %332
  %337 = load ptr, ptr %3, align 8, !tbaa !9
  %338 = call ptr @dlsym(ptr noundef %337, ptr noundef nonnull @.str.82) #4
  store ptr %338, ptr @cuMemcpy3D, align 8, !tbaa !9
  %339 = icmp eq ptr %338, null
  br i1 %339, label %.thread35.sink.split, label %340

340:                                              ; preds = %336
  %341 = load ptr, ptr %3, align 8, !tbaa !9
  %342 = call ptr @dlsym(ptr noundef %341, ptr noundef nonnull @.str.83) #4
  store ptr %342, ptr @cuMemcpyHtoDAsync, align 8, !tbaa !9
  %343 = icmp eq ptr %342, null
  br i1 %343, label %.thread35.sink.split, label %344

344:                                              ; preds = %340
  %345 = load ptr, ptr %3, align 8, !tbaa !9
  %346 = call ptr @dlsym(ptr noundef %345, ptr noundef nonnull @.str.84) #4
  store ptr %346, ptr @cuMemcpyDtoHAsync, align 8, !tbaa !9
  %347 = icmp eq ptr %346, null
  br i1 %347, label %.thread35.sink.split, label %348

348:                                              ; preds = %344
  %349 = load ptr, ptr %3, align 8, !tbaa !9
  %350 = call ptr @dlsym(ptr noundef %349, ptr noundef nonnull @.str.85) #4
  store ptr %350, ptr @cuMemcpyHtoAAsync, align 8, !tbaa !9
  %351 = icmp eq ptr %350, null
  br i1 %351, label %.thread35.sink.split, label %352

352:                                              ; preds = %348
  %353 = load ptr, ptr %3, align 8, !tbaa !9
  %354 = call ptr @dlsym(ptr noundef %353, ptr noundef nonnull @.str.86) #4
  store ptr %354, ptr @cuMemcpyAtoHAsync, align 8, !tbaa !9
  %355 = icmp eq ptr %354, null
  br i1 %355, label %.thread35.sink.split, label %356

356:                                              ; preds = %352
  %357 = load ptr, ptr %3, align 8, !tbaa !9
  %358 = call ptr @dlsym(ptr noundef %357, ptr noundef nonnull @.str.87) #4
  store ptr %358, ptr @cuMemcpy2DAsync, align 8, !tbaa !9
  %359 = icmp eq ptr %358, null
  br i1 %359, label %.thread35.sink.split, label %360

360:                                              ; preds = %356
  %361 = load ptr, ptr %3, align 8, !tbaa !9
  %362 = call ptr @dlsym(ptr noundef %361, ptr noundef nonnull @.str.88) #4
  store ptr %362, ptr @cuMemcpy3DAsync, align 8, !tbaa !9
  %363 = icmp eq ptr %362, null
  br i1 %363, label %.thread35.sink.split, label %364

364:                                              ; preds = %360
  %365 = load ptr, ptr %3, align 8, !tbaa !9
  %366 = call ptr @dlsym(ptr noundef %365, ptr noundef nonnull @.str.89) #4
  store ptr %366, ptr @cuMemsetD8, align 8, !tbaa !9
  %367 = icmp eq ptr %366, null
  br i1 %367, label %.thread35.sink.split, label %368

368:                                              ; preds = %364
  %369 = load ptr, ptr %3, align 8, !tbaa !9
  %370 = call ptr @dlsym(ptr noundef %369, ptr noundef nonnull @.str.90) #4
  store ptr %370, ptr @cuMemsetD16, align 8, !tbaa !9
  %371 = icmp eq ptr %370, null
  br i1 %371, label %.thread35.sink.split, label %372

372:                                              ; preds = %368
  %373 = load ptr, ptr %3, align 8, !tbaa !9
  %374 = call ptr @dlsym(ptr noundef %373, ptr noundef nonnull @.str.91) #4
  store ptr %374, ptr @cuMemsetD32, align 8, !tbaa !9
  %375 = icmp eq ptr %374, null
  br i1 %375, label %.thread35.sink.split, label %376

376:                                              ; preds = %372
  %377 = load ptr, ptr %3, align 8, !tbaa !9
  %378 = call ptr @dlsym(ptr noundef %377, ptr noundef nonnull @.str.92) #4
  store ptr %378, ptr @cuMemsetD2D8, align 8, !tbaa !9
  %379 = icmp eq ptr %378, null
  br i1 %379, label %.thread35.sink.split, label %380

380:                                              ; preds = %376
  %381 = load ptr, ptr %3, align 8, !tbaa !9
  %382 = call ptr @dlsym(ptr noundef %381, ptr noundef nonnull @.str.93) #4
  store ptr %382, ptr @cuMemsetD2D16, align 8, !tbaa !9
  %383 = icmp eq ptr %382, null
  br i1 %383, label %.thread35.sink.split, label %384

384:                                              ; preds = %380
  %385 = load ptr, ptr %3, align 8, !tbaa !9
  %386 = call ptr @dlsym(ptr noundef %385, ptr noundef nonnull @.str.94) #4
  store ptr %386, ptr @cuMemsetD2D32, align 8, !tbaa !9
  %387 = icmp eq ptr %386, null
  br i1 %387, label %.thread35.sink.split, label %388

388:                                              ; preds = %384
  %389 = load ptr, ptr %3, align 8, !tbaa !9
  %390 = call ptr @dlsym(ptr noundef %389, ptr noundef nonnull @.str.95) #4
  store ptr %390, ptr @cuArrayCreate, align 8, !tbaa !9
  %391 = icmp eq ptr %390, null
  br i1 %391, label %.thread35.sink.split, label %392

392:                                              ; preds = %388
  %393 = load ptr, ptr %3, align 8, !tbaa !9
  %394 = call ptr @dlsym(ptr noundef %393, ptr noundef nonnull @.str.96) #4
  store ptr %394, ptr @cuArrayGetDescriptor, align 8, !tbaa !9
  %395 = icmp eq ptr %394, null
  br i1 %395, label %.thread35.sink.split, label %396

396:                                              ; preds = %392
  %397 = load ptr, ptr %3, align 8, !tbaa !9
  %398 = call ptr @dlsym(ptr noundef %397, ptr noundef nonnull @.str.97) #4
  store ptr %398, ptr @cuArray3DCreate, align 8, !tbaa !9
  %399 = icmp eq ptr %398, null
  br i1 %399, label %.thread35.sink.split, label %400

400:                                              ; preds = %396
  %401 = load ptr, ptr %3, align 8, !tbaa !9
  %402 = call ptr @dlsym(ptr noundef %401, ptr noundef nonnull @.str.98) #4
  store ptr %402, ptr @cuArray3DGetDescriptor, align 8, !tbaa !9
  %403 = icmp eq ptr %402, null
  br i1 %403, label %.thread35.sink.split, label %404

404:                                              ; preds = %400
  %405 = load ptr, ptr %3, align 8, !tbaa !9
  %406 = call ptr @dlsym(ptr noundef %405, ptr noundef nonnull @.str.99) #4
  store ptr %406, ptr @cuTexRefSetAddress, align 8, !tbaa !9
  %407 = icmp eq ptr %406, null
  br i1 %407, label %.thread35.sink.split, label %408

408:                                              ; preds = %404
  %409 = load ptr, ptr %3, align 8, !tbaa !9
  %410 = call ptr @dlsym(ptr noundef %409, ptr noundef nonnull @.str.100) #4
  store ptr %410, ptr @cuTexRefSetAddress2D, align 8, !tbaa !9
  %411 = icmp eq ptr %410, null
  br i1 %411, label %.thread35.sink.split, label %412

412:                                              ; preds = %408
  %413 = load ptr, ptr %3, align 8, !tbaa !9
  %414 = call ptr @dlsym(ptr noundef %413, ptr noundef nonnull @.str.101) #4
  store ptr %414, ptr @cuTexRefGetAddress, align 8, !tbaa !9
  %415 = icmp eq ptr %414, null
  br i1 %415, label %.thread35.sink.split, label %576

416:                                              ; preds = %255
  %417 = load ptr, ptr %3, align 8, !tbaa !9
  %418 = call ptr @dlsym(ptr noundef %417, ptr noundef nonnull @.str.102) #4
  store ptr %418, ptr @cuDeviceTotalMem, align 8, !tbaa !9
  %419 = icmp eq ptr %418, null
  br i1 %419, label %.thread35.sink.split, label %420

420:                                              ; preds = %416
  %421 = load ptr, ptr %3, align 8, !tbaa !9
  %422 = call ptr @dlsym(ptr noundef %421, ptr noundef nonnull @.str.103) #4
  store ptr %422, ptr @cuCtxCreate, align 8, !tbaa !9
  %423 = icmp eq ptr %422, null
  br i1 %423, label %.thread35.sink.split, label %424

424:                                              ; preds = %420
  %425 = load ptr, ptr %3, align 8, !tbaa !9
  %426 = call ptr @dlsym(ptr noundef %425, ptr noundef nonnull @.str.104) #4
  store ptr %426, ptr @cuModuleGetGlobal, align 8, !tbaa !9
  %427 = icmp eq ptr %426, null
  br i1 %427, label %.thread35.sink.split, label %428

428:                                              ; preds = %424
  %429 = load ptr, ptr %3, align 8, !tbaa !9
  %430 = call ptr @dlsym(ptr noundef %429, ptr noundef nonnull @.str.105) #4
  store ptr %430, ptr @cuMemGetInfo, align 8, !tbaa !9
  %431 = icmp eq ptr %430, null
  br i1 %431, label %.thread35.sink.split, label %432

432:                                              ; preds = %428
  %433 = load ptr, ptr %3, align 8, !tbaa !9
  %434 = call ptr @dlsym(ptr noundef %433, ptr noundef nonnull @.str.106) #4
  store ptr %434, ptr @cuMemAlloc, align 8, !tbaa !9
  %435 = icmp eq ptr %434, null
  br i1 %435, label %.thread35.sink.split, label %436

436:                                              ; preds = %432
  %437 = load ptr, ptr %3, align 8, !tbaa !9
  %438 = call ptr @dlsym(ptr noundef %437, ptr noundef nonnull @.str.107) #4
  store ptr %438, ptr @cuMemAllocPitch, align 8, !tbaa !9
  %439 = icmp eq ptr %438, null
  br i1 %439, label %.thread35.sink.split, label %440

440:                                              ; preds = %436
  %441 = load ptr, ptr %3, align 8, !tbaa !9
  %442 = call ptr @dlsym(ptr noundef %441, ptr noundef nonnull @.str.108) #4
  store ptr %442, ptr @cuMemFree, align 8, !tbaa !9
  %443 = icmp eq ptr %442, null
  br i1 %443, label %.thread35.sink.split, label %444

444:                                              ; preds = %440
  %445 = load ptr, ptr %3, align 8, !tbaa !9
  %446 = call ptr @dlsym(ptr noundef %445, ptr noundef nonnull @.str.109) #4
  store ptr %446, ptr @cuMemGetAddressRange, align 8, !tbaa !9
  %447 = icmp eq ptr %446, null
  br i1 %447, label %.thread35.sink.split, label %448

448:                                              ; preds = %444
  %449 = load ptr, ptr %3, align 8, !tbaa !9
  %450 = call ptr @dlsym(ptr noundef %449, ptr noundef nonnull @.str.110) #4
  store ptr %450, ptr @cuMemAllocHost, align 8, !tbaa !9
  %451 = icmp eq ptr %450, null
  br i1 %451, label %.thread35.sink.split, label %452

452:                                              ; preds = %448
  %453 = load ptr, ptr %3, align 8, !tbaa !9
  %454 = call ptr @dlsym(ptr noundef %453, ptr noundef nonnull @.str.111) #4
  store ptr %454, ptr @cuMemHostGetDevicePointer, align 8, !tbaa !9
  %455 = icmp eq ptr %454, null
  br i1 %455, label %.thread35.sink.split, label %456

456:                                              ; preds = %452
  %457 = load ptr, ptr %3, align 8, !tbaa !9
  %458 = call ptr @dlsym(ptr noundef %457, ptr noundef nonnull @.str.112) #4
  store ptr %458, ptr @cuMemcpyHtoD, align 8, !tbaa !9
  %459 = icmp eq ptr %458, null
  br i1 %459, label %.thread35.sink.split, label %460

460:                                              ; preds = %456
  %461 = load ptr, ptr %3, align 8, !tbaa !9
  %462 = call ptr @dlsym(ptr noundef %461, ptr noundef nonnull @.str.113) #4
  store ptr %462, ptr @cuMemcpyDtoH, align 8, !tbaa !9
  %463 = icmp eq ptr %462, null
  br i1 %463, label %.thread35.sink.split, label %464

464:                                              ; preds = %460
  %465 = load ptr, ptr %3, align 8, !tbaa !9
  %466 = call ptr @dlsym(ptr noundef %465, ptr noundef nonnull @.str.114) #4
  store ptr %466, ptr @cuMemcpyDtoD, align 8, !tbaa !9
  %467 = icmp eq ptr %466, null
  br i1 %467, label %.thread35.sink.split, label %468

468:                                              ; preds = %464
  %469 = load ptr, ptr %3, align 8, !tbaa !9
  %470 = call ptr @dlsym(ptr noundef %469, ptr noundef nonnull @.str.115) #4
  store ptr %470, ptr @cuMemcpyDtoA, align 8, !tbaa !9
  %471 = icmp eq ptr %470, null
  br i1 %471, label %.thread35.sink.split, label %472

472:                                              ; preds = %468
  %473 = load ptr, ptr %3, align 8, !tbaa !9
  %474 = call ptr @dlsym(ptr noundef %473, ptr noundef nonnull @.str.116) #4
  store ptr %474, ptr @cuMemcpyAtoD, align 8, !tbaa !9
  %475 = icmp eq ptr %474, null
  br i1 %475, label %.thread35.sink.split, label %476

476:                                              ; preds = %472
  %477 = load ptr, ptr %3, align 8, !tbaa !9
  %478 = call ptr @dlsym(ptr noundef %477, ptr noundef nonnull @.str.117) #4
  store ptr %478, ptr @cuMemcpyHtoA, align 8, !tbaa !9
  %479 = icmp eq ptr %478, null
  br i1 %479, label %.thread35.sink.split, label %480

480:                                              ; preds = %476
  %481 = load ptr, ptr %3, align 8, !tbaa !9
  %482 = call ptr @dlsym(ptr noundef %481, ptr noundef nonnull @.str.118) #4
  store ptr %482, ptr @cuMemcpyAtoH, align 8, !tbaa !9
  %483 = icmp eq ptr %482, null
  br i1 %483, label %.thread35.sink.split, label %484

484:                                              ; preds = %480
  %485 = load ptr, ptr %3, align 8, !tbaa !9
  %486 = call ptr @dlsym(ptr noundef %485, ptr noundef nonnull @.str.119) #4
  store ptr %486, ptr @cuMemcpyAtoA, align 8, !tbaa !9
  %487 = icmp eq ptr %486, null
  br i1 %487, label %.thread35.sink.split, label %488

488:                                              ; preds = %484
  %489 = load ptr, ptr %3, align 8, !tbaa !9
  %490 = call ptr @dlsym(ptr noundef %489, ptr noundef nonnull @.str.120) #4
  store ptr %490, ptr @cuMemcpy2D, align 8, !tbaa !9
  %491 = icmp eq ptr %490, null
  br i1 %491, label %.thread35.sink.split, label %492

492:                                              ; preds = %488
  %493 = load ptr, ptr %3, align 8, !tbaa !9
  %494 = call ptr @dlsym(ptr noundef %493, ptr noundef nonnull @.str.121) #4
  store ptr %494, ptr @cuMemcpy2DUnaligned, align 8, !tbaa !9
  %495 = icmp eq ptr %494, null
  br i1 %495, label %.thread35.sink.split, label %496

496:                                              ; preds = %492
  %497 = load ptr, ptr %3, align 8, !tbaa !9
  %498 = call ptr @dlsym(ptr noundef %497, ptr noundef nonnull @.str.122) #4
  store ptr %498, ptr @cuMemcpy3D, align 8, !tbaa !9
  %499 = icmp eq ptr %498, null
  br i1 %499, label %.thread35.sink.split, label %500

500:                                              ; preds = %496
  %501 = load ptr, ptr %3, align 8, !tbaa !9
  %502 = call ptr @dlsym(ptr noundef %501, ptr noundef nonnull @.str.123) #4
  store ptr %502, ptr @cuMemcpyHtoDAsync, align 8, !tbaa !9
  %503 = icmp eq ptr %502, null
  br i1 %503, label %.thread35.sink.split, label %504

504:                                              ; preds = %500
  %505 = load ptr, ptr %3, align 8, !tbaa !9
  %506 = call ptr @dlsym(ptr noundef %505, ptr noundef nonnull @.str.124) #4
  store ptr %506, ptr @cuMemcpyDtoHAsync, align 8, !tbaa !9
  %507 = icmp eq ptr %506, null
  br i1 %507, label %.thread35.sink.split, label %508

508:                                              ; preds = %504
  %509 = load ptr, ptr %3, align 8, !tbaa !9
  %510 = call ptr @dlsym(ptr noundef %509, ptr noundef nonnull @.str.125) #4
  store ptr %510, ptr @cuMemcpyHtoAAsync, align 8, !tbaa !9
  %511 = icmp eq ptr %510, null
  br i1 %511, label %.thread35.sink.split, label %512

512:                                              ; preds = %508
  %513 = load ptr, ptr %3, align 8, !tbaa !9
  %514 = call ptr @dlsym(ptr noundef %513, ptr noundef nonnull @.str.126) #4
  store ptr %514, ptr @cuMemcpyAtoHAsync, align 8, !tbaa !9
  %515 = icmp eq ptr %514, null
  br i1 %515, label %.thread35.sink.split, label %516

516:                                              ; preds = %512
  %517 = load ptr, ptr %3, align 8, !tbaa !9
  %518 = call ptr @dlsym(ptr noundef %517, ptr noundef nonnull @.str.127) #4
  store ptr %518, ptr @cuMemcpy2DAsync, align 8, !tbaa !9
  %519 = icmp eq ptr %518, null
  br i1 %519, label %.thread35.sink.split, label %520

520:                                              ; preds = %516
  %521 = load ptr, ptr %3, align 8, !tbaa !9
  %522 = call ptr @dlsym(ptr noundef %521, ptr noundef nonnull @.str.128) #4
  store ptr %522, ptr @cuMemcpy3DAsync, align 8, !tbaa !9
  %523 = icmp eq ptr %522, null
  br i1 %523, label %.thread35.sink.split, label %524

524:                                              ; preds = %520
  %525 = load ptr, ptr %3, align 8, !tbaa !9
  %526 = call ptr @dlsym(ptr noundef %525, ptr noundef nonnull @.str.129) #4
  store ptr %526, ptr @cuMemsetD8, align 8, !tbaa !9
  %527 = icmp eq ptr %526, null
  br i1 %527, label %.thread35.sink.split, label %528

528:                                              ; preds = %524
  %529 = load ptr, ptr %3, align 8, !tbaa !9
  %530 = call ptr @dlsym(ptr noundef %529, ptr noundef nonnull @.str.130) #4
  store ptr %530, ptr @cuMemsetD16, align 8, !tbaa !9
  %531 = icmp eq ptr %530, null
  br i1 %531, label %.thread35.sink.split, label %532

532:                                              ; preds = %528
  %533 = load ptr, ptr %3, align 8, !tbaa !9
  %534 = call ptr @dlsym(ptr noundef %533, ptr noundef nonnull @.str.131) #4
  store ptr %534, ptr @cuMemsetD32, align 8, !tbaa !9
  %535 = icmp eq ptr %534, null
  br i1 %535, label %.thread35.sink.split, label %536

536:                                              ; preds = %532
  %537 = load ptr, ptr %3, align 8, !tbaa !9
  %538 = call ptr @dlsym(ptr noundef %537, ptr noundef nonnull @.str.132) #4
  store ptr %538, ptr @cuMemsetD2D8, align 8, !tbaa !9
  %539 = icmp eq ptr %538, null
  br i1 %539, label %.thread35.sink.split, label %540

540:                                              ; preds = %536
  %541 = load ptr, ptr %3, align 8, !tbaa !9
  %542 = call ptr @dlsym(ptr noundef %541, ptr noundef nonnull @.str.133) #4
  store ptr %542, ptr @cuMemsetD2D16, align 8, !tbaa !9
  %543 = icmp eq ptr %542, null
  br i1 %543, label %.thread35.sink.split, label %544

544:                                              ; preds = %540
  %545 = load ptr, ptr %3, align 8, !tbaa !9
  %546 = call ptr @dlsym(ptr noundef %545, ptr noundef nonnull @.str.134) #4
  store ptr %546, ptr @cuMemsetD2D32, align 8, !tbaa !9
  %547 = icmp eq ptr %546, null
  br i1 %547, label %.thread35.sink.split, label %548

548:                                              ; preds = %544
  %549 = load ptr, ptr %3, align 8, !tbaa !9
  %550 = call ptr @dlsym(ptr noundef %549, ptr noundef nonnull @.str.135) #4
  store ptr %550, ptr @cuArrayCreate, align 8, !tbaa !9
  %551 = icmp eq ptr %550, null
  br i1 %551, label %.thread35.sink.split, label %552

552:                                              ; preds = %548
  %553 = load ptr, ptr %3, align 8, !tbaa !9
  %554 = call ptr @dlsym(ptr noundef %553, ptr noundef nonnull @.str.136) #4
  store ptr %554, ptr @cuArrayGetDescriptor, align 8, !tbaa !9
  %555 = icmp eq ptr %554, null
  br i1 %555, label %.thread35.sink.split, label %556

556:                                              ; preds = %552
  %557 = load ptr, ptr %3, align 8, !tbaa !9
  %558 = call ptr @dlsym(ptr noundef %557, ptr noundef nonnull @.str.137) #4
  store ptr %558, ptr @cuArray3DCreate, align 8, !tbaa !9
  %559 = icmp eq ptr %558, null
  br i1 %559, label %.thread35.sink.split, label %560

560:                                              ; preds = %556
  %561 = load ptr, ptr %3, align 8, !tbaa !9
  %562 = call ptr @dlsym(ptr noundef %561, ptr noundef nonnull @.str.138) #4
  store ptr %562, ptr @cuArray3DGetDescriptor, align 8, !tbaa !9
  %563 = icmp eq ptr %562, null
  br i1 %563, label %.thread35.sink.split, label %564

564:                                              ; preds = %560
  %565 = load ptr, ptr %3, align 8, !tbaa !9
  %566 = call ptr @dlsym(ptr noundef %565, ptr noundef nonnull @.str.139) #4
  store ptr %566, ptr @cuTexRefSetAddress, align 8, !tbaa !9
  %567 = icmp eq ptr %566, null
  br i1 %567, label %.thread35.sink.split, label %568

568:                                              ; preds = %564
  %569 = load ptr, ptr %3, align 8, !tbaa !9
  %570 = call ptr @dlsym(ptr noundef %569, ptr noundef nonnull @.str.140) #4
  store ptr %570, ptr @cuTexRefSetAddress2D, align 8, !tbaa !9
  %571 = icmp eq ptr %570, null
  br i1 %571, label %.thread35.sink.split, label %572

572:                                              ; preds = %568
  %573 = load ptr, ptr %3, align 8, !tbaa !9
  %574 = call ptr @dlsym(ptr noundef %573, ptr noundef nonnull @.str.141) #4
  store ptr %574, ptr @cuTexRefGetAddress, align 8, !tbaa !9
  %575 = icmp eq ptr %574, null
  br i1 %575, label %.thread35.sink.split, label %576

576:                                              ; preds = %572, %412
  %577 = phi i1 [ false, %572 ], [ true, %412 ]
  %578 = load i32, ptr %4, align 4, !tbaa !5
  %579 = icmp sgt i32 %578, 2009
  br i1 %579, label %580, label %.thread35

580:                                              ; preds = %576
  %581 = load ptr, ptr %3, align 8, !tbaa !9
  %582 = call ptr @dlsym(ptr noundef %581, ptr noundef nonnull @.str.142) #4
  store ptr %582, ptr @cuModuleLoadDataEx, align 8, !tbaa !9
  %583 = icmp eq ptr %582, null
  br i1 %583, label %.thread35.sink.split, label %584

584:                                              ; preds = %580
  %585 = load ptr, ptr %3, align 8, !tbaa !9
  %586 = call ptr @dlsym(ptr noundef %585, ptr noundef nonnull @.str.143) #4
  store ptr %586, ptr @cuModuleLoadFatBinary, align 8, !tbaa !9
  %587 = icmp eq ptr %586, null
  br i1 %587, label %.thread35.sink.split, label %588

588:                                              ; preds = %584
  %.pr = load i32, ptr %4, align 4, !tbaa !5
  %589 = icmp sgt i32 %.pr, 2029
  br i1 %589, label %590, label %.thread35

590:                                              ; preds = %588
  %591 = load ptr, ptr %3, align 8, !tbaa !9
  %592 = call ptr @dlsym(ptr noundef %591, ptr noundef nonnull @.str.144) #4
  store ptr %592, ptr @cuMemHostGetFlags, align 8, !tbaa !9
  %593 = icmp eq ptr %592, null
  br i1 %593, label %.thread35.sink.split, label %594

594:                                              ; preds = %590
  %.pr27 = load i32, ptr %4, align 4, !tbaa !5
  %595 = icmp sgt i32 %.pr27, 2999
  br i1 %595, label %596, label %.thread35

596:                                              ; preds = %594
  %597 = load ptr, ptr %3, align 8, !tbaa !9
  %598 = call ptr @dlsym(ptr noundef %597, ptr noundef nonnull @.str.145) #4
  store ptr %598, ptr @cuMemcpyDtoDAsync, align 8, !tbaa !9
  %599 = icmp eq ptr %598, null
  br i1 %599, label %.thread35.sink.split, label %600

600:                                              ; preds = %596
  %601 = load ptr, ptr %3, align 8, !tbaa !9
  %602 = call ptr @dlsym(ptr noundef %601, ptr noundef nonnull @.str.146) #4
  store ptr %602, ptr @cuFuncSetCacheConfig, align 8, !tbaa !9
  %603 = icmp eq ptr %602, null
  br i1 %603, label %.thread35.sink.split, label %604

604:                                              ; preds = %600
  %605 = load ptr, ptr %3, align 8, !tbaa !9
  %606 = call ptr @dlsym(ptr noundef %605, ptr noundef nonnull @.str.147) #4
  store ptr %606, ptr @cuGraphicsUnregisterResource, align 8, !tbaa !9
  %607 = icmp eq ptr %606, null
  br i1 %607, label %.thread35.sink.split, label %608

608:                                              ; preds = %604
  %609 = load ptr, ptr %3, align 8, !tbaa !9
  %610 = call ptr @dlsym(ptr noundef %609, ptr noundef nonnull @.str.148) #4
  store ptr %610, ptr @cuGraphicsSubResourceGetMappedArray, align 8, !tbaa !9
  %611 = icmp eq ptr %610, null
  br i1 %611, label %.thread35.sink.split, label %612

612:                                              ; preds = %608
  %613 = load ptr, ptr %3, align 8, !tbaa !9
  br i1 %577, label %614, label %617

614:                                              ; preds = %612
  %615 = call ptr @dlsym(ptr noundef %613, ptr noundef nonnull @.str.149) #4
  store ptr %615, ptr @cuGraphicsResourceGetMappedPointer, align 8, !tbaa !9
  %616 = icmp eq ptr %615, null
  br i1 %616, label %.thread35.sink.split, label %620

617:                                              ; preds = %612
  %618 = call ptr @dlsym(ptr noundef %613, ptr noundef nonnull @.str.150) #4
  store ptr %618, ptr @cuGraphicsResourceGetMappedPointer, align 8, !tbaa !9
  %619 = icmp eq ptr %618, null
  br i1 %619, label %.thread35.sink.split, label %620

620:                                              ; preds = %617, %614
  %621 = load ptr, ptr %3, align 8, !tbaa !9
  %622 = call ptr @dlsym(ptr noundef %621, ptr noundef nonnull @.str.151) #4
  store ptr %622, ptr @cuGraphicsResourceSetMapFlags, align 8, !tbaa !9
  %623 = icmp eq ptr %622, null
  br i1 %623, label %.thread35.sink.split, label %624

624:                                              ; preds = %620
  %625 = load ptr, ptr %3, align 8, !tbaa !9
  %626 = call ptr @dlsym(ptr noundef %625, ptr noundef nonnull @.str.152) #4
  store ptr %626, ptr @cuGraphicsMapResources, align 8, !tbaa !9
  %627 = icmp eq ptr %626, null
  br i1 %627, label %.thread35.sink.split, label %628

628:                                              ; preds = %624
  %629 = load ptr, ptr %3, align 8, !tbaa !9
  %630 = call ptr @dlsym(ptr noundef %629, ptr noundef nonnull @.str.153) #4
  store ptr %630, ptr @cuGraphicsUnmapResources, align 8, !tbaa !9
  %631 = icmp eq ptr %630, null
  br i1 %631, label %.thread35.sink.split, label %632

632:                                              ; preds = %628
  %633 = load ptr, ptr %3, align 8, !tbaa !9
  %634 = call ptr @dlsym(ptr noundef %633, ptr noundef nonnull @.str.154) #4
  store ptr %634, ptr @cuGetExportTable, align 8, !tbaa !9
  %635 = icmp eq ptr %634, null
  br i1 %635, label %.thread35.sink.split, label %.thread28

.thread28:                                        ; preds = %632
  %.pr30.pr = load i32, ptr %4, align 4, !tbaa !5
  %636 = icmp sgt i32 %.pr30.pr, 3009
  br i1 %636, label %637, label %.thread35

637:                                              ; preds = %.thread28
  %638 = load ptr, ptr %3, align 8, !tbaa !9
  %639 = call ptr @dlsym(ptr noundef %638, ptr noundef nonnull @.str.155) #4
  store ptr %639, ptr @cuModuleGetSurfRef, align 8, !tbaa !9
  %640 = icmp eq ptr %639, null
  br i1 %640, label %.thread35.sink.split, label %641

641:                                              ; preds = %637
  %642 = load ptr, ptr %3, align 8, !tbaa !9
  %643 = call ptr @dlsym(ptr noundef %642, ptr noundef nonnull @.str.156) #4
  store ptr %643, ptr @cuSurfRefSetArray, align 8, !tbaa !9
  %644 = icmp eq ptr %643, null
  br i1 %644, label %.thread35.sink.split, label %645

645:                                              ; preds = %641
  %646 = load ptr, ptr %3, align 8, !tbaa !9
  %647 = call ptr @dlsym(ptr noundef %646, ptr noundef nonnull @.str.157) #4
  store ptr %647, ptr @cuSurfRefGetArray, align 8, !tbaa !9
  %648 = icmp eq ptr %647, null
  br i1 %648, label %.thread35.sink.split, label %649

649:                                              ; preds = %645
  %650 = load ptr, ptr %3, align 8, !tbaa !9
  %651 = call ptr @dlsym(ptr noundef %650, ptr noundef nonnull @.str.158) #4
  store ptr %651, ptr @cuCtxSetLimit, align 8, !tbaa !9
  %652 = icmp eq ptr %651, null
  br i1 %652, label %.thread35.sink.split, label %653

653:                                              ; preds = %649
  %654 = load ptr, ptr %3, align 8, !tbaa !9
  %655 = call ptr @dlsym(ptr noundef %654, ptr noundef nonnull @.str.159) #4
  store ptr %655, ptr @cuCtxGetLimit, align 8, !tbaa !9
  %656 = icmp eq ptr %655, null
  br i1 %656, label %.thread35.sink.split, label %657

657:                                              ; preds = %653
  %.pr33 = load i32, ptr %4, align 4, !tbaa !5
  %658 = icmp sgt i32 %.pr33, 3999
  br i1 %658, label %659, label %.thread35

659:                                              ; preds = %657
  %660 = load ptr, ptr %3, align 8, !tbaa !9
  %661 = call ptr @dlsym(ptr noundef %660, ptr noundef nonnull @.str.160) #4
  store ptr %661, ptr @cuCtxSetCurrent, align 8, !tbaa !9
  %662 = icmp eq ptr %661, null
  br i1 %662, label %.thread35.sink.split, label %663

663:                                              ; preds = %659
  %664 = load ptr, ptr %3, align 8, !tbaa !9
  %665 = call ptr @dlsym(ptr noundef %664, ptr noundef nonnull @.str.161) #4
  store ptr %665, ptr @cuCtxGetCurrent, align 8, !tbaa !9
  %666 = icmp eq ptr %665, null
  br i1 %666, label %.thread35.sink.split, label %667

667:                                              ; preds = %663
  %668 = load ptr, ptr %3, align 8, !tbaa !9
  %669 = call ptr @dlsym(ptr noundef %668, ptr noundef nonnull @.str.162) #4
  store ptr %669, ptr @cuMemHostRegister, align 8, !tbaa !9
  %670 = icmp eq ptr %669, null
  br i1 %670, label %.thread35.sink.split, label %671

671:                                              ; preds = %667
  %672 = load ptr, ptr %3, align 8, !tbaa !9
  %673 = call ptr @dlsym(ptr noundef %672, ptr noundef nonnull @.str.163) #4
  store ptr %673, ptr @cuMemHostUnregister, align 8, !tbaa !9
  %674 = icmp eq ptr %673, null
  br i1 %674, label %.thread35.sink.split, label %675

675:                                              ; preds = %671
  %676 = load ptr, ptr %3, align 8, !tbaa !9
  %677 = call ptr @dlsym(ptr noundef %676, ptr noundef nonnull @.str.164) #4
  store ptr %677, ptr @cuMemcpy, align 8, !tbaa !9
  %678 = icmp eq ptr %677, null
  br i1 %678, label %.thread35.sink.split, label %679

679:                                              ; preds = %675
  %680 = load ptr, ptr %3, align 8, !tbaa !9
  %681 = call ptr @dlsym(ptr noundef %680, ptr noundef nonnull @.str.165) #4
  store ptr %681, ptr @cuMemcpyPeer, align 8, !tbaa !9
  %682 = icmp eq ptr %681, null
  br i1 %682, label %.thread35.sink.split, label %683

683:                                              ; preds = %679
  %684 = load ptr, ptr %3, align 8, !tbaa !9
  %685 = call ptr @dlsym(ptr noundef %684, ptr noundef nonnull @.str.166) #4
  store ptr %685, ptr @cuLaunchKernel, align 8, !tbaa !9
  %686 = icmp eq ptr %685, null
  br i1 %686, label %.thread35.sink.split, label %.thread35

.thread35.sink.split:                             ; preds = %683, %679, %675, %671, %667, %663, %659, %653, %649, %645, %641, %637, %632, %628, %624, %620, %617, %614, %608, %604, %600, %596, %590, %584, %580, %572, %568, %564, %560, %556, %552, %548, %544, %540, %536, %532, %528, %524, %520, %516, %512, %508, %504, %500, %496, %492, %488, %484, %480, %476, %472, %468, %464, %460, %456, %452, %448, %444, %440, %436, %432, %428, %424, %420, %416, %412, %408, %404, %400, %396, %392, %388, %384, %380, %376, %372, %368, %364, %360, %356, %352, %348, %344, %340, %336, %332, %328, %324, %320, %316, %312, %308, %304, %300, %296, %292, %288, %284, %280, %276, %272, %268, %264, %260, %.thread, %251, %247, %243, %239, %235, %229, %225, %221, %217, %213, %209, %205, %201, %197, %193, %189, %185, %181, %177, %173, %169, %165, %161, %157, %153, %149, %145, %141, %137, %133, %129, %125, %121, %117, %113, %109, %105, %101, %97, %93, %89, %85, %81, %77, %73, %69, %65, %61, %57, %53, %49, %45, %41, %37, %33, %29, %25, %21, %17, %6
  %.str.166.sink = phi ptr [ @.str, %6 ], [ @.str.3, %17 ], [ @.str.4, %21 ], [ @.str.5, %25 ], [ @.str.6, %29 ], [ @.str.7, %33 ], [ @.str.8, %37 ], [ @.str.9, %41 ], [ @.str.10, %45 ], [ @.str.11, %49 ], [ @.str.12, %53 ], [ @.str.13, %57 ], [ @.str.14, %61 ], [ @.str.15, %65 ], [ @.str.16, %69 ], [ @.str.17, %73 ], [ @.str.18, %77 ], [ @.str.19, %81 ], [ @.str.20, %85 ], [ @.str.21, %89 ], [ @.str.22, %93 ], [ @.str.23, %97 ], [ @.str.24, %101 ], [ @.str.25, %105 ], [ @.str.26, %109 ], [ @.str.27, %113 ], [ @.str.28, %117 ], [ @.str.29, %121 ], [ @.str.30, %125 ], [ @.str.31, %129 ], [ @.str.32, %133 ], [ @.str.33, %137 ], [ @.str.34, %141 ], [ @.str.35, %145 ], [ @.str.36, %149 ], [ @.str.37, %153 ], [ @.str.38, %157 ], [ @.str.39, %161 ], [ @.str.40, %165 ], [ @.str.41, %169 ], [ @.str.42, %173 ], [ @.str.43, %177 ], [ @.str.44, %181 ], [ @.str.45, %185 ], [ @.str.46, %189 ], [ @.str.47, %193 ], [ @.str.48, %197 ], [ @.str.49, %201 ], [ @.str.50, %205 ], [ @.str.51, %209 ], [ @.str.52, %213 ], [ @.str.53, %217 ], [ @.str.54, %221 ], [ @.str.55, %225 ], [ @.str.56, %229 ], [ @.str.57, %235 ], [ @.str.58, %239 ], [ @.str.59, %243 ], [ @.str.60, %247 ], [ @.str.61, %251 ], [ @.str.62, %.thread ], [ @.str.63, %260 ], [ @.str.64, %264 ], [ @.str.65, %268 ], [ @.str.66, %272 ], [ @.str.67, %276 ], [ @.str.68, %280 ], [ @.str.69, %284 ], [ @.str.70, %288 ], [ @.str.71, %292 ], [ @.str.72, %296 ], [ @.str.73, %300 ], [ @.str.74, %304 ], [ @.str.75, %308 ], [ @.str.76, %312 ], [ @.str.77, %316 ], [ @.str.78, %320 ], [ @.str.79, %324 ], [ @.str.80, %328 ], [ @.str.81, %332 ], [ @.str.82, %336 ], [ @.str.83, %340 ], [ @.str.84, %344 ], [ @.str.85, %348 ], [ @.str.86, %352 ], [ @.str.87, %356 ], [ @.str.88, %360 ], [ @.str.89, %364 ], [ @.str.90, %368 ], [ @.str.91, %372 ], [ @.str.92, %376 ], [ @.str.93, %380 ], [ @.str.94, %384 ], [ @.str.95, %388 ], [ @.str.96, %392 ], [ @.str.97, %396 ], [ @.str.98, %400 ], [ @.str.99, %404 ], [ @.str.100, %408 ], [ @.str.101, %412 ], [ @.str.102, %416 ], [ @.str.103, %420 ], [ @.str.104, %424 ], [ @.str.105, %428 ], [ @.str.106, %432 ], [ @.str.107, %436 ], [ @.str.108, %440 ], [ @.str.109, %444 ], [ @.str.110, %448 ], [ @.str.111, %452 ], [ @.str.112, %456 ], [ @.str.113, %460 ], [ @.str.114, %464 ], [ @.str.115, %468 ], [ @.str.116, %472 ], [ @.str.117, %476 ], [ @.str.118, %480 ], [ @.str.119, %484 ], [ @.str.120, %488 ], [ @.str.121, %492 ], [ @.str.122, %496 ], [ @.str.123, %500 ], [ @.str.124, %504 ], [ @.str.125, %508 ], [ @.str.126, %512 ], [ @.str.127, %516 ], [ @.str.128, %520 ], [ @.str.129, %524 ], [ @.str.130, %528 ], [ @.str.131, %532 ], [ @.str.132, %536 ], [ @.str.133, %540 ], [ @.str.134, %544 ], [ @.str.135, %548 ], [ @.str.136, %552 ], [ @.str.137, %556 ], [ @.str.138, %560 ], [ @.str.139, %564 ], [ @.str.140, %568 ], [ @.str.141, %572 ], [ @.str.142, %580 ], [ @.str.143, %584 ], [ @.str.144, %590 ], [ @.str.145, %596 ], [ @.str.146, %600 ], [ @.str.147, %604 ], [ @.str.148, %608 ], [ @.str.149, %614 ], [ @.str.150, %617 ], [ @.str.151, %620 ], [ @.str.152, %624 ], [ @.str.153, %628 ], [ @.str.154, %632 ], [ @.str.155, %637 ], [ @.str.156, %641 ], [ @.str.157, %645 ], [ @.str.158, %649 ], [ @.str.159, %653 ], [ @.str.160, %659 ], [ @.str.161, %663 ], [ @.str.162, %667 ], [ @.str.163, %671 ], [ @.str.164, %675 ], [ @.str.165, %679 ], [ @.str.166, %683 ]
  %687 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef nonnull %.str.166.sink, ptr noundef nonnull @__CudaLibName)
  br label %.thread35

.thread35:                                        ; preds = %.thread35.sink.split, %588, %576, %594, %.thread28, %657, %683, %15, %10, %2
  %.3 = phi i32 [ %16, %15 ], [ %11, %10 ], [ %5, %2 ], [ 0, %683 ], [ 0, %657 ], [ 0, %.thread28 ], [ 0, %594 ], [ 0, %576 ], [ 0, %588 ], [ 999, %.thread35.sink.split ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  ret i32 %.3
}

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

; Function Attrs: nounwind uwtable
declare hidden i32 @LOAD_LIBRARY(ptr noundef) local_unnamed_addr #0

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 "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 #4 = { 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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass