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

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

%struct.w2c_hermes = type { ptr, ptr, ptr, i32, i32, i32, %struct.wasm_rt_memory_t, %struct.wasm_rt_funcref_table_t }
%struct.wasm_rt_memory_t = type { ptr, i64, i64, i64, i8 }
%struct.wasm_rt_funcref_table_t = type { ptr, i32, i32 }

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) #1

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 noundef) #2

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

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

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

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

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

83:                                               ; preds = %3
  br label %128

84:                                               ; preds = %3
  %85 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %85, ptr %15, align 4, !tbaa !9
  %86 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %86, ptr %16, align 4, !tbaa !9
  %87 = load i32, ptr %15, align 4, !tbaa !9
  %88 = load i32, ptr %16, align 4, !tbaa !9
  %89 = icmp uge i32 %87, %88
  %90 = zext i1 %89 to i32
  store i32 %90, ptr %15, align 4, !tbaa !9
  %91 = load i32, ptr %15, align 4, !tbaa !9
  %92 = icmp ne i32 %91, 0
  br i1 %92, label %93, label %94

93:                                               ; preds = %84
  br label %282

94:                                               ; preds = %84
  store i32 1, ptr %15, align 4, !tbaa !9
  %95 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %95, ptr %10, align 4, !tbaa !9
  %96 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %96, ptr %16, align 4, !tbaa !9
  %97 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %97, ptr %17, align 4, !tbaa !9
  %98 = load i32, ptr %17, align 4, !tbaa !9
  %99 = load i32, ptr %16, align 4, !tbaa !9
  %100 = add i32 %99, %98
  store i32 %100, ptr %16, align 4, !tbaa !9
  %101 = load ptr, ptr %4, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.w2c_hermes, ptr %101, i32 0, i32 6
  %103 = load i32, ptr %16, align 4, !tbaa !9
  %104 = zext i32 %103 to i64
  %105 = call i32 @i32_load8_u(ptr noundef %102, i64 noundef %104)
  store i32 %105, ptr %16, align 4, !tbaa !9
  %106 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %106, ptr %8, align 4, !tbaa !9
  store i32 47, ptr %17, align 4, !tbaa !9
  %107 = load i32, ptr %16, align 4, !tbaa !9
  %108 = load i32, ptr %17, align 4, !tbaa !9
  %109 = icmp eq i32 %107, %108
  %110 = zext i1 %109 to i32
  store i32 %110, ptr %16, align 4, !tbaa !9
  %111 = load i32, ptr %16, align 4, !tbaa !9
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %114

113:                                              ; preds = %94
  br label %128

114:                                              ; preds = %94
  %115 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %115, ptr %15, align 4, !tbaa !9
  %116 = load i32, ptr %15, align 4, !tbaa !9
  %117 = icmp ne i32 %116, 0
  %118 = xor i1 %117, true
  %119 = zext i1 %118 to i32
  store i32 %119, ptr %15, align 4, !tbaa !9
  %120 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %120, ptr %16, align 4, !tbaa !9
  store i32 92, ptr %17, align 4, !tbaa !9
  %121 = load i32, ptr %16, align 4, !tbaa !9
  %122 = load i32, ptr %17, align 4, !tbaa !9
  %123 = icmp eq i32 %121, %122
  %124 = zext i1 %123 to i32
  store i32 %124, ptr %16, align 4, !tbaa !9
  %125 = load i32, ptr %16, align 4, !tbaa !9
  %126 = load i32, ptr %15, align 4, !tbaa !9
  %127 = and i32 %126, %125
  store i32 %127, ptr %15, align 4, !tbaa !9
  br label %128

