#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*/ printf(char *);
int /*<<< orphan*/ scanf(char *, int *);
int /*<<< orphan*/ system(char *);
int main() {
  printf("ÇëÊäÈëµÚÒ»¸öÊý£º");
  int a = 0;
  scanf("%d", &a);
  printf("ÇëÊäÈëµÚÒ»¸öÊý£º");
  int b = 0;
  scanf("%d", &b);
  if (a > b) {
    printf("µÚÒ»¸öÊý´óÓÚµÚ¶þ¸öÊý");
  } else {
    printf("µÚÒ»¸öÊýÐ¡ÓÚµÚ¶þ¸öÊý");
  }
  system("pause");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeba(%rip),%rdi
call   1040 <printf@plt>
movl   $0x0,-0x8(%rbp)
lea    0xec8(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1050 <scanf@plt>
lea    0xe97(%rip),%rdi
call   1040 <printf@plt>
movl   $0x0,-0xc(%rbp)
lea    0xea5(%rip),%rdi
lea    -0xc(%rbp),%rsi
call   1050 <scanf@plt>
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
jle    11a2 <main+0x72>
lea    0xe8c(%rip),%rdi
call   1040 <printf@plt>
jmp    11ae <main+0x7e>
lea    0xea4(%rip),%rdi
call   1040 <printf@plt>
lea    0xec1(%rip),%rdi
call   1030 <system@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
push   %rax
lea    0xec5(%rip),%rbx
mov    %rbx,%rdi
call   1040 <printf@plt>
movl   $0x0,0x4(%rsp)
lea    0xecf(%rip),%r14
lea    0x4(%rsp),%rsi
mov    %r14,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
call   1040 <printf@plt>
movl   $0x0,(%rsp)
mov    %rsp,%rsi
mov    %r14,%rdi
call   1050 <scanf@plt>
mov    0x4(%rsp),%eax
cmp    (%rsp),%eax
lea    0xe9d(%rip),%rax
lea    0xebf(%rip),%rdi
cmovg  %rax,%rdi
call   1040 <printf@plt>
lea    0xed8(%rip),%rdi
call   1030 <system@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [33 x i8] c"\C3\87\C3\AB\C3\8A\C3\A4\C3\88\C3\AB\C2\B5\C3\9A\C3\92\C2\BB\C2\B8\C3\B6\C3\8A\C3\BD\C2\A3\C2\BA\00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [41 x i8] c"\C2\B5\C3\9A\C3\92\C2\BB\C2\B8\C3\B6\C3\8A\C3\BD\C2\B4\C3\B3\C3\93\C3\9A\C2\B5\C3\9A\C2\B6\C3\BE\C2\B8\C3\B6\C3\8A\C3\BD\00"
@.str.3 = [41 x i8] c"\C2\B5\C3\9A\C3\92\C2\BB\C2\B8\C3\B6\C3\8A\C3\BD\C3\90\C2\A1\C3\93\C3\9A\C2\B5\C3\9A\C2\B6\C3\BE\C2\B8\C3\B6\C3\8A\C3\BD\00"
@.str.4 = [6 x i8] c"pause\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
store i32 0, i32* %1
%4 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %2
%5 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%6 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %3
%7 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %3)
%8 = load i32, i32* %2
%9 = load i32, i32* %3
%10 = icmp sgt i32 %8, %9
br i1 %10, label %11, label %13
11: ; preds = %0
%12 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.2, i64 0, i64 0))
br label %15
13: ; preds = %0
%14 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0))
br label %15
15: ; preds = %13, %11
%16 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [33 x i8] c"\C3\87\C3\AB\C3\8A\C3\A4\C3\88\C3\AB\C2\B5\C3\9A\C3\92\C2\BB\C2\B8\C3\B6\C3\8A\C3\BD\C2\A3\C2\BA\00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [41 x i8] c"\C2\B5\C3\9A\C3\92\C2\BB\C2\B8\C3\B6\C3\8A\C3\BD\C2\B4\C3\B3\C3\93\C3\9A\C2\B5\C3\9A\C2\B6\C3\BE\C2\B8\C3\B6\C3\8A\C3\BD\00"
@.str.3 = [41 x i8] c"\C2\B5\C3\9A\C3\92\C2\BB\C2\B8\C3\B6\C3\8A\C3\BD\C3\90\C2\A1\C3\93\C3\9A\C2\B5\C3\9A\C2\B6\C3\BE\C2\B8\C3\B6\C3\8A\C3\BD\00"
@.str.4 = [6 x i8] c"pause\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
%4 = bitcast i32* %1 to i8*
store i32 0, i32* %1
%5 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%6 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
%7 = bitcast i32* %2 to i8*
store i32 0, i32* %2
%8 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%9 = load i32, i32* %1
%10 = load i32, i32* %2
%11 = icmp sgt i32 %9, %10
%12 = select i1 %11, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.3, i64 0, i64 0)
%13 = call i32 @printf(i8* dereferenceable(1) %12)
%14 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
ret i32 0
}