#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 */
struct Cyc___cycFILE {
  int dummy;
};

/* Variables and functions */
int Cyc_getc(struct Cyc___cycFILE *);
int /*<<< orphan*/ Cyc_ungetc(int, struct Cyc___cycFILE *);
void Cyc_Interproc_skip_whitespace(struct Cyc___cycFILE *f) {
  int c = Cyc_getc(f);
_TL1E:
  if (c == 32)
    goto _TL1F;
  else {
    goto _TL22;
  }
_TL22:
  if (c == 9)
    goto _TL1F;
  else {
    goto _TL21;
  }
_TL21:
  if (c == 10)
    goto _TL1F;
  else {
    goto _TL20;
  }
_TL1F:
  c = Cyc_getc(f);
  goto _TL1E;
_TL20:
  Cyc_ungetc(c, f);
}


x86 assembly (clang, -O0):
<Cyc_Interproc_skip_whitespace>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
call   1040 <Cyc_getc@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x20,-0xc(%rbp)
jne    1147 <Cyc_Interproc_skip_whitespace+0x27>
jmp    1174 <Cyc_Interproc_skip_whitespace+0x54>
jmp    114c <Cyc_Interproc_skip_whitespace+0x2c>
cmpl   $0x9,-0xc(%rbp)
jne    115b <Cyc_Interproc_skip_whitespace+0x3b>
jmp    1174 <Cyc_Interproc_skip_whitespace+0x54>
jmp    1160 <Cyc_Interproc_skip_whitespace+0x40>
cmpl   $0xa,-0xc(%rbp)
jne    116f <Cyc_Interproc_skip_whitespace+0x4f>
jmp    1174 <Cyc_Interproc_skip_whitespace+0x54>
jmp    1185 <Cyc_Interproc_skip_whitespace+0x65>
mov    -0x8(%rbp),%rdi
call   1040 <Cyc_getc@plt>
mov    %eax,-0xc(%rbp)
jmp    1138 <Cyc_Interproc_skip_whitespace+0x18>
mov    -0xc(%rbp),%edi
mov    -0x8(%rbp),%rsi
call   1030 <Cyc_ungetc@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Cyc_Interproc_skip_whitespace>:
push   %r14
push   %rbx
push   %rax
mov    %rdi,%rbx
movabs $0x100000600,%r14
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    %rbx,%rdi
call   1040 <Cyc_getc@plt>
cmp    $0x20,%eax
ja     1155 <Cyc_Interproc_skip_whitespace+0x35>
mov    %eax,%ecx
bt     %rcx,%r14
jb     1140 <Cyc_Interproc_skip_whitespace+0x20>
mov    %eax,%edi
mov    %rbx,%rsi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1030 <Cyc_ungetc@plt>

LLVM IR (-O0):
%struct.Cyc___cycFILE = type { i32 }
define void @Cyc_Interproc_skip_whitespace(%struct.Cyc___cycFILE* %0) {
%2 = alloca %struct.Cyc___cycFILE*
%3 = alloca i32
store %struct.Cyc___cycFILE* %0, %struct.Cyc___cycFILE** %2
%4 = load %struct.Cyc___cycFILE*, %struct.Cyc___cycFILE** %2
%5 = call i32 @Cyc_getc(%struct.Cyc___cycFILE* %4)
store i32 %5, i32* %3
br label %6
6: ; preds = %21, %1
%7 = load i32, i32* %3
%8 = icmp eq i32 %7, 32
br i1 %8, label %9, label %10
9: ; preds = %6
br label %21
10: ; preds = %6
br label %11
11: ; preds = %10
%12 = load i32, i32* %3
%13 = icmp eq i32 %12, 9
br i1 %13, label %14, label %15
14: ; preds = %11
br label %21
15: ; preds = %11
br label %16
16: ; preds = %15
%17 = load i32, i32* %3
%18 = icmp eq i32 %17, 10
br i1 %18, label %19, label %20
19: ; preds = %16
br label %21
20: ; preds = %16
br label %24
21: ; preds = %19, %14, %9
%22 = load %struct.Cyc___cycFILE*, %struct.Cyc___cycFILE** %2
%23 = call i32 @Cyc_getc(%struct.Cyc___cycFILE* %22)
store i32 %23, i32* %3
br label %6
24: ; preds = %20
%25 = load i32, i32* %3
%26 = load %struct.Cyc___cycFILE*, %struct.Cyc___cycFILE** %2
%27 = call i32 @Cyc_ungetc(i32 %25, %struct.Cyc___cycFILE* %26)
ret void
}

LLVM IR (-O2):
%struct.Cyc___cycFILE = type { i32 }
define void @Cyc_Interproc_skip_whitespace(%struct.Cyc___cycFILE* %0) {
br label %2
2: ; preds = %4, %1
%3 = tail call i32 @Cyc_getc(%struct.Cyc___cycFILE* %0)
switch i32 %3, label %5 [
i32 32, label %4
i32 10, label %4
i32 9, label %4
]
4: ; preds = %2, %2, %2
br label %2
5: ; preds = %2
%6 = tail call i32 @Cyc_ungetc(i32 %3, %struct.Cyc___cycFILE* %0)
ret void
}