128:                                              ; preds = %114, %113, %83
  %129 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %129, ptr %10, align 4, !tbaa !9
  %130 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %130, ptr %15, align 4, !tbaa !9
  %131 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %131, ptr %21, align 8, !tbaa !11
  %132 = load ptr, ptr %4, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.w2c_hermes, ptr %132, i32 0, i32 6
  %134 = load i32, ptr %15, align 4, !tbaa !9
  %135 = zext i32 %134 to i64
  %136 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %133, i64 noundef %135, i64 noundef %136)
  %137 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %137, ptr %15, align 4, !tbaa !9
  %138 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %138, ptr %21, align 8, !tbaa !11
  %139 = load ptr, ptr %4, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.w2c_hermes, ptr %139, i32 0, i32 6
  %141 = load i32, ptr %15, align 4, !tbaa !9
  %142 = zext i32 %141 to i64
  %143 = add i64 %142, 16
  %144 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %140, i64 noundef %143, i64 noundef %144)
  %145 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %145, ptr %15, align 4, !tbaa !9
  %146 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %146, ptr %16, align 4, !tbaa !9
  %147 = load ptr, ptr %4, align 8, !tbaa !5
  %148 = load i32, ptr %15, align 4, !tbaa !9
  %149 = load i32, ptr %16, align 4, !tbaa !9
  %150 = call i32 @w2c_hermes_0x28anonymous0x20namespace0x290x3A0x3Aroot_dir_start0x28llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3Asys0x3A0x3Apath0x3A0x3AStyle0x29(ptr noundef %147, i32 noundef %148, i32 noundef %149)
  store i32 %150, ptr %15, align 4, !tbaa !9
  %151 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %151, ptr %8, align 4, !tbaa !9
  %152 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %152, ptr %15, align 4, !tbaa !9
  %153 = load i32, ptr %15, align 4, !tbaa !9
  %154 = icmp ne i32 %153, 0
  br i1 %154, label %155, label %243

155:                                              ; preds = %128
  %156 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %156, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %157 = load i32, ptr %16, align 4, !tbaa !9
  %158 = load i32, ptr %15, align 4, !tbaa !9
  %159 = sub i32 %158, %157
  store i32 %159, ptr %15, align 4, !tbaa !9
  %160 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %160, ptr %16, align 4, !tbaa !9
  %161 = load i32, ptr %15, align 4, !tbaa !9
  %162 = load i32, ptr %16, align 4, !tbaa !9
  %163 = icmp ult i32 %161, %162
  %164 = zext i1 %163 to i32
  store i32 %164, ptr %15, align 4, !tbaa !9
  %165 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %165, ptr %12, align 4, !tbaa !9
  br label %166

166:                                              ; preds = %241, %155
  %167 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %167, ptr %15, align 4, !tbaa !9
  store i32 -1, ptr %16, align 4, !tbaa !9
  %168 = load i32, ptr %15, align 4, !tbaa !9
  %169 = load i32, ptr %16, align 4, !tbaa !9
  %170 = icmp ne i32 %168, %169
  %171 = zext i1 %170 to i32
  store i32 %171, ptr %15, align 4, !tbaa !9
  %172 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %172, ptr %16, align 4, !tbaa !9
  %173 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %173, ptr %17, align 4, !tbaa !9
  %174 = load i32, ptr %16, align 4, !tbaa !9
  %175 = load i32, ptr %17, align 4, !tbaa !9
  %176 = icmp ule i32 %174, %175
  %177 = zext i1 %176 to i32
  store i32 %177, ptr %16, align 4, !tbaa !9
  %178 = load i32, ptr %16, align 4, !tbaa !9
  %179 = load i32, ptr %15, align 4, !tbaa !9
  %180 = and i32 %179, %178
  store i32 %180, ptr %15, align 4, !tbaa !9
  %181 = load i32, ptr %15, align 4, !tbaa !9
  %182 = icmp ne i32 %181, 0
  br i1 %182, label %183, label %184

183:                                              ; preds = %166
  br label %245

184:                                              ; preds = %166
  %185 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %185, ptr %15, align 4, !tbaa !9
  %186 = load i32, ptr %15, align 4, !tbaa !9
  %187 = icmp ne i32 %186, 0
  %188 = xor i1 %187, true
  %189 = zext i1 %188 to i32
  store i32 %189, ptr %15, align 4, !tbaa !9
  %190 = load i32, ptr %15, align 4, !tbaa !9
  %191 = icmp ne i32 %190, 0
  br i1 %191, label %192, label %193

192:                                              ; preds = %184
  br label %300

