#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*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stdout;
void help_number(void) {
  fprintf(stdout,
          "\nSupport number:\n"
          " [bB]XXX         - Binary number\n"
          " [oO]XXX         - Octal number\n"
          " [dD]XXX         - Decimal number\n"
          " [hH]XXX         - Hexadecimal number\n"
          " [0x]XXX         - Hexadecimal number\n"
          " X[A-F]|[a-f]X   - Hexadecimal number\n"
          "                   Add prefix ``0x'' to the Hexadecimal number"
          " which starting with the `[bB]' or `[dD]'\n"
          " 0XXX            - Binary, or Octal if there is digit"
          "in X more than 1\n"
          " OTHERS          - Decimal if it is a number\n\n"
          " Suffix Support:\n"
          " k|K             - Kilo - 2^10\n"
          " m|M             - Mega - 2^20\n"
          " g|G             - Giga - 2^30\n"
          " t|T             - Tera - 2^40\n"
          " p|P             - Peta - 2^50\n");
}


x86 assembly (clang, -O0):
<help_number>:
push   %rbp
mov    %rsp,%rbp
mov    0x2ec5(%rip),%rax
mov    (%rax),%edi
lea    0xedc(%rip),%rsi
call   1030 <fprintf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<help_number>:
mov    0x2ec9(%rip),%rax
mov    (%rax),%edi
lea    0xee0(%rip),%rsi
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@stdout = global i32 0
@.str = [623 x i8] c"\0ASupport number:\0A [bB]XXX - Binary number\0A [oO]XXX - Octal number\0A [dD]XXX - Decimal number\0A [hH]XXX - Hexadecimal number\0A [0x]XXX - Hexadecimal number\0A X[A-F]|[a-f]X - Hexadecimal number\0A Add prefix ``0x'' to the Hexadecimal number which starting with the `[bB]' or `[dD]'\0A 0XXX - Binary, or Octal if there is digitin X more than 1\0A OTHERS - Decimal if it is a number\0A\0A Suffix Support:\0A k|K - Kilo - 2^10\0A m|M - Mega - 2^20\0A g|G - Giga - 2^30\0A t|T - Tera - 2^40\0A p|P - Peta - 2^50\0A\00"
define void @help_number() {
%1 = load i32, i32* @stdout
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([623 x i8], [623 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stdout = global i32 0
@.str = [623 x i8] c"\0ASupport number:\0A [bB]XXX - Binary number\0A [oO]XXX - Octal number\0A [dD]XXX - Decimal number\0A [hH]XXX - Hexadecimal number\0A [0x]XXX - Hexadecimal number\0A X[A-F]|[a-f]X - Hexadecimal number\0A Add prefix ``0x'' to the Hexadecimal number which starting with the `[bB]' or `[dD]'\0A 0XXX - Binary, or Octal if there is digitin X more than 1\0A OTHERS - Decimal if it is a number\0A\0A Suffix Support:\0A k|K - Kilo - 2^10\0A m|M - Mega - 2^20\0A g|G - Giga - 2^30\0A t|T - Tera - 2^40\0A p|P - Peta - 2^50\0A\00"
define void @help_number() {
%1 = load i32, i32* @stdout
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([623 x i8], [623 x i8]* @.str, i64 0, i64 0))
ret void
}