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

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

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

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

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

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

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

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

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

declare void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef, i32 noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateCompareBranchInst0x28hermes0x3A0x3AValue0x2A0x2C0x20hermes0x3A0x3AValue0x2A0x2C0x20hermes0x3A0x3ABinaryOperatorInst0x3A0x3AOpKind0x2C0x20hermes0x3A0x3ABasicBlock0x2A0x2C0x20hermes0x3A0x3ABasicBlock0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #3 {
  %8 = alloca ptr, align 8
  %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 i64, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store i32 %1, ptr %9, align 4, !tbaa !9
  store i32 %2, ptr %10, align 4, !tbaa !9
  store i32 %3, ptr %11, align 4, !tbaa !9
  store i32 %4, ptr %12, align 4, !tbaa !9
  store i32 %5, ptr %13, align 4, !tbaa !9
  store i32 %6, 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
  store i32 0, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  store i64 0, ptr %17, align 8, !tbaa !11
  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 4, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  store i32 84, ptr %18, align 4, !tbaa !9
  %24 = load ptr, ptr %8, align 8, !tbaa !5
  %25 = load i32, ptr %18, align 4, !tbaa !9
  %26 = call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %24, i32 noundef %25)
  store i32 %26, ptr %18, align 4, !tbaa !9
  %27 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %27, ptr %15, align 4, !tbaa !9
  store i64 8589934592, ptr %23, align 8, !tbaa !11
  %28 = load ptr, ptr %8, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.w2c_hermes, ptr %28, i32 0, i32 6
  %30 = load i32, ptr %18, align 4, !tbaa !9
  %31 = zext i32 %30 to i64
  %32 = add i64 %31, 20
  %33 = load i64, ptr %23, align 8, !tbaa !11
  call void @i64_store(ptr noundef %29, i64 noundef %32, i64 noundef %33)
  %34 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %34, ptr %18, align 4, !tbaa !9
  store i32 459775, ptr %19, align 4, !tbaa !9
  %35 = load ptr, ptr %8, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.w2c_hermes, ptr %35, i32 0, i32 6
  %37 = load i32, ptr %18, align 4, !tbaa !9
  %38 = zext i32 %37 to i64
  %39 = add i64 %38, 10
  %40 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %36, i64 noundef %39, i32 noundef %40)
  %41 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %41, ptr %18, align 4, !tbaa !9
  store i64 0, ptr %23, align 8, !tbaa !11
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.w2c_hermes, ptr %42, i32 0, i32 6
  %44 = load i32, ptr %18, align 4, !tbaa !9
  %45 = zext i32 %44 to i64
  %46 = load i64, ptr %23, align 8, !tbaa !11
  call void @i64_store(ptr noundef %43, i64 noundef %45, i64 noundef %46)
  %47 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %47, ptr %18, align 4, !tbaa !9
  store i64 0, ptr %23, align 8, !tbaa !11
  %48 = load ptr, ptr %8, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.w2c_hermes, ptr %48, i32 0, i32 6
  %50 = load i32, ptr %18, align 4, !tbaa !9
  %51 = zext i32 %50 to i64
  %52 = add i64 %51, 68
  %53 = load i64, ptr %23, align 8, !tbaa !11
  call void @i64_store(ptr noundef %49, i64 noundef %52, i64 noundef %53)
  %54 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %54, ptr %18, align 4, !tbaa !9
  store i32 0, ptr %19, align 4, !tbaa !9
  %55 = load ptr, ptr %8, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.w2c_hermes, ptr %55, i32 0, i32 6
  %57 = load i32, ptr %18, align 4, !tbaa !9
  %58 = zext i32 %57 to i64
  %59 = add i64 %58, 36
  %60 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %56, i64 noundef %59, i32 noundef %60)
  %61 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %61, ptr %18, align 4, !tbaa !9
  store i32 86, ptr %19, align 4, !tbaa !9
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.w2c_hermes, ptr %62, i32 0, i32 6
  %64 = load i32, ptr %18, align 4, !tbaa !9
  %65 = zext i32 %64 to i64
  %66 = add i64 %65, 8
  %67 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %63, i64 noundef %66, i32 noundef %67)
  %68 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %68, ptr %18, align 4, !tbaa !9
  %69 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %69, ptr %19, align 4, !tbaa !9
  %70 = load ptr, ptr %8, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.w2c_hermes, ptr %70, i32 0, i32 6
  %72 = load i32, ptr %18, align 4, !tbaa !9
  %73 = zext i32 %72 to i64
  %74 = add i64 %73, 80
  %75 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %71, i64 noundef %74, i32 noundef %75)
  %76 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %76, ptr %18, align 4, !tbaa !9
  %77 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %77, ptr %19, align 4, !tbaa !9
  store i32 28, ptr %20, align 4, !tbaa !9
  %78 = load i32, ptr %20, align 4, !tbaa !9
  %79 = load i32, ptr %19, align 4, !tbaa !9
  %80 = add i32 %79, %78
  store i32 %80, ptr %19, align 4, !tbaa !9
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.w2c_hermes, ptr %81, i32 0, i32 6
  %83 = load i32, ptr %18, align 4, !tbaa !9
  %84 = zext i32 %83 to i64
  %85 = add i64 %84, 16
  %86 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %82, i64 noundef %85, i32 noundef %86)
  %87 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %87, ptr %18, align 4, !tbaa !9
  store i64 8589934592, ptr %23, align 8, !tbaa !11
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.w2c_hermes, ptr %88, i32 0, i32 6
  %90 = load i32, ptr %18, align 4, !tbaa !9
  %91 = zext i32 %90 to i64
  %92 = add i64 %91, 44
  %93 = load i64, ptr %23, align 8, !tbaa !11
  call void @i64_store(ptr noundef %89, i64 noundef %92, i64 noundef %93)
  %94 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %94, ptr %18, align 4, !tbaa !9
  %95 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %95, ptr %19, align 4, !tbaa !9
  store i32 52, ptr %20, align 4, !tbaa !9
  %96 = load i32, ptr %20, align 4, !tbaa !9
  %97 = load i32, ptr %19, align 4, !tbaa !9
  %98 = add i32 %97, %96
  store i32 %98, ptr %19, align 4, !tbaa !9
  %99 = load ptr, ptr %8, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.w2c_hermes, ptr %99, i32 0, i32 6
  %101 = load i32, ptr %18, align 4, !tbaa !9
  %102 = zext i32 %101 to i64
  %103 = add i64 %102, 40
  %104 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %100, i64 noundef %103, i32 noundef %104)
  %105 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %105, ptr %18, align 4, !tbaa !9
  store i32 0, ptr %19, align 4, !tbaa !9
  %106 = load ptr, ptr %8, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.w2c_hermes, ptr %106, i32 0, i32 6
  %108 = load i32, ptr %18, align 4, !tbaa !9
  %109 = zext i32 %108 to i64
  %110 = add i64 %109, 76
  %111 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %107, i64 noundef %110, i32 noundef %111)
  %112 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %112, ptr %18, align 4, !tbaa !9
  %113 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %113, ptr %19, align 4, !tbaa !9
  %114 = load ptr, ptr %8, align 8, !tbaa !5
  %115 = load i32, ptr %18, align 4, !tbaa !9
  %116 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %114, i32 noundef %115, i32 noundef %116)
  %117 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %117, ptr %18, align 4, !tbaa !9
  %118 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %118, ptr %19, align 4, !tbaa !9
  %119 = load ptr, ptr %8, align 8, !tbaa !5
  %120 = load i32, ptr %18, align 4, !tbaa !9
  %121 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %119, i32 noundef %120, i32 noundef %121)
  %122 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %122, ptr %18, align 4, !tbaa !9
  %123 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %123, ptr %19, align 4, !tbaa !9
  store i32 8, ptr %20, align 4, !tbaa !9
  %124 = load i32, ptr %20, align 4, !tbaa !9
  %125 = load i32, ptr %19, align 4, !tbaa !9
  %126 = add i32 %125, %124
  store i32 %126, ptr %19, align 4, !tbaa !9
  store i32 0, ptr %20, align 4, !tbaa !9
  %127 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %127, ptr %21, align 4, !tbaa !9
  %128 = load i32, ptr %21, align 4, !tbaa !9
  %129 = icmp ne i32 %128, 0
  br i1 %129, label %130, label %132

130:                                              ; preds = %7
  %131 = load i32, ptr %19, align 4, !tbaa !9
  br label %134

132:                                              ; preds = %7
  %133 = load i32, ptr %20, align 4, !tbaa !9
  br label %134

134:                                              ; preds = %132, %130
  %135 = phi i32 [ %131, %130 ], [ %133, %132 ]
  store i32 %135, ptr %19, align 4, !tbaa !9
  %136 = load ptr, ptr %8, align 8, !tbaa !5
  %137 = load i32, ptr %18, align 4, !tbaa !9
  %138 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %136, i32 noundef %137, i32 noundef %138)
  %139 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %139, ptr %18, align 4, !tbaa !9
  %140 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %140, ptr %19, align 4, !tbaa !9
  store i32 8, ptr %20, align 4, !tbaa !9
  %141 = load i32, ptr %20, align 4, !tbaa !9
  %142 = load i32, ptr %19, align 4, !tbaa !9
  %143 = add i32 %142, %141
  store i32 %143, ptr %19, align 4, !tbaa !9
  store i32 0, ptr %20, align 4, !tbaa !9
  %144 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %144, ptr %21, align 4, !tbaa !9
  %145 = load i32, ptr %21, align 4, !tbaa !9
  %146 = icmp ne i32 %145, 0
  br i1 %146, label %147, label %149

147:                                              ; preds = %134
  %148 = load i32, ptr %19, align 4, !tbaa !9
  br label %151

149:                                              ; preds = %134
  %150 = load i32, ptr %20, align 4, !tbaa !9
  br label %151

151:                                              ; preds = %149, %147
  %152 = phi i32 [ %148, %147 ], [ %150, %149 ]
  store i32 %152, ptr %19, align 4, !tbaa !9
  %153 = load ptr, ptr %8, align 8, !tbaa !5
  %154 = load i32, ptr %18, align 4, !tbaa !9
  %155 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %153, i32 noundef %154, i32 noundef %155)
  %156 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %156, ptr %18, align 4, !tbaa !9
  %157 = load ptr, ptr %8, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.w2c_hermes, ptr %157, i32 0, i32 6
  %159 = load i32, ptr %18, align 4, !tbaa !9
  %160 = zext i32 %159 to i64
  %161 = add i64 %160, 8
  %162 = call i32 @i32_load(ptr noundef %158, i64 noundef %161)
  store i32 %162, ptr %18, align 4, !tbaa !9
  %163 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %163, ptr %11, align 4, !tbaa !9
  %164 = load ptr, ptr %8, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.w2c_hermes, ptr %164, i32 0, i32 6
  %166 = load i32, ptr %18, align 4, !tbaa !9
  %167 = zext i32 %166 to i64
  %168 = add i64 %167, 44
  %169 = call i32 @i32_load(ptr noundef %165, i64 noundef %168)
  store i32 %169, ptr %18, align 4, !tbaa !9
  %170 = load ptr, ptr %8, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.w2c_hermes, ptr %170, i32 0, i32 6
  %172 = load i32, ptr %18, align 4, !tbaa !9
  %173 = zext i32 %172 to i64
  %174 = add i64 %173, 136
  %175 = call i64 @i64_load(ptr noundef %171, i64 noundef %174)
  store i64 %175, ptr %22, align 8, !tbaa !11
  %176 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %176, ptr %17, align 8, !tbaa !11
  store i64 1095216660480, ptr %23, align 8, !tbaa !11
  %177 = load i64, ptr %23, align 8, !tbaa !11
  %178 = load i64, ptr %22, align 8, !tbaa !11
  %179 = and i64 %178, %177
  store i64 %179, ptr %22, align 8, !tbaa !11
  store i64 0, ptr %23, align 8, !tbaa !11
  %180 = load i64, ptr %22, align 8, !tbaa !11
  %181 = load i64, ptr %23, align 8, !tbaa !11
  %182 = icmp ne i64 %180, %181
  %183 = zext i1 %182 to i32
  store i32 %183, ptr %18, align 4, !tbaa !9
  %184 = load i32, ptr %18, align 4, !tbaa !9
  %185 = icmp ne i32 %184, 0
  br i1 %185, label %186, label %199

186:                                              ; preds = %151
  %187 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %187, ptr %18, align 4, !tbaa !9
  %188 = load ptr, ptr %8, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.w2c_hermes, ptr %188, i32 0, i32 6
  %190 = load i32, ptr %18, align 4, !tbaa !9
  %191 = zext i32 %190 to i64
  %192 = add i64 %191, 4
  %193 = call i32 @i32_load(ptr noundef %189, i64 noundef %192)
  store i32 %193, ptr %18, align 4, !tbaa !9
  %194 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %194, ptr %13, align 4, !tbaa !9
  %195 = load i64, ptr %17, align 8, !tbaa !11
  store i64 %195, ptr %22, align 8, !tbaa !11
  %196 = load i64, ptr %22, align 8, !tbaa !11
  %197 = trunc i64 %196 to i32
  store i32 %197, ptr %18, align 4, !tbaa !9
  %198 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %198, ptr %16, align 4, !tbaa !9
  br label %231

199:                                              ; preds = %151
  %200 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %200, ptr %18, align 4, !tbaa !9
  %201 = load ptr, ptr %8, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.w2c_hermes, ptr %201, i32 0, i32 6
  %203 = load i32, ptr %18, align 4, !tbaa !9
  %204 = zext i32 %203 to i64
  %205 = add i64 %204, 4
  %206 = call i32 @i32_load(ptr noundef %202, i64 noundef %205)
  store i32 %206, ptr %18, align 4, !tbaa !9
  %207 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %207, ptr %10, align 4, !tbaa !9
  %208 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %208, ptr %19, align 4, !tbaa !9
  store i32 36, ptr %20, align 4, !tbaa !9
  %209 = load i32, ptr %20, align 4, !tbaa !9
  %210 = load i32, ptr %19, align 4, !tbaa !9
  %211 = add i32 %210, %209
  store i32 %211, ptr %19, align 4, !tbaa !9
  %212 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %212, ptr %13, align 4, !tbaa !9
  %213 = load i32, ptr %18, align 4, !tbaa !9
  %214 = load i32, ptr %19, align 4, !tbaa !9
  %215 = icmp eq i32 %213, %214
  %216 = zext i1 %215 to i32
  store i32 %216, ptr %18, align 4, !tbaa !9
  %217 = load i32, ptr %18, align 4, !tbaa !9
  %218 = icmp ne i32 %217, 0
  br i1 %218, label %219, label %220

219:                                              ; preds = %199
  br label %231

220:                                              ; preds = %199
  %221 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %221, ptr %18, align 4, !tbaa !9
  %222 = load ptr, ptr %8, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.w2c_hermes, ptr %222, i32 0, i32 6
  %224 = load i32, ptr %18, align 4, !tbaa !9
  %225 = zext i32 %224 to i64
  %226 = add i64 %225, 76
  %227 = call i32 @i32_load(ptr noundef %223, i64 noundef %226)
  store i32 %227, ptr %18, align 4, !tbaa !9
  %228 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %228, ptr %16, align 4, !tbaa !9
  %229 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %229, ptr %18, align 4, !tbaa !9
  %230 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %230, ptr %13, align 4, !tbaa !9
  br label %231

231:                                              ; preds = %220, %219, %186
  %232 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %232, ptr %18, align 4, !tbaa !9
  %233 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %233, ptr %19, align 4, !tbaa !9
  %234 = load ptr, ptr %8, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.w2c_hermes, ptr %234, i32 0, i32 6
  %236 = load i32, ptr %18, align 4, !tbaa !9
  %237 = zext i32 %236 to i64
  %238 = add i64 %237, 76
  %239 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %235, i64 noundef %238, i32 noundef %239)
  %240 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %240, ptr %18, align 4, !tbaa !9
  %241 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %241, ptr %19, align 4, !tbaa !9
  %242 = load ptr, ptr %8, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.w2c_hermes, ptr %242, i32 0, i32 6
  %244 = load i32, ptr %19, align 4, !tbaa !9
  %245 = zext i32 %244 to i64
  %246 = add i64 %245, 12
  %247 = call i32 @i32_load(ptr noundef %243, i64 noundef %246)
  store i32 %247, ptr %19, align 4, !tbaa !9
  %248 = load ptr, ptr %8, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.w2c_hermes, ptr %248, i32 0, i32 6
  %250 = load i32, ptr %18, align 4, !tbaa !9
  %251 = zext i32 %250 to i64
  %252 = add i64 %251, 72
  %253 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %249, i64 noundef %252, i32 noundef %253)
  %254 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %254, ptr %18, align 4, !tbaa !9
  %255 = load ptr, ptr %8, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.w2c_hermes, ptr %255, i32 0, i32 6
  %257 = load i32, ptr %18, align 4, !tbaa !9
  %258 = zext i32 %257 to i64
  %259 = add i64 %258, 16
  %260 = call i32 @i32_load(ptr noundef %256, i64 noundef %259)
  store i32 %260, ptr %18, align 4, !tbaa !9
  %261 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %261, ptr %9, align 4, !tbaa !9
  %262 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %262, ptr %18, align 4, !tbaa !9
  %263 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %263, ptr %19, align 4, !tbaa !9
  %264 = load ptr, ptr %8, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.w2c_hermes, ptr %264, i32 0, i32 6
  %266 = load i32, ptr %18, align 4, !tbaa !9
  %267 = zext i32 %266 to i64
  %268 = add i64 %267, 36
  %269 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %265, i64 noundef %268, i32 noundef %269)
  %270 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %270, ptr %18, align 4, !tbaa !9
  %271 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %271, ptr %19, align 4, !tbaa !9
  %272 = load ptr, ptr %8, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.w2c_hermes, ptr %272, i32 0, i32 6
  %274 = load i32, ptr %18, align 4, !tbaa !9
  %275 = zext i32 %274 to i64
  %276 = add i64 %275, 68
  %277 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %273, i64 noundef %276, i32 noundef %277)
  %278 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %278, ptr %18, align 4, !tbaa !9
  %279 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %279, ptr %19, align 4, !tbaa !9
  %280 = load ptr, ptr %8, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.w2c_hermes, ptr %280, i32 0, i32 6
  %282 = load i32, ptr %19, 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 %19, align 4, !tbaa !9
  %285 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %285, ptr %9, align 4, !tbaa !9
  %286 = load ptr, ptr %8, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.w2c_hermes, ptr %286, i32 0, i32 6
  %288 = load i32, ptr %18, align 4, !tbaa !9
  %289 = zext i32 %288 to i64
  %290 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %287, i64 noundef %289, i32 noundef %290)
  %291 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %291, ptr %18, align 4, !tbaa !9
  %292 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %292, ptr %19, align 4, !tbaa !9
  %293 = load ptr, ptr %8, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.w2c_hermes, ptr %293, i32 0, i32 6
  %295 = load i32, ptr %18, align 4, !tbaa !9
  %296 = zext i32 %295 to i64
  %297 = add i64 %296, 4
  %298 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %294, i64 noundef %297, i32 noundef %298)
  %299 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %299, ptr %18, align 4, !tbaa !9
  %300 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %300, ptr %19, align 4, !tbaa !9
  %301 = load ptr, ptr %8, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.w2c_hermes, ptr %301, i32 0, i32 6
  %303 = load i32, ptr %18, align 4, !tbaa !9
  %304 = zext i32 %303 to i64
  %305 = add i64 %304, 4
  %306 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %302, i64 noundef %305, i32 noundef %306)
  %307 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %307, ptr %18, align 4, !tbaa !9
  %308 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %308, ptr %19, align 4, !tbaa !9
  %309 = load ptr, ptr %8, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.w2c_hermes, ptr %309, i32 0, i32 6
  %311 = load i32, ptr %18, align 4, !tbaa !9
  %312 = zext i32 %311 to i64
  %313 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %310, i64 noundef %312, i32 noundef %313)
  %314 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %314, ptr %18, align 4, !tbaa !9
  %315 = load i32, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, 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 8, 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
  ret i32 %315
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !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: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 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

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

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

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

declare void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateCompareBranchInst0x28hermes0x3A0x3AValue0x2A0x2C0x20hermes0x3A0x3AValue0x2A0x2C0x20hermes0x3A0x3ABinaryOperatorInst0x3A0x3AOpKind0x2C0x20hermes0x3A0x3ABasicBlock0x2A0x2C0x20hermes0x3A0x3ABasicBlock0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #2 {
  %8 = tail call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %0, i32 noundef 84) #3
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %8 to i64
  %11 = add nuw nsw i64 %10, 20
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %11, i64 noundef 8589934592)
  %12 = add nuw nsw i64 %10, 10
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %12, i32 noundef 459775)
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %10, i64 noundef 0)
  %13 = add nuw nsw i64 %10, 68
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %13, i64 noundef 0)
  %14 = add nuw nsw i64 %10, 36
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %14, i32 noundef 0)
  %15 = add nuw nsw i64 %10, 8
  tail call void @i32_store8(ptr noundef nonnull %9, i64 noundef %15, i32 noundef 86)
  %16 = add nuw nsw i64 %10, 80
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %16, i32 noundef %4)
  %17 = add i32 %8, 28
  %18 = add nuw nsw i64 %10, 16
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %18, i32 noundef %17)
  %19 = add nuw nsw i64 %10, 44
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %19, i64 noundef 8589934592)
  %20 = add i32 %8, 52
  %21 = add nuw nsw i64 %10, 40
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %21, i32 noundef %20)
  %22 = add nuw nsw i64 %10, 76
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %22, i32 noundef 0)
  tail call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %0, i32 noundef %8, i32 noundef %2) #3
  tail call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %0, i32 noundef %8, i32 noundef %3) #3
  %23 = add i32 %5, 8
  %.not = icmp eq i32 %5, 0
  %24 = select i1 %.not, i32 0, i32 %23
  tail call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %0, i32 noundef %8, i32 noundef %24) #3
  %25 = add i32 %6, 8
  %.not176 = icmp eq i32 %6, 0
  %26 = select i1 %.not176, i32 0, i32 %25
  tail call void @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3ApushOperand0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %0, i32 noundef %8, i32 noundef %26) #3
  %27 = zext i32 %1 to i64
  %28 = add nuw nsw i64 %27, 8
  %29 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %28)
  %30 = zext i32 %29 to i64
  %31 = add nuw nsw i64 %30, 44
  %32 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %31)
  %33 = zext i32 %32 to i64
  %34 = add nuw nsw i64 %33, 136
  %35 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %34)
  %36 = and i64 %35, 1095216660480
  %.not177 = icmp eq i64 %36, 0
  %37 = add nuw nsw i64 %27, 4
  %38 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %37)
  br i1 %.not177, label %41, label %39

39:                                               ; preds = %7
  %40 = trunc i64 %35 to i32
  br label %48

41:                                               ; preds = %7
  %42 = add i32 %29, 36
  %43 = icmp eq i32 %38, %42
  br i1 %43, label %48, label %44

44:                                               ; preds = %41
  %45 = zext i32 %38 to i64
  %46 = add nuw nsw i64 %45, 76
  %47 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %46)
  br label %48

48:                                               ; preds = %41, %44, %39
  %.0 = phi i32 [ %40, %39 ], [ 0, %41 ], [ %47, %44 ]
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %22, i32 noundef %.0)
  %49 = add nuw nsw i64 %27, 12
  %50 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %49)
  %51 = add nuw nsw i64 %10, 72
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %51, i32 noundef %50)
  %52 = add nuw nsw i64 %27, 16
  %53 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %52)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %14, i32 noundef %29)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %13, i32 noundef %53)
  %54 = zext i32 %38 to i64
  %55 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %54)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %10, i32 noundef %55)
  %56 = add nuw nsw i64 %10, 4
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %56, i32 noundef %38)
  %57 = zext i32 %55 to i64
  %58 = add nuw nsw i64 %57, 4
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %58, i32 noundef %8)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %54, i32 noundef %8)
  ret i32 %8
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass