#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, 0x9, 0x9);
  addrange(g, 0xA, 0xD);
  addrange(g, 0x20, 0x20);
  addrange(g, 0xA0, 0xA0);
  addrange(g, 0x2028, 0x2029);
  addrange(g, 0xFEFF, 0xFEFF);
}


x86 assembly (clang, -O0):
<addranges_s>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
mov    $0x9,%edx
mov    %edx,%esi
call   1030 <addrange@plt>
mov    -0x8(%rbp),%rdi
mov    $0xa,%esi
mov    $0xd,%edx
call   1030 <addrange@plt>
mov    -0x8(%rbp),%rdi
mov    $0x20,%edx
mov    %edx,%esi
call   1030 <addrange@plt>
mov    -0x8(%rbp),%rdi
mov    $0xa0,%edx
mov    %edx,%esi
call   1030 <addrange@plt>
mov    -0x8(%rbp),%rdi
mov    $0x2028,%esi
mov    $0x2029,%edx
call   1030 <addrange@plt>
mov    -0x8(%rbp),%rdi
mov    $0xfeff,%edx
mov    %edx,%esi
call   1030 <addrange@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<addranges_s>:
push   %rbx
mov    %rdi,%rbx
mov    $0x9,%esi
mov    $0x9,%edx
call   1030 <addrange@plt>
mov    %rbx,%rdi
mov    $0xa,%esi
mov    $0xd,%edx
call   1030 <addrange@plt>
mov    %rbx,%rdi
mov    $0x20,%esi
mov    $0x20,%edx
call   1030 <addrange@plt>
mov    %rbx,%rdi
mov    $0xa0,%esi
mov    $0xa0,%edx
call   1030 <addrange@plt>
mov    %rbx,%rdi
mov    $0x2028,%esi
mov    $0x2029,%edx
call   1030 <addrange@plt>
mov    %rbx,%rdi
mov    $0xfeff,%esi
mov    $0xfeff,%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 9, i32 9)
%5 = load %struct.cstate*, %struct.cstate** %2
%6 = call i32 @addrange(%struct.cstate* %5, i32 10, i32 13)
%7 = load %struct.cstate*, %struct.cstate** %2
%8 = call i32 @addrange(%struct.cstate* %7, i32 32, i32 32)
%9 = load %struct.cstate*, %struct.cstate** %2
%10 = call i32 @addrange(%struct.cstate* %9, i32 160, i32 160)
%11 = load %struct.cstate*, %struct.cstate** %2
%12 = call i32 @addrange(%struct.cstate* %11, i32 8232, i32 8233)
%13 = load %struct.cstate*, %struct.cstate** %2
%14 = call i32 @addrange(%struct.cstate* %13, i32 65279, i32 65279)
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 9, i32 9)
%3 = tail call i32 @addrange(%struct.cstate* %0, i32 10, i32 13)
%4 = tail call i32 @addrange(%struct.cstate* %0, i32 32, i32 32)
%5 = tail call i32 @addrange(%struct.cstate* %0, i32 160, i32 160)
%6 = tail call i32 @addrange(%struct.cstate* %0, i32 8232, i32 8233)
%7 = tail call i32 @addrange(%struct.cstate* %0, i32 65279, i32 65279)
ret void
}