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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3AIRPrinter0x3A0x3AvisitBasicBlock0x28hermes0x3A0x3ABasicBlock0x20const0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) #3 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %14 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %14, ptr %10, align 4, !tbaa !9
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.w2c_hermes, ptr %15, i32 0, i32 6
  %17 = load i32, ptr %10, align 4, !tbaa !9
  %18 = zext i32 %17 to i64
  %19 = add i64 %18, 12
  %20 = call i32 @i32_load(ptr noundef %16, i64 noundef %19)
  store i32 %20, ptr %10, align 4, !tbaa !9
  %21 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %21, ptr %11, align 4, !tbaa !9
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.w2c_hermes, ptr %22, i32 0, i32 6
  %24 = load i32, ptr %11, align 4, !tbaa !9
  %25 = zext i32 %24 to i64
  %26 = add i64 %25, 4
  %27 = call i32 @i32_load(ptr noundef %23, i64 noundef %26)
  store i32 %27, ptr %11, align 4, !tbaa !9
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = load i32, ptr %10, align 4, !tbaa !9
  %30 = load i32, ptr %11, align 4, !tbaa !9
  %31 = call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aindent0x28unsigned0x20int0x29(ptr noundef %28, i32 noundef %29, i32 noundef %30)
  store i32 %31, ptr %10, align 4, !tbaa !9
  %32 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %32, ptr %10, align 4, !tbaa !9
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.w2c_hermes, ptr %33, i32 0, i32 6
  %35 = load i32, ptr %10, align 4, !tbaa !9
  %36 = zext i32 %35 to i64
  %37 = add i64 %36, 12
  %38 = call i32 @i32_load(ptr noundef %34, i64 noundef %37)
  store i32 %38, ptr %10, align 4, !tbaa !9
  %39 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %39, ptr %7, align 4, !tbaa !9
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.w2c_hermes, ptr %40, i32 0, i32 6
  %42 = load i32, ptr %10, align 4, !tbaa !9
  %43 = zext i32 %42 to i64
  %44 = add i64 %43, 8
  %45 = call i32 @i32_load(ptr noundef %41, i64 noundef %44)
  store i32 %45, ptr %10, align 4, !tbaa !9
  %46 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %46, ptr %11, align 4, !tbaa !9
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.w2c_hermes, ptr %47, i32 0, i32 6
  %49 = load i32, ptr %11, align 4, !tbaa !9
  %50 = zext i32 %49 to i64
  %51 = add i64 %50, 12
  %52 = call i32 @i32_load(ptr noundef %48, i64 noundef %51)
  store i32 %52, ptr %11, align 4, !tbaa !9
  %53 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %53, ptr %8, align 4, !tbaa !9
  %54 = load i32, ptr %11, align 4, !tbaa !9
  %55 = load i32, ptr %10, align 4, !tbaa !9
  %56 = sub i32 %55, %54
  store i32 %56, ptr %10, align 4, !tbaa !9
  store i32 2, ptr %11, align 4, !tbaa !9
  %57 = load i32, ptr %10, align 4, !tbaa !9
  %58 = load i32, ptr %11, align 4, !tbaa !9
  %59 = icmp ule i32 %57, %58
  %60 = zext i1 %59 to i32
  store i32 %60, ptr %10, align 4, !tbaa !9
  %61 = load i32, ptr %10, align 4, !tbaa !9
  %62 = icmp ne i32 %61, 0
  br i1 %62, label %63, label %71

63:                                               ; preds = %3
  %64 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %64, ptr %10, align 4, !tbaa !9
  store i32 109832, ptr %11, align 4, !tbaa !9
  store i32 3, ptr %12, align 4, !tbaa !9
  %65 = load ptr, ptr %4, align 8, !tbaa !5
  %66 = load i32, ptr %10, align 4, !tbaa !9
  %67 = load i32, ptr %11, align 4, !tbaa !9
  %68 = load i32, ptr %12, align 4, !tbaa !9
  %69 = call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Awrite0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %65, i32 noundef %66, i32 noundef %67, i32 noundef %68)
  store i32 %69, ptr %10, align 4, !tbaa !9
  %70 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %70, ptr %7, align 4, !tbaa !9
  br label %115

71:                                               ; preds = %3
  %72 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %72, ptr %10, align 4, !tbaa !9
  store i32 109832, ptr %11, align 4, !tbaa !9
  %73 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %73, ptr %9, align 4, !tbaa !9
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.w2c_hermes, ptr %74, i32 0, i32 6
  %76 = load i32, ptr %11, align 4, !tbaa !9
  %77 = zext i32 %76 to i64
  %78 = call i32 @i32_load16_u(ptr noundef %75, i64 noundef %77)
  store i32 %78, ptr %11, align 4, !tbaa !9
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.w2c_hermes, ptr %79, i32 0, i32 6
  %81 = load i32, ptr %10, align 4, !tbaa !9
  %82 = zext i32 %81 to i64
  %83 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %80, i64 noundef %82, i32 noundef %83)
  %84 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %84, ptr %10, align 4, !tbaa !9
  %85 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %85, ptr %11, align 4, !tbaa !9
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.w2c_hermes, ptr %86, i32 0, i32 6
  %88 = load i32, ptr %11, align 4, !tbaa !9
  %89 = zext i32 %88 to i64
  %90 = add i64 %89, 2
  %91 = call i32 @i32_load8_u(ptr noundef %87, i64 noundef %90)
  store i32 %91, ptr %11, align 4, !tbaa !9
  %92 = load ptr, ptr %4, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.w2c_hermes, ptr %92, i32 0, i32 6
  %94 = load i32, ptr %10, align 4, !tbaa !9
  %95 = zext i32 %94 to i64
  %96 = add i64 %95, 2
  %97 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %93, i64 noundef %96, i32 noundef %97)
  %98 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %98, ptr %10, align 4, !tbaa !9
  %99 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %99, ptr %11, align 4, !tbaa !9
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.w2c_hermes, ptr %100, i32 0, i32 6
  %102 = load i32, ptr %11, align 4, !tbaa !9
  %103 = zext i32 %102 to i64
  %104 = add i64 %103, 12
  %105 = call i32 @i32_load(ptr noundef %101, i64 noundef %104)
  store i32 %105, ptr %11, align 4, !tbaa !9
  store i32 3, ptr %12, align 4, !tbaa !9
  %106 = load i32, ptr %12, align 4, !tbaa !9
  %107 = load i32, ptr %11, align 4, !tbaa !9
  %108 = add i32 %107, %106
  store i32 %108, ptr %11, align 4, !tbaa !9
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.w2c_hermes, ptr %109, i32 0, i32 6
  %111 = load i32, ptr %10, align 4, !tbaa !9
  %112 = zext i32 %111 to i64
  %113 = add i64 %112, 12
  %114 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %110, i64 noundef %113, i32 noundef %114)
  br label %115

115:                                              ; preds = %71, %63
  %116 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %116, ptr %10, align 4, !tbaa !9
  %117 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %117, ptr %11, align 4, !tbaa !9
  store i32 36, ptr %12, align 4, !tbaa !9
  %118 = load i32, ptr %12, align 4, !tbaa !9
  %119 = load i32, ptr %11, align 4, !tbaa !9
  %120 = add i32 %119, %118
  store i32 %120, ptr %11, align 4, !tbaa !9
  %121 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %121, ptr %12, align 4, !tbaa !9
  store i32 8, ptr %13, align 4, !tbaa !9
  %122 = load i32, ptr %13, align 4, !tbaa !9
  %123 = load i32, ptr %12, align 4, !tbaa !9
  %124 = add i32 %123, %122
  store i32 %124, ptr %12, align 4, !tbaa !9
  %125 = load ptr, ptr %4, align 8, !tbaa !5
  %126 = load i32, ptr %11, align 4, !tbaa !9
  %127 = load i32, ptr %12, align 4, !tbaa !9
  %128 = call i32 @w2c_hermes_hermes0x3A0x3AInstructionNamer0x3A0x3AgetNumber0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %125, i32 noundef %126, i32 noundef %127)
  store i32 %128, ptr %11, align 4, !tbaa !9
  %129 = load ptr, ptr %4, align 8, !tbaa !5
  %130 = load i32, ptr %10, align 4, !tbaa !9
  %131 = load i32, ptr %11, align 4, !tbaa !9
  %132 = call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28unsigned0x20long0x29(ptr noundef %129, i32 noundef %130, i32 noundef %131)
  store i32 %132, ptr %10, align 4, !tbaa !9
  %133 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %133, ptr %7, align 4, !tbaa !9
  %134 = load ptr, ptr %4, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.w2c_hermes, ptr %134, i32 0, i32 6
  %136 = load i32, ptr %10, align 4, !tbaa !9
  %137 = zext i32 %136 to i64
  %138 = add i64 %137, 8
  %139 = call i32 @i32_load(ptr noundef %135, i64 noundef %138)
  store i32 %139, ptr %10, align 4, !tbaa !9
  %140 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %140, ptr %11, align 4, !tbaa !9
  %141 = load ptr, ptr %4, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.w2c_hermes, ptr %141, i32 0, i32 6
  %143 = load i32, ptr %11, align 4, !tbaa !9
  %144 = zext i32 %143 to i64
  %145 = add i64 %144, 12
  %146 = call i32 @i32_load(ptr noundef %142, i64 noundef %145)
  store i32 %146, ptr %11, align 4, !tbaa !9
  %147 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %147, ptr %8, align 4, !tbaa !9
  %148 = load i32, ptr %11, align 4, !tbaa !9
  %149 = load i32, ptr %10, align 4, !tbaa !9
  %150 = sub i32 %149, %148
  store i32 %150, ptr %10, align 4, !tbaa !9
  store i32 1, ptr %11, align 4, !tbaa !9
  %151 = load i32, ptr %10, align 4, !tbaa !9
  %152 = load i32, ptr %11, align 4, !tbaa !9
  %153 = icmp ule i32 %151, %152
  %154 = zext i1 %153 to i32
  store i32 %154, ptr %10, align 4, !tbaa !9
  %155 = load i32, ptr %10, align 4, !tbaa !9
  %156 = icmp ne i32 %155, 0
  br i1 %156, label %157, label %164

157:                                              ; preds = %115
  %158 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %158, ptr %10, align 4, !tbaa !9
  store i32 212010, ptr %11, align 4, !tbaa !9
  store i32 2, ptr %12, align 4, !tbaa !9
  %159 = load ptr, ptr %4, align 8, !tbaa !5
  %160 = load i32, ptr %10, align 4, !tbaa !9
  %161 = load i32, ptr %11, align 4, !tbaa !9
  %162 = load i32, ptr %12, align 4, !tbaa !9
  %163 = call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Awrite0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %159, i32 noundef %160, i32 noundef %161, i32 noundef %162)
  store i32 %163, ptr %10, align 4, !tbaa !9
  br label %188

164:                                              ; preds = %115
  %165 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %165, ptr %10, align 4, !tbaa !9
  store i32 2618, ptr %11, align 4, !tbaa !9
  %166 = load ptr, ptr %4, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.w2c_hermes, ptr %166, i32 0, i32 6
  %168 = load i32, ptr %10, align 4, !tbaa !9
  %169 = zext i32 %168 to i64
  %170 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %167, i64 noundef %169, i32 noundef %170)
  %171 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %171, ptr %10, align 4, !tbaa !9
  %172 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %172, ptr %11, align 4, !tbaa !9
  %173 = load ptr, ptr %4, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.w2c_hermes, ptr %173, i32 0, i32 6
  %175 = load i32, ptr %11, align 4, !tbaa !9
  %176 = zext i32 %175 to i64
  %177 = add i64 %176, 12
  %178 = call i32 @i32_load(ptr noundef %174, i64 noundef %177)
  store i32 %178, ptr %11, align 4, !tbaa !9
  store i32 2, ptr %12, align 4, !tbaa !9
  %179 = load i32, ptr %12, align 4, !tbaa !9
  %180 = load i32, ptr %11, align 4, !tbaa !9
  %181 = add i32 %180, %179
  store i32 %181, ptr %11, align 4, !tbaa !9
  %182 = load ptr, ptr %4, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.w2c_hermes, ptr %182, i32 0, i32 6
  %184 = load i32, ptr %10, align 4, !tbaa !9
  %185 = zext i32 %184 to i64
  %186 = add i64 %185, 12
  %187 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %183, i64 noundef %186, i32 noundef %187)
  br label %188

188:                                              ; preds = %164, %157
  %189 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %189, ptr %10, align 4, !tbaa !9
  %190 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %190, ptr %11, align 4, !tbaa !9
  %191 = load ptr, ptr %4, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.w2c_hermes, ptr %191, i32 0, i32 6
  %193 = load i32, ptr %11, align 4, !tbaa !9
  %194 = zext i32 %193 to i64
  %195 = add i64 %194, 4
  %196 = call i32 @i32_load(ptr noundef %192, i64 noundef %195)
  store i32 %196, ptr %11, align 4, !tbaa !9
  %197 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %197, ptr %8, align 4, !tbaa !9
  store i32 2, ptr %12, align 4, !tbaa !9
  %198 = load i32, ptr %12, align 4, !tbaa !9
  %199 = load i32, ptr %11, align 4, !tbaa !9
  %200 = add i32 %199, %198
  store i32 %200, ptr %11, align 4, !tbaa !9
  %201 = load ptr, ptr %4, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.w2c_hermes, ptr %201, i32 0, i32 6
  %203 = load i32, ptr %10, align 4, !tbaa !9
  %204 = zext i32 %203 to i64
  %205 = add i64 %204, 4
  %206 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %202, i64 noundef %205, i32 noundef %206)
  %207 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %207, ptr %10, align 4, !tbaa !9
  %208 = load ptr, ptr %4, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.w2c_hermes, ptr %208, i32 0, i32 6
  %210 = load i32, ptr %10, align 4, !tbaa !9
  %211 = zext i32 %210 to i64
  %212 = add i64 %211, 40
  %213 = call i32 @i32_load(ptr noundef %209, i64 noundef %212)
  store i32 %213, ptr %10, align 4, !tbaa !9
  %214 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %214, ptr %7, align 4, !tbaa !9
  %215 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %215, ptr %11, align 4, !tbaa !9
  store i32 36, ptr %12, align 4, !tbaa !9
  %216 = load i32, ptr %12, align 4, !tbaa !9
  %217 = load i32, ptr %11, align 4, !tbaa !9
  %218 = add i32 %217, %216
  store i32 %218, ptr %11, align 4, !tbaa !9
  %219 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %219, ptr %6, align 4, !tbaa !9
  %220 = load i32, ptr %10, align 4, !tbaa !9
  %221 = load i32, ptr %11, align 4, !tbaa !9
  %222 = icmp ne i32 %220, %221
  %223 = zext i1 %222 to i32
  store i32 %223, ptr %10, align 4, !tbaa !9
  %224 = load i32, ptr %10, align 4, !tbaa !9
  %225 = icmp ne i32 %224, 0
  br i1 %225, label %226, label %264

226:                                              ; preds = %188
  br label %227

227:                                              ; preds = %251, %226
  %228 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %228, ptr %10, align 4, !tbaa !9
  %229 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %229, ptr %11, align 4, !tbaa !9
  store i32 8, ptr %12, align 4, !tbaa !9
  %230 = load i32, ptr %12, align 4, !tbaa !9
  %231 = load i32, ptr %11, align 4, !tbaa !9
  %232 = add i32 %231, %230
  store i32 %232, ptr %11, align 4, !tbaa !9
  %233 = load ptr, ptr %4, align 8, !tbaa !5
  %234 = load i32, ptr %10, align 4, !tbaa !9
  %235 = load i32, ptr %11, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AIRVisitor0x3Chermes0x3A0x3AIRPrinter0x2C0x20void0x3E0x3A0x3Avisit0x28hermes0x3A0x3AValue0x20const0x260x29(ptr noundef %233, i32 noundef %234, i32 noundef %235)
  %236 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %236, ptr %10, align 4, !tbaa !9
  %237 = load ptr, ptr %4, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.w2c_hermes, ptr %237, i32 0, i32 6
  %239 = load i32, ptr %10, align 4, !tbaa !9
  %240 = zext i32 %239 to i64
  %241 = add i64 %240, 4
  %242 = call i32 @i32_load(ptr noundef %238, i64 noundef %241)
  store i32 %242, ptr %10, align 4, !tbaa !9
  %243 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %243, ptr %7, align 4, !tbaa !9
  %244 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %244, ptr %11, align 4, !tbaa !9
  %245 = load i32, ptr %10, align 4, !tbaa !9
  %246 = load i32, ptr %11, align 4, !tbaa !9
  %247 = icmp ne i32 %245, %246
  %248 = zext i1 %247 to i32
  store i32 %248, ptr %10, align 4, !tbaa !9
  %249 = load i32, ptr %10, align 4, !tbaa !9
  %250 = icmp ne i32 %249, 0
  br i1 %250, label %251, label %252

251:                                              ; preds = %227
  br label %227

252:                                              ; preds = %227
  %253 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %253, ptr %10, align 4, !tbaa !9
  %254 = load ptr, ptr %4, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.w2c_hermes, ptr %254, i32 0, i32 6
  %256 = load i32, ptr %10, align 4, !tbaa !9
  %257 = zext i32 %256 to i64
  %258 = add i64 %257, 4
  %259 = call i32 @i32_load(ptr noundef %255, i64 noundef %258)
  store i32 %259, ptr %10, align 4, !tbaa !9
  store i32 2, ptr %11, align 4, !tbaa !9
  %260 = load i32, ptr %11, align 4, !tbaa !9
  %261 = load i32, ptr %10, align 4, !tbaa !9
  %262 = sub i32 %261, %260
  store i32 %262, ptr %10, align 4, !tbaa !9
  %263 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %263, ptr %8, align 4, !tbaa !9
  br label %264

264:                                              ; preds = %252, %188
  %265 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %265, ptr %10, align 4, !tbaa !9
  %266 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %266, ptr %11, align 4, !tbaa !9
  %267 = load ptr, ptr %4, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.w2c_hermes, ptr %267, i32 0, i32 6
  %269 = load i32, ptr %10, align 4, !tbaa !9
  %270 = zext i32 %269 to i64
  %271 = add i64 %270, 4
  %272 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %268, i64 noundef %271, i32 noundef %272)
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  ret void
}

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


; 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_store16(ptr noundef, i64 noundef, i32 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 i32 @i32_load8_u(ptr 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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3AIRPrinter0x3A0x3AvisitBasicBlock0x28hermes0x3A0x3ABasicBlock0x20const0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 {
  %4 = getelementptr inbounds i8, ptr %0, i64 40
  %5 = zext i32 %1 to i64
  %6 = add nuw nsw i64 %5, 12
  %7 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %6)
  %8 = add nuw nsw i64 %5, 4
  %9 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %8)
  %10 = tail call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aindent0x28unsigned0x20int0x29(ptr noundef %0, i32 noundef %7, i32 noundef %9) #3
  %11 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %6)
  %12 = zext i32 %11 to i64
  %13 = add nuw nsw i64 %12, 8
  %14 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %13)
  %15 = add nuw nsw i64 %12, 12
  %16 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %15)
  %17 = sub i32 %14, %16
  %18 = icmp ult i32 %17, 3
  br i1 %18, label %19, label %21

19:                                               ; preds = %3
  %20 = tail call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Awrite0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %0, i32 noundef %11, i32 noundef 109832, i32 noundef 3) #3
  br label %28

21:                                               ; preds = %3
  %22 = tail call i32 @i32_load16_u(ptr noundef nonnull %4, i64 noundef 109832)
  %23 = zext i32 %16 to i64
  tail call void @i32_store16(ptr noundef nonnull %4, i64 noundef %23, i32 noundef %22)
  %24 = tail call i32 @i32_load8_u(ptr noundef nonnull %4, i64 noundef 109834)
  %25 = add nuw nsw i64 %23, 2
  tail call void @i32_store8(ptr noundef nonnull %4, i64 noundef %25, i32 noundef %24)
  %26 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %15)
  %27 = add i32 %26, 3
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %15, i32 noundef %27)
  br label %28

28:                                               ; preds = %21, %19
  %.0142 = phi i32 [ %20, %19 ], [ %11, %21 ]
  %29 = add i32 %1, 36
  %30 = add i32 %2, 8
  %31 = tail call i32 @w2c_hermes_hermes0x3A0x3AInstructionNamer0x3A0x3AgetNumber0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %0, i32 noundef %29, i32 noundef %30)
  %32 = tail call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28unsigned0x20long0x29(ptr noundef %0, i32 noundef %.0142, i32 noundef %31) #3
  %33 = zext i32 %32 to i64
  %34 = add nuw nsw i64 %33, 8
  %35 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %34)
  %36 = add nuw nsw i64 %33, 12
  %37 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %36)
  %38 = sub i32 %35, %37
  %39 = icmp ult i32 %38, 2
  br i1 %39, label %40, label %42

40:                                               ; preds = %28
  %41 = tail call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Awrite0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %0, i32 noundef %32, i32 noundef 212010, i32 noundef 2) #3
  br label %46

42:                                               ; preds = %28
  %43 = zext i32 %37 to i64
  tail call void @i32_store16(ptr noundef nonnull %4, i64 noundef %43, i32 noundef 2618)
  %44 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %36)
  %45 = add i32 %44, 2
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %36, i32 noundef %45)
  br label %46

46:                                               ; preds = %42, %40
  %47 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %8)
  %48 = add i32 %47, 2
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %8, i32 noundef %48)
  %49 = zext i32 %2 to i64
  %50 = add nuw nsw i64 %49, 40
  %51 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %50)
  %52 = add i32 %2, 36
  %.not = icmp eq i32 %51, %52
  br i1 %.not, label %60, label %.preheader

.preheader:                                       ; preds = %46, %.preheader
  %.1 = phi i32 [ %56, %.preheader ], [ %51, %46 ]
  %53 = add i32 %.1, 8
  tail call void @w2c_hermes_hermes0x3A0x3AIRVisitor0x3Chermes0x3A0x3AIRPrinter0x2C0x20void0x3E0x3A0x3Avisit0x28hermes0x3A0x3AValue0x20const0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %53)
  %54 = zext i32 %.1 to i64
  %55 = add nuw nsw i64 %54, 4
  %56 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %55)
  %.not144 = icmp eq i32 %56, %52
  br i1 %.not144, label %57, label %.preheader

57:                                               ; preds = %.preheader
  %58 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %8)
  %59 = add i32 %58, -2
  br label %60

60:                                               ; preds = %57, %46
  %.0 = phi i32 [ %59, %57 ], [ %47, %46 ]
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %8, i32 noundef %.0)
  ret void
}

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,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass