; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_compiled_0)

; 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.w2c_hermes = type { ptr, ptr, ptr, i32, i32, i32, %struct.wasm_rt_memory_t, %struct.wasm_rt_funcref_table_t }
%struct.wasm_rt_memory_t = type { ptr, i64, i64, i64, i8 }
%struct.wasm_rt_funcref_table_t = type { ptr, i32, i32 }

; 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: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_load(ptr noundef, i64 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_bool0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Finsertion_sort_incomplete0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #2 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i64, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  store i64 0, ptr %16, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  store i32 1, ptr %17, align 4, !tbaa !9
  %25 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %25, ptr %10, align 4, !tbaa !9
  %26 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %26, ptr %17, align 4, !tbaa !9
  %27 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %27, ptr %18, align 4, !tbaa !9
  %28 = load i32, ptr %18, align 4, !tbaa !9
  %29 = load i32, ptr %17, align 4, !tbaa !9
  %30 = sub i32 %29, %28
  store i32 %30, ptr %17, align 4, !tbaa !9
  store i32 3, ptr %18, align 4, !tbaa !9
  %31 = load i32, ptr %17, align 4, !tbaa !9
  %32 = load i32, ptr %18, align 4, !tbaa !9
  %33 = and i32 %32, 31
  %34 = ashr i32 %31, %33
  store i32 %34, ptr %17, align 4, !tbaa !9
  %35 = load i32, ptr %17, align 4, !tbaa !9
  switch i32 %35, label %42 [
    i32 0, label %36
    i32 1, label %37
    i32 2, label %38
    i32 3, label %39
    i32 4, label %40
    i32 5, label %41
  ]

36:                                               ; preds = %4
  br label %500

37:                                               ; preds = %4
  br label %500

38:                                               ; preds = %4
  br label %43

39:                                               ; preds = %4
  br label %150

40:                                               ; preds = %4
  br label %167

41:                                               ; preds = %4
  br label %189

42:                                               ; preds = %4
  br label %216

43:                                               ; preds = %38
  %44 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %44, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %45 = load i32, ptr %18, align 4, !tbaa !9
  %46 = load i32, ptr %17, align 4, !tbaa !9
  %47 = sub i32 %46, %45
  store i32 %47, ptr %17, align 4, !tbaa !9
  %48 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %48, ptr %12, align 4, !tbaa !9
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.w2c_hermes, ptr %49, i32 0, i32 6
  %51 = load i32, ptr %17, align 4, !tbaa !9
  %52 = zext i32 %51 to i64
  %53 = call i32 @i32_load(ptr noundef %50, i64 noundef %52)
  store i32 %53, ptr %17, align 4, !tbaa !9
  %54 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %54, ptr %9, align 4, !tbaa !9
  %55 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %55, ptr %18, align 4, !tbaa !9
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.w2c_hermes, ptr %56, i32 0, i32 6
  %58 = load i32, ptr %18, align 4, !tbaa !9
  %59 = zext i32 %58 to i64
  %60 = call i32 @i32_load(ptr noundef %57, i64 noundef %59)
  store i32 %60, ptr %18, align 4, !tbaa !9
  %61 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %61, ptr %8, align 4, !tbaa !9
  %62 = load i32, ptr %17, align 4, !tbaa !9
  %63 = load i32, ptr %18, align 4, !tbaa !9
  %64 = icmp uge i32 %62, %63
  %65 = zext i1 %64 to i32
  store i32 %65, ptr %17, align 4, !tbaa !9
  %66 = load i32, ptr %17, align 4, !tbaa !9
  %67 = icmp ne i32 %66, 0
  br i1 %67, label %68, label %103

68:                                               ; preds = %43
  %69 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %69, ptr %17, align 4, !tbaa !9
  %70 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %70, ptr %18, align 4, !tbaa !9
  %71 = load i32, ptr %17, align 4, !tbaa !9
  %72 = load i32, ptr %18, align 4, !tbaa !9
  %73 = icmp ult i32 %71, %72
  %74 = zext i1 %73 to i32
  store i32 %74, ptr %17, align 4, !tbaa !9
  %75 = load i32, ptr %17, align 4, !tbaa !9
  %76 = icmp ne i32 %75, 0
  br i1 %76, label %77, label %78

77:                                               ; preds = %68
  br label %500

78:                                               ; preds = %68
  %79 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %79, ptr %17, align 4, !tbaa !9
  store i32 4, ptr %18, align 4, !tbaa !9
  %80 = load i32, ptr %18, align 4, !tbaa !9
  %81 = load i32, ptr %17, align 4, !tbaa !9
  %82 = sub i32 %81, %80
  store i32 %82, ptr %17, align 4, !tbaa !9
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.w2c_hermes, ptr %83, i32 0, i32 6
  %85 = load i32, ptr %17, align 4, !tbaa !9
  %86 = zext i32 %85 to i64
  %87 = call i32 @i32_load(ptr noundef %84, i64 noundef %86)
  store i32 %87, ptr %17, align 4, !tbaa !9
  %88 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %88, ptr %18, align 4, !tbaa !9
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.w2c_hermes, ptr %89, i32 0, i32 6
  %91 = load i32, ptr %18, align 4, !tbaa !9
  %92 = zext i32 %91 to i64
  %93 = add i64 %92, 4
  %94 = call i32 @i32_load(ptr noundef %90, i64 noundef %93)
  store i32 %94, ptr %18, align 4, !tbaa !9
  %95 = load i32, ptr %17, align 4, !tbaa !9
  %96 = load i32, ptr %18, align 4, !tbaa !9
  %97 = icmp uge i32 %95, %96
  %98 = zext i1 %97 to i32
  store i32 %98, ptr %17, align 4, !tbaa !9
  %99 = load i32, ptr %17, align 4, !tbaa !9
  %100 = icmp ne i32 %99, 0
  br i1 %100, label %101, label %102

101:                                              ; preds = %78
  br label %500

102:                                              ; preds = %78
  br label %103

103:                                              ; preds = %102, %43
  %104 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %104, ptr %17, align 4, !tbaa !9
  %105 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %105, ptr %18, align 4, !tbaa !9
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.w2c_hermes, ptr %106, i32 0, i32 6
  %108 = load i32, ptr %17, align 4, !tbaa !9
  %109 = zext i32 %108 to i64
  %110 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %107, i64 noundef %109, i32 noundef %110)
  %111 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %111, ptr %17, align 4, !tbaa !9
  %112 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %112, ptr %18, align 4, !tbaa !9
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.w2c_hermes, ptr %113, i32 0, i32 6
  %115 = load i32, ptr %17, align 4, !tbaa !9
  %116 = zext i32 %115 to i64
  %117 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %114, i64 noundef %116, i32 noundef %117)
  %118 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %118, ptr %17, align 4, !tbaa !9
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.w2c_hermes, ptr %119, i32 0, i32 6
  %121 = load i32, ptr %17, align 4, !tbaa !9
  %122 = zext i32 %121 to i64
  %123 = add i64 %122, 4
  %124 = call i32 @i32_load(ptr noundef %120, i64 noundef %123)
  store i32 %124, ptr %17, align 4, !tbaa !9
  %125 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %125, ptr %9, align 4, !tbaa !9
  %126 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %126, ptr %17, align 4, !tbaa !9
  %127 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %127, ptr %18, align 4, !tbaa !9
  store i32 4, ptr %19, align 4, !tbaa !9
  %128 = load i32, ptr %19, align 4, !tbaa !9
  %129 = load i32, ptr %18, align 4, !tbaa !9
  %130 = sub i32 %129, %128
  store i32 %130, ptr %18, align 4, !tbaa !9
  %131 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %131, ptr %8, align 4, !tbaa !9
  %132 = load ptr, ptr %5, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.w2c_hermes, ptr %132, i32 0, i32 6
  %134 = load i32, ptr %18, align 4, !tbaa !9
  %135 = zext i32 %134 to i64
  %136 = call i32 @i32_load(ptr noundef %133, i64 noundef %135)
  store i32 %136, ptr %18, align 4, !tbaa !9
  %137 = load ptr, ptr %5, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.w2c_hermes, ptr %137, i32 0, i32 6
  %139 = load i32, ptr %17, align 4, !tbaa !9
  %140 = zext i32 %139 to i64
  %141 = add i64 %140, 4
  %142 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %138, i64 noundef %141, i32 noundef %142)
  %143 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %143, ptr %17, align 4, !tbaa !9
  %144 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %144, ptr %18, align 4, !tbaa !9
  %145 = load ptr, ptr %5, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.w2c_hermes, ptr %145, i32 0, i32 6
  %147 = load i32, ptr %17, align 4, !tbaa !9
  %148 = zext i32 %147 to i64
  %149 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %146, i64 noundef %148, i32 noundef %149)
  store i32 1, ptr %17, align 4, !tbaa !9
  br label %502

150:                                              ; preds = %39
  %151 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %151, ptr %17, align 4, !tbaa !9
  %152 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %152, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %153 = load i32, ptr %19, align 4, !tbaa !9
  %154 = load i32, ptr %18, align 4, !tbaa !9
  %155 = add i32 %154, %153
  store i32 %155, ptr %18, align 4, !tbaa !9
  %156 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %156, ptr %19, align 4, !tbaa !9
  store i32 8, ptr %20, align 4, !tbaa !9
  %157 = load i32, ptr %20, align 4, !tbaa !9
  %158 = load i32, ptr %19, align 4, !tbaa !9
  %159 = sub i32 %158, %157
  store i32 %159, ptr %19, align 4, !tbaa !9
  %160 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %160, ptr %20, align 4, !tbaa !9
  %161 = load ptr, ptr %5, align 8, !tbaa !5
  %162 = load i32, ptr %17, align 4, !tbaa !9
  %163 = load i32, ptr %18, align 4, !tbaa !9
  %164 = load i32, ptr %19, align 4, !tbaa !9
  %165 = load i32, ptr %20, align 4, !tbaa !9
  %166 = call i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort30x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x29(ptr noundef %161, i32 noundef %162, i32 noundef %163, i32 noundef %164, i32 noundef %165)
  store i32 %166, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  br label %502

167:                                              ; preds = %40
  %168 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %168, ptr %17, align 4, !tbaa !9
  %169 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %169, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %170 = load i32, ptr %19, align 4, !tbaa !9
  %171 = load i32, ptr %18, align 4, !tbaa !9
  %172 = add i32 %171, %170
  store i32 %172, ptr %18, align 4, !tbaa !9
  %173 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %173, ptr %19, align 4, !tbaa !9
  store i32 16, ptr %20, align 4, !tbaa !9
  %174 = load i32, ptr %20, align 4, !tbaa !9
  %175 = load i32, ptr %19, align 4, !tbaa !9
  %176 = add i32 %175, %174
  store i32 %176, ptr %19, align 4, !tbaa !9
  %177 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %177, ptr %20, align 4, !tbaa !9
  store i32 8, ptr %21, align 4, !tbaa !9
  %178 = load i32, ptr %21, align 4, !tbaa !9
  %179 = load i32, ptr %20, align 4, !tbaa !9
  %180 = sub i32 %179, %178
  store i32 %180, ptr %20, align 4, !tbaa !9
  %181 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %181, ptr %21, align 4, !tbaa !9
  %182 = load ptr, ptr %5, align 8, !tbaa !5
  %183 = load i32, ptr %17, align 4, !tbaa !9
  %184 = load i32, ptr %18, align 4, !tbaa !9
  %185 = load i32, ptr %19, align 4, !tbaa !9
  %186 = load i32, ptr %20, align 4, !tbaa !9
  %187 = load i32, ptr %21, align 4, !tbaa !9
  %188 = call i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort40x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x29(ptr noundef %182, i32 noundef %183, i32 noundef %184, i32 noundef %185, i32 noundef %186, i32 noundef %187)
  store i32 %188, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  br label %502

189:                                              ; preds = %41
  %190 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %190, ptr %17, align 4, !tbaa !9
  %191 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %191, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %192 = load i32, ptr %19, align 4, !tbaa !9
  %193 = load i32, ptr %18, align 4, !tbaa !9
  %194 = add i32 %193, %192
  store i32 %194, ptr %18, align 4, !tbaa !9
  %195 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %195, ptr %19, align 4, !tbaa !9
  store i32 16, ptr %20, align 4, !tbaa !9
  %196 = load i32, ptr %20, align 4, !tbaa !9
  %197 = load i32, ptr %19, align 4, !tbaa !9
  %198 = add i32 %197, %196
  store i32 %198, ptr %19, align 4, !tbaa !9
  %199 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %199, ptr %20, align 4, !tbaa !9
  store i32 24, ptr %21, align 4, !tbaa !9
  %200 = load i32, ptr %21, align 4, !tbaa !9
  %201 = load i32, ptr %20, align 4, !tbaa !9
  %202 = add i32 %201, %200
  store i32 %202, ptr %20, align 4, !tbaa !9
  %203 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %203, ptr %21, align 4, !tbaa !9
  store i32 8, ptr %22, align 4, !tbaa !9
  %204 = load i32, ptr %22, align 4, !tbaa !9
  %205 = load i32, ptr %21, align 4, !tbaa !9
  %206 = sub i32 %205, %204
  store i32 %206, ptr %21, align 4, !tbaa !9
  %207 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %207, ptr %22, align 4, !tbaa !9
  %208 = load ptr, ptr %5, align 8, !tbaa !5
  %209 = load i32, ptr %17, align 4, !tbaa !9
  %210 = load i32, ptr %18, align 4, !tbaa !9
  %211 = load i32, ptr %19, align 4, !tbaa !9
  %212 = load i32, ptr %20, align 4, !tbaa !9
  %213 = load i32, ptr %21, align 4, !tbaa !9
  %214 = load i32, ptr %22, align 4, !tbaa !9
  %215 = call i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort50x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x29(ptr noundef %208, i32 noundef %209, i32 noundef %210, i32 noundef %211, i32 noundef %212, i32 noundef %213, i32 noundef %214)
  store i32 %215, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  br label %502

216:                                              ; preds = %42
  %217 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %217, ptr %17, align 4, !tbaa !9
  %218 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %218, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %219 = load i32, ptr %19, align 4, !tbaa !9
  %220 = load i32, ptr %18, align 4, !tbaa !9
  %221 = add i32 %220, %219
  store i32 %221, ptr %18, align 4, !tbaa !9
  %222 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %222, ptr %19, align 4, !tbaa !9
  store i32 16, ptr %20, align 4, !tbaa !9
  %223 = load i32, ptr %20, align 4, !tbaa !9
  %224 = load i32, ptr %19, align 4, !tbaa !9
  %225 = add i32 %224, %223
  store i32 %225, ptr %19, align 4, !tbaa !9
  %226 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %226, ptr %9, align 4, !tbaa !9
  %227 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %227, ptr %20, align 4, !tbaa !9
  %228 = load ptr, ptr %5, align 8, !tbaa !5
  %229 = load i32, ptr %17, align 4, !tbaa !9
  %230 = load i32, ptr %18, align 4, !tbaa !9
  %231 = load i32, ptr %19, align 4, !tbaa !9
  %232 = load i32, ptr %20, align 4, !tbaa !9
  %233 = call i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort30x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x29(ptr noundef %228, i32 noundef %229, i32 noundef %230, i32 noundef %231, i32 noundef %232)
  store i32 %233, ptr %17, align 4, !tbaa !9
  %234 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %234, ptr %17, align 4, !tbaa !9
  store i32 24, ptr %18, align 4, !tbaa !9
  %235 = load i32, ptr %18, align 4, !tbaa !9
  %236 = load i32, ptr %17, align 4, !tbaa !9
  %237 = add i32 %236, %235
  store i32 %237, ptr %17, align 4, !tbaa !9
  %238 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %238, ptr %8, align 4, !tbaa !9
  %239 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %239, ptr %18, align 4, !tbaa !9
  %240 = load i32, ptr %17, align 4, !tbaa !9
  %241 = load i32, ptr %18, align 4, !tbaa !9
  %242 = icmp eq i32 %240, %241
  %243 = zext i1 %242 to i32
  store i32 %243, ptr %17, align 4, !tbaa !9
  %244 = load i32, ptr %17, align 4, !tbaa !9
  %245 = icmp ne i32 %244, 0
  br i1 %245, label %246, label %247

246:                                              ; preds = %216
  br label %500

247:                                              ; preds = %216
  br label %248

248:                                              ; preds = %497, %247
  %249 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %249, ptr %17, align 4, !tbaa !9
  %250 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %250, ptr %11, align 4, !tbaa !9
  %251 = load ptr, ptr %5, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.w2c_hermes, ptr %251, i32 0, i32 6
  %253 = load i32, ptr %17, align 4, !tbaa !9
  %254 = zext i32 %253 to i64
  %255 = call i32 @i32_load(ptr noundef %252, i64 noundef %254)
  store i32 %255, ptr %17, align 4, !tbaa !9
  %256 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %256, ptr %10, align 4, !tbaa !9
  %257 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %257, ptr %18, align 4, !tbaa !9
  %258 = load ptr, ptr %5, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.w2c_hermes, ptr %258, i32 0, i32 6
  %260 = load i32, ptr %18, align 4, !tbaa !9
  %261 = zext i32 %260 to i64
  %262 = call i32 @i32_load(ptr noundef %259, i64 noundef %261)
  store i32 %262, ptr %18, align 4, !tbaa !9
  %263 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %263, ptr %8, align 4, !tbaa !9
  %264 = load i32, ptr %17, align 4, !tbaa !9
  %265 = load i32, ptr %18, align 4, !tbaa !9
  %266 = icmp uge i32 %264, %265
  %267 = zext i1 %266 to i32
  store i32 %267, ptr %17, align 4, !tbaa !9
  %268 = load i32, ptr %17, align 4, !tbaa !9
  %269 = icmp ne i32 %268, 0
  br i1 %269, label %270, label %303

270:                                              ; preds = %248
  %271 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %271, ptr %17, align 4, !tbaa !9
  %272 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %272, ptr %18, align 4, !tbaa !9
  %273 = load i32, ptr %17, align 4, !tbaa !9
  %274 = load i32, ptr %18, align 4, !tbaa !9
  %275 = icmp ult i32 %273, %274
  %276 = zext i1 %275 to i32
  store i32 %276, ptr %17, align 4, !tbaa !9
  %277 = load i32, ptr %17, align 4, !tbaa !9
  %278 = icmp ne i32 %277, 0
  br i1 %278, label %279, label %280

279:                                              ; preds = %270
  br label %483

280:                                              ; preds = %270
  %281 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %281, ptr %17, align 4, !tbaa !9
  %282 = load ptr, ptr %5, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.w2c_hermes, ptr %282, i32 0, i32 6
  %284 = load i32, ptr %17, align 4, !tbaa !9
  %285 = zext i32 %284 to i64
  %286 = add i64 %285, 4
  %287 = call i32 @i32_load(ptr noundef %283, i64 noundef %286)
  store i32 %287, ptr %17, align 4, !tbaa !9
  %288 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %288, ptr %18, align 4, !tbaa !9
  %289 = load ptr, ptr %5, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.w2c_hermes, ptr %289, i32 0, i32 6
  %291 = load i32, ptr %18, align 4, !tbaa !9
  %292 = zext i32 %291 to i64
  %293 = add i64 %292, 4
  %294 = call i32 @i32_load(ptr noundef %290, i64 noundef %293)
  store i32 %294, ptr %18, align 4, !tbaa !9
  %295 = load i32, ptr %17, align 4, !tbaa !9
  %296 = load i32, ptr %18, align 4, !tbaa !9
  %297 = icmp uge i32 %295, %296
  %298 = zext i1 %297 to i32
  store i32 %298, ptr %17, align 4, !tbaa !9
  %299 = load i32, ptr %17, align 4, !tbaa !9
  %300 = icmp ne i32 %299, 0
  br i1 %300, label %301, label %302

301:                                              ; preds = %280
  br label %483

302:                                              ; preds = %280
  br label %303

