void xyzCode(x, y, z, g) char x[], y[], z[], g[];
{
  char b[255];
  if (isNumNull(x) && isNumNull(y) && isNumNull(z)) {
    b[0] = 0;
    if (x[0] != 0 && y[0] != 0 && z[0] != 0)
      sprintf(b, "%s X%s Y%s Z%s", g, x, y, z);
    else if (x[0] != 0 && y[0] != 0)
      sprintf(b, "%s X%s Y%s", g, x, y);
    else
      printf("This command requires at least two parameters\n");
    sendg(b);
  } else
    printf("Invalid parameter(s)\n");
}


x86 assembly (clang, -O0):
<xyzCode>:
push   %rbp
mov    %rsp,%rbp
sub    $0x120,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
mov    $0x0,%al
call   1060 <isNumNull@plt>
cmp    $0x0,%eax
je     1264 <xyzCode+0x124>
mov    -0x10(%rbp),%rdi
mov    $0x0,%al
call   1060 <isNumNull@plt>
cmp    $0x0,%eax
je     1264 <xyzCode+0x124>
mov    -0x18(%rbp),%rdi
mov    $0x0,%al
call   1060 <isNumNull@plt>
cmp    $0x0,%eax
je     1264 <xyzCode+0x124>
movb   $0x0,-0x120(%rbp)
mov    -0x8(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     11f8 <xyzCode+0xb8>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     11f8 <xyzCode+0xb8>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     11f8 <xyzCode+0xb8>
lea    -0x120(%rbp),%rdi
mov    -0x20(%rbp),%rdx
mov    -0x8(%rbp),%rcx
mov    -0x10(%rbp),%r8
mov    -0x18(%rbp),%r9
lea    0xe14(%rip),%rsi
mov    $0x0,%al
call   1040 <sprintf@plt>
jmp    1251 <xyzCode+0x111>
mov    -0x8(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     123e <xyzCode+0xfe>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     123e <xyzCode+0xfe>
lea    -0x120(%rbp),%rdi
mov    -0x20(%rbp),%rdx
mov    -0x8(%rbp),%rcx
mov    -0x10(%rbp),%r8
lea    0xddd(%rip),%rsi
mov    $0x0,%al
call   1040 <sprintf@plt>
jmp    124c <xyzCode+0x10c>
lea    0xdd5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1251 <xyzCode+0x111>
lea    -0x120(%rbp),%rdi
mov    $0x0,%al
call   1050 <sendg@plt>
jmp    1272 <xyzCode+0x132>
lea    0xdde(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x120,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<xyzCode>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x108,%rsp
mov    %rcx,%r14
mov    %rdx,%r12
mov    %rsi,%r15
mov    %rdi,%rbx
xor    %eax,%eax
call   1060 <isNumNull@plt>
test   %eax,%eax
je     11b6 <xyzCode+0x76>
mov    %r15,%rdi
xor    %eax,%eax
call   1060 <isNumNull@plt>
test   %eax,%eax
je     11b6 <xyzCode+0x76>
mov    %r12,%rdi
xor    %eax,%eax
call   1060 <isNumNull@plt>
test   %eax,%eax
je     11b6 <xyzCode+0x76>
movb   $0x0,(%rsp)
cmpb   $0x0,(%rbx)
je     11d0 <xyzCode+0x90>
cmpb   $0x0,(%r15)
je     11d0 <xyzCode+0x90>
cmpb   $0x0,(%r12)
je     11de <xyzCode+0x9e>
lea    0xe62(%rip),%rsi
mov    %rsp,%rdi
mov    %r14,%rdx
mov    %rbx,%rcx
mov    %r15,%r8
mov    %r12,%r9
xor    %eax,%eax
call   1040 <sprintf@plt>
jmp    11f8 <xyzCode+0xb8>
lea    0xe5d(%rip),%rdi
add    $0x108,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
jmp    1030 <puts@plt>
lea    0xe58(%rip),%rdi
call   1030 <puts@plt>
jmp    11f8 <xyzCode+0xb8>
lea    0xe2a(%rip),%rsi
mov    %rsp,%rdi
mov    %r14,%rdx
mov    %rbx,%rcx
mov    %r15,%r8
xor    %eax,%eax
call   1040 <sprintf@plt>
mov    %rsp,%rdi
xor    %eax,%eax
call   1050 <sendg@plt>
add    $0x108,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [15 x i8] c"%s X%s Y%s Z%s\00"
@.str.1 = [11 x i8] c"%s X%s Y%s\00"
@.str.2 = [47 x i8] c"This command requires at least two parameters\0A\00"
@.str.3 = [22 x i8] c"Invalid parameter(s)\0A\00"
define void @xyzCode(i8* %0, i8* %1, i8* %2, i8* %3) {
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca [255 x i8]
store i8* %0, i8** %5
store i8* %1, i8** %6
store i8* %2, i8** %7
store i8* %3, i8** %8
%10 = load i8*, i8** %5
%11 = call i32 (i8*, ...) bitcast (i32 (...)* @isNumNull to i32 (i8*, ...)*)(i8* %10)
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %71
13: ; preds = %4
%14 = load i8*, i8** %6
%15 = call i32 (i8*, ...) bitcast (i32 (...)* @isNumNull to i32 (i8*, ...)*)(i8* %14)
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %71
17: ; preds = %13
%18 = load i8*, i8** %7
%19 = call i32 (i8*, ...) bitcast (i32 (...)* @isNumNull to i32 (i8*, ...)*)(i8* %18)
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %71
21: ; preds = %17
%22 = getelementptr inbounds [255 x i8], [255 x i8]* %9, i64 0, i64 0
store i8 0, i8* %22
%23 = load i8*, i8** %5
%24 = getelementptr inbounds i8, i8* %23, i64 0
%25 = load i8, i8* %24
%26 = sext i8 %25 to i32
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %47
28: ; preds = %21
%29 = load i8*, i8** %6
%30 = getelementptr inbounds i8, i8* %29, i64 0
%31 = load i8, i8* %30
%32 = sext i8 %31 to i32
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %47
34: ; preds = %28
%35 = load i8*, i8** %7
%36 = getelementptr inbounds i8, i8* %35, i64 0
%37 = load i8, i8* %36
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %47
40: ; preds = %34
%41 = getelementptr inbounds [255 x i8], [255 x i8]* %9, i64 0, i64 0
%42 = load i8*, i8** %8
%43 = load i8*, i8** %5
%44 = load i8*, i8** %6
%45 = load i8*, i8** %7
%46 = call i32 (i8*, i8*, ...) @sprintf(i8* %41, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i8* %42, i8* %43, i8* %44, i8* %45)
br label %68
47: ; preds = %34, %28, %21
%48 = load i8*, i8** %5
%49 = getelementptr inbounds i8, i8* %48, i64 0
%50 = load i8, i8* %49
%51 = sext i8 %50 to i32
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %65
53: ; preds = %47
%54 = load i8*, i8** %6
%55 = getelementptr inbounds i8, i8* %54, i64 0
%56 = load i8, i8* %55
%57 = sext i8 %56 to i32
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %65
59: ; preds = %53
%60 = getelementptr inbounds [255 x i8], [255 x i8]* %9, i64 0, i64 0
%61 = load i8*, i8** %8
%62 = load i8*, i8** %5
%63 = load i8*, i8** %6
%64 = call i32 (i8*, i8*, ...) @sprintf(i8* %60, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i8* %61, i8* %62, i8* %63)
br label %67
65: ; preds = %53, %47
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.2, i64 0, i64 0))
br label %67
67: ; preds = %65, %59
br label %68
68: ; preds = %67, %40
%69 = getelementptr inbounds [255 x i8], [255 x i8]* %9, i64 0, i64 0
%70 = call i32 (i8*, ...) bitcast (i32 (...)* @sendg to i32 (i8*, ...)*)(i8* %69)
br label %73
71: ; preds = %17, %13, %4
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0))
br label %73
73: ; preds = %71, %68
ret void
}

LLVM IR (-O2):
@.str = [15 x i8] c"%s X%s Y%s Z%s\00"
@.str.1 = [11 x i8] c"%s X%s Y%s\00"
@str = [21 x i8] c"Invalid parameter(s)\00"
@str.4 = [46 x i8] c"This command requires at least two parameters\00"
define void @xyzCode(i8* %0, i8* %1, i8* %2, i8* %3) {
%5 = alloca [255 x i8]
%6 = getelementptr inbounds [255 x i8], [255 x i8]* %5, i64 0, i64 0
%7 = tail call i32 (i8*, ...) bitcast (i32 (...)* @isNumNull to i32 (i8*, ...)*)(i8* %0)
%8 = icmp eq i32 %7, 0
br i1 %8, label %32, label %9
9: ; preds = %4
%10 = tail call i32 (i8*, ...) bitcast (i32 (...)* @isNumNull to i32 (i8*, ...)*)(i8* %1)
%11 = icmp eq i32 %10, 0
br i1 %11, label %32, label %12
12: ; preds = %9
%13 = tail call i32 (i8*, ...) bitcast (i32 (...)* @isNumNull to i32 (i8*, ...)*)(i8* %2)
%14 = icmp eq i32 %13, 0
br i1 %14, label %32, label %15
15: ; preds = %12
store i8 0, i8* %6
%16 = load i8, i8* %0
%17 = icmp eq i8 %16, 0
br i1 %17, label %28, label %18
18: ; preds = %15
%19 = load i8, i8* %1
%20 = icmp eq i8 %19, 0
br i1 %20, label %28, label %21
21: ; preds = %18
%22 = load i8, i8* %2
%23 = icmp eq i8 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %21
%25 = call i32 (i8*, i8*, ...) @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i8* %3, i8* %0, i8* %1, i8* %2)
br label %30
26: ; preds = %21
%27 = call i32 (i8*, i8*, ...) @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i8* %3, i8* %0, i8* %1)
br label %30
28: ; preds = %18, %15
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.4, i64 0, i64 0))
br label %30
30: ; preds = %26, %28, %24
%31 = call i32 (i8*, ...) bitcast (i32 (...)* @sendg to i32 (i8*, ...)*)(i8* %6)
br label %34
32: ; preds = %12, %9, %4
%33 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str, i64 0, i64 0))
br label %34
34: ; preds = %32, %30
ret void
}