#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*/ reg_write(int, int);
void gpio_init() {
  reg_write(0x20E009C, 0x5);
  reg_write(0x20E00A0, 0x5);
  reg_write(0x20E00A4, 0x5);
  reg_write(0x20E00A8, 0x5);
  reg_write(0x20E00FC, 0x5);
  reg_write(0x20E0100, 0x5);
  reg_write(0x20E00B8, 0x5);
  reg_write(0x20E00BC, 0x5);
  reg_write(0x20E00C0, 0x5);
  reg_write(0x20E00C4, 0x5);
  reg_write(0x20E00C8, 0x5);
}


x86 assembly (clang, -O0):
<gpio_init>:
push   %rbp
mov    %rsp,%rbp
mov    $0x20e009c,%edi
mov    $0x5,%esi
call   1030 <reg_write@plt>
mov    $0x20e00a0,%edi
mov    $0x5,%esi
call   1030 <reg_write@plt>
mov    $0x20e00a4,%edi
mov    $0x5,%esi
call   1030 <reg_write@plt>
mov    $0x20e00a8,%edi
mov    $0x5,%esi
call   1030 <reg_write@plt>
mov    $0x20e00fc,%edi
mov    $0x5,%esi
call   1030 <reg_write@plt>
mov    $0x20e0100,%edi
mov    $0x5,%esi
call   1030 <reg_write@plt>
mov    $0x20e00b8,%edi
mov    $0x5,%esi
call   1030 <reg_write@plt>
mov    $0x20e00bc,%edi
mov    $0x5,%esi
call   1030 <reg_write@plt>
mov    $0x20e00c0,%edi
mov    $0x5,%esi
call   1030 <reg_write@plt>
mov    $0x20e00c4,%edi
mov    $0x5,%esi
call   1030 <reg_write@plt>
mov    $0x20e00c8,%edi
mov    $0x5,%esi
call   1030 <reg_write@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<gpio_init>:
push   %rax
mov    $0x20e009c,%edi
mov    $0x5,%esi
call   1030 <reg_write@plt>
mov    $0x20e00a0,%edi
mov    $0x5,%esi
call   1030 <reg_write@plt>
mov    $0x20e00a4,%edi
mov    $0x5,%esi
call   1030 <reg_write@plt>
mov    $0x20e00a8,%edi
mov    $0x5,%esi
call   1030 <reg_write@plt>
mov    $0x20e00fc,%edi
mov    $0x5,%esi
call   1030 <reg_write@plt>
mov    $0x20e0100,%edi
mov    $0x5,%esi
call   1030 <reg_write@plt>
mov    $0x20e00b8,%edi
mov    $0x5,%esi
call   1030 <reg_write@plt>
mov    $0x20e00bc,%edi
mov    $0x5,%esi
call   1030 <reg_write@plt>
mov    $0x20e00c0,%edi
mov    $0x5,%esi
call   1030 <reg_write@plt>
mov    $0x20e00c4,%edi
mov    $0x5,%esi
call   1030 <reg_write@plt>
mov    $0x20e00c8,%edi
mov    $0x5,%esi
pop    %rax
jmp    1030 <reg_write@plt>

LLVM IR (-O0):
define void @gpio_init() {
%1 = call i32 @reg_write(i32 34472092, i32 5)
%2 = call i32 @reg_write(i32 34472096, i32 5)
%3 = call i32 @reg_write(i32 34472100, i32 5)
%4 = call i32 @reg_write(i32 34472104, i32 5)
%5 = call i32 @reg_write(i32 34472188, i32 5)
%6 = call i32 @reg_write(i32 34472192, i32 5)
%7 = call i32 @reg_write(i32 34472120, i32 5)
%8 = call i32 @reg_write(i32 34472124, i32 5)
%9 = call i32 @reg_write(i32 34472128, i32 5)
%10 = call i32 @reg_write(i32 34472132, i32 5)
%11 = call i32 @reg_write(i32 34472136, i32 5)
ret void
}

LLVM IR (-O2):
define void @gpio_init() {
%1 = tail call i32 @reg_write(i32 34472092, i32 5)
%2 = tail call i32 @reg_write(i32 34472096, i32 5)
%3 = tail call i32 @reg_write(i32 34472100, i32 5)
%4 = tail call i32 @reg_write(i32 34472104, i32 5)
%5 = tail call i32 @reg_write(i32 34472188, i32 5)
%6 = tail call i32 @reg_write(i32 34472192, i32 5)
%7 = tail call i32 @reg_write(i32 34472120, i32 5)
%8 = tail call i32 @reg_write(i32 34472124, i32 5)
%9 = tail call i32 @reg_write(i32 34472128, i32 5)
%10 = tail call i32 @reg_write(i32 34472132, i32 5)
%11 = tail call i32 @reg_write(i32 34472136, i32 5)
ret void
}