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

; 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: 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: 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) #2

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

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

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

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

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_llvh0x3A0x3Acl0x3A0x3Aopt0x3Cstd0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x2C0x20true0x2C0x20llvh0x3A0x3Acl0x3A0x3Aparser0x3Cstd0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3E0x3E0x3A0x3AprintOptionValue0x28unsigned0x20long0x2C0x20bool0x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #3 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca 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 i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.w2c_hermes, ptr %22, i32 0, i32 3
  %24 = load i32, ptr %23, align 8, !tbaa !11
  store i32 %24, ptr %16, align 4, !tbaa !9
  store i32 16, ptr %17, align 4, !tbaa !9
  %25 = load i32, ptr %17, align 4, !tbaa !9
  %26 = load i32, ptr %16, align 4, !tbaa !9
  %27 = sub i32 %26, %25
  store i32 %27, ptr %16, align 4, !tbaa !9
  %28 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %28, ptr %11, align 4, !tbaa !9
  %29 = load i32, ptr %16, align 4, !tbaa !9
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.w2c_hermes, ptr %30, i32 0, i32 3
  store i32 %29, ptr %31, align 8, !tbaa !11
  %32 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %32, ptr %16, align 4, !tbaa !9
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.w2c_hermes, ptr %33, i32 0, i32 6
  %35 = load i32, ptr %16, align 4, !tbaa !9
  %36 = zext i32 %35 to i64
  %37 = add i64 %36, 88
  %38 = call i32 @i32_load(ptr noundef %34, i64 noundef %37)
  store i32 %38, ptr %16, align 4, !tbaa !9
  %39 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %39, ptr %9, align 4, !tbaa !9
  %40 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %40, ptr %16, align 4, !tbaa !9
  %41 = load i32, ptr %16, align 4, !tbaa !9
  %42 = icmp ne i32 %41, 0
  br i1 %42, label %43, label %44

43:                                               ; preds = %4
  br label %259

44:                                               ; preds = %4
  %45 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %45, ptr %16, align 4, !tbaa !9
  %46 = load i32, ptr %16, align 4, !tbaa !9
  %47 = icmp ne i32 %46, 0
  %48 = xor i1 %47, true
  %49 = zext i1 %48 to i32
  store i32 %49, ptr %16, align 4, !tbaa !9
  %50 = load i32, ptr %16, align 4, !tbaa !9
  %51 = icmp ne i32 %50, 0
  br i1 %51, label %52, label %53

52:                                               ; preds = %44
  br label %370

53:                                               ; preds = %44
  %54 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %54, ptr %16, align 4, !tbaa !9
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.w2c_hermes, ptr %55, i32 0, i32 6
  %57 = load i32, ptr %16, align 4, !tbaa !9
  %58 = zext i32 %57 to i64
  %59 = add i64 %58, 108
  %60 = call i32 @i32_load8_u(ptr noundef %56, i64 noundef %59)
  store i32 %60, ptr %16, align 4, !tbaa !9
  %61 = load i32, ptr %16, align 4, !tbaa !9
  %62 = icmp ne i32 %61, 0
  %63 = xor i1 %62, true
  %64 = zext i1 %63 to i32
  store i32 %64, ptr %16, align 4, !tbaa !9
  %65 = load i32, ptr %16, align 4, !tbaa !9
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %67, label %68

67:                                               ; preds = %53
  br label %362