193:                                              ; preds = %184
  %194 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %194, ptr %15, align 4, !tbaa !9
  %195 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %195, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %196 = load i32, ptr %17, align 4, !tbaa !9
  %197 = load i32, ptr %16, align 4, !tbaa !9
  %198 = sub i32 %197, %196
  store i32 %198, ptr %16, align 4, !tbaa !9
  %199 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %199, ptr %9, align 4, !tbaa !9
  %200 = load i32, ptr %16, align 4, !tbaa !9
  %201 = load i32, ptr %15, align 4, !tbaa !9
  %202 = add i32 %201, %200
  store i32 %202, ptr %15, align 4, !tbaa !9
  %203 = load ptr, ptr %4, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.w2c_hermes, ptr %203, i32 0, i32 6
  %205 = load i32, ptr %15, align 4, !tbaa !9
  %206 = zext i32 %205 to i64
  %207 = call i32 @i32_load8_u(ptr noundef %204, i64 noundef %206)
  store i32 %207, ptr %15, align 4, !tbaa !9
  %208 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %208, ptr %13, align 4, !tbaa !9
  store i32 47, ptr %16, align 4, !tbaa !9
  %209 = load i32, ptr %15, align 4, !tbaa !9
  %210 = load i32, ptr %16, align 4, !tbaa !9
  %211 = icmp ne i32 %209, %210
  %212 = zext i1 %211 to i32
  store i32 %212, ptr %15, align 4, !tbaa !9
  %213 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %213, ptr %16, align 4, !tbaa !9
  %214 = load i32, ptr %16, align 4, !tbaa !9
  %215 = icmp ne i32 %214, 0
  %216 = xor i1 %215, true
  %217 = zext i1 %216 to i32
  store i32 %217, ptr %16, align 4, !tbaa !9
  %218 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %218, ptr %17, align 4, !tbaa !9
  store i32 92, ptr %18, align 4, !tbaa !9
  %219 = load i32, ptr %17, align 4, !tbaa !9
  %220 = load i32, ptr %18, align 4, !tbaa !9
  %221 = icmp eq i32 %219, %220
  %222 = zext i1 %221 to i32
  store i32 %222, ptr %17, align 4, !tbaa !9
  %223 = load i32, ptr %17, align 4, !tbaa !9
  %224 = load i32, ptr %16, align 4, !tbaa !9
  %225 = and i32 %224, %223
  store i32 %225, ptr %16, align 4, !tbaa !9
  %226 = load i32, ptr %16, align 4, !tbaa !9
  %227 = icmp ne i32 %226, 0
  %228 = xor i1 %227, true
  %229 = zext i1 %228 to i32
  store i32 %229, ptr %16, align 4, !tbaa !9
  %230 = load i32, ptr %16, align 4, !tbaa !9
  %231 = load i32, ptr %15, align 4, !tbaa !9
  %232 = and i32 %231, %230
  store i32 %232, ptr %15, align 4, !tbaa !9
  %233 = load i32, ptr %15, align 4, !tbaa !9
  %234 = icmp ne i32 %233, 0
  br i1 %234, label %235, label %236

235:                                              ; preds = %193
  br label %245

236:                                              ; preds = %193
  %237 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %237, ptr %15, align 4, !tbaa !9
  %238 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %238, ptr %5, align 4, !tbaa !9
  %239 = load i32, ptr %15, align 4, !tbaa !9
  %240 = icmp ne i32 %239, 0
  br i1 %240, label %241, label %242

241:                                              ; preds = %236
  br label %166

242:                                              ; preds = %236
  br label %243

243:                                              ; preds = %242, %128
  store i32 0, ptr %15, align 4, !tbaa !9
  %244 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %244, ptr %5, align 4, !tbaa !9
  br label %245

