#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 *);
void print_usage() {
  printf("Usage:\n");
  printf("\n");
  printf("  zettaconf --print\n");
  printf("  zettaconf --help\n");
  printf(
      "  zettaconf [--videoquality <low|medium|high>]\n"
      "      [--resolution <320x240|640x480|640x360|1280x720>]\n"
      "      [--motiondetect <off|low|medium|high>]\n"
      "      [--showtimestamp <off|on>]\n"
      "      [--circularrec <off|on>]\n"
      "      [--framerate  <low|high>]\n"
      "      [--splitfiletime <10|15|20|30|60>]\n"
      "      [--daynightmode <day|night|auto>]\n"
      "      [--orientation <normal|flip>]\n"
      "      [--autostartmode <off|absent|present|present_start|scheduled>]\n"
      "      [--voicedetect <off|low|medium|high>]\n"
      "      [--voicerec <off|on>]\n"
      "      [--vibrdetect <off|low|medium|high>]\n"
      "      [--standbymode <psave|fast>]\n"
      "      [--aliveduration <5|2>]\n"
      "      [--led <off|on>]\n"
      "      [--lighting <50hz|60hz|outdoor>]\n"
      "      [--extintype <off|no|nc>]\n"
      "      [--extouttype <off|no|nc>]\n"
      "      [--buzzarduration <off|rec|5|1>]\n"
      "      [--sensorsens <low|medium|high>]\n"
      "      [--pir <off|on>]\n"
      "      [--synctime]\n");
}


x86 assembly (clang, -O0):
<print_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xedf(%rip),%rdi
call   1030 <printf@plt>
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0xede(%rip),%rdi
call   1030 <printf@plt>
lea    0xee6(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_usage>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xec9(%rip),%rdi
call   1040 <puts@plt>
lea    0xed1(%rip),%rdi
call   1040 <puts@plt>
lea    0xed8(%rip),%rdi
pop    %rax
jmp    1040 <puts@plt>

LLVM IR (-O0):
@.str = [8 x i8] c"Usage:\0A\00"
@.str.1 = [2 x i8] c"\0A\00"
@.str.2 = [21 x i8] c" zettaconf --print\0A\00"
@.str.3 = [20 x i8] c" zettaconf --help\0A\00"
@.str.4 = [858 x i8] c" zettaconf [--videoquality <low|medium|high>]\0A [--resolution <320x240|640x480|640x360|1280x720>]\0A [--motiondetect <off|low|medium|high>]\0A [--showtimestamp <off|on>]\0A [--circularrec <off|on>]\0A [--framerate <low|high>]\0A [--splitfiletime <10|15|20|30|60>]\0A [--daynightmode <day|night|auto>]\0A [--orientation <normal|flip>]\0A [--autostartmode <off|absent|present|present_start|scheduled>]\0A [--voicedetect <off|low|medium|high>]\0A [--voicerec <off|on>]\0A [--vibrdetect <off|low|medium|high>]\0A [--standbymode <psave|fast>]\0A [--aliveduration <5|2>]\0A [--led <off|on>]\0A [--lighting <50hz|60hz|outdoor>]\0A [--extintype <off|no|nc>]\0A [--extouttype <off|no|nc>]\0A [--buzzarduration <off|rec|5|1>]\0A [--sensorsens <low|medium|high>]\0A [--pir <off|on>]\0A [--synctime]\0A\00"
define void @print_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([858 x i8], [858 x i8]* @.str.4, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [7 x i8] c"Usage:\00"
@str.5 = [20 x i8] c" zettaconf --print\00"
@str.6 = [19 x i8] c" zettaconf --help\00"
@str.7 = [857 x i8] c" zettaconf [--videoquality <low|medium|high>]\0A [--resolution <320x240|640x480|640x360|1280x720>]\0A [--motiondetect <off|low|medium|high>]\0A [--showtimestamp <off|on>]\0A [--circularrec <off|on>]\0A [--framerate <low|high>]\0A [--splitfiletime <10|15|20|30|60>]\0A [--daynightmode <day|night|auto>]\0A [--orientation <normal|flip>]\0A [--autostartmode <off|absent|present|present_start|scheduled>]\0A [--voicedetect <off|low|medium|high>]\0A [--voicerec <off|on>]\0A [--vibrdetect <off|low|medium|high>]\0A [--standbymode <psave|fast>]\0A [--aliveduration <5|2>]\0A [--led <off|on>]\0A [--lighting <50hz|60hz|outdoor>]\0A [--extintype <off|no|nc>]\0A [--extouttype <off|no|nc>]\0A [--buzzarduration <off|rec|5|1>]\0A [--sensorsens <low|medium|high>]\0A [--pir <off|on>]\0A [--synctime]\00"
define void @print_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @putchar(i32 10)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.5, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.6, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([857 x i8], [857 x i8]* @str.7, i64 0, i64 0))
ret void
}