#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 */
typedef int uint32_t;

/* Variables and functions */
void PortF_Init(void) {
  volatile uint32_t delay;
  (*((volatile uint32_t *)0x400FE608)) |= 0x00000020;
  delay = (*((volatile uint32_t *)0x400FE608));
  (*((volatile uint32_t *)0x40025520)) = 0x4C4F434B;
  (*((volatile uint32_t *)0x40025524)) = 0x1F;
  (*((volatile uint32_t *)0x40025528)) = 0x00;
  (*((volatile uint32_t *)0x4002552C)) = 0x00000000;
  (*((volatile uint32_t *)0x40025400)) = 0x0E;
  (*((volatile uint32_t *)0x40025420)) = 0x00;
  (*((volatile uint32_t *)0x40025510)) = 0x11;
  (*((volatile uint32_t *)0x4002551C)) = 0x1F;
}


x86 assembly (clang, -O0):
<PortF_Init>:
push   %rbp
mov    %rsp,%rbp
mov    $0x400fe608,%eax
mov    (%rax),%ecx
or     $0x20,%ecx
mov    $0x400fe608,%eax
mov    %ecx,(%rax)
mov    $0x400fe608,%eax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
mov    $0x40025520,%eax
movl   $0x4c4f434b,(%rax)
mov    $0x40025524,%eax
movl   $0x1f,(%rax)
mov    $0x40025528,%eax
movl   $0x0,(%rax)
mov    $0x4002552c,%eax
movl   $0x0,(%rax)
mov    $0x40025400,%eax
movl   $0xe,(%rax)
mov    $0x40025420,%eax
movl   $0x0,(%rax)
mov    $0x40025510,%eax
movl   $0x11,(%rax)
mov    $0x4002551c,%eax
movl   $0x1f,(%rax)
pop    %rbp
ret

x86 assembly (clang, -O2):
<PortF_Init>:
orl    $0x20,0x400fe608
20
mov    0x400fe608,%eax
mov    %eax,-0x4(%rsp)
movl   $0x4c4f434b,0x40025520
4b 43 4f 4c
movl   $0x1f,0x40025524
movl   $0x0,0x40025528
movl   $0x0,0x4002552c
movl   $0xe,0x40025400
movl   $0x0,0x40025420
movl   $0x11,0x40025510
movl   $0x1f,0x4002551c
ret

LLVM IR (-O0):
define void @PortF_Init() {
%1 = alloca i32
%2 = load volatile i32, i32* inttoptr (i64 1074783752 to i32*)
%3 = or i32 %2, 32
store volatile i32 %3, i32* inttoptr (i64 1074783752 to i32*)
%4 = load volatile i32, i32* inttoptr (i64 1074783752 to i32*)
store volatile i32 %4, i32* %1
store volatile i32 1280262987, i32* inttoptr (i64 1073894688 to i32*)
store volatile i32 31, i32* inttoptr (i64 1073894692 to i32*)
store volatile i32 0, i32* inttoptr (i64 1073894696 to i32*)
store volatile i32 0, i32* inttoptr (i64 1073894700 to i32*)
store volatile i32 14, i32* inttoptr (i64 1073894400 to i32*)
store volatile i32 0, i32* inttoptr (i64 1073894432 to i32*)
store volatile i32 17, i32* inttoptr (i64 1073894672 to i32*)
store volatile i32 31, i32* inttoptr (i64 1073894684 to i32*)
ret void
}

LLVM IR (-O2):
define void @PortF_Init() {
%1 = alloca i32
%2 = bitcast i32* %1 to i8*
%3 = load volatile i32, i32* inttoptr (i64 1074783752 to i32*)
%4 = or i32 %3, 32
store volatile i32 %4, i32* inttoptr (i64 1074783752 to i32*)
%5 = load volatile i32, i32* inttoptr (i64 1074783752 to i32*)
store volatile i32 %5, i32* %1
store volatile i32 1280262987, i32* inttoptr (i64 1073894688 to i32*)
store volatile i32 31, i32* inttoptr (i64 1073894692 to i32*)
store volatile i32 0, i32* inttoptr (i64 1073894696 to i32*)
store volatile i32 0, i32* inttoptr (i64 1073894700 to i32*)
store volatile i32 14, i32* inttoptr (i64 1073894400 to i32*)
store volatile i32 0, i32* inttoptr (i64 1073894432 to i32*)
store volatile i32 17, i32* inttoptr (i64 1073894672 to i32*)
store volatile i32 31, i32* inttoptr (i64 1073894684 to i32*)
ret void
}