#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*/ printf(char *, unsigned int);
int /*<<< orphan*/ scanf(char *, unsigned int *);
int main(int argc, char const *argv[]) {
  unsigned int a, b, i = 0;
  scanf(" %u", &a);
  scanf(" %u", &b);
  for (i = a; i <= b; ++i) {
    if (i % 2 == 1)
      printf("%u\n", i);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x1c(%rbp)
lea    0xebc(%rip),%rdi
lea    -0x14(%rbp),%rsi
call   1040 <scanf@plt>
lea    0xeac(%rip),%rdi
lea    -0x18(%rbp),%rsi
call   1040 <scanf@plt>
mov    -0x14(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x18(%rbp),%eax
ja     11a0 <main+0x80>
mov    -0x1c(%rbp),%eax
and    $0x1,%eax
cmp    $0x1,%eax
jne    118d <main+0x6d>
mov    -0x1c(%rbp),%esi
lea    0xe7c(%rip),%rdi
call   1030 <printf@plt>
jmp    1192 <main+0x72>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1163 <main+0x43>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
push   %rax
lea    0xed5(%rip),%rbx
lea    0x4(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
mov    0x4(%rsp),%ebx
mov    (%rsp),%eax
cmp    %eax,%ebx
jbe    1158 <main+0x38>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret
lea    0xea5(%rip),%r14
jmp    1177 <main+0x57>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
add    $0x1,%ebx
cmp    %eax,%ebx
ja     114e <main+0x2e>
test   $0x1,%bl
je     1170 <main+0x50>
mov    %r14,%rdi
mov    %ebx,%esi
call   1030 <printf@plt>
mov    (%rsp),%eax
jmp    1170 <main+0x50>

LLVM IR (-O0):
@.str = [4 x i8] c" %u\00"
@.str.1 = [4 x i8] c"%u\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %8
%9 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32* %6)
%10 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32* %7)
%11 = load i32, i32* %6
store i32 %11, i32* %8
br label %12
12: ; preds = %24, %2
%13 = load i32, i32* %8
%14 = load i32, i32* %7
%15 = icmp ule i32 %13, %14
br i1 %15, label %16, label %27
16: ; preds = %12
%17 = load i32, i32* %8
%18 = urem i32 %17, 2
%19 = icmp eq i32 %18, 1
br i1 %19, label %20, label %23
20: ; preds = %16
%21 = load i32, i32* %8
%22 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %21)
br label %23
23: ; preds = %20, %16
br label %24
24: ; preds = %23
%25 = load i32, i32* %8
%26 = add i32 %25, 1
store i32 %26, i32* %8
br label %12
27: ; preds = %12
ret i32 0
}

LLVM IR (-O2):
@.str = [4 x i8] c" %u\00"
@.str.1 = [4 x i8] c"%u\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca i32
%4 = alloca i32
%5 = bitcast i32* %3 to i8*
%6 = bitcast i32* %4 to i8*
%7 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32* %3)
%8 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32* %4)
%9 = load i32, i32* %3
%10 = load i32, i32* %4
%11 = icmp ugt i32 %9, %10
br i1 %11, label %24, label %12
12: ; preds = %2, %20
%13 = phi i32 [ %21, %20 ], [ %10, %2 ]
%14 = phi i32 [ %22, %20 ], [ %9, %2 ]
%15 = and i32 %14, 1
%16 = icmp eq i32 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %12
%18 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %14)
%19 = load i32, i32* %4
br label %20
20: ; preds = %12, %17
%21 = phi i32 [ %13, %12 ], [ %19, %17 ]
%22 = add i32 %14, 1
%23 = icmp ugt i32 %22, %21
br i1 %23, label %24, label %12
24: ; preds = %20, %2
ret i32 0
}