; LLVM IR from erincatto/box2d-lite :: extern/glfw/src (input)

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

%struct._GLFWlibrary = type { i32, %struct.anon.0, ptr, ptr, ptr, ptr, i32, [16 x %struct._GLFWjoystick], ptr, i32, %struct._GLFWtls, %struct._GLFWtls, %struct._GLFWmutex, %struct.anon.5, %struct.anon.6, %struct.anon.7, %struct._GLFWlibraryX11, %struct._GLFWlibraryGLX, %struct._GLFWlibraryLinux, %struct._GLFWlibraryEGL, %struct._GLFWlibraryOSMesa }
%struct.anon.0 = type { %struct._GLFWinitconfig, %struct._GLFWfbconfig, %struct._GLFWwndconfig, %struct._GLFWctxconfig, i32 }
%struct._GLFWinitconfig = type { i32, %struct.anon.1 }
%struct.anon.1 = type { i32, i32 }
%struct._GLFWfbconfig = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64 }
%struct._GLFWwndconfig = type { i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.anon.2, %struct.anon.3 }
%struct.anon.2 = type { i32, [256 x i8] }
%struct.anon.3 = type { [256 x i8], [256 x i8] }
%struct._GLFWctxconfig = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, %struct.anon.4 }
%struct.anon.4 = type { i32 }
%struct._GLFWjoystick = type { i32, ptr, i32, ptr, i32, ptr, i32, ptr, ptr, [33 x i8], ptr, %struct._GLFWjoystickLinux }
%struct._GLFWjoystickLinux = type { i32, [4096 x i8], [512 x i32], [64 x i32], [64 x %struct.input_absinfo], [4 x [2 x i32]] }
%struct.input_absinfo = type { i32, i32, i32, i32, i32, i32 }
%struct._GLFWtls = type { %struct._GLFWtlsPOSIX }
%struct._GLFWtlsPOSIX = type { i32, i32 }
%struct._GLFWmutex = type { %struct._GLFWmutexPOSIX }
%struct._GLFWmutexPOSIX = type { i32, %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%struct.anon.5 = type { i64, %struct._GLFWtimerPOSIX }
%struct._GLFWtimerPOSIX = type { i32, i64 }
%struct.anon.6 = type { i32, ptr, [2 x ptr], ptr, ptr, i32, i32, i32 }
%struct.anon.7 = type { ptr, ptr }
%struct._GLFWlibraryX11 = type { ptr, i32, i64, float, float, i64, i64, i32, ptr, i32, ptr, ptr, [5 x i8], [256 x i16], [349 x i16], double, double, ptr, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, %struct.anon.8, %struct.anon.9, %struct.anon.10, %struct.anon.11, %struct.anon.12, %struct.anon.13, %struct.anon.14, %struct.anon.15, %struct.anon.16, %struct.anon.17 }
%struct.anon.8 = type { i32, ptr, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.anon.9 = type { i32, i32, i32, i32, i32, i32, i32 }
%struct.anon.10 = type { i32, i32, i32, i32, i32 }
%struct.anon.11 = type { i32, i64, i64 }
%struct.anon.12 = type { ptr, ptr, ptr, ptr }
%struct.anon.13 = type { i32, ptr, i32, i32, ptr, ptr, ptr }
%struct.anon.14 = type { ptr, ptr }
%struct.anon.15 = type { i32, ptr, i32, i32, ptr, ptr, ptr, ptr }
%struct.anon.16 = type { i32, ptr, i32, i32, i32, i32, i32, ptr, ptr }
%struct.anon.17 = type { i32, ptr, i32, i32, i32, i32, ptr, ptr, ptr }
%struct._GLFWlibraryGLX = type { i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct._GLFWlibraryLinux = type { i32, i32, %struct.re_pattern_buffer, i32 }
%struct.re_pattern_buffer = type { ptr, i64, i64, i64, ptr, ptr, i64, i8 }
%struct._GLFWlibraryEGL = type { ptr, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct._GLFWlibraryOSMesa = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct._GLFWwindow = type { ptr, i32, i32, i32, i32, i32, i32, ptr, %struct.GLFWvidmode, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [8 x i8], [349 x i8], double, double, %struct._GLFWcontext, %struct.anon, %struct._GLFWwindowX11 }
%struct.GLFWvidmode = type { i32, i32, i32, i32, i32, i32 }
%struct._GLFWcontext = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct._GLFWcontextGLX, %struct._GLFWcontextEGL, %struct._GLFWcontextOSMesa }
%struct._GLFWcontextGLX = type { ptr, i64 }
%struct._GLFWcontextEGL = type { ptr, ptr, ptr, ptr }
%struct._GLFWcontextOSMesa = type { ptr, i32, i32, ptr }
%struct.anon = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct._GLFWwindowX11 = type { i64, i64, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64 }

@_glfw = external global %struct._GLFWlibrary, align 8
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [26 x i8], align 1
@__PRETTY_FUNCTION__.glfwSetInputMode = external hidden unnamed_addr constant [46 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [27 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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

declare void @_glfwInputError(i32 noundef, ptr noundef, ...) #2

; Function Attrs: nounwind uwtable
define dso_local void @glfwSetInputMode(ptr noundef %0, i32 noundef %1, i32 noundef %2) #3 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %11 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %11, ptr %7, align 8, !tbaa !5
  %12 = load ptr, ptr %7, align 8, !tbaa !5
  %13 = icmp ne ptr %12, null
  br i1 %13, label %14, label %15

14:                                               ; preds = %3
  br label %16

15:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 487, ptr noundef @__PRETTY_FUNCTION__.glfwSetInputMode) #5
  unreachable

16:                                               ; preds = %14
  %17 = load i32, ptr @_glfw, align 8, !tbaa !11
  %18 = icmp ne i32 %17, 0
  br i1 %18, label %20, label %19

19:                                               ; preds = %16
  call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65537, ptr noundef null)
  store i32 1, ptr %8, align 4
  br label %158

20:                                               ; preds = %16
  %21 = load i32, ptr %5, align 4, !tbaa !9
  %22 = icmp eq i32 %21, 208897
  br i1 %22, label %23, label %52

23:                                               ; preds = %20
  %24 = load i32, ptr %6, align 4, !tbaa !9
  %25 = icmp ne i32 %24, 212993
  br i1 %25, label %26, label %34

26:                                               ; preds = %23
  %27 = load i32, ptr %6, align 4, !tbaa !9
  %28 = icmp ne i32 %27, 212994
  br i1 %28, label %29, label %34

29:                                               ; preds = %26
  %30 = load i32, ptr %6, align 4, !tbaa !9
  %31 = icmp ne i32 %30, 212995
  br i1 %31, label %32, label %34

32:                                               ; preds = %29
  %33 = load i32, ptr %6, align 4, !tbaa !9
  call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65539, ptr noundef @.str.3, i32 noundef %33)
  store i32 1, ptr %8, align 4
  br label %158

34:                                               ; preds = %29, %26, %23
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct._GLFWwindow, ptr %35, i32 0, i32 20
  %37 = load i32, ptr %36, align 4, !tbaa !48
  %38 = load i32, ptr %6, align 4, !tbaa !9
  %39 = icmp eq i32 %37, %38
  br i1 %39, label %40, label %41

40:                                               ; preds = %34
  store i32 1, ptr %8, align 4
  br label %158

41:                                               ; preds = %34
  %42 = load i32, ptr %6, align 4, !tbaa !9
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct._GLFWwindow, ptr %43, i32 0, i32 20
  store i32 %42, ptr %44, align 4, !tbaa !48
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct._GLFWwindow, ptr %46, i32 0, i32 23
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct._GLFWwindow, ptr %48, i32 0, i32 24
  call void @_glfwPlatformGetCursorPos(ptr noundef %45, ptr noundef %47, ptr noundef %49)
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = load i32, ptr %6, align 4, !tbaa !9
  call void @_glfwPlatformSetCursorMode(ptr noundef %50, i32 noundef %51)
  br label %157

52:                                               ; preds = %20
  %53 = load i32, ptr %5, align 4, !tbaa !9
  %54 = icmp eq i32 %53, 208898
  br i1 %54, label %55, label %97

55:                                               ; preds = %52
  %56 = load i32, ptr %6, align 4, !tbaa !9
  %57 = icmp ne i32 %56, 0
  %58 = zext i1 %57 to i64
  %59 = select i1 %57, i32 1, i32 0
  store i32 %59, ptr %6, align 4, !tbaa !9
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct._GLFWwindow, ptr %60, i32 0, i32 17
  %62 = load i32, ptr %61, align 8, !tbaa !57
  %63 = load i32, ptr %6, align 4, !tbaa !9
  %64 = icmp eq i32 %62, %63
  br i1 %64, label %65, label %66

65:                                               ; preds = %55
  store i32 1, ptr %8, align 4
  br label %158

66:                                               ; preds = %55
  %67 = load i32, ptr %6, align 4, !tbaa !9
  %68 = icmp ne i32 %67, 0
  br i1 %68, label %93, label %69

69:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %70

70:                                               ; preds = %89, %69
  %71 = load i32, ptr %9, align 4, !tbaa !9
  %72 = icmp sle i32 %71, 348
  br i1 %72, label %73, label %92

73:                                               ; preds = %70
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct._GLFWwindow, ptr %74, i32 0, i32 22
  %76 = load i32, ptr %9, align 4, !tbaa !9
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [349 x i8], ptr %75, i64 0, i64 %77
  %79 = load i8, ptr %78, align 1, !tbaa !58
  %80 = sext i8 %79 to i32
  %81 = icmp eq i32 %80, 3
  br i1 %81, label %82, label %88

82:                                               ; preds = %73
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct._GLFWwindow, ptr %83, i32 0, i32 22
  %85 = load i32, ptr %9, align 4, !tbaa !9
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds [349 x i8], ptr %84, i64 0, i64 %86
  store i8 0, ptr %87, align 1, !tbaa !58
  br label %88

88:                                               ; preds = %82, %73
  br label %89

89:                                               ; preds = %88
  %90 = load i32, ptr %9, align 4, !tbaa !9
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %9, align 4, !tbaa !9
  br label %70, !llvm.loop !59

92:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %93

93:                                               ; preds = %92, %66
  %94 = load i32, ptr %6, align 4, !tbaa !9
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct._GLFWwindow, ptr %95, i32 0, i32 17
  store i32 %94, ptr %96, align 8, !tbaa !57
  br label %156

97:                                               ; preds = %52
  %98 = load i32, ptr %5, align 4, !tbaa !9
  %99 = icmp eq i32 %98, 208899
  br i1 %99, label %100, label %142

100:                                              ; preds = %97
  %101 = load i32, ptr %6, align 4, !tbaa !9
  %102 = icmp ne i32 %101, 0
  %103 = zext i1 %102 to i64
  %104 = select i1 %102, i32 1, i32 0
  store i32 %104, ptr %6, align 4, !tbaa !9
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct._GLFWwindow, ptr %105, i32 0, i32 18
  %107 = load i32, ptr %106, align 4, !tbaa !61
  %108 = load i32, ptr %6, align 4, !tbaa !9
  %109 = icmp eq i32 %107, %108
  br i1 %109, label %110, label %111

110:                                              ; preds = %100
  store i32 1, ptr %8, align 4
  br label %158

111:                                              ; preds = %100
  %112 = load i32, ptr %6, align 4, !tbaa !9
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %138, label %114

114:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %115

115:                                              ; preds = %134, %114
  %116 = load i32, ptr %10, align 4, !tbaa !9
  %117 = icmp sle i32 %116, 7
  br i1 %117, label %118, label %137

118:                                              ; preds = %115
  %119 = load ptr, ptr %7, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct._GLFWwindow, ptr %119, i32 0, i32 21
  %121 = load i32, ptr %10, align 4, !tbaa !9
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [8 x i8], ptr %120, i64 0, i64 %122
  %124 = load i8, ptr %123, align 1, !tbaa !58
  %125 = sext i8 %124 to i32
  %126 = icmp eq i32 %125, 3
  br i1 %126, label %127, label %133

127:                                              ; preds = %118
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct._GLFWwindow, ptr %128, i32 0, i32 21
  %130 = load i32, ptr %10, align 4, !tbaa !9
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds [8 x i8], ptr %129, i64 0, i64 %131
  store i8 0, ptr %132, align 1, !tbaa !58
  br label %133

133:                                              ; preds = %127, %118
  br label %134

134:                                              ; preds = %133
  %135 = load i32, ptr %10, align 4, !tbaa !9
  %136 = add nsw i32 %135, 1
  store i32 %136, ptr %10, align 4, !tbaa !9
  br label %115, !llvm.loop !62

137:                                              ; preds = %115
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %138

138:                                              ; preds = %137, %111
  %139 = load i32, ptr %6, align 4, !tbaa !9
  %140 = load ptr, ptr %7, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct._GLFWwindow, ptr %140, i32 0, i32 18
  store i32 %139, ptr %141, align 4, !tbaa !61
  br label %155

142:                                              ; preds = %97
  %143 = load i32, ptr %5, align 4, !tbaa !9
  %144 = icmp eq i32 %143, 208900
  br i1 %144, label %145, label %152

145:                                              ; preds = %142
  %146 = load i32, ptr %6, align 4, !tbaa !9
  %147 = icmp ne i32 %146, 0
  %148 = zext i1 %147 to i64
  %149 = select i1 %147, i32 1, i32 0
  %150 = load ptr, ptr %7, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct._GLFWwindow, ptr %150, i32 0, i32 19
  store i32 %149, ptr %151, align 8, !tbaa !63
  br label %154

152:                                              ; preds = %142
  %153 = load i32, ptr %5, align 4, !tbaa !9
  call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65539, ptr noundef @.str.2, i32 noundef %153)
  br label %154

154:                                              ; preds = %152, %145
  br label %155

155:                                              ; preds = %154, %138
  br label %156

156:                                              ; preds = %155, %93
  br label %157

157:                                              ; preds = %156, %41
  store i32 0, ptr %8, align 4
  br label %158

158:                                              ; preds = %157, %110, %65, %40, %32, %19
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  %159 = load i32, ptr %8, align 4
  switch i32 %159, label %161 [
    i32 0, label %160
    i32 1, label %160
  ]

160:                                              ; preds = %158, %158
  ret void

161:                                              ; preds = %158
  unreachable
}

declare void @_glfwPlatformGetCursorPos(ptr noundef, ptr noundef, ptr noundef) #2

declare void @_glfwPlatformSetCursorMode(ptr noundef, i32 noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 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 #4 = { nounwind }
attributes #5 = { noreturn 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 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_GLFWlibrary", !10, i64 0, !13, i64 8, !6, i64 992, !6, i64 1000, !6, i64 1008, !6, i64 1016, !10, i64 1024, !7, i64 1032, !6, i64 130568, !10, i64 130576, !23, i64 130580, !23, i64 130588, !25, i64 130600, !27, i64 130648, !29, i64 130672, !30, i64 130736, !31, i64 130752, !43, i64 132960, !44, i64 133184, !46, i64 133264, !47, i64 133440}
!13 = !{!"", !14, i64 0, !16, i64 16, !18, i64 88, !21, i64 920, !10, i64 976}
!14 = !{!"_GLFWinitconfig", !10, i64 0, !15, i64 4}
!15 = !{!"", !10, i64 0, !10, i64 4}
!16 = !{!"_GLFWfbconfig", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !17, i64 64}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_GLFWwndconfig", !10, i64 0, !10, i64 4, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !19, i64 56, !20, i64 316}
!19 = !{!"", !10, i64 0, !7, i64 4}
!20 = !{!"", !7, i64 0, !7, i64 256}
!21 = !{!"_GLFWctxconfig", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !6, i64 40, !22, i64 48}
!22 = !{!"", !10, i64 0}
!23 = !{!"_GLFWtls", !24, i64 0}
!24 = !{!"_GLFWtlsPOSIX", !10, i64 0, !10, i64 4}
!25 = !{!"_GLFWmutex", !26, i64 0}
!26 = !{!"_GLFWmutexPOSIX", !10, i64 0, !7, i64 8}
!27 = !{!"", !17, i64 0, !28, i64 8}
!28 = !{!"_GLFWtimerPOSIX", !10, i64 0, !17, i64 8}
!29 = !{!"", !10, i64 0, !6, i64 8, !7, i64 16, !6, i64 32, !6, i64 40, !10, i64 48, !10, i64 52, !10, i64 56}
!30 = !{!"", !6, i64 0, !6, i64 8}
!31 = !{!"_GLFWlibraryX11", !6, i64 0, !10, i64 8, !17, i64 16, !32, i64 24, !32, i64 28, !17, i64 32, !17, i64 40, !10, i64 48, !6, i64 56, !10, i64 64, !6, i64 72, !6, i64 80, !7, i64 88, !7, i64 94, !7, i64 606, !33, i64 1304, !33, i64 1312, !6, i64 1320, !17, i64 1328, !17, i64 1336, !17, i64 1344, !17, i64 1352, !17, i64 1360, !17, i64 1368, !17, i64 1376, !17, i64 1384, !17, i64 1392, !17, i64 1400, !17, i64 1408, !17, i64 1416, !17, i64 1424, !17, i64 1432, !17, i64 1440, !17, i64 1448, !17, i64 1456, !17, i64 1464, !17, i64 1472, !17, i64 1480, !17, i64 1488, !17, i64 1496, !17, i64 1504, !17, i64 1512, !17, i64 1520, !17, i64 1528, !17, i64 1536, !17, i64 1544, !17, i64 1552, !17, i64 1560, !17, i64 1568, !17, i64 1576, !17, i64 1584, !17, i64 1592, !17, i64 1600, !17, i64 1608, !17, i64 1616, !17, i64 1624, !17, i64 1632, !17, i64 1640, !17, i64 1648, !17, i64 1656, !17, i64 1664, !17, i64 1672, !17, i64 1680, !17, i64 1688, !34, i64 1696, !35, i64 1872, !36, i64 1900, !37, i64 1920, !38, i64 1944, !39, i64 1976, !30, i64 2024, !40, i64 2040, !41, i64 2096, !42, i64 2152}
!32 = !{!"float", !7, i64 0}
!33 = !{!"double", !7, i64 0}
!34 = !{!"", !10, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168}
!35 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24}
!36 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16}
!37 = !{!"", !10, i64 0, !17, i64 8, !17, i64 16}
!38 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!39 = !{!"", !10, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !6, i64 24, !6, i64 32, !6, i64 40}
!40 = !{!"", !10, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!41 = !{!"", !10, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !6, i64 40, !6, i64 48}
!42 = !{!"", !10, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !6, i64 32, !6, i64 40, !6, i64 48}
!43 = !{!"_GLFWlibraryGLX", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !10, i64 192, !10, i64 196, !10, i64 200, !10, i64 204, !10, i64 208, !10, i64 212, !10, i64 216, !10, i64 220}
!44 = !{!"_GLFWlibraryLinux", !10, i64 0, !10, i64 4, !45, i64 8, !10, i64 72}
!45 = !{!"re_pattern_buffer", !6, i64 0, !17, i64 8, !17, i64 16, !17, i64 24, !6, i64 32, !6, i64 40, !17, i64 48, !10, i64 56, !10, i64 56, !10, i64 56, !10, i64 56, !10, i64 56, !10, i64 56, !10, i64 56}
!46 = !{!"_GLFWlibraryEGL", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168}
!47 = !{!"_GLFWlibraryOSMesa", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!48 = !{!49, !10, i64 116}
!49 = !{!"_GLFWwindow", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !6, i64 32, !50, i64 40, !6, i64 64, !6, i64 72, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !7, i64 120, !7, i64 128, !33, i64 480, !33, i64 488, !51, i64 496, !55, i64 688, !56, i64 824}
!50 = !{!"GLFWvidmode", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20}
!51 = !{!"_GLFWcontext", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !52, i64 120, !53, i64 136, !54, i64 168}
!52 = !{!"_GLFWcontextGLX", !6, i64 0, !17, i64 8}
!53 = !{!"_GLFWcontextEGL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!54 = !{!"_GLFWcontextOSMesa", !6, i64 0, !10, i64 8, !10, i64 12, !6, i64 16}
!55 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128}
!56 = !{!"_GLFWwindowX11", !17, i64 0, !17, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !17, i64 72}
!57 = !{!49, !10, i64 104}
!58 = !{!7, !7, i64 0}
!59 = distinct !{!59, !60}
!60 = !{!"llvm.loop.mustprogress"}
!61 = !{!49, !10, i64 108}
!62 = distinct !{!62, !60}
!63 = !{!49, !10, i64 112}


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

%struct._GLFWlibrary = type { i32, %struct.anon.0, ptr, ptr, ptr, ptr, i32, [16 x %struct._GLFWjoystick], ptr, i32, %struct._GLFWtls, %struct._GLFWtls, %struct._GLFWmutex, %struct.anon.5, %struct.anon.6, %struct.anon.7, %struct._GLFWlibraryX11, %struct._GLFWlibraryGLX, %struct._GLFWlibraryLinux, %struct._GLFWlibraryEGL, %struct._GLFWlibraryOSMesa }
%struct.anon.0 = type { %struct._GLFWinitconfig, %struct._GLFWfbconfig, %struct._GLFWwndconfig, %struct._GLFWctxconfig, i32 }
%struct._GLFWinitconfig = type { i32, %struct.anon.1 }
%struct.anon.1 = type { i32, i32 }
%struct._GLFWfbconfig = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64 }
%struct._GLFWwndconfig = type { i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.anon.2, %struct.anon.3 }
%struct.anon.2 = type { i32, [256 x i8] }
%struct.anon.3 = type { [256 x i8], [256 x i8] }
%struct._GLFWctxconfig = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, %struct.anon.4 }
%struct.anon.4 = type { i32 }
%struct._GLFWjoystick = type { i32, ptr, i32, ptr, i32, ptr, i32, ptr, ptr, [33 x i8], ptr, %struct._GLFWjoystickLinux }
%struct._GLFWjoystickLinux = type { i32, [4096 x i8], [512 x i32], [64 x i32], [64 x %struct.input_absinfo], [4 x [2 x i32]] }
%struct.input_absinfo = type { i32, i32, i32, i32, i32, i32 }
%struct._GLFWtls = type { %struct._GLFWtlsPOSIX }
%struct._GLFWtlsPOSIX = type { i32, i32 }
%struct._GLFWmutex = type { %struct._GLFWmutexPOSIX }
%struct._GLFWmutexPOSIX = type { i32, %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%struct.anon.5 = type { i64, %struct._GLFWtimerPOSIX }
%struct._GLFWtimerPOSIX = type { i32, i64 }
%struct.anon.6 = type { i32, ptr, [2 x ptr], ptr, ptr, i32, i32, i32 }
%struct.anon.7 = type { ptr, ptr }
%struct._GLFWlibraryX11 = type { ptr, i32, i64, float, float, i64, i64, i32, ptr, i32, ptr, ptr, [5 x i8], [256 x i16], [349 x i16], double, double, ptr, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, %struct.anon.8, %struct.anon.9, %struct.anon.10, %struct.anon.11, %struct.anon.12, %struct.anon.13, %struct.anon.14, %struct.anon.15, %struct.anon.16, %struct.anon.17 }
%struct.anon.8 = type { i32, ptr, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.anon.9 = type { i32, i32, i32, i32, i32, i32, i32 }
%struct.anon.10 = type { i32, i32, i32, i32, i32 }
%struct.anon.11 = type { i32, i64, i64 }
%struct.anon.12 = type { ptr, ptr, ptr, ptr }
%struct.anon.13 = type { i32, ptr, i32, i32, ptr, ptr, ptr }
%struct.anon.14 = type { ptr, ptr }
%struct.anon.15 = type { i32, ptr, i32, i32, ptr, ptr, ptr, ptr }
%struct.anon.16 = type { i32, ptr, i32, i32, i32, i32, i32, ptr, ptr }
%struct.anon.17 = type { i32, ptr, i32, i32, i32, i32, ptr, ptr, ptr }
%struct._GLFWlibraryGLX = type { i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct._GLFWlibraryLinux = type { i32, i32, %struct.re_pattern_buffer, i32 }
%struct.re_pattern_buffer = type { ptr, i64, i64, i64, ptr, ptr, i64, i8 }
%struct._GLFWlibraryEGL = type { ptr, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct._GLFWlibraryOSMesa = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@_glfw = external local_unnamed_addr global %struct._GLFWlibrary, align 8
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [26 x i8], align 1
@__PRETTY_FUNCTION__.glfwSetInputMode = external hidden unnamed_addr constant [46 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [27 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

declare void @_glfwInputError(i32 noundef, ptr noundef, ...) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @glfwSetInputMode(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 {
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %4, label %5

4:                                                ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 487, ptr noundef nonnull @__PRETTY_FUNCTION__.glfwSetInputMode) #3
  unreachable

5:                                                ; preds = %3
  %6 = load i32, ptr @_glfw, align 8, !tbaa !5
  %.not54 = icmp eq i32 %6, 0
  br i1 %.not54, label %7, label %8

7:                                                ; preds = %5
  tail call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65537, ptr noundef null) #4
  br label %249

8:                                                ; preds = %5
  switch i32 %1, label %248 [
    i32 208897, label %9
    i32 208898, label %19
    i32 208899, label %200
    i32 208900, label %245
  ]

9:                                                ; preds = %8
  %10 = add i32 %2, -212996
  %or.cond3 = icmp ult i32 %10, -3
  br i1 %or.cond3, label %11, label %12

11:                                               ; preds = %9
  tail call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65539, ptr noundef nonnull @.str.3, i32 noundef %2) #4
  br label %249

12:                                               ; preds = %9
  %13 = getelementptr inbounds i8, ptr %0, i64 116
  %14 = load i32, ptr %13, align 4, !tbaa !46
  %15 = icmp eq i32 %14, %2
  br i1 %15, label %249, label %16

16:                                               ; preds = %12
  store i32 %2, ptr %13, align 4, !tbaa !46
  %17 = getelementptr inbounds i8, ptr %0, i64 480
  %18 = getelementptr inbounds i8, ptr %0, i64 488
  tail call void @_glfwPlatformGetCursorPos(ptr noundef nonnull %0, ptr noundef nonnull %17, ptr noundef nonnull %18) #4
  tail call void @_glfwPlatformSetCursorMode(ptr noundef nonnull %0, i32 noundef %2) #4
  br label %249

19:                                               ; preds = %8
  %.not57 = icmp ne i32 %2, 0
  %20 = zext i1 %.not57 to i32
  %21 = getelementptr inbounds i8, ptr %0, i64 104
  %22 = load i32, ptr %21, align 8, !tbaa !55
  %23 = icmp eq i32 %22, %20
  br i1 %23, label %249, label %24

24:                                               ; preds = %19
  br i1 %.not57, label %.loopexit, label %iter.check

iter.check:                                       ; preds = %24
  %25 = getelementptr inbounds i8, ptr %0, i64 128
  br label %vector.body

vector.body:                                      ; preds = %pred.store.continue126, %iter.check
  %index = phi i64 [ 0, %iter.check ], [ %index.next, %pred.store.continue126 ]
  %26 = or disjoint i64 %index, 16
  %27 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %index
  %28 = getelementptr inbounds i8, ptr %27, i64 16
  %wide.load = load <16 x i8>, ptr %27, align 1, !tbaa !56
  %wide.load64 = load <16 x i8>, ptr %28, align 1, !tbaa !56
  %29 = icmp eq <16 x i8> %wide.load, <i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3>
  %30 = icmp eq <16 x i8> %wide.load64, <i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3>
  %31 = extractelement <16 x i1> %29, i64 0
  br i1 %31, label %pred.store.if, label %pred.store.continue

pred.store.if:                                    ; preds = %vector.body
  %32 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %index
  store i8 0, ptr %32, align 1, !tbaa !56
  br label %pred.store.continue

pred.store.continue:                              ; preds = %pred.store.if, %vector.body
  %33 = extractelement <16 x i1> %29, i64 1
  br i1 %33, label %pred.store.if65, label %pred.store.continue66

pred.store.if65:                                  ; preds = %pred.store.continue
  %34 = or disjoint i64 %index, 1
  %35 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %34
  store i8 0, ptr %35, align 1, !tbaa !56
  br label %pred.store.continue66

pred.store.continue66:                            ; preds = %pred.store.if65, %pred.store.continue
  %36 = extractelement <16 x i1> %29, i64 2
  br i1 %36, label %pred.store.if67, label %pred.store.continue68

pred.store.if67:                                  ; preds = %pred.store.continue66
  %37 = or disjoint i64 %index, 2
  %38 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %37
  store i8 0, ptr %38, align 1, !tbaa !56
  br label %pred.store.continue68

pred.store.continue68:                            ; preds = %pred.store.if67, %pred.store.continue66
  %39 = extractelement <16 x i1> %29, i64 3
  br i1 %39, label %pred.store.if69, label %pred.store.continue70

pred.store.if69:                                  ; preds = %pred.store.continue68
  %40 = or disjoint i64 %index, 3
  %41 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %40
  store i8 0, ptr %41, align 1, !tbaa !56
  br label %pred.store.continue70

pred.store.continue70:                            ; preds = %pred.store.if69, %pred.store.continue68
  %42 = extractelement <16 x i1> %29, i64 4
  br i1 %42, label %pred.store.if71, label %pred.store.continue72

pred.store.if71:                                  ; preds = %pred.store.continue70
  %43 = or disjoint i64 %index, 4
  %44 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %43
  store i8 0, ptr %44, align 1, !tbaa !56
  br label %pred.store.continue72

pred.store.continue72:                            ; preds = %pred.store.if71, %pred.store.continue70
  %45 = extractelement <16 x i1> %29, i64 5
  br i1 %45, label %pred.store.if73, label %pred.store.continue74

pred.store.if73:                                  ; preds = %pred.store.continue72
  %46 = or disjoint i64 %index, 5
  %47 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %46
  store i8 0, ptr %47, align 1, !tbaa !56
  br label %pred.store.continue74

pred.store.continue74:                            ; preds = %pred.store.if73, %pred.store.continue72
  %48 = extractelement <16 x i1> %29, i64 6
  br i1 %48, label %pred.store.if75, label %pred.store.continue76

pred.store.if75:                                  ; preds = %pred.store.continue74
  %49 = or disjoint i64 %index, 6
  %50 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %49
  store i8 0, ptr %50, align 1, !tbaa !56
  br label %pred.store.continue76

pred.store.continue76:                            ; preds = %pred.store.if75, %pred.store.continue74
  %51 = extractelement <16 x i1> %29, i64 7
  br i1 %51, label %pred.store.if77, label %pred.store.continue78

pred.store.if77:                                  ; preds = %pred.store.continue76
  %52 = or disjoint i64 %index, 7
  %53 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %52
  store i8 0, ptr %53, align 1, !tbaa !56
  br label %pred.store.continue78

pred.store.continue78:                            ; preds = %pred.store.if77, %pred.store.continue76
  %54 = extractelement <16 x i1> %29, i64 8
  br i1 %54, label %pred.store.if79, label %pred.store.continue80

pred.store.if79:                                  ; preds = %pred.store.continue78
  %55 = or disjoint i64 %index, 8
  %56 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %55
  store i8 0, ptr %56, align 1, !tbaa !56
  br label %pred.store.continue80

pred.store.continue80:                            ; preds = %pred.store.if79, %pred.store.continue78
  %57 = extractelement <16 x i1> %29, i64 9
  br i1 %57, label %pred.store.if81, label %pred.store.continue82

pred.store.if81:                                  ; preds = %pred.store.continue80
  %58 = or disjoint i64 %index, 9
  %59 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %58
  store i8 0, ptr %59, align 1, !tbaa !56
  br label %pred.store.continue82

pred.store.continue82:                            ; preds = %pred.store.if81, %pred.store.continue80
  %60 = extractelement <16 x i1> %29, i64 10
  br i1 %60, label %pred.store.if83, label %pred.store.continue84

pred.store.if83:                                  ; preds = %pred.store.continue82
  %61 = or disjoint i64 %index, 10
  %62 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %61
  store i8 0, ptr %62, align 1, !tbaa !56
  br label %pred.store.continue84

pred.store.continue84:                            ; preds = %pred.store.if83, %pred.store.continue82
  %63 = extractelement <16 x i1> %29, i64 11
  br i1 %63, label %pred.store.if85, label %pred.store.continue86

pred.store.if85:                                  ; preds = %pred.store.continue84
  %64 = or disjoint i64 %index, 11
  %65 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %64
  store i8 0, ptr %65, align 1, !tbaa !56
  br label %pred.store.continue86

pred.store.continue86:                            ; preds = %pred.store.if85, %pred.store.continue84
  %66 = extractelement <16 x i1> %29, i64 12
  br i1 %66, label %pred.store.if87, label %pred.store.continue88

pred.store.if87:                                  ; preds = %pred.store.continue86
  %67 = or disjoint i64 %index, 12
  %68 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %67
  store i8 0, ptr %68, align 1, !tbaa !56
  br label %pred.store.continue88

pred.store.continue88:                            ; preds = %pred.store.if87, %pred.store.continue86
  %69 = extractelement <16 x i1> %29, i64 13
  br i1 %69, label %pred.store.if89, label %pred.store.continue90

pred.store.if89:                                  ; preds = %pred.store.continue88
  %70 = or disjoint i64 %index, 13
  %71 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %70
  store i8 0, ptr %71, align 1, !tbaa !56
  br label %pred.store.continue90

pred.store.continue90:                            ; preds = %pred.store.if89, %pred.store.continue88
  %72 = extractelement <16 x i1> %29, i64 14
  br i1 %72, label %pred.store.if91, label %pred.store.continue92

pred.store.if91:                                  ; preds = %pred.store.continue90
  %73 = or disjoint i64 %index, 14
  %74 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %73
  store i8 0, ptr %74, align 1, !tbaa !56
  br label %pred.store.continue92

pred.store.continue92:                            ; preds = %pred.store.if91, %pred.store.continue90
  %75 = extractelement <16 x i1> %29, i64 15
  br i1 %75, label %pred.store.if93, label %pred.store.continue94

pred.store.if93:                                  ; preds = %pred.store.continue92
  %76 = or disjoint i64 %index, 15
  %77 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %76
  store i8 0, ptr %77, align 1, !tbaa !56
  br label %pred.store.continue94

pred.store.continue94:                            ; preds = %pred.store.if93, %pred.store.continue92
  %78 = extractelement <16 x i1> %30, i64 0
  br i1 %78, label %pred.store.if95, label %pred.store.continue96

pred.store.if95:                                  ; preds = %pred.store.continue94
  %79 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %26
  store i8 0, ptr %79, align 1, !tbaa !56
  br label %pred.store.continue96

pred.store.continue96:                            ; preds = %pred.store.if95, %pred.store.continue94
  %80 = extractelement <16 x i1> %30, i64 1
  br i1 %80, label %pred.store.if97, label %pred.store.continue98

pred.store.if97:                                  ; preds = %pred.store.continue96
  %81 = or disjoint i64 %index, 17
  %82 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %81
  store i8 0, ptr %82, align 1, !tbaa !56
  br label %pred.store.continue98

pred.store.continue98:                            ; preds = %pred.store.if97, %pred.store.continue96
  %83 = extractelement <16 x i1> %30, i64 2
  br i1 %83, label %pred.store.if99, label %pred.store.continue100

pred.store.if99:                                  ; preds = %pred.store.continue98
  %84 = or disjoint i64 %index, 18
  %85 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %84
  store i8 0, ptr %85, align 1, !tbaa !56
  br label %pred.store.continue100

pred.store.continue100:                           ; preds = %pred.store.if99, %pred.store.continue98
  %86 = extractelement <16 x i1> %30, i64 3
  br i1 %86, label %pred.store.if101, label %pred.store.continue102

pred.store.if101:                                 ; preds = %pred.store.continue100
  %87 = or disjoint i64 %index, 19
  %88 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %87
  store i8 0, ptr %88, align 1, !tbaa !56
  br label %pred.store.continue102

pred.store.continue102:                           ; preds = %pred.store.if101, %pred.store.continue100
  %89 = extractelement <16 x i1> %30, i64 4
  br i1 %89, label %pred.store.if103, label %pred.store.continue104

pred.store.if103:                                 ; preds = %pred.store.continue102
  %90 = or disjoint i64 %index, 20
  %91 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %90
  store i8 0, ptr %91, align 1, !tbaa !56
  br label %pred.store.continue104

pred.store.continue104:                           ; preds = %pred.store.if103, %pred.store.continue102
  %92 = extractelement <16 x i1> %30, i64 5
  br i1 %92, label %pred.store.if105, label %pred.store.continue106

pred.store.if105:                                 ; preds = %pred.store.continue104
  %93 = or disjoint i64 %index, 21
  %94 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %93
  store i8 0, ptr %94, align 1, !tbaa !56
  br label %pred.store.continue106

pred.store.continue106:                           ; preds = %pred.store.if105, %pred.store.continue104
  %95 = extractelement <16 x i1> %30, i64 6
  br i1 %95, label %pred.store.if107, label %pred.store.continue108

pred.store.if107:                                 ; preds = %pred.store.continue106
  %96 = or disjoint i64 %index, 22
  %97 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %96
  store i8 0, ptr %97, align 1, !tbaa !56
  br label %pred.store.continue108

pred.store.continue108:                           ; preds = %pred.store.if107, %pred.store.continue106
  %98 = extractelement <16 x i1> %30, i64 7
  br i1 %98, label %pred.store.if109, label %pred.store.continue110

pred.store.if109:                                 ; preds = %pred.store.continue108
  %99 = or disjoint i64 %index, 23
  %100 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %99
  store i8 0, ptr %100, align 1, !tbaa !56
  br label %pred.store.continue110

pred.store.continue110:                           ; preds = %pred.store.if109, %pred.store.continue108
  %101 = extractelement <16 x i1> %30, i64 8
  br i1 %101, label %pred.store.if111, label %pred.store.continue112

pred.store.if111:                                 ; preds = %pred.store.continue110
  %102 = or disjoint i64 %index, 24
  %103 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %102
  store i8 0, ptr %103, align 1, !tbaa !56
  br label %pred.store.continue112

pred.store.continue112:                           ; preds = %pred.store.if111, %pred.store.continue110
  %104 = extractelement <16 x i1> %30, i64 9
  br i1 %104, label %pred.store.if113, label %pred.store.continue114

pred.store.if113:                                 ; preds = %pred.store.continue112
  %105 = or disjoint i64 %index, 25
  %106 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %105
  store i8 0, ptr %106, align 1, !tbaa !56
  br label %pred.store.continue114

pred.store.continue114:                           ; preds = %pred.store.if113, %pred.store.continue112
  %107 = extractelement <16 x i1> %30, i64 10
  br i1 %107, label %pred.store.if115, label %pred.store.continue116

pred.store.if115:                                 ; preds = %pred.store.continue114
  %108 = or disjoint i64 %index, 26
  %109 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %108
  store i8 0, ptr %109, align 1, !tbaa !56
  br label %pred.store.continue116

pred.store.continue116:                           ; preds = %pred.store.if115, %pred.store.continue114
  %110 = extractelement <16 x i1> %30, i64 11
  br i1 %110, label %pred.store.if117, label %pred.store.continue118

pred.store.if117:                                 ; preds = %pred.store.continue116
  %111 = or disjoint i64 %index, 27
  %112 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %111
  store i8 0, ptr %112, align 1, !tbaa !56
  br label %pred.store.continue118

pred.store.continue118:                           ; preds = %pred.store.if117, %pred.store.continue116
  %113 = extractelement <16 x i1> %30, i64 12
  br i1 %113, label %pred.store.if119, label %pred.store.continue120

pred.store.if119:                                 ; preds = %pred.store.continue118
  %114 = or disjoint i64 %index, 28
  %115 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %114
  store i8 0, ptr %115, align 1, !tbaa !56
  br label %pred.store.continue120

pred.store.continue120:                           ; preds = %pred.store.if119, %pred.store.continue118
  %116 = extractelement <16 x i1> %30, i64 13
  br i1 %116, label %pred.store.if121, label %pred.store.continue122

pred.store.if121:                                 ; preds = %pred.store.continue120
  %117 = or disjoint i64 %index, 29
  %118 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %117
  store i8 0, ptr %118, align 1, !tbaa !56
  br label %pred.store.continue122

pred.store.continue122:                           ; preds = %pred.store.if121, %pred.store.continue120
  %119 = extractelement <16 x i1> %30, i64 14
  br i1 %119, label %pred.store.if123, label %pred.store.continue124

pred.store.if123:                                 ; preds = %pred.store.continue122
  %120 = or disjoint i64 %index, 30
  %121 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %120
  store i8 0, ptr %121, align 1, !tbaa !56
  br label %pred.store.continue124

pred.store.continue124:                           ; preds = %pred.store.if123, %pred.store.continue122
  %122 = extractelement <16 x i1> %30, i64 15
  br i1 %122, label %pred.store.if125, label %pred.store.continue126

pred.store.if125:                                 ; preds = %pred.store.continue124
  %123 = or disjoint i64 %index, 31
  %124 = getelementptr inbounds [349 x i8], ptr %25, i64 0, i64 %123
  store i8 0, ptr %124, align 1, !tbaa !56
  br label %pred.store.continue126

pred.store.continue126:                           ; preds = %pred.store.if125, %pred.store.continue124
  %index.next = add nuw i64 %index, 32
  %125 = icmp eq i64 %index.next, 320
  br i1 %125, label %vec.epilog.vector.body, label %vector.body, !llvm.loop !57

vec.epilog.vector.body:                           ; preds = %pred.store.continue126
  %126 = getelementptr inbounds i8, ptr %0, i64 448
  %wide.load128 = load <8 x i8>, ptr %126, align 1, !tbaa !56
  %127 = icmp eq <8 x i8> %wide.load128, <i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3>
  %128 = extractelement <8 x i1> %127, i64 0
  br i1 %128, label %pred.store.if129, label %pred.store.continue130

pred.store.if129:                                 ; preds = %vec.epilog.vector.body
  %129 = getelementptr inbounds i8, ptr %0, i64 448
  store i8 0, ptr %129, align 1, !tbaa !56
  br label %pred.store.continue130

pred.store.continue130:                           ; preds = %pred.store.if129, %vec.epilog.vector.body
  %130 = extractelement <8 x i1> %127, i64 1
  br i1 %130, label %pred.store.if131, label %pred.store.continue132

pred.store.if131:                                 ; preds = %pred.store.continue130
  %131 = getelementptr inbounds i8, ptr %0, i64 449
  store i8 0, ptr %131, align 1, !tbaa !56
  br label %pred.store.continue132

pred.store.continue132:                           ; preds = %pred.store.if131, %pred.store.continue130
  %132 = extractelement <8 x i1> %127, i64 2
  br i1 %132, label %pred.store.if133, label %pred.store.continue134

pred.store.if133:                                 ; preds = %pred.store.continue132
  %133 = getelementptr inbounds i8, ptr %0, i64 450
  store i8 0, ptr %133, align 1, !tbaa !56
  br label %pred.store.continue134

pred.store.continue134:                           ; preds = %pred.store.if133, %pred.store.continue132
  %134 = extractelement <8 x i1> %127, i64 3
  br i1 %134, label %pred.store.if135, label %pred.store.continue136

pred.store.if135:                                 ; preds = %pred.store.continue134
  %135 = getelementptr inbounds i8, ptr %0, i64 451
  store i8 0, ptr %135, align 1, !tbaa !56
  br label %pred.store.continue136

pred.store.continue136:                           ; preds = %pred.store.if135, %pred.store.continue134
  %136 = extractelement <8 x i1> %127, i64 4
  br i1 %136, label %pred.store.if137, label %pred.store.continue138

pred.store.if137:                                 ; preds = %pred.store.continue136
  %137 = getelementptr inbounds i8, ptr %0, i64 452
  store i8 0, ptr %137, align 1, !tbaa !56
  br label %pred.store.continue138

pred.store.continue138:                           ; preds = %pred.store.if137, %pred.store.continue136
  %138 = extractelement <8 x i1> %127, i64 5
  br i1 %138, label %pred.store.if139, label %pred.store.continue140

pred.store.if139:                                 ; preds = %pred.store.continue138
  %139 = getelementptr inbounds i8, ptr %0, i64 453
  store i8 0, ptr %139, align 1, !tbaa !56
  br label %pred.store.continue140

pred.store.continue140:                           ; preds = %pred.store.if139, %pred.store.continue138
  %140 = extractelement <8 x i1> %127, i64 6
  br i1 %140, label %pred.store.if141, label %pred.store.continue142

pred.store.if141:                                 ; preds = %pred.store.continue140
  %141 = getelementptr inbounds i8, ptr %0, i64 454
  store i8 0, ptr %141, align 1, !tbaa !56
  br label %pred.store.continue142

pred.store.continue142:                           ; preds = %pred.store.if141, %pred.store.continue140
  %142 = extractelement <8 x i1> %127, i64 7
  br i1 %142, label %pred.store.if143, label %pred.store.continue144

pred.store.if143:                                 ; preds = %pred.store.continue142
  %143 = getelementptr inbounds i8, ptr %0, i64 455
  store i8 0, ptr %143, align 1, !tbaa !56
  br label %pred.store.continue144

pred.store.continue144:                           ; preds = %pred.store.if143, %pred.store.continue142
  %144 = getelementptr inbounds i8, ptr %0, i64 456
  %wide.load128.1 = load <8 x i8>, ptr %144, align 1, !tbaa !56
  %145 = icmp eq <8 x i8> %wide.load128.1, <i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3>
  %146 = extractelement <8 x i1> %145, i64 0
  br i1 %146, label %pred.store.if129.1, label %pred.store.continue130.1

pred.store.if129.1:                               ; preds = %pred.store.continue144
  %147 = getelementptr inbounds i8, ptr %0, i64 456
  store i8 0, ptr %147, align 1, !tbaa !56
  br label %pred.store.continue130.1

pred.store.continue130.1:                         ; preds = %pred.store.if129.1, %pred.store.continue144
  %148 = extractelement <8 x i1> %145, i64 1
  br i1 %148, label %pred.store.if131.1, label %pred.store.continue132.1

pred.store.if131.1:                               ; preds = %pred.store.continue130.1
  %149 = getelementptr inbounds i8, ptr %0, i64 457
  store i8 0, ptr %149, align 1, !tbaa !56
  br label %pred.store.continue132.1

pred.store.continue132.1:                         ; preds = %pred.store.if131.1, %pred.store.continue130.1
  %150 = extractelement <8 x i1> %145, i64 2
  br i1 %150, label %pred.store.if133.1, label %pred.store.continue134.1

pred.store.if133.1:                               ; preds = %pred.store.continue132.1
  %151 = getelementptr inbounds i8, ptr %0, i64 458
  store i8 0, ptr %151, align 1, !tbaa !56
  br label %pred.store.continue134.1

pred.store.continue134.1:                         ; preds = %pred.store.if133.1, %pred.store.continue132.1
  %152 = extractelement <8 x i1> %145, i64 3
  br i1 %152, label %pred.store.if135.1, label %pred.store.continue136.1

pred.store.if135.1:                               ; preds = %pred.store.continue134.1
  %153 = getelementptr inbounds i8, ptr %0, i64 459
  store i8 0, ptr %153, align 1, !tbaa !56
  br label %pred.store.continue136.1

pred.store.continue136.1:                         ; preds = %pred.store.if135.1, %pred.store.continue134.1
  %154 = extractelement <8 x i1> %145, i64 4
  br i1 %154, label %pred.store.if137.1, label %pred.store.continue138.1

pred.store.if137.1:                               ; preds = %pred.store.continue136.1
  %155 = getelementptr inbounds i8, ptr %0, i64 460
  store i8 0, ptr %155, align 1, !tbaa !56
  br label %pred.store.continue138.1

pred.store.continue138.1:                         ; preds = %pred.store.if137.1, %pred.store.continue136.1
  %156 = extractelement <8 x i1> %145, i64 5
  br i1 %156, label %pred.store.if139.1, label %pred.store.continue140.1

pred.store.if139.1:                               ; preds = %pred.store.continue138.1
  %157 = getelementptr inbounds i8, ptr %0, i64 461
  store i8 0, ptr %157, align 1, !tbaa !56
  br label %pred.store.continue140.1

pred.store.continue140.1:                         ; preds = %pred.store.if139.1, %pred.store.continue138.1
  %158 = extractelement <8 x i1> %145, i64 6
  br i1 %158, label %pred.store.if141.1, label %pred.store.continue142.1

pred.store.if141.1:                               ; preds = %pred.store.continue140.1
  %159 = getelementptr inbounds i8, ptr %0, i64 462
  store i8 0, ptr %159, align 1, !tbaa !56
  br label %pred.store.continue142.1

pred.store.continue142.1:                         ; preds = %pred.store.if141.1, %pred.store.continue140.1
  %160 = extractelement <8 x i1> %145, i64 7
  br i1 %160, label %pred.store.if143.1, label %pred.store.continue144.1

pred.store.if143.1:                               ; preds = %pred.store.continue142.1
  %161 = getelementptr inbounds i8, ptr %0, i64 463
  store i8 0, ptr %161, align 1, !tbaa !56
  br label %pred.store.continue144.1

pred.store.continue144.1:                         ; preds = %pred.store.if143.1, %pred.store.continue142.1
  %162 = getelementptr inbounds i8, ptr %0, i64 464
  %wide.load128.2 = load <8 x i8>, ptr %162, align 1, !tbaa !56
  %163 = icmp eq <8 x i8> %wide.load128.2, <i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3>
  %164 = extractelement <8 x i1> %163, i64 0
  br i1 %164, label %pred.store.if129.2, label %pred.store.continue130.2

pred.store.if129.2:                               ; preds = %pred.store.continue144.1
  %165 = getelementptr inbounds i8, ptr %0, i64 464
  store i8 0, ptr %165, align 1, !tbaa !56
  br label %pred.store.continue130.2

pred.store.continue130.2:                         ; preds = %pred.store.if129.2, %pred.store.continue144.1
  %166 = extractelement <8 x i1> %163, i64 1
  br i1 %166, label %pred.store.if131.2, label %pred.store.continue132.2

pred.store.if131.2:                               ; preds = %pred.store.continue130.2
  %167 = getelementptr inbounds i8, ptr %0, i64 465
  store i8 0, ptr %167, align 1, !tbaa !56
  br label %pred.store.continue132.2

pred.store.continue132.2:                         ; preds = %pred.store.if131.2, %pred.store.continue130.2
  %168 = extractelement <8 x i1> %163, i64 2
  br i1 %168, label %pred.store.if133.2, label %pred.store.continue134.2

pred.store.if133.2:                               ; preds = %pred.store.continue132.2
  %169 = getelementptr inbounds i8, ptr %0, i64 466
  store i8 0, ptr %169, align 1, !tbaa !56
  br label %pred.store.continue134.2

pred.store.continue134.2:                         ; preds = %pred.store.if133.2, %pred.store.continue132.2
  %170 = extractelement <8 x i1> %163, i64 3
  br i1 %170, label %pred.store.if135.2, label %pred.store.continue136.2

pred.store.if135.2:                               ; preds = %pred.store.continue134.2
  %171 = getelementptr inbounds i8, ptr %0, i64 467
  store i8 0, ptr %171, align 1, !tbaa !56
  br label %pred.store.continue136.2

pred.store.continue136.2:                         ; preds = %pred.store.if135.2, %pred.store.continue134.2
  %172 = extractelement <8 x i1> %163, i64 4
  br i1 %172, label %pred.store.if137.2, label %pred.store.continue138.2

pred.store.if137.2:                               ; preds = %pred.store.continue136.2
  %173 = getelementptr inbounds i8, ptr %0, i64 468
  store i8 0, ptr %173, align 1, !tbaa !56
  br label %pred.store.continue138.2

pred.store.continue138.2:                         ; preds = %pred.store.if137.2, %pred.store.continue136.2
  %174 = extractelement <8 x i1> %163, i64 5
  br i1 %174, label %pred.store.if139.2, label %pred.store.continue140.2

pred.store.if139.2:                               ; preds = %pred.store.continue138.2
  %175 = getelementptr inbounds i8, ptr %0, i64 469
  store i8 0, ptr %175, align 1, !tbaa !56
  br label %pred.store.continue140.2

pred.store.continue140.2:                         ; preds = %pred.store.if139.2, %pred.store.continue138.2
  %176 = extractelement <8 x i1> %163, i64 6
  br i1 %176, label %pred.store.if141.2, label %pred.store.continue142.2

pred.store.if141.2:                               ; preds = %pred.store.continue140.2
  %177 = getelementptr inbounds i8, ptr %0, i64 470
  store i8 0, ptr %177, align 1, !tbaa !56
  br label %pred.store.continue142.2

pred.store.continue142.2:                         ; preds = %pred.store.if141.2, %pred.store.continue140.2
  %178 = extractelement <8 x i1> %163, i64 7
  br i1 %178, label %pred.store.if143.2, label %vec.epilog.scalar.ph

pred.store.if143.2:                               ; preds = %pred.store.continue142.2
  %179 = getelementptr inbounds i8, ptr %0, i64 471
  store i8 0, ptr %179, align 1, !tbaa !56
  br label %vec.epilog.scalar.ph

vec.epilog.scalar.ph:                             ; preds = %pred.store.continue142.2, %pred.store.if143.2
  %180 = getelementptr inbounds i8, ptr %0, i64 472
  %181 = load i8, ptr %180, align 1, !tbaa !56
  %182 = icmp eq i8 %181, 3
  br i1 %182, label %183, label %vec.epilog.scalar.ph.1

183:                                              ; preds = %vec.epilog.scalar.ph
  store i8 0, ptr %180, align 1, !tbaa !56
  br label %vec.epilog.scalar.ph.1

vec.epilog.scalar.ph.1:                           ; preds = %vec.epilog.scalar.ph, %183
  %184 = getelementptr inbounds i8, ptr %0, i64 473
  %185 = load i8, ptr %184, align 1, !tbaa !56
  %186 = icmp eq i8 %185, 3
  br i1 %186, label %187, label %vec.epilog.scalar.ph.2

187:                                              ; preds = %vec.epilog.scalar.ph.1
  store i8 0, ptr %184, align 1, !tbaa !56
  br label %vec.epilog.scalar.ph.2

vec.epilog.scalar.ph.2:                           ; preds = %187, %vec.epilog.scalar.ph.1
  %188 = getelementptr inbounds i8, ptr %0, i64 474
  %189 = load i8, ptr %188, align 1, !tbaa !56
  %190 = icmp eq i8 %189, 3
  br i1 %190, label %191, label %vec.epilog.scalar.ph.3

191:                                              ; preds = %vec.epilog.scalar.ph.2
  store i8 0, ptr %188, align 1, !tbaa !56
  br label %vec.epilog.scalar.ph.3

vec.epilog.scalar.ph.3:                           ; preds = %191, %vec.epilog.scalar.ph.2
  %192 = getelementptr inbounds i8, ptr %0, i64 475
  %193 = load i8, ptr %192, align 1, !tbaa !56
  %194 = icmp eq i8 %193, 3
  br i1 %194, label %195, label %vec.epilog.scalar.ph.4

195:                                              ; preds = %vec.epilog.scalar.ph.3
  store i8 0, ptr %192, align 1, !tbaa !56
  br label %vec.epilog.scalar.ph.4

vec.epilog.scalar.ph.4:                           ; preds = %195, %vec.epilog.scalar.ph.3
  %196 = getelementptr inbounds i8, ptr %0, i64 476
  %197 = load i8, ptr %196, align 1, !tbaa !56
  %198 = icmp eq i8 %197, 3
  br i1 %198, label %199, label %.loopexit

199:                                              ; preds = %vec.epilog.scalar.ph.4
  store i8 0, ptr %196, align 1, !tbaa !56
  br label %.loopexit

.loopexit:                                        ; preds = %vec.epilog.scalar.ph.4, %199, %24
  store i32 %20, ptr %21, align 8, !tbaa !55
  br label %249

200:                                              ; preds = %8
  %.not56 = icmp ne i32 %2, 0
  %201 = zext i1 %.not56 to i32
  %202 = getelementptr inbounds i8, ptr %0, i64 108
  %203 = load i32, ptr %202, align 4, !tbaa !61
  %204 = icmp eq i32 %203, %201
  br i1 %204, label %249, label %205

205:                                              ; preds = %200
  br i1 %.not56, label %.loopexit59, label %.preheader58

.preheader58:                                     ; preds = %205
  %206 = getelementptr inbounds i8, ptr %0, i64 120
  %207 = load i8, ptr %206, align 1, !tbaa !56
  %208 = icmp eq i8 %207, 3
  br i1 %208, label %209, label %210

209:                                              ; preds = %.preheader58
  store i8 0, ptr %206, align 1, !tbaa !56
  br label %210

210:                                              ; preds = %.preheader58, %209
  %211 = getelementptr inbounds i8, ptr %0, i64 121
  %212 = load i8, ptr %211, align 1, !tbaa !56
  %213 = icmp eq i8 %212, 3
  br i1 %213, label %214, label %215

214:                                              ; preds = %210
  store i8 0, ptr %211, align 1, !tbaa !56
  br label %215

215:                                              ; preds = %214, %210
  %216 = getelementptr inbounds i8, ptr %0, i64 122
  %217 = load i8, ptr %216, align 1, !tbaa !56
  %218 = icmp eq i8 %217, 3
  br i1 %218, label %219, label %220

219:                                              ; preds = %215
  store i8 0, ptr %216, align 1, !tbaa !56
  br label %220

220:                                              ; preds = %219, %215
  %221 = getelementptr inbounds i8, ptr %0, i64 123
  %222 = load i8, ptr %221, align 1, !tbaa !56
  %223 = icmp eq i8 %222, 3
  br i1 %223, label %224, label %225

224:                                              ; preds = %220
  store i8 0, ptr %221, align 1, !tbaa !56
  br label %225

225:                                              ; preds = %224, %220
  %226 = getelementptr inbounds i8, ptr %0, i64 124
  %227 = load i8, ptr %226, align 1, !tbaa !56
  %228 = icmp eq i8 %227, 3
  br i1 %228, label %229, label %230

229:                                              ; preds = %225
  store i8 0, ptr %226, align 1, !tbaa !56
  br label %230

230:                                              ; preds = %229, %225
  %231 = getelementptr inbounds i8, ptr %0, i64 125
  %232 = load i8, ptr %231, align 1, !tbaa !56
  %233 = icmp eq i8 %232, 3
  br i1 %233, label %234, label %235

234:                                              ; preds = %230
  store i8 0, ptr %231, align 1, !tbaa !56
  br label %235

235:                                              ; preds = %234, %230
  %236 = getelementptr inbounds i8, ptr %0, i64 126
  %237 = load i8, ptr %236, align 1, !tbaa !56
  %238 = icmp eq i8 %237, 3
  br i1 %238, label %239, label %240

239:                                              ; preds = %235
  store i8 0, ptr %236, align 1, !tbaa !56
  br label %240

240:                                              ; preds = %239, %235
  %241 = getelementptr inbounds i8, ptr %0, i64 127
  %242 = load i8, ptr %241, align 1, !tbaa !56
  %243 = icmp eq i8 %242, 3
  br i1 %243, label %244, label %.loopexit59

244:                                              ; preds = %240
  store i8 0, ptr %241, align 1, !tbaa !56
  br label %.loopexit59

.loopexit59:                                      ; preds = %240, %244, %205
  store i32 %201, ptr %202, align 4, !tbaa !61
  br label %249

245:                                              ; preds = %8
  %.not55 = icmp ne i32 %2, 0
  %246 = zext i1 %.not55 to i32
  %247 = getelementptr inbounds i8, ptr %0, i64 112
  store i32 %246, ptr %247, align 8, !tbaa !62
  br label %249

248:                                              ; preds = %8
  tail call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65539, ptr noundef nonnull @.str.2, i32 noundef %1) #4
  br label %249

249:                                              ; preds = %16, %.loopexit59, %248, %245, %.loopexit, %200, %19, %12, %11, %7
  ret void
}

declare void @_glfwPlatformGetCursorPos(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_glfwPlatformSetCursorMode(ptr noundef, i32 noundef) local_unnamed_addr #1

attributes #0 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { noreturn nounwind }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_GLFWlibrary", !7, i64 0, !10, i64 8, !16, i64 992, !16, i64 1000, !16, i64 1008, !16, i64 1016, !7, i64 1024, !8, i64 1032, !16, i64 130568, !7, i64 130576, !21, i64 130580, !21, i64 130588, !23, i64 130600, !25, i64 130648, !27, i64 130672, !28, i64 130736, !29, i64 130752, !41, i64 132960, !42, i64 133184, !44, i64 133264, !45, i64 133440}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"", !11, i64 0, !13, i64 16, !15, i64 88, !19, i64 920, !7, i64 976}
!11 = !{!"_GLFWinitconfig", !7, i64 0, !12, i64 4}
!12 = !{!"", !7, i64 0, !7, i64 4}
!13 = !{!"_GLFWfbconfig", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !14, i64 64}
!14 = !{!"long", !8, i64 0}
!15 = !{!"_GLFWwndconfig", !7, i64 0, !7, i64 4, !16, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !17, i64 56, !18, i64 316}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!"", !7, i64 0, !8, i64 4}
!18 = !{!"", !8, i64 0, !8, i64 256}
!19 = !{!"_GLFWctxconfig", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !16, i64 40, !20, i64 48}
!20 = !{!"", !7, i64 0}
!21 = !{!"_GLFWtls", !22, i64 0}
!22 = !{!"_GLFWtlsPOSIX", !7, i64 0, !7, i64 4}
!23 = !{!"_GLFWmutex", !24, i64 0}
!24 = !{!"_GLFWmutexPOSIX", !7, i64 0, !8, i64 8}
!25 = !{!"", !14, i64 0, !26, i64 8}
!26 = !{!"_GLFWtimerPOSIX", !7, i64 0, !14, i64 8}
!27 = !{!"", !7, i64 0, !16, i64 8, !8, i64 16, !16, i64 32, !16, i64 40, !7, i64 48, !7, i64 52, !7, i64 56}
!28 = !{!"", !16, i64 0, !16, i64 8}
!29 = !{!"_GLFWlibraryX11", !16, i64 0, !7, i64 8, !14, i64 16, !30, i64 24, !30, i64 28, !14, i64 32, !14, i64 40, !7, i64 48, !16, i64 56, !7, i64 64, !16, i64 72, !16, i64 80, !8, i64 88, !8, i64 94, !8, i64 606, !31, i64 1304, !31, i64 1312, !16, i64 1320, !14, i64 1328, !14, i64 1336, !14, i64 1344, !14, i64 1352, !14, i64 1360, !14, i64 1368, !14, i64 1376, !14, i64 1384, !14, i64 1392, !14, i64 1400, !14, i64 1408, !14, i64 1416, !14, i64 1424, !14, i64 1432, !14, i64 1440, !14, i64 1448, !14, i64 1456, !14, i64 1464, !14, i64 1472, !14, i64 1480, !14, i64 1488, !14, i64 1496, !14, i64 1504, !14, i64 1512, !14, i64 1520, !14, i64 1528, !14, i64 1536, !14, i64 1544, !14, i64 1552, !14, i64 1560, !14, i64 1568, !14, i64 1576, !14, i64 1584, !14, i64 1592, !14, i64 1600, !14, i64 1608, !14, i64 1616, !14, i64 1624, !14, i64 1632, !14, i64 1640, !14, i64 1648, !14, i64 1656, !14, i64 1664, !14, i64 1672, !14, i64 1680, !14, i64 1688, !32, i64 1696, !33, i64 1872, !34, i64 1900, !35, i64 1920, !36, i64 1944, !37, i64 1976, !28, i64 2024, !38, i64 2040, !39, i64 2096, !40, i64 2152}
!30 = !{!"float", !8, i64 0}
!31 = !{!"double", !8, i64 0}
!32 = !{!"", !7, i64 0, !16, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !16, i64 72, !16, i64 80, !16, i64 88, !16, i64 96, !16, i64 104, !16, i64 112, !16, i64 120, !16, i64 128, !16, i64 136, !16, i64 144, !16, i64 152, !16, i64 160, !16, i64 168}
!33 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24}
!34 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!35 = !{!"", !7, i64 0, !14, i64 8, !14, i64 16}
!36 = !{!"", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24}
!37 = !{!"", !7, i64 0, !16, i64 8, !7, i64 16, !7, i64 20, !16, i64 24, !16, i64 32, !16, i64 40}
!38 = !{!"", !7, i64 0, !16, i64 8, !7, i64 16, !7, i64 20, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48}
!39 = !{!"", !7, i64 0, !16, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !16, i64 40, !16, i64 48}
!40 = !{!"", !7, i64 0, !16, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !16, i64 32, !16, i64 40, !16, i64 48}
!41 = !{!"_GLFWlibraryGLX", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !16, i64 72, !16, i64 80, !16, i64 88, !16, i64 96, !16, i64 104, !16, i64 112, !16, i64 120, !16, i64 128, !16, i64 136, !16, i64 144, !16, i64 152, !16, i64 160, !16, i64 168, !7, i64 176, !7, i64 180, !7, i64 184, !7, i64 188, !7, i64 192, !7, i64 196, !7, i64 200, !7, i64 204, !7, i64 208, !7, i64 212, !7, i64 216, !7, i64 220}
!42 = !{!"_GLFWlibraryLinux", !7, i64 0, !7, i64 4, !43, i64 8, !7, i64 72}
!43 = !{!"re_pattern_buffer", !16, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !16, i64 32, !16, i64 40, !14, i64 48, !7, i64 56, !7, i64 56, !7, i64 56, !7, i64 56, !7, i64 56, !7, i64 56, !7, i64 56}
!44 = !{!"_GLFWlibraryEGL", !16, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !16, i64 72, !16, i64 80, !16, i64 88, !16, i64 96, !16, i64 104, !16, i64 112, !16, i64 120, !16, i64 128, !16, i64 136, !16, i64 144, !16, i64 152, !16, i64 160, !16, i64 168}
!45 = !{!"_GLFWlibraryOSMesa", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !16, i64 56}
!46 = !{!47, !7, i64 116}
!47 = !{!"_GLFWwindow", !16, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !16, i64 32, !48, i64 40, !16, i64 64, !16, i64 72, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !8, i64 120, !8, i64 128, !31, i64 480, !31, i64 488, !49, i64 496, !53, i64 688, !54, i64 824}
!48 = !{!"GLFWvidmode", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!49 = !{!"_GLFWcontext", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !16, i64 72, !16, i64 80, !16, i64 88, !16, i64 96, !16, i64 104, !16, i64 112, !50, i64 120, !51, i64 136, !52, i64 168}
!50 = !{!"_GLFWcontextGLX", !16, i64 0, !14, i64 8}
!51 = !{!"_GLFWcontextEGL", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24}
!52 = !{!"_GLFWcontextOSMesa", !16, i64 0, !7, i64 8, !7, i64 12, !16, i64 16}
!53 = !{!"", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !16, i64 72, !16, i64 80, !16, i64 88, !16, i64 96, !16, i64 104, !16, i64 112, !16, i64 120, !16, i64 128}
!54 = !{!"_GLFWwindowX11", !14, i64 0, !14, i64 8, !16, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !14, i64 72}
!55 = !{!47, !7, i64 104}
!56 = !{!8, !8, i64 0}
!57 = distinct !{!57, !58, !59, !60}
!58 = !{!"llvm.loop.mustprogress"}
!59 = !{!"llvm.loop.isvectorized", i32 1}
!60 = !{!"llvm.loop.unroll.runtime.disable"}
!61 = !{!47, !7, i64 108}
!62 = !{!47, !7, i64 112}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,SROAPass,SimplifyCFGPass,TailCallElimPass