#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_help() {
  printf("%s  Copyright (c) 2010  lynix <lynix47@gmail.com>\n\n", "aerod");
  printf("This program comes with ABSOLUTELY NO WARRANTY, use at\n");
  printf("own risk. This is free software, and you are welcome to\n");
  printf("redistribute it under the terms of the GNU General\n");
  printf("Public License as published by the Free Software\n");
  printf("Foundation, either version 3 of the License, or (at your\n");
  printf("option) any later version.\n\n");
  printf("Usage:  %s [OPTIONS]\n\n", "aerod");
  printf("Options:\n");
  printf("  -p PORT  port to listen on (default %d)\n", 7634);
  printf("  -i INT   interval for polling in seconds (default: %d)\n", 30);
  printf("  -P       extended precision, may violate hddtemp protocol\n");
  printf("  -F       don't daemonize, stay in foreground\n");
  printf("  -f FILE  write PID file (/var/run/%s.pid)\n", "aerod");
  printf("  -t       query hddtemp and include data\n");
  printf("  -T PORT  hddtemp port to query (default 7634)\n");
  printf("  -s       sync device clock with system time\n");
  printf("  -h       display this usage and license information\n");
  printf("\n");
  printf("This version of %s was built on %s %s.\n", "aerod", "Mar 18 2022",
         "17:17:42");
}


x86 assembly (clang, -O0):
<print_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0xf12(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf0a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf34(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf5f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf85(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfa9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfd5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfe4(%rip),%rdi
lea    0xea9(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfe6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfe2(%rip),%rdi
mov    $0x1dd2,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xffa(%rip),%rdi
mov    $0x1e,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1021(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1050(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1072(%rip),%rdi
lea    0xe44(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x108a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10a7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10ca(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10eb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf30(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1106(%rip),%rdi
lea    0xde9(%rip),%rsi
lea    0x1120(%rip),%rdx
lea    0x1125(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_help>:
push   %rbx
lea    0xec8(%rip),%rdi
lea    0xef5(%rip),%rbx
mov    %rbx,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xfd0(%rip),%rdi
call   1040 <puts@plt>
lea    0xffb(%rip),%rdi
call   1040 <puts@plt>
lea    0x1027(%rip),%rdi
call   1040 <puts@plt>
lea    0x104e(%rip),%rdi
call   1040 <puts@plt>
lea    0x1073(%rip),%rdi
call   1040 <puts@plt>
lea    0x10a0(%rip),%rdi
call   1040 <puts@plt>
lea    0xea2(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x109f(%rip),%rdi
call   1040 <puts@plt>
lea    0xe9c(%rip),%rdi
mov    $0x1dd2,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xeb4(%rip),%rdi
mov    $0x1e,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x1076(%rip),%rdi
call   1040 <puts@plt>
lea    0x10a6(%rip),%rdi
call   1040 <puts@plt>
lea    0xec3(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x10b8(%rip),%rdi
call   1040 <puts@plt>
lea    0x10d6(%rip),%rdi
call   1040 <puts@plt>
lea    0x10fa(%rip),%rdi
call   1040 <puts@plt>
lea    0x111c(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xea5(%rip),%rdi
lea    0xec6(%rip),%rdx
lea    0xecb(%rip),%rcx
mov    %rbx,%rsi
xor    %eax,%eax
pop    %rbx
jmp    1050 <printf@plt>

LLVM IR (-O0):
@.str = [52 x i8] c"%s Copyright (c) 2010 lynix <lynix47@gmail.com>\0A\0A\00"
@.str.1 = [6 x i8] c"aerod\00"
@.str.2 = [56 x i8] c"This program comes with ABSOLUTELY NO WARRANTY, use at\0A\00"
@.str.3 = [57 x i8] c"own risk. This is free software, and you are welcome to\0A\00"
@.str.4 = [52 x i8] c"redistribute it under the terms of the GNU General\0A\00"
@.str.5 = [50 x i8] c"Public License as published by the Free Software\0A\00"
@.str.6 = [58 x i8] c"Foundation, either version 3 of the License, or (at your\0A\00"
@.str.7 = [29 x i8] c"option) any later version.\0A\0A\00"
@.str.8 = [23 x i8] c"Usage: %s [OPTIONS]\0A\0A\00"
@.str.9 = [10 x i8] c"Options:\0A\00"
@.str.10 = [43 x i8] c" -p PORT port to listen on (default %d)\0A\00"
@.str.11 = [58 x i8] c" -i INT interval for polling in seconds (default: %d)\0A\00"
@.str.12 = [61 x i8] c" -P extended precision, may violate hddtemp protocol\0A\00"
@.str.13 = [48 x i8] c" -F don't daemonize, stay in foreground\0A\00"
@.str.14 = [45 x i8] c" -f FILE write PID file (/var/run/%s.pid)\0A\00"
@.str.15 = [43 x i8] c" -t query hddtemp and include data\0A\00"
@.str.16 = [49 x i8] c" -T PORT hddtemp port to query (default 7634)\0A\00"
@.str.17 = [47 x i8] c" -s sync device clock with system time\0A\00"
@.str.18 = [55 x i8] c" -h display this usage and license information\0A\00"
@.str.19 = [2 x i8] c"\0A\00"
@.str.20 = [40 x i8] c"This version of %s was built on %s %s.\0A\00"
@.str.21 = [12 x i8] c"Mar 18 2022\00"
@.str.22 = [9 x i8] c"17:17:42\00"
define void @print_help() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.2, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.3, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.5, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.6, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.7, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.9, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.10, i64 0, i64 0), i32 7634)
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.11, i64 0, i64 0), i32 30)
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.12, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.13, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.15, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.16, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.17, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.18, i64 0, i64 0))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.19, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.22, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [52 x i8] c"%s Copyright (c) 2010 lynix <lynix47@gmail.com>\0A\0A\00"
@.str.1 = [6 x i8] c"aerod\00"
@.str.8 = [23 x i8] c"Usage: %s [OPTIONS]\0A\0A\00"
@.str.10 = [43 x i8] c" -p PORT port to listen on (default %d)\0A\00"
@.str.11 = [58 x i8] c" -i INT interval for polling in seconds (default: %d)\0A\00"
@.str.14 = [45 x i8] c" -f FILE write PID file (/var/run/%s.pid)\0A\00"
@.str.20 = [40 x i8] c"This version of %s was built on %s %s.\0A\00"
@.str.21 = [12 x i8] c"Mar 18 2022\00"
@.str.22 = [9 x i8] c"17:17:42\00"
@str = [55 x i8] c"This program comes with ABSOLUTELY NO WARRANTY, use at\00"
@str.23 = [56 x i8] c"own risk. This is free software, and you are welcome to\00"
@str.24 = [51 x i8] c"redistribute it under the terms of the GNU General\00"
@str.25 = [49 x i8] c"Public License as published by the Free Software\00"
@str.26 = [57 x i8] c"Foundation, either version 3 of the License, or (at your\00"
@str.27 = [28 x i8] c"option) any later version.\0A\00"
@str.28 = [9 x i8] c"Options:\00"
@str.29 = [60 x i8] c" -P extended precision, may violate hddtemp protocol\00"
@str.30 = [47 x i8] c" -F don't daemonize, stay in foreground\00"
@str.31 = [42 x i8] c" -t query hddtemp and include data\00"
@str.32 = [48 x i8] c" -T PORT hddtemp port to query (default 7634)\00"
@str.33 = [46 x i8] c" -s sync device clock with system time\00"
@str.34 = [54 x i8] c" -h display this usage and license information\00"
define void @print_help() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.23, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.24, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.25, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.26, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.27, i64 0, i64 0))
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.28, i64 0, i64 0))
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.10, i64 0, i64 0), i32 7634)
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @.str.11, i64 0, i64 0), i32 30)
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.29, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.30, i64 0, i64 0))
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.31, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.32, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.33, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.34, i64 0, i64 0))
%19 = tail call i32 @putchar(i32 10)
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.22, i64 0, i64 0))
ret void
}