#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, char *);
void config_usage(FILE *fp, int argc, char **argv) {
  fprintf(
      fp,
      "Usage: %s [options]\n\n"
      "Options:\n"
      "-h | --help               Prints this message\n"
      "-k | --keys KEYS_SEQUENCE Generates DTMF tones for given keys sequence\n"
      "-w | --window WINDOW      Uses window: none|hann|hamming|triangular\n"
      "                          DEFAULT: none\n"
      "-d | --device DEVICE      Uses audio device DEVICE\n"
      "                          DEFAULT: plughw:0,0\n"
      "-f | --frequency F        Sample rate [Hz]\n"
      "                          DEFAULT: 4096\n"
      "-t | --time T             Pulse and pause duration time [ms]\n"
      "                          DEFAULT: 64\n"
      "",
      argv[0]);
}


x86 assembly (clang, -O0):
<config_usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %rdx,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rax
mov    (%rax),%rdx
lea    0xecb(%rip),%rsi
call   1030 <fprintf@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<config_usage>:
mov    (%rdx),%rdx
lea    0xee6(%rip),%rsi
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@.str = [535 x i8] c"Usage: %s [options]\0A\0AOptions:\0A-h | --help Prints this message\0A-k | --keys KEYS_SEQUENCE Generates DTMF tones for given keys sequence\0A-w | --window WINDOW Uses window: none|hann|hamming|triangular\0A DEFAULT: none\0A-d | --device DEVICE Uses audio device DEVICE\0A DEFAULT: plughw:0,0\0A-f | --frequency F Sample rate [Hz]\0A DEFAULT: 4096\0A-t | --time T Pulse and pause duration time [ms]\0A DEFAULT: 64\0A\00"
define void @config_usage(i32* %0, i32 %1, i8** %2) {
%4 = alloca i32*
%5 = alloca i32
%6 = alloca i8**
store i32* %0, i32** %4
store i32 %1, i32* %5
store i8** %2, i8*** %6
%7 = load i32*, i32** %4
%8 = load i8**, i8*** %6
%9 = getelementptr inbounds i8*, i8** %8, i64 0
%10 = load i8*, i8** %9
%11 = call i32 @fprintf(i32* %7, i8* getelementptr inbounds ([535 x i8], [535 x i8]* @.str, i64 0, i64 0), i8* %10)
ret void
}

LLVM IR (-O2):
@.str = [535 x i8] c"Usage: %s [options]\0A\0AOptions:\0A-h | --help Prints this message\0A-k | --keys KEYS_SEQUENCE Generates DTMF tones for given keys sequence\0A-w | --window WINDOW Uses window: none|hann|hamming|triangular\0A DEFAULT: none\0A-d | --device DEVICE Uses audio device DEVICE\0A DEFAULT: plughw:0,0\0A-f | --frequency F Sample rate [Hz]\0A DEFAULT: 4096\0A-t | --time T Pulse and pause duration time [ms]\0A DEFAULT: 64\0A\00"
define void @config_usage(i32* nocapture %0, i32 %1, i8** nocapture %2) {
%4 = load i8*, i8** %2
%5 = tail call i32 @fprintf(i32* %0, i8* getelementptr inbounds ([535 x i8], [535 x i8]* @.str, i64 0, i64 0), i8* %4)
ret void
}