303:                                              ; preds = %302, %248
  %304 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %304, ptr %17, align 4, !tbaa !9
  %305 = load ptr, ptr %5, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.w2c_hermes, ptr %305, i32 0, i32 6
  %307 = load i32, ptr %17, align 4, !tbaa !9
  %308 = zext i32 %307 to i64
  %309 = call i64 @i64_load(ptr noundef %306, i64 noundef %308)
  store i64 %309, ptr %23, align 8, !tbaa !11
  %310 = load i64, ptr %23, align 8, !tbaa !11
  store i64 %310, ptr %16, align 8, !tbaa !11
  %311 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %311, ptr %17, align 4, !tbaa !9
  %312 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %312, ptr %18, align 4, !tbaa !9
  %313 = load ptr, ptr %5, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.w2c_hermes, ptr %313, i32 0, i32 6
  %315 = load i32, ptr %17, align 4, !tbaa !9
  %316 = zext i32 %315 to i64
  %317 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %314, i64 noundef %316, i32 noundef %317)
  %318 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %318, ptr %17, align 4, !tbaa !9
  %319 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %319, ptr %18, align 4, !tbaa !9
  %320 = load ptr, ptr %5, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.w2c_hermes, ptr %320, i32 0, i32 6
  %322 = load i32, ptr %18, align 4, !tbaa !9
  %323 = zext i32 %322 to i64
  %324 = add i64 %323, 4
  %325 = call i32 @i32_load(ptr noundef %321, i64 noundef %324)
  store i32 %325, ptr %18, align 4, !tbaa !9
  %326 = load ptr, ptr %5, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.w2c_hermes, ptr %326, i32 0, i32 6
  %328 = load i32, ptr %17, align 4, !tbaa !9
  %329 = zext i32 %328 to i64
  %330 = add i64 %329, 4
  %331 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %327, i64 noundef %330, i32 noundef %331)
  %332 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %332, ptr %23, align 8, !tbaa !11
  store i64 32, ptr %24, align 8, !tbaa !11
  %333 = load i64, ptr %24, align 8, !tbaa !11
  %334 = and i64 %333, 63
  %335 = load i64, ptr %23, align 8, !tbaa !11
  %336 = lshr i64 %335, %334
  store i64 %336, ptr %23, align 8, !tbaa !11
  %337 = load i64, ptr %23, align 8, !tbaa !11
  %338 = trunc i64 %337 to i32
  store i32 %338, ptr %17, align 4, !tbaa !9
  %339 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %339, ptr %15, align 4, !tbaa !9
  %340 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %340, ptr %23, align 8, !tbaa !11
  %341 = load i64, ptr %23, align 8, !tbaa !11
  %342 = trunc i64 %341 to i32
  store i32 %342, ptr %17, align 4, !tbaa !9
  %343 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %343, ptr %13, align 4, !tbaa !9
  %344 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %344, ptr %17, align 4, !tbaa !9
  %345 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %345, ptr %8, align 4, !tbaa !9
  %346 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %346, ptr %18, align 4, !tbaa !9
  %347 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %347, ptr %19, align 4, !tbaa !9
  %348 = load i32, ptr %18, align 4, !tbaa !9
  %349 = load i32, ptr %19, align 4, !tbaa !9
  %350 = icmp eq i32 %348, %349
  %351 = zext i1 %350 to i32
  store i32 %351, ptr %18, align 4, !tbaa !9
  %352 = load i32, ptr %18, align 4, !tbaa !9
  %353 = icmp ne i32 %352, 0
  br i1 %353, label %354, label %355

354:                                              ; preds = %303
  br label %445

355:                                              ; preds = %303
  br label %356

356:                                              ; preds = %442, %355
  %357 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %357, ptr %17, align 4, !tbaa !9
  %358 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %358, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %359 = load i32, ptr %19, align 4, !tbaa !9
  %360 = load i32, ptr %18, align 4, !tbaa !9
  %361 = sub i32 %360, %359
  store i32 %361, ptr %18, align 4, !tbaa !9
  %362 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %362, ptr %8, align 4, !tbaa !9
  %363 = load ptr, ptr %5, align 8, !tbaa !5
  %364 = getelementptr inbounds %struct.w2c_hermes, ptr %363, i32 0, i32 6
  %365 = load i32, ptr %18, align 4, !tbaa !9
  %366 = zext i32 %365 to i64
  %367 = call i32 @i32_load(ptr noundef %364, i64 noundef %366)
  store i32 %367, ptr %18, align 4, !tbaa !9
  %368 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %368, ptr %10, align 4, !tbaa !9
  %369 = load i32, ptr %17, align 4, !tbaa !9
  %370 = load i32, ptr %18, align 4, !tbaa !9
  %371 = icmp ult i32 %369, %370
  %372 = zext i1 %371 to i32
  store i32 %372, ptr %17, align 4, !tbaa !9
  %373 = load i32, ptr %17, align 4, !tbaa !9
  %374 = icmp ne i32 %373, 0
  br i1 %374, label %375, label %386

375:                                              ; preds = %356
  %376 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %376, ptr %17, align 4, !tbaa !9
  store i32 4, ptr %18, align 4, !tbaa !9
  %377 = load i32, ptr %18, align 4, !tbaa !9
  %378 = load i32, ptr %17, align 4, !tbaa !9
  %379 = sub i32 %378, %377
  store i32 %379, ptr %17, align 4, !tbaa !9
  %380 = load ptr, ptr %5, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.w2c_hermes, ptr %380, i32 0, i32 6
  %382 = load i32, ptr %17, align 4, !tbaa !9
  %383 = zext i32 %382 to i64
  %384 = call i32 @i32_load(ptr noundef %381, i64 noundef %383)
  store i32 %384, ptr %17, align 4, !tbaa !9
  %385 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %385, ptr %12, align 4, !tbaa !9
  br label %417

386:                                              ; preds = %356
  %387 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %387, ptr %17, align 4, !tbaa !9
  %388 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %388, ptr %18, align 4, !tbaa !9
  %389 = load i32, ptr %17, align 4, !tbaa !9
  %390 = load i32, ptr %18, align 4, !tbaa !9
  %391 = icmp uge i32 %389, %390
  %392 = zext i1 %391 to i32
  store i32 %392, ptr %17, align 4, !tbaa !9
  %393 = load i32, ptr %17, align 4, !tbaa !9
  %394 = icmp ne i32 %393, 0
  br i1 %394, label %395, label %415

395:                                              ; preds = %386
  %396 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %396, ptr %17, align 4, !tbaa !9
  store i32 4, ptr %18, align 4, !tbaa !9
  %397 = load i32, ptr %18, align 4, !tbaa !9
  %398 = load i32, ptr %17, align 4, !tbaa !9
  %399 = sub i32 %398, %397
  store i32 %399, ptr %17, align 4, !tbaa !9
  %400 = load ptr, ptr %5, align 8, !tbaa !5
  %401 = getelementptr inbounds %struct.w2c_hermes, ptr %400, i32 0, i32 6
  %402 = load i32, ptr %17, align 4, !tbaa !9
  %403 = zext i32 %402 to i64
  %404 = call i32 @i32_load(ptr noundef %401, i64 noundef %403)
  store i32 %404, ptr %17, align 4, !tbaa !9
  %405 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %405, ptr %12, align 4, !tbaa !9
  %406 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %406, ptr %18, align 4, !tbaa !9
  %407 = load i32, ptr %17, align 4, !tbaa !9
  %408 = load i32, ptr %18, align 4, !tbaa !9
  %409 = icmp ugt i32 %407, %408
  %410 = zext i1 %409 to i32
  store i32 %410, ptr %17, align 4, !tbaa !9
  %411 = load i32, ptr %17, align 4, !tbaa !9
  %412 = icmp ne i32 %411, 0
  br i1 %412, label %413, label %414

413:                                              ; preds = %395
  br label %417

414:                                              ; preds = %395
  br label %415

415:                                              ; preds = %414, %386
  %416 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %416, ptr %17, align 4, !tbaa !9
  br label %445

417:                                              ; preds = %413, %375
  %418 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %418, ptr %17, align 4, !tbaa !9
  %419 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %419, ptr %18, align 4, !tbaa !9
  %420 = load ptr, ptr %5, align 8, !tbaa !5
  %421 = getelementptr inbounds %struct.w2c_hermes, ptr %420, i32 0, i32 6
  %422 = load i32, ptr %17, align 4, !tbaa !9
  %423 = zext i32 %422 to i64
  %424 = add i64 %423, 4
  %425 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %421, i64 noundef %424, i32 noundef %425)
  %426 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %426, ptr %17, align 4, !tbaa !9
  %427 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %427, ptr %18, align 4, !tbaa !9
  %428 = load ptr, ptr %5, align 8, !tbaa !5
  %429 = getelementptr inbounds %struct.w2c_hermes, ptr %428, i32 0, i32 6
  %430 = load i32, ptr %17, align 4, !tbaa !9
  %431 = zext i32 %430 to i64
  %432 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %429, i64 noundef %431, i32 noundef %432)
  %433 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %433, ptr %17, align 4, !tbaa !9
  %434 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %434, ptr %9, align 4, !tbaa !9
  %435 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %435, ptr %18, align 4, !tbaa !9
  %436 = load i32, ptr %17, align 4, !tbaa !9
  %437 = load i32, ptr %18, align 4, !tbaa !9
  %438 = icmp ne i32 %436, %437
  %439 = zext i1 %438 to i32
  store i32 %439, ptr %17, align 4, !tbaa !9
  %440 = load i32, ptr %17, align 4, !tbaa !9
  %441 = icmp ne i32 %440, 0
  br i1 %441, label %442, label %443

442:                                              ; preds = %417
  br label %356

443:                                              ; preds = %417
  %444 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %444, ptr %17, align 4, !tbaa !9
  br label %445

445:                                              ; preds = %443, %415, %354
  %446 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %446, ptr %8, align 4, !tbaa !9
  %447 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %447, ptr %18, align 4, !tbaa !9
  %448 = load ptr, ptr %5, align 8, !tbaa !5
  %449 = getelementptr inbounds %struct.w2c_hermes, ptr %448, i32 0, i32 6
  %450 = load i32, ptr %17, align 4, !tbaa !9
  %451 = zext i32 %450 to i64
  %452 = add i64 %451, 4
  %453 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %449, i64 noundef %452, i32 noundef %453)
  %454 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %454, ptr %17, align 4, !tbaa !9
  %455 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %455, ptr %18, align 4, !tbaa !9
  %456 = load ptr, ptr %5, align 8, !tbaa !5
  %457 = getelementptr inbounds %struct.w2c_hermes, ptr %456, i32 0, i32 6
  %458 = load i32, ptr %17, align 4, !tbaa !9
  %459 = zext i32 %458 to i64
  %460 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %457, i64 noundef %459, i32 noundef %460)
  %461 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %461, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %462 = load i32, ptr %18, align 4, !tbaa !9
  %463 = load i32, ptr %17, align 4, !tbaa !9
  %464 = add i32 %463, %462
  store i32 %464, ptr %17, align 4, !tbaa !9
  %465 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %465, ptr %14, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %466 = load i32, ptr %17, align 4, !tbaa !9
  %467 = load i32, ptr %18, align 4, !tbaa !9
  %468 = icmp ne i32 %466, %467
  %469 = zext i1 %468 to i32
  store i32 %469, ptr %17, align 4, !tbaa !9
  %470 = load i32, ptr %17, align 4, !tbaa !9
  %471 = icmp ne i32 %470, 0
  br i1 %471, label %472, label %473

472:                                              ; preds = %445
  br label %483

473:                                              ; preds = %445
  %474 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %474, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %475 = load i32, ptr %18, align 4, !tbaa !9
  %476 = load i32, ptr %17, align 4, !tbaa !9
  %477 = add i32 %476, %475
  store i32 %477, ptr %17, align 4, !tbaa !9
  %478 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %478, ptr %18, align 4, !tbaa !9
  %479 = load i32, ptr %17, align 4, !tbaa !9
  %480 = load i32, ptr %18, align 4, !tbaa !9
  %481 = icmp eq i32 %479, %480
  %482 = zext i1 %481 to i32
  store i32 %482, ptr %17, align 4, !tbaa !9
  br label %502

483:                                              ; preds = %472, %301, %279
  %484 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %484, ptr %17, align 4, !tbaa !9
  %485 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %485, ptr %9, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %486 = load i32, ptr %18, align 4, !tbaa !9
  %487 = load i32, ptr %17, align 4, !tbaa !9
  %488 = add i32 %487, %486
  store i32 %488, ptr %17, align 4, !tbaa !9
  %489 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %489, ptr %8, align 4, !tbaa !9
  %490 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %490, ptr %18, align 4, !tbaa !9
  %491 = load i32, ptr %17, align 4, !tbaa !9
  %492 = load i32, ptr %18, align 4, !tbaa !9
  %493 = icmp ne i32 %491, %492
  %494 = zext i1 %493 to i32
  store i32 %494, ptr %17, align 4, !tbaa !9
  %495 = load i32, ptr %17, align 4, !tbaa !9
  %496 = icmp ne i32 %495, 0
  br i1 %496, label %497, label %498

497:                                              ; preds = %483
  br label %248

498:                                              ; preds = %483
  store i32 1, ptr %17, align 4, !tbaa !9
  %499 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %499, ptr %10, align 4, !tbaa !9
  br label %500

500:                                              ; preds = %498, %246, %101, %77, %37, %36
  %501 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %501, ptr %17, align 4, !tbaa !9
  br label %502

502:                                              ; preds = %500, %473, %189, %167, %150, %103
  %503 = load i32, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  ret i32 %503
}

declare i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort30x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

declare i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort40x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

declare i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort50x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint 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 #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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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, !12, i64 0}
!12 = !{!"long", !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"

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_load(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @w2c_hermes_bool0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Finsertion_sort_incomplete0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #1 {
  %5 = sub i32 %2, %1
  %6 = ashr i32 %5, 3
  switch i32 %6, label %40 [
    i32 0, label %.loopexit309
    i32 1, label %.loopexit309
    i32 2, label %7
    i32 3, label %25
    i32 4, label %29
    i32 5, label %34
  ]

7:                                                ; preds = %4
  %8 = add i32 %2, -8
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %8 to i64
  %11 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %10)
  %12 = zext i32 %1 to i64
  %13 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %12)
  %.not = icmp ult i32 %11, %13
  br i1 %.not, label %._crit_edge, label %14

._crit_edge:                                      ; preds = %7
  %.pre315 = add nuw nsw i64 %12, 4
  %.pre317 = add i32 %2, -4
  %.pre319 = zext i32 %.pre317 to i64
  br label %22

14:                                               ; preds = %7
  %15 = icmp ult i32 %13, %11
  br i1 %15, label %.loopexit309, label %16

16:                                               ; preds = %14
  %17 = add i32 %2, -4
  %18 = zext i32 %17 to i64
  %19 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %18)
  %20 = add nuw nsw i64 %12, 4
  %21 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %20)
  %.not301 = icmp ult i32 %19, %21
  br i1 %.not301, label %22, label %.loopexit309

22:                                               ; preds = %._crit_edge, %16
  %.pre-phi320 = phi i64 [ %.pre319, %._crit_edge ], [ %18, %16 ]
  %.pre-phi316 = phi i64 [ %.pre315, %._crit_edge ], [ %20, %16 ]
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %12, i32 noundef %11)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %10, i32 noundef %13)
  %23 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %.pre-phi316)
  %24 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %.pre-phi320)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %.pre-phi316, i32 noundef %24)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %.pre-phi320, i32 noundef %23)
  br label %.loopexit309

25:                                               ; preds = %4
  %26 = add i32 %1, 8
  %27 = add i32 %2, -8
  %28 = tail call i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort30x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %26, i32 noundef %27, i32 noundef %3) #3
  br label %.loopexit309

29:                                               ; preds = %4
  %30 = add i32 %1, 8
  %31 = add i32 %1, 16
  %32 = add i32 %2, -8
  %33 = tail call i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort40x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %3) #3
  br label %.loopexit309

34:                                               ; preds = %4
  %35 = add i32 %1, 8
  %36 = add i32 %1, 16
  %37 = add i32 %1, 24
  %38 = add i32 %2, -8
  %39 = tail call i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort50x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %35, i32 noundef %36, i32 noundef %37, i32 noundef %38, i32 noundef %3) #3
  br label %.loopexit309

40:                                               ; preds = %4
  %41 = add i32 %1, 8
  %42 = add i32 %1, 16
  %43 = tail call i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort30x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %41, i32 noundef %42, i32 noundef %3) #3
  %44 = add i32 %1, 24
  %45 = icmp eq i32 %44, %2
  br i1 %45, label %.loopexit309, label %.preheader308

.preheader308:                                    ; preds = %40
  %46 = getelementptr inbounds i8, ptr %0, i64 40
  br label %47

47:                                               ; preds = %.preheader308, %90
  %.0285 = phi i32 [ %.1286, %90 ], [ 0, %.preheader308 ]
  %.0281 = phi i32 [ %.0, %90 ], [ %42, %.preheader308 ]
  %.0 = phi i32 [ %91, %90 ], [ %44, %.preheader308 ]
  %48 = zext i32 %.0 to i64
  %49 = tail call i32 @i32_load(ptr noundef nonnull %46, i64 noundef %48)
  %50 = zext i32 %.0281 to i64
  %51 = tail call i32 @i32_load(ptr noundef nonnull %46, i64 noundef %50)
  %.not302 = icmp ult i32 %49, %51
  br i1 %.not302, label %._crit_edge312, label %52

._crit_edge312:                                   ; preds = %47
  %.pre = add nuw nsw i64 %50, 4
  %.pre313 = add nuw nsw i64 %48, 4
  br label %59

52:                                               ; preds = %47
  %53 = icmp ult i32 %51, %49
  br i1 %53, label %90, label %54

54:                                               ; preds = %52
  %55 = add nuw nsw i64 %48, 4
  %56 = tail call i32 @i32_load(ptr noundef nonnull %46, i64 noundef %55)
  %57 = add nuw nsw i64 %50, 4
  %58 = tail call i32 @i32_load(ptr noundef nonnull %46, i64 noundef %57)
  %.not303 = icmp ult i32 %56, %58
  br i1 %.not303, label %59, label %90

59:                                               ; preds = %._crit_edge312, %54
  %.pre-phi314 = phi i64 [ %.pre313, %._crit_edge312 ], [ %55, %54 ]
  %.pre-phi = phi i64 [ %.pre, %._crit_edge312 ], [ %57, %54 ]
  %60 = tail call i64 @i64_load(ptr noundef nonnull %46, i64 noundef %48)
  tail call void @i32_store(ptr noundef nonnull %46, i64 noundef %48, i32 noundef %51)
  %61 = tail call i32 @i32_load(ptr noundef nonnull %46, i64 noundef %.pre-phi)
  tail call void @i32_store(ptr noundef nonnull %46, i64 noundef %.pre-phi314, i32 noundef %61)
  %62 = lshr i64 %60, 32
  %63 = trunc nuw i64 %62 to i32
  %64 = trunc i64 %60 to i32
  %65 = icmp eq i32 %.0281, %1
  br i1 %65, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %59, %80
  %.1 = phi i32 [ %66, %80 ], [ %.0281, %59 ]
  %66 = add i32 %.1, -8
  %67 = zext i32 %66 to i64
  %68 = tail call i32 @i32_load(ptr noundef nonnull %46, i64 noundef %67)
  %69 = icmp ugt i32 %68, %64
  br i1 %69, label %70, label %74

70:                                               ; preds = %.preheader
  %71 = add i32 %.1, -4
  %72 = zext i32 %71 to i64
  %73 = tail call i32 @i32_load(ptr noundef nonnull %46, i64 noundef %72)
  br label %80

74:                                               ; preds = %.preheader
  %.not304 = icmp ult i32 %68, %64
  br i1 %.not304, label %.loopexit, label %75

75:                                               ; preds = %74
  %76 = add i32 %.1, -4
  %77 = zext i32 %76 to i64
  %78 = tail call i32 @i32_load(ptr noundef nonnull %46, i64 noundef %77)
  %79 = icmp ugt i32 %78, %63
  br i1 %79, label %80, label %.loopexit

80:                                               ; preds = %75, %70
  %.0287 = phi i32 [ %73, %70 ], [ %78, %75 ]
  %81 = zext i32 %.1 to i64
  %82 = add nuw nsw i64 %81, 4
  tail call void @i32_store(ptr noundef nonnull %46, i64 noundef %82, i32 noundef %.0287)
  tail call void @i32_store(ptr noundef nonnull %46, i64 noundef %81, i32 noundef %68)
  %.not305 = icmp eq i32 %66, %1
  br i1 %.not305, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %80, %74, %75, %59
  %.0283 = phi i32 [ %1, %59 ], [ %1, %80 ], [ %.1, %74 ], [ %.1, %75 ]
  %83 = zext i32 %.0283 to i64
  %84 = add nuw nsw i64 %83, 4
  tail call void @i32_store(ptr noundef nonnull %46, i64 noundef %84, i32 noundef %63)
  tail call void @i32_store(ptr noundef nonnull %46, i64 noundef %83, i32 noundef %64)
  %85 = add i32 %.0285, 1
  %.not306 = icmp eq i32 %85, 8
  br i1 %.not306, label %86, label %90

86:                                               ; preds = %.loopexit
  %87 = add i32 %.0, 8
  %88 = icmp eq i32 %87, %2
  %89 = zext i1 %88 to i32
  br label %.loopexit309

90:                                               ; preds = %.loopexit, %54, %52
  %.1286 = phi i32 [ %.0285, %52 ], [ %.0285, %54 ], [ %85, %.loopexit ]
  %91 = add i32 %.0, 8
  %.not307 = icmp eq i32 %91, %2
  br i1 %.not307, label %.loopexit309, label %47

.loopexit309:                                     ; preds = %90, %4, %4, %14, %16, %40, %86, %34, %29, %25, %22
  %.1284 = phi i32 [ %89, %86 ], [ 1, %34 ], [ 1, %29 ], [ 1, %25 ], [ 1, %22 ], [ 1, %40 ], [ 1, %16 ], [ 1, %14 ], [ 1, %4 ], [ 1, %4 ], [ 1, %90 ]
  ret i32 %.1284
}

declare i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort30x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort40x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort50x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

!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)"}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass