#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*/ STDOUT_FILENO;
int /*<<< orphan*/ strlen(char const *);
int /*<<< orphan*/ write_exactly(int /*<<< orphan*/, char const *,
                                 int /*<<< orphan*/);
void help() {
  const char *text = "concurrent [-l N] [-b N] [-r N] [-i] COMMAND\n"
                     "-l N : Limit concurrency to N jobs (default: #cores)\n"
                     "-b N : Batch size of N lines (default: 1)\n"
                     "-r N : Retry failed jobs N times (default: 0)\n"
                     "-i   : Ignore job failures (default: abort)\n"
                     "-v   : Verbose logging (default: off)\n"
                     "-vv  : More verbose logging\n";
  write_exactly(STDOUT_FILENO, text, strlen(text));
}


x86 assembly (clang, -O0):
<help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
lea    0xed1(%rip),%rax
mov    %rax,-0x8(%rbp)
mov    0x2eb6(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x14(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <strlen@plt>
mov    -0x14(%rbp),%edi
mov    -0x10(%rbp),%rsi
mov    %eax,%edx
call   1040 <write_exactly@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<help>:
push   %r14
push   %rbx
push   %rax
mov    0x2ec5(%rip),%rax
mov    (%rax),%ebx
lea    0xecc(%rip),%r14
mov    %r14,%rdi
call   1030 <strlen@plt>
mov    %ebx,%edi
mov    %r14,%rsi
mov    %eax,%edx
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1040 <write_exactly@plt>

LLVM IR (-O0):
@.str = [297 x i8] c"concurrent [-l N] [-b N] [-r N] [-i] COMMAND\0A-l N : Limit concurrency to N jobs (default: #cores)\0A-b N : Batch size of N lines (default: 1)\0A-r N : Retry failed jobs N times (default: 0)\0A-i : Ignore job failures (default: abort)\0A-v : Verbose logging (default: off)\0A-vv : More verbose logging\0A\00"
@STDOUT_FILENO = global i32 0
define void @help() {
%1 = alloca i8*
store i8* getelementptr inbounds ([297 x i8], [297 x i8]* @.str, i64 0, i64 0), i8** %1
%2 = load i32, i32* @STDOUT_FILENO
%3 = load i8*, i8** %1
%4 = load i8*, i8** %1
%5 = call i32 @strlen(i8* %4)
%6 = call i32 @write_exactly(i32 %2, i8* %3, i32 %5)
ret void
}

LLVM IR (-O2):
@.str = [297 x i8] c"concurrent [-l N] [-b N] [-r N] [-i] COMMAND\0A-l N : Limit concurrency to N jobs (default: #cores)\0A-b N : Batch size of N lines (default: 1)\0A-r N : Retry failed jobs N times (default: 0)\0A-i : Ignore job failures (default: abort)\0A-v : Verbose logging (default: off)\0A-vv : More verbose logging\0A\00"
@STDOUT_FILENO = global i32 0
define void @help() {
%1 = load i32, i32* @STDOUT_FILENO
%2 = tail call i32 @strlen(i8* getelementptr inbounds ([297 x i8], [297 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @write_exactly(i32 %1, i8* getelementptr inbounds ([297 x i8], [297 x i8]* @.str, i64 0, i64 0), i32 %2)
ret void
}