#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 cstate {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ addrange(struct cstate *, int, int);
void addranges_S(struct cstate *g) {
  addrange(g, 0, 0x9 - 1);
  addrange(g, 0xD + 1, 0x20 - 1);
  addrange(g, 0x20 + 1, 0xA0 - 1);
  addrange(g, 0xA0 + 1, 0x2028 - 1);
  addrange(g, 0x2029 + 1, 0xFEFF - 1);
  addrange(g, 0xFEFF + 1, 0xFFFF);
}


x86 assembly (clang, -O0):
<addranges_S>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
xor    %esi,%esi
mov    $0x8,%edx
call   1030 <addrange@plt>
mov    -0x8(%rbp),%rdi
mov    $0xe,%esi
mov    $0x1f,%edx
call   1030 <addrange@plt>
mov    -0x8(%rbp),%rdi
mov    $0x21,%esi
mov    $0x9f,%edx
call   1030 <addrange@plt>
mov    -0x8(%rbp),%rdi
mov    $0xa1,%esi
mov    $0x2027,%edx
call   1030 <addrange@plt>
mov    -0x8(%rbp),%rdi
mov    $0x202a,%esi
mov    $0xfefe,%edx
call   1030 <addrange@plt>
mov    -0x8(%rbp),%rdi
mov    $0xff00,%esi
mov    $0xffff,%edx
call   1030 <addrange@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<addranges_S>:
push   %rbx
mov    %rdi,%rbx
xor    %esi,%esi
mov    $0x8,%edx
call   1030 <addrange@plt>
mov    %rbx,%rdi
mov    $0xe,%esi
mov    $0x1f,%edx
call   1030 <addrange@plt>
mov    %rbx,%rdi
mov    $0x21,%esi
mov    $0x9f,%edx
call   1030 <addrange@plt>
mov    %rbx,%rdi
mov    $0xa1,%esi
mov    $0x2027,%edx
call   1030 <addrange@plt>
mov    %rbx,%rdi
mov    $0x202a,%esi
mov    $0xfefe,%edx
call   1030 <addrange@plt>
mov    %rbx,%rdi
mov    $0xff00,%esi
mov    $0xffff,%edx
pop    %rbx
jmp    1030 <addrange@plt>

LLVM IR (-O0):
%struct.cstate = type { i32 }
define void @addranges_S(%struct.cstate* %0) {
%2 = alloca %struct.cstate*
store %struct.cstate* %0, %struct.cstate** %2
%3 = load %struct.cstate*, %struct.cstate** %2
%4 = call i32 @addrange(%struct.cstate* %3, i32 0, i32 8)
%5 = load %struct.cstate*, %struct.cstate** %2
%6 = call i32 @addrange(%struct.cstate* %5, i32 14, i32 31)
%7 = load %struct.cstate*, %struct.cstate** %2
%8 = call i32 @addrange(%struct.cstate* %7, i32 33, i32 159)
%9 = load %struct.cstate*, %struct.cstate** %2
%10 = call i32 @addrange(%struct.cstate* %9, i32 161, i32 8231)
%11 = load %struct.cstate*, %struct.cstate** %2
%12 = call i32 @addrange(%struct.cstate* %11, i32 8234, i32 65278)
%13 = load %struct.cstate*, %struct.cstate** %2
%14 = call i32 @addrange(%struct.cstate* %13, i32 65280, i32 65535)
ret void
}

LLVM IR (-O2):
%struct.cstate = type { i32 }
define void @addranges_S(%struct.cstate* %0) {
%2 = tail call i32 @addrange(%struct.cstate* %0, i32 0, i32 8)
%3 = tail call i32 @addrange(%struct.cstate* %0, i32 14, i32 31)
%4 = tail call i32 @addrange(%struct.cstate* %0, i32 33, i32 159)
%5 = tail call i32 @addrange(%struct.cstate* %0, i32 161, i32 8231)
%6 = tail call i32 @addrange(%struct.cstate* %0, i32 8234, i32 65278)
%7 = tail call i32 @addrange(%struct.cstate* %0, i32 65280, i32 65535)
ret void
}