#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*/ execlp(char *, char *, char *, char const *, char *, char *,
                          char *, char *, char *, char *, char *, char *,
                          char *, char *, char *, char *, char const *, char *);
void create_webm(const char *infile, const char *outfile) {
  execlp("ffmpeg", "ffmpeg", "-i", infile, "-speed", "3", "-filter:v", "yadif",
         "-crf", "10", "-c:v", "libvpx", "-b:v", "1200k", "-b:a", "160k",
         outfile, (char *)NULL);
}


x86 assembly (clang, -O0):
<create_webm>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x88,%rsp
mov    %rdi,-0x30(%rbp)
mov    %rsi,-0x38(%rbp)
mov    -0x30(%rbp),%rcx
mov    -0x38(%rbp),%rax
mov    %rax,-0x40(%rbp)
lea    0xec1(%rip),%rsi
lea    0xec1(%rip),%rdx
lea    0xebd(%rip),%r8
lea    0xebd(%rip),%r9
lea    0xeb8(%rip),%rax
lea    0xebb(%rip),%rdi
mov    %rdi,-0x50(%rbp)
lea    0xeb6(%rip),%rdi
mov    %rdi,-0x48(%rbp)
lea    0xeb0(%rip),%r13
lea    0xeac(%rip),%r12
lea    0xeaa(%rip),%r15
lea    0xeaa(%rip),%r14
lea    0xea8(%rip),%rbx
lea    0xea7(%rip),%r11
lea    0xea5(%rip),%r10
xor    %edi,%edi
mov    %rsi,%rdi
mov    %rax,(%rsp)
mov    -0x50(%rbp),%rax
mov    %rax,0x8(%rsp)
mov    -0x48(%rbp),%rax
mov    %rax,0x10(%rsp)
mov    -0x40(%rbp),%rax
mov    %r13,0x18(%rsp)
mov    %r12,0x20(%rsp)
mov    %r15,0x28(%rsp)
mov    %r14,0x30(%rsp)
mov    %rbx,0x38(%rsp)
mov    %r11,0x40(%rsp)
mov    %r10,0x48(%rsp)
mov    %rax,0x50(%rsp)
movq   $0x0,0x58(%rsp)
call   1030 <execlp@plt>
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<create_webm>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%rax
mov    %rdi,%rcx
lea    0xf1f(%rip),%rbx
lea    0xf13(%rip),%r15
lea    0xf06(%rip),%r12
lea    0xefa(%rip),%r13
lea    0xeec(%rip),%rbp
lea    0xee0(%rip),%r10
lea    0xed6(%rip),%r11
lea    0xeca(%rip),%r14
lea    0xea0(%rip),%rdi
lea    0xea0(%rip),%rdx
lea    0xe9c(%rip),%r8
lea    0xe9c(%rip),%r9
mov    %rdi,%rsi
push   $0x0
push   %rax
push   %rbx
push   %r15
push   %r12
push   %r13
push   %rbp
push   %r10
push   %r11
push   %r14
lea    0xe8d(%rip),%rax
push   %rax
lea    0xe7b(%rip),%rax
push   %rax
call   1030 <execlp@plt>
add    $0x68,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [7 x i8] c"ffmpeg\00"
@.str.1 = [3 x i8] c"-i\00"
@.str.2 = [7 x i8] c"-speed\00"
@.str.3 = [2 x i8] c"3\00"
@.str.4 = [10 x i8] c"-filter:v\00"
@.str.5 = [6 x i8] c"yadif\00"
@.str.6 = [5 x i8] c"-crf\00"
@.str.7 = [3 x i8] c"10\00"
@.str.8 = [5 x i8] c"-c:v\00"
@.str.9 = [7 x i8] c"libvpx\00"
@.str.10 = [5 x i8] c"-b:v\00"
@.str.11 = [6 x i8] c"1200k\00"
@.str.12 = [5 x i8] c"-b:a\00"
@.str.13 = [5 x i8] c"160k\00"
define void @create_webm(i8* %0, i8* %1) {
%3 = alloca i8*
%4 = alloca i8*
store i8* %0, i8** %3
store i8* %1, i8** %4
%5 = load i8*, i8** %3
%6 = load i8*, i8** %4
%7 = call i32 @execlp(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8* %5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0), i8* %6, i8* null)
ret void
}

LLVM IR (-O2):
@.str = [7 x i8] c"ffmpeg\00"
@.str.1 = [3 x i8] c"-i\00"
@.str.2 = [7 x i8] c"-speed\00"
@.str.3 = [2 x i8] c"3\00"
@.str.4 = [10 x i8] c"-filter:v\00"
@.str.5 = [6 x i8] c"yadif\00"
@.str.6 = [5 x i8] c"-crf\00"
@.str.7 = [3 x i8] c"10\00"
@.str.8 = [5 x i8] c"-c:v\00"
@.str.9 = [7 x i8] c"libvpx\00"
@.str.10 = [5 x i8] c"-b:v\00"
@.str.11 = [6 x i8] c"1200k\00"
@.str.12 = [5 x i8] c"-b:a\00"
@.str.13 = [5 x i8] c"160k\00"
define void @create_webm(i8* %0, i8* %1) {
%3 = tail call i32 @execlp(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0), i8* %1, i8* null)
ret void
}