245:                                              ; preds = %243, %235, %183
  %246 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %246, ptr %15, align 4, !tbaa !9
  store i32 32, ptr %16, align 4, !tbaa !9
  %247 = load i32, ptr %16, align 4, !tbaa !9
  %248 = load i32, ptr %15, align 4, !tbaa !9
  %249 = add i32 %248, %247
  store i32 %249, ptr %15, align 4, !tbaa !9
  %250 = load i32, ptr %15, align 4, !tbaa !9
  %251 = load ptr, ptr %4, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.w2c_hermes, ptr %251, i32 0, i32 3
  store i32 %250, ptr %252, align 8, !tbaa !13
  %253 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %253, ptr %15, align 4, !tbaa !9
  %254 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %254, ptr %16, align 4, !tbaa !9
  %255 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %255, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %256 = load i32, ptr %18, align 4, !tbaa !9
  %257 = load i32, ptr %17, align 4, !tbaa !9
  %258 = add i32 %257, %256
  store i32 %258, ptr %17, align 4, !tbaa !9
  %259 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %259, ptr %18, align 4, !tbaa !9
  %260 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %260, ptr %19, align 4, !tbaa !9
  %261 = load i32, ptr %18, align 4, !tbaa !9
  %262 = load i32, ptr %19, align 4, !tbaa !9
  %263 = icmp ne i32 %261, %262
  %264 = zext i1 %263 to i32
  store i32 %264, ptr %18, align 4, !tbaa !9
  %265 = load i32, ptr %18, align 4, !tbaa !9
  %266 = icmp ne i32 %265, 0
  br i1 %266, label %267, label %269

267:                                              ; preds = %245
  %268 = load i32, ptr %16, align 4, !tbaa !9
  br label %271

269:                                              ; preds = %245
  %270 = load i32, ptr %17, align 4, !tbaa !9
  br label %271

271:                                              ; preds = %269, %267
  %272 = phi i32 [ %268, %267 ], [ %270, %269 ]
  store i32 %272, ptr %16, align 4, !tbaa !9
  %273 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %273, ptr %17, align 4, !tbaa !9
  %274 = load i32, ptr %17, align 4, !tbaa !9
  %275 = icmp ne i32 %274, 0
  br i1 %275, label %276, label %278

276:                                              ; preds = %271
  %277 = load i32, ptr %15, align 4, !tbaa !9
  br label %280

278:                                              ; preds = %271
  %279 = load i32, ptr %16, align 4, !tbaa !9
  br label %280

280:                                              ; preds = %278, %276
  %281 = phi i32 [ %277, %276 ], [ %279, %278 ]
  store i32 %281, ptr %15, align 4, !tbaa !9
  br label %318

282:                                              ; preds = %93
  store i32 0, ptr %15, align 4, !tbaa !9
  %283 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %283, ptr %5, align 4, !tbaa !9
  store i32 202939, ptr %16, align 4, !tbaa !9
  %284 = load i32, ptr %16, align 4, !tbaa !9
  %285 = load i32, ptr %15, align 4, !tbaa !9
  %286 = add i32 %285, %284
  store i32 %286, ptr %15, align 4, !tbaa !9
  %287 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %287, ptr %16, align 4, !tbaa !9
  store i32 82975, ptr %17, align 4, !tbaa !9
  %288 = load i32, ptr %17, align 4, !tbaa !9
  %289 = load i32, ptr %16, align 4, !tbaa !9
  %290 = add i32 %289, %288
  store i32 %290, ptr %16, align 4, !tbaa !9
  store i32 244, ptr %17, align 4, !tbaa !9
  %291 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %291, ptr %18, align 4, !tbaa !9
  store i32 108367, ptr %19, align 4, !tbaa !9
  %292 = load i32, ptr %19, align 4, !tbaa !9
  %293 = load i32, ptr %18, align 4, !tbaa !9
  %294 = add i32 %293, %292
  store i32 %294, ptr %18, align 4, !tbaa !9
  %295 = load ptr, ptr %4, align 8, !tbaa !5
  %296 = load i32, ptr %15, align 4, !tbaa !9
  %297 = load i32, ptr %16, align 4, !tbaa !9
  %298 = load i32, ptr %17, align 4, !tbaa !9
  %299 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %295, i32 noundef %296, i32 noundef %297, i32 noundef %298, i32 noundef %299)
  call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

