; LLVM IR from CubbyFlow/RenderFlow :: Extensions/FlowEditor/sample_utils (glew)

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

@__glewXGetCurrentDisplay = external dso_local global ptr, align 8
@__GLXEW_VERSION_1_0 = external dso_local global i8, align 1
@__GLXEW_VERSION_1_1 = external dso_local global i8, align 1
@__GLXEW_VERSION_1_2 = external dso_local global i8, align 1
@__GLXEW_VERSION_1_3 = external dso_local global i8, align 1
@__GLXEW_VERSION_1_4 = external dso_local global i8, align 1
@__GLXEW_3DFX_multisample = external dso_local global i8, align 1
@__GLXEW_AMD_gpu_association = external dso_local global i8, align 1
@__GLXEW_ARB_context_flush_control = external dso_local global i8, align 1
@__GLXEW_ARB_create_context = external dso_local global i8, align 1
@__GLXEW_ARB_create_context_no_error = external dso_local global i8, align 1
@__GLXEW_ARB_create_context_profile = external dso_local global i8, align 1
@__GLXEW_ARB_create_context_robustness = external dso_local global i8, align 1
@__GLXEW_ARB_fbconfig_float = external dso_local global i8, align 1
@__GLXEW_ARB_framebuffer_sRGB = external dso_local global i8, align 1
@__GLXEW_ARB_get_proc_address = external dso_local global i8, align 1
@__GLXEW_ARB_multisample = external dso_local global i8, align 1
@__GLXEW_ARB_robustness_application_isolation = external dso_local global i8, align 1
@__GLXEW_ARB_robustness_share_group_isolation = external dso_local global i8, align 1
@__GLXEW_ARB_vertex_buffer_object = external dso_local global i8, align 1
@__GLXEW_ATI_pixel_format_float = external dso_local global i8, align 1
@__GLXEW_ATI_render_texture = external dso_local global i8, align 1
@__GLXEW_EXT_buffer_age = external dso_local global i8, align 1
@__GLXEW_EXT_create_context_es2_profile = external dso_local global i8, align 1
@__GLXEW_EXT_create_context_es_profile = external dso_local global i8, align 1
@__GLXEW_EXT_fbconfig_packed_float = external dso_local global i8, align 1
@__GLXEW_EXT_framebuffer_sRGB = external dso_local global i8, align 1
@__GLXEW_EXT_import_context = external dso_local global i8, align 1
@__GLXEW_EXT_libglvnd = external dso_local global i8, align 1
@__GLXEW_EXT_scene_marker = external dso_local global i8, align 1
@__GLXEW_EXT_stereo_tree = external dso_local global i8, align 1
@__GLXEW_EXT_swap_control = external dso_local global i8, align 1
@__GLXEW_EXT_swap_control_tear = external dso_local global i8, align 1
@__GLXEW_EXT_texture_from_pixmap = external dso_local global i8, align 1
@__GLXEW_EXT_visual_info = external dso_local global i8, align 1
@__GLXEW_EXT_visual_rating = external dso_local global i8, align 1
@__GLXEW_INTEL_swap_event = external dso_local global i8, align 1
@__GLXEW_MESA_agp_offset = external dso_local global i8, align 1
@__GLXEW_MESA_copy_sub_buffer = external dso_local global i8, align 1
@__GLXEW_MESA_pixmap_colormap = external dso_local global i8, align 1
@__GLXEW_MESA_query_renderer = external dso_local global i8, align 1
@__GLXEW_MESA_release_buffers = external dso_local global i8, align 1
@__GLXEW_MESA_set_3dfx_mode = external dso_local global i8, align 1
@__GLXEW_MESA_swap_control = external dso_local global i8, align 1
@__GLXEW_NV_copy_buffer = external dso_local global i8, align 1
@__GLXEW_NV_copy_image = external dso_local global i8, align 1
@__GLXEW_NV_delay_before_swap = external dso_local global i8, align 1
@__GLXEW_NV_float_buffer = external dso_local global i8, align 1
@__GLXEW_NV_multisample_coverage = external dso_local global i8, align 1
@__GLXEW_NV_present_video = external dso_local global i8, align 1
@__GLXEW_NV_robustness_video_memory_purge = external dso_local global i8, align 1
@__GLXEW_NV_swap_group = external dso_local global i8, align 1
@__GLXEW_NV_vertex_array_range = external dso_local global i8, align 1
@__GLXEW_NV_video_capture = external dso_local global i8, align 1
@__GLXEW_NV_video_out = external dso_local global i8, align 1
@__GLXEW_OML_swap_method = external dso_local global i8, align 1
@__GLXEW_OML_sync_control = external dso_local global i8, align 1
@__GLXEW_SGIS_blended_overlay = external dso_local global i8, align 1
@__GLXEW_SGIS_color_range = external dso_local global i8, align 1
@__GLXEW_SGIS_multisample = external dso_local global i8, align 1
@__GLXEW_SGIS_shared_multisample = external dso_local global i8, align 1
@__GLXEW_SGIX_fbconfig = external dso_local global i8, align 1
@__GLXEW_SGIX_hyperpipe = external dso_local global i8, align 1
@__GLXEW_SGIX_pbuffer = external dso_local global i8, align 1
@__GLXEW_SGIX_swap_barrier = external dso_local global i8, align 1
@__GLXEW_SGIX_swap_group = external dso_local global i8, align 1
@__GLXEW_SGIX_video_resize = external dso_local global i8, align 1
@__GLXEW_SGIX_visual_select_group = external dso_local global i8, align 1
@__GLXEW_SGI_cushion = external dso_local global i8, align 1
@__GLXEW_SGI_make_current_read = external dso_local global i8, align 1
@__GLXEW_SGI_swap_control = external dso_local global i8, align 1
@__GLXEW_SGI_video_sync = external dso_local global i8, align 1
@__GLXEW_SUN_get_transparent_index = external dso_local global i8, align 1
@__GLXEW_SUN_video_resize = external dso_local global i8, align 1
@.str = external hidden unnamed_addr constant [1 x i8], align 1
@glewExperimental = external dso_local global i8, align 1
@.str.1 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [21 x i8], align 1

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

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

declare ptr @glXGetClientString(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @_glewStrLen(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewSearchExtension(ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @glxewInit() #2 {
  %1 = alloca i32, align 4
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %8 = call zeroext i8 @_glewInit_GLX_VERSION_1_2()
  %9 = icmp ne i8 %8, 0
  br i1 %9, label %10, label %11

10:                                               ; preds = %0
  store i32 3, ptr %1, align 4
  store i32 1, ptr %7, align 4
  br label %741

11:                                               ; preds = %0
  %12 = load ptr, ptr @__glewXGetCurrentDisplay, align 8, !tbaa !5
  %13 = call ptr %12()
  store ptr %13, ptr %2, align 8, !tbaa !5
  %14 = load ptr, ptr %2, align 8, !tbaa !5
  %15 = icmp eq ptr %14, null
  br i1 %15, label %16, label %17

16:                                               ; preds = %11
  store i32 4, ptr %1, align 4
  store i32 1, ptr %7, align 4
  br label %741

17:                                               ; preds = %11
  store i8 1, ptr @__GLXEW_VERSION_1_0, align 1, !tbaa !9
  store i8 1, ptr @__GLXEW_VERSION_1_1, align 1, !tbaa !9
  store i8 1, ptr @__GLXEW_VERSION_1_2, align 1, !tbaa !9
  store i8 1, ptr @__GLXEW_VERSION_1_3, align 1, !tbaa !9
  store i8 1, ptr @__GLXEW_VERSION_1_4, align 1, !tbaa !9
  %18 = load ptr, ptr %2, align 8, !tbaa !5
  %19 = call i32 @glXQueryVersion(ptr noundef %18, ptr noundef %3, ptr noundef %4)
  %20 = load i32, ptr %3, align 4, !tbaa !10
  %21 = icmp eq i32 %20, 1
  br i1 %21, label %22, label %31

22:                                               ; preds = %17
  %23 = load i32, ptr %4, align 4, !tbaa !10
  %24 = icmp sle i32 %23, 3
  br i1 %24, label %25, label %31

25:                                               ; preds = %22
  %26 = load i32, ptr %4, align 4, !tbaa !10
  switch i32 %26, label %29 [
    i32 3, label %27
    i32 2, label %28
  ]

27:                                               ; preds = %25
  store i8 0, ptr @__GLXEW_VERSION_1_4, align 1, !tbaa !9
  br label %30

28:                                               ; preds = %25
  store i8 0, ptr @__GLXEW_VERSION_1_4, align 1, !tbaa !9
  store i8 0, ptr @__GLXEW_VERSION_1_3, align 1, !tbaa !9
  br label %30

29:                                               ; preds = %25
  store i32 3, ptr %1, align 4
  store i32 1, ptr %7, align 4
  br label %741

30:                                               ; preds = %28, %27
  br label %31

31:                                               ; preds = %30, %22, %17
  store ptr null, ptr %5, align 8, !tbaa !5
  %32 = load ptr, ptr @__glewXGetCurrentDisplay, align 8, !tbaa !5
  %33 = icmp ne ptr %32, null
  br i1 %33, label %34, label %37

34:                                               ; preds = %31
  %35 = load ptr, ptr %2, align 8, !tbaa !5
  %36 = call ptr @glXGetClientString(ptr noundef %35, i32 noundef 3)
  store ptr %36, ptr %5, align 8, !tbaa !5
  br label %37

37:                                               ; preds = %34, %31
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = icmp eq ptr %38, null
  br i1 %39, label %40, label %41

40:                                               ; preds = %37
  store ptr @.str, ptr %5, align 8, !tbaa !5
  br label %41

41:                                               ; preds = %40, %37
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = call i32 @_glewStrLen(ptr noundef %43)
  %45 = zext i32 %44 to i64
  %46 = getelementptr inbounds i8, ptr %42, i64 %45
  store ptr %46, ptr %6, align 8, !tbaa !5
  %47 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %48 = zext i8 %47 to i32
  %49 = icmp ne i32 %48, 0
  br i1 %49, label %54, label %50

50:                                               ; preds = %41
  %51 = load i8, ptr @__GLXEW_VERSION_1_3, align 1, !tbaa !9
  %52 = zext i8 %51 to i32
  %53 = icmp ne i32 %52, 0
  br i1 %53, label %54, label %60

54:                                               ; preds = %50, %41
  %55 = call zeroext i8 @_glewInit_GLX_VERSION_1_3()
  %56 = icmp ne i8 %55, 0
  %57 = xor i1 %56, true
  %58 = zext i1 %57 to i32
  %59 = trunc i32 %58 to i8
  store i8 %59, ptr @__GLXEW_VERSION_1_3, align 1, !tbaa !9
  br label %60

60:                                               ; preds = %54, %50
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  %63 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.1, ptr noundef %61, ptr noundef %62)
  store i8 %63, ptr @__GLXEW_3DFX_multisample, align 1, !tbaa !9
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.2, ptr noundef %64, ptr noundef %65)
  store i8 %66, ptr @__GLXEW_AMD_gpu_association, align 1, !tbaa !9
  %67 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %68 = zext i8 %67 to i32
  %69 = icmp ne i32 %68, 0
  br i1 %69, label %74, label %70

70:                                               ; preds = %60
  %71 = load i8, ptr @__GLXEW_AMD_gpu_association, align 1, !tbaa !9
  %72 = zext i8 %71 to i32
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %74, label %80

74:                                               ; preds = %70, %60
  %75 = call zeroext i8 @_glewInit_GLX_AMD_gpu_association()
  %76 = icmp ne i8 %75, 0
  %77 = xor i1 %76, true
  %78 = zext i1 %77 to i32
  %79 = trunc i32 %78 to i8
  store i8 %79, ptr @__GLXEW_AMD_gpu_association, align 1, !tbaa !9
  br label %80

80:                                               ; preds = %74, %70
  %81 = load ptr, ptr %5, align 8, !tbaa !5
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.3, ptr noundef %81, ptr noundef %82)
  store i8 %83, ptr @__GLXEW_ARB_context_flush_control, align 1, !tbaa !9
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = load ptr, ptr %6, align 8, !tbaa !5
  %86 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.4, ptr noundef %84, ptr noundef %85)
  store i8 %86, ptr @__GLXEW_ARB_create_context, align 1, !tbaa !9
  %87 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %88 = zext i8 %87 to i32
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %94, label %90

90:                                               ; preds = %80
  %91 = load i8, ptr @__GLXEW_ARB_create_context, align 1, !tbaa !9
  %92 = zext i8 %91 to i32
  %93 = icmp ne i32 %92, 0
  br i1 %93, label %94, label %100

94:                                               ; preds = %90, %80
  %95 = call zeroext i8 @_glewInit_GLX_ARB_create_context()
  %96 = icmp ne i8 %95, 0
  %97 = xor i1 %96, true
  %98 = zext i1 %97 to i32
  %99 = trunc i32 %98 to i8
  store i8 %99, ptr @__GLXEW_ARB_create_context, align 1, !tbaa !9
  br label %100

100:                                              ; preds = %94, %90
  %101 = load ptr, ptr %5, align 8, !tbaa !5
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.5, ptr noundef %101, ptr noundef %102)
  store i8 %103, ptr @__GLXEW_ARB_create_context_no_error, align 1, !tbaa !9
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  %105 = load ptr, ptr %6, align 8, !tbaa !5
  %106 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.6, ptr noundef %104, ptr noundef %105)
  store i8 %106, ptr @__GLXEW_ARB_create_context_profile, align 1, !tbaa !9
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.7, ptr noundef %107, ptr noundef %108)
  store i8 %109, ptr @__GLXEW_ARB_create_context_robustness, align 1, !tbaa !9
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = load ptr, ptr %6, align 8, !tbaa !5
  %112 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.8, ptr noundef %110, ptr noundef %111)
  store i8 %112, ptr @__GLXEW_ARB_fbconfig_float, align 1, !tbaa !9
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = load ptr, ptr %6, align 8, !tbaa !5
  %115 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.9, ptr noundef %113, ptr noundef %114)
  store i8 %115, ptr @__GLXEW_ARB_framebuffer_sRGB, align 1, !tbaa !9
  %116 = load ptr, ptr %5, align 8, !tbaa !5
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.10, ptr noundef %116, ptr noundef %117)
  store i8 %118, ptr @__GLXEW_ARB_get_proc_address, align 1, !tbaa !9
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  %120 = load ptr, ptr %6, align 8, !tbaa !5
  %121 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.11, ptr noundef %119, ptr noundef %120)
  store i8 %121, ptr @__GLXEW_ARB_multisample, align 1, !tbaa !9
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  %124 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.12, ptr noundef %122, ptr noundef %123)
  store i8 %124, ptr @__GLXEW_ARB_robustness_application_isolation, align 1, !tbaa !9
  %125 = load ptr, ptr %5, align 8, !tbaa !5
  %126 = load ptr, ptr %6, align 8, !tbaa !5
  %127 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.13, ptr noundef %125, ptr noundef %126)
  store i8 %127, ptr @__GLXEW_ARB_robustness_share_group_isolation, align 1, !tbaa !9
  %128 = load ptr, ptr %5, align 8, !tbaa !5
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  %130 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.14, ptr noundef %128, ptr noundef %129)
  store i8 %130, ptr @__GLXEW_ARB_vertex_buffer_object, align 1, !tbaa !9
  %131 = load ptr, ptr %5, align 8, !tbaa !5
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.15, ptr noundef %131, ptr noundef %132)
  store i8 %133, ptr @__GLXEW_ATI_pixel_format_float, align 1, !tbaa !9
  %134 = load ptr, ptr %5, align 8, !tbaa !5
  %135 = load ptr, ptr %6, align 8, !tbaa !5
  %136 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.16, ptr noundef %134, ptr noundef %135)
  store i8 %136, ptr @__GLXEW_ATI_render_texture, align 1, !tbaa !9
  %137 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %138 = zext i8 %137 to i32
  %139 = icmp ne i32 %138, 0
  br i1 %139, label %144, label %140

140:                                              ; preds = %100
  %141 = load i8, ptr @__GLXEW_ATI_render_texture, align 1, !tbaa !9
  %142 = zext i8 %141 to i32
  %143 = icmp ne i32 %142, 0
  br i1 %143, label %144, label %150

144:                                              ; preds = %140, %100
  %145 = call zeroext i8 @_glewInit_GLX_ATI_render_texture()
  %146 = icmp ne i8 %145, 0
  %147 = xor i1 %146, true
  %148 = zext i1 %147 to i32
  %149 = trunc i32 %148 to i8
  store i8 %149, ptr @__GLXEW_ATI_render_texture, align 1, !tbaa !9
  br label %150

150:                                              ; preds = %144, %140
  %151 = load ptr, ptr %5, align 8, !tbaa !5
  %152 = load ptr, ptr %6, align 8, !tbaa !5
  %153 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.17, ptr noundef %151, ptr noundef %152)
  store i8 %153, ptr @__GLXEW_EXT_buffer_age, align 1, !tbaa !9
  %154 = load ptr, ptr %5, align 8, !tbaa !5
  %155 = load ptr, ptr %6, align 8, !tbaa !5
  %156 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.18, ptr noundef %154, ptr noundef %155)
  store i8 %156, ptr @__GLXEW_EXT_create_context_es2_profile, align 1, !tbaa !9
  %157 = load ptr, ptr %5, align 8, !tbaa !5
  %158 = load ptr, ptr %6, align 8, !tbaa !5
  %159 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.19, ptr noundef %157, ptr noundef %158)
  store i8 %159, ptr @__GLXEW_EXT_create_context_es_profile, align 1, !tbaa !9
  %160 = load ptr, ptr %5, align 8, !tbaa !5
  %161 = load ptr, ptr %6, align 8, !tbaa !5
  %162 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.20, ptr noundef %160, ptr noundef %161)
  store i8 %162, ptr @__GLXEW_EXT_fbconfig_packed_float, align 1, !tbaa !9
  %163 = load ptr, ptr %5, align 8, !tbaa !5
  %164 = load ptr, ptr %6, align 8, !tbaa !5
  %165 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.21, ptr noundef %163, ptr noundef %164)
  store i8 %165, ptr @__GLXEW_EXT_framebuffer_sRGB, align 1, !tbaa !9
  %166 = load ptr, ptr %5, align 8, !tbaa !5
  %167 = load ptr, ptr %6, align 8, !tbaa !5
  %168 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.22, ptr noundef %166, ptr noundef %167)
  store i8 %168, ptr @__GLXEW_EXT_import_context, align 1, !tbaa !9
  %169 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %170 = zext i8 %169 to i32
  %171 = icmp ne i32 %170, 0
  br i1 %171, label %176, label %172

172:                                              ; preds = %150
  %173 = load i8, ptr @__GLXEW_EXT_import_context, align 1, !tbaa !9
  %174 = zext i8 %173 to i32
  %175 = icmp ne i32 %174, 0
  br i1 %175, label %176, label %182

176:                                              ; preds = %172, %150
  %177 = call zeroext i8 @_glewInit_GLX_EXT_import_context()
  %178 = icmp ne i8 %177, 0
  %179 = xor i1 %178, true
  %180 = zext i1 %179 to i32
  %181 = trunc i32 %180 to i8
  store i8 %181, ptr @__GLXEW_EXT_import_context, align 1, !tbaa !9
  br label %182

182:                                              ; preds = %176, %172
  %183 = load ptr, ptr %5, align 8, !tbaa !5
  %184 = load ptr, ptr %6, align 8, !tbaa !5
  %185 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.23, ptr noundef %183, ptr noundef %184)
  store i8 %185, ptr @__GLXEW_EXT_libglvnd, align 1, !tbaa !9
  %186 = load ptr, ptr %5, align 8, !tbaa !5
  %187 = load ptr, ptr %6, align 8, !tbaa !5
  %188 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.24, ptr noundef %186, ptr noundef %187)
  store i8 %188, ptr @__GLXEW_EXT_scene_marker, align 1, !tbaa !9
  %189 = load ptr, ptr %5, align 8, !tbaa !5
  %190 = load ptr, ptr %6, align 8, !tbaa !5
  %191 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.25, ptr noundef %189, ptr noundef %190)
  store i8 %191, ptr @__GLXEW_EXT_stereo_tree, align 1, !tbaa !9
  %192 = load ptr, ptr %5, align 8, !tbaa !5
  %193 = load ptr, ptr %6, align 8, !tbaa !5
  %194 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.26, ptr noundef %192, ptr noundef %193)
  store i8 %194, ptr @__GLXEW_EXT_swap_control, align 1, !tbaa !9
  %195 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %196 = zext i8 %195 to i32
  %197 = icmp ne i32 %196, 0
  br i1 %197, label %202, label %198

198:                                              ; preds = %182
  %199 = load i8, ptr @__GLXEW_EXT_swap_control, align 1, !tbaa !9
  %200 = zext i8 %199 to i32
  %201 = icmp ne i32 %200, 0
  br i1 %201, label %202, label %208

202:                                              ; preds = %198, %182
  %203 = call zeroext i8 @_glewInit_GLX_EXT_swap_control()
  %204 = icmp ne i8 %203, 0
  %205 = xor i1 %204, true
  %206 = zext i1 %205 to i32
  %207 = trunc i32 %206 to i8
  store i8 %207, ptr @__GLXEW_EXT_swap_control, align 1, !tbaa !9
  br label %208

208:                                              ; preds = %202, %198
  %209 = load ptr, ptr %5, align 8, !tbaa !5
  %210 = load ptr, ptr %6, align 8, !tbaa !5
  %211 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.27, ptr noundef %209, ptr noundef %210)
  store i8 %211, ptr @__GLXEW_EXT_swap_control_tear, align 1, !tbaa !9
  %212 = load ptr, ptr %5, align 8, !tbaa !5
  %213 = load ptr, ptr %6, align 8, !tbaa !5
  %214 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.28, ptr noundef %212, ptr noundef %213)
  store i8 %214, ptr @__GLXEW_EXT_texture_from_pixmap, align 1, !tbaa !9
  %215 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %216 = zext i8 %215 to i32
  %217 = icmp ne i32 %216, 0
  br i1 %217, label %222, label %218

218:                                              ; preds = %208
  %219 = load i8, ptr @__GLXEW_EXT_texture_from_pixmap, align 1, !tbaa !9
  %220 = zext i8 %219 to i32
  %221 = icmp ne i32 %220, 0
  br i1 %221, label %222, label %228

222:                                              ; preds = %218, %208
  %223 = call zeroext i8 @_glewInit_GLX_EXT_texture_from_pixmap()
  %224 = icmp ne i8 %223, 0
  %225 = xor i1 %224, true
  %226 = zext i1 %225 to i32
  %227 = trunc i32 %226 to i8
  store i8 %227, ptr @__GLXEW_EXT_texture_from_pixmap, align 1, !tbaa !9
  br label %228

228:                                              ; preds = %222, %218
  %229 = load ptr, ptr %5, align 8, !tbaa !5
  %230 = load ptr, ptr %6, align 8, !tbaa !5
  %231 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.29, ptr noundef %229, ptr noundef %230)
  store i8 %231, ptr @__GLXEW_EXT_visual_info, align 1, !tbaa !9
  %232 = load ptr, ptr %5, align 8, !tbaa !5
  %233 = load ptr, ptr %6, align 8, !tbaa !5
  %234 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.30, ptr noundef %232, ptr noundef %233)
  store i8 %234, ptr @__GLXEW_EXT_visual_rating, align 1, !tbaa !9
  %235 = load ptr, ptr %5, align 8, !tbaa !5
  %236 = load ptr, ptr %6, align 8, !tbaa !5
  %237 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.31, ptr noundef %235, ptr noundef %236)
  store i8 %237, ptr @__GLXEW_INTEL_swap_event, align 1, !tbaa !9
  %238 = load ptr, ptr %5, align 8, !tbaa !5
  %239 = load ptr, ptr %6, align 8, !tbaa !5
  %240 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.32, ptr noundef %238, ptr noundef %239)
  store i8 %240, ptr @__GLXEW_MESA_agp_offset, align 1, !tbaa !9
  %241 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %242 = zext i8 %241 to i32
  %243 = icmp ne i32 %242, 0
  br i1 %243, label %248, label %244