68:                                               ; preds = %53
  %69 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %69, ptr %16, align 4, !tbaa !9
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.w2c_hermes, ptr %70, i32 0, i32 6
  %72 = load i32, ptr %16, align 4, !tbaa !9
  %73 = zext i32 %72 to i64
  %74 = add i64 %73, 100
  %75 = call i32 @i32_load(ptr noundef %71, i64 noundef %74)
  store i32 %75, ptr %16, align 4, !tbaa !9
  %76 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %76, ptr %17, align 4, !tbaa !9
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.w2c_hermes, ptr %77, i32 0, i32 6
  %79 = load i32, ptr %17, align 4, !tbaa !9
  %80 = zext i32 %79 to i64
  %81 = add i64 %80, 107
  %82 = call i32 @i32_load8_u(ptr noundef %78, i64 noundef %81)
  store i32 %82, ptr %17, align 4, !tbaa !9
  %83 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %83, ptr %12, align 4, !tbaa !9
  %84 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %84, ptr %18, align 4, !tbaa !9
  %85 = load i32, ptr %18, align 4, !tbaa !9
  %86 = trunc i32 %85 to i8
  %87 = sext i8 %86 to i32
  store i32 %87, ptr %18, align 4, !tbaa !9
  %88 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %88, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %19, align 4, !tbaa !9
  %89 = load i32, ptr %18, align 4, !tbaa !9
  %90 = load i32, ptr %19, align 4, !tbaa !9
  %91 = icmp slt i32 %89, %90
  %92 = zext i1 %91 to i32
  store i32 %92, ptr %18, align 4, !tbaa !9
  %93 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %93, ptr %13, align 4, !tbaa !9
  %94 = load i32, ptr %18, align 4, !tbaa !9
  %95 = icmp ne i32 %94, 0
  br i1 %95, label %96, label %98

96:                                               ; preds = %68
  %97 = load i32, ptr %16, align 4, !tbaa !9
  br label %100

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

100:                                              ; preds = %98, %96
  %101 = phi i32 [ %97, %96 ], [ %99, %98 ]
  store i32 %101, ptr %16, align 4, !tbaa !9
  %102 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %102, ptr %14, 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 %5, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.w2c_hermes, ptr %104, i32 0, i32 6
  %106 = load i32, ptr %17, align 4, !tbaa !9
  %107 = zext i32 %106 to i64
  %108 = add i64 %107, 4
  %109 = call i32 @i32_load(ptr noundef %105, i64 noundef %108)
  store i32 %109, ptr %17, align 4, !tbaa !9
  %110 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %110, ptr %18, align 4, !tbaa !9
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.w2c_hermes, ptr %111, i32 0, i32 6
  %113 = load i32, ptr %18, align 4, !tbaa !9
  %114 = zext i32 %113 to i64
  %115 = add i64 %114, 11
  %116 = call i32 @i32_load8_u(ptr noundef %112, i64 noundef %115)
  store i32 %116, ptr %18, align 4, !tbaa !9
  %117 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %117, ptr %8, align 4, !tbaa !9
  %118 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %118, ptr %19, align 4, !tbaa !9
  %119 = load i32, ptr %19, align 4, !tbaa !9
  %120 = trunc i32 %119 to i8
  %121 = sext i8 %120 to i32
  store i32 %121, ptr %19, align 4, !tbaa !9
  store i32 0, ptr %20, align 4, !tbaa !9
  %122 = load i32, ptr %19, align 4, !tbaa !9
  %123 = load i32, ptr %20, align 4, !tbaa !9
  %124 = icmp slt i32 %122, %123
  %125 = zext i1 %124 to i32
  store i32 %125, ptr %19, align 4, !tbaa !9
  %126 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %126, ptr %10, align 4, !tbaa !9
  %127 = load i32, ptr %19, align 4, !tbaa !9
  %128 = icmp ne i32 %127, 0
  br i1 %128, label %129, label %131

129:                                              ; preds = %100
  %130 = load i32, ptr %17, align 4, !tbaa !9
  br label %133

131:                                              ; preds = %100
  %132 = load i32, ptr %18, align 4, !tbaa !9
  br label %133

133:                                              ; preds = %131, %129
  %134 = phi i32 [ %130, %129 ], [ %132, %131 ]
  store i32 %134, ptr %17, align 4, !tbaa !9
  %135 = load i32, ptr %16, align 4, !tbaa !9
  %136 = load i32, ptr %17, align 4, !tbaa !9
  %137 = icmp ne i32 %135, %136
  %138 = zext i1 %137 to i32
  store i32 %138, ptr %16, align 4, !tbaa !9
  %139 = load i32, ptr %16, align 4, !tbaa !9
  %140 = icmp ne i32 %139, 0
  br i1 %140, label %141, label %142

141:                                              ; preds = %133
  br label %269

