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

; 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: nounwind uwtable
define dso_local i32 @w2c_hermes_unsigned0x20int0x20const0x2A0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Flower_bound_impl0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20unsigned0x20int0x20const0x2A0x2C0x20unsigned0x20int0x20const0x2A0x2C0x20unsigned0x20long0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fidentity0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20long0x3E0x3E0x28unsigned0x20int0x20const0x2A0x2C0x20unsigned0x20int0x20const0x2A0x2C0x20unsigned0x20long0x20const0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20long0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fidentity0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #2 {
  %7 = alloca ptr, align 8
  %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 i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  store i32 %2, ptr %9, align 4, !tbaa !9
  store i32 %3, ptr %10, align 4, !tbaa !9
  store i32 %4, ptr %11, align 4, !tbaa !9
  store i32 %5, 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 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
  %21 = load ptr, ptr %7, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.w2c_hermes, ptr %21, i32 0, i32 3
  %23 = load i32, ptr %22, align 8, !tbaa !11
  store i32 %23, ptr %16, align 4, !tbaa !9
  store i32 16, ptr %17, align 4, !tbaa !9
  %24 = load i32, ptr %17, align 4, !tbaa !9
  %25 = load i32, ptr %16, align 4, !tbaa !9
  %26 = sub i32 %25, %24
  store i32 %26, ptr %16, align 4, !tbaa !9
  %27 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %27, ptr %13, align 4, !tbaa !9
  %28 = load i32, ptr %16, align 4, !tbaa !9
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.w2c_hermes, ptr %29, i32 0, i32 3
  store i32 %28, ptr %30, align 8, !tbaa !11
  %31 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %31, ptr %16, align 4, !tbaa !9
  %32 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %32, ptr %17, align 4, !tbaa !9
  %33 = load ptr, ptr %7, align 8, !tbaa !5
  %34 = load i32, ptr %16, align 4, !tbaa !9
  %35 = load i32, ptr %17, align 4, !tbaa !9
  %36 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Aiterator_traits0x3Cunsigned0x20int0x20const0x2A0x3E0x3A0x3Adifference_type0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Adistance0x5Babi0x3Av150070x5D0x3Cunsigned0x20int0x20const0x2A0x3E0x28unsigned0x20int0x20const0x2A0x2C0x20unsigned0x20int0x20const0x2A0x29(ptr noundef %33, i32 noundef %34, i32 noundef %35)
  store i32 %36, ptr %16, align 4, !tbaa !9
  %37 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %37, ptr %9, align 4, !tbaa !9
  br label %38

38:                                               ; preds = %120, %6
  %39 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %39, ptr %16, align 4, !tbaa !9
  %40 = load i32, ptr %16, align 4, !tbaa !9
  %41 = icmp ne i32 %40, 0
  br i1 %41, label %42, label %123

42:                                               ; preds = %38
  %43 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %43, ptr %16, align 4, !tbaa !9
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = load i32, ptr %16, align 4, !tbaa !9
  %46 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Aenable_if0x3Cis_integral0x3Clong0x3E0x3A0x3Avalue0x2C0x20long0x3E0x3A0x3Atype0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fhalf_positive0x5Babi0x3Av150070x5D0x3Clong0x3E0x28long0x29(ptr noundef %44, i32 noundef %45)
  store i32 %46, ptr %16, align 4, !tbaa !9
  %47 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %47, ptr %14, align 4, !tbaa !9
  %48 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %48, ptr %16, align 4, !tbaa !9
  %49 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %49, ptr %17, align 4, !tbaa !9
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.w2c_hermes, ptr %50, i32 0, i32 6
  %52 = load i32, ptr %16, align 4, !tbaa !9
  %53 = zext i32 %52 to i64
  %54 = add i64 %53, 12
  %55 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %51, i64 noundef %54, i32 noundef %55)
  %56 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %56, ptr %16, align 4, !tbaa !9
  store i32 12, ptr %17, align 4, !tbaa !9
  %57 = load i32, ptr %17, align 4, !tbaa !9
  %58 = load i32, ptr %16, align 4, !tbaa !9
  %59 = add i32 %58, %57
  store i32 %59, ptr %16, align 4, !tbaa !9
  %60 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %60, ptr %17, align 4, !tbaa !9
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = load i32, ptr %16, align 4, !tbaa !9
  %63 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Aadvance0x5Babi0x3Av150070x5D0x3Cunsigned0x20int0x20const0x2A0x2C0x20long0x3E0x28unsigned0x20int0x20const0x2A0x260x2C0x20long0x29(ptr noundef %61, i32 noundef %62, i32 noundef %63)
  %64 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %64, ptr %16, align 4, !tbaa !9
  %65 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %65, ptr %17, align 4, !tbaa !9
  store i32 -1, ptr %18, align 4, !tbaa !9
  %66 = load i32, ptr %18, align 4, !tbaa !9
  %67 = load i32, ptr %17, align 4, !tbaa !9
  %68 = xor i32 %67, %66
  store i32 %68, ptr %17, align 4, !tbaa !9
  %69 = load i32, ptr %17, align 4, !tbaa !9
  %70 = load i32, ptr %16, align 4, !tbaa !9
  %71 = add i32 %70, %69
  store i32 %71, ptr %16, align 4, !tbaa !9
  %72 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %72, ptr %17, align 4, !tbaa !9
  %73 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %73, ptr %18, align 4, !tbaa !9
  %74 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %74, ptr %19, align 4, !tbaa !9
  %75 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %75, ptr %20, align 4, !tbaa !9
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.w2c_hermes, ptr %76, i32 0, i32 6
  %78 = load i32, ptr %20, align 4, !tbaa !9
  %79 = zext i32 %78 to i64
  %80 = add i64 %79, 12
  %81 = call i32 @i32_load(ptr noundef %77, i64 noundef %80)
  store i32 %81, ptr %20, align 4, !tbaa !9
  %82 = load ptr, ptr %7, align 8, !tbaa !5
  %83 = load i32, ptr %19, align 4, !tbaa !9
  %84 = load i32, ptr %20, align 4, !tbaa !9
  %85 = call i32 @w2c_hermes_decltype0x28std0x3A0x3Adeclval0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fidentity0x260x3E0x280x290x28std0x3A0x3Adeclval0x3Cunsigned0x20int0x20const0x260x3E0x280x290x290x290x20std0x3A0x3A_0x5F20x3A0x3A_0x5Finvoke0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fidentity0x260x2C0x20unsigned0x20int0x20const0x260x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Fidentity0x260x2C0x20unsigned0x20int0x20const0x260x29(ptr noundef %82, i32 noundef %83, i32 noundef %84)
  store i32 %85, ptr %19, align 4, !tbaa !9
  %86 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %86, ptr %20, align 4, !tbaa !9
  %87 = load ptr, ptr %7, align 8, !tbaa !5
  %88 = load i32, ptr %18, align 4, !tbaa !9
  %89 = load i32, ptr %19, align 4, !tbaa !9
  %90 = load i32, ptr %20, align 4, !tbaa !9
  %91 = call i32 @w2c_hermes_decltype0x28std0x3A0x3Adeclval0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20long0x3E0x260x3E0x280x290x28std0x3A0x3Adeclval0x3Cunsigned0x20int0x20const0x260x3E0x280x290x2C0x20std0x3A0x3Adeclval0x3Cunsigned0x20long0x20const0x260x3E0x280x290x290x290x20std0x3A0x3A_0x5F20x3A0x3A_0x5Finvoke0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20long0x3E0x260x2C0x20unsigned0x20int0x20const0x260x2C0x20unsigned0x20long0x20const0x260x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20long0x3E0x260x2C0x20unsigned0x20int0x20const0x260x2C0x20unsigned0x20long0x20const0x260x29(ptr noundef %87, i32 noundef %88, i32 noundef %89, i32 noundef %90)
  store i32 %91, ptr %18, align 4, !tbaa !9
  %92 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %92, ptr %15, align 4, !tbaa !9
  %93 = load i32, ptr %18, align 4, !tbaa !9
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %95, label %97

95:                                               ; preds = %42
  %96 = load i32, ptr %16, align 4, !tbaa !9
  br label %99

97:                                               ; preds = %42
  %98 = load i32, ptr %17, align 4, !tbaa !9
  br label %99

99:                                               ; preds = %97, %95
  %100 = phi i32 [ %96, %95 ], [ %98, %97 ]
  store i32 %100, ptr %16, align 4, !tbaa !9
  %101 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %101, ptr %9, align 4, !tbaa !9
  %102 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %102, ptr %16, align 4, !tbaa !9
  %103 = load ptr, ptr %7, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.w2c_hermes, ptr %103, i32 0, i32 6
  %105 = load i32, ptr %16, align 4, !tbaa !9
  %106 = zext i32 %105 to i64
  %107 = add i64 %106, 12
  %108 = call i32 @i32_load(ptr noundef %104, i64 noundef %107)
  store i32 %108, ptr %16, align 4, !tbaa !9
  store i32 4, ptr %17, align 4, !tbaa !9
  %109 = load i32, ptr %17, align 4, !tbaa !9
  %110 = load i32, ptr %16, align 4, !tbaa !9
  %111 = add i32 %110, %109
  store i32 %111, ptr %16, align 4, !tbaa !9
  %112 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %112, ptr %17, align 4, !tbaa !9
  %113 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %113, ptr %18, align 4, !tbaa !9
  %114 = load i32, ptr %18, align 4, !tbaa !9
  %115 = icmp ne i32 %114, 0
  br i1 %115, label %116, label %118

116:                                              ; preds = %99
  %117 = load i32, ptr %16, align 4, !tbaa !9
  br label %120

118:                                              ; preds = %99
  %119 = load i32, ptr %17, align 4, !tbaa !9
  br label %120

120:                                              ; preds = %118, %116
  %121 = phi i32 [ %117, %116 ], [ %119, %118 ]
  store i32 %121, ptr %16, align 4, !tbaa !9
  %122 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %122, ptr %8, align 4, !tbaa !9
  br label %38

123:                                              ; preds = %38
  %124 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %124, ptr %16, align 4, !tbaa !9
  store i32 16, ptr %17, align 4, !tbaa !9
  %125 = load i32, ptr %17, align 4, !tbaa !9
  %126 = load i32, ptr %16, align 4, !tbaa !9
  %127 = add i32 %126, %125
  store i32 %127, ptr %16, align 4, !tbaa !9
  %128 = load i32, ptr %16, align 4, !tbaa !9
  %129 = load ptr, ptr %7, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.w2c_hermes, ptr %129, i32 0, i32 3
  store i32 %128, ptr %130, align 8, !tbaa !11
  %131 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %131, ptr %16, align 4, !tbaa !9
  %132 = load i32, ptr %16, align 4, !tbaa !9
  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 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
  ret i32 %132
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Aiterator_traits0x3Cunsigned0x20int0x20const0x2A0x3E0x3A0x3Adifference_type0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Adistance0x5Babi0x3Av150070x5D0x3Cunsigned0x20int0x20const0x2A0x3E0x28unsigned0x20int0x20const0x2A0x2C0x20unsigned0x20int0x20const0x2A0x29(ptr noundef, i32 noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Aenable_if0x3Cis_integral0x3Clong0x3E0x3A0x3Avalue0x2C0x20long0x3E0x3A0x3Atype0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fhalf_positive0x5Babi0x3Av150070x5D0x3Clong0x3E0x28long0x29(ptr noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Aadvance0x5Babi0x3Av150070x5D0x3Cunsigned0x20int0x20const0x2A0x2C0x20long0x3E0x28unsigned0x20int0x20const0x2A0x260x2C0x20long0x29(ptr noundef, i32 noundef, i32 noundef) #2

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

declare i32 @w2c_hermes_decltype0x28std0x3A0x3Adeclval0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20long0x3E0x260x3E0x280x290x28std0x3A0x3Adeclval0x3Cunsigned0x20int0x20const0x260x3E0x280x290x2C0x20std0x3A0x3Adeclval0x3Cunsigned0x20long0x20const0x260x3E0x280x290x290x290x20std0x3A0x3A_0x5F20x3A0x3A_0x5Finvoke0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20long0x3E0x260x2C0x20unsigned0x20int0x20const0x260x2C0x20unsigned0x20long0x20const0x260x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20long0x3E0x260x2C0x20unsigned0x20int0x20const0x260x2C0x20unsigned0x20long0x20const0x260x29(ptr 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, !10, i64 24}
!12 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !13, i64 40, !16, i64 80}
!13 = !{!"", !6, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}


; 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: nounwind uwtable
define dso_local i32 @w2c_hermes_unsigned0x20int0x20const0x2A0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Flower_bound_impl0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20unsigned0x20int0x20const0x2A0x2C0x20unsigned0x20int0x20const0x2A0x2C0x20unsigned0x20long0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fidentity0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20long0x3E0x3E0x28unsigned0x20int0x20const0x2A0x2C0x20unsigned0x20int0x20const0x2A0x2C0x20unsigned0x20long0x20const0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20long0x3E0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fidentity0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #1 {
  %7 = getelementptr inbounds i8, ptr %0, i64 24
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %9 = add i32 %8, -16
  store i32 %9, ptr %7, align 8, !tbaa !5
  %10 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Aiterator_traits0x3Cunsigned0x20int0x20const0x2A0x3E0x3A0x3Adifference_type0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Adistance0x5Babi0x3Av150070x5D0x3Cunsigned0x20int0x20const0x2A0x3E0x28unsigned0x20int0x20const0x2A0x2C0x20unsigned0x20int0x20const0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2)
  %.not74 = icmp eq i32 %10, 0
  br i1 %.not74, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %6
  %11 = getelementptr inbounds i8, ptr %0, i64 40
  %12 = zext i32 %9 to i64
  %13 = add nuw nsw i64 %12, 12
  %14 = add i32 %8, -4
  br label %15

15:                                               ; preds = %.lr.ph, %15
  %.076 = phi i32 [ %1, %.lr.ph ], [ %25, %15 ]
  %.07275 = phi i32 [ %10, %.lr.ph ], [ %22, %15 ]
  %16 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Aenable_if0x3Cis_integral0x3Clong0x3E0x3A0x3Avalue0x2C0x20long0x3E0x3A0x3Atype0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fhalf_positive0x5Babi0x3Av150070x5D0x3Clong0x3E0x28long0x29(ptr noundef %0, i32 noundef %.07275)
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %13, i32 noundef %.076)
  tail call void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Aadvance0x5Babi0x3Av150070x5D0x3Cunsigned0x20int0x20const0x2A0x2C0x20long0x3E0x28unsigned0x20int0x20const0x2A0x260x2C0x20long0x29(ptr noundef %0, i32 noundef %14, i32 noundef %16)
  %17 = xor i32 %16, -1
  %18 = add i32 %.07275, %17
  %19 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %13)
  %20 = tail call i32 @w2c_hermes_decltype0x28std0x3A0x3Adeclval0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fidentity0x260x3E0x280x290x28std0x3A0x3Adeclval0x3Cunsigned0x20int0x20const0x260x3E0x280x290x290x290x20std0x3A0x3A_0x5F20x3A0x3A_0x5Finvoke0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fidentity0x260x2C0x20unsigned0x20int0x20const0x260x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Fidentity0x260x2C0x20unsigned0x20int0x20const0x260x29(ptr noundef %0, i32 noundef %5, i32 noundef %19) #3
  %21 = tail call i32 @w2c_hermes_decltype0x28std0x3A0x3Adeclval0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20long0x3E0x260x3E0x280x290x28std0x3A0x3Adeclval0x3Cunsigned0x20int0x20const0x260x3E0x280x290x2C0x20std0x3A0x3Adeclval0x3Cunsigned0x20long0x20const0x260x3E0x280x290x290x290x20std0x3A0x3A_0x5F20x3A0x3A_0x5Finvoke0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20long0x3E0x260x2C0x20unsigned0x20int0x20const0x260x2C0x20unsigned0x20long0x20const0x260x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20long0x3E0x260x2C0x20unsigned0x20int0x20const0x260x2C0x20unsigned0x20long0x20const0x260x29(ptr noundef %0, i32 noundef %4, i32 noundef %20, i32 noundef %3) #3
  %.not73 = icmp eq i32 %21, 0
  %22 = select i1 %.not73, i32 %16, i32 %18
  %23 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %13)
  %24 = add i32 %23, 4
  %25 = select i1 %.not73, i32 %.076, i32 %24
  %.not = icmp eq i32 %22, 0
  br i1 %.not, label %._crit_edge, label %15

._crit_edge:                                      ; preds = %15, %6
  %.0.lcssa = phi i32 [ %1, %6 ], [ %25, %15 ]
  store i32 %8, ptr %7, align 8, !tbaa !5
  ret i32 %.0.lcssa
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Aiterator_traits0x3Cunsigned0x20int0x20const0x2A0x3E0x3A0x3Adifference_type0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Adistance0x5Babi0x3Av150070x5D0x3Cunsigned0x20int0x20const0x2A0x3E0x28unsigned0x20int0x20const0x2A0x2C0x20unsigned0x20int0x20const0x2A0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Aenable_if0x3Cis_integral0x3Clong0x3E0x3A0x3Avalue0x2C0x20long0x3E0x3A0x3Atype0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fhalf_positive0x5Babi0x3Av150070x5D0x3Clong0x3E0x28long0x29(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Aadvance0x5Babi0x3Av150070x5D0x3Cunsigned0x20int0x20const0x2A0x2C0x20long0x3E0x28unsigned0x20int0x20const0x2A0x260x2C0x20long0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

declare i32 @w2c_hermes_decltype0x28std0x3A0x3Adeclval0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20long0x3E0x260x3E0x280x290x28std0x3A0x3Adeclval0x3Cunsigned0x20int0x20const0x260x3E0x280x290x2C0x20std0x3A0x3Adeclval0x3Cunsigned0x20long0x20const0x260x3E0x280x290x290x290x20std0x3A0x3A_0x5F20x3A0x3A_0x5Finvoke0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20long0x3E0x260x2C0x20unsigned0x20int0x20const0x260x2C0x20unsigned0x20long0x20const0x260x3E0x28std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20long0x3E0x260x2C0x20unsigned0x20int0x20const0x260x2C0x20unsigned0x20long0x20const0x260x29(ptr 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)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"w2c_hermes", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !14, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12}


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