#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*/ exit(int);
int /*<<< orphan*/ printf(char *);
void exit_with_help(void) {
  printf("\n  \033[1mUSAGE\033[0m\n\n    icfcreate [OPTION...]\n\n"
         "  \033[1mREQUIRED OPTIONS\033[0m\n\n"
         "    --positive-list : text file contains a list of positive files in "
         "format:\n"
         "                      <file name> center-x center-y "
         "horizontal-axis-length vertical-axis-length object-roll object-pitch "
         "object-yaw \\newline\n"
         "    --positive-count : the number of positive examples we should "
         "collect from positive files with certain distortion\n"
         "    --validate-list : text file contains a list of positive files in "
         "following format but only used for soft cascading:\n"
         "                      <file name> center-x center-y "
         "horizontal-axis-length vertical-axis-length object-roll object-pitch "
         "object-yaw \\newline\n"
         "    --acceptance : what percentage of validate examples that we "
         "should accept for soft cascading\n"
         "    --background-list : text file contains a list of image files "
         "that don't contain any target objects\n"
         "    --negative-count : the number of negative examples we should "
         "collect from background files for boosting\n"
         "    --size : size of object in pixel formatted as WxH\n"
         "    --feature-size : the number of features that we randomly "
         "generates and later pooling from\n"
         "    --weak-classifier-count : the number of weak classifiers in the "
         "boosted model\n"
         "    --working-dir : the directory to save progress and produce "
         "result model\n\n"
         "  \033[1mOTHER OPTIONS\033[0m\n\n"
         "    --base-dir : change the base directory so that the program can "
         "read images from there\n"
         "    --grayscale : 0 or 1, whether to exploit color in a given image "
         "[DEFAULT TO 0]\n"
         "    --margin : margin for object when extracting from given images, "
         "formatted as left,top,right,bottom\n"
         "    --deform-shift : translation distortion range in pixels [DEFAULT "
         "TO 1]\n"
         "    --deform-angle : rotation distortion range in degrees [DEFAULT "
         "TO 0]\n"
         "    --deform-scale : scale distortion range [DEFAULT TO 0.075]\n"
         "    --min-dimension : the minimum dimension of one icf feature "
         "[DEFAULT TO 2]\n"
         "    --bootstrap : the number of bootstrap stages for negative "
         "example generations [DEFAULT TO 3]\n\n");
  exit(-1);
}


x86 assembly (clang, -O0):
<exit_with_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
mov    $0xffffffff,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<exit_with_help>:
push   %rax
lea    0xed8(%rip),%rdi
call   1030 <puts@plt>
mov    $0xffffffff,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [1973 x i8] c"\0A \1B[1mUSAGE\1B[0m\0A\0A icfcreate [OPTION...]\0A\0A \1B[1mREQUIRED OPTIONS\1B[0m\0A\0A --positive-list : text file contains a list of positive files in format:\0A <file name> center-x center-y horizontal-axis-length vertical-axis-length object-roll object-pitch object-yaw \\newline\0A --positive-count : the number of positive examples we should collect from positive files with certain distortion\0A --validate-list : text file contains a list of positive files in following format but only used for soft cascading:\0A <file name> center-x center-y horizontal-axis-length vertical-axis-length object-roll object-pitch object-yaw \\newline\0A --acceptance : what percentage of validate examples that we should accept for soft cascading\0A --background-list : text file contains a list of image files that don't contain any target objects\0A --negative-count : the number of negative examples we should collect from background files for boosting\0A --size : size of object in pixel formatted as WxH\0A --feature-size : the number of features that we randomly generates and later pooling from\0A --weak-classifier-count : the number of weak classifiers in the boosted model\0A --working-dir : the directory to save progress and produce result model\0A\0A \1B[1mOTHER OPTIONS\1B[0m\0A\0A --base-dir : change the base directory so that the program can read images from there\0A --grayscale : 0 or 1, whether to exploit color in a given image [DEFAULT TO 0]\0A --margin : margin for object when extracting from given images, formatted as left,top,right,bottom\0A --deform-shift : translation distortion range in pixels [DEFAULT TO 1]\0A --deform-angle : rotation distortion range in degrees [DEFAULT TO 0]\0A --deform-scale : scale distortion range [DEFAULT TO 0.075]\0A --min-dimension : the minimum dimension of one icf feature [DEFAULT TO 2]\0A --bootstrap : the number of bootstrap stages for negative example generations [DEFAULT TO 3]\0A\0A\00"
define void @exit_with_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([1973 x i8], [1973 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @exit(i32 -1)
unreachable
}

LLVM IR (-O2):
@str = [1972 x i8] c"\0A \1B[1mUSAGE\1B[0m\0A\0A icfcreate [OPTION...]\0A\0A \1B[1mREQUIRED OPTIONS\1B[0m\0A\0A --positive-list : text file contains a list of positive files in format:\0A <file name> center-x center-y horizontal-axis-length vertical-axis-length object-roll object-pitch object-yaw \\newline\0A --positive-count : the number of positive examples we should collect from positive files with certain distortion\0A --validate-list : text file contains a list of positive files in following format but only used for soft cascading:\0A <file name> center-x center-y horizontal-axis-length vertical-axis-length object-roll object-pitch object-yaw \\newline\0A --acceptance : what percentage of validate examples that we should accept for soft cascading\0A --background-list : text file contains a list of image files that don't contain any target objects\0A --negative-count : the number of negative examples we should collect from background files for boosting\0A --size : size of object in pixel formatted as WxH\0A --feature-size : the number of features that we randomly generates and later pooling from\0A --weak-classifier-count : the number of weak classifiers in the boosted model\0A --working-dir : the directory to save progress and produce result model\0A\0A \1B[1mOTHER OPTIONS\1B[0m\0A\0A --base-dir : change the base directory so that the program can read images from there\0A --grayscale : 0 or 1, whether to exploit color in a given image [DEFAULT TO 0]\0A --margin : margin for object when extracting from given images, formatted as left,top,right,bottom\0A --deform-shift : translation distortion range in pixels [DEFAULT TO 1]\0A --deform-angle : rotation distortion range in degrees [DEFAULT TO 0]\0A --deform-scale : scale distortion range [DEFAULT TO 0.075]\0A --min-dimension : the minimum dimension of one icf feature [DEFAULT TO 2]\0A --bootstrap : the number of bootstrap stages for negative example generations [DEFAULT TO 3]\0A\00"
define void @exit_with_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([1972 x i8], [1972 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @exit(i32 -1)
unreachable
}