const char *XMLParserStrict_PeelHeader(const char *pBuff) {
  const char *pTmp = pBuff;
  if ((pBuff[0] != '<') || (pTmp[1] != '?'))
    return pBuff;
  while (pBuff[0] != '>')
    pBuff++;
  return (pBuff + 1);
}


x86 assembly (clang, -O0):
<XMLParserStrict_PeelHeader>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3c,%eax
jne    1131 <XMLParserStrict_PeelHeader+0x31>
mov    -0x18(%rbp),%rax
movsbl 0x1(%rax),%eax
cmp    $0x3f,%eax
je     113e <XMLParserStrict_PeelHeader+0x3e>
mov    -0x10(%rbp),%rax
mov    %rax,-0x8(%rbp)
jmp    1170 <XMLParserStrict_PeelHeader+0x70>
jmp    1143 <XMLParserStrict_PeelHeader+0x43>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x3e,%eax
je     1164 <XMLParserStrict_PeelHeader+0x64>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
jmp    1143 <XMLParserStrict_PeelHeader+0x43>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
pop    %rbp
ret

x86 assembly (clang, -O2):
<XMLParserStrict_PeelHeader>:
mov    %rdi,%rax
cmpb   $0x3c,(%rdi)
jne    112c <XMLParserStrict_PeelHeader+0x2c>
cmpb   $0x3f,0x1(%rax)
jne    112c <XMLParserStrict_PeelHeader+0x2c>
add    $0x1,%rax
mov    %rax,%rcx
cs nopw 0x0(%rax,%rax,1)
nop
lea    0x1(%rcx),%rax
cmpb   $0x3e,(%rcx)
mov    %rax,%rcx
jne    1120 <XMLParserStrict_PeelHeader+0x20>
ret

LLVM IR (-O0):
define i8* @XMLParserStrict_PeelHeader(i8* %0) {
%2 = alloca i8*
%3 = alloca i8*
%4 = alloca i8*
store i8* %0, i8** %3
%5 = load i8*, i8** %3
store i8* %5, i8** %4
%6 = load i8*, i8** %3
%7 = getelementptr inbounds i8, i8* %6, i64 0
%8 = load i8, i8* %7
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 60
br i1 %10, label %17, label %11
11: ; preds = %1
%12 = load i8*, i8** %4
%13 = getelementptr inbounds i8, i8* %12, i64 1
%14 = load i8, i8* %13
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 63
br i1 %16, label %17, label %19
17: ; preds = %11, %1
%18 = load i8*, i8** %3
store i8* %18, i8** %2
br label %32
19: ; preds = %11
br label %20
20: ; preds = %26, %19
%21 = load i8*, i8** %3
%22 = getelementptr inbounds i8, i8* %21, i64 0
%23 = load i8, i8* %22
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 62
br i1 %25, label %26, label %29
26: ; preds = %20
%27 = load i8*, i8** %3
%28 = getelementptr inbounds i8, i8* %27, i32 1
store i8* %28, i8** %3
br label %20
29: ; preds = %20
%30 = load i8*, i8** %3
%31 = getelementptr inbounds i8, i8* %30, i64 1
store i8* %31, i8** %2
br label %32
32: ; preds = %29, %17
%33 = load i8*, i8** %2
ret i8* %33
}

LLVM IR (-O2):
define i8* @XMLParserStrict_PeelHeader(i8* %0) {
%2 = load i8, i8* %0
%3 = icmp eq i8 %2, 60
br i1 %3, label %4, label %15
4: ; preds = %1
%5 = getelementptr inbounds i8, i8* %0, i64 1
%6 = load i8, i8* %5
%7 = icmp eq i8 %6, 63
br i1 %7, label %8, label %15
8: ; preds = %4
%9 = getelementptr inbounds i8, i8* %0, i64 1
br label %10
10: ; preds = %8, %10
%11 = phi i8* [ %9, %8 ], [ %14, %10 ]
%12 = load i8, i8* %11
%13 = icmp eq i8 %12, 62
%14 = getelementptr inbounds i8, i8* %11, i64 1
br i1 %13, label %15, label %10
15: ; preds = %10, %1, %4
%16 = phi i8* [ %0, %4 ], [ %0, %1 ], [ %14, %10 ]
ret i8* %16
}