#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*/ setGPIOPin(char *, char *, char *, char *);
void setMux(void) {
  setGPIOPin("40", "out", "strong", "0");
  setGPIOPin("41", "out", "strong", "0");
  setGPIOPin("4", "out", "strong", "1");
}


x86 assembly (clang, -O0):
<setMux>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0xee1(%rip),%rsi
lea    0xede(%rip),%rdx
lea    0xed1(%rip),%rcx
call   1030 <setGPIOPin@plt>
lea    0xed2(%rip),%rdi
lea    0xec0(%rip),%rsi
lea    0xebd(%rip),%rdx
lea    0xeb0(%rip),%rcx
call   1030 <setGPIOPin@plt>
lea    0xeb4(%rip),%rdi
lea    0xe9f(%rip),%rsi
lea    0xe9c(%rip),%rdx
lea    0xe9d(%rip),%rcx
call   1030 <setGPIOPin@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<setMux>:
push   %r15
push   %r14
push   %rbx
lea    0xee4(%rip),%rdi
lea    0xee0(%rip),%rbx
lea    0xedd(%rip),%r14
lea    0xed0(%rip),%r15
mov    %rbx,%rsi
mov    %r14,%rdx
mov    %r15,%rcx
call   1030 <setGPIOPin@plt>
lea    0xec8(%rip),%rdi
mov    %rbx,%rsi
mov    %r14,%rdx
mov    %r15,%rcx
call   1030 <setGPIOPin@plt>
lea    0xeb6(%rip),%rdi
lea    0xead(%rip),%rcx
mov    %rbx,%rsi
mov    %r14,%rdx
pop    %rbx
pop    %r14
pop    %r15
jmp    1030 <setGPIOPin@plt>

LLVM IR (-O0):
@.str = [3 x i8] c"40\00"
@.str.1 = [4 x i8] c"out\00"
@.str.2 = [7 x i8] c"strong\00"
@.str.3 = [2 x i8] c"0\00"
@.str.4 = [3 x i8] c"41\00"
@.str.5 = [2 x i8] c"4\00"
@.str.6 = [2 x i8] c"1\00"
define void @setMux() {
%1 = call i32 @setGPIOPin(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%2 = call i32 @setGPIOPin(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%3 = call i32 @setGPIOPin(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [3 x i8] c"40\00"
@.str.1 = [4 x i8] c"out\00"
@.str.2 = [7 x i8] c"strong\00"
@.str.3 = [2 x i8] c"0\00"
@.str.4 = [3 x i8] c"41\00"
@.str.5 = [2 x i8] c"4\00"
@.str.6 = [2 x i8] c"1\00"
define void @setMux() {
%1 = tail call i32 @setGPIOPin(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%2 = tail call i32 @setGPIOPin(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%3 = tail call i32 @setGPIOPin(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
ret void
}