#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 /*<<< orphan*/ gpio_configure_dir(int, int);
int /*<<< orphan*/ gpio_export(int);
int initialize_all_gpios(void) {
  gpio_export(66);
  gpio_export(67);
  gpio_export(69);
  gpio_export(68);
  gpio_export(45);
  gpio_export(44);
  gpio_export(26);
  gpio_configure_dir(66, 1);
  gpio_configure_dir(67, 1);
  gpio_configure_dir(69, 1);
  gpio_configure_dir(68, 1);
  gpio_configure_dir(45, 1);
  gpio_configure_dir(44, 1);
  gpio_configure_dir(26, 1);
  return 0;
}


x86 assembly (clang, -O0):
<initialize_all_gpios>:
push   %rbp
mov    %rsp,%rbp
mov    $0x42,%edi
call   1030 <gpio_export@plt>
mov    $0x43,%edi
call   1030 <gpio_export@plt>
mov    $0x45,%edi
call   1030 <gpio_export@plt>
mov    $0x44,%edi
call   1030 <gpio_export@plt>
mov    $0x2d,%edi
call   1030 <gpio_export@plt>
mov    $0x2c,%edi
call   1030 <gpio_export@plt>
mov    $0x1a,%edi
call   1030 <gpio_export@plt>
mov    $0x42,%edi
mov    $0x1,%esi
call   1040 <gpio_configure_dir@plt>
mov    $0x43,%edi
mov    $0x1,%esi
call   1040 <gpio_configure_dir@plt>
mov    $0x45,%edi
mov    $0x1,%esi
call   1040 <gpio_configure_dir@plt>
mov    $0x44,%edi
mov    $0x1,%esi
call   1040 <gpio_configure_dir@plt>
mov    $0x2d,%edi
mov    $0x1,%esi
call   1040 <gpio_configure_dir@plt>
mov    $0x2c,%edi
mov    $0x1,%esi
call   1040 <gpio_configure_dir@plt>
mov    $0x1a,%edi
mov    $0x1,%esi
call   1040 <gpio_configure_dir@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<initialize_all_gpios>:
push   %rax
mov    $0x42,%edi
call   1030 <gpio_export@plt>
mov    $0x43,%edi
call   1030 <gpio_export@plt>
mov    $0x45,%edi
call   1030 <gpio_export@plt>
mov    $0x44,%edi
call   1030 <gpio_export@plt>
mov    $0x2d,%edi
call   1030 <gpio_export@plt>
mov    $0x2c,%edi
call   1030 <gpio_export@plt>
mov    $0x1a,%edi
call   1030 <gpio_export@plt>
mov    $0x42,%edi
mov    $0x1,%esi
call   1040 <gpio_configure_dir@plt>
mov    $0x43,%edi
mov    $0x1,%esi
call   1040 <gpio_configure_dir@plt>
mov    $0x45,%edi
mov    $0x1,%esi
call   1040 <gpio_configure_dir@plt>
mov    $0x44,%edi
mov    $0x1,%esi
call   1040 <gpio_configure_dir@plt>
mov    $0x2d,%edi
mov    $0x1,%esi
call   1040 <gpio_configure_dir@plt>
mov    $0x2c,%edi
mov    $0x1,%esi
call   1040 <gpio_configure_dir@plt>
mov    $0x1a,%edi
mov    $0x1,%esi
call   1040 <gpio_configure_dir@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @initialize_all_gpios() {
%1 = call i32 @gpio_export(i32 66)
%2 = call i32 @gpio_export(i32 67)
%3 = call i32 @gpio_export(i32 69)
%4 = call i32 @gpio_export(i32 68)
%5 = call i32 @gpio_export(i32 45)
%6 = call i32 @gpio_export(i32 44)
%7 = call i32 @gpio_export(i32 26)
%8 = call i32 @gpio_configure_dir(i32 66, i32 1)
%9 = call i32 @gpio_configure_dir(i32 67, i32 1)
%10 = call i32 @gpio_configure_dir(i32 69, i32 1)
%11 = call i32 @gpio_configure_dir(i32 68, i32 1)
%12 = call i32 @gpio_configure_dir(i32 45, i32 1)
%13 = call i32 @gpio_configure_dir(i32 44, i32 1)
%14 = call i32 @gpio_configure_dir(i32 26, i32 1)
ret i32 0
}

LLVM IR (-O2):
define i32 @initialize_all_gpios() {
%1 = tail call i32 @gpio_export(i32 66)
%2 = tail call i32 @gpio_export(i32 67)
%3 = tail call i32 @gpio_export(i32 69)
%4 = tail call i32 @gpio_export(i32 68)
%5 = tail call i32 @gpio_export(i32 45)
%6 = tail call i32 @gpio_export(i32 44)
%7 = tail call i32 @gpio_export(i32 26)
%8 = tail call i32 @gpio_configure_dir(i32 66, i32 1)
%9 = tail call i32 @gpio_configure_dir(i32 67, i32 1)
%10 = tail call i32 @gpio_configure_dir(i32 69, i32 1)
%11 = tail call i32 @gpio_configure_dir(i32 68, i32 1)
%12 = tail call i32 @gpio_configure_dir(i32 45, i32 1)
%13 = tail call i32 @gpio_configure_dir(i32 44, i32 1)
%14 = tail call i32 @gpio_configure_dir(i32 26, i32 1)
ret i32 0
}