void compentry(n, l) int *n;
{
  int *s = &n[2];
  int i, len;
  len = strlen((char *)s);
  out3p(94, len, l);
  for (i = 0; i < len; i++)
    outc(*(i + (unsigned char *)s));
  wrc(' ');
}


x86 assembly (clang, -O0):
<compentry>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    -0x8(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    $0x5e,%edi
mov    $0x0,%al
call   1040 <out3p@plt>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    11af <compentry+0x6f>
mov    -0x1c(%rbp),%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rcx
movzbl (%rax,%rcx,1),%edi
mov    $0x0,%al
call   1060 <outc@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1180 <compentry+0x40>
mov    $0x20,%edi
mov    $0x0,%al
call   1050 <wrc@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<compentry>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    %esi,%ebp
mov    %rdi,%r15
add    $0x8,%r15
mov    %r15,%rdi
call   1030 <strlen@plt>
mov    %rax,%r14
mov    $0x5e,%edi
mov    %r14d,%esi
mov    %ebp,%edx
xor    %eax,%eax
call   1040 <out3p@plt>
test   %r14d,%r14d
jle    1195 <compentry+0x55>
mov    %r14d,%ebp
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
movzbl (%r15,%rbx,1),%edi
xor    %eax,%eax
call   1060 <outc@plt>
add    $0x1,%rbx
cmp    %rbx,%rbp
jne    1180 <compentry+0x40>
mov    $0x20,%edi
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <wrc@plt>

LLVM IR (-O0):
define void @compentry(i32* %0, i32 %1) {
%3 = alloca i32*
%4 = alloca i32
%5 = alloca i32*
%6 = alloca i32
%7 = alloca i32
store i32* %0, i32** %3
store i32 %1, i32* %4
%8 = load i32*, i32** %3
%9 = getelementptr inbounds i32, i32* %8, i64 2
store i32* %9, i32** %5
%10 = load i32*, i32** %5
%11 = bitcast i32* %10 to i8*
%12 = call i64 @strlen(i8* %11)
%13 = trunc i64 %12 to i32
store i32 %13, i32* %7
%14 = load i32, i32* %7
%15 = load i32, i32* %4
%16 = call i32 (i32, i32, i32, ...) bitcast (i32 (...)* @out3p to i32 (i32, i32, i32, ...)*)(i32 94, i32 %14, i32 %15)
store i32 0, i32* %6
br label %17
17: ; preds = %30, %2
%18 = load i32, i32* %6
%19 = load i32, i32* %7
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %33
21: ; preds = %17
%22 = load i32, i32* %6
%23 = load i32*, i32** %5
%24 = bitcast i32* %23 to i8*
%25 = sext i32 %22 to i64
%26 = getelementptr inbounds i8, i8* %24, i64 %25
%27 = load i8, i8* %26
%28 = zext i8 %27 to i32
%29 = call i32 (i32, ...) bitcast (i32 (...)* @outc to i32 (i32, ...)*)(i32 %28)
br label %30
30: ; preds = %21
%31 = load i32, i32* %6
%32 = add nsw i32 %31, 1
store i32 %32, i32* %6
br label %17
33: ; preds = %17
%34 = call i32 (i32, ...) bitcast (i32 (...)* @wrc to i32 (i32, ...)*)(i32 32)
ret void
}

LLVM IR (-O2):
define void @compentry(i32* nocapture %0, i32 %1) {
%3 = getelementptr inbounds i32, i32* %0, i64 2
%4 = bitcast i32* %3 to i8*
%5 = tail call i64 @strlen(i8* %4)
%6 = trunc i64 %5 to i32
%7 = tail call i32 (i32, i32, i32, ...) bitcast (i32 (...)* @out3p to i32 (i32, i32, i32, ...)*)(i32 94, i32 %6, i32 %1)
%8 = icmp sgt i32 %6, 0
br i1 %8, label %9, label %19
9: ; preds = %2
%10 = and i64 %5, 4294967295
br label %11
11: ; preds = %9, %11
%12 = phi i64 [ 0, %9 ], [ %17, %11 ]
%13 = getelementptr inbounds i8, i8* %4, i64 %12
%14 = load i8, i8* %13
%15 = zext i8 %14 to i32
%16 = tail call i32 (i32, ...) bitcast (i32 (...)* @outc to i32 (i32, ...)*)(i32 %15)
%17 = add nuw nsw i64 %12, 1
%18 = icmp eq i64 %17, %10
br i1 %18, label %19, label %11
19: ; preds = %11, %2
%20 = tail call i32 (i32, ...) bitcast (i32 (...)* @wrc to i32 (i32, ...)*)(i32 32)
ret void
}