#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 *, char const *,
                           char const *);
int /*<<< orphan*/ stderr;
void print_help(const char *self) {
  fprintf(stderr,
          "Usage: %s [-d serial] [-c cap] [-p]\n\n\t-c\t Set reference "
          "capacitance in the shorthand picofarad notation.\n\t  \t e.g. 104 = "
          "100nF \t Default: 223 (22nF)\n\t-d\t Set the USB CDC device\n\t  \t "
          "e.g. /dev/ttyACM0 \t Default: /dev/ttyACM0\n\t-h\t Print this "
          "help.\n\t-o\t Set inductance offset.\n\t  \t e.g. 105 = 1mH \t "
          "Default: 0 (no offset)\n\t-p\t Set this parameter when "
          "Pierce/Colpitts oscillator is used.\n\t  \t Capacitance will be "
          "halved.\n\nExample: %s -d /dev/ttyACM1 -c 224 -p -o 104\n(220nF "
          "Cref, 100uH offset, Pierce/Colpitts oscillator, on ttyACM1)\n\n",
          self, self);
}


x86 assembly (clang, -O0):
<print_help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    0x2ebd(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
mov    -0x8(%rbp),%rcx
lea    0xecc(%rip),%rsi
call   1030 <fprintf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_help>:
mov    %rdi,%rcx
mov    0x2ec6(%rip),%rax
mov    (%rax),%edi
lea    0xedd(%rip),%rsi
mov    %rcx,%rdx
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [532 x i8] c"Usage: %s [-d serial] [-c cap] [-p]\0A\0A\09-c\09 Set reference capacitance in the shorthand picofarad notation.\0A\09 \09 e.g. 104 = 100nF \09 Default: 223 (22nF)\0A\09-d\09 Set the USB CDC device\0A\09 \09 e.g. /dev/ttyACM0 \09 Default: /dev/ttyACM0\0A\09-h\09 Print this help.\0A\09-o\09 Set inductance offset.\0A\09 \09 e.g. 105 = 1mH \09 Default: 0 (no offset)\0A\09-p\09 Set this parameter when Pierce/Colpitts oscillator is used.\0A\09 \09 Capacitance will be halved.\0A\0AExample: %s -d /dev/ttyACM1 -c 224 -p -o 104\0A(220nF Cref, 100uH offset, Pierce/Colpitts oscillator, on ttyACM1)\0A\0A\00"
define void @print_help(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i32, i32* @stderr
%4 = load i8*, i8** %2
%5 = load i8*, i8** %2
%6 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([532 x i8], [532 x i8]* @.str, i64 0, i64 0), i8* %4, i8* %5)
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [532 x i8] c"Usage: %s [-d serial] [-c cap] [-p]\0A\0A\09-c\09 Set reference capacitance in the shorthand picofarad notation.\0A\09 \09 e.g. 104 = 100nF \09 Default: 223 (22nF)\0A\09-d\09 Set the USB CDC device\0A\09 \09 e.g. /dev/ttyACM0 \09 Default: /dev/ttyACM0\0A\09-h\09 Print this help.\0A\09-o\09 Set inductance offset.\0A\09 \09 e.g. 105 = 1mH \09 Default: 0 (no offset)\0A\09-p\09 Set this parameter when Pierce/Colpitts oscillator is used.\0A\09 \09 Capacitance will be halved.\0A\0AExample: %s -d /dev/ttyACM1 -c 224 -p -o 104\0A(220nF Cref, 100uH offset, Pierce/Colpitts oscillator, on ttyACM1)\0A\0A\00"
define void @print_help(i8* %0) {
%2 = load i32, i32* @stderr
%3 = tail call i32 @fprintf(i32 %2, i8* getelementptr inbounds ([532 x i8], [532 x i8]* @.str, i64 0, i64 0), i8* %0, i8* %0)
ret void
}