#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int FS460_set_blender_bypass(int /*<<< orphan*/);
int FS460_set_brightness(int);
int FS460_set_channel_mux(int, int);
int FS460_set_color(int);
int FS460_set_contrast(int);
int FS460_set_flicker_filter(int);
int FS460_set_input_mux(int, int);
int FS460_set_sharpness(int);
int FS460_set_sync_invert(int /*<<< orphan*/, int /*<<< orphan*/,
                          int /*<<< orphan*/);
int FS460_set_sync_mode(int, int);
int FS460_set_tv_on(int /*<<< orphan*/);
int FS460_set_tv_standard(int);
int FS460_set_tvout_mode(int);
int FS460_set_vga_mode(int);
int FS460_set_vga_position(int /*<<< orphan*/, int /*<<< orphan*/, int, int);
int FS460_set_yc_filter(int);
int init_blender();
int init_special();
int set_defaults(void) {
  int err;
  err = FS460_set_tv_on(0);
  if (err)
    return err;
  err = init_special();
  if (err)
    return err;
  err = FS460_set_tv_standard(0x0001);
  if (err)
    return err;
  err = FS460_set_vga_mode(0x0002);
  if (err)
    return err;
  err = FS460_set_tvout_mode(1);
  if (err)
    return err;
  err = FS460_set_sharpness(1000);
  if (err)
    return err;
  err = FS460_set_flicker_filter(800);
  if (err)
    return err;
  err = FS460_set_vga_position(0, 0, 720, 480);
  if (err)
    return err;
  err = FS460_set_color(50);
  if (err)
    return err;
  err = FS460_set_brightness(50);
  if (err)
    return err;
  err = FS460_set_contrast(50);
  if (err)
    return err;
  err = FS460_set_yc_filter(0x0001 | 0x0002);
  if (err)
    return err;
  err = FS460_set_sync_mode(1, 2);
  if (err)
    return err;
  err = FS460_set_sync_mode(3, 2);
  if (err)
    return err;
  err = FS460_set_sync_invert(0, 0, 0);
  err = FS460_set_input_mux(1, 1);
  if (err)
    return err;
  err = FS460_set_input_mux(3, 2);
  if (err)
    return err;
  err = FS460_set_blender_bypass(0);
  err = FS460_set_channel_mux(1, 1);
  if (err)
    return err;
  err = FS460_set_channel_mux(2, 4);
  if (err)
    return err;
  err = FS460_set_channel_mux(3, 3);
  if (err)
    return err;
  err = init_blender();
  if (err)
    return err;
  return 0;
}


