; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_opt_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 i32 @i32_load(ptr noundef, i64 noundef) #1

; 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: 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) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %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 i64, align 8
  %16 = alloca i32, align 4
  %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 i64, align 8
  %23 = alloca i64, align 8
  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 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, 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 8, ptr %15) #4
  store i64 0, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  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 8, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  %24 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %24, ptr %16, align 4, !tbaa !9
  %25 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %25, ptr %17, align 4, !tbaa !9
  %26 = load i32, ptr %17, align 4, !tbaa !9
  %27 = load i32, ptr %16, align 4, !tbaa !9
  %28 = sub i32 %27, %26
  store i32 %28, ptr %16, align 4, !tbaa !9
  store i32 3, ptr %17, align 4, !tbaa !9
  %29 = load i32, ptr %16, align 4, !tbaa !9
  %30 = load i32, ptr %17, align 4, !tbaa !9
  %31 = and i32 %30, 31
  %32 = ashr i32 %29, %31
  store i32 %32, ptr %16, align 4, !tbaa !9
  %33 = load i32, ptr %16, align 4, !tbaa !9
  switch i32 %33, label %40 [
    i32 0, label %34
    i32 1, label %35
    i32 2, label %36
    i32 3, label %37
    i32 4, label %38
    i32 5, label %39
  ]

34:                                               ; preds = %3
  br label %487

35:                                               ; preds = %3
  br label %487

36:                                               ; preds = %3
  br label %41

37:                                               ; preds = %3
  br label %148

38:                                               ; preds = %3
  br label %163

39:                                               ; preds = %3
  br label %183

40:                                               ; preds = %3
  br label %208

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

66:                                               ; preds = %41
  %67 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %67, ptr %16, align 4, !tbaa !9
  %68 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %68, ptr %17, align 4, !tbaa !9
  %69 = load i32, ptr %16, align 4, !tbaa !9
  %70 = load i32, ptr %17, align 4, !tbaa !9
  %71 = icmp ult i32 %69, %70
  %72 = zext i1 %71 to i32
  store i32 %72, ptr %16, align 4, !tbaa !9
  %73 = load i32, ptr %16, align 4, !tbaa !9
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %75, label %76

75:                                               ; preds = %66
  br label %487

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

99:                                               ; preds = %76
  br label %487

100:                                              ; preds = %76
  br label %101

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

148:                                              ; preds = %37
  %149 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %149, ptr %16, align 4, !tbaa !9
  %150 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %150, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %151 = load i32, ptr %18, align 4, !tbaa !9
  %152 = load i32, ptr %17, align 4, !tbaa !9
  %153 = add i32 %152, %151
  store i32 %153, ptr %17, align 4, !tbaa !9
  %154 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %154, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %155 = load i32, ptr %19, align 4, !tbaa !9
  %156 = load i32, ptr %18, align 4, !tbaa !9
  %157 = sub i32 %156, %155
  store i32 %157, ptr %18, align 4, !tbaa !9
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = load i32, ptr %16, align 4, !tbaa !9
  %160 = load i32, ptr %17, align 4, !tbaa !9
  %161 = load i32, ptr %18, align 4, !tbaa !9
  %162 = call i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort30x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x29(ptr noundef %158, i32 noundef %159, i32 noundef %160, i32 noundef %161)
  store i32 %162, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  br label %488

163:                                              ; preds = %38
  %164 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %164, ptr %16, align 4, !tbaa !9
  %165 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %165, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %166 = load i32, ptr %18, align 4, !tbaa !9
  %167 = load i32, ptr %17, align 4, !tbaa !9
  %168 = add i32 %167, %166
  store i32 %168, ptr %17, align 4, !tbaa !9
  %169 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %169, ptr %18, align 4, !tbaa !9
  store i32 16, 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 8, 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 = sub i32 %175, %174
  store i32 %176, ptr %19, align 4, !tbaa !9
  %177 = load ptr, ptr %4, align 8, !tbaa !5
  %178 = load i32, ptr %16, align 4, !tbaa !9
  %179 = load i32, ptr %17, align 4, !tbaa !9
  %180 = load i32, ptr %18, align 4, !tbaa !9
  %181 = load i32, ptr %19, align 4, !tbaa !9
  %182 = call i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort40x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x29(ptr noundef %177, i32 noundef %178, i32 noundef %179, i32 noundef %180, i32 noundef %181)
  store i32 %182, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  br label %488

183:                                              ; preds = %39
  %184 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %184, ptr %16, align 4, !tbaa !9
  %185 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %185, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %186 = load i32, ptr %18, align 4, !tbaa !9
  %187 = load i32, ptr %17, align 4, !tbaa !9
  %188 = add i32 %187, %186
  store i32 %188, ptr %17, align 4, !tbaa !9
  %189 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %189, ptr %18, align 4, !tbaa !9
  store i32 16, ptr %19, align 4, !tbaa !9
  %190 = load i32, ptr %19, align 4, !tbaa !9
  %191 = load i32, ptr %18, align 4, !tbaa !9
  %192 = add i32 %191, %190
  store i32 %192, ptr %18, align 4, !tbaa !9
  %193 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %193, ptr %19, align 4, !tbaa !9
  store i32 24, ptr %20, align 4, !tbaa !9
  %194 = load i32, ptr %20, align 4, !tbaa !9
  %195 = load i32, ptr %19, align 4, !tbaa !9
  %196 = add i32 %195, %194
  store i32 %196, ptr %19, align 4, !tbaa !9
  %197 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %197, ptr %20, align 4, !tbaa !9
  store i32 8, ptr %21, align 4, !tbaa !9
  %198 = load i32, ptr %21, align 4, !tbaa !9
  %199 = load i32, ptr %20, align 4, !tbaa !9
  %200 = sub i32 %199, %198
  store i32 %200, ptr %20, align 4, !tbaa !9
  %201 = load ptr, ptr %4, align 8, !tbaa !5
  %202 = load i32, ptr %16, align 4, !tbaa !9
  %203 = load i32, ptr %17, align 4, !tbaa !9
  %204 = load i32, ptr %18, align 4, !tbaa !9
  %205 = load i32, ptr %19, align 4, !tbaa !9
  %206 = load i32, ptr %20, align 4, !tbaa !9
  %207 = call i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort50x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x29(ptr noundef %201, i32 noundef %202, i32 noundef %203, i32 noundef %204, i32 noundef %205, i32 noundef %206)
  store i32 %207, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  br label %488

208:                                              ; preds = %40
  %209 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %209, ptr %16, align 4, !tbaa !9
  %210 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %210, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %211 = load i32, ptr %18, align 4, !tbaa !9
  %212 = load i32, ptr %17, align 4, !tbaa !9
  %213 = add i32 %212, %211
  store i32 %213, ptr %17, align 4, !tbaa !9
  %214 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %214, ptr %18, align 4, !tbaa !9
  store i32 16, ptr %19, align 4, !tbaa !9
  %215 = load i32, ptr %19, align 4, !tbaa !9
  %216 = load i32, ptr %18, align 4, !tbaa !9
  %217 = add i32 %216, %215
  store i32 %217, ptr %18, align 4, !tbaa !9
  %218 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %218, ptr %7, align 4, !tbaa !9
  %219 = load ptr, ptr %4, align 8, !tbaa !5
  %220 = load i32, ptr %16, align 4, !tbaa !9
  %221 = load i32, ptr %17, align 4, !tbaa !9
  %222 = load i32, ptr %18, align 4, !tbaa !9
  %223 = call i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort30x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x3E0x28std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cstd0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Apair0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3E0x260x29(ptr noundef %219, i32 noundef %220, i32 noundef %221, i32 noundef %222)
  store i32 %223, ptr %16, align 4, !tbaa !9
  %224 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %224, ptr %16, align 4, !tbaa !9
  store i32 24, ptr %17, align 4, !tbaa !9
  %225 = load i32, ptr %17, align 4, !tbaa !9
  %226 = load i32, ptr %16, align 4, !tbaa !9
  %227 = add i32 %226, %225
  store i32 %227, ptr %16, align 4, !tbaa !9
  %228 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %228, ptr %8, align 4, !tbaa !9
  %229 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %229, ptr %17, align 4, !tbaa !9
  %230 = load i32, ptr %16, align 4, !tbaa !9
  %231 = load i32, ptr %17, align 4, !tbaa !9
  %232 = icmp eq i32 %230, %231
  %233 = zext i1 %232 to i32
  store i32 %233, ptr %16, align 4, !tbaa !9
  %234 = load i32, ptr %16, align 4, !tbaa !9
  %235 = icmp ne i32 %234, 0
  br i1 %235, label %236, label %237

