#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*/ fprintf(int /*<<< orphan*/, char *, char *, char *, char *);
int /*<<< orphan*/ stderr;
void print_usage() {
  fprintf(stderr,
          "Usage: as_root chmod <filepath> <mode>\n"
          "       as_root chown <filepath> <owner> <group>\n"
          "       as_root copy <from_filepath> <to_filepath>\n"
          "       as_root delete <filepath>\n"
          "       as_root move <from_filepath> <to_filepath>\n"
          "       as_root read <filepath>\n"
          "\n"
          "       Note that only filepaths with the following prefixes are "
          "permitted:\n"
          "       * \"%s\"\n"
          "       * \"%s\"\n"
          "       * \"%s\"\n",
          "/var/mobile/Library/Logs/CrashReporter",
          "/Library/Logs/CrashReporter", "/tmp/");
}


x86 assembly (clang, -O0):
<print_usage>:
push   %rbp
mov    %rsp,%rbp
mov    0x2ec5(%rip),%rax
mov    (%rax),%edi
lea    0xedc(%rip),%rsi
lea    0x1047(%rip),%rdx
lea    0x104b(%rip),%rcx
lea    0x1060(%rip),%r8
call   1030 <fprintf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_usage>:
mov    0x2ec9(%rip),%rax
mov    (%rax),%edi
lea    0xee0(%rip),%rsi
lea    0x104b(%rip),%rdx
lea    0x104f(%rip),%rcx
lea    0x1064(%rip),%r8
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [370 x i8] c"Usage: as_root chmod <filepath> <mode>\0A as_root chown <filepath> <owner> <group>\0A as_root copy <from_filepath> <to_filepath>\0A as_root delete <filepath>\0A as_root move <from_filepath> <to_filepath>\0A as_root read <filepath>\0A\0A Note that only filepaths with the following prefixes are permitted:\0A * \22%s\22\0A * \22%s\22\0A * \22%s\22\0A\00"
@.str.1 = [39 x i8] c"/var/mobile/Library/Logs/CrashReporter\00"
@.str.2 = [28 x i8] c"/Library/Logs/CrashReporter\00"
@.str.3 = [6 x i8] c"/tmp/\00"
define void @print_usage() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([370 x i8], [370 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [370 x i8] c"Usage: as_root chmod <filepath> <mode>\0A as_root chown <filepath> <owner> <group>\0A as_root copy <from_filepath> <to_filepath>\0A as_root delete <filepath>\0A as_root move <from_filepath> <to_filepath>\0A as_root read <filepath>\0A\0A Note that only filepaths with the following prefixes are permitted:\0A * \22%s\22\0A * \22%s\22\0A * \22%s\22\0A\00"
@.str.1 = [39 x i8] c"/var/mobile/Library/Logs/CrashReporter\00"
@.str.2 = [28 x i8] c"/Library/Logs/CrashReporter\00"
@.str.3 = [6 x i8] c"/tmp/\00"
define void @print_usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([370 x i8], [370 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
ret void
}