void output_tokens(v, n) char **v;
int n;
{
  int i;
  assert(n > 0);
  output_markup_string(v[0]);
  for (i = 1; i < n; i++) {
    output_markup_string(" ");
    output_markup_string(v[i]);
  }
  output_flush('!');
}


x86 assembly (clang, -O0):
<output_tokens>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
cmpl   $0x0,-0xc(%rbp)
setg   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1040 <assert@plt>
mov    -0x8(%rbp),%rax
mov    (%rax),%rdi
mov    $0x0,%al
call   1030 <output_markup_string@plt>
movl   $0x1,-0x10(%rbp)
mov    -0x10(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    11a2 <output_tokens+0x72>
lea    0xe86(%rip),%rdi
mov    $0x0,%al
call   1030 <output_markup_string@plt>
mov    -0x8(%rbp),%rax
movslq -0x10(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
mov    $0x0,%al
call   1030 <output_markup_string@plt>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    1167 <output_tokens+0x37>
mov    $0x21,%edi
mov    $0x0,%al
call   1050 <output_flush@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<output_tokens>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    %esi,%ebp
mov    %rdi,%r15
xor    %edi,%edi
test   %esi,%esi
setg   %dil
xor    %eax,%eax
call   1040 <assert@plt>
mov    (%r15),%rdi
xor    %eax,%eax
call   1030 <output_markup_string@plt>
cmp    $0x2,%ebp
jl     118e <output_tokens+0x5e>
mov    %ebp,%ebp
mov    $0x1,%ebx
lea    0xe98(%rip),%r14
nopl   0x0(%rax,%rax,1)
mov    %r14,%rdi
xor    %eax,%eax
call   1030 <output_markup_string@plt>
mov    (%r15,%rbx,8),%rdi
xor    %eax,%eax
call   1030 <output_markup_string@plt>
add    $0x1,%rbx
cmp    %rbx,%rbp
jne    1170 <output_tokens+0x40>
mov    $0x21,%edi
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <output_flush@plt>

LLVM IR (-O0):
@.str = [2 x i8] c" \00"
define void @output_tokens(i8** %0, i32 %1) {
%3 = alloca i8**
%4 = alloca i32
%5 = alloca i32
store i8** %0, i8*** %3
store i32 %1, i32* %4
%6 = load i32, i32* %4
%7 = icmp sgt i32 %6, 0
%8 = zext i1 %7 to i32
%9 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %8)
%10 = load i8**, i8*** %3
%11 = getelementptr inbounds i8*, i8** %10, i64 0
%12 = load i8*, i8** %11
%13 = call i32 (i8*, ...) bitcast (i32 (...)* @output_markup_string to i32 (i8*, ...)*)(i8* %12)
store i32 1, i32* %5
br label %14
14: ; preds = %26, %2
%15 = load i32, i32* %5
%16 = load i32, i32* %4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %29
18: ; preds = %14
%19 = call i32 (i8*, ...) bitcast (i32 (...)* @output_markup_string to i32 (i8*, ...)*)(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%20 = load i8**, i8*** %3
%21 = load i32, i32* %5
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8*, i8** %20, i64 %22
%24 = load i8*, i8** %23
%25 = call i32 (i8*, ...) bitcast (i32 (...)* @output_markup_string to i32 (i8*, ...)*)(i8* %24)
br label %26
26: ; preds = %18
%27 = load i32, i32* %5
%28 = add nsw i32 %27, 1
store i32 %28, i32* %5
br label %14
29: ; preds = %14
%30 = call i32 (i32, ...) bitcast (i32 (...)* @output_flush to i32 (i32, ...)*)(i32 33)
ret void
}

LLVM IR (-O2):
@.str = [2 x i8] c" \00"
define void @output_tokens(i8** nocapture %0, i32 %1) {
%3 = icmp sgt i32 %1, 0
%4 = zext i1 %3 to i32
%5 = tail call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %4)
%6 = load i8*, i8** %0
%7 = tail call i32 (i8*, ...) bitcast (i32 (...)* @output_markup_string to i32 (i8*, ...)*)(i8* %6)
%8 = icmp sgt i32 %1, 1
br i1 %8, label %9, label %19
9: ; preds = %2
%10 = zext i32 %1 to i64
br label %11
11: ; preds = %9, %11
%12 = phi i64 [ 1, %9 ], [ %17, %11 ]
%13 = tail call i32 (i8*, ...) bitcast (i32 (...)* @output_markup_string to i32 (i8*, ...)*)(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%14 = getelementptr inbounds i8*, i8** %0, i64 %12
%15 = load i8*, i8** %14
%16 = tail call i32 (i8*, ...) bitcast (i32 (...)* @output_markup_string to i32 (i8*, ...)*)(i8* %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 (...)* @output_flush to i32 (i32, ...)*)(i32 33)
ret void
}