236:                                              ; preds = %208
  br label %487

237:                                              ; preds = %208
  br label %238

238:                                              ; preds = %485, %237
  %239 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %239, ptr %16, align 4, !tbaa !9
  %240 = load ptr, ptr %4, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.w2c_hermes, ptr %240, i32 0, i32 6
  %242 = load i32, ptr %16, align 4, !tbaa !9
  %243 = zext i32 %242 to i64
  %244 = call i32 @i32_load(ptr noundef %241, i64 noundef %243)
  store i32 %244, ptr %16, align 4, !tbaa !9
  %245 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %245, ptr %9, align 4, !tbaa !9
  %246 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %246, ptr %17, align 4, !tbaa !9
  %247 = load ptr, ptr %4, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.w2c_hermes, ptr %247, i32 0, i32 6
  %249 = load i32, ptr %17, align 4, !tbaa !9
  %250 = zext i32 %249 to i64
  %251 = call i32 @i32_load(ptr noundef %248, i64 noundef %250)
  store i32 %251, ptr %17, align 4, !tbaa !9
  %252 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %252, ptr %10, align 4, !tbaa !9
  %253 = load i32, ptr %16, align 4, !tbaa !9
  %254 = load i32, ptr %17, align 4, !tbaa !9
  %255 = icmp uge i32 %253, %254
  %256 = zext i1 %255 to i32
  store i32 %256, ptr %16, align 4, !tbaa !9
  %257 = load i32, ptr %16, align 4, !tbaa !9
  %258 = icmp ne i32 %257, 0
  br i1 %258, label %259, label %292

259:                                              ; preds = %238
  %260 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %260, ptr %16, align 4, !tbaa !9
  %261 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %261, ptr %17, align 4, !tbaa !9
  %262 = load i32, ptr %16, align 4, !tbaa !9
  %263 = load i32, ptr %17, align 4, !tbaa !9
  %264 = icmp ugt i32 %262, %263
  %265 = zext i1 %264 to i32
  store i32 %265, ptr %16, align 4, !tbaa !9
  %266 = load i32, ptr %16, align 4, !tbaa !9
  %267 = icmp ne i32 %266, 0
  br i1 %267, label %268, label %269

268:                                              ; preds = %259
  br label %471

269:                                              ; preds = %259
  %270 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %270, ptr %16, align 4, !tbaa !9
  %271 = load ptr, ptr %4, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.w2c_hermes, ptr %271, i32 0, i32 6
  %273 = load i32, ptr %16, align 4, !tbaa !9
  %274 = zext i32 %273 to i64
  %275 = add i64 %274, 4
  %276 = call i32 @i32_load(ptr noundef %272, i64 noundef %275)
  store i32 %276, ptr %16, align 4, !tbaa !9
  %277 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %277, ptr %17, align 4, !tbaa !9
  %278 = load ptr, ptr %4, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.w2c_hermes, ptr %278, i32 0, i32 6
  %280 = load i32, ptr %17, align 4, !tbaa !9
  %281 = zext i32 %280 to i64
  %282 = add i64 %281, 4
  %283 = call i32 @i32_load(ptr noundef %279, i64 noundef %282)
  store i32 %283, ptr %17, align 4, !tbaa !9
  %284 = load i32, ptr %16, align 4, !tbaa !9
  %285 = load i32, ptr %17, align 4, !tbaa !9
  %286 = icmp uge i32 %284, %285
  %287 = zext i1 %286 to i32
  store i32 %287, ptr %16, align 4, !tbaa !9
  %288 = load i32, ptr %16, align 4, !tbaa !9
  %289 = icmp ne i32 %288, 0
  br i1 %289, label %290, label %291

290:                                              ; preds = %269
  br label %471

291:                                              ; preds = %269
  br label %292

292:                                              ; preds = %291, %238
  %293 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %293, ptr %16, align 4, !tbaa !9
  %294 = load ptr, ptr %4, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.w2c_hermes, ptr %294, i32 0, i32 6
  %296 = load i32, ptr %16, align 4, !tbaa !9
  %297 = zext i32 %296 to i64
  %298 = call i64 @i64_load(ptr noundef %295, i64 noundef %297)
  store i64 %298, ptr %22, align 8, !tbaa !11
  %299 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %299, ptr %15, align 8, !tbaa !11
  %300 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %300, ptr %16, align 4, !tbaa !9
  %301 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %301, ptr %17, align 4, !tbaa !9
  %302 = load ptr, ptr %4, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.w2c_hermes, ptr %302, i32 0, i32 6
  %304 = load i32, ptr %16, align 4, !tbaa !9
  %305 = zext i32 %304 to i64
  %306 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %303, i64 noundef %305, i32 noundef %306)
  %307 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %307, ptr %16, align 4, !tbaa !9
  %308 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %308, ptr %17, align 4, !tbaa !9
  %309 = load ptr, ptr %4, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.w2c_hermes, ptr %309, i32 0, i32 6
  %311 = load i32, ptr %17, align 4, !tbaa !9
  %312 = zext i32 %311 to i64
  %313 = add i64 %312, 4
  %314 = call i32 @i32_load(ptr noundef %310, i64 noundef %313)
  store i32 %314, ptr %17, align 4, !tbaa !9
  %315 = load ptr, ptr %4, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.w2c_hermes, ptr %315, i32 0, i32 6
  %317 = load i32, ptr %16, align 4, !tbaa !9
  %318 = zext i32 %317 to i64
  %319 = add i64 %318, 4
  %320 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %316, i64 noundef %319, i32 noundef %320)
  %321 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %321, ptr %22, align 8, !tbaa !11
  store i64 32, ptr %23, align 8, !tbaa !11
  %322 = load i64, ptr %23, align 8, !tbaa !11
  %323 = and i64 %322, 63
  %324 = load i64, ptr %22, align 8, !tbaa !11
  %325 = lshr i64 %324, %323
  store i64 %325, ptr %22, align 8, !tbaa !11
  %326 = load i64, ptr %22, align 8, !tbaa !11
  %327 = trunc i64 %326 to i32
  store i32 %327, ptr %16, align 4, !tbaa !9
  %328 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %328, ptr %12, align 4, !tbaa !9
  %329 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %329, ptr %22, align 8, !tbaa !11
  %330 = load i64, ptr %22, align 8, !tbaa !11
  %331 = trunc i64 %330 to i32
  store i32 %331, ptr %16, align 4, !tbaa !9
  %332 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %332, ptr %11, align 4, !tbaa !9
  %333 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %333, ptr %16, align 4, !tbaa !9
  %334 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %334, ptr %17, align 4, !tbaa !9
  %335 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %335, ptr %18, align 4, !tbaa !9
  %336 = load i32, ptr %17, align 4, !tbaa !9
  %337 = load i32, ptr %18, align 4, !tbaa !9
  %338 = icmp eq i32 %336, %337
  %339 = zext i1 %338 to i32
  store i32 %339, ptr %17, align 4, !tbaa !9
  %340 = load i32, ptr %17, align 4, !tbaa !9
  %341 = icmp ne i32 %340, 0
  br i1 %341, label %342, label %343

342:                                              ; preds = %292
  br label %433

343:                                              ; preds = %292
  br label %344

344:                                              ; preds = %430, %343
  %345 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %345, ptr %16, align 4, !tbaa !9
  %346 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %346, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %347 = load i32, ptr %18, align 4, !tbaa !9
  %348 = load i32, ptr %17, align 4, !tbaa !9
  %349 = sub i32 %348, %347
  store i32 %349, ptr %17, align 4, !tbaa !9
  %350 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %350, ptr %9, align 4, !tbaa !9
  %351 = load ptr, ptr %4, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.w2c_hermes, ptr %351, i32 0, i32 6
  %353 = load i32, ptr %17, align 4, !tbaa !9
  %354 = zext i32 %353 to i64
  %355 = call i32 @i32_load(ptr noundef %352, i64 noundef %354)
  store i32 %355, ptr %17, align 4, !tbaa !9
  %356 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %356, ptr %13, align 4, !tbaa !9
  %357 = load i32, ptr %16, align 4, !tbaa !9
  %358 = load i32, ptr %17, align 4, !tbaa !9
  %359 = icmp ult i32 %357, %358
  %360 = zext i1 %359 to i32
  store i32 %360, ptr %16, align 4, !tbaa !9
  %361 = load i32, ptr %16, align 4, !tbaa !9
  %362 = icmp ne i32 %361, 0
  br i1 %362, label %363, label %374

363:                                              ; preds = %344
  %364 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %364, ptr %16, align 4, !tbaa !9
  store i32 4, ptr %17, align 4, !tbaa !9
  %365 = load i32, ptr %17, align 4, !tbaa !9
  %366 = load i32, ptr %16, align 4, !tbaa !9
  %367 = sub i32 %366, %365
  store i32 %367, ptr %16, align 4, !tbaa !9
  %368 = load ptr, ptr %4, align 8, !tbaa !5
  %369 = getelementptr inbounds %struct.w2c_hermes, ptr %368, i32 0, i32 6
  %370 = load i32, ptr %16, align 4, !tbaa !9
  %371 = zext i32 %370 to i64
  %372 = call i32 @i32_load(ptr noundef %369, i64 noundef %371)
  store i32 %372, ptr %16, align 4, !tbaa !9
  %373 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %373, ptr %10, align 4, !tbaa !9
  br label %405

374:                                              ; preds = %344
  %375 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %375, ptr %16, align 4, !tbaa !9
  %376 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %376, ptr %17, align 4, !tbaa !9
  %377 = load i32, ptr %16, align 4, !tbaa !9
  %378 = load i32, ptr %17, align 4, !tbaa !9
  %379 = icmp ule i32 %377, %378
  %380 = zext i1 %379 to i32
  store i32 %380, ptr %16, align 4, !tbaa !9
  %381 = load i32, ptr %16, align 4, !tbaa !9
  %382 = icmp ne i32 %381, 0
  br i1 %382, label %383, label %403

383:                                              ; preds = %374
  %384 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %384, ptr %16, align 4, !tbaa !9
  store i32 4, ptr %17, align 4, !tbaa !9
  %385 = load i32, ptr %17, align 4, !tbaa !9
  %386 = load i32, ptr %16, align 4, !tbaa !9
  %387 = sub i32 %386, %385
  store i32 %387, ptr %16, align 4, !tbaa !9
  %388 = load ptr, ptr %4, align 8, !tbaa !5
  %389 = getelementptr inbounds %struct.w2c_hermes, ptr %388, i32 0, i32 6
  %390 = load i32, ptr %16, align 4, !tbaa !9
  %391 = zext i32 %390 to i64
  %392 = call i32 @i32_load(ptr noundef %389, i64 noundef %391)
  store i32 %392, ptr %16, align 4, !tbaa !9
  %393 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %393, ptr %10, align 4, !tbaa !9
  %394 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %394, ptr %17, align 4, !tbaa !9
  %395 = load i32, ptr %16, align 4, !tbaa !9
  %396 = load i32, ptr %17, align 4, !tbaa !9
  %397 = icmp ugt i32 %395, %396
  %398 = zext i1 %397 to i32
  store i32 %398, ptr %16, align 4, !tbaa !9
  %399 = load i32, ptr %16, align 4, !tbaa !9
  %400 = icmp ne i32 %399, 0
  br i1 %400, label %401, label %402

401:                                              ; preds = %383
  br label %405

402:                                              ; preds = %383
  br label %403

403:                                              ; preds = %402, %374
  %404 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %404, ptr %16, align 4, !tbaa !9
  br label %433

405:                                              ; preds = %401, %363
  %406 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %406, ptr %16, align 4, !tbaa !9
  %407 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %407, ptr %17, align 4, !tbaa !9
  %408 = load ptr, ptr %4, align 8, !tbaa !5
  %409 = getelementptr inbounds %struct.w2c_hermes, ptr %408, i32 0, i32 6
  %410 = load i32, ptr %16, align 4, !tbaa !9
  %411 = zext i32 %410 to i64
  %412 = add i64 %411, 4
  %413 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %409, i64 noundef %412, i32 noundef %413)
  %414 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %414, ptr %16, align 4, !tbaa !9
  %415 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %415, ptr %17, align 4, !tbaa !9
  %416 = load ptr, ptr %4, align 8, !tbaa !5
  %417 = getelementptr inbounds %struct.w2c_hermes, ptr %416, i32 0, i32 6
  %418 = load i32, ptr %16, align 4, !tbaa !9
  %419 = zext i32 %418 to i64
  %420 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %417, i64 noundef %419, i32 noundef %420)
  %421 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %421, ptr %16, align 4, !tbaa !9
  %422 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %422, ptr %7, align 4, !tbaa !9
  %423 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %423, ptr %17, align 4, !tbaa !9
  %424 = load i32, ptr %16, align 4, !tbaa !9
  %425 = load i32, ptr %17, align 4, !tbaa !9
  %426 = icmp ne i32 %424, %425
  %427 = zext i1 %426 to i32
  store i32 %427, ptr %16, align 4, !tbaa !9
  %428 = load i32, ptr %16, align 4, !tbaa !9
  %429 = icmp ne i32 %428, 0
  br i1 %429, label %430, label %431

430:                                              ; preds = %405
  br label %344

431:                                              ; preds = %405
  %432 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %432, ptr %16, align 4, !tbaa !9
  br label %433

433:                                              ; preds = %431, %403, %342
  %434 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %434, ptr %7, align 4, !tbaa !9
  %435 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %435, ptr %17, align 4, !tbaa !9
  %436 = load ptr, ptr %4, align 8, !tbaa !5
  %437 = getelementptr inbounds %struct.w2c_hermes, ptr %436, i32 0, i32 6
  %438 = load i32, ptr %16, align 4, !tbaa !9
  %439 = zext i32 %438 to i64
  %440 = add i64 %439, 4
  %441 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %437, i64 noundef %440, i32 noundef %441)
  %442 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %442, ptr %16, align 4, !tbaa !9
  %443 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %443, ptr %17, align 4, !tbaa !9
  %444 = load ptr, ptr %4, align 8, !tbaa !5
  %445 = getelementptr inbounds %struct.w2c_hermes, ptr %444, i32 0, i32 6
  %446 = load i32, ptr %16, align 4, !tbaa !9
  %447 = zext i32 %446 to i64
  %448 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %445, i64 noundef %447, i32 noundef %448)
  %449 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %449, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %450 = load i32, ptr %17, align 4, !tbaa !9
  %451 = load i32, ptr %16, align 4, !tbaa !9
  %452 = add i32 %451, %450
  store i32 %452, ptr %16, align 4, !tbaa !9
  %453 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %453, ptr %14, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %454 = load i32, ptr %16, align 4, !tbaa !9
  %455 = load i32, ptr %17, align 4, !tbaa !9
  %456 = icmp ne i32 %454, %455
  %457 = zext i1 %456 to i32
  store i32 %457, ptr %16, align 4, !tbaa !9
  %458 = load i32, ptr %16, align 4, !tbaa !9
  %459 = icmp ne i32 %458, 0
  br i1 %459, label %460, label %461

460:                                              ; preds = %433
  br label %471

461:                                              ; preds = %433
  %462 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %462, ptr %16, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %463 = load i32, ptr %17, align 4, !tbaa !9
  %464 = load i32, ptr %16, align 4, !tbaa !9
  %465 = add i32 %464, %463
  store i32 %465, ptr %16, align 4, !tbaa !9
  %466 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %466, ptr %17, align 4, !tbaa !9
  %467 = load i32, ptr %16, align 4, !tbaa !9
  %468 = load i32, ptr %17, align 4, !tbaa !9
  %469 = icmp eq i32 %467, %468
  %470 = zext i1 %469 to i32
  store i32 %470, ptr %16, align 4, !tbaa !9
  br label %488

471:                                              ; preds = %460, %290, %268
  %472 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %472, ptr %16, align 4, !tbaa !9
  %473 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %473, ptr %7, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %474 = load i32, ptr %17, align 4, !tbaa !9
  %475 = load i32, ptr %16, align 4, !tbaa !9
  %476 = add i32 %475, %474
  store i32 %476, ptr %16, align 4, !tbaa !9
  %477 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %477, ptr %8, align 4, !tbaa !9
  %478 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %478, ptr %17, align 4, !tbaa !9
  %479 = load i32, ptr %16, align 4, !tbaa !9
  %480 = load i32, ptr %17, align 4, !tbaa !9
  %481 = icmp ne i32 %479, %480
  %482 = zext i1 %481 to i32
  store i32 %482, ptr %16, align 4, !tbaa !9
  %483 = load i32, ptr %16, align 4, !tbaa !9
  %484 = icmp ne i32 %483, 0
  br i1 %484, label %485, label %486

485:                                              ; preds = %471
  br label %238

486:                                              ; preds = %471
  br label %487

487:                                              ; preds = %486, %236, %99, %75, %35, %34
  store i32 1, ptr %16, align 4, !tbaa !9
  br label %488

488:                                              ; preds = %487, %461, %183, %163, %148, %101
  %489 = load i32, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, 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 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  ret i32 %489
}

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) #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) #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) #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 i32 @i32_load(ptr noundef, i64 noundef) local_unnamed_addr #0

; 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: 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) local_unnamed_addr #1 {
  %4 = sub i32 %2, %1
  %5 = ashr i32 %4, 3
  switch i32 %5, label %39 [
    i32 0, label %.loopexit295
    i32 1, label %.loopexit295
    i32 2, label %6
    i32 3, label %24
    i32 4, label %28
    i32 5, label %33
  ]

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

._crit_edge:                                      ; preds = %6
  %.pre301 = add nuw nsw i64 %11, 4
  %.pre303 = add i32 %2, -4
  %.pre305 = zext i32 %.pre303 to i64
  br label %21

13:                                               ; preds = %6
  %14 = icmp ult i32 %12, %10
  br i1 %14, label %.loopexit295, label %15

15:                                               ; preds = %13
  %16 = add i32 %2, -4
  %17 = zext i32 %16 to i64
  %18 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %17)
  %19 = add nuw nsw i64 %11, 4
  %20 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %19)
  %.not287 = icmp ult i32 %18, %20
  br i1 %.not287, label %21, label %.loopexit295

21:                                               ; preds = %._crit_edge, %15
  %.pre-phi306 = phi i64 [ %.pre305, %._crit_edge ], [ %17, %15 ]
  %.pre-phi302 = phi i64 [ %.pre301, %._crit_edge ], [ %19, %15 ]
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %11, i32 noundef %10)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %9, i32 noundef %12)
  %22 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %.pre-phi302)
  %23 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %.pre-phi306)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %.pre-phi302, i32 noundef %23)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %.pre-phi306, i32 noundef %22)
  br label %.loopexit295

24:                                               ; preds = %3
  %25 = add i32 %1, 8
  %26 = add i32 %2, -8
  %27 = 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 %25, i32 noundef %26) #3
  br label %.loopexit295

28:                                               ; preds = %3
  %29 = add i32 %1, 8
  %30 = add i32 %1, 16
  %31 = add i32 %2, -8
  %32 = 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 %29, i32 noundef %30, i32 noundef %31) #3
  br label %.loopexit295

33:                                               ; preds = %3
  %34 = add i32 %1, 8
  %35 = add i32 %1, 16
  %36 = add i32 %1, 24
  %37 = add i32 %2, -8
  %38 = 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 %34, i32 noundef %35, i32 noundef %36, i32 noundef %37) #3
  br label %.loopexit295

39:                                               ; preds = %3
  %40 = add i32 %1, 8
  %41 = add i32 %1, 16
  %42 = 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 %40, i32 noundef %41) #3
  %43 = add i32 %1, 24
  %44 = icmp eq i32 %43, %2
  br i1 %44, label %.loopexit295, label %.preheader294

.preheader294:                                    ; preds = %39
  %45 = getelementptr inbounds i8, ptr %0, i64 40
  br label %46

46:                                               ; preds = %.preheader294, %89
  %.0271 = phi i32 [ %.1272, %89 ], [ 0, %.preheader294 ]
  %.0268 = phi i32 [ %90, %89 ], [ %43, %.preheader294 ]
  %.0 = phi i32 [ %.0268, %89 ], [ %41, %.preheader294 ]
  %47 = zext i32 %.0268 to i64
  %48 = tail call i32 @i32_load(ptr noundef nonnull %45, i64 noundef %47)
  %49 = zext i32 %.0 to i64
  %50 = tail call i32 @i32_load(ptr noundef nonnull %45, i64 noundef %49)
  %.not288 = icmp ult i32 %48, %50
  br i1 %.not288, label %._crit_edge298, label %51

._crit_edge298:                                   ; preds = %46
  %.pre = add nuw nsw i64 %49, 4
  %.pre299 = add nuw nsw i64 %47, 4
  br label %58

51:                                               ; preds = %46
  %52 = icmp ugt i32 %48, %50
  br i1 %52, label %89, label %53

53:                                               ; preds = %51
  %54 = add nuw nsw i64 %47, 4
  %55 = tail call i32 @i32_load(ptr noundef nonnull %45, i64 noundef %54)
  %56 = add nuw nsw i64 %49, 4
  %57 = tail call i32 @i32_load(ptr noundef nonnull %45, i64 noundef %56)
  %.not289 = icmp ult i32 %55, %57
  br i1 %.not289, label %58, label %89

58:                                               ; preds = %._crit_edge298, %53
  %.pre-phi300 = phi i64 [ %.pre299, %._crit_edge298 ], [ %54, %53 ]
  %.pre-phi = phi i64 [ %.pre, %._crit_edge298 ], [ %56, %53 ]
  %59 = tail call i64 @i64_load(ptr noundef nonnull %45, i64 noundef %47)
  tail call void @i32_store(ptr noundef nonnull %45, i64 noundef %47, i32 noundef %50)
  %60 = tail call i32 @i32_load(ptr noundef nonnull %45, i64 noundef %.pre-phi)
  tail call void @i32_store(ptr noundef nonnull %45, i64 noundef %.pre-phi300, i32 noundef %60)
  %61 = lshr i64 %59, 32
  %62 = trunc nuw i64 %61 to i32
  %63 = trunc i64 %59 to i32
  %64 = icmp eq i32 %.0, %1
  br i1 %64, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %58, %79
  %.1 = phi i32 [ %65, %79 ], [ %.0, %58 ]
  %65 = add i32 %.1, -8
  %66 = zext i32 %65 to i64
  %67 = tail call i32 @i32_load(ptr noundef nonnull %45, i64 noundef %66)
  %68 = icmp ugt i32 %67, %63
  br i1 %68, label %69, label %73

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

73:                                               ; preds = %.preheader
  %.not290 = icmp ult i32 %67, %63
  br i1 %.not290, label %.loopexit, label %74

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

79:                                               ; preds = %74, %69
  %.0273 = phi i32 [ %72, %69 ], [ %77, %74 ]
  %80 = zext i32 %.1 to i64
  %81 = add nuw nsw i64 %80, 4
  tail call void @i32_store(ptr noundef nonnull %45, i64 noundef %81, i32 noundef %.0273)
  tail call void @i32_store(ptr noundef nonnull %45, i64 noundef %80, i32 noundef %67)
  %.not291 = icmp eq i32 %65, %1
  br i1 %.not291, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %79, %73, %74, %58
  %.0269 = phi i32 [ %1, %58 ], [ %1, %79 ], [ %.1, %73 ], [ %.1, %74 ]
  %82 = zext i32 %.0269 to i64
  %83 = add nuw nsw i64 %82, 4
  tail call void @i32_store(ptr noundef nonnull %45, i64 noundef %83, i32 noundef %62)
  tail call void @i32_store(ptr noundef nonnull %45, i64 noundef %82, i32 noundef %63)
  %84 = add i32 %.0271, 1
  %.not292 = icmp eq i32 %84, 8
  br i1 %.not292, label %85, label %89

85:                                               ; preds = %.loopexit
  %86 = add i32 %.0268, 8
  %87 = icmp eq i32 %86, %2
  %88 = zext i1 %87 to i32
  br label %.loopexit295

89:                                               ; preds = %.loopexit, %53, %51
  %.1272 = phi i32 [ %.0271, %51 ], [ %.0271, %53 ], [ %84, %.loopexit ]
  %90 = add i32 %.0268, 8
  %.not293 = icmp eq i32 %90, %2
  br i1 %.not293, label %.loopexit295, label %46

.loopexit295:                                     ; preds = %89, %3, %3, %13, %15, %39, %85, %33, %28, %24, %21
  %.1270 = phi i32 [ %88, %85 ], [ 1, %33 ], [ 1, %28 ], [ 1, %24 ], [ 1, %21 ], [ 1, %39 ], [ 1, %15 ], [ 1, %13 ], [ 1, %3 ], [ 1, %3 ], [ 1, %89 ]
  ret i32 %.1270
}

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) 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) 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) 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