#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 */
char getNonSpace();
char getTexChar();
scalar_t__ isdigit(char);
int /*<<< orphan*/ ungetTexChar(char);
void IgnoreNumber(void) {
  char c;
  c = getNonSpace();
  if (c == '=')
    c = getNonSpace();
  while (c == '-' || c == '+' || c == '.' || isdigit(c))
    c = getTexChar();
  ungetTexChar(c);
}


x86 assembly (clang, -O0):
<IgnoreNumber>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    $0x0,%al
call   1060 <getNonSpace@plt>
mov    %al,-0x1(%rbp)
movsbl -0x1(%rbp),%eax
cmp    $0x3d,%eax
jne    1169 <IgnoreNumber+0x29>
mov    $0x0,%al
call   1060 <getNonSpace@plt>
mov    %al,-0x1(%rbp)
jmp    116e <IgnoreNumber+0x2e>
movsbl -0x1(%rbp),%ecx
mov    $0x1,%al
cmp    $0x2d,%ecx
mov    %al,-0x2(%rbp)
je     11b7 <IgnoreNumber+0x77>
movsbl -0x1(%rbp),%ecx
mov    $0x1,%al
cmp    $0x2b,%ecx
mov    %al,-0x2(%rbp)
je     11b7 <IgnoreNumber+0x77>
movsbl -0x1(%rbp),%ecx
mov    $0x1,%al
cmp    $0x2e,%ecx
mov    %al,-0x2(%rbp)
je     11b7 <IgnoreNumber+0x77>
movsbl -0x1(%rbp),%edi
call   1030 <isdigit@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x2(%rbp)
mov    -0x2(%rbp),%al
test   $0x1,%al
jne    11c7 <IgnoreNumber+0x87>
jmp    11d6 <IgnoreNumber+0x96>
mov    $0x0,%al
call   1050 <getTexChar@plt>
mov    %al,-0x1(%rbp)
jmp    116e <IgnoreNumber+0x2e>
movsbl -0x1(%rbp),%edi
call   1040 <ungetTexChar@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<IgnoreNumber>:
push   %r14
push   %rbx
push   %rax
xor    %eax,%eax
call   1060 <getNonSpace@plt>
cmp    $0x3d,%al
jne    1156 <IgnoreNumber+0x16>
xor    %eax,%eax
call   1060 <getNonSpace@plt>
movabs $0x680000000000,%r14
jmp    1186 <IgnoreNumber+0x46>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsbl %al,%ebx
mov    %ebx,%edi
call   1030 <isdigit@plt>
test   %rax,%rax
je     1195 <IgnoreNumber+0x55>
xor    %eax,%eax
call   1050 <getTexChar@plt>
cmp    $0x2e,%al
ja     1170 <IgnoreNumber+0x30>
movzbl %al,%ecx
bt     %rcx,%r14
jb     117f <IgnoreNumber+0x3f>
jmp    1170 <IgnoreNumber+0x30>
mov    %ebx,%edi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1040 <ungetTexChar@plt>

LLVM IR (-O0):
define void @IgnoreNumber() {
%1 = alloca i8
%2 = call signext i8 (...) @getNonSpace()
store i8 %2, i8* %1
%3 = load i8, i8* %1
%4 = sext i8 %3 to i32
%5 = icmp eq i32 %4, 61
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call signext i8 (...) @getNonSpace()
store i8 %7, i8* %1
br label %8
8: ; preds = %6, %0
br label %9
9: ; preds = %27, %8
%10 = load i8, i8* %1
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 45
br i1 %12, label %25, label %13
13: ; preds = %9
%14 = load i8, i8* %1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 43
br i1 %16, label %25, label %17
17: ; preds = %13
%18 = load i8, i8* %1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 46
br i1 %20, label %25, label %21
21: ; preds = %17
%22 = load i8, i8* %1
%23 = call i64 @isdigit(i8 signext %22)
%24 = icmp ne i64 %23, 0
br label %25
25: ; preds = %21, %17, %13, %9
%26 = phi i1 [ true, %17 ], [ true, %13 ], [ true, %9 ], [ %24, %21 ]
br i1 %26, label %27, label %29
27: ; preds = %25
%28 = call signext i8 (...) @getTexChar()
store i8 %28, i8* %1
br label %9
29: ; preds = %25
%30 = load i8, i8* %1
%31 = call i32 @ungetTexChar(i8 signext %30)
ret void
}

LLVM IR (-O2):
define void @IgnoreNumber() {
%1 = tail call signext i8 (...) @getNonSpace()
%2 = icmp eq i8 %1, 61
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = tail call signext i8 (...) @getNonSpace()
br label %5
5: ; preds = %3, %0
%6 = phi i8 [ %1, %0 ], [ %4, %3 ]
br label %7
7: ; preds = %5, %12
%8 = phi i8 [ %13, %12 ], [ %6, %5 ]
switch i8 %8, label %9 [
i8 46, label %12
i8 45, label %12
i8 43, label %12
]
9: ; preds = %7
%10 = tail call i64 @isdigit(i8 signext %8)
%11 = icmp eq i64 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %7, %7, %7, %9
%13 = tail call signext i8 (...) @getTexChar()
br label %7
14: ; preds = %9
%15 = tail call i32 @ungetTexChar(i8 signext %8)
ret void
}