244:                                              ; preds = %228
  %245 = load i8, ptr @__GLXEW_MESA_agp_offset, align 1, !tbaa !9
  %246 = zext i8 %245 to i32
  %247 = icmp ne i32 %246, 0
  br i1 %247, label %248, label %254

248:                                              ; preds = %244, %228
  %249 = call zeroext i8 @_glewInit_GLX_MESA_agp_offset()
  %250 = icmp ne i8 %249, 0
  %251 = xor i1 %250, true
  %252 = zext i1 %251 to i32
  %253 = trunc i32 %252 to i8
  store i8 %253, ptr @__GLXEW_MESA_agp_offset, align 1, !tbaa !9
  br label %254

254:                                              ; preds = %248, %244
  %255 = load ptr, ptr %5, align 8, !tbaa !5
  %256 = load ptr, ptr %6, align 8, !tbaa !5
  %257 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.33, ptr noundef %255, ptr noundef %256)
  store i8 %257, ptr @__GLXEW_MESA_copy_sub_buffer, align 1, !tbaa !9
  %258 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %259 = zext i8 %258 to i32
  %260 = icmp ne i32 %259, 0
  br i1 %260, label %265, label %261

261:                                              ; preds = %254
  %262 = load i8, ptr @__GLXEW_MESA_copy_sub_buffer, align 1, !tbaa !9
  %263 = zext i8 %262 to i32
  %264 = icmp ne i32 %263, 0
  br i1 %264, label %265, label %271

265:                                              ; preds = %261, %254
  %266 = call zeroext i8 @_glewInit_GLX_MESA_copy_sub_buffer()
  %267 = icmp ne i8 %266, 0
  %268 = xor i1 %267, true
  %269 = zext i1 %268 to i32
  %270 = trunc i32 %269 to i8
  store i8 %270, ptr @__GLXEW_MESA_copy_sub_buffer, align 1, !tbaa !9
  br label %271

271:                                              ; preds = %265, %261
  %272 = load ptr, ptr %5, align 8, !tbaa !5
  %273 = load ptr, ptr %6, align 8, !tbaa !5
  %274 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.34, ptr noundef %272, ptr noundef %273)
  store i8 %274, ptr @__GLXEW_MESA_pixmap_colormap, align 1, !tbaa !9
  %275 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %276 = zext i8 %275 to i32
  %277 = icmp ne i32 %276, 0
  br i1 %277, label %282, label %278

278:                                              ; preds = %271
  %279 = load i8, ptr @__GLXEW_MESA_pixmap_colormap, align 1, !tbaa !9
  %280 = zext i8 %279 to i32
  %281 = icmp ne i32 %280, 0
  br i1 %281, label %282, label %288

282:                                              ; preds = %278, %271
  %283 = call zeroext i8 @_glewInit_GLX_MESA_pixmap_colormap()
  %284 = icmp ne i8 %283, 0
  %285 = xor i1 %284, true
  %286 = zext i1 %285 to i32
  %287 = trunc i32 %286 to i8
  store i8 %287, ptr @__GLXEW_MESA_pixmap_colormap, align 1, !tbaa !9
  br label %288

288:                                              ; preds = %282, %278
  %289 = load ptr, ptr %5, align 8, !tbaa !5
  %290 = load ptr, ptr %6, align 8, !tbaa !5
  %291 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.35, ptr noundef %289, ptr noundef %290)
  store i8 %291, ptr @__GLXEW_MESA_query_renderer, align 1, !tbaa !9
  %292 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %293 = zext i8 %292 to i32
  %294 = icmp ne i32 %293, 0
  br i1 %294, label %299, label %295

295:                                              ; preds = %288
  %296 = load i8, ptr @__GLXEW_MESA_query_renderer, align 1, !tbaa !9
  %297 = zext i8 %296 to i32
  %298 = icmp ne i32 %297, 0
  br i1 %298, label %299, label %305

299:                                              ; preds = %295, %288
  %300 = call zeroext i8 @_glewInit_GLX_MESA_query_renderer()
  %301 = icmp ne i8 %300, 0
  %302 = xor i1 %301, true
  %303 = zext i1 %302 to i32
  %304 = trunc i32 %303 to i8
  store i8 %304, ptr @__GLXEW_MESA_query_renderer, align 1, !tbaa !9
  br label %305

305:                                              ; preds = %299, %295
  %306 = load ptr, ptr %5, align 8, !tbaa !5
  %307 = load ptr, ptr %6, align 8, !tbaa !5
  %308 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.36, ptr noundef %306, ptr noundef %307)
  store i8 %308, ptr @__GLXEW_MESA_release_buffers, align 1, !tbaa !9
  %309 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %310 = zext i8 %309 to i32
  %311 = icmp ne i32 %310, 0
  br i1 %311, label %316, label %312

312:                                              ; preds = %305
  %313 = load i8, ptr @__GLXEW_MESA_release_buffers, align 1, !tbaa !9
  %314 = zext i8 %313 to i32
  %315 = icmp ne i32 %314, 0
  br i1 %315, label %316, label %322

316:                                              ; preds = %312, %305
  %317 = call zeroext i8 @_glewInit_GLX_MESA_release_buffers()
  %318 = icmp ne i8 %317, 0
  %319 = xor i1 %318, true
  %320 = zext i1 %319 to i32
  %321 = trunc i32 %320 to i8
  store i8 %321, ptr @__GLXEW_MESA_release_buffers, align 1, !tbaa !9
  br label %322

322:                                              ; preds = %316, %312
  %323 = load ptr, ptr %5, align 8, !tbaa !5
  %324 = load ptr, ptr %6, align 8, !tbaa !5
  %325 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.37, ptr noundef %323, ptr noundef %324)
  store i8 %325, ptr @__GLXEW_MESA_set_3dfx_mode, align 1, !tbaa !9
  %326 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %327 = zext i8 %326 to i32
  %328 = icmp ne i32 %327, 0
  br i1 %328, label %333, label %329

329:                                              ; preds = %322
  %330 = load i8, ptr @__GLXEW_MESA_set_3dfx_mode, align 1, !tbaa !9
  %331 = zext i8 %330 to i32
  %332 = icmp ne i32 %331, 0
  br i1 %332, label %333, label %339

333:                                              ; preds = %329, %322
  %334 = call zeroext i8 @_glewInit_GLX_MESA_set_3dfx_mode()
  %335 = icmp ne i8 %334, 0
  %336 = xor i1 %335, true
  %337 = zext i1 %336 to i32
  %338 = trunc i32 %337 to i8
  store i8 %338, ptr @__GLXEW_MESA_set_3dfx_mode, align 1, !tbaa !9
  br label %339

339:                                              ; preds = %333, %329
  %340 = load ptr, ptr %5, align 8, !tbaa !5
  %341 = load ptr, ptr %6, align 8, !tbaa !5
  %342 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.38, ptr noundef %340, ptr noundef %341)
  store i8 %342, ptr @__GLXEW_MESA_swap_control, align 1, !tbaa !9
  %343 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %344 = zext i8 %343 to i32
  %345 = icmp ne i32 %344, 0
  br i1 %345, label %350, label %346

346:                                              ; preds = %339
  %347 = load i8, ptr @__GLXEW_MESA_swap_control, align 1, !tbaa !9
  %348 = zext i8 %347 to i32
  %349 = icmp ne i32 %348, 0
  br i1 %349, label %350, label %356

350:                                              ; preds = %346, %339
  %351 = call zeroext i8 @_glewInit_GLX_MESA_swap_control()
  %352 = icmp ne i8 %351, 0
  %353 = xor i1 %352, true
  %354 = zext i1 %353 to i32
  %355 = trunc i32 %354 to i8
  store i8 %355, ptr @__GLXEW_MESA_swap_control, align 1, !tbaa !9
  br label %356

356:                                              ; preds = %350, %346
  %357 = load ptr, ptr %5, align 8, !tbaa !5
  %358 = load ptr, ptr %6, align 8, !tbaa !5
  %359 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.39, ptr noundef %357, ptr noundef %358)
  store i8 %359, ptr @__GLXEW_NV_copy_buffer, align 1, !tbaa !9
  %360 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %361 = zext i8 %360 to i32
  %362 = icmp ne i32 %361, 0
  br i1 %362, label %367, label %363

363:                                              ; preds = %356
  %364 = load i8, ptr @__GLXEW_NV_copy_buffer, align 1, !tbaa !9
  %365 = zext i8 %364 to i32
  %366 = icmp ne i32 %365, 0
  br i1 %366, label %367, label %373

367:                                              ; preds = %363, %356
  %368 = call zeroext i8 @_glewInit_GLX_NV_copy_buffer()
  %369 = icmp ne i8 %368, 0
  %370 = xor i1 %369, true
  %371 = zext i1 %370 to i32
  %372 = trunc i32 %371 to i8
  store i8 %372, ptr @__GLXEW_NV_copy_buffer, align 1, !tbaa !9
  br label %373

373:                                              ; preds = %367, %363
  %374 = load ptr, ptr %5, align 8, !tbaa !5
  %375 = load ptr, ptr %6, align 8, !tbaa !5
  %376 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.40, ptr noundef %374, ptr noundef %375)
  store i8 %376, ptr @__GLXEW_NV_copy_image, align 1, !tbaa !9
  %377 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %378 = zext i8 %377 to i32
  %379 = icmp ne i32 %378, 0
  br i1 %379, label %384, label %380

380:                                              ; preds = %373
  %381 = load i8, ptr @__GLXEW_NV_copy_image, align 1, !tbaa !9
  %382 = zext i8 %381 to i32
  %383 = icmp ne i32 %382, 0
  br i1 %383, label %384, label %390

384:                                              ; preds = %380, %373
  %385 = call zeroext i8 @_glewInit_GLX_NV_copy_image()
  %386 = icmp ne i8 %385, 0
  %387 = xor i1 %386, true
  %388 = zext i1 %387 to i32
  %389 = trunc i32 %388 to i8
  store i8 %389, ptr @__GLXEW_NV_copy_image, align 1, !tbaa !9
  br label %390

390:                                              ; preds = %384, %380
  %391 = load ptr, ptr %5, align 8, !tbaa !5
  %392 = load ptr, ptr %6, align 8, !tbaa !5
  %393 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.41, ptr noundef %391, ptr noundef %392)
  store i8 %393, ptr @__GLXEW_NV_delay_before_swap, align 1, !tbaa !9
  %394 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %395 = zext i8 %394 to i32
  %396 = icmp ne i32 %395, 0
  br i1 %396, label %401, label %397

397:                                              ; preds = %390
  %398 = load i8, ptr @__GLXEW_NV_delay_before_swap, align 1, !tbaa !9
  %399 = zext i8 %398 to i32
  %400 = icmp ne i32 %399, 0
  br i1 %400, label %401, label %407

401:                                              ; preds = %397, %390
  %402 = call zeroext i8 @_glewInit_GLX_NV_delay_before_swap()
  %403 = icmp ne i8 %402, 0
  %404 = xor i1 %403, true
  %405 = zext i1 %404 to i32
  %406 = trunc i32 %405 to i8
  store i8 %406, ptr @__GLXEW_NV_delay_before_swap, align 1, !tbaa !9
  br label %407

407:                                              ; preds = %401, %397
  %408 = load ptr, ptr %5, align 8, !tbaa !5
  %409 = load ptr, ptr %6, align 8, !tbaa !5
  %410 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.42, ptr noundef %408, ptr noundef %409)
  store i8 %410, ptr @__GLXEW_NV_float_buffer, align 1, !tbaa !9
  %411 = load ptr, ptr %5, align 8, !tbaa !5
  %412 = load ptr, ptr %6, align 8, !tbaa !5
  %413 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.43, ptr noundef %411, ptr noundef %412)
  store i8 %413, ptr @__GLXEW_NV_multisample_coverage, align 1, !tbaa !9
  %414 = load ptr, ptr %5, align 8, !tbaa !5
  %415 = load ptr, ptr %6, align 8, !tbaa !5
  %416 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.44, ptr noundef %414, ptr noundef %415)
  store i8 %416, ptr @__GLXEW_NV_present_video, align 1, !tbaa !9
  %417 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %418 = zext i8 %417 to i32
  %419 = icmp ne i32 %418, 0
  br i1 %419, label %424, label %420

420:                                              ; preds = %407
  %421 = load i8, ptr @__GLXEW_NV_present_video, align 1, !tbaa !9
  %422 = zext i8 %421 to i32
  %423 = icmp ne i32 %422, 0
  br i1 %423, label %424, label %430

424:                                              ; preds = %420, %407
  %425 = call zeroext i8 @_glewInit_GLX_NV_present_video()
  %426 = icmp ne i8 %425, 0
  %427 = xor i1 %426, true
  %428 = zext i1 %427 to i32
  %429 = trunc i32 %428 to i8
  store i8 %429, ptr @__GLXEW_NV_present_video, align 1, !tbaa !9
  br label %430

430:                                              ; preds = %424, %420
  %431 = load ptr, ptr %5, align 8, !tbaa !5
  %432 = load ptr, ptr %6, align 8, !tbaa !5
  %433 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.45, ptr noundef %431, ptr noundef %432)
  store i8 %433, ptr @__GLXEW_NV_robustness_video_memory_purge, align 1, !tbaa !9
  %434 = load ptr, ptr %5, align 8, !tbaa !5
  %435 = load ptr, ptr %6, align 8, !tbaa !5
  %436 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.46, ptr noundef %434, ptr noundef %435)
  store i8 %436, ptr @__GLXEW_NV_swap_group, align 1, !tbaa !9
  %437 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %438 = zext i8 %437 to i32
  %439 = icmp ne i32 %438, 0
  br i1 %439, label %444, label %440

440:                                              ; preds = %430
  %441 = load i8, ptr @__GLXEW_NV_swap_group, align 1, !tbaa !9
  %442 = zext i8 %441 to i32
  %443 = icmp ne i32 %442, 0
  br i1 %443, label %444, label %450

444:                                              ; preds = %440, %430
  %445 = call zeroext i8 @_glewInit_GLX_NV_swap_group()
  %446 = icmp ne i8 %445, 0
  %447 = xor i1 %446, true
  %448 = zext i1 %447 to i32
  %449 = trunc i32 %448 to i8
  store i8 %449, ptr @__GLXEW_NV_swap_group, align 1, !tbaa !9
  br label %450

450:                                              ; preds = %444, %440
  %451 = load ptr, ptr %5, align 8, !tbaa !5
  %452 = load ptr, ptr %6, align 8, !tbaa !5
  %453 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.47, ptr noundef %451, ptr noundef %452)
  store i8 %453, ptr @__GLXEW_NV_vertex_array_range, align 1, !tbaa !9
  %454 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %455 = zext i8 %454 to i32
  %456 = icmp ne i32 %455, 0
  br i1 %456, label %461, label %457

457:                                              ; preds = %450
  %458 = load i8, ptr @__GLXEW_NV_vertex_array_range, align 1, !tbaa !9
  %459 = zext i8 %458 to i32
  %460 = icmp ne i32 %459, 0
  br i1 %460, label %461, label %467

461:                                              ; preds = %457, %450
  %462 = call zeroext i8 @_glewInit_GLX_NV_vertex_array_range()
  %463 = icmp ne i8 %462, 0
  %464 = xor i1 %463, true
  %465 = zext i1 %464 to i32
  %466 = trunc i32 %465 to i8
  store i8 %466, ptr @__GLXEW_NV_vertex_array_range, align 1, !tbaa !9
  br label %467

467:                                              ; preds = %461, %457
  %468 = load ptr, ptr %5, align 8, !tbaa !5
  %469 = load ptr, ptr %6, align 8, !tbaa !5
  %470 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.48, ptr noundef %468, ptr noundef %469)
  store i8 %470, ptr @__GLXEW_NV_video_capture, align 1, !tbaa !9
  %471 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %472 = zext i8 %471 to i32
  %473 = icmp ne i32 %472, 0
  br i1 %473, label %478, label %474

474:                                              ; preds = %467
  %475 = load i8, ptr @__GLXEW_NV_video_capture, align 1, !tbaa !9
  %476 = zext i8 %475 to i32
  %477 = icmp ne i32 %476, 0
  br i1 %477, label %478, label %484

478:                                              ; preds = %474, %467
  %479 = call zeroext i8 @_glewInit_GLX_NV_video_capture()
  %480 = icmp ne i8 %479, 0
  %481 = xor i1 %480, true
  %482 = zext i1 %481 to i32
  %483 = trunc i32 %482 to i8
  store i8 %483, ptr @__GLXEW_NV_video_capture, align 1, !tbaa !9
  br label %484

484:                                              ; preds = %478, %474
  %485 = load ptr, ptr %5, align 8, !tbaa !5
  %486 = load ptr, ptr %6, align 8, !tbaa !5
  %487 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.49, ptr noundef %485, ptr noundef %486)
  store i8 %487, ptr @__GLXEW_NV_video_out, align 1, !tbaa !9
  %488 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %489 = zext i8 %488 to i32
  %490 = icmp ne i32 %489, 0
  br i1 %490, label %495, label %491

491:                                              ; preds = %484
  %492 = load i8, ptr @__GLXEW_NV_video_out, align 1, !tbaa !9
  %493 = zext i8 %492 to i32
  %494 = icmp ne i32 %493, 0
  br i1 %494, label %495, label %501

495:                                              ; preds = %491, %484
  %496 = call zeroext i8 @_glewInit_GLX_NV_video_out()
  %497 = icmp ne i8 %496, 0
  %498 = xor i1 %497, true
  %499 = zext i1 %498 to i32
  %500 = trunc i32 %499 to i8
  store i8 %500, ptr @__GLXEW_NV_video_out, align 1, !tbaa !9
  br label %501

501:                                              ; preds = %495, %491
  %502 = load ptr, ptr %5, align 8, !tbaa !5
  %503 = load ptr, ptr %6, align 8, !tbaa !5
  %504 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.50, ptr noundef %502, ptr noundef %503)
  store i8 %504, ptr @__GLXEW_OML_swap_method, align 1, !tbaa !9
  %505 = load ptr, ptr %5, align 8, !tbaa !5
  %506 = load ptr, ptr %6, align 8, !tbaa !5
  %507 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.51, ptr noundef %505, ptr noundef %506)
  store i8 %507, ptr @__GLXEW_OML_sync_control, align 1, !tbaa !9
  %508 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %509 = zext i8 %508 to i32
  %510 = icmp ne i32 %509, 0
  br i1 %510, label %515, label %511

511:                                              ; preds = %501
  %512 = load i8, ptr @__GLXEW_OML_sync_control, align 1, !tbaa !9
  %513 = zext i8 %512 to i32
  %514 = icmp ne i32 %513, 0
  br i1 %514, label %515, label %521

515:                                              ; preds = %511, %501
  %516 = call zeroext i8 @_glewInit_GLX_OML_sync_control()
  %517 = icmp ne i8 %516, 0
  %518 = xor i1 %517, true
  %519 = zext i1 %518 to i32
  %520 = trunc i32 %519 to i8
  store i8 %520, ptr @__GLXEW_OML_sync_control, align 1, !tbaa !9
  br label %521

521:                                              ; preds = %515, %511
  %522 = load ptr, ptr %5, align 8, !tbaa !5
  %523 = load ptr, ptr %6, align 8, !tbaa !5
  %524 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.52, ptr noundef %522, ptr noundef %523)
  store i8 %524, ptr @__GLXEW_SGIS_blended_overlay, align 1, !tbaa !9
  %525 = load ptr, ptr %5, align 8, !tbaa !5
  %526 = load ptr, ptr %6, align 8, !tbaa !5
  %527 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.53, ptr noundef %525, ptr noundef %526)
  store i8 %527, ptr @__GLXEW_SGIS_color_range, align 1, !tbaa !9
  %528 = load ptr, ptr %5, align 8, !tbaa !5
  %529 = load ptr, ptr %6, align 8, !tbaa !5
  %530 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.54, ptr noundef %528, ptr noundef %529)
  store i8 %530, ptr @__GLXEW_SGIS_multisample, align 1, !tbaa !9
  %531 = load ptr, ptr %5, align 8, !tbaa !5
  %532 = load ptr, ptr %6, align 8, !tbaa !5
  %533 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.55, ptr noundef %531, ptr noundef %532)
  store i8 %533, ptr @__GLXEW_SGIS_shared_multisample, align 1, !tbaa !9
  %534 = load ptr, ptr %5, align 8, !tbaa !5
  %535 = load ptr, ptr %6, align 8, !tbaa !5
  %536 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.56, ptr noundef %534, ptr noundef %535)
  store i8 %536, ptr @__GLXEW_SGIX_fbconfig, align 1, !tbaa !9
  %537 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %538 = zext i8 %537 to i32
  %539 = icmp ne i32 %538, 0
  br i1 %539, label %544, label %540

540:                                              ; preds = %521
  %541 = load i8, ptr @__GLXEW_SGIX_fbconfig, align 1, !tbaa !9
  %542 = zext i8 %541 to i32
  %543 = icmp ne i32 %542, 0
  br i1 %543, label %544, label %550

544:                                              ; preds = %540, %521
  %545 = call zeroext i8 @_glewInit_GLX_SGIX_fbconfig()
  %546 = icmp ne i8 %545, 0
  %547 = xor i1 %546, true
  %548 = zext i1 %547 to i32
  %549 = trunc i32 %548 to i8
  store i8 %549, ptr @__GLXEW_SGIX_fbconfig, align 1, !tbaa !9
  br label %550

550:                                              ; preds = %544, %540
  %551 = load ptr, ptr %5, align 8, !tbaa !5
  %552 = load ptr, ptr %6, align 8, !tbaa !5
  %553 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.57, ptr noundef %551, ptr noundef %552)
  store i8 %553, ptr @__GLXEW_SGIX_hyperpipe, align 1, !tbaa !9
  %554 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %555 = zext i8 %554 to i32
  %556 = icmp ne i32 %555, 0
  br i1 %556, label %561, label %557

557:                                              ; preds = %550
  %558 = load i8, ptr @__GLXEW_SGIX_hyperpipe, align 1, !tbaa !9
  %559 = zext i8 %558 to i32
  %560 = icmp ne i32 %559, 0
  br i1 %560, label %561, label %567

561:                                              ; preds = %557, %550
  %562 = call zeroext i8 @_glewInit_GLX_SGIX_hyperpipe()
  %563 = icmp ne i8 %562, 0
  %564 = xor i1 %563, true
  %565 = zext i1 %564 to i32
  %566 = trunc i32 %565 to i8
  store i8 %566, ptr @__GLXEW_SGIX_hyperpipe, align 1, !tbaa !9
  br label %567

567:                                              ; preds = %561, %557
  %568 = load ptr, ptr %5, align 8, !tbaa !5
  %569 = load ptr, ptr %6, align 8, !tbaa !5
  %570 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.58, ptr noundef %568, ptr noundef %569)
  store i8 %570, ptr @__GLXEW_SGIX_pbuffer, align 1, !tbaa !9
  %571 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %572 = zext i8 %571 to i32
  %573 = icmp ne i32 %572, 0
  br i1 %573, label %578, label %574

574:                                              ; preds = %567
  %575 = load i8, ptr @__GLXEW_SGIX_pbuffer, align 1, !tbaa !9
  %576 = zext i8 %575 to i32
  %577 = icmp ne i32 %576, 0
  br i1 %577, label %578, label %584

578:                                              ; preds = %574, %567
  %579 = call zeroext i8 @_glewInit_GLX_SGIX_pbuffer()
  %580 = icmp ne i8 %579, 0
  %581 = xor i1 %580, true
  %582 = zext i1 %581 to i32
  %583 = trunc i32 %582 to i8
  store i8 %583, ptr @__GLXEW_SGIX_pbuffer, align 1, !tbaa !9
  br label %584

584:                                              ; preds = %578, %574
  %585 = load ptr, ptr %5, align 8, !tbaa !5
  %586 = load ptr, ptr %6, align 8, !tbaa !5
  %587 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.59, ptr noundef %585, ptr noundef %586)
  store i8 %587, ptr @__GLXEW_SGIX_swap_barrier, align 1, !tbaa !9
  %588 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %589 = zext i8 %588 to i32
  %590 = icmp ne i32 %589, 0
  br i1 %590, label %595, label %591

591:                                              ; preds = %584
  %592 = load i8, ptr @__GLXEW_SGIX_swap_barrier, align 1, !tbaa !9
  %593 = zext i8 %592 to i32
  %594 = icmp ne i32 %593, 0
  br i1 %594, label %595, label %601

595:                                              ; preds = %591, %584
  %596 = call zeroext i8 @_glewInit_GLX_SGIX_swap_barrier()
  %597 = icmp ne i8 %596, 0
  %598 = xor i1 %597, true
  %599 = zext i1 %598 to i32
  %600 = trunc i32 %599 to i8
  store i8 %600, ptr @__GLXEW_SGIX_swap_barrier, align 1, !tbaa !9
  br label %601

601:                                              ; preds = %595, %591
  %602 = load ptr, ptr %5, align 8, !tbaa !5
  %603 = load ptr, ptr %6, align 8, !tbaa !5
  %604 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.60, ptr noundef %602, ptr noundef %603)
  store i8 %604, ptr @__GLXEW_SGIX_swap_group, align 1, !tbaa !9
  %605 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %606 = zext i8 %605 to i32
  %607 = icmp ne i32 %606, 0
  br i1 %607, label %612, label %608

608:                                              ; preds = %601
  %609 = load i8, ptr @__GLXEW_SGIX_swap_group, align 1, !tbaa !9
  %610 = zext i8 %609 to i32
  %611 = icmp ne i32 %610, 0
  br i1 %611, label %612, label %618

612:                                              ; preds = %608, %601
  %613 = call zeroext i8 @_glewInit_GLX_SGIX_swap_group()
  %614 = icmp ne i8 %613, 0
  %615 = xor i1 %614, true
  %616 = zext i1 %615 to i32
  %617 = trunc i32 %616 to i8
  store i8 %617, ptr @__GLXEW_SGIX_swap_group, align 1, !tbaa !9
  br label %618

618:                                              ; preds = %612, %608
  %619 = load ptr, ptr %5, align 8, !tbaa !5
  %620 = load ptr, ptr %6, align 8, !tbaa !5
  %621 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.61, ptr noundef %619, ptr noundef %620)
  store i8 %621, ptr @__GLXEW_SGIX_video_resize, align 1, !tbaa !9
  %622 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %623 = zext i8 %622 to i32
  %624 = icmp ne i32 %623, 0
  br i1 %624, label %629, label %625

625:                                              ; preds = %618
  %626 = load i8, ptr @__GLXEW_SGIX_video_resize, align 1, !tbaa !9
  %627 = zext i8 %626 to i32
  %628 = icmp ne i32 %627, 0
  br i1 %628, label %629, label %635

629:                                              ; preds = %625, %618
  %630 = call zeroext i8 @_glewInit_GLX_SGIX_video_resize()
  %631 = icmp ne i8 %630, 0
  %632 = xor i1 %631, true
  %633 = zext i1 %632 to i32
  %634 = trunc i32 %633 to i8
  store i8 %634, ptr @__GLXEW_SGIX_video_resize, align 1, !tbaa !9
  br label %635

635:                                              ; preds = %629, %625
  %636 = load ptr, ptr %5, align 8, !tbaa !5
  %637 = load ptr, ptr %6, align 8, !tbaa !5
  %638 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.62, ptr noundef %636, ptr noundef %637)
  store i8 %638, ptr @__GLXEW_SGIX_visual_select_group, align 1, !tbaa !9
  %639 = load ptr, ptr %5, align 8, !tbaa !5
  %640 = load ptr, ptr %6, align 8, !tbaa !5
  %641 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.63, ptr noundef %639, ptr noundef %640)
  store i8 %641, ptr @__GLXEW_SGI_cushion, align 1, !tbaa !9
  %642 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %643 = zext i8 %642 to i32
  %644 = icmp ne i32 %643, 0
  br i1 %644, label %649, label %645

645:                                              ; preds = %635
  %646 = load i8, ptr @__GLXEW_SGI_cushion, align 1, !tbaa !9
  %647 = zext i8 %646 to i32
  %648 = icmp ne i32 %647, 0
  br i1 %648, label %649, label %655

649:                                              ; preds = %645, %635
  %650 = call zeroext i8 @_glewInit_GLX_SGI_cushion()
  %651 = icmp ne i8 %650, 0
  %652 = xor i1 %651, true
  %653 = zext i1 %652 to i32
  %654 = trunc i32 %653 to i8
  store i8 %654, ptr @__GLXEW_SGI_cushion, align 1, !tbaa !9
  br label %655

655:                                              ; preds = %649, %645
  %656 = load ptr, ptr %5, align 8, !tbaa !5
  %657 = load ptr, ptr %6, align 8, !tbaa !5
  %658 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.64, ptr noundef %656, ptr noundef %657)
  store i8 %658, ptr @__GLXEW_SGI_make_current_read, align 1, !tbaa !9
  %659 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %660 = zext i8 %659 to i32
  %661 = icmp ne i32 %660, 0
  br i1 %661, label %666, label %662

662:                                              ; preds = %655
  %663 = load i8, ptr @__GLXEW_SGI_make_current_read, align 1, !tbaa !9
  %664 = zext i8 %663 to i32
  %665 = icmp ne i32 %664, 0
  br i1 %665, label %666, label %672

666:                                              ; preds = %662, %655
  %667 = call zeroext i8 @_glewInit_GLX_SGI_make_current_read()
  %668 = icmp ne i8 %667, 0
  %669 = xor i1 %668, true
  %670 = zext i1 %669 to i32
  %671 = trunc i32 %670 to i8
  store i8 %671, ptr @__GLXEW_SGI_make_current_read, align 1, !tbaa !9
  br label %672

672:                                              ; preds = %666, %662
  %673 = load ptr, ptr %5, align 8, !tbaa !5
  %674 = load ptr, ptr %6, align 8, !tbaa !5
  %675 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.65, ptr noundef %673, ptr noundef %674)
  store i8 %675, ptr @__GLXEW_SGI_swap_control, align 1, !tbaa !9
  %676 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %677 = zext i8 %676 to i32
  %678 = icmp ne i32 %677, 0
  br i1 %678, label %683, label %679

679:                                              ; preds = %672
  %680 = load i8, ptr @__GLXEW_SGI_swap_control, align 1, !tbaa !9
  %681 = zext i8 %680 to i32
  %682 = icmp ne i32 %681, 0
  br i1 %682, label %683, label %689

683:                                              ; preds = %679, %672
  %684 = call zeroext i8 @_glewInit_GLX_SGI_swap_control()
  %685 = icmp ne i8 %684, 0
  %686 = xor i1 %685, true
  %687 = zext i1 %686 to i32
  %688 = trunc i32 %687 to i8
  store i8 %688, ptr @__GLXEW_SGI_swap_control, align 1, !tbaa !9
  br label %689

689:                                              ; preds = %683, %679
  %690 = load ptr, ptr %5, align 8, !tbaa !5
  %691 = load ptr, ptr %6, align 8, !tbaa !5
  %692 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.66, ptr noundef %690, ptr noundef %691)
  store i8 %692, ptr @__GLXEW_SGI_video_sync, align 1, !tbaa !9
  %693 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %694 = zext i8 %693 to i32
  %695 = icmp ne i32 %694, 0
  br i1 %695, label %700, label %696

696:                                              ; preds = %689
  %697 = load i8, ptr @__GLXEW_SGI_video_sync, align 1, !tbaa !9
  %698 = zext i8 %697 to i32
  %699 = icmp ne i32 %698, 0
  br i1 %699, label %700, label %706

700:                                              ; preds = %696, %689
  %701 = call zeroext i8 @_glewInit_GLX_SGI_video_sync()
  %702 = icmp ne i8 %701, 0
  %703 = xor i1 %702, true
  %704 = zext i1 %703 to i32
  %705 = trunc i32 %704 to i8
  store i8 %705, ptr @__GLXEW_SGI_video_sync, align 1, !tbaa !9
  br label %706

706:                                              ; preds = %700, %696
  %707 = load ptr, ptr %5, align 8, !tbaa !5
  %708 = load ptr, ptr %6, align 8, !tbaa !5
  %709 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.67, ptr noundef %707, ptr noundef %708)
  store i8 %709, ptr @__GLXEW_SUN_get_transparent_index, align 1, !tbaa !9
  %710 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %711 = zext i8 %710 to i32
  %712 = icmp ne i32 %711, 0
  br i1 %712, label %717, label %713

713:                                              ; preds = %706
  %714 = load i8, ptr @__GLXEW_SUN_get_transparent_index, align 1, !tbaa !9
  %715 = zext i8 %714 to i32
  %716 = icmp ne i32 %715, 0
  br i1 %716, label %717, label %723

717:                                              ; preds = %713, %706
  %718 = call zeroext i8 @_glewInit_GLX_SUN_get_transparent_index()
  %719 = icmp ne i8 %718, 0
  %720 = xor i1 %719, true
  %721 = zext i1 %720 to i32
  %722 = trunc i32 %721 to i8
  store i8 %722, ptr @__GLXEW_SUN_get_transparent_index, align 1, !tbaa !9
  br label %723

723:                                              ; preds = %717, %713
  %724 = load ptr, ptr %5, align 8, !tbaa !5
  %725 = load ptr, ptr %6, align 8, !tbaa !5
  %726 = call zeroext i8 @_glewSearchExtension(ptr noundef @.str.68, ptr noundef %724, ptr noundef %725)
  store i8 %726, ptr @__GLXEW_SUN_video_resize, align 1, !tbaa !9
  %727 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %728 = zext i8 %727 to i32
  %729 = icmp ne i32 %728, 0
  br i1 %729, label %734, label %730

730:                                              ; preds = %723
  %731 = load i8, ptr @__GLXEW_SUN_video_resize, align 1, !tbaa !9
  %732 = zext i8 %731 to i32
  %733 = icmp ne i32 %732, 0
  br i1 %733, label %734, label %740

734:                                              ; preds = %730, %723
  %735 = call zeroext i8 @_glewInit_GLX_SUN_video_resize()
  %736 = icmp ne i8 %735, 0
  %737 = xor i1 %736, true
  %738 = zext i1 %737 to i32
  %739 = trunc i32 %738 to i8
  store i8 %739, ptr @__GLXEW_SUN_video_resize, align 1, !tbaa !9
  br label %740

740:                                              ; preds = %734, %730
  store i32 0, ptr %1, align 4
  store i32 1, ptr %7, align 4
  br label %741

741:                                              ; preds = %740, %29, %16, %10
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #3
  %742 = load i32, ptr %1, align 4
  ret i32 %742
}

declare i32 @glXQueryVersion(ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_VERSION_1_2() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_VERSION_1_3() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_AMD_gpu_association() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_ARB_create_context() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_ATI_render_texture() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_EXT_import_context() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_EXT_swap_control() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_EXT_texture_from_pixmap() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_MESA_agp_offset() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_MESA_copy_sub_buffer() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_MESA_pixmap_colormap() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_MESA_query_renderer() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_MESA_release_buffers() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_MESA_set_3dfx_mode() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_MESA_swap_control() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_NV_copy_buffer() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_NV_copy_image() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_NV_delay_before_swap() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_NV_present_video() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_NV_swap_group() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_NV_vertex_array_range() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_NV_video_capture() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_NV_video_out() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_OML_sync_control() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SGIX_fbconfig() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SGIX_hyperpipe() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SGIX_pbuffer() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SGIX_swap_barrier() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SGIX_swap_group() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SGIX_video_resize() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SGI_cushion() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SGI_make_current_read() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SGI_swap_control() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SGI_video_sync() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SUN_get_transparent_index() #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SUN_video_resize() #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !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"

@__glewXGetCurrentDisplay = external dso_local local_unnamed_addr global ptr, align 8
@__GLXEW_VERSION_1_0 = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_VERSION_1_1 = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_VERSION_1_2 = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_VERSION_1_3 = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_VERSION_1_4 = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_3DFX_multisample = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_AMD_gpu_association = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_ARB_context_flush_control = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_ARB_create_context = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_ARB_create_context_no_error = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_ARB_create_context_profile = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_ARB_create_context_robustness = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_ARB_fbconfig_float = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_ARB_framebuffer_sRGB = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_ARB_get_proc_address = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_ARB_multisample = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_ARB_robustness_application_isolation = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_ARB_robustness_share_group_isolation = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_ARB_vertex_buffer_object = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_ATI_pixel_format_float = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_ATI_render_texture = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_EXT_buffer_age = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_EXT_create_context_es2_profile = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_EXT_create_context_es_profile = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_EXT_fbconfig_packed_float = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_EXT_framebuffer_sRGB = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_EXT_import_context = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_EXT_libglvnd = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_EXT_scene_marker = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_EXT_stereo_tree = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_EXT_swap_control = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_EXT_swap_control_tear = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_EXT_texture_from_pixmap = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_EXT_visual_info = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_EXT_visual_rating = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_INTEL_swap_event = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_MESA_agp_offset = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_MESA_copy_sub_buffer = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_MESA_pixmap_colormap = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_MESA_query_renderer = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_MESA_release_buffers = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_MESA_set_3dfx_mode = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_MESA_swap_control = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_NV_copy_buffer = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_NV_copy_image = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_NV_delay_before_swap = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_NV_float_buffer = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_NV_multisample_coverage = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_NV_present_video = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_NV_robustness_video_memory_purge = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_NV_swap_group = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_NV_vertex_array_range = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_NV_video_capture = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_NV_video_out = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_OML_swap_method = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_OML_sync_control = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_SGIS_blended_overlay = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_SGIS_color_range = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_SGIS_multisample = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_SGIS_shared_multisample = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_SGIX_fbconfig = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_SGIX_hyperpipe = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_SGIX_pbuffer = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_SGIX_swap_barrier = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_SGIX_swap_group = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_SGIX_video_resize = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_SGIX_visual_select_group = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_SGI_cushion = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_SGI_make_current_read = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_SGI_swap_control = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_SGI_video_sync = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_SUN_get_transparent_index = external dso_local local_unnamed_addr global i8, align 1
@__GLXEW_SUN_video_resize = external dso_local local_unnamed_addr global i8, align 1
@.str = external hidden unnamed_addr constant [1 x i8], align 1
@glewExperimental = external dso_local local_unnamed_addr global i8, align 1
@.str.1 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [21 x i8], align 1

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

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

declare ptr @glXGetClientString(ptr noundef, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewSearchExtension(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 5) i32 @glxewInit() local_unnamed_addr #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
  %3 = tail call zeroext i8 @_glewInit_GLX_VERSION_1_2()
  %.not = icmp eq i8 %3, 0
  br i1 %.not, label %4, label %338

4:                                                ; preds = %0
  %5 = load ptr, ptr @__glewXGetCurrentDisplay, align 8, !tbaa !5
  %6 = tail call ptr %5() #3
  %7 = icmp eq ptr %6, null
  br i1 %7, label %338, label %8

8:                                                ; preds = %4
  store i8 1, ptr @__GLXEW_VERSION_1_0, align 1, !tbaa !9
  store i8 1, ptr @__GLXEW_VERSION_1_1, align 1, !tbaa !9
  store i8 1, ptr @__GLXEW_VERSION_1_2, align 1, !tbaa !9
  store i8 1, ptr @__GLXEW_VERSION_1_3, align 1, !tbaa !9
  store i8 1, ptr @__GLXEW_VERSION_1_4, align 1, !tbaa !9
  %9 = call i32 @glXQueryVersion(ptr noundef nonnull %6, ptr noundef nonnull %1, ptr noundef nonnull %2) #3
  %10 = load i32, ptr %1, align 4, !tbaa !10
  %11 = icmp eq i32 %10, 1
  %12 = load i32, ptr %2, align 4
  %13 = icmp slt i32 %12, 4
  %or.cond = select i1 %11, i1 %13, i1 false
  br i1 %or.cond, label %14, label %16

14:                                               ; preds = %8
  switch i32 %12, label %338 [
    i32 3, label %.sink.split
    i32 2, label %15
  ]

15:                                               ; preds = %14
  store i8 0, ptr @__GLXEW_VERSION_1_4, align 1, !tbaa !9
  br label %.sink.split

.sink.split:                                      ; preds = %14, %15
  %__GLXEW_VERSION_1_4.sink = phi ptr [ @__GLXEW_VERSION_1_3, %15 ], [ @__GLXEW_VERSION_1_4, %14 ]
  store i8 0, ptr %__GLXEW_VERSION_1_4.sink, align 1, !tbaa !9
  br label %16

16:                                               ; preds = %.sink.split, %8
  %17 = load ptr, ptr @__glewXGetCurrentDisplay, align 8, !tbaa !5
  %.not251 = icmp eq ptr %17, null
  br i1 %.not251, label %20, label %18

18:                                               ; preds = %16
  %19 = call ptr @glXGetClientString(ptr noundef nonnull %6, i32 noundef 3) #3
  br label %20

20:                                               ; preds = %18, %16
  %.0248 = phi ptr [ %19, %18 ], [ null, %16 ]
  %21 = icmp eq ptr %.0248, null
  %spec.store.select = select i1 %21, ptr @.str, ptr %.0248
  %22 = call i32 @_glewStrLen(ptr noundef nonnull %spec.store.select)
  %23 = zext i32 %22 to i64
  %24 = getelementptr inbounds i8, ptr %spec.store.select, i64 %23
  %25 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %26 = icmp ne i8 %25, 0
  %27 = load i8, ptr @__GLXEW_VERSION_1_3, align 1
  %28 = icmp ne i8 %27, 0
  %or.cond4 = select i1 %26, i1 true, i1 %28
  br i1 %or.cond4, label %29, label %32

29:                                               ; preds = %20
  %30 = call zeroext i8 @_glewInit_GLX_VERSION_1_3()
  %.not252 = icmp eq i8 %30, 0
  %31 = zext i1 %.not252 to i8
  store i8 %31, ptr @__GLXEW_VERSION_1_3, align 1, !tbaa !9
  br label %32

32:                                               ; preds = %20, %29
  %33 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.1, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %33, ptr @__GLXEW_3DFX_multisample, align 1, !tbaa !9
  %34 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.2, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %34, ptr @__GLXEW_AMD_gpu_association, align 1, !tbaa !9
  %35 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %36 = icmp ne i8 %35, 0
  %37 = icmp ne i8 %34, 0
  %or.cond7 = select i1 %36, i1 true, i1 %37
  br i1 %or.cond7, label %38, label %41

38:                                               ; preds = %32
  %39 = call zeroext i8 @_glewInit_GLX_AMD_gpu_association()
  %.not253 = icmp eq i8 %39, 0
  %40 = zext i1 %.not253 to i8
  store i8 %40, ptr @__GLXEW_AMD_gpu_association, align 1, !tbaa !9
  br label %41

41:                                               ; preds = %32, %38
  %42 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.3, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %42, ptr @__GLXEW_ARB_context_flush_control, align 1, !tbaa !9
  %43 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.4, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %43, ptr @__GLXEW_ARB_create_context, align 1, !tbaa !9
  %44 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %45 = icmp ne i8 %44, 0
  %46 = icmp ne i8 %43, 0
  %or.cond10 = select i1 %45, i1 true, i1 %46
  br i1 %or.cond10, label %47, label %50

47:                                               ; preds = %41
  %48 = call zeroext i8 @_glewInit_GLX_ARB_create_context()
  %.not254 = icmp eq i8 %48, 0
  %49 = zext i1 %.not254 to i8
  store i8 %49, ptr @__GLXEW_ARB_create_context, align 1, !tbaa !9
  br label %50

50:                                               ; preds = %41, %47
  %51 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.5, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %51, ptr @__GLXEW_ARB_create_context_no_error, align 1, !tbaa !9
  %52 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.6, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %52, ptr @__GLXEW_ARB_create_context_profile, align 1, !tbaa !9
  %53 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.7, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %53, ptr @__GLXEW_ARB_create_context_robustness, align 1, !tbaa !9
  %54 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.8, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %54, ptr @__GLXEW_ARB_fbconfig_float, align 1, !tbaa !9
  %55 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.9, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %55, ptr @__GLXEW_ARB_framebuffer_sRGB, align 1, !tbaa !9
  %56 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.10, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %56, ptr @__GLXEW_ARB_get_proc_address, align 1, !tbaa !9
  %57 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.11, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %57, ptr @__GLXEW_ARB_multisample, align 1, !tbaa !9
  %58 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.12, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %58, ptr @__GLXEW_ARB_robustness_application_isolation, align 1, !tbaa !9
  %59 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.13, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %59, ptr @__GLXEW_ARB_robustness_share_group_isolation, align 1, !tbaa !9
  %60 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.14, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %60, ptr @__GLXEW_ARB_vertex_buffer_object, align 1, !tbaa !9
  %61 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.15, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %61, ptr @__GLXEW_ATI_pixel_format_float, align 1, !tbaa !9
  %62 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.16, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %62, ptr @__GLXEW_ATI_render_texture, align 1, !tbaa !9
  %63 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %64 = icmp ne i8 %63, 0
  %65 = icmp ne i8 %62, 0
  %or.cond13 = select i1 %64, i1 true, i1 %65
  br i1 %or.cond13, label %66, label %69

66:                                               ; preds = %50
  %67 = call zeroext i8 @_glewInit_GLX_ATI_render_texture()
  %.not255 = icmp eq i8 %67, 0
  %68 = zext i1 %.not255 to i8
  store i8 %68, ptr @__GLXEW_ATI_render_texture, align 1, !tbaa !9
  br label %69

69:                                               ; preds = %50, %66
  %70 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.17, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %70, ptr @__GLXEW_EXT_buffer_age, align 1, !tbaa !9
  %71 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.18, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %71, ptr @__GLXEW_EXT_create_context_es2_profile, align 1, !tbaa !9
  %72 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.19, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %72, ptr @__GLXEW_EXT_create_context_es_profile, align 1, !tbaa !9
  %73 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.20, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %73, ptr @__GLXEW_EXT_fbconfig_packed_float, align 1, !tbaa !9
  %74 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.21, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %74, ptr @__GLXEW_EXT_framebuffer_sRGB, align 1, !tbaa !9
  %75 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.22, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %75, ptr @__GLXEW_EXT_import_context, align 1, !tbaa !9
  %76 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %77 = icmp ne i8 %76, 0
  %78 = icmp ne i8 %75, 0
  %or.cond16 = select i1 %77, i1 true, i1 %78
  br i1 %or.cond16, label %79, label %82

79:                                               ; preds = %69
  %80 = call zeroext i8 @_glewInit_GLX_EXT_import_context()
  %.not256 = icmp eq i8 %80, 0
  %81 = zext i1 %.not256 to i8
  store i8 %81, ptr @__GLXEW_EXT_import_context, align 1, !tbaa !9
  br label %82

82:                                               ; preds = %69, %79
  %83 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.23, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %83, ptr @__GLXEW_EXT_libglvnd, align 1, !tbaa !9
  %84 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.24, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %84, ptr @__GLXEW_EXT_scene_marker, align 1, !tbaa !9
  %85 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.25, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %85, ptr @__GLXEW_EXT_stereo_tree, align 1, !tbaa !9
  %86 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.26, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %86, ptr @__GLXEW_EXT_swap_control, align 1, !tbaa !9
  %87 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %88 = icmp ne i8 %87, 0
  %89 = icmp ne i8 %86, 0
  %or.cond19 = select i1 %88, i1 true, i1 %89
  br i1 %or.cond19, label %90, label %93

90:                                               ; preds = %82
  %91 = call zeroext i8 @_glewInit_GLX_EXT_swap_control()
  %.not257 = icmp eq i8 %91, 0
  %92 = zext i1 %.not257 to i8
  store i8 %92, ptr @__GLXEW_EXT_swap_control, align 1, !tbaa !9
  br label %93

93:                                               ; preds = %82, %90
  %94 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.27, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %94, ptr @__GLXEW_EXT_swap_control_tear, align 1, !tbaa !9
  %95 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.28, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %95, ptr @__GLXEW_EXT_texture_from_pixmap, align 1, !tbaa !9
  %96 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %97 = icmp ne i8 %96, 0
  %98 = icmp ne i8 %95, 0
  %or.cond22 = select i1 %97, i1 true, i1 %98
  br i1 %or.cond22, label %99, label %102

99:                                               ; preds = %93
  %100 = call zeroext i8 @_glewInit_GLX_EXT_texture_from_pixmap()
  %.not258 = icmp eq i8 %100, 0
  %101 = zext i1 %.not258 to i8
  store i8 %101, ptr @__GLXEW_EXT_texture_from_pixmap, align 1, !tbaa !9
  br label %102

102:                                              ; preds = %93, %99
  %103 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.29, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %103, ptr @__GLXEW_EXT_visual_info, align 1, !tbaa !9
  %104 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.30, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %104, ptr @__GLXEW_EXT_visual_rating, align 1, !tbaa !9
  %105 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.31, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %105, ptr @__GLXEW_INTEL_swap_event, align 1, !tbaa !9
  %106 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.32, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %106, ptr @__GLXEW_MESA_agp_offset, align 1, !tbaa !9
  %107 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %108 = icmp ne i8 %107, 0
  %109 = icmp ne i8 %106, 0
  %or.cond25 = select i1 %108, i1 true, i1 %109
  br i1 %or.cond25, label %110, label %113

110:                                              ; preds = %102
  %111 = call zeroext i8 @_glewInit_GLX_MESA_agp_offset()
  %.not259 = icmp eq i8 %111, 0
  %112 = zext i1 %.not259 to i8
  store i8 %112, ptr @__GLXEW_MESA_agp_offset, align 1, !tbaa !9
  br label %113

113:                                              ; preds = %102, %110
  %114 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.33, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %114, ptr @__GLXEW_MESA_copy_sub_buffer, align 1, !tbaa !9
  %115 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %116 = icmp ne i8 %115, 0
  %117 = icmp ne i8 %114, 0
  %or.cond28 = select i1 %116, i1 true, i1 %117
  br i1 %or.cond28, label %118, label %121

118:                                              ; preds = %113
  %119 = call zeroext i8 @_glewInit_GLX_MESA_copy_sub_buffer()
  %.not260 = icmp eq i8 %119, 0
  %120 = zext i1 %.not260 to i8
  store i8 %120, ptr @__GLXEW_MESA_copy_sub_buffer, align 1, !tbaa !9
  br label %121

121:                                              ; preds = %113, %118
  %122 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.34, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %122, ptr @__GLXEW_MESA_pixmap_colormap, align 1, !tbaa !9
  %123 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %124 = icmp ne i8 %123, 0
  %125 = icmp ne i8 %122, 0
  %or.cond31 = select i1 %124, i1 true, i1 %125
  br i1 %or.cond31, label %126, label %129

126:                                              ; preds = %121
  %127 = call zeroext i8 @_glewInit_GLX_MESA_pixmap_colormap()
  %.not261 = icmp eq i8 %127, 0
  %128 = zext i1 %.not261 to i8
  store i8 %128, ptr @__GLXEW_MESA_pixmap_colormap, align 1, !tbaa !9
  br label %129

129:                                              ; preds = %121, %126
  %130 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.35, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %130, ptr @__GLXEW_MESA_query_renderer, align 1, !tbaa !9
  %131 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %132 = icmp ne i8 %131, 0
  %133 = icmp ne i8 %130, 0
  %or.cond34 = select i1 %132, i1 true, i1 %133
  br i1 %or.cond34, label %134, label %137

134:                                              ; preds = %129
  %135 = call zeroext i8 @_glewInit_GLX_MESA_query_renderer()
  %.not262 = icmp eq i8 %135, 0
  %136 = zext i1 %.not262 to i8
  store i8 %136, ptr @__GLXEW_MESA_query_renderer, align 1, !tbaa !9
  br label %137

137:                                              ; preds = %129, %134
  %138 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.36, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %138, ptr @__GLXEW_MESA_release_buffers, align 1, !tbaa !9
  %139 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %140 = icmp ne i8 %139, 0
  %141 = icmp ne i8 %138, 0
  %or.cond37 = select i1 %140, i1 true, i1 %141
  br i1 %or.cond37, label %142, label %145

142:                                              ; preds = %137
  %143 = call zeroext i8 @_glewInit_GLX_MESA_release_buffers()
  %.not263 = icmp eq i8 %143, 0
  %144 = zext i1 %.not263 to i8
  store i8 %144, ptr @__GLXEW_MESA_release_buffers, align 1, !tbaa !9
  br label %145

145:                                              ; preds = %137, %142
  %146 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.37, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %146, ptr @__GLXEW_MESA_set_3dfx_mode, align 1, !tbaa !9
  %147 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %148 = icmp ne i8 %147, 0
  %149 = icmp ne i8 %146, 0
  %or.cond40 = select i1 %148, i1 true, i1 %149
  br i1 %or.cond40, label %150, label %153

150:                                              ; preds = %145
  %151 = call zeroext i8 @_glewInit_GLX_MESA_set_3dfx_mode()
  %.not264 = icmp eq i8 %151, 0
  %152 = zext i1 %.not264 to i8
  store i8 %152, ptr @__GLXEW_MESA_set_3dfx_mode, align 1, !tbaa !9
  br label %153

153:                                              ; preds = %145, %150
  %154 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.38, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %154, ptr @__GLXEW_MESA_swap_control, align 1, !tbaa !9
  %155 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %156 = icmp ne i8 %155, 0
  %157 = icmp ne i8 %154, 0
  %or.cond43 = select i1 %156, i1 true, i1 %157
  br i1 %or.cond43, label %158, label %161

158:                                              ; preds = %153
  %159 = call zeroext i8 @_glewInit_GLX_MESA_swap_control()
  %.not265 = icmp eq i8 %159, 0
  %160 = zext i1 %.not265 to i8
  store i8 %160, ptr @__GLXEW_MESA_swap_control, align 1, !tbaa !9
  br label %161

161:                                              ; preds = %153, %158
  %162 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.39, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %162, ptr @__GLXEW_NV_copy_buffer, align 1, !tbaa !9
  %163 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %164 = icmp ne i8 %163, 0
  %165 = icmp ne i8 %162, 0
  %or.cond46 = select i1 %164, i1 true, i1 %165
  br i1 %or.cond46, label %166, label %169

166:                                              ; preds = %161
  %167 = call zeroext i8 @_glewInit_GLX_NV_copy_buffer()
  %.not266 = icmp eq i8 %167, 0
  %168 = zext i1 %.not266 to i8
  store i8 %168, ptr @__GLXEW_NV_copy_buffer, align 1, !tbaa !9
  br label %169

169:                                              ; preds = %161, %166
  %170 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.40, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %170, ptr @__GLXEW_NV_copy_image, align 1, !tbaa !9
  %171 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %172 = icmp ne i8 %171, 0
  %173 = icmp ne i8 %170, 0
  %or.cond49 = select i1 %172, i1 true, i1 %173
  br i1 %or.cond49, label %174, label %177

174:                                              ; preds = %169
  %175 = call zeroext i8 @_glewInit_GLX_NV_copy_image()
  %.not267 = icmp eq i8 %175, 0
  %176 = zext i1 %.not267 to i8
  store i8 %176, ptr @__GLXEW_NV_copy_image, align 1, !tbaa !9
  br label %177

177:                                              ; preds = %169, %174
  %178 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.41, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %178, ptr @__GLXEW_NV_delay_before_swap, align 1, !tbaa !9
  %179 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %180 = icmp ne i8 %179, 0
  %181 = icmp ne i8 %178, 0
  %or.cond52 = select i1 %180, i1 true, i1 %181
  br i1 %or.cond52, label %182, label %185

182:                                              ; preds = %177
  %183 = call zeroext i8 @_glewInit_GLX_NV_delay_before_swap()
  %.not268 = icmp eq i8 %183, 0
  %184 = zext i1 %.not268 to i8
  store i8 %184, ptr @__GLXEW_NV_delay_before_swap, align 1, !tbaa !9
  br label %185

185:                                              ; preds = %177, %182
  %186 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.42, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %186, ptr @__GLXEW_NV_float_buffer, align 1, !tbaa !9
  %187 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.43, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %187, ptr @__GLXEW_NV_multisample_coverage, align 1, !tbaa !9
  %188 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.44, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %188, ptr @__GLXEW_NV_present_video, align 1, !tbaa !9
  %189 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %190 = icmp ne i8 %189, 0
  %191 = icmp ne i8 %188, 0
  %or.cond55 = select i1 %190, i1 true, i1 %191
  br i1 %or.cond55, label %192, label %195

192:                                              ; preds = %185
  %193 = call zeroext i8 @_glewInit_GLX_NV_present_video()
  %.not269 = icmp eq i8 %193, 0
  %194 = zext i1 %.not269 to i8
  store i8 %194, ptr @__GLXEW_NV_present_video, align 1, !tbaa !9
  br label %195

195:                                              ; preds = %185, %192
  %196 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.45, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %196, ptr @__GLXEW_NV_robustness_video_memory_purge, align 1, !tbaa !9
  %197 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.46, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %197, ptr @__GLXEW_NV_swap_group, align 1, !tbaa !9
  %198 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %199 = icmp ne i8 %198, 0
  %200 = icmp ne i8 %197, 0
  %or.cond58 = select i1 %199, i1 true, i1 %200
  br i1 %or.cond58, label %201, label %204

201:                                              ; preds = %195
  %202 = call zeroext i8 @_glewInit_GLX_NV_swap_group()
  %.not270 = icmp eq i8 %202, 0
  %203 = zext i1 %.not270 to i8
  store i8 %203, ptr @__GLXEW_NV_swap_group, align 1, !tbaa !9
  br label %204

204:                                              ; preds = %195, %201
  %205 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.47, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %205, ptr @__GLXEW_NV_vertex_array_range, align 1, !tbaa !9
  %206 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %207 = icmp ne i8 %206, 0
  %208 = icmp ne i8 %205, 0
  %or.cond61 = select i1 %207, i1 true, i1 %208
  br i1 %or.cond61, label %209, label %212

209:                                              ; preds = %204
  %210 = call zeroext i8 @_glewInit_GLX_NV_vertex_array_range()
  %.not271 = icmp eq i8 %210, 0
  %211 = zext i1 %.not271 to i8
  store i8 %211, ptr @__GLXEW_NV_vertex_array_range, align 1, !tbaa !9
  br label %212

212:                                              ; preds = %204, %209
  %213 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.48, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %213, ptr @__GLXEW_NV_video_capture, align 1, !tbaa !9
  %214 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %215 = icmp ne i8 %214, 0
  %216 = icmp ne i8 %213, 0
  %or.cond64 = select i1 %215, i1 true, i1 %216
  br i1 %or.cond64, label %217, label %220

217:                                              ; preds = %212
  %218 = call zeroext i8 @_glewInit_GLX_NV_video_capture()
  %.not272 = icmp eq i8 %218, 0
  %219 = zext i1 %.not272 to i8
  store i8 %219, ptr @__GLXEW_NV_video_capture, align 1, !tbaa !9
  br label %220

220:                                              ; preds = %212, %217
  %221 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.49, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %221, ptr @__GLXEW_NV_video_out, align 1, !tbaa !9
  %222 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %223 = icmp ne i8 %222, 0
  %224 = icmp ne i8 %221, 0
  %or.cond67 = select i1 %223, i1 true, i1 %224
  br i1 %or.cond67, label %225, label %228

225:                                              ; preds = %220
  %226 = call zeroext i8 @_glewInit_GLX_NV_video_out()
  %.not273 = icmp eq i8 %226, 0
  %227 = zext i1 %.not273 to i8
  store i8 %227, ptr @__GLXEW_NV_video_out, align 1, !tbaa !9
  br label %228

228:                                              ; preds = %220, %225
  %229 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.50, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %229, ptr @__GLXEW_OML_swap_method, align 1, !tbaa !9
  %230 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.51, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %230, ptr @__GLXEW_OML_sync_control, align 1, !tbaa !9
  %231 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %232 = icmp ne i8 %231, 0
  %233 = icmp ne i8 %230, 0
  %or.cond70 = select i1 %232, i1 true, i1 %233
  br i1 %or.cond70, label %234, label %237

234:                                              ; preds = %228
  %235 = call zeroext i8 @_glewInit_GLX_OML_sync_control()
  %.not274 = icmp eq i8 %235, 0
  %236 = zext i1 %.not274 to i8
  store i8 %236, ptr @__GLXEW_OML_sync_control, align 1, !tbaa !9
  br label %237

237:                                              ; preds = %228, %234
  %238 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.52, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %238, ptr @__GLXEW_SGIS_blended_overlay, align 1, !tbaa !9
  %239 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.53, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %239, ptr @__GLXEW_SGIS_color_range, align 1, !tbaa !9
  %240 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.54, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %240, ptr @__GLXEW_SGIS_multisample, align 1, !tbaa !9
  %241 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.55, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %241, ptr @__GLXEW_SGIS_shared_multisample, align 1, !tbaa !9
  %242 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.56, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %242, ptr @__GLXEW_SGIX_fbconfig, align 1, !tbaa !9
  %243 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %244 = icmp ne i8 %243, 0
  %245 = icmp ne i8 %242, 0
  %or.cond73 = select i1 %244, i1 true, i1 %245
  br i1 %or.cond73, label %246, label %249

246:                                              ; preds = %237
  %247 = call zeroext i8 @_glewInit_GLX_SGIX_fbconfig()
  %.not275 = icmp eq i8 %247, 0
  %248 = zext i1 %.not275 to i8
  store i8 %248, ptr @__GLXEW_SGIX_fbconfig, align 1, !tbaa !9
  br label %249

249:                                              ; preds = %237, %246
  %250 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.57, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %250, ptr @__GLXEW_SGIX_hyperpipe, align 1, !tbaa !9
  %251 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %252 = icmp ne i8 %251, 0
  %253 = icmp ne i8 %250, 0
  %or.cond76 = select i1 %252, i1 true, i1 %253
  br i1 %or.cond76, label %254, label %257

254:                                              ; preds = %249
  %255 = call zeroext i8 @_glewInit_GLX_SGIX_hyperpipe()
  %.not276 = icmp eq i8 %255, 0
  %256 = zext i1 %.not276 to i8
  store i8 %256, ptr @__GLXEW_SGIX_hyperpipe, align 1, !tbaa !9
  br label %257

257:                                              ; preds = %249, %254
  %258 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.58, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %258, ptr @__GLXEW_SGIX_pbuffer, align 1, !tbaa !9
  %259 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %260 = icmp ne i8 %259, 0
  %261 = icmp ne i8 %258, 0
  %or.cond79 = select i1 %260, i1 true, i1 %261
  br i1 %or.cond79, label %262, label %265

262:                                              ; preds = %257
  %263 = call zeroext i8 @_glewInit_GLX_SGIX_pbuffer()
  %.not277 = icmp eq i8 %263, 0
  %264 = zext i1 %.not277 to i8
  store i8 %264, ptr @__GLXEW_SGIX_pbuffer, align 1, !tbaa !9
  br label %265

265:                                              ; preds = %257, %262
  %266 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.59, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %266, ptr @__GLXEW_SGIX_swap_barrier, align 1, !tbaa !9
  %267 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %268 = icmp ne i8 %267, 0
  %269 = icmp ne i8 %266, 0
  %or.cond82 = select i1 %268, i1 true, i1 %269
  br i1 %or.cond82, label %270, label %273

270:                                              ; preds = %265
  %271 = call zeroext i8 @_glewInit_GLX_SGIX_swap_barrier()
  %.not278 = icmp eq i8 %271, 0
  %272 = zext i1 %.not278 to i8
  store i8 %272, ptr @__GLXEW_SGIX_swap_barrier, align 1, !tbaa !9
  br label %273

273:                                              ; preds = %265, %270
  %274 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.60, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %274, ptr @__GLXEW_SGIX_swap_group, align 1, !tbaa !9
  %275 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %276 = icmp ne i8 %275, 0
  %277 = icmp ne i8 %274, 0
  %or.cond85 = select i1 %276, i1 true, i1 %277
  br i1 %or.cond85, label %278, label %281

278:                                              ; preds = %273
  %279 = call zeroext i8 @_glewInit_GLX_SGIX_swap_group()
  %.not279 = icmp eq i8 %279, 0
  %280 = zext i1 %.not279 to i8
  store i8 %280, ptr @__GLXEW_SGIX_swap_group, align 1, !tbaa !9
  br label %281

281:                                              ; preds = %273, %278
  %282 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.61, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %282, ptr @__GLXEW_SGIX_video_resize, align 1, !tbaa !9
  %283 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %284 = icmp ne i8 %283, 0
  %285 = icmp ne i8 %282, 0
  %or.cond88 = select i1 %284, i1 true, i1 %285
  br i1 %or.cond88, label %286, label %289

286:                                              ; preds = %281
  %287 = call zeroext i8 @_glewInit_GLX_SGIX_video_resize()
  %.not280 = icmp eq i8 %287, 0
  %288 = zext i1 %.not280 to i8
  store i8 %288, ptr @__GLXEW_SGIX_video_resize, align 1, !tbaa !9
  br label %289

289:                                              ; preds = %281, %286
  %290 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.62, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %290, ptr @__GLXEW_SGIX_visual_select_group, align 1, !tbaa !9
  %291 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.63, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %291, ptr @__GLXEW_SGI_cushion, align 1, !tbaa !9
  %292 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %293 = icmp ne i8 %292, 0
  %294 = icmp ne i8 %291, 0
  %or.cond91 = select i1 %293, i1 true, i1 %294
  br i1 %or.cond91, label %295, label %298

295:                                              ; preds = %289
  %296 = call zeroext i8 @_glewInit_GLX_SGI_cushion()
  %.not281 = icmp eq i8 %296, 0
  %297 = zext i1 %.not281 to i8
  store i8 %297, ptr @__GLXEW_SGI_cushion, align 1, !tbaa !9
  br label %298

298:                                              ; preds = %289, %295
  %299 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.64, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %299, ptr @__GLXEW_SGI_make_current_read, align 1, !tbaa !9
  %300 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %301 = icmp ne i8 %300, 0
  %302 = icmp ne i8 %299, 0
  %or.cond94 = select i1 %301, i1 true, i1 %302
  br i1 %or.cond94, label %303, label %306

303:                                              ; preds = %298
  %304 = call zeroext i8 @_glewInit_GLX_SGI_make_current_read()
  %.not282 = icmp eq i8 %304, 0
  %305 = zext i1 %.not282 to i8
  store i8 %305, ptr @__GLXEW_SGI_make_current_read, align 1, !tbaa !9
  br label %306

306:                                              ; preds = %298, %303
  %307 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.65, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %307, ptr @__GLXEW_SGI_swap_control, align 1, !tbaa !9
  %308 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %309 = icmp ne i8 %308, 0
  %310 = icmp ne i8 %307, 0
  %or.cond97 = select i1 %309, i1 true, i1 %310
  br i1 %or.cond97, label %311, label %314

311:                                              ; preds = %306
  %312 = call zeroext i8 @_glewInit_GLX_SGI_swap_control()
  %.not283 = icmp eq i8 %312, 0
  %313 = zext i1 %.not283 to i8
  store i8 %313, ptr @__GLXEW_SGI_swap_control, align 1, !tbaa !9
  br label %314

314:                                              ; preds = %306, %311
  %315 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.66, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %315, ptr @__GLXEW_SGI_video_sync, align 1, !tbaa !9
  %316 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %317 = icmp ne i8 %316, 0
  %318 = icmp ne i8 %315, 0
  %or.cond100 = select i1 %317, i1 true, i1 %318
  br i1 %or.cond100, label %319, label %322

319:                                              ; preds = %314
  %320 = call zeroext i8 @_glewInit_GLX_SGI_video_sync()
  %.not284 = icmp eq i8 %320, 0
  %321 = zext i1 %.not284 to i8
  store i8 %321, ptr @__GLXEW_SGI_video_sync, align 1, !tbaa !9
  br label %322

322:                                              ; preds = %314, %319
  %323 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.67, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %323, ptr @__GLXEW_SUN_get_transparent_index, align 1, !tbaa !9
  %324 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %325 = icmp ne i8 %324, 0
  %326 = icmp ne i8 %323, 0
  %or.cond103 = select i1 %325, i1 true, i1 %326
  br i1 %or.cond103, label %327, label %330

327:                                              ; preds = %322
  %328 = call zeroext i8 @_glewInit_GLX_SUN_get_transparent_index()
  %.not285 = icmp eq i8 %328, 0
  %329 = zext i1 %.not285 to i8
  store i8 %329, ptr @__GLXEW_SUN_get_transparent_index, align 1, !tbaa !9
  br label %330

330:                                              ; preds = %322, %327
  %331 = call zeroext i8 @_glewSearchExtension(ptr noundef nonnull @.str.68, ptr noundef nonnull %spec.store.select, ptr noundef nonnull %24)
  store i8 %331, ptr @__GLXEW_SUN_video_resize, align 1, !tbaa !9
  %332 = load i8, ptr @glewExperimental, align 1, !tbaa !9
  %333 = icmp ne i8 %332, 0
  %334 = icmp ne i8 %331, 0
  %or.cond106 = select i1 %333, i1 true, i1 %334
  br i1 %or.cond106, label %335, label %338

335:                                              ; preds = %330
  %336 = call zeroext i8 @_glewInit_GLX_SUN_video_resize()
  %.not286 = icmp eq i8 %336, 0
  %337 = zext i1 %.not286 to i8
  store i8 %337, ptr @__GLXEW_SUN_video_resize, align 1, !tbaa !9
  br label %338

338:                                              ; preds = %335, %330, %14, %4, %0
  %.0 = phi i32 [ 3, %0 ], [ 4, %4 ], [ 3, %14 ], [ 0, %330 ], [ 0, %335 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
  ret i32 %.0
}

declare i32 @glXQueryVersion(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_VERSION_1_2() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_VERSION_1_3() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_AMD_gpu_association() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_ARB_create_context() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_ATI_render_texture() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_EXT_import_context() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_EXT_swap_control() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_EXT_texture_from_pixmap() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_MESA_agp_offset() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_MESA_copy_sub_buffer() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_MESA_pixmap_colormap() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_MESA_query_renderer() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_MESA_release_buffers() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_MESA_set_3dfx_mode() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_MESA_swap_control() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_NV_copy_buffer() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_NV_copy_image() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_NV_delay_before_swap() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_NV_present_video() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_NV_swap_group() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_NV_vertex_array_range() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_NV_video_capture() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_NV_video_out() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_OML_sync_control() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SGIX_fbconfig() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SGIX_hyperpipe() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SGIX_pbuffer() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SGIX_swap_barrier() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SGIX_swap_group() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SGIX_video_resize() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SGI_cushion() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SGI_make_current_read() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SGI_swap_control() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SGI_video_sync() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SUN_get_transparent_index() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden zeroext i8 @_glewInit_GLX_SUN_video_resize() local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}


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