300:                                              ; preds = %192
  store i32 0, ptr %15, align 4, !tbaa !9
  %301 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %301, ptr %5, align 4, !tbaa !9
  store i32 202939, ptr %16, align 4, !tbaa !9
  %302 = load i32, ptr %16, align 4, !tbaa !9
  %303 = load i32, ptr %15, align 4, !tbaa !9
  %304 = add i32 %303, %302
  store i32 %304, ptr %15, align 4, !tbaa !9
  %305 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %305, ptr %16, align 4, !tbaa !9
  store i32 82975, ptr %17, align 4, !tbaa !9
  %306 = load i32, ptr %17, align 4, !tbaa !9
  %307 = load i32, ptr %16, align 4, !tbaa !9
  %308 = add i32 %307, %306
  store i32 %308, ptr %16, align 4, !tbaa !9
  store i32 244, ptr %17, align 4, !tbaa !9
  %309 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %309, ptr %18, align 4, !tbaa !9
  store i32 108367, ptr %19, align 4, !tbaa !9
  %310 = load i32, ptr %19, align 4, !tbaa !9
  %311 = load i32, ptr %18, align 4, !tbaa !9
  %312 = add i32 %311, %310
  store i32 %312, ptr %18, align 4, !tbaa !9
  %313 = load ptr, ptr %4, align 8, !tbaa !5
  %314 = load i32, ptr %15, align 4, !tbaa !9
  %315 = load i32, ptr %16, align 4, !tbaa !9
  %316 = load i32, ptr %17, align 4, !tbaa !9
  %317 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %313, i32 noundef %314, i32 noundef %315, i32 noundef %316, i32 noundef %317)
  call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

318:                                              ; preds = %280
  %319 = load i32, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, 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 8, 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 %319
}

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

!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}
!13 = !{!14, !10, i64 24}
!14 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !15, i64 40, !17, i64 80}
!15 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !16, i64 32}
!16 = !{!"_Bool", !7, i64 0}
!17 = !{!"", !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: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #0

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_0x28anonymous0x20namespace0x290x3A0x3Aparent_path_end0x28llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3Asys0x3A0x3Apath0x3A0x3AStyle0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 {
  %4 = getelementptr inbounds i8, ptr %0, i64 24
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = add i32 %5, -32
  store i32 %6, ptr %4, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 40
  %8 = zext i32 %1 to i64
  %9 = tail call i64 @i64_load(ptr noundef nonnull %7, i64 noundef %8)
  %10 = zext i32 %6 to i64
  %11 = add nuw nsw i64 %10, 8
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %11, i64 noundef %9)
  %12 = add nuw nsw i64 %10, 24
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %12, i64 noundef %9)
  %13 = trunc i64 %9 to i32
  %14 = add i32 %5, -24
  %15 = tail call i32 @w2c_hermes_0x28anonymous0x20namespace0x290x3A0x3Afilename_pos0x28llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3Asys0x3A0x3Apath0x3A0x3AStyle0x29(ptr noundef %0, i32 noundef %14, i32 noundef %2)
  %16 = lshr i64 %9, 32
  %17 = trunc nuw i64 %16 to i32
  %.not = icmp ult i64 %9, 4294967296
  br i1 %.not, label %26, label %18

18:                                               ; preds = %3
  %.not180 = icmp ult i32 %15, %17
  br i1 %.not180, label %19, label %58

19:                                               ; preds = %18
  %20 = add i32 %15, %13
  %21 = zext i32 %20 to i64
  %22 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %21)
  %23 = icmp eq i32 %22, 47
  br i1 %23, label %26, label %24

24:                                               ; preds = %19
  %.not181 = icmp ne i32 %2, 0
  %25 = icmp ne i32 %22, 92
  %.not191 = or i1 %.not181, %25
  br label %26

26:                                               ; preds = %19, %3, %24
  %.0175 = phi i1 [ true, %3 ], [ false, %19 ], [ %.not191, %24 ]
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %10, i64 noundef %9)
  %27 = add nuw nsw i64 %10, 16
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %27, i64 noundef %9)
  %28 = tail call i32 @w2c_hermes_0x28anonymous0x20namespace0x290x3A0x3Aroot_dir_start0x28llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3Asys0x3A0x3Apath0x3A0x3AStyle0x29(ptr noundef nonnull %0, i32 noundef %6, i32 noundef %2)
  %.fr193 = freeze i32 %28
  %.not182 = icmp eq i32 %15, 0
  br i1 %.not182, label %.loopexit, label %29

29:                                               ; preds = %26
  %30 = add i32 %15, -1
  %.not183 = icmp ult i32 %30, %17
  %31 = icmp ne i32 %.fr193, -1
  %.not184 = icmp ne i32 %2, 0
  %.not183.fr = freeze i1 %.not183
  br i1 %.not183.fr, label %.split.us, label %.split