142:                                              ; preds = %133
  %143 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %143, ptr %16, align 4, !tbaa !9
  store i32 96, ptr %17, align 4, !tbaa !9
  %144 = load i32, ptr %17, align 4, !tbaa !9
  %145 = load i32, ptr %16, align 4, !tbaa !9
  %146 = add i32 %145, %144
  store i32 %146, ptr %16, align 4, !tbaa !9
  %147 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %147, ptr %8, align 4, !tbaa !9
  %148 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %148, ptr %16, align 4, !tbaa !9
  %149 = load ptr, ptr %5, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.w2c_hermes, ptr %149, i32 0, i32 6
  %151 = load i32, ptr %16, align 4, !tbaa !9
  %152 = zext i32 %151 to i64
  %153 = call i32 @i32_load(ptr noundef %150, i64 noundef %152)
  store i32 %153, ptr %16, align 4, !tbaa !9
  %154 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %154, ptr %17, align 4, !tbaa !9
  %155 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %155, ptr %18, align 4, !tbaa !9
  %156 = load i32, ptr %18, align 4, !tbaa !9
  %157 = icmp ne i32 %156, 0
  br i1 %157, label %158, label %160

158:                                              ; preds = %142
  %159 = load i32, ptr %16, align 4, !tbaa !9
  br label %162

160:                                              ; preds = %142
  %161 = load i32, ptr %17, align 4, !tbaa !9
  br label %162

162:                                              ; preds = %160, %158
  %163 = phi i32 [ %159, %158 ], [ %161, %160 ]
  store i32 %163, ptr %16, align 4, !tbaa !9
  %164 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %164, ptr %10, align 4, !tbaa !9
  %165 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %165, ptr %16, align 4, !tbaa !9
  %166 = load i32, ptr %16, align 4, !tbaa !9
  %167 = icmp ne i32 %166, 0
  %168 = xor i1 %167, true
  %169 = zext i1 %168 to i32
  store i32 %169, ptr %16, align 4, !tbaa !9
  %170 = load i32, ptr %16, align 4, !tbaa !9
  %171 = icmp ne i32 %170, 0
  br i1 %171, label %172, label %222

172:                                              ; preds = %162
  %173 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %173, ptr %16, align 4, !tbaa !9
  %174 = load i32, ptr %16, align 4, !tbaa !9
  %175 = icmp ne i32 %174, 0
  %176 = xor i1 %175, true
  %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 = icmp ne i32 %178, 0
  br i1 %179, label %180, label %181

180:                                              ; preds = %172
  br label %362

181:                                              ; preds = %172
  br label %182

182:                                              ; preds = %220, %181
  %183 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %183, ptr %16, align 4, !tbaa !9
  %184 = load ptr, ptr %5, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.w2c_hermes, ptr %184, i32 0, i32 6
  %186 = load i32, ptr %16, align 4, !tbaa !9
  %187 = zext i32 %186 to i64
  %188 = call i32 @i32_load8_u(ptr noundef %185, i64 noundef %187)
  store i32 %188, ptr %16, align 4, !tbaa !9
  %189 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %189, ptr %17, align 4, !tbaa !9
  %190 = load ptr, ptr %5, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.w2c_hermes, ptr %190, i32 0, i32 6
  %192 = load i32, ptr %17, align 4, !tbaa !9
  %193 = zext i32 %192 to i64
  %194 = call i32 @i32_load8_u(ptr noundef %191, i64 noundef %193)
  store i32 %194, ptr %17, align 4, !tbaa !9
  %195 = load i32, ptr %16, align 4, !tbaa !9
  %196 = load i32, ptr %17, align 4, !tbaa !9
  %197 = icmp ne i32 %195, %196
  %198 = zext i1 %197 to i32
  store i32 %198, ptr %16, align 4, !tbaa !9
  %199 = load i32, ptr %16, align 4, !tbaa !9
  %200 = icmp ne i32 %199, 0
  br i1 %200, label %201, label %202

201:                                              ; preds = %182
  br label %259

