source_filename = "test"
target datalayout = "e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"

@global_var_30.1 = constant i32 100
@global_var_48.2 = constant i32 0

define i32 @function_0(i32 %arg1) local_unnamed_addr {
dec_label_pc_0:
  %eax.global-to-local = alloca i32, align 4
  %edi.global-to-local = alloca i32, align 4
  %edx.global-to-local = alloca i32, align 4
  %esi.global-to-local = alloca i32, align 4
  %v0_3 = load i32, i32* %eax.global-to-local, align 4
  %v0_4 = load i32, i32* %edx.global-to-local, align 4
  %v0_5 = load i32, i32* %esi.global-to-local, align 4
  %v0_6 = load i32, i32* %edi.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  %v1_a = add i32 %arg1, ptrtoint (i32* @global_var_30.1 to i32)
  %v2_a = inttoptr i32 %v1_a to i32*
  %v3_a = load i32, i32* %v2_a, align 4
  store i32 %v3_a, i32* %edi.global-to-local, align 4
  %v1_d = add i32 %arg1, 208
  %v2_d = inttoptr i32 %v1_d to i32*
  %v3_d = load i32, i32* %v2_d, align 4
  %v4_d = add i32 %v3_d, 1
  store i32 %v4_d, i32* %v2_d, align 4
  %v0_13 = load i32, i32* %esi.global-to-local, align 4
  %v1_13 = add i32 %v0_13, 208
  %v2_13 = inttoptr i32 %v1_13 to i32*
  %v3_13 = load i32, i32* %v2_13, align 4
  store i32 %v3_13, i32* %eax.global-to-local, align 4
  store i32 %v3_13, i32* %edx.global-to-local, align 4
  %v0_1b = load i32, i32* %edi.global-to-local, align 4
  %v1_1b = add i32 %v0_1b, -12
  %v2_1b = inttoptr i32 %v1_1b to i32*
  %v3_1b = load i32, i32* %v2_1b, align 4
  store i32 %v3_1b, i32* %eax.global-to-local, align 4
  %v5_21 = icmp slt i32 %v3_1b, 1
  br i1 %v5_21, label %dec_label_pc_23, label %dec_label_pc_2a

dec_label_pc_23:                                  ; preds = %dec_label_pc_0
  store i32 1, i32* %eax.global-to-local, align 4
  br label %dec_label_pc_34

dec_label_pc_2a:                                  ; preds = %dec_label_pc_0
  %v7_2d = icmp sgt i32 %v3_1b, 100
  br i1 %v7_2d, label %dec_label_pc_2f, label %dec_label_pc_34

dec_label_pc_2f:                                  ; preds = %dec_label_pc_2a
  store i32 100, i32* %eax.global-to-local, align 4
  br label %dec_label_pc_34

dec_label_pc_34:                                  ; preds = %dec_label_pc_2a, %dec_label_pc_2f, %dec_label_pc_23
  %v1_34 = phi i32 [ %v3_1b, %dec_label_pc_2a ], [ 100, %dec_label_pc_2f ], [ 1, %dec_label_pc_23 ]
  %v5_36 = icmp slt i32 %v3_13, %v1_34
  br i1 %v5_36, label %dec_label_pc_3f, label %dec_label_pc_38

dec_label_pc_38:                                  ; preds = %dec_label_pc_34
  %v12_34 = icmp eq i32 %v3_13, %v1_34
  br i1 %v12_34, label %dec_label_pc_84, label %dec_label_pc_8a

dec_label_pc_3f:                                  ; preds = %dec_label_pc_34
  %v1_3f = add i32 %v0_1b, -20
  %v2_3f = inttoptr i32 %v1_3f to i32*
  %v3_3f = load i32, i32* %v2_3f, align 4
  store i32 %v3_3f, i32* %eax.global-to-local, align 4
  br label %dec_label_pc_42

dec_label_pc_42:                                  ; preds = %dec_label_pc_8a, %dec_label_pc_84, %dec_label_pc_3f
  %v0_4e = phi i32 [ %v3_8a, %dec_label_pc_8a ], [ %v3_84, %dec_label_pc_84 ], [ %v3_3f, %dec_label_pc_3f ]
  %v8_42 = icmp slt i32 %v0_4e, 0
  %v2_45 = icmp eq i1 %v8_42, false
  br i1 %v2_45, label %dec_label_pc_4e, label %dec_label_pc_47

dec_label_pc_47:                                  ; preds = %dec_label_pc_42
  store i32 0, i32* %eax.global-to-local, align 4
  br label %dec_label_pc_58

dec_label_pc_4e:                                  ; preds = %dec_label_pc_42
  %v7_51 = icmp sgt i32 %v0_4e, 100
  br i1 %v7_51, label %dec_label_pc_53, label %dec_label_pc_58

dec_label_pc_53:                                  ; preds = %dec_label_pc_4e
  store i32 100, i32* %eax.global-to-local, align 4
  br label %dec_label_pc_58

dec_label_pc_58:                                  ; preds = %dec_label_pc_4e, %dec_label_pc_53, %dec_label_pc_47
  %v0_7a = phi i32 [ %v0_4e, %dec_label_pc_4e ], [ 100, %dec_label_pc_53 ], [ 0, %dec_label_pc_47 ]
  %v1_58 = add i32 %v0_1b, -16
  %v2_58 = inttoptr i32 %v1_58 to i32*
  %v3_58 = load i32, i32* %v2_58, align 4
  store i32 %v3_58, i32* %edi.global-to-local, align 4
  %v5_5e = icmp slt i32 %v3_58, 1
  br i1 %v5_5e, label %dec_label_pc_60, label %dec_label_pc_67

dec_label_pc_60:                                  ; preds = %dec_label_pc_58
  store i32 1, i32* %edi.global-to-local, align 4
  br label %dec_label_pc_71

dec_label_pc_67:                                  ; preds = %dec_label_pc_58
  %v7_6a = icmp sgt i32 %v3_58, 6
  br i1 %v7_6a, label %dec_label_pc_6c, label %dec_label_pc_71

dec_label_pc_6c:                                  ; preds = %dec_label_pc_67
  store i32 6, i32* %edi.global-to-local, align 4
  br label %dec_label_pc_71

dec_label_pc_71:                                  ; preds = %dec_label_pc_67, %dec_label_pc_6c, %dec_label_pc_60
  %v1_71 = phi i32 [ %v3_58, %dec_label_pc_67 ], [ 6, %dec_label_pc_6c ], [ 1, %dec_label_pc_60 ]
  %v2_71 = mul i32 %v1_71, 4
  %v3_71 = add i32 %v0_13, ptrtoint (i32* @global_var_48.2 to i32)
  %v4_71 = add i32 %v3_71, %v2_71
  store i32 %v4_71, i32* %edi.global-to-local, align 4
  %v1_75 = inttoptr i32 %v4_71 to i32*
  %v2_75 = load i32, i32* %v1_75, align 4
  %v10_75 = icmp slt i32 %v2_75, 0
  %v2_78 = icmp eq i1 %v10_75, false
  br i1 %v2_78, label %dec_label_pc_7f, label %dec_label_pc_7a

dec_label_pc_7a:                                  ; preds = %dec_label_pc_71
  %v1_7a = or i32 %v0_7a, -2147483648
  store i32 %v1_7a, i32* %eax.global-to-local, align 4
  br label %dec_label_pc_7f

dec_label_pc_7f:                                  ; preds = %dec_label_pc_7a, %dec_label_pc_71
  %v0_7f = phi i32 [ %v1_7a, %dec_label_pc_7a ], [ %v0_7a, %dec_label_pc_71 ]
  store i32 %v0_7f, i32* %v1_75, align 4
  store i32 %v0_6, i32* %edi.global-to-local, align 4
  store i32 %v0_5, i32* %esi.global-to-local, align 4
  store i32 %v0_4, i32* %edx.global-to-local, align 4
  store i32 %v0_3, i32* %eax.global-to-local, align 4
  ret i32 %v0_3

dec_label_pc_84:                                  ; preds = %dec_label_pc_38
  %v1_84 = add i32 %v0_1b, -24
  %v2_84 = inttoptr i32 %v1_84 to i32*
  %v3_84 = load i32, i32* %v2_84, align 4
  store i32 %v3_84, i32* %eax.global-to-local, align 4
  br label %dec_label_pc_42

dec_label_pc_8a:                                  ; preds = %dec_label_pc_38
  %v1_8a = add i32 %v0_1b, -28
  %v2_8a = inttoptr i32 %v1_8a to i32*
  %v3_8a = load i32, i32* %v2_8a, align 4
  store i32 %v3_8a, i32* %eax.global-to-local, align 4
  br label %dec_label_pc_42
}
