#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*/ int2unico(int, char *);
int /*<<< orphan*/ strcat(char *, char *);
void s_f_m(int s, int f, int m, char ch[]) {
  int2unico(s, ch);
  strcat(ch, "65F6");
  int2unico(f, ch);
  strcat(ch, "5206");
  int2unico(m, ch);
  strcat(ch, "79D2");
}


x86 assembly (clang, -O0):
<s_f_m>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    %rcx,-0x18(%rbp)
mov    -0x4(%rbp),%edi
mov    -0x18(%rbp),%rsi
call   1030 <int2unico@plt>
mov    -0x18(%rbp),%rdi
lea    0xeb4(%rip),%rsi
call   1040 <strcat@plt>
mov    -0x8(%rbp),%edi
mov    -0x18(%rbp),%rsi
call   1030 <int2unico@plt>
mov    -0x18(%rbp),%rdi
lea    0xe9d(%rip),%rsi
call   1040 <strcat@plt>
mov    -0xc(%rbp),%edi
mov    -0x18(%rbp),%rsi
call   1030 <int2unico@plt>
mov    -0x18(%rbp),%rdi
lea    0xe86(%rip),%rsi
call   1040 <strcat@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<s_f_m>:
push   %rbp
push   %r14
push   %rbx
mov    %rcx,%rbx
mov    %edx,%r14d
mov    %esi,%ebp
mov    %rcx,%rsi
call   1030 <int2unico@plt>
lea    0xec5(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcat@plt>
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <int2unico@plt>
lea    0xeb1(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcat@plt>
mov    %r14d,%edi
mov    %rbx,%rsi
call   1030 <int2unico@plt>
lea    0xe9c(%rip),%rsi
mov    %rbx,%rdi
pop    %rbx
pop    %r14
pop    %rbp
jmp    1040 <strcat@plt>

LLVM IR (-O0):
@.str = [5 x i8] c"65F6\00"
@.str.1 = [5 x i8] c"5206\00"
@.str.2 = [5 x i8] c"79D2\00"
define void @s_f_m(i32 %0, i32 %1, i32 %2, i8* %3) {
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i8*
store i32 %0, i32* %5
store i32 %1, i32* %6
store i32 %2, i32* %7
store i8* %3, i8** %8
%9 = load i32, i32* %5
%10 = load i8*, i8** %8
%11 = call i32 @int2unico(i32 %9, i8* %10)
%12 = load i8*, i8** %8
%13 = call i32 @strcat(i8* %12, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%14 = load i32, i32* %6
%15 = load i8*, i8** %8
%16 = call i32 @int2unico(i32 %14, i8* %15)
%17 = load i8*, i8** %8
%18 = call i32 @strcat(i8* %17, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%19 = load i32, i32* %7
%20 = load i8*, i8** %8
%21 = call i32 @int2unico(i32 %19, i8* %20)
%22 = load i8*, i8** %8
%23 = call i32 @strcat(i8* %22, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [5 x i8] c"65F6\00"
@.str.1 = [5 x i8] c"5206\00"
@.str.2 = [5 x i8] c"79D2\00"
define void @s_f_m(i32 %0, i32 %1, i32 %2, i8* %3) {
%5 = tail call i32 @int2unico(i32 %0, i8* %3)
%6 = tail call i32 @strcat(i8* %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%7 = tail call i32 @int2unico(i32 %1, i8* %3)
%8 = tail call i32 @strcat(i8* %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%9 = tail call i32 @int2unico(i32 %2, i8* %3)
%10 = tail call i32 @strcat(i8* %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
ret void
}