202:                                              ; preds = %182
  %203 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %203, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %204 = load i32, ptr %17, align 4, !tbaa !9
  %205 = load i32, ptr %16, align 4, !tbaa !9
  %206 = add i32 %205, %204
  store i32 %206, ptr %16, align 4, !tbaa !9
  %207 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %207, ptr %10, align 4, !tbaa !9
  %208 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %208, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %209 = load i32, ptr %17, align 4, !tbaa !9
  %210 = load i32, ptr %16, align 4, !tbaa !9
  %211 = add i32 %210, %209
  store i32 %211, ptr %16, align 4, !tbaa !9
  %212 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %212, ptr %8, align 4, !tbaa !9
  %213 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %213, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %214 = load i32, ptr %17, align 4, !tbaa !9
  %215 = load i32, ptr %16, align 4, !tbaa !9
  %216 = sub i32 %215, %214
  store i32 %216, ptr %16, align 4, !tbaa !9
  %217 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %217, ptr %12, align 4, !tbaa !9
  %218 = load i32, ptr %16, align 4, !tbaa !9
  %219 = icmp ne i32 %218, 0
  br i1 %219, label %220, label %221

220:                                              ; preds = %202
  br label %182

221:                                              ; preds = %202
  br label %362

222:                                              ; preds = %162
  %223 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %223, ptr %16, align 4, !tbaa !9
  %224 = load i32, ptr %16, align 4, !tbaa !9
  %225 = icmp ne i32 %224, 0
  %226 = xor i1 %225, true
  %227 = zext i1 %226 to i32
  store i32 %227, ptr %16, align 4, !tbaa !9
  %228 = load i32, ptr %16, align 4, !tbaa !9
  %229 = icmp ne i32 %228, 0
  br i1 %229, label %230, label %231

230:                                              ; preds = %222
  br label %362

231:                                              ; preds = %222
  %232 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %232, ptr %16, align 4, !tbaa !9
  %233 = load ptr, ptr %5, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.w2c_hermes, ptr %233, i32 0, i32 6
  %235 = load i32, ptr %16, align 4, !tbaa !9
  %236 = zext i32 %235 to i64
  %237 = call i32 @i32_load(ptr noundef %234, i64 noundef %236)
  store i32 %237, ptr %16, align 4, !tbaa !9
  %238 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %238, ptr %17, align 4, !tbaa !9
  %239 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %239, ptr %18, align 4, !tbaa !9
  %240 = load i32, ptr %18, align 4, !tbaa !9
  %241 = icmp ne i32 %240, 0
  br i1 %241, label %242, label %244

242:                                              ; preds = %231
  %243 = load i32, ptr %16, align 4, !tbaa !9
  br label %246

244:                                              ; preds = %231
  %245 = load i32, ptr %17, align 4, !tbaa !9
  br label %246

246:                                              ; preds = %244, %242
  %247 = phi i32 [ %243, %242 ], [ %245, %244 ]
  store i32 %247, ptr %16, align 4, !tbaa !9
  %248 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %248, ptr %17, align 4, !tbaa !9
  %249 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %249, ptr %18, align 4, !tbaa !9
  %250 = load ptr, ptr %5, align 8, !tbaa !5
  %251 = load i32, ptr %16, align 4, !tbaa !9
  %252 = load i32, ptr %17, align 4, !tbaa !9
  %253 = load i32, ptr %18, align 4, !tbaa !9
  %254 = call i32 @w2c_hermes_memcmp(ptr noundef %250, i32 noundef %251, i32 noundef %252, i32 noundef %253)
  store i32 %254, ptr %16, align 4, !tbaa !9
  %255 = load i32, ptr %16, align 4, !tbaa !9
  %256 = icmp ne i32 %255, 0
  br i1 %256, label %257, label %258

257:                                              ; preds = %246
  br label %269

258:                                              ; preds = %246
  br label %362

259:                                              ; preds = %201, %43
  %260 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %260, ptr %16, align 4, !tbaa !9
  %261 = load i32, ptr %16, align 4, !tbaa !9
  %262 = icmp ne i32 %261, 0
  %263 = xor i1 %262, true
  %264 = zext i1 %263 to i32
  store i32 %264, ptr %16, align 4, !tbaa !9
  %265 = load i32, ptr %16, align 4, !tbaa !9
  %266 = icmp ne i32 %265, 0
  br i1 %266, label %267, label %268

267:                                              ; preds = %259
  br label %388

268:                                              ; preds = %259
  br label %269

269:                                              ; preds = %268, %257, %141
  %270 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %270, ptr %16, align 4, !tbaa !9
  %271 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %271, ptr %17, align 4, !tbaa !9
  %272 = load ptr, ptr %5, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.w2c_hermes, ptr %272, i32 0, i32 6
  %274 = load i32, ptr %17, align 4, !tbaa !9
  %275 = zext i32 %274 to i64
  %276 = call i32 @i32_load(ptr noundef %273, i64 noundef %275)
  store i32 %276, ptr %17, align 4, !tbaa !9
  %277 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %277, ptr %18, align 4, !tbaa !9
  %278 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %278, ptr %19, align 4, !tbaa !9
  %279 = load ptr, ptr %5, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.w2c_hermes, ptr %279, i32 0, i32 6
  %281 = load i32, ptr %19, align 4, !tbaa !9
  %282 = zext i32 %281 to i64
  %283 = add i64 %282, 11
  %284 = call i32 @i32_load8_u(ptr noundef %280, i64 noundef %283)
  store i32 %284, ptr %19, align 4, !tbaa !9
  %285 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %285, ptr %8, align 4, !tbaa !9
  %286 = load i32, ptr %19, align 4, !tbaa !9
  %287 = trunc i32 %286 to i8
  %288 = sext i8 %287 to i32
  store i32 %288, ptr %19, align 4, !tbaa !9
  store i32 0, ptr %20, align 4, !tbaa !9
  %289 = load i32, ptr %19, align 4, !tbaa !9
  %290 = load i32, ptr %20, align 4, !tbaa !9
  %291 = icmp slt i32 %289, %290
  %292 = zext i1 %291 to i32
  store i32 %292, ptr %19, align 4, !tbaa !9
  %293 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %293, ptr %10, align 4, !tbaa !9
  %294 = load i32, ptr %19, align 4, !tbaa !9
  %295 = icmp ne i32 %294, 0
  br i1 %295, label %296, label %298

296:                                              ; preds = %269
  %297 = load i32, ptr %17, align 4, !tbaa !9
  br label %300

298:                                              ; preds = %269
  %299 = load i32, ptr %18, align 4, !tbaa !9
  br label %300

300:                                              ; preds = %298, %296
  %301 = phi i32 [ %297, %296 ], [ %299, %298 ]
  store i32 %301, ptr %17, align 4, !tbaa !9
  %302 = load ptr, ptr %5, 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 = add i64 %305, 8
  %307 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %303, i64 noundef %306, i32 noundef %307)
  %308 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %308, ptr %16, align 4, !tbaa !9
  %309 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %309, ptr %17, align 4, !tbaa !9
  %310 = load ptr, ptr %5, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.w2c_hermes, ptr %310, i32 0, i32 6
  %312 = load i32, ptr %17, align 4, !tbaa !9
  %313 = zext i32 %312 to i64
  %314 = add i64 %313, 4
  %315 = call i32 @i32_load(ptr noundef %311, i64 noundef %314)
  store i32 %315, ptr %17, align 4, !tbaa !9
  %316 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %316, ptr %18, align 4, !tbaa !9
  %317 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %317, ptr %19, align 4, !tbaa !9
  %318 = load i32, ptr %19, align 4, !tbaa !9
  %319 = icmp ne i32 %318, 0
  br i1 %319, label %320, label %322

320:                                              ; preds = %300
  %321 = load i32, ptr %17, align 4, !tbaa !9
  br label %324

322:                                              ; preds = %300
  %323 = load i32, ptr %18, align 4, !tbaa !9
  br label %324

324:                                              ; preds = %322, %320
  %325 = phi i32 [ %321, %320 ], [ %323, %322 ]
  store i32 %325, ptr %17, align 4, !tbaa !9
  %326 = load ptr, ptr %5, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.w2c_hermes, ptr %326, i32 0, i32 6
  %328 = load i32, ptr %16, align 4, !tbaa !9
  %329 = zext i32 %328 to i64
  %330 = add i64 %329, 12
  %331 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %327, i64 noundef %330, i32 noundef %331)
  %332 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %332, ptr %16, align 4, !tbaa !9
  %333 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %333, ptr %17, align 4, !tbaa !9
  %334 = load ptr, ptr %5, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.w2c_hermes, ptr %334, i32 0, i32 6
  %336 = load i32, ptr %17, align 4, !tbaa !9
  %337 = zext i32 %336 to i64
  %338 = add i64 %337, 8
  %339 = call i64 @i64_load(ptr noundef %335, i64 noundef %338)
  store i64 %339, ptr %21, align 8, !tbaa !17
  %340 = load ptr, ptr %5, align 8, !tbaa !5
  %341 = getelementptr inbounds %struct.w2c_hermes, ptr %340, i32 0, i32 6
  %342 = load i32, ptr %16, align 4, !tbaa !9
  %343 = zext i32 %342 to i64
  %344 = load i64, ptr %21, align 8, !tbaa !17
  call void @i64_store(ptr noundef %341, i64 noundef %343, i64 noundef %344)
  %345 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %345, ptr %16, align 4, !tbaa !9
  store i32 112, ptr %17, align 4, !tbaa !9
  %346 = load i32, ptr %17, align 4, !tbaa !9
  %347 = load i32, ptr %16, align 4, !tbaa !9
  %348 = add i32 %347, %346
  store i32 %348, ptr %16, align 4, !tbaa !9
  %349 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %349, ptr %17, align 4, !tbaa !9
  %350 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %350, ptr %18, align 4, !tbaa !9
  %351 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %351, ptr %19, align 4, !tbaa !9
  store i32 92, ptr %20, align 4, !tbaa !9
  %352 = load i32, ptr %20, align 4, !tbaa !9
  %353 = load i32, ptr %19, align 4, !tbaa !9
  %354 = add i32 %353, %352
  store i32 %354, ptr %19, align 4, !tbaa !9
  %355 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %355, ptr %20, align 4, !tbaa !9
  %356 = load ptr, ptr %5, align 8, !tbaa !5
  %357 = load i32, ptr %16, align 4, !tbaa !9
  %358 = load i32, ptr %17, align 4, !tbaa !9
  %359 = load i32, ptr %18, align 4, !tbaa !9
  %360 = load i32, ptr %19, align 4, !tbaa !9
  %361 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Acl0x3A0x3Aparser0x3Cstd0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3E0x3A0x3AprintOptionDiff0x28llvh0x3A0x3Acl0x3A0x3AOption0x20const0x260x2C0x20llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3Acl0x3A0x3AOptionValue0x3Cstd0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3E0x20const0x260x2C0x20unsigned0x20long0x290x20const(ptr noundef %356, i32 noundef %357, i32 noundef %358, i32 noundef %359, i32 noundef %360, i32 noundef %361)
  br label %362

362:                                              ; preds = %324, %258, %230, %221, %180, %67
  %363 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %363, ptr %16, align 4, !tbaa !9
  store i32 16, ptr %17, align 4, !tbaa !9
  %364 = load i32, ptr %17, align 4, !tbaa !9
  %365 = load i32, ptr %16, align 4, !tbaa !9
  %366 = add i32 %365, %364
  store i32 %366, ptr %16, align 4, !tbaa !9
  %367 = load i32, ptr %16, align 4, !tbaa !9
  %368 = load ptr, ptr %5, align 8, !tbaa !5
  %369 = getelementptr inbounds %struct.w2c_hermes, ptr %368, i32 0, i32 3
  store i32 %367, ptr %369, align 8, !tbaa !11
  br label %406

370:                                              ; preds = %52
  store i32 0, ptr %16, align 4, !tbaa !9
  %371 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %371, ptr %9, align 4, !tbaa !9
  store i32 207072, ptr %17, align 4, !tbaa !9
  %372 = load i32, ptr %17, align 4, !tbaa !9
  %373 = load i32, ptr %16, align 4, !tbaa !9
  %374 = add i32 %373, %372
  store i32 %374, ptr %16, align 4, !tbaa !9
  %375 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %375, ptr %17, align 4, !tbaa !9
  store i32 84288, ptr %18, align 4, !tbaa !9
  %376 = load i32, ptr %18, align 4, !tbaa !9
  %377 = load i32, ptr %17, align 4, !tbaa !9
  %378 = add i32 %377, %376
  store i32 %378, ptr %17, align 4, !tbaa !9
  store i32 1197, ptr %18, align 4, !tbaa !9
  %379 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %379, ptr %19, align 4, !tbaa !9
  store i32 69070, ptr %20, align 4, !tbaa !9
  %380 = load i32, ptr %20, align 4, !tbaa !9
  %381 = load i32, ptr %19, align 4, !tbaa !9
  %382 = add i32 %381, %380
  store i32 %382, ptr %19, align 4, !tbaa !9
  %383 = load ptr, ptr %5, align 8, !tbaa !5
  %384 = load i32, ptr %16, align 4, !tbaa !9
  %385 = load i32, ptr %17, align 4, !tbaa !9
  %386 = load i32, ptr %18, align 4, !tbaa !9
  %387 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %383, i32 noundef %384, i32 noundef %385, i32 noundef %386, i32 noundef %387)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

388:                                              ; preds = %267
  store i32 0, ptr %16, align 4, !tbaa !9
  %389 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %389, ptr %9, align 4, !tbaa !9
  store i32 207072, ptr %17, align 4, !tbaa !9
  %390 = load i32, ptr %17, align 4, !tbaa !9
  %391 = load i32, ptr %16, align 4, !tbaa !9
  %392 = add i32 %391, %390
  store i32 %392, ptr %16, align 4, !tbaa !9
  %393 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %393, ptr %17, align 4, !tbaa !9
  store i32 84288, ptr %18, align 4, !tbaa !9
  %394 = load i32, ptr %18, align 4, !tbaa !9
  %395 = load i32, ptr %17, align 4, !tbaa !9
  %396 = add i32 %395, %394
  store i32 %396, ptr %17, align 4, !tbaa !9
  store i32 1197, ptr %18, align 4, !tbaa !9
  %397 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %397, ptr %19, align 4, !tbaa !9
  store i32 69070, ptr %20, align 4, !tbaa !9
  %398 = load i32, ptr %20, align 4, !tbaa !9
  %399 = load i32, ptr %19, align 4, !tbaa !9
  %400 = add i32 %399, %398
  store i32 %400, ptr %19, align 4, !tbaa !9
  %401 = load ptr, ptr %5, align 8, !tbaa !5
  %402 = load i32, ptr %16, align 4, !tbaa !9
  %403 = load i32, ptr %17, align 4, !tbaa !9
  %404 = load i32, ptr %18, align 4, !tbaa !9
  %405 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %401, i32 noundef %402, i32 noundef %403, i32 noundef %404, i32 noundef %405)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

406:                                              ; preds = %362
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  ret void
}

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 = { 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 #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 = { "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 #5 = { nounwind }
attributes #6 = { 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, !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}
!17 = !{!14, !14, 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: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #1

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

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

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

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

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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

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

12:                                               ; preds = %4
  %.not206 = icmp eq i32 %11, 0
  br i1 %.not206, label %59, label %13

13:                                               ; preds = %12
  %14 = add nuw nsw i64 %9, 108
  %15 = tail call i32 @i32_load8_u(ptr noundef nonnull %8, i64 noundef %14)
  %.not207 = icmp eq i32 %15, 0
  br i1 %.not207, label %.loopexit219, label %16

16:                                               ; preds = %13
  %17 = add nuw nsw i64 %9, 100
  %18 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %17)
  %19 = add nuw nsw i64 %9, 107
  %20 = tail call i32 @i32_load8_u(ptr noundef nonnull %8, i64 noundef %19)
  %sext = shl i32 %20, 24
  %21 = icmp sgt i32 %sext, -1
  %22 = select i1 %21, i32 %20, i32 %18
  %23 = zext i32 %11 to i64
  %24 = add nuw nsw i64 %23, 4
  %25 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %24)
  %26 = add nuw nsw i64 %23, 11
  %27 = tail call i32 @i32_load8_u(ptr noundef nonnull %8, i64 noundef %26)
  %sext208.mask = and i32 %27, 128
  %.not209 = icmp eq i32 %sext208.mask, 0
  %28 = select i1 %.not209, i32 %27, i32 %25
  %.not210 = icmp eq i32 %22, %28
  br i1 %.not210, label %29, label %47

29:                                               ; preds = %16
  %30 = add i32 %1, 96
  %31 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %23)
  %32 = select i1 %.not209, i32 %11, i32 %31
  br i1 %21, label %33, label %42

33:                                               ; preds = %29
  %.not213 = icmp eq i32 %sext, 0
  br i1 %.not213, label %.loopexit219, label %.preheader

.preheader:                                       ; preds = %33, %38
  %.0203 = phi i32 [ %39, %38 ], [ %32, %33 ]
  %.0202 = phi i32 [ %41, %38 ], [ %20, %33 ]
  %.0 = phi i32 [ %40, %38 ], [ %30, %33 ]
  %34 = zext i32 %.0 to i64
  %35 = tail call i32 @i32_load8_u(ptr noundef nonnull %8, i64 noundef %34)
  %36 = zext i32 %.0203 to i64
  %37 = tail call i32 @i32_load8_u(ptr noundef nonnull %8, i64 noundef %36)
  %.not214 = icmp eq i32 %35, %37
  br i1 %.not214, label %38, label %.loopexit

38:                                               ; preds = %.preheader
  %39 = add i32 %.0203, 1
  %40 = add i32 %.0, 1
  %41 = add i32 %.0202, -1
  %.not215 = icmp eq i32 %41, 0
  br i1 %.not215, label %.loopexit219, label %.preheader

42:                                               ; preds = %29
  %.not211 = icmp eq i32 %18, 0
  br i1 %.not211, label %.loopexit219, label %43

43:                                               ; preds = %42
  %44 = zext i32 %30 to i64
  %45 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %44)
  %46 = tail call i32 @w2c_hermes_memcmp(ptr noundef nonnull %0, i32 noundef %45, i32 noundef %32, i32 noundef %18)
  %.not212 = icmp eq i32 %46, 0
  br i1 %.not212, label %.loopexit219, label %47

.loopexit:                                        ; preds = %.preheader, %4
  %.not216 = icmp eq i32 %11, 0
  br i1 %.not216, label %60, label %.loopexit._crit_edge

.loopexit._crit_edge:                             ; preds = %.loopexit
  %.pre = zext i32 %11 to i64
  %.pre220 = add nuw nsw i64 %.pre, 11
  %.pre222 = add nuw nsw i64 %.pre, 4
  br label %47

47:                                               ; preds = %.loopexit._crit_edge, %43, %16
  %.pre-phi223 = phi i64 [ %.pre222, %.loopexit._crit_edge ], [ %24, %43 ], [ %24, %16 ]
  %.pre-phi221 = phi i64 [ %.pre220, %.loopexit._crit_edge ], [ %26, %43 ], [ %26, %16 ]
  %.pre-phi = phi i64 [ %.pre, %.loopexit._crit_edge ], [ %23, %43 ], [ %23, %16 ]
  %48 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %.pre-phi)
  %49 = tail call i32 @i32_load8_u(ptr noundef nonnull %8, i64 noundef %.pre-phi221)
  %sext217.mask = and i32 %49, 128
  %.not218 = icmp eq i32 %sext217.mask, 0
  %50 = select i1 %.not218, i32 %11, i32 %48
  %51 = zext i32 %7 to i64
  %52 = add nuw nsw i64 %51, 8
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %52, i32 noundef %50)
  %53 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %.pre-phi223)
  %54 = select i1 %.not218, i32 %49, i32 %53
  %55 = add nuw nsw i64 %51, 12
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %55, i32 noundef %54)
  %56 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %52)
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %51, i64 noundef %56)
  %57 = add i32 %1, 112
  %58 = add i32 %1, 92
  tail call void @w2c_hermes_llvh0x3A0x3Acl0x3A0x3Aparser0x3Cstd0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3E0x3A0x3AprintOptionDiff0x28llvh0x3A0x3Acl0x3A0x3AOption0x20const0x260x2C0x20llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3Acl0x3A0x3AOptionValue0x3Cstd0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3E0x20const0x260x2C0x20unsigned0x20long0x290x20const(ptr noundef %0, i32 noundef %57, i32 noundef %1, i32 noundef %7, i32 noundef %58, i32 noundef %2)
  br label %.loopexit219

.loopexit219:                                     ; preds = %38, %43, %42, %33, %13, %47
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret void

59:                                               ; preds = %12
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 207072, i32 noundef 84288, i32 noundef 1197, i32 noundef 69070) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

60:                                               ; preds = %.loopexit
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 207072, i32 noundef 84288, i32 noundef 1197, i32 noundef 69070) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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 = { 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 = { 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 }
attributes #5 = { 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,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass