#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 /*<<< orphan*/);
int /*<<< orphan*/ puts(char *);
void HelpScalerMode(void) {
  puts("possible image scaler modes are:");
  puts("");
  puts("\toff      ... scaler off");
  puts("\tnormal   ... scale up 4:3 to 19:9 by adding black borders");
  puts("\tzoom     ... scale up 4:3 to 19:9 by cutting edges");
  puts("\tfull     ... strech 4:3 to 19:9 full screen");
  puts("\tstrech   ... strech 4:3 to 16:9 unscaled");
  puts("\twide1    ... strech 4:3 to 19:9 but keep aspect ratio in the center");
  puts("\twide2    ... strech 16:9 with black borders to 16:9 without");
  puts("\tcaption  ... keep subtitles on the bottom visible");
  puts("");
  exit(0);
}


x86 assembly (clang, -O0):
<HelpScalerMode>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <puts@plt>
lea    0xee9(%rip),%rdi
call   1030 <puts@plt>
lea    0xede(%rip),%rdi
call   1030 <puts@plt>
lea    0xeeb(%rip),%rdi
call   1030 <puts@plt>
lea    0xf1a(%rip),%rdi
call   1030 <puts@plt>
lea    0xf42(%rip),%rdi
call   1030 <puts@plt>
lea    0xf63(%rip),%rdi
call   1030 <puts@plt>
lea    0xf81(%rip),%rdi
call   1030 <puts@plt>
lea    0xfba(%rip),%rdi
call   1030 <puts@plt>
lea    0xfeb(%rip),%rdi
call   1030 <puts@plt>
lea    0xe7d(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<HelpScalerMode>:
push   %rax
lea    0xec8(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xed3(%rip),%rdi
call   1040 <puts@plt>
lea    0xee0(%rip),%rdi
call   1040 <puts@plt>
lea    0xf0f(%rip),%rdi
call   1040 <puts@plt>
lea    0xf37(%rip),%rdi
call   1040 <puts@plt>
lea    0xf58(%rip),%rdi
call   1040 <puts@plt>
lea    0xf76(%rip),%rdi
call   1040 <puts@plt>
lea    0xfaf(%rip),%rdi
call   1040 <puts@plt>
lea    0xfe0(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [33 x i8] c"possible image scaler modes are:\00"
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [25 x i8] c"\09off ... scaler off\00"
@.str.3 = [59 x i8] c"\09normal ... scale up 4:3 to 19:9 by adding black borders\00"
@.str.4 = [52 x i8] c"\09zoom ... scale up 4:3 to 19:9 by cutting edges\00"
@.str.5 = [45 x i8] c"\09full ... strech 4:3 to 19:9 full screen\00"
@.str.6 = [42 x i8] c"\09strech ... strech 4:3 to 16:9 unscaled\00"
@.str.7 = [69 x i8] c"\09wide1 ... strech 4:3 to 19:9 but keep aspect ratio in the center\00"
@.str.8 = [61 x i8] c"\09wide2 ... strech 16:9 with black borders to 16:9 without\00"
@.str.9 = [51 x i8] c"\09caption ... keep subtitles on the bottom visible\00"
define void @HelpScalerMode() {
%1 = call i32 @puts(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @puts(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @puts(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @puts(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @puts(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @puts(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @puts(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @puts(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @puts(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%12 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str = [33 x i8] c"possible image scaler modes are:\00"
@.str.2 = [25 x i8] c"\09off ... scaler off\00"
@.str.3 = [59 x i8] c"\09normal ... scale up 4:3 to 19:9 by adding black borders\00"
@.str.4 = [52 x i8] c"\09zoom ... scale up 4:3 to 19:9 by cutting edges\00"
@.str.5 = [45 x i8] c"\09full ... strech 4:3 to 19:9 full screen\00"
@.str.6 = [42 x i8] c"\09strech ... strech 4:3 to 16:9 unscaled\00"
@.str.7 = [69 x i8] c"\09wide1 ... strech 4:3 to 19:9 but keep aspect ratio in the center\00"
@.str.8 = [61 x i8] c"\09wide2 ... strech 16:9 with black borders to 16:9 without\00"
@.str.9 = [51 x i8] c"\09caption ... keep subtitles on the bottom visible\00"
define void @HelpScalerMode() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @putchar(i32 10)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @putchar(i32 10)
%12 = tail call i32 @exit(i32 0)
unreachable
}