.split.us:                                        ; preds = %29
  %32 = zext i32 %15 to i64
  br i1 %31, label %.split.us.split.preheader, label %.split.us.split.us

.split.us.split.preheader:                        ; preds = %.split.us
  %33 = zext i32 %.fr193 to i64
  %umin = tail call i32 @llvm.umin.i32(i32 %.fr193, i32 %15)
  br label %.split.us.split

.split.us.split.us:                               ; preds = %.split.us, %40
  %indvars.iv = phi i64 [ %indvars.iv.next, %40 ], [ %32, %.split.us ]
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %34 = add i64 %indvars.iv.next, %9
  %35 = and i64 %34, 4294967295
  %36 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %35)
  %37 = icmp ne i32 %36, 47
  %38 = icmp ne i32 %36, 92
  %.not186.us.us = or i1 %.not184, %38
  %39 = and i1 %37, %.not186.us.us
  br i1 %39, label %.loopexit.loopexit202.split.loop.exit204, label %40

40:                                               ; preds = %.split.us.split.us
  %41 = and i64 %indvars.iv.next, 4294967295
  %.not187.us.us = icmp eq i64 %41, 0
  br i1 %.not187.us.us, label %.loopexit, label %.split.us.split.us

.split.us.split:                                  ; preds = %.split.us.split.preheader, %49
  %indvars.iv198 = phi i64 [ %32, %.split.us.split.preheader ], [ %indvars.iv.next199, %49 ]
  %.not194 = icmp ugt i64 %indvars.iv198, %33
  br i1 %.not194, label %42, label %.loopexit

42:                                               ; preds = %.split.us.split
  %indvars.iv.next199 = add nsw i64 %indvars.iv198, -1
  %43 = add i64 %indvars.iv.next199, %9
  %44 = and i64 %43, 4294967295
  %45 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %44)
  %46 = icmp ne i32 %45, 47
  %47 = icmp ne i32 %45, 92
  %.not186.us = or i1 %.not184, %47
  %48 = and i1 %46, %.not186.us
  br i1 %48, label %.loopexit.loopexit.split.loop.exit206, label %49

49:                                               ; preds = %42
  %50 = and i64 %indvars.iv.next199, 4294967295
  %.not187.us = icmp eq i64 %50, 0
  br i1 %.not187.us, label %.loopexit, label %.split.us.split

.split:                                           ; preds = %29
  %51 = icmp ule i32 %15, %.fr193
  %52 = and i1 %31, %51
  br i1 %52, label %.loopexit, label %59

.loopexit.loopexit.split.loop.exit206:            ; preds = %42
  %53 = trunc nuw i64 %indvars.iv198 to i32
  br label %.loopexit

.loopexit.loopexit202.split.loop.exit204:         ; preds = %.split.us.split.us
  %54 = trunc nuw i64 %indvars.iv to i32
  br label %.loopexit

.loopexit:                                        ; preds = %40, %49, %.split.us.split, %.loopexit.loopexit202.split.loop.exit204, %.loopexit.loopexit.split.loop.exit206, %.split, %26
  %.1 = phi i32 [ 0, %26 ], [ %15, %.split ], [ %53, %.loopexit.loopexit.split.loop.exit206 ], [ %54, %.loopexit.loopexit202.split.loop.exit204 ], [ 0, %49 ], [ %umin, %.split.us.split ], [ 0, %40 ]
  store i32 %5, ptr %4, align 8, !tbaa !5
  %55 = add i32 %.fr193, 1
  %.not188 = icmp eq i32 %.1, %.fr193
  %56 = select i1 %.0175, i1 %.not188, i1 false
  %57 = select i1 %56, i32 %55, i32 %.1
  ret i32 %57

58:                                               ; preds = %18
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 202939, i32 noundef 82975, i32 noundef 244, i32 noundef 108367)
  tail call void @wasm_rt_trap(i32 noundef 5) #4
  unreachable

59:                                               ; preds = %.split
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 202939, i32 noundef 82975, i32 noundef 244, i32 noundef 108367)
  tail call void @wasm_rt_trap(i32 noundef 5) #4
  unreachable
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #3

attributes #0 = { noreturn "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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !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,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass