#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*/ avifPrintVersions();
int /*<<< orphan*/ printf(char *, ...);
void syntax(void) {
  printf("Syntax: avifenc [options] input.[jpg|jpeg|png|y4m] output.avif\n");
  printf("Options:\n");
  printf("    -h,--help                         : Show syntax help\n");
  printf("    -j,--jobs J                       : Number of jobs (worker "
         "threads, default: 1)\n");
  printf(
      "    -l,--lossless                     : Set all defaults to encode "
      "losslessly, and emit warnings when settings/input don't allow for it\n");
  printf("    -d,--depth D                      : Output depth [8,10,12]. "
         "(JPEG/PNG only; For y4m, depth is retained)\n");
  printf("    -y,--yuv FORMAT                   : Output format [default=444, "
         "422, 420]. (JPEG/PNG only; For y4m, format is retained)\n");
  printf("    --cicp,--nclx P/T/M               : Set CICP values (nclx colr "
         "box) (3 raw numbers, use -r to set range flag)\n");
  printf(
      "                                        P = enum avifColorPrimaries\n");
  printf("                                        T = enum "
         "avifTransferCharacteristics\n");
  printf("                                        M = enum "
         "avifMatrixCoefficients\n");
  printf("                                        (use 2 for any you wish to "
         "leave unspecified)\n");
  printf(
      "    -r,--range RANGE                  : YUV range [limited or l, full "
      "or f]. (JPEG/PNG only, default: full; For y4m, range is retained)\n");
  printf("    --min Q                           : Set min quantizer for color "
         "(%d-%d, where %d is lossless)\n",
         0, 63, 0);
  printf("    --max Q                           : Set max quantizer for color "
         "(%d-%d, where %d is lossless)\n",
         0, 63, 0);
  printf("    --minalpha Q                      : Set min quantizer for alpha "
         "(%d-%d, where %d is lossless)\n",
         0, 63, 0);
  printf("    --maxalpha Q                      : Set max quantizer for alpha "
         "(%d-%d, where %d is lossless)\n",
         0, 63, 0);
  printf("    -s,--speed S                      : Encoder speed (%d-%d, "
         "slowest-fastest, 'default' or 'd' for codec internal defaults. "
         "default speed: 8)\n",
         0, 10);
  printf("    -c,--codec C                      : AV1 codec to use (choose "
         "from versions list below)\n");
  printf("    --pasp H,V                        : Add pasp property (aspect "
         "ratio). H=horizontal spacing, V=vertical spacing\n");
  printf("    --clap WN,WD,HN,HD,HON,HOD,VON,VOD: Add clap property (clean "
         "aperture). Width, Height, HOffset, VOffset (in num/denom pairs)\n");
  printf(
      "    --irot ANGLE                      : Add irot property (rotation). "
      "[0-3], makes (90 * ANGLE) degree rotation anti-clockwise\n");
  printf("    --imir AXIS                       : Add imir property "
         "(mirroring). 0=vertical, 1=horizontal\n");
  printf("\n");
  avifPrintVersions();
}


x86 assembly (clang, -O0):
<syntax>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf07(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf03(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf2f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf76(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xff1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1050(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10bf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1124(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x115b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x119b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11d6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x121f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x129a(%rip),%rdi
xor    %ecx,%ecx
mov    $0x3f,%edx
mov    %ecx,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x12e6(%rip),%rdi
xor    %ecx,%ecx
mov    $0x3f,%edx
mov    %ecx,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1332(%rip),%rdi
xor    %ecx,%ecx
mov    $0x3f,%edx
mov    %ecx,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x137e(%rip),%rdi
xor    %ecx,%ecx
mov    $0x3f,%edx
mov    %ecx,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x13ca(%rip),%rdi
xor    %esi,%esi
mov    $0xa,%edx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1445(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1493(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x14f9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x156d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x15df(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe3f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1040 <avifPrintVersions@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<syntax>:
push   %rax
lea    0x10d4(%rip),%rdi
call   1040 <puts@plt>
lea    0x1107(%rip),%rdi
call   1040 <puts@plt>
lea    0x1104(%rip),%rdi
call   1040 <puts@plt>
lea    0x1131(%rip),%rdi
call   1040 <puts@plt>
lea    0x1179(%rip),%rdi
call   1040 <puts@plt>
lea    0x11f5(%rip),%rdi
call   1040 <puts@plt>
lea    0x1255(%rip),%rdi
call   1040 <puts@plt>
lea    0x12c5(%rip),%rdi
call   1040 <puts@plt>
lea    0x132b(%rip),%rdi
call   1040 <puts@plt>
lea    0x1363(%rip),%rdi
call   1040 <puts@plt>
lea    0x13a4(%rip),%rdi
call   1040 <puts@plt>
lea    0x13e0(%rip),%rdi
call   1040 <puts@plt>
lea    0x142a(%rip),%rdi
call   1040 <puts@plt>
lea    0xe1c(%rip),%rdi
xor    %esi,%esi
mov    $0x3f,%edx
xor    %ecx,%ecx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe68(%rip),%rdi
xor    %esi,%esi
mov    $0x3f,%edx
xor    %ecx,%ecx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xeb4(%rip),%rdi
xor    %esi,%esi
mov    $0x3f,%edx
xor    %ecx,%ecx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xf00(%rip),%rdi
xor    %esi,%esi
mov    $0x3f,%edx
xor    %ecx,%ecx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xf4c(%rip),%rdi
xor    %esi,%esi
mov    $0xa,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x1435(%rip),%rdi
call   1040 <puts@plt>
lea    0x1484(%rip),%rdi
call   1040 <puts@plt>
lea    0x14eb(%rip),%rdi
call   1040 <puts@plt>
lea    0x1560(%rip),%rdi
call   1040 <puts@plt>
lea    0x15d3(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
pop    %rcx
jmp    1060 <avifPrintVersions@plt>

LLVM IR (-O0):
@.str = [64 x i8] c"Syntax: avifenc [options] input.[jpg|jpeg|png|y4m] output.avif\0A\00"
@.str.1 = [10 x i8] c"Options:\0A\00"
@.str.2 = [58 x i8] c" -h,--help : Show syntax help\0A\00"
@.str.3 = [85 x i8] c" -j,--jobs J : Number of jobs (worker threads, default: 1)\0A\00"
@.str.4 = [137 x i8] c" -l,--lossless : Set all defaults to encode losslessly, and emit warnings when settings/input don't allow for it\0A\00"
@.str.5 = [109 x i8] c" -d,--depth D : Output depth [8,10,12]. (JPEG/PNG only; For y4m, depth is retained)\0A\00"
@.str.6 = [125 x i8] c" -y,--yuv FORMAT : Output format [default=444, 422, 420]. (JPEG/PNG only; For y4m, format is retained)\0A\00"
@.str.7 = [115 x i8] c" --cicp,--nclx P/T/M : Set CICP values (nclx colr box) (3 raw numbers, use -r to set range flag)\0A\00"
@.str.8 = [69 x i8] c" P = enum avifColorPrimaries\0A\00"
@.str.9 = [78 x i8] c" T = enum avifTransferCharacteristics\0A\00"
@.str.10 = [73 x i8] c" M = enum avifMatrixCoefficients\0A\00"
@.str.11 = [87 x i8] c" (use 2 for any you wish to leave unspecified)\0A\00"
@.str.12 = [137 x i8] c" -r,--range RANGE : YUV range [limited or l, full or f]. (JPEG/PNG only, default: full; For y4m, range is retained)\0A\00"
@.str.13 = [99 x i8] c" --min Q : Set min quantizer for color (%d-%d, where %d is lossless)\0A\00"
@.str.14 = [99 x i8] c" --max Q : Set max quantizer for color (%d-%d, where %d is lossless)\0A\00"
@.str.15 = [99 x i8] c" --minalpha Q : Set min quantizer for alpha (%d-%d, where %d is lossless)\0A\00"
@.str.16 = [99 x i8] c" --maxalpha Q : Set max quantizer for alpha (%d-%d, where %d is lossless)\0A\00"
@.str.17 = [144 x i8] c" -s,--speed S : Encoder speed (%d-%d, slowest-fastest, 'default' or 'd' for codec internal defaults. default speed: 8)\0A\00"
@.str.18 = [92 x i8] c" -c,--codec C : AV1 codec to use (choose from versions list below)\0A\00"
@.str.19 = [116 x i8] c" --pasp H,V : Add pasp property (aspect ratio). H=horizontal spacing, V=vertical spacing\0A\00"
@.str.20 = [130 x i8] c" --clap WN,WD,HN,HD,HON,HOD,VON,VOD: Add clap property (clean aperture). Width, Height, HOffset, VOffset (in num/denom pairs)\0A\00"
@.str.21 = [128 x i8] c" --irot ANGLE : Add irot property (rotation). [0-3], makes (90 * ANGLE) degree rotation anti-clockwise\0A\00"
@.str.22 = [97 x i8] c" --imir AXIS : Add imir property (mirroring). 0=vertical, 1=horizontal\0A\00"
@.str.23 = [2 x i8] c"\0A\00"
define void @syntax() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([137 x i8], [137 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([109 x i8], [109 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([125 x i8], [125 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([115 x i8], [115 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([87 x i8], [87 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([137 x i8], [137 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([99 x i8], [99 x i8]* @.str.13, i64 0, i64 0), i32 0, i32 63, i32 0)
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([99 x i8], [99 x i8]* @.str.14, i64 0, i64 0), i32 0, i32 63, i32 0)
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([99 x i8], [99 x i8]* @.str.15, i64 0, i64 0), i32 0, i32 63, i32 0)
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([99 x i8], [99 x i8]* @.str.16, i64 0, i64 0), i32 0, i32 63, i32 0)
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([144 x i8], [144 x i8]* @.str.17, i64 0, i64 0), i32 0, i32 10)
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([92 x i8], [92 x i8]* @.str.18, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([116 x i8], [116 x i8]* @.str.19, i64 0, i64 0))
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([130 x i8], [130 x i8]* @.str.20, i64 0, i64 0))
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([128 x i8], [128 x i8]* @.str.21, i64 0, i64 0))
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([97 x i8], [97 x i8]* @.str.22, i64 0, i64 0))
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.23, i64 0, i64 0))
%25 = call i32 (...) @avifPrintVersions()
ret void
}

LLVM IR (-O2):
@.str.13 = [99 x i8] c" --min Q : Set min quantizer for color (%d-%d, where %d is lossless)\0A\00"
@.str.14 = [99 x i8] c" --max Q : Set max quantizer for color (%d-%d, where %d is lossless)\0A\00"
@.str.15 = [99 x i8] c" --minalpha Q : Set min quantizer for alpha (%d-%d, where %d is lossless)\0A\00"
@.str.16 = [99 x i8] c" --maxalpha Q : Set max quantizer for alpha (%d-%d, where %d is lossless)\0A\00"
@.str.17 = [144 x i8] c" -s,--speed S : Encoder speed (%d-%d, slowest-fastest, 'default' or 'd' for codec internal defaults. default speed: 8)\0A\00"
@str = [63 x i8] c"Syntax: avifenc [options] input.[jpg|jpeg|png|y4m] output.avif\00"
@str.24 = [9 x i8] c"Options:\00"
@str.25 = [57 x i8] c" -h,--help : Show syntax help\00"
@str.26 = [84 x i8] c" -j,--jobs J : Number of jobs (worker threads, default: 1)\00"
@str.27 = [136 x i8] c" -l,--lossless : Set all defaults to encode losslessly, and emit warnings when settings/input don't allow for it\00"
@str.28 = [108 x i8] c" -d,--depth D : Output depth [8,10,12]. (JPEG/PNG only; For y4m, depth is retained)\00"
@str.29 = [124 x i8] c" -y,--yuv FORMAT : Output format [default=444, 422, 420]. (JPEG/PNG only; For y4m, format is retained)\00"
@str.30 = [114 x i8] c" --cicp,--nclx P/T/M : Set CICP values (nclx colr box) (3 raw numbers, use -r to set range flag)\00"
@str.31 = [68 x i8] c" P = enum avifColorPrimaries\00"
@str.32 = [77 x i8] c" T = enum avifTransferCharacteristics\00"
@str.33 = [72 x i8] c" M = enum avifMatrixCoefficients\00"
@str.34 = [86 x i8] c" (use 2 for any you wish to leave unspecified)\00"
@str.35 = [136 x i8] c" -r,--range RANGE : YUV range [limited or l, full or f]. (JPEG/PNG only, default: full; For y4m, range is retained)\00"
@str.36 = [91 x i8] c" -c,--codec C : AV1 codec to use (choose from versions list below)\00"
@str.37 = [115 x i8] c" --pasp H,V : Add pasp property (aspect ratio). H=horizontal spacing, V=vertical spacing\00"
@str.38 = [129 x i8] c" --clap WN,WD,HN,HD,HON,HOD,VON,VOD: Add clap property (clean aperture). Width, Height, HOffset, VOffset (in num/denom pairs)\00"
@str.39 = [127 x i8] c" --irot ANGLE : Add irot property (rotation). [0-3], makes (90 * ANGLE) degree rotation anti-clockwise\00"
@str.40 = [96 x i8] c" --imir AXIS : Add imir property (mirroring). 0=vertical, 1=horizontal\00"
define void @syntax() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.24, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.25, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([84 x i8], [84 x i8]* @str.26, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([136 x i8], [136 x i8]* @str.27, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([108 x i8], [108 x i8]* @str.28, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([124 x i8], [124 x i8]* @str.29, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([114 x i8], [114 x i8]* @str.30, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.31, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.32, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.33, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([86 x i8], [86 x i8]* @str.34, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([136 x i8], [136 x i8]* @str.35, i64 0, i64 0))
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([99 x i8], [99 x i8]* @.str.13, i64 0, i64 0), i32 0, i32 63, i32 0)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([99 x i8], [99 x i8]* @.str.14, i64 0, i64 0), i32 0, i32 63, i32 0)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([99 x i8], [99 x i8]* @.str.15, i64 0, i64 0), i32 0, i32 63, i32 0)
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([99 x i8], [99 x i8]* @.str.16, i64 0, i64 0), i32 0, i32 63, i32 0)
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([144 x i8], [144 x i8]* @.str.17, i64 0, i64 0), i32 0, i32 10)
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([91 x i8], [91 x i8]* @str.36, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([115 x i8], [115 x i8]* @str.37, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([129 x i8], [129 x i8]* @str.38, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([127 x i8], [127 x i8]* @str.39, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([96 x i8], [96 x i8]* @str.40, i64 0, i64 0))
%24 = tail call i32 @putchar(i32 10)
%25 = tail call i32 (...) @avifPrintVersions()
ret void
}