; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_opt_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: nounwind uwtable
declare dso_local i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef, i32 noundef) #0

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

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

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

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load8_u(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 void @i32_store8(ptr noundef, i64 noundef, i32 noundef) #2

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

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fthrow_out_of_range0x5Babi0x3Av150070x5D0x280x290x20const(ptr noundef) #0

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

49:                                               ; preds = %4
  %50 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %50, ptr %16, align 4, !tbaa !9
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.w2c_hermes, ptr %51, i32 0, i32 6
  %53 = load i32, ptr %16, align 4, !tbaa !9
  %54 = zext i32 %53 to i64
  %55 = add i64 %54, 4
  %56 = call i32 @i32_load(ptr noundef %52, i64 noundef %55)
  store i32 %56, ptr %16, align 4, !tbaa !9
  br label %68

57:                                               ; preds = %4
  %58 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %58, ptr %16, align 4, !tbaa !9
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.w2c_hermes, ptr %59, i32 0, i32 6
  %61 = load i32, ptr %16, align 4, !tbaa !9
  %62 = zext i32 %61 to i64
  %63 = add i64 %62, 11
  %64 = call i32 @i32_load8_u(ptr noundef %60, i64 noundef %63)
  store i32 %64, ptr %16, align 4, !tbaa !9
  store i32 127, ptr %17, align 4, !tbaa !9
  %65 = load i32, ptr %17, align 4, !tbaa !9
  %66 = load i32, ptr %16, align 4, !tbaa !9
  %67 = and i32 %66, %65
  store i32 %67, ptr %16, align 4, !tbaa !9
  br label %68

68:                                               ; preds = %57, %49
  %69 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %69, ptr %12, align 4, !tbaa !9
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.w2c_hermes, ptr %70, i32 0, i32 3
  %72 = load i32, ptr %71, align 8, !tbaa !11
  store i32 %72, ptr %16, align 4, !tbaa !9
  store i32 16, ptr %17, align 4, !tbaa !9
  %73 = load i32, ptr %17, align 4, !tbaa !9
  %74 = load i32, ptr %16, align 4, !tbaa !9
  %75 = sub i32 %74, %73
  store i32 %75, ptr %16, align 4, !tbaa !9
  %76 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %76, ptr %14, align 4, !tbaa !9
  %77 = load i32, ptr %16, align 4, !tbaa !9
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.w2c_hermes, ptr %78, i32 0, i32 3
  store i32 %77, ptr %79, align 8, !tbaa !11
  %80 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %80, ptr %16, align 4, !tbaa !9
  %81 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %81, ptr %17, align 4, !tbaa !9
  %82 = load i32, ptr %17, align 4, !tbaa !9
  %83 = load i32, ptr %16, align 4, !tbaa !9
  %84 = add i32 %83, %82
  store i32 %84, ptr %16, align 4, !tbaa !9
  %85 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %85, ptr %9, align 4, !tbaa !9
  store i32 2147483631, ptr %17, align 4, !tbaa !9
  %86 = load i32, ptr %16, align 4, !tbaa !9
  %87 = load i32, ptr %17, align 4, !tbaa !9
  %88 = icmp ule i32 %86, %87
  %89 = zext i1 %88 to i32
  store i32 %89, ptr %16, align 4, !tbaa !9
  %90 = load i32, ptr %16, align 4, !tbaa !9
  %91 = icmp ne i32 %90, 0
  br i1 %91, label %92, label %262

92:                                               ; preds = %68
  %93 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %93, ptr %16, align 4, !tbaa !9
  store i32 11, ptr %17, align 4, !tbaa !9
  %94 = load i32, ptr %16, align 4, !tbaa !9
  %95 = load i32, ptr %17, align 4, !tbaa !9
  %96 = icmp ult i32 %94, %95
  %97 = zext i1 %96 to i32
  store i32 %97, ptr %16, align 4, !tbaa !9
  %98 = load i32, ptr %16, align 4, !tbaa !9
  %99 = icmp ne i32 %98, 0
  br i1 %99, label %100, label %152

100:                                              ; preds = %92
  %101 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %101, ptr %16, align 4, !tbaa !9
  store i64 0, ptr %20, align 8, !tbaa !17
  %102 = load ptr, ptr %5, 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 = load i64, ptr %20, align 8, !tbaa !17
  call void @i64_store(ptr noundef %103, i64 noundef %105, i64 noundef %106)
  %107 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %107, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.w2c_hermes, ptr %108, i32 0, i32 6
  %110 = load i32, ptr %16, align 4, !tbaa !9
  %111 = zext i32 %110 to i64
  %112 = add i64 %111, 8
  %113 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %109, i64 noundef %112, i32 noundef %113)
  %114 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %114, ptr %16, align 4, !tbaa !9
  %115 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %115, ptr %17, align 4, !tbaa !9
  %116 = load ptr, ptr %5, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.w2c_hermes, ptr %116, i32 0, i32 6
  %118 = load i32, ptr %17, align 4, !tbaa !9
  %119 = zext i32 %118 to i64
  %120 = add i64 %119, 11
  %121 = call i32 @i32_load8_u(ptr noundef %117, i64 noundef %120)
  store i32 %121, ptr %17, align 4, !tbaa !9
  store i32 128, ptr %18, align 4, !tbaa !9
  %122 = load i32, ptr %18, align 4, !tbaa !9
  %123 = load i32, ptr %17, align 4, !tbaa !9
  %124 = and i32 %123, %122
  store i32 %124, ptr %17, align 4, !tbaa !9
  %125 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %125, ptr %18, align 4, !tbaa !9
  %126 = load i32, ptr %18, align 4, !tbaa !9
  %127 = load i32, ptr %17, align 4, !tbaa !9
  %128 = or i32 %127, %126
  store i32 %128, ptr %17, align 4, !tbaa !9
  %129 = load ptr, ptr %5, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.w2c_hermes, ptr %129, i32 0, i32 6
  %131 = load i32, ptr %16, align 4, !tbaa !9
  %132 = zext i32 %131 to i64
  %133 = add i64 %132, 11
  %134 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %130, i64 noundef %133, i32 noundef %134)
  %135 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %135, ptr %16, align 4, !tbaa !9
  %136 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %136, ptr %17, align 4, !tbaa !9
  %137 = load ptr, ptr %5, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.w2c_hermes, ptr %137, i32 0, i32 6
  %139 = load i32, ptr %17, align 4, !tbaa !9
  %140 = zext i32 %139 to i64
  %141 = add i64 %140, 11
  %142 = call i32 @i32_load8_u(ptr noundef %138, i64 noundef %141)
  store i32 %142, ptr %17, align 4, !tbaa !9
  store i32 127, ptr %18, align 4, !tbaa !9
  %143 = load i32, ptr %18, align 4, !tbaa !9
  %144 = load i32, ptr %17, align 4, !tbaa !9
  %145 = and i32 %144, %143
  store i32 %145, ptr %17, align 4, !tbaa !9
  %146 = load ptr, ptr %5, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.w2c_hermes, ptr %146, i32 0, i32 6
  %148 = load i32, ptr %16, align 4, !tbaa !9
  %149 = zext i32 %148 to i64
  %150 = add i64 %149, 11
  %151 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %147, i64 noundef %150, i32 noundef %151)
  br label %253

