; 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

declare i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3A0x3Aoperator0x280x290x5Babi0x3Av150070x5D0x28unsigned0x20int0x20const0x260x2C0x20unsigned0x20int0x20const0x260x290x20const(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort30x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x260x2C0x20unsigned0x20int0x2A0x3E0x28unsigned0x20int0x2A0x2C0x20unsigned0x20int0x2A0x2C0x20unsigned0x20int0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #3 {
  %6 = alloca ptr, align 8
  %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 i32, align 4
  %17 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, 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
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.w2c_hermes, ptr %18, i32 0, i32 3
  %20 = load i32, ptr %19, align 8, !tbaa !11
  store i32 %20, ptr %14, align 4, !tbaa !9
  store i32 16, ptr %15, align 4, !tbaa !9
  %21 = load i32, ptr %15, align 4, !tbaa !9
  %22 = load i32, ptr %14, align 4, !tbaa !9
  %23 = sub i32 %22, %21
  store i32 %23, ptr %14, align 4, !tbaa !9
  %24 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %24, ptr %11, align 4, !tbaa !9
  %25 = load i32, ptr %14, align 4, !tbaa !9
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.w2c_hermes, ptr %26, i32 0, i32 3
  store i32 %25, ptr %27, align 8, !tbaa !11
  %28 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %28, ptr %14, align 4, !tbaa !9
  %29 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %29, ptr %15, align 4, !tbaa !9
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.w2c_hermes, ptr %30, i32 0, i32 6
  %32 = load i32, ptr %14, align 4, !tbaa !9
  %33 = zext i32 %32 to i64
  %34 = add i64 %33, 8
  %35 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %31, i64 noundef %34, i32 noundef %35)
  %36 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %36, ptr %14, align 4, !tbaa !9
  %37 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %37, ptr %15, align 4, !tbaa !9
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.w2c_hermes, ptr %38, i32 0, i32 6
  %40 = load i32, ptr %14, align 4, !tbaa !9
  %41 = zext i32 %40 to i64
  %42 = add i64 %41, 12
  %43 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %39, i64 noundef %42, i32 noundef %43)
  %44 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %44, ptr %14, align 4, !tbaa !9
  %45 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %45, ptr %15, align 4, !tbaa !9
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.w2c_hermes, ptr %46, i32 0, i32 6
  %48 = load i32, ptr %14, align 4, !tbaa !9
  %49 = zext i32 %48 to i64
  %50 = add i64 %49, 4
  %51 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %47, i64 noundef %50, i32 noundef %51)
  %52 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %52, ptr %14, align 4, !tbaa !9
  %53 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %53, ptr %15, align 4, !tbaa !9
  %54 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %54, ptr %16, align 4, !tbaa !9
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = load i32, ptr %14, align 4, !tbaa !9
  %57 = load i32, ptr %15, align 4, !tbaa !9
  %58 = load i32, ptr %16, align 4, !tbaa !9
  %59 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3A0x3Aoperator0x280x290x5Babi0x3Av150070x5D0x28unsigned0x20int0x20const0x260x2C0x20unsigned0x20int0x20const0x260x290x20const(ptr noundef %55, i32 noundef %56, i32 noundef %57, i32 noundef %58)
  store i32 %59, ptr %14, align 4, !tbaa !9
  %60 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %60, ptr %13, align 4, !tbaa !9
  %61 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %61, ptr %14, align 4, !tbaa !9
  %62 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %62, ptr %15, align 4, !tbaa !9
  %63 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %63, ptr %16, align 4, !tbaa !9
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = load i32, ptr %14, align 4, !tbaa !9
  %66 = load i32, ptr %15, align 4, !tbaa !9
  %67 = load i32, ptr %16, align 4, !tbaa !9
  %68 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3A0x3Aoperator0x280x290x5Babi0x3Av150070x5D0x28unsigned0x20int0x20const0x260x2C0x20unsigned0x20int0x20const0x260x290x20const(ptr noundef %64, i32 noundef %65, i32 noundef %66, i32 noundef %67)
  store i32 %68, ptr %14, align 4, !tbaa !9
  %69 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %69, ptr %12, align 4, !tbaa !9
  %70 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %70, ptr %14, align 4, !tbaa !9
  %71 = load i32, ptr %14, align 4, !tbaa !9
  %72 = icmp ne i32 %71, 0
  %73 = xor i1 %72, true
  %74 = zext i1 %73 to i32
  store i32 %74, ptr %14, align 4, !tbaa !9
  %75 = load i32, ptr %14, align 4, !tbaa !9
  %76 = icmp ne i32 %75, 0
  br i1 %76, label %77, label %133

77:                                               ; preds = %5
  store i32 0, ptr %14, align 4, !tbaa !9
  %78 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %78, ptr %8, align 4, !tbaa !9
  %79 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %79, ptr %15, align 4, !tbaa !9
  %80 = load i32, ptr %15, align 4, !tbaa !9
  %81 = icmp ne i32 %80, 0
  %82 = xor i1 %81, true
  %83 = zext i1 %82 to i32
  store i32 %83, ptr %15, align 4, !tbaa !9
  %84 = load i32, ptr %15, align 4, !tbaa !9
  %85 = icmp ne i32 %84, 0
  br i1 %85, label %86, label %87

86:                                               ; preds = %77
  br label %196

87:                                               ; preds = %77
  %88 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %88, ptr %14, align 4, !tbaa !9
  store i32 8, ptr %15, align 4, !tbaa !9
  %89 = load i32, ptr %15, align 4, !tbaa !9
  %90 = load i32, ptr %14, align 4, !tbaa !9
  %91 = add i32 %90, %89
  store i32 %91, ptr %14, align 4, !tbaa !9
  %92 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %92, ptr %15, align 4, !tbaa !9
  store i32 4, ptr %16, align 4, !tbaa !9
  %93 = load i32, ptr %16, align 4, !tbaa !9
  %94 = load i32, ptr %15, align 4, !tbaa !9
  %95 = add i32 %94, %93
  store i32 %95, ptr %15, align 4, !tbaa !9
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = load i32, ptr %14, align 4, !tbaa !9
  %98 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Aiter_swap0x5Babi0x3Av150070x5D0x3Cunsigned0x20int0x2A0x260x2C0x20unsigned0x20int0x2A0x260x3E0x28unsigned0x20int0x2A0x260x2C0x20unsigned0x20int0x2A0x260x29(ptr noundef %96, i32 noundef %97, i32 noundef %98)
  store i32 1, ptr %14, align 4, !tbaa !9
  %99 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %99, ptr %8, align 4, !tbaa !9
  %100 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %100, ptr %15, align 4, !tbaa !9
  %101 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %101, ptr %16, align 4, !tbaa !9
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.w2c_hermes, ptr %102, i32 0, i32 6
  %104 = load i32, ptr %16, align 4, !tbaa !9
  %105 = zext i32 %104 to i64
  %106 = add i64 %105, 8
  %107 = call i32 @i32_load(ptr noundef %103, i64 noundef %106)
  store i32 %107, ptr %16, align 4, !tbaa !9
  %108 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %108, ptr %17, align 4, !tbaa !9
  %109 = load ptr, ptr %6, align 8, !tbaa !5
  %110 = load i32, ptr %15, align 4, !tbaa !9
  %111 = load i32, ptr %16, align 4, !tbaa !9
  %112 = load i32, ptr %17, align 4, !tbaa !9
  %113 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3A0x3Aoperator0x280x290x5Babi0x3Av150070x5D0x28unsigned0x20int0x20const0x260x2C0x20unsigned0x20int0x20const0x260x290x20const(ptr noundef %109, i32 noundef %110, i32 noundef %111, i32 noundef %112)
  store i32 %113, ptr %15, align 4, !tbaa !9
  %114 = load i32, ptr %15, align 4, !tbaa !9
  %115 = icmp ne i32 %114, 0
  %116 = xor i1 %115, true
  %117 = zext i1 %116 to i32
  store i32 %117, ptr %15, align 4, !tbaa !9
  %118 = load i32, ptr %15, align 4, !tbaa !9
  %119 = icmp ne i32 %118, 0
  br i1 %119, label %120, label %121

120:                                              ; preds = %87
  br label %196

121:                                              ; preds = %87
  %122 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %122, ptr %14, align 4, !tbaa !9
  store i32 12, ptr %15, align 4, !tbaa !9
  %123 = load i32, ptr %15, align 4, !tbaa !9
  %124 = load i32, ptr %14, align 4, !tbaa !9
  %125 = add i32 %124, %123
  store i32 %125, ptr %14, align 4, !tbaa !9
  %126 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %126, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %127 = load i32, ptr %16, align 4, !tbaa !9
  %128 = load i32, ptr %15, align 4, !tbaa !9
  %129 = add i32 %128, %127
  store i32 %129, ptr %15, align 4, !tbaa !9
  %130 = load ptr, ptr %6, align 8, !tbaa !5
  %131 = load i32, ptr %14, align 4, !tbaa !9
  %132 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Aiter_swap0x5Babi0x3Av150070x5D0x3Cunsigned0x20int0x2A0x260x2C0x20unsigned0x20int0x2A0x260x3E0x28unsigned0x20int0x2A0x260x2C0x20unsigned0x20int0x2A0x260x29(ptr noundef %130, i32 noundef %131, i32 noundef %132)
  br label %195

133:                                              ; preds = %5
  %134 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %134, ptr %14, align 4, !tbaa !9
  %135 = load i32, ptr %14, align 4, !tbaa !9
  %136 = icmp ne i32 %135, 0
  br i1 %136, label %137, label %149

137:                                              ; preds = %133
  %138 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %138, ptr %14, align 4, !tbaa !9
  store i32 12, ptr %15, align 4, !tbaa !9
  %139 = load i32, ptr %15, align 4, !tbaa !9
  %140 = load i32, ptr %14, align 4, !tbaa !9
  %141 = add i32 %140, %139
  store i32 %141, ptr %14, align 4, !tbaa !9
  %142 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %142, ptr %15, align 4, !tbaa !9
  store i32 4, ptr %16, align 4, !tbaa !9
  %143 = load i32, ptr %16, align 4, !tbaa !9
  %144 = load i32, ptr %15, align 4, !tbaa !9
  %145 = add i32 %144, %143
  store i32 %145, ptr %15, align 4, !tbaa !9
  %146 = load ptr, ptr %6, align 8, !tbaa !5
  %147 = load i32, ptr %14, align 4, !tbaa !9
  %148 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Aiter_swap0x5Babi0x3Av150070x5D0x3Cunsigned0x20int0x2A0x260x2C0x20unsigned0x20int0x2A0x260x3E0x28unsigned0x20int0x2A0x260x2C0x20unsigned0x20int0x2A0x260x29(ptr noundef %146, i32 noundef %147, i32 noundef %148)
  store i32 1, ptr %14, align 4, !tbaa !9
  br label %196

149:                                              ; preds = %133
  %150 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %150, ptr %14, align 4, !tbaa !9
  store i32 12, ptr %15, align 4, !tbaa !9
  %151 = load i32, ptr %15, align 4, !tbaa !9
  %152 = load i32, ptr %14, align 4, !tbaa !9
  %153 = add i32 %152, %151
  store i32 %153, ptr %14, align 4, !tbaa !9
  %154 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %154, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %155 = load i32, ptr %16, align 4, !tbaa !9
  %156 = load i32, ptr %15, align 4, !tbaa !9
  %157 = add i32 %156, %155
  store i32 %157, ptr %15, align 4, !tbaa !9
  %158 = load ptr, ptr %6, align 8, !tbaa !5
  %159 = load i32, ptr %14, align 4, !tbaa !9
  %160 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Aiter_swap0x5Babi0x3Av150070x5D0x3Cunsigned0x20int0x2A0x260x2C0x20unsigned0x20int0x2A0x260x3E0x28unsigned0x20int0x2A0x260x2C0x20unsigned0x20int0x2A0x260x29(ptr noundef %158, i32 noundef %159, i32 noundef %160)
  store i32 1, ptr %14, align 4, !tbaa !9
  %161 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %161, ptr %8, align 4, !tbaa !9
  %162 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %162, ptr %15, align 4, !tbaa !9
  %163 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %163, ptr %16, align 4, !tbaa !9
  %164 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %164, ptr %17, align 4, !tbaa !9
  %165 = load ptr, ptr %6, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.w2c_hermes, ptr %165, i32 0, i32 6
  %167 = load i32, ptr %17, align 4, !tbaa !9
  %168 = zext i32 %167 to i64
  %169 = add i64 %168, 8
  %170 = call i32 @i32_load(ptr noundef %166, i64 noundef %169)
  store i32 %170, ptr %17, align 4, !tbaa !9
  %171 = load ptr, ptr %6, align 8, !tbaa !5
  %172 = load i32, ptr %15, align 4, !tbaa !9
  %173 = load i32, ptr %16, align 4, !tbaa !9
  %174 = load i32, ptr %17, align 4, !tbaa !9
  %175 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3A0x3Aoperator0x280x290x5Babi0x3Av150070x5D0x28unsigned0x20int0x20const0x260x2C0x20unsigned0x20int0x20const0x260x290x20const(ptr noundef %171, i32 noundef %172, i32 noundef %173, i32 noundef %174)
  store i32 %175, ptr %15, align 4, !tbaa !9
  %176 = load i32, ptr %15, align 4, !tbaa !9
  %177 = icmp ne i32 %176, 0
  %178 = xor i1 %177, true
  %179 = zext i1 %178 to i32
  store i32 %179, ptr %15, align 4, !tbaa !9
  %180 = load i32, ptr %15, align 4, !tbaa !9
  %181 = icmp ne i32 %180, 0
  br i1 %181, label %182, label %183

182:                                              ; preds = %149
  br label %196

183:                                              ; preds = %149
  %184 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %184, ptr %14, align 4, !tbaa !9
  store i32 8, ptr %15, align 4, !tbaa !9
  %185 = load i32, ptr %15, align 4, !tbaa !9
  %186 = load i32, ptr %14, align 4, !tbaa !9
  %187 = add i32 %186, %185
  store i32 %187, ptr %14, align 4, !tbaa !9
  %188 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %188, ptr %15, align 4, !tbaa !9
  store i32 4, ptr %16, align 4, !tbaa !9
  %189 = load i32, ptr %16, align 4, !tbaa !9
  %190 = load i32, ptr %15, align 4, !tbaa !9
  %191 = add i32 %190, %189
  store i32 %191, ptr %15, align 4, !tbaa !9
  %192 = load ptr, ptr %6, align 8, !tbaa !5
  %193 = load i32, ptr %14, align 4, !tbaa !9
  %194 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Aiter_swap0x5Babi0x3Av150070x5D0x3Cunsigned0x20int0x2A0x260x2C0x20unsigned0x20int0x2A0x260x3E0x28unsigned0x20int0x2A0x260x2C0x20unsigned0x20int0x2A0x260x29(ptr noundef %192, i32 noundef %193, i32 noundef %194)
  br label %195

195:                                              ; preds = %183, %121
  store i32 2, ptr %14, align 4, !tbaa !9
  br label %196

196:                                              ; preds = %195, %182, %137, %120, %86
  %197 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %197, ptr %8, align 4, !tbaa !9
  %198 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %198, ptr %14, align 4, !tbaa !9
  store i32 16, ptr %15, align 4, !tbaa !9
  %199 = load i32, ptr %15, align 4, !tbaa !9
  %200 = load i32, ptr %14, align 4, !tbaa !9
  %201 = add i32 %200, %199
  store i32 %201, ptr %14, align 4, !tbaa !9
  %202 = load i32, ptr %14, align 4, !tbaa !9
  %203 = load ptr, ptr %6, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.w2c_hermes, ptr %203, i32 0, i32 3
  store i32 %202, ptr %204, align 8, !tbaa !11
  %205 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %205, ptr %14, align 4, !tbaa !9
  %206 = load i32, ptr %14, align 4, !tbaa !9
  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
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  ret i32 %206
}

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

!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

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 3) i32 @w2c_hermes_unsigned0x20int0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fsort30x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x260x2C0x20unsigned0x20int0x2A0x3E0x28unsigned0x20int0x2A0x2C0x20unsigned0x20int0x2A0x2C0x20unsigned0x20int0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #2 {
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = add i32 %7, -16
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %8 to i64
  %11 = add nuw nsw i64 %10, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %11, i32 noundef %2)
  %12 = add nuw nsw i64 %10, 12
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %12, i32 noundef %1)
  %13 = add nuw nsw i64 %10, 4
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %13, i32 noundef %3)
  %14 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3A0x3Aoperator0x280x290x5Babi0x3Av150070x5D0x28unsigned0x20int0x20const0x260x2C0x20unsigned0x20int0x20const0x260x290x20const(ptr noundef %0, i32 noundef %4, i32 noundef %2, i32 noundef %1) #3
  %15 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3A0x3Aoperator0x280x290x5Babi0x3Av150070x5D0x28unsigned0x20int0x20const0x260x2C0x20unsigned0x20int0x20const0x260x290x20const(ptr noundef %0, i32 noundef %4, i32 noundef %3, i32 noundef %2) #3
  %.not = icmp eq i32 %14, 0
  %.not124 = icmp eq i32 %15, 0
  br i1 %.not, label %16, label %24

16:                                               ; preds = %5
  br i1 %.not124, label %34, label %17

17:                                               ; preds = %16
  %18 = add i32 %7, -8
  %19 = add i32 %7, -12
  tail call void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Aiter_swap0x5Babi0x3Av150070x5D0x3Cunsigned0x20int0x2A0x260x2C0x20unsigned0x20int0x2A0x260x3E0x28unsigned0x20int0x2A0x260x2C0x20unsigned0x20int0x2A0x260x29(ptr noundef nonnull %0, i32 noundef %18, i32 noundef %19)
  %20 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %11)
  %21 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3A0x3Aoperator0x280x290x5Babi0x3Av150070x5D0x28unsigned0x20int0x20const0x260x2C0x20unsigned0x20int0x20const0x260x290x20const(ptr noundef nonnull %0, i32 noundef %4, i32 noundef %20, i32 noundef %1) #3
  %.not125 = icmp eq i32 %21, 0
  br i1 %.not125, label %34, label %22

22:                                               ; preds = %17
  %23 = add i32 %7, -4
  tail call void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Aiter_swap0x5Babi0x3Av150070x5D0x3Cunsigned0x20int0x2A0x260x2C0x20unsigned0x20int0x2A0x260x3E0x28unsigned0x20int0x2A0x260x2C0x20unsigned0x20int0x2A0x260x29(ptr noundef nonnull %0, i32 noundef %23, i32 noundef %18)
  br label %34

24:                                               ; preds = %5
  %25 = add i32 %7, -4
  br i1 %.not124, label %28, label %26

26:                                               ; preds = %24
  %27 = add i32 %7, -12
  tail call void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Aiter_swap0x5Babi0x3Av150070x5D0x3Cunsigned0x20int0x2A0x260x2C0x20unsigned0x20int0x2A0x260x3E0x28unsigned0x20int0x2A0x260x2C0x20unsigned0x20int0x2A0x260x29(ptr noundef nonnull %0, i32 noundef %25, i32 noundef %27)
  br label %34

28:                                               ; preds = %24
  %29 = add i32 %7, -8
  tail call void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Aiter_swap0x5Babi0x3Av150070x5D0x3Cunsigned0x20int0x2A0x260x2C0x20unsigned0x20int0x2A0x260x3E0x28unsigned0x20int0x2A0x260x2C0x20unsigned0x20int0x2A0x260x29(ptr noundef nonnull %0, i32 noundef %25, i32 noundef %29)
  %30 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %11)
  %31 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fless0x3Cunsigned0x20int0x2C0x20unsigned0x20int0x3E0x3A0x3Aoperator0x280x290x5Babi0x3Av150070x5D0x28unsigned0x20int0x20const0x260x2C0x20unsigned0x20int0x20const0x260x290x20const(ptr noundef nonnull %0, i32 noundef %4, i32 noundef %3, i32 noundef %30) #3
  %.not123 = icmp eq i32 %31, 0
  br i1 %.not123, label %34, label %32

32:                                               ; preds = %28
  %33 = add i32 %7, -12
  tail call void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_IterOps0x3Cstd0x3A0x3A_0x5F20x3A0x3A_ClassicAlgPolicy0x3E0x3A0x3Aiter_swap0x5Babi0x3Av150070x5D0x3Cunsigned0x20int0x2A0x260x2C0x20unsigned0x20int0x2A0x260x3E0x28unsigned0x20int0x2A0x260x2C0x20unsigned0x20int0x2A0x260x29(ptr noundef nonnull %0, i32 noundef %29, i32 noundef %33)
  br label %34

34:                                               ; preds = %22, %32, %28, %17, %16, %26
  %.0 = phi i32 [ 0, %16 ], [ 1, %17 ], [ 1, %26 ], [ 1, %28 ], [ 2, %32 ], [ 2, %22 ]
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret i32 %.0
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !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: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass