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

; 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: noreturn
declare void @wasm_rt_trap(i32 noundef) #2

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_load(ptr noundef, i64 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: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef, i32 noundef, i32 noundef) #4

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AgetLiteralNumber0x28double0x29(ptr noundef, i32 noundef, double noundef) #4

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3ALowerNumericProperties0x3A0x3AstringToNumericProperty0x28hermes0x3A0x3AIRBuilder0x260x2C0x20hermes0x3A0x3AInstruction0x260x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #4 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i64, align 8
  %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
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca double, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #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 8, ptr %15) #5
  store i64 0, ptr %15, align 8, !tbaa !11
  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
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %25 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %25, ptr %16, align 4, !tbaa !9
  %26 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %26, ptr %17, align 4, !tbaa !9
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = load i32, ptr %16, align 4, !tbaa !9
  %29 = load i32, ptr %17, align 4, !tbaa !9
  %30 = call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef %27, i32 noundef %28, i32 noundef %29)
  store i32 %30, ptr %16, align 4, !tbaa !9
  %31 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %31, ptr %11, align 4, !tbaa !9
  %32 = load i32, ptr %16, align 4, !tbaa !9
  %33 = icmp ne i32 %32, 0
  br i1 %33, label %34, label %180

34:                                               ; preds = %5
  %35 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %35, ptr %16, align 4, !tbaa !9
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.w2c_hermes, ptr %36, i32 0, i32 6
  %38 = load i32, ptr %16, align 4, !tbaa !9
  %39 = zext i32 %38 to i64
  %40 = call i32 @i32_load8_u(ptr noundef %37, i64 noundef %39)
  store i32 %40, ptr %16, align 4, !tbaa !9
  store i32 116, ptr %17, align 4, !tbaa !9
  %41 = load i32, ptr %16, align 4, !tbaa !9
  %42 = load i32, ptr %17, align 4, !tbaa !9
  %43 = icmp ne i32 %41, %42
  %44 = zext i1 %43 to i32
  store i32 %44, ptr %16, align 4, !tbaa !9
  %45 = load i32, ptr %16, align 4, !tbaa !9
  %46 = icmp ne i32 %45, 0
  br i1 %46, label %47, label %48

47:                                               ; preds = %34
  br label %225

48:                                               ; preds = %34
  %49 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %49, ptr %16, align 4, !tbaa !9
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.w2c_hermes, ptr %50, i32 0, i32 6
  %52 = load i32, ptr %16, align 4, !tbaa !9
  %53 = zext i32 %52 to i64
  %54 = add i64 %53, 32
  %55 = call i32 @i32_load(ptr noundef %51, i64 noundef %54)
  store i32 %55, ptr %16, align 4, !tbaa !9
  %56 = load ptr, ptr %6, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.w2c_hermes, ptr %56, i32 0, i32 6
  %58 = load i32, ptr %16, align 4, !tbaa !9
  %59 = zext i32 %58 to i64
  %60 = call i64 @i64_load(ptr noundef %57, i64 noundef %59)
  store i64 %60, ptr %21, align 8, !tbaa !11
  %61 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %61, ptr %15, align 8, !tbaa !11
  store i64 32, ptr %22, align 8, !tbaa !11
  %62 = load i64, ptr %22, align 8, !tbaa !11
  %63 = and i64 %62, 63
  %64 = load i64, ptr %21, align 8, !tbaa !11
  %65 = lshr i64 %64, %63
  store i64 %65, ptr %21, align 8, !tbaa !11
  %66 = load i64, ptr %21, align 8, !tbaa !11
  %67 = trunc i64 %66 to i32
  store i32 %67, ptr %16, align 4, !tbaa !9
  %68 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %68, ptr %12, align 4, !tbaa !9
  %69 = load i32, ptr %16, align 4, !tbaa !9
  %70 = icmp ne i32 %69, 0
  %71 = xor i1 %70, true
  %72 = zext i1 %71 to i32
  store i32 %72, ptr %16, align 4, !tbaa !9
  %73 = load i32, ptr %16, align 4, !tbaa !9
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %75, label %76

75:                                               ; preds = %48
  br label %225

76:                                               ; preds = %48
  %77 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %77, ptr %21, align 8, !tbaa !11
  %78 = load i64, ptr %21, align 8, !tbaa !11
  %79 = trunc i64 %78 to i32
  store i32 %79, ptr %16, align 4, !tbaa !9
  %80 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %80, ptr %11, align 4, !tbaa !9
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.w2c_hermes, ptr %81, i32 0, i32 6
  %83 = load i32, ptr %16, align 4, !tbaa !9
  %84 = zext i32 %83 to i64
  %85 = call i32 @i32_load8_u(ptr noundef %82, i64 noundef %84)
  store i32 %85, ptr %16, align 4, !tbaa !9
  store i32 48, 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 eq 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 %93

92:                                               ; preds = %76
  br label %198

93:                                               ; preds = %76
  %94 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %94, ptr %16, align 4, !tbaa !9
  %95 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %95, ptr %17, align 4, !tbaa !9
  %96 = load i32, ptr %17, align 4, !tbaa !9
  %97 = load i32, ptr %16, align 4, !tbaa !9
  %98 = add i32 %97, %96
  store i32 %98, ptr %16, align 4, !tbaa !9
  %99 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %99, ptr %14, align 4, !tbaa !9
  store i64 0, ptr %21, align 8, !tbaa !11
  %100 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %100, ptr %15, align 8, !tbaa !11
  br label %101

101:                                              ; preds = %166, %93
  %102 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %102, ptr %16, align 4, !tbaa !9
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.w2c_hermes, ptr %103, i32 0, i32 6
  %105 = load i32, ptr %16, align 4, !tbaa !9
  %106 = zext i32 %105 to i64
  %107 = call i32 @i32_load8_u(ptr noundef %104, i64 noundef %106)
  store i32 %107, ptr %16, align 4, !tbaa !9
  %108 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %108, ptr %12, align 4, !tbaa !9
  store i32 58, ptr %17, align 4, !tbaa !9
  %109 = load i32, ptr %17, align 4, !tbaa !9
  %110 = load i32, ptr %16, align 4, !tbaa !9
  %111 = sub i32 %110, %109
  store i32 %111, ptr %16, align 4, !tbaa !9
  store i32 255, ptr %17, align 4, !tbaa !9
  %112 = load i32, ptr %17, align 4, !tbaa !9
  %113 = load i32, ptr %16, align 4, !tbaa !9
  %114 = and i32 %113, %112
  store i32 %114, ptr %16, align 4, !tbaa !9
  store i32 246, ptr %17, align 4, !tbaa !9
  %115 = load i32, ptr %16, align 4, !tbaa !9
  %116 = load i32, ptr %17, align 4, !tbaa !9
  %117 = icmp ult i32 %115, %116
  %118 = zext i1 %117 to i32
  store i32 %118, ptr %16, align 4, !tbaa !9
  %119 = load i32, ptr %16, align 4, !tbaa !9
  %120 = icmp ne i32 %119, 0
  br i1 %120, label %121, label %122

121:                                              ; preds = %101
  br label %225

122:                                              ; preds = %101
  %123 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %123, ptr %21, align 8, !tbaa !11
  store i64 4294967295, ptr %22, align 8, !tbaa !11
  %124 = load i64, ptr %22, align 8, !tbaa !11
  %125 = load i64, ptr %21, align 8, !tbaa !11
  %126 = and i64 %125, %124
  store i64 %126, ptr %21, align 8, !tbaa !11
  store i64 10, ptr %22, align 8, !tbaa !11
  %127 = load i64, ptr %22, align 8, !tbaa !11
  %128 = load i64, ptr %21, align 8, !tbaa !11
  %129 = mul i64 %128, %127
  store i64 %129, ptr %21, align 8, !tbaa !11
  %130 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %130, ptr %17, align 4, !tbaa !9
  %131 = load i32, ptr %17, align 4, !tbaa !9
  %132 = zext i32 %131 to i64
  store i64 %132, ptr %22, align 8, !tbaa !11
  store i64 255, ptr %23, align 8, !tbaa !11
  %133 = load i64, ptr %23, align 8, !tbaa !11
  %134 = load i64, ptr %22, align 8, !tbaa !11
  %135 = and i64 %134, %133
  store i64 %135, ptr %22, align 8, !tbaa !11
  store i64 4294967248, ptr %23, align 8, !tbaa !11
  %136 = load i64, ptr %23, align 8, !tbaa !11
  %137 = load i64, ptr %22, align 8, !tbaa !11
  %138 = add i64 %137, %136
  store i64 %138, ptr %22, align 8, !tbaa !11
  store i64 4294967295, ptr %23, align 8, !tbaa !11
  %139 = load i64, ptr %23, align 8, !tbaa !11
  %140 = load i64, ptr %22, align 8, !tbaa !11
  %141 = and i64 %140, %139
  store i64 %141, ptr %22, align 8, !tbaa !11
  %142 = load i64, ptr %22, align 8, !tbaa !11
  %143 = load i64, ptr %21, align 8, !tbaa !11
  %144 = add i64 %143, %142
  store i64 %144, ptr %21, align 8, !tbaa !11
  %145 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %145, ptr %15, align 8, !tbaa !11
  store i64 4294967295, ptr %22, align 8, !tbaa !11
  %146 = load i64, ptr %21, align 8, !tbaa !11
  %147 = load i64, ptr %22, align 8, !tbaa !11
  %148 = icmp ugt i64 %146, %147
  %149 = zext i1 %148 to i32
  store i32 %149, ptr %16, align 4, !tbaa !9
  %150 = load i32, ptr %16, align 4, !tbaa !9
  %151 = icmp ne i32 %150, 0
  br i1 %151, label %152, label %153

152:                                              ; preds = %122
  br label %225

153:                                              ; preds = %122
  %154 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %154, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %155 = load i32, ptr %17, align 4, !tbaa !9
  %156 = load i32, ptr %16, align 4, !tbaa !9
  %157 = add i32 %156, %155
  store i32 %157, ptr %16, align 4, !tbaa !9
  %158 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %158, ptr %11, align 4, !tbaa !9
  %159 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %159, ptr %17, align 4, !tbaa !9
  %160 = load i32, ptr %16, align 4, !tbaa !9
  %161 = load i32, ptr %17, align 4, !tbaa !9
  %162 = icmp ne i32 %160, %161
  %163 = zext i1 %162 to i32
  store i32 %163, ptr %16, align 4, !tbaa !9
  %164 = load i32, ptr %16, align 4, !tbaa !9
  %165 = icmp ne i32 %164, 0
  br i1 %165, label %166, label %167

166:                                              ; preds = %153
  br label %101

167:                                              ; preds = %153
  %168 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %168, ptr %21, align 8, !tbaa !11
  %169 = load i64, ptr %21, align 8, !tbaa !11
  %170 = trunc i64 %169 to i32
  store i32 %170, ptr %16, align 4, !tbaa !9
  %171 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %171, ptr %11, align 4, !tbaa !9
  store i32 -1, ptr %17, align 4, !tbaa !9
  %172 = load i32, ptr %16, align 4, !tbaa !9
  %173 = load i32, ptr %17, align 4, !tbaa !9
  %174 = icmp eq i32 %172, %173
  %175 = zext i1 %174 to i32
  store i32 %175, ptr %16, align 4, !tbaa !9
  %176 = load i32, ptr %16, align 4, !tbaa !9
  %177 = icmp ne i32 %176, 0
  br i1 %177, label %178, label %179

178:                                              ; preds = %167
  br label %225

179:                                              ; preds = %167
  br label %209

180:                                              ; preds = %5
  store i32 0, ptr %16, align 4, !tbaa !9
  %181 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %181, ptr %11, align 4, !tbaa !9
  store i32 147142, ptr %17, align 4, !tbaa !9
  %182 = load i32, ptr %17, align 4, !tbaa !9
  %183 = load i32, ptr %16, align 4, !tbaa !9
  %184 = add i32 %183, %182
  store i32 %184, ptr %16, align 4, !tbaa !9
  %185 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %185, ptr %17, align 4, !tbaa !9
  store i32 82611, ptr %18, align 4, !tbaa !9
  %186 = load i32, ptr %18, align 4, !tbaa !9
  %187 = load i32, ptr %17, align 4, !tbaa !9
  %188 = add i32 %187, %186
  store i32 %188, ptr %17, align 4, !tbaa !9
  store i32 106, ptr %18, align 4, !tbaa !9
  %189 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %189, ptr %19, align 4, !tbaa !9
  store i32 28119, ptr %20, align 4, !tbaa !9
  %190 = load i32, ptr %20, align 4, !tbaa !9
  %191 = load i32, ptr %19, align 4, !tbaa !9
  %192 = add i32 %191, %190
  store i32 %192, ptr %19, align 4, !tbaa !9
  %193 = load ptr, ptr %6, align 8, !tbaa !5
  %194 = load i32, ptr %16, align 4, !tbaa !9
  %195 = load i32, ptr %17, align 4, !tbaa !9
  %196 = load i32, ptr %18, align 4, !tbaa !9
  %197 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %193, i32 noundef %194, i32 noundef %195, i32 noundef %196, i32 noundef %197)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

198:                                              ; preds = %92
  store i32 0, ptr %16, align 4, !tbaa !9
  %199 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %199, ptr %11, align 4, !tbaa !9
  %200 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %200, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %201 = load i32, ptr %16, align 4, !tbaa !9
  %202 = load i32, ptr %17, align 4, !tbaa !9
  %203 = icmp ne i32 %201, %202
  %204 = zext i1 %203 to i32
  store i32 %204, ptr %16, align 4, !tbaa !9
  %205 = load i32, ptr %16, align 4, !tbaa !9
  %206 = icmp ne i32 %205, 0
  br i1 %206, label %207, label %208

207:                                              ; preds = %198
  br label %225

208:                                              ; preds = %198
  br label %209

209:                                              ; preds = %208, %179
  %210 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %210, ptr %16, align 4, !tbaa !9
  %211 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %211, ptr %17, align 4, !tbaa !9
  %212 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %212, ptr %18, align 4, !tbaa !9
  %213 = load i32, ptr %18, align 4, !tbaa !9
  %214 = uitofp i32 %213 to double
  store double %214, ptr %24, align 8, !tbaa !13
  %215 = load ptr, ptr %6, align 8, !tbaa !5
  %216 = load i32, ptr %17, align 4, !tbaa !9
  %217 = load double, ptr %24, align 8, !tbaa !13
  %218 = call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AgetLiteralNumber0x28double0x29(ptr noundef %215, i32 noundef %216, double noundef %217)
  store i32 %218, ptr %17, align 4, !tbaa !9
  %219 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %219, ptr %18, align 4, !tbaa !9
  %220 = load ptr, ptr %6, align 8, !tbaa !5
  %221 = load i32, ptr %16, align 4, !tbaa !9
  %222 = load i32, ptr %17, align 4, !tbaa !9
  %223 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AsetOperand0x28hermes0x3A0x3AValue0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %220, i32 noundef %221, i32 noundef %222, i32 noundef %223)
  store i32 1, ptr %16, align 4, !tbaa !9
  %224 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %224, ptr %13, align 4, !tbaa !9
  br label %225

225:                                              ; preds = %209, %207, %178, %152, %121, %75, %47
  %226 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %226, ptr %16, align 4, !tbaa !9
  %227 = load i32, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  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 8, 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
  ret i32 %227
}

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 = { "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 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 #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, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, 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: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #1

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @w2c_hermes_hermes0x3A0x3ALowerNumericProperties0x3A0x3AstringToNumericProperty0x28hermes0x3A0x3AIRBuilder0x260x2C0x20hermes0x3A0x3AInstruction0x260x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #3 {
  %6 = tail call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef %0, i32 noundef %3, i32 noundef %4)
  %.not = icmp eq i32 %6, 0
  br i1 %.not, label %44, label %7

7:                                                ; preds = %5
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %6 to i64
  %10 = tail call i32 @i32_load8_u(ptr noundef nonnull %8, i64 noundef %9)
  %.not122 = icmp eq i32 %10, 116
  br i1 %.not122, label %11, label %.loopexit

11:                                               ; preds = %7
  %12 = add nuw nsw i64 %9, 32
  %13 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %12)
  %14 = zext i32 %13 to i64
  %15 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %14)
  %16 = lshr i64 %15, 32
  %17 = trunc nuw i64 %16 to i32
  %.not123 = icmp ult i64 %15, 4294967296
  br i1 %.not123, label %.loopexit, label %18

18:                                               ; preds = %11
  %19 = and i64 %15, 4294967295
  %20 = tail call i32 @i32_load8_u(ptr noundef nonnull %8, i64 noundef %19)
  %21 = icmp eq i32 %20, 48
  br i1 %21, label %45, label %22

22:                                               ; preds = %18
  %23 = trunc i64 %15 to i32
  %24 = add i32 %17, %23
  br label %25

25:                                               ; preds = %39, %22
  %.0117 = phi i64 [ 0, %22 ], [ %37, %39 ]
  %.0 = phi i32 [ %23, %22 ], [ %40, %39 ]
  %26 = zext i32 %.0 to i64
  %27 = tail call i32 @i32_load8_u(ptr noundef nonnull %8, i64 noundef %26)
  %28 = add i32 %27, 198
  %29 = and i32 %28, 254
  %30 = icmp ult i32 %29, 246
  br i1 %30, label %.loopexit, label %31

31:                                               ; preds = %25
  %32 = and i64 %.0117, 4294967295
  %33 = mul nuw nsw i64 %32, 10
  %34 = and i32 %27, 255
  %35 = add nsw i32 %34, -48
  %36 = zext i32 %35 to i64
  %37 = add nuw nsw i64 %33, %36
  %38 = icmp ugt i64 %37, 4294967295
  br i1 %38, label %.loopexit, label %39

39:                                               ; preds = %31
  %40 = add i32 %.0, 1
  %.not124 = icmp eq i32 %40, %24
  br i1 %.not124, label %41, label %25

41:                                               ; preds = %39
  %42 = trunc nuw i64 %37 to i32
  %43 = icmp eq i64 %37, 4294967295
  br i1 %43, label %.loopexit, label %46

44:                                               ; preds = %5
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 147142, i32 noundef 82611, i32 noundef 106, i32 noundef 28119) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

45:                                               ; preds = %18
  %.not125 = icmp eq i64 %16, 1
  br i1 %.not125, label %46, label %.loopexit

46:                                               ; preds = %45, %41
  %.1 = phi i32 [ 0, %45 ], [ %42, %41 ]
  %47 = uitofp i32 %.1 to double
  %48 = tail call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AgetLiteralNumber0x28double0x29(ptr noundef %0, i32 noundef %2, double noundef %47)
  tail call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AsetOperand0x28hermes0x3A0x3AValue0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef %3, i32 noundef %48, i32 noundef %4)
  br label %.loopexit

.loopexit:                                        ; preds = %31, %25, %45, %41, %11, %7, %46
  %.0116 = phi i32 [ 0, %7 ], [ 0, %11 ], [ 0, %45 ], [ 1, %46 ], [ 0, %41 ], [ 0, %25 ], [ 0, %31 ]
  ret i32 %.0116
}

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 = { "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 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)"}


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