x86 assembly (clang, -O0):
<set_defaults>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
xor    %edi,%edi
call   10b0 <FS460_set_tv_on@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     1247 <set_defaults+0x27>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1509 <set_defaults+0x2e9>
mov    $0x0,%al
call   10f0 <init_special@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     1266 <set_defaults+0x46>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1509 <set_defaults+0x2e9>
mov    $0x1,%edi
call   1120 <FS460_set_tv_standard@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     1288 <set_defaults+0x68>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1509 <set_defaults+0x2e9>
mov    $0x2,%edi
call   1090 <FS460_set_vga_mode@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     12aa <set_defaults+0x8a>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1509 <set_defaults+0x2e9>
mov    $0x1,%edi
call   1080 <FS460_set_tvout_mode@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     12cc <set_defaults+0xac>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1509 <set_defaults+0x2e9>
mov    $0x3e8,%edi
call   1060 <FS460_set_sharpness@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     12ee <set_defaults+0xce>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1509 <set_defaults+0x2e9>
mov    $0x320,%edi
call   1100 <FS460_set_flicker_filter@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     1310 <set_defaults+0xf0>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1509 <set_defaults+0x2e9>
xor    %esi,%esi
mov    $0x2d0,%edx
mov    $0x1e0,%ecx
mov    %esi,%edi
call   10e0 <FS460_set_vga_position@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     133b <set_defaults+0x11b>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1509 <set_defaults+0x2e9>
mov    $0x32,%edi
call   10c0 <FS460_set_color@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     135d <set_defaults+0x13d>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1509 <set_defaults+0x2e9>
mov    $0x32,%edi
call   1130 <FS460_set_brightness@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     137f <set_defaults+0x15f>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1509 <set_defaults+0x2e9>
mov    $0x32,%edi
call   1070 <FS460_set_contrast@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     13a1 <set_defaults+0x181>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1509 <set_defaults+0x2e9>
mov    $0x3,%edi
call   1050 <FS460_set_yc_filter@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     13c3 <set_defaults+0x1a3>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1509 <set_defaults+0x2e9>
mov    $0x1,%edi
mov    $0x2,%esi
call   1040 <FS460_set_sync_mode@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     13ea <set_defaults+0x1ca>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1509 <set_defaults+0x2e9>
mov    $0x3,%edi
mov    $0x2,%esi
call   1040 <FS460_set_sync_mode@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     1411 <set_defaults+0x1f1>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1509 <set_defaults+0x2e9>
xor    %edx,%edx
mov    %edx,%edi
mov    %edx,%esi
call   1140 <FS460_set_sync_invert@plt>
mov    %eax,-0x8(%rbp)
mov    $0x1,%esi
mov    %esi,%edi
call   10d0 <FS460_set_input_mux@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     1443 <set_defaults+0x223>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1509 <set_defaults+0x2e9>
mov    $0x3,%edi
mov    $0x2,%esi
call   10d0 <FS460_set_input_mux@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     146a <set_defaults+0x24a>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1509 <set_defaults+0x2e9>
xor    %edi,%edi
call   10a0 <FS460_set_blender_bypass@plt>
mov    %eax,-0x8(%rbp)
mov    $0x1,%esi
mov    %esi,%edi
call   1110 <FS460_set_channel_mux@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     1498 <set_defaults+0x278>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1509 <set_defaults+0x2e9>
mov    $0x2,%edi
mov    $0x4,%esi
call   1110 <FS460_set_channel_mux@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     14bf <set_defaults+0x29f>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1509 <set_defaults+0x2e9>
mov    $0x3,%esi
mov    %esi,%edi
call   1110 <FS460_set_channel_mux@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     14e3 <set_defaults+0x2c3>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1509 <set_defaults+0x2e9>
mov    $0x0,%al
call   1030 <init_blender@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     1502 <set_defaults+0x2e2>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1509 <set_defaults+0x2e9>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<set_defaults>:
push   %rax
xor    %edi,%edi
call   10b0 <FS460_set_tv_on@plt>
test   %eax,%eax
jne    1397 <set_defaults+0x177>
xor    %eax,%eax
call   10f0 <init_special@plt>
test   %eax,%eax
jne    1397 <set_defaults+0x177>
mov    $0x1,%edi
call   1120 <FS460_set_tv_standard@plt>
test   %eax,%eax
jne    1397 <set_defaults+0x177>
mov    $0x2,%edi
call   1090 <FS460_set_vga_mode@plt>
test   %eax,%eax
jne    1397 <set_defaults+0x177>
mov    $0x1,%edi
call   1080 <FS460_set_tvout_mode@plt>
test   %eax,%eax
jne    1397 <set_defaults+0x177>
mov    $0x3e8,%edi
call   1060 <FS460_set_sharpness@plt>
test   %eax,%eax
jne    1397 <set_defaults+0x177>
mov    $0x320,%edi
call   1100 <FS460_set_flicker_filter@plt>
test   %eax,%eax
jne    1397 <set_defaults+0x177>
xor    %edi,%edi
xor    %esi,%esi
mov    $0x2d0,%edx
mov    $0x1e0,%ecx
call   10e0 <FS460_set_vga_position@plt>
test   %eax,%eax
jne    1397 <set_defaults+0x177>
mov    $0x32,%edi
call   10c0 <FS460_set_color@plt>
test   %eax,%eax
jne    1397 <set_defaults+0x177>
mov    $0x32,%edi
call   1130 <FS460_set_brightness@plt>
test   %eax,%eax
jne    1397 <set_defaults+0x177>
mov    $0x32,%edi
call   1070 <FS460_set_contrast@plt>
test   %eax,%eax
jne    1397 <set_defaults+0x177>
mov    $0x3,%edi
call   1050 <FS460_set_yc_filter@plt>
test   %eax,%eax
jne    1397 <set_defaults+0x177>
mov    $0x1,%edi
mov    $0x2,%esi
call   1040 <FS460_set_sync_mode@plt>
test   %eax,%eax
jne    1397 <set_defaults+0x177>
mov    $0x3,%edi
mov    $0x2,%esi
call   1040 <FS460_set_sync_mode@plt>
test   %eax,%eax
jne    1397 <set_defaults+0x177>
xor    %edi,%edi
xor    %esi,%esi
xor    %edx,%edx
call   1140 <FS460_set_sync_invert@plt>
mov    $0x1,%edi
mov    $0x1,%esi
call   10d0 <FS460_set_input_mux@plt>
test   %eax,%eax
jne    1397 <set_defaults+0x177>
mov    $0x3,%edi
mov    $0x2,%esi
call   10d0 <FS460_set_input_mux@plt>
test   %eax,%eax
jne    1397 <set_defaults+0x177>
xor    %edi,%edi
call   10a0 <FS460_set_blender_bypass@plt>
mov    $0x1,%edi
mov    $0x1,%esi
call   1110 <FS460_set_channel_mux@plt>
test   %eax,%eax
jne    1397 <set_defaults+0x177>
mov    $0x2,%edi
mov    $0x4,%esi
call   1110 <FS460_set_channel_mux@plt>
test   %eax,%eax
jne    1397 <set_defaults+0x177>
mov    $0x3,%edi
mov    $0x3,%esi
call   1110 <FS460_set_channel_mux@plt>
test   %eax,%eax
je     1399 <set_defaults+0x179>
pop    %rcx
ret
xor    %eax,%eax
pop    %rcx
jmp    1030 <init_blender@plt>

LLVM IR (-O0):
define i32 @set_defaults() {
%1 = alloca i32
%2 = alloca i32
%3 = call i32 @FS460_set_tv_on(i32 0)
store i32 %3, i32* %2
%4 = load i32, i32* %2
%5 = icmp ne i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = load i32, i32* %2
store i32 %7, i32* %1
br label %125
8: ; preds = %0
%9 = call i32 (...) @init_special()
store i32 %9, i32* %2
%10 = load i32, i32* %2
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = load i32, i32* %2
store i32 %13, i32* %1
br label %125
14: ; preds = %8
%15 = call i32 @FS460_set_tv_standard(i32 1)
store i32 %15, i32* %2
%16 = load i32, i32* %2
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = load i32, i32* %2
store i32 %19, i32* %1
br label %125
20: ; preds = %14
%21 = call i32 @FS460_set_vga_mode(i32 2)
store i32 %21, i32* %2
%22 = load i32, i32* %2
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = load i32, i32* %2
store i32 %25, i32* %1
br label %125
26: ; preds = %20
%27 = call i32 @FS460_set_tvout_mode(i32 1)
store i32 %27, i32* %2
%28 = load i32, i32* %2
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %26
%31 = load i32, i32* %2
store i32 %31, i32* %1
br label %125
32: ; preds = %26
%33 = call i32 @FS460_set_sharpness(i32 1000)
store i32 %33, i32* %2
%34 = load i32, i32* %2
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %32
%37 = load i32, i32* %2
store i32 %37, i32* %1
br label %125
38: ; preds = %32
%39 = call i32 @FS460_set_flicker_filter(i32 800)
store i32 %39, i32* %2
%40 = load i32, i32* %2
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %38
%43 = load i32, i32* %2
store i32 %43, i32* %1
br label %125
44: ; preds = %38
%45 = call i32 @FS460_set_vga_position(i32 0, i32 0, i32 720, i32 480)
store i32 %45, i32* %2
%46 = load i32, i32* %2
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = load i32, i32* %2
store i32 %49, i32* %1
br label %125
50: ; preds = %44
%51 = call i32 @FS460_set_color(i32 50)
store i32 %51, i32* %2
%52 = load i32, i32* %2
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %50
%55 = load i32, i32* %2
store i32 %55, i32* %1
br label %125
56: ; preds = %50
%57 = call i32 @FS460_set_brightness(i32 50)
store i32 %57, i32* %2
%58 = load i32, i32* %2
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %62
60: ; preds = %56
%61 = load i32, i32* %2
store i32 %61, i32* %1
br label %125
62: ; preds = %56
%63 = call i32 @FS460_set_contrast(i32 50)
store i32 %63, i32* %2
%64 = load i32, i32* %2
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %68
66: ; preds = %62
%67 = load i32, i32* %2
store i32 %67, i32* %1
br label %125
68: ; preds = %62
%69 = call i32 @FS460_set_yc_filter(i32 3)
store i32 %69, i32* %2
%70 = load i32, i32* %2
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %74
72: ; preds = %68
%73 = load i32, i32* %2
store i32 %73, i32* %1
br label %125
74: ; preds = %68
%75 = call i32 @FS460_set_sync_mode(i32 1, i32 2)
store i32 %75, i32* %2
%76 = load i32, i32* %2
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %80
78: ; preds = %74
%79 = load i32, i32* %2
store i32 %79, i32* %1
br label %125
80: ; preds = %74
%81 = call i32 @FS460_set_sync_mode(i32 3, i32 2)
store i32 %81, i32* %2
%82 = load i32, i32* %2
%83 = icmp ne i32 %82, 0
br i1 %83, label %84, label %86
84: ; preds = %80
%85 = load i32, i32* %2
store i32 %85, i32* %1
br label %125
86: ; preds = %80
%87 = call i32 @FS460_set_sync_invert(i32 0, i32 0, i32 0)
store i32 %87, i32* %2
%88 = call i32 @FS460_set_input_mux(i32 1, i32 1)
store i32 %88, i32* %2
%89 = load i32, i32* %2
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %93
91: ; preds = %86
%92 = load i32, i32* %2
store i32 %92, i32* %1
br label %125
93: ; preds = %86
%94 = call i32 @FS460_set_input_mux(i32 3, i32 2)
store i32 %94, i32* %2
%95 = load i32, i32* %2
%96 = icmp ne i32 %95, 0
br i1 %96, label %97, label %99
97: ; preds = %93
%98 = load i32, i32* %2
store i32 %98, i32* %1
br label %125
99: ; preds = %93
%100 = call i32 @FS460_set_blender_bypass(i32 0)
store i32 %100, i32* %2
%101 = call i32 @FS460_set_channel_mux(i32 1, i32 1)
store i32 %101, i32* %2
%102 = load i32, i32* %2
%103 = icmp ne i32 %102, 0
br i1 %103, label %104, label %106
104: ; preds = %99
%105 = load i32, i32* %2
store i32 %105, i32* %1
br label %125
106: ; preds = %99
%107 = call i32 @FS460_set_channel_mux(i32 2, i32 4)
store i32 %107, i32* %2
%108 = load i32, i32* %2
%109 = icmp ne i32 %108, 0
br i1 %109, label %110, label %112
110: ; preds = %106
%111 = load i32, i32* %2
store i32 %111, i32* %1
br label %125
112: ; preds = %106
%113 = call i32 @FS460_set_channel_mux(i32 3, i32 3)
store i32 %113, i32* %2
%114 = load i32, i32* %2
%115 = icmp ne i32 %114, 0
br i1 %115, label %116, label %118
116: ; preds = %112
%117 = load i32, i32* %2
store i32 %117, i32* %1
br label %125
118: ; preds = %112
%119 = call i32 (...) @init_blender()
store i32 %119, i32* %2
%120 = load i32, i32* %2
%121 = icmp ne i32 %120, 0
br i1 %121, label %122, label %124
122: ; preds = %118
%123 = load i32, i32* %2
store i32 %123, i32* %1
br label %125
124: ; preds = %118
store i32 0, i32* %1
br label %125
125: ; preds = %124, %122, %116, %110, %104, %97, %91, %84, %78, %72, %66, %60, %54, %48, %42, %36, %30, %24, %18, %12, %6
%126 = load i32, i32* %1
ret i32 %126
}

LLVM IR (-O2):
define i32 @set_defaults() {
%1 = tail call i32 @FS460_set_tv_on(i32 0)
%2 = icmp eq i32 %1, 0
br i1 %2, label %3, label %61
3: ; preds = %0
%4 = tail call i32 (...) @init_special()
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %61
6: ; preds = %3
%7 = tail call i32 @FS460_set_tv_standard(i32 1)
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %61
9: ; preds = %6
%10 = tail call i32 @FS460_set_vga_mode(i32 2)
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %61
12: ; preds = %9
%13 = tail call i32 @FS460_set_tvout_mode(i32 1)
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %61
15: ; preds = %12
%16 = tail call i32 @FS460_set_sharpness(i32 1000)
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %61
18: ; preds = %15
%19 = tail call i32 @FS460_set_flicker_filter(i32 800)
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %61
21: ; preds = %18
%22 = tail call i32 @FS460_set_vga_position(i32 0, i32 0, i32 720, i32 480)
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %61
24: ; preds = %21
%25 = tail call i32 @FS460_set_color(i32 50)
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %61
27: ; preds = %24
%28 = tail call i32 @FS460_set_brightness(i32 50)
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %61
30: ; preds = %27
%31 = tail call i32 @FS460_set_contrast(i32 50)
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %61
33: ; preds = %30
%34 = tail call i32 @FS460_set_yc_filter(i32 3)
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %61
36: ; preds = %33
%37 = tail call i32 @FS460_set_sync_mode(i32 1, i32 2)
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %61
39: ; preds = %36
%40 = tail call i32 @FS460_set_sync_mode(i32 3, i32 2)
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %61
42: ; preds = %39
%43 = tail call i32 @FS460_set_sync_invert(i32 0, i32 0, i32 0)
%44 = tail call i32 @FS460_set_input_mux(i32 1, i32 1)
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %61
46: ; preds = %42
%47 = tail call i32 @FS460_set_input_mux(i32 3, i32 2)
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %61
49: ; preds = %46
%50 = tail call i32 @FS460_set_blender_bypass(i32 0)
%51 = tail call i32 @FS460_set_channel_mux(i32 1, i32 1)
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %61
53: ; preds = %49
%54 = tail call i32 @FS460_set_channel_mux(i32 2, i32 4)
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %61
56: ; preds = %53
%57 = tail call i32 @FS460_set_channel_mux(i32 3, i32 3)
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %61
59: ; preds = %56
%60 = tail call i32 (...) @init_blender()
br label %61
61: ; preds = %59, %56, %53, %49, %46, %42, %39, %36, %33, %30, %27, %24, %21, %18, %15, %12, %9, %6, %3, %0
%62 = phi i32 [ %1, %0 ], [ %4, %3 ], [ %7, %6 ], [ %10, %9 ], [ %13, %12 ], [ %16, %15 ], [ %19, %18 ], [ %22, %21 ], [ %25, %24 ], [ %28, %27 ], [ %31, %30 ], [ %34, %33 ], [ %37, %36 ], [ %40, %39 ], [ %44, %42 ], [ %47, %46 ], [ %51, %49 ], [ %54, %53 ], [ %57, %56 ], [ %60, %59 ]
ret i32 %62
}