#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*/ halt(char *, char *);
int /*<<< orphan*/ message(char *, int /*<<< orphan*/ *);
void help(char *a, char *b) {
  message("To specify a topology the string should be set ", NULL);
  message("like as following: ", NULL);
  message("(-4,1)(-3,2)(-2,2)(-1,1)(1,3)(1,4)(2,3)(2,4)(3,4)", NULL);
  message("Negative numbers mean end of external lines. ", NULL);
  message("All negative numbers should be ordered. ", NULL);
  halt(a, b);
}


x86 assembly (clang, -O0):
<help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xec9(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1030 <message@plt>
lea    0xee9(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1030 <message@plt>
lea    0xeed(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1030 <message@plt>
lea    0xf0f(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1030 <message@plt>
lea    0xf2d(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1030 <message@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   1040 <halt@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<help>:
push   %r14
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %rdi,%rbx
lea    0xecf(%rip),%rdi
xor    %esi,%esi
call   1030 <message@plt>
lea    0xef1(%rip),%rdi
xor    %esi,%esi
call   1030 <message@plt>
lea    0xef7(%rip),%rdi
xor    %esi,%esi
call   1030 <message@plt>
lea    0xf1b(%rip),%rdi
xor    %esi,%esi
call   1030 <message@plt>
lea    0xf3b(%rip),%rdi
xor    %esi,%esi
call   1030 <message@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1040 <halt@plt>

LLVM IR (-O0):
@.str = [48 x i8] c"To specify a topology the string should be set \00"
@.str.1 = [20 x i8] c"like as following: \00"
@.str.2 = [50 x i8] c"(-4,1)(-3,2)(-2,2)(-1,1)(1,3)(1,4)(2,3)(2,4)(3,4)\00"
@.str.3 = [46 x i8] c"Negative numbers mean end of external lines. \00"
@.str.4 = [41 x i8] c"All negative numbers should be ordered. \00"
define void @help(i8* %0, i8* %1) {
%3 = alloca i8*
%4 = alloca i8*
store i8* %0, i8** %3
store i8* %1, i8** %4
%5 = call i32 @message(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str, i64 0, i64 0), i32* null)
%6 = call i32 @message(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), i32* null)
%7 = call i32 @message(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.2, i64 0, i64 0), i32* null)
%8 = call i32 @message(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.3, i64 0, i64 0), i32* null)
%9 = call i32 @message(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.4, i64 0, i64 0), i32* null)
%10 = load i8*, i8** %3
%11 = load i8*, i8** %4
%12 = call i32 @halt(i8* %10, i8* %11)
ret void
}

LLVM IR (-O2):
@.str = [48 x i8] c"To specify a topology the string should be set \00"
@.str.1 = [20 x i8] c"like as following: \00"
@.str.2 = [50 x i8] c"(-4,1)(-3,2)(-2,2)(-1,1)(1,3)(1,4)(2,3)(2,4)(3,4)\00"
@.str.3 = [46 x i8] c"Negative numbers mean end of external lines. \00"
@.str.4 = [41 x i8] c"All negative numbers should be ordered. \00"
define void @help(i8* %0, i8* %1) {
%3 = tail call i32 @message(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str, i64 0, i64 0), i32* null)
%4 = tail call i32 @message(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), i32* null)
%5 = tail call i32 @message(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.2, i64 0, i64 0), i32* null)
%6 = tail call i32 @message(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.3, i64 0, i64 0), i32* null)
%7 = tail call i32 @message(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.4, i64 0, i64 0), i32* null)
%8 = tail call i32 @halt(i8* %0, i8* %1)
ret void
}