152:                                              ; preds = %92
  %153 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %153, ptr %16, align 4, !tbaa !9
  store i32 11, ptr %17, align 4, !tbaa !9
  %154 = load i32, ptr %16, align 4, !tbaa !9
  %155 = load i32, ptr %17, align 4, !tbaa !9
  %156 = icmp uge i32 %154, %155
  %157 = zext i1 %156 to i32
  store i32 %157, ptr %16, align 4, !tbaa !9
  %158 = load i32, ptr %16, align 4, !tbaa !9
  %159 = icmp ne i32 %158, 0
  br i1 %159, label %160, label %187

160:                                              ; preds = %152
  %161 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %161, ptr %16, align 4, !tbaa !9
  store i32 16, ptr %17, align 4, !tbaa !9
  %162 = load i32, ptr %17, align 4, !tbaa !9
  %163 = load i32, ptr %16, align 4, !tbaa !9
  %164 = add i32 %163, %162
  store i32 %164, ptr %16, align 4, !tbaa !9
  store i32 -16, ptr %17, align 4, !tbaa !9
  %165 = load i32, ptr %17, align 4, !tbaa !9
  %166 = load i32, ptr %16, align 4, !tbaa !9
  %167 = and i32 %166, %165
  store i32 %167, ptr %16, align 4, !tbaa !9
  %168 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %168, ptr %10, align 4, !tbaa !9
  %169 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %169, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %170 = load i32, ptr %18, align 4, !tbaa !9
  %171 = load i32, ptr %17, align 4, !tbaa !9
  %172 = sub i32 %171, %170
  store i32 %172, ptr %17, align 4, !tbaa !9
  %173 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %173, ptr %10, align 4, !tbaa !9
  %174 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %174, ptr %18, align 4, !tbaa !9
  store i32 11, ptr %19, align 4, !tbaa !9
  %175 = load i32, ptr %18, align 4, !tbaa !9
  %176 = load i32, ptr %19, align 4, !tbaa !9
  %177 = icmp eq i32 %175, %176
  %178 = zext i1 %177 to i32
  store i32 %178, ptr %18, align 4, !tbaa !9
  %179 = load i32, ptr %18, align 4, !tbaa !9
  %180 = icmp ne i32 %179, 0
  br i1 %180, label %181, label %183

181:                                              ; preds = %160
  %182 = load i32, ptr %16, align 4, !tbaa !9
  br label %185

183:                                              ; preds = %160
  %184 = load i32, ptr %17, align 4, !tbaa !9
  br label %185

185:                                              ; preds = %183, %181
  %186 = phi i32 [ %182, %181 ], [ %184, %183 ]
  store i32 %186, ptr %16, align 4, !tbaa !9
  br label %188

187:                                              ; preds = %152
  store i32 10, ptr %16, align 4, !tbaa !9
  br label %188

188:                                              ; preds = %187, %185
  store i32 1, ptr %17, align 4, !tbaa !9
  %189 = load i32, ptr %17, align 4, !tbaa !9
  %190 = load i32, ptr %16, align 4, !tbaa !9
  %191 = add i32 %190, %189
  store i32 %191, ptr %16, align 4, !tbaa !9
  %192 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %192, ptr %10, align 4, !tbaa !9
  %193 = load ptr, ptr %5, align 8, !tbaa !5
  %194 = load i32, ptr %16, align 4, !tbaa !9
  %195 = call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %193, i32 noundef %194)
  store i32 %195, ptr %16, align 4, !tbaa !9
  %196 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %196, ptr %15, align 4, !tbaa !9
  %197 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %197, ptr %16, align 4, !tbaa !9
  %198 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %198, ptr %17, align 4, !tbaa !9
  %199 = load ptr, ptr %5, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.w2c_hermes, ptr %199, i32 0, i32 6
  %201 = load i32, ptr %17, align 4, !tbaa !9
  %202 = zext i32 %201 to i64
  %203 = add i64 %202, 8
  %204 = call i32 @i32_load(ptr noundef %200, i64 noundef %203)
  store i32 %204, ptr %17, align 4, !tbaa !9
  store i32 -2147483648, ptr %18, align 4, !tbaa !9
  %205 = load i32, ptr %18, align 4, !tbaa !9
  %206 = load i32, ptr %17, align 4, !tbaa !9
  %207 = and i32 %206, %205
  store i32 %207, ptr %17, align 4, !tbaa !9
  %208 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %208, ptr %18, align 4, !tbaa !9
  store i32 2147483647, ptr %19, align 4, !tbaa !9
  %209 = load i32, ptr %19, align 4, !tbaa !9
  %210 = load i32, ptr %18, align 4, !tbaa !9
  %211 = and i32 %210, %209
  store i32 %211, ptr %18, align 4, !tbaa !9
  %212 = load i32, ptr %18, align 4, !tbaa !9
  %213 = load i32, ptr %17, align 4, !tbaa !9
  %214 = or i32 %213, %212
  store i32 %214, ptr %17, align 4, !tbaa !9
  %215 = load ptr, ptr %5, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.w2c_hermes, ptr %215, i32 0, i32 6
  %217 = load i32, ptr %16, align 4, !tbaa !9
  %218 = zext i32 %217 to i64
  %219 = add i64 %218, 8
  %220 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %216, i64 noundef %219, i32 noundef %220)
  %221 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %221, ptr %16, align 4, !tbaa !9
  %222 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %222, ptr %17, align 4, !tbaa !9
  %223 = load ptr, ptr %5, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.w2c_hermes, ptr %223, i32 0, i32 6
  %225 = load i32, ptr %17, align 4, !tbaa !9
  %226 = zext i32 %225 to i64
  %227 = add i64 %226, 8
  %228 = call i32 @i32_load(ptr noundef %224, i64 noundef %227)
  store i32 %228, ptr %17, align 4, !tbaa !9
  store i32 -2147483648, ptr %18, align 4, !tbaa !9
  %229 = load i32, ptr %18, align 4, !tbaa !9
  %230 = load i32, ptr %17, align 4, !tbaa !9
  %231 = or i32 %230, %229
  store i32 %231, ptr %17, align 4, !tbaa !9
  %232 = load ptr, ptr %5, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.w2c_hermes, ptr %232, i32 0, i32 6
  %234 = load i32, ptr %16, align 4, !tbaa !9
  %235 = zext i32 %234 to i64
  %236 = add i64 %235, 8
  %237 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %233, i64 noundef %236, i32 noundef %237)
  %238 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %238, ptr %16, align 4, !tbaa !9
  %239 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %239, ptr %17, align 4, !tbaa !9
  %240 = load ptr, ptr %5, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.w2c_hermes, ptr %240, i32 0, i32 6
  %242 = load i32, ptr %16, align 4, !tbaa !9
  %243 = zext i32 %242 to i64
  %244 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %241, i64 noundef %243, i32 noundef %244)
  %245 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %245, ptr %16, align 4, !tbaa !9
  %246 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %246, ptr %17, align 4, !tbaa !9
  %247 = load ptr, ptr %5, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.w2c_hermes, ptr %247, i32 0, i32 6
  %249 = load i32, ptr %16, align 4, !tbaa !9
  %250 = zext i32 %249 to i64
  %251 = add i64 %250, 4
  %252 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %248, i64 noundef %251, i32 noundef %252)
  br label %253

253:                                              ; preds = %188, %100
  %254 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %254, ptr %16, align 4, !tbaa !9
  store i32 16, ptr %17, align 4, !tbaa !9
  %255 = load i32, ptr %17, align 4, !tbaa !9
  %256 = load i32, ptr %16, align 4, !tbaa !9
  %257 = add i32 %256, %255
  store i32 %257, ptr %16, align 4, !tbaa !9
  %258 = load i32, ptr %16, align 4, !tbaa !9
  %259 = load ptr, ptr %5, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.w2c_hermes, ptr %259, i32 0, i32 3
  store i32 %258, ptr %260, align 8, !tbaa !11
  %261 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %261, ptr %16, align 4, !tbaa !9
  br label %264

262:                                              ; preds = %68
  %263 = load ptr, ptr %5, align 8, !tbaa !5
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fthrow_out_of_range0x5Babi0x3Av150070x5D0x280x290x20const(ptr noundef %263)
  call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

264:                                              ; preds = %253
  %265 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %265, ptr %6, align 4, !tbaa !9
  %266 = load ptr, ptr %5, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.w2c_hermes, ptr %266, i32 0, i32 6
  %268 = load i32, ptr %16, align 4, !tbaa !9
  %269 = zext i32 %268 to i64
  %270 = add i64 %269, 11
  %271 = call i32 @i32_load8_u(ptr noundef %267, i64 noundef %270)
  store i32 %271, ptr %16, align 4, !tbaa !9
  store i32 7, ptr %17, align 4, !tbaa !9
  %272 = load i32, ptr %17, align 4, !tbaa !9
  %273 = and i32 %272, 31
  %274 = load i32, ptr %16, align 4, !tbaa !9
  %275 = lshr i32 %274, %273
  store i32 %275, ptr %16, align 4, !tbaa !9
  %276 = load i32, ptr %16, align 4, !tbaa !9
  %277 = icmp ne i32 %276, 0
  br i1 %277, label %278, label %285

278:                                              ; preds = %264
  %279 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %279, ptr %16, align 4, !tbaa !9
  %280 = load ptr, ptr %5, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.w2c_hermes, ptr %280, i32 0, i32 6
  %282 = load i32, ptr %16, align 4, !tbaa !9
  %283 = zext i32 %282 to i64
  %284 = call i32 @i32_load(ptr noundef %281, i64 noundef %283)
  store i32 %284, ptr %16, align 4, !tbaa !9
  br label %287

285:                                              ; preds = %264
  %286 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %286, ptr %16, align 4, !tbaa !9
  br label %287

287:                                              ; preds = %285, %278
  %288 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %288, ptr %6, align 4, !tbaa !9
  %289 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %289, ptr %17, align 4, !tbaa !9
  %290 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %290, ptr %18, align 4, !tbaa !9
  %291 = load ptr, ptr %5, align 8, !tbaa !5
  %292 = load i32, ptr %16, align 4, !tbaa !9
  %293 = load i32, ptr %17, align 4, !tbaa !9
  %294 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x3A0x3Acopy0x28char0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %291, i32 noundef %292, i32 noundef %293, i32 noundef %294)
  %295 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %295, ptr %16, align 4, !tbaa !9
  %296 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %296, ptr %17, align 4, !tbaa !9
  %297 = load i32, ptr %17, align 4, !tbaa !9
  %298 = load i32, ptr %16, align 4, !tbaa !9
  %299 = add i32 %298, %297
  store i32 %299, ptr %16, align 4, !tbaa !9
  %300 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %300, ptr %6, align 4, !tbaa !9
  %301 = load i32, ptr %8, align 4, !tbaa !9
  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 %17, align 4, !tbaa !9
  %305 = zext i32 %304 to i64
  %306 = add i64 %305, 11
  %307 = call i32 @i32_load8_u(ptr noundef %303, i64 noundef %306)
  store i32 %307, ptr %17, align 4, !tbaa !9
  store i32 7, ptr %18, align 4, !tbaa !9
  %308 = load i32, ptr %18, align 4, !tbaa !9
  %309 = and i32 %308, 31
  %310 = load i32, ptr %17, align 4, !tbaa !9
  %311 = lshr i32 %310, %309
  store i32 %311, ptr %17, align 4, !tbaa !9
  %312 = load i32, ptr %17, align 4, !tbaa !9
  %313 = icmp ne i32 %312, 0
  br i1 %313, label %314, label %321

314:                                              ; preds = %287
  %315 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %315, ptr %17, align 4, !tbaa !9
  %316 = load ptr, ptr %5, align 8, !tbaa !5
  %317 = getelementptr inbounds %struct.w2c_hermes, ptr %316, i32 0, i32 6
  %318 = load i32, ptr %17, align 4, !tbaa !9
  %319 = zext i32 %318 to i64
  %320 = call i32 @i32_load(ptr noundef %317, i64 noundef %319)
  store i32 %320, ptr %17, align 4, !tbaa !9
  br label %323

321:                                              ; preds = %287
  %322 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %322, ptr %17, align 4, !tbaa !9
  br label %323

323:                                              ; preds = %321, %314
  %324 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %324, ptr %18, align 4, !tbaa !9
  %325 = load ptr, ptr %5, align 8, !tbaa !5
  %326 = load i32, ptr %16, align 4, !tbaa !9
  %327 = load i32, ptr %17, align 4, !tbaa !9
  %328 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x3A0x3Acopy0x28char0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %325, i32 noundef %326, i32 noundef %327, i32 noundef %328)
  %329 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %329, ptr %16, align 4, !tbaa !9
  %330 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %330, ptr %17, align 4, !tbaa !9
  %331 = load i32, ptr %17, align 4, !tbaa !9
  %332 = load i32, ptr %16, align 4, !tbaa !9
  %333 = add i32 %332, %331
  store i32 %333, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  %334 = load ptr, ptr %5, align 8, !tbaa !5
  %335 = load i32, ptr %16, align 4, !tbaa !9
  %336 = load i32, ptr %17, align 4, !tbaa !9
  %337 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x3A0x3Aassign0x28char0x2A0x2C0x20unsigned0x20long0x2C0x20char0x29(ptr noundef %334, i32 noundef %335, i32 noundef %336, i32 noundef %337)
  %338 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %338, ptr %16, align 4, !tbaa !9
  store i32 16, ptr %17, align 4, !tbaa !9
  %339 = load i32, ptr %17, align 4, !tbaa !9
  %340 = load i32, ptr %16, align 4, !tbaa !9
  %341 = add i32 %340, %339
  store i32 %341, ptr %16, align 4, !tbaa !9
  %342 = load i32, ptr %16, align 4, !tbaa !9
  %343 = load ptr, ptr %5, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.w2c_hermes, ptr %343, i32 0, i32 3
  store i32 %342, ptr %344, align 8, !tbaa !11
  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 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  ret void
}

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

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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, !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: nounwind uwtable
declare dso_local i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef, i32 noundef) local_unnamed_addr #0

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

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load8_u(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 void @i32_store8(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fthrow_out_of_range0x5Babi0x3Av150070x5D0x280x290x20const(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x20std0x3A0x3A_0x5F20x3A0x3Aoperator0x2B0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x28char0x20const0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x20const0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
  %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 = tail call i32 @w2c_hermes_strlen(ptr noundef %0, i32 noundef %2)
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %3 to i64
  %11 = add nuw nsw i64 %10, 11
  %12 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %11)
  %.not = icmp ult i32 %12, 128
  br i1 %.not, label %16, label %13

13:                                               ; preds = %4
  %14 = add nuw nsw i64 %10, 4
  %15 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %14)
  br label %19

16:                                               ; preds = %4
  %17 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %11)
  %18 = and i32 %17, 127
  br label %19

19:                                               ; preds = %16, %13
  %.0187 = phi i32 [ %15, %13 ], [ %18, %16 ]
  %20 = load i32, ptr %5, align 8, !tbaa !5
  %21 = add i32 %20, -16
  store i32 %21, ptr %5, align 8, !tbaa !5
  %22 = add i32 %.0187, %8
  %23 = icmp ult i32 %22, 2147483632
  br i1 %23, label %24, label %49

24:                                               ; preds = %19
  %25 = icmp ult i32 %22, 11
  br i1 %25, label %26, label %35

26:                                               ; preds = %24
  %27 = zext i32 %1 to i64
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %27, i64 noundef 0)
  %28 = add nuw nsw i64 %27, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %28, i32 noundef 0)
  %29 = add nuw nsw i64 %27, 11
  %30 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %29)
  %31 = and i32 %30, 128
  %32 = or disjoint i32 %31, %22
  tail call void @i32_store8(ptr noundef nonnull %9, i64 noundef %29, i32 noundef %32)
  %33 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %29)
  %34 = and i32 %33, 127
  tail call void @i32_store8(ptr noundef nonnull %9, i64 noundef %29, i32 noundef %34)
  br label %47

35:                                               ; preds = %24
  %36 = add nuw nsw i32 %22, 16
  %37 = and i32 %36, 2147483632
  %38 = tail call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %37)
  %39 = zext i32 %1 to i64
  %40 = add nuw nsw i64 %39, 8
  %41 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %40)
  %42 = and i32 %41, -2147483648
  %43 = or disjoint i32 %42, %37
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %40, i32 noundef %43)
  %44 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %40)
  %45 = or i32 %44, -2147483648
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %40, i32 noundef %45)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %39, i32 noundef %38)
  %46 = add nuw nsw i64 %39, 4
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %46, i32 noundef %22)
  %.pre = add nuw nsw i64 %39, 11
  br label %47

47:                                               ; preds = %35, %26
  %.pre-phi191 = phi i64 [ %.pre, %35 ], [ %29, %26 ]
  %.pre-phi = phi i64 [ %39, %35 ], [ %27, %26 ]
  store i32 %20, ptr %5, align 8, !tbaa !5
  %48 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %.pre-phi191)
  %.not189 = icmp ult i32 %48, 128
  br i1 %.not189, label %52, label %50

49:                                               ; preds = %19
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fthrow_out_of_range0x5Babi0x3Av150070x5D0x280x290x20const(ptr noundef nonnull %0)
  tail call void @wasm_rt_trap(i32 noundef 5) #3
  unreachable

50:                                               ; preds = %47
  %51 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %.pre-phi)
  br label %52

52:                                               ; preds = %47, %50
  %.2 = phi i32 [ %51, %50 ], [ %1, %47 ]
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x3A0x3Acopy0x28char0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %.2, i32 noundef %2, i32 noundef %8)
  %53 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %11)
  %.not190 = icmp ult i32 %53, 128
  br i1 %.not190, label %56, label %54

54:                                               ; preds = %52
  %55 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %10)
  br label %56

56:                                               ; preds = %52, %54
  %.0 = phi i32 [ %55, %54 ], [ %3, %52 ]
  %57 = add i32 %.2, %8
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x3A0x3Acopy0x28char0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %57, i32 noundef %.0, i32 noundef %.0187)
  %58 = add i32 %57, %.0187
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x3A0x3Aassign0x28char0x2A0x2C0x20unsigned0x20long0x2C0x20char0x29(ptr noundef nonnull %0, i32 noundef %58, i32 noundef 1, i32 noundef 0)
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret void
}

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

attributes #0 = { 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 = { 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 = { 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,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass