#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 */
extern int _scan_atx_header_start(const unsigned char *p) {
  const unsigned char *marker = NULL;
  const unsigned char *start = p;
  {
    unsigned char yych;
    static const unsigned char yybm[] = {
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,   0, 0, 0,
    };
    yych = *p;
    if (yych == '\n')
      goto yy1178;
    if (yych == '#')
      goto yy1179;
    goto yy1180;
  yy1178 : { return 0; }
  yy1179:
    yych = *(marker = ++p);
    if (yybm[0 + yych] & 128) {
      goto yy1183;
    }
    if (yych == '\n')
      goto yy1181;
    if (yych == '#')
      goto yy1185;
    goto yy1178;
  yy1180:
    yych = *++p;
    goto yy1178;
  yy1181:
    ++p;
  yy1182 : { return (p - start); }
  yy1183:
    ++p;
    yych = *p;
    if (yybm[0 + yych] & 128) {
      goto yy1183;
    }
    goto yy1182;
  yy1185:
    yych = *++p;
    if (yybm[0 + yych] & 128) {
      goto yy1183;
    }
    if (yych == '\n')
      goto yy1181;
    if (yych == '#')
      goto yy1187;
  yy1186:
    p = marker;
    goto yy1178;
  yy1187:
    yych = *++p;
    if (yybm[0 + yych] & 128) {
      goto yy1183;
    }
    if (yych == '\n')
      goto yy1181;
    if (yych != '#')
      goto yy1186;
    yych = *++p;
    if (yybm[0 + yych] & 128) {
      goto yy1183;
    }
    if (yych == '\n')
      goto yy1181;
    if (yych != '#')
      goto yy1186;
    yych = *++p;
    if (yybm[0 + yych] & 128) {
      goto yy1183;
    }
    if (yych == '\n')
      goto yy1181;
    if (yych != '#')
      goto yy1186;
    ++p;
    if (yybm[0 + (yych = *p)] & 128) {
      goto yy1183;
    }
    if (yych == '\n')
      goto yy1181;
    goto yy1186;
  }
}


x86 assembly (clang, -O0):
<_scan_atx_header_start>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x10(%rbp)
movq   $0x0,-0x18(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x20(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%al
mov    %al,-0x21(%rbp)
movzbl -0x21(%rbp),%eax
cmp    $0xa,%eax
jne    1133 <_scan_atx_header_start+0x33>
jmp    114a <_scan_atx_header_start+0x4a>
movzbl -0x21(%rbp),%eax
cmp    $0x23,%eax
jne    1145 <_scan_atx_header_start+0x45>
jmp    1156 <_scan_atx_header_start+0x56>
jmp    11c0 <_scan_atx_header_start+0xc0>
movl   $0x0,-0x4(%rbp)
jmp    1424 <_scan_atx_header_start+0x324>
mov    -0x10(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x10(%rbp)
mov    %rcx,-0x18(%rbp)
mov    0x1(%rax),%al
mov    %al,-0x21(%rbp)
movzbl -0x21(%rbp),%eax
add    $0x0,%eax
movslq %eax,%rcx
lea    0xe80(%rip),%rax
movzbl (%rax,%rcx,1),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     1197 <_scan_atx_header_start+0x97>
jmp    11f9 <_scan_atx_header_start+0xf9>
movzbl -0x21(%rbp),%eax
cmp    $0xa,%eax
jne    11a9 <_scan_atx_header_start+0xa9>
jmp    11da <_scan_atx_header_start+0xda>
movzbl -0x21(%rbp),%eax
cmp    $0x23,%eax
jne    11bb <_scan_atx_header_start+0xbb>
jmp    123b <_scan_atx_header_start+0x13b>
jmp    114a <_scan_atx_header_start+0x4a>
mov    -0x10(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x10(%rbp)
mov    0x1(%rax),%al
mov    %al,-0x21(%rbp)
jmp    114a <_scan_atx_header_start+0x4a>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%rcx
sub    %rcx,%rax
mov    %eax,-0x4(%rbp)
jmp    1424 <_scan_atx_header_start+0x324>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%al
mov    %al,-0x21(%rbp)
movzbl -0x21(%rbp),%eax
add    $0x0,%eax
movslq %eax,%rcx
lea    0xde1(%rip),%rax
movzbl (%rax,%rcx,1),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     1236 <_scan_atx_header_start+0x136>
jmp    11f9 <_scan_atx_header_start+0xf9>
jmp    11e6 <_scan_atx_header_start+0xe6>
mov    -0x10(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x10(%rbp)
mov    0x1(%rax),%al
mov    %al,-0x21(%rbp)
movzbl -0x21(%rbp),%eax
add    $0x0,%eax
movslq %eax,%rcx
lea    0xd9f(%rip),%rax
movzbl (%rax,%rcx,1),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     1278 <_scan_atx_header_start+0x178>
jmp    11f9 <_scan_atx_header_start+0xf9>
movzbl -0x21(%rbp),%eax
cmp    $0xa,%eax
jne    128a <_scan_atx_header_start+0x18a>
jmp    11da <_scan_atx_header_start+0xda>
movzbl -0x21(%rbp),%eax
cmp    $0x23,%eax
jne    129c <_scan_atx_header_start+0x19c>
jmp    12ae <_scan_atx_header_start+0x1ae>
jmp    12a1 <_scan_atx_header_start+0x1a1>
mov    -0x18(%rbp),%rax
mov    %rax,-0x10(%rbp)
jmp    114a <_scan_atx_header_start+0x4a>
mov    -0x10(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x10(%rbp)
mov    0x1(%rax),%al
mov    %al,-0x21(%rbp)
movzbl -0x21(%rbp),%eax
add    $0x0,%eax
movslq %eax,%rcx
lea    0xd2c(%rip),%rax
movzbl (%rax,%rcx,1),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     12eb <_scan_atx_header_start+0x1eb>
jmp    11f9 <_scan_atx_header_start+0xf9>
movzbl -0x21(%rbp),%eax
cmp    $0xa,%eax
jne    12fd <_scan_atx_header_start+0x1fd>
jmp    11da <_scan_atx_header_start+0xda>
movzbl -0x21(%rbp),%eax
cmp    $0x23,%eax
je     130f <_scan_atx_header_start+0x20f>
jmp    12a1 <_scan_atx_header_start+0x1a1>
mov    -0x10(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x10(%rbp)
mov    0x1(%rax),%al
mov    %al,-0x21(%rbp)
movzbl -0x21(%rbp),%eax
add    $0x0,%eax
movslq %eax,%rcx
lea    0xccb(%rip),%rax
movzbl (%rax,%rcx,1),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     134c <_scan_atx_header_start+0x24c>
jmp    11f9 <_scan_atx_header_start+0xf9>
movzbl -0x21(%rbp),%eax
cmp    $0xa,%eax
jne    135e <_scan_atx_header_start+0x25e>
jmp    11da <_scan_atx_header_start+0xda>
movzbl -0x21(%rbp),%eax
cmp    $0x23,%eax
je     1370 <_scan_atx_header_start+0x270>
jmp    12a1 <_scan_atx_header_start+0x1a1>
mov    -0x10(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x10(%rbp)
mov    0x1(%rax),%al
mov    %al,-0x21(%rbp)
movzbl -0x21(%rbp),%eax
add    $0x0,%eax
movslq %eax,%rcx
lea    0xc6a(%rip),%rax
movzbl (%rax,%rcx,1),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     13ad <_scan_atx_header_start+0x2ad>
jmp    11f9 <_scan_atx_header_start+0xf9>
movzbl -0x21(%rbp),%eax
cmp    $0xa,%eax
jne    13bf <_scan_atx_header_start+0x2bf>
jmp    11da <_scan_atx_header_start+0xda>
movzbl -0x21(%rbp),%eax
cmp    $0x23,%eax
je     13d1 <_scan_atx_header_start+0x2d1>
jmp    12a1 <_scan_atx_header_start+0x1a1>
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%al
mov    %al,-0x21(%rbp)
movzbl %al,%eax
add    $0x0,%eax
movslq %eax,%rcx
lea    0xc0a(%rip),%rax
movzbl (%rax,%rcx,1),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     140d <_scan_atx_header_start+0x30d>
jmp    11f9 <_scan_atx_header_start+0xf9>
movzbl -0x21(%rbp),%eax
cmp    $0xa,%eax
jne    141f <_scan_atx_header_start+0x31f>
jmp    11da <_scan_atx_header_start+0xda>
jmp    12a1 <_scan_atx_header_start+0x1a1>
mov    -0x4(%rbp),%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<_scan_atx_header_start>:
xor    %eax,%eax
cmpb   $0x23,(%rdi)
jne    11d2 <_scan_atx_header_start+0xd2>
lea    0x1(%rdi),%rcx
movzbl 0x1(%rdi),%esi
lea    0xee6(%rip),%rdx
cmpb   $0x0,(%rsi,%rdx,1)
js     11c0 <_scan_atx_header_start+0xc0>
cmp    $0x23,%sil
je     113d <_scan_atx_header_start+0x3d>
cmp    $0xa,%sil
jne    11d2 <_scan_atx_header_start+0xd2>
add    $0x1,%rcx
jmp    11ce <_scan_atx_header_start+0xce>
lea    0x2(%rdi),%rcx
movzbl 0x2(%rdi),%esi
cmpb   $0x0,(%rsi,%rdx,1)
js     11c0 <_scan_atx_header_start+0xc0>
cmp    $0xa,%sil
je     1134 <_scan_atx_header_start+0x34>
cmp    $0x23,%sil
jne    11d2 <_scan_atx_header_start+0xd2>
lea    0x3(%rdi),%rcx
movzbl 0x3(%rdi),%esi
cmpb   $0x0,(%rsi,%rdx,1)
js     11c0 <_scan_atx_header_start+0xc0>
cmp    $0xa,%sil
je     1134 <_scan_atx_header_start+0x34>
cmp    $0x23,%sil
jne    11d2 <_scan_atx_header_start+0xd2>
lea    0x4(%rdi),%rcx
movzbl 0x4(%rdi),%esi
cmpb   $0x0,(%rsi,%rdx,1)
js     11c0 <_scan_atx_header_start+0xc0>
cmp    $0xa,%sil
je     1134 <_scan_atx_header_start+0x34>
cmp    $0x23,%sil
jne    11d2 <_scan_atx_header_start+0xd2>
lea    0x5(%rdi),%rcx
movzbl 0x5(%rdi),%esi
cmpb   $0x0,(%rsi,%rdx,1)
js     11c0 <_scan_atx_header_start+0xc0>
cmp    $0xa,%sil
je     1134 <_scan_atx_header_start+0x34>
cmp    $0x23,%sil
jne    11d2 <_scan_atx_header_start+0xd2>
lea    0x6(%rdi),%rcx
movzbl 0x6(%rdi),%esi
cmpb   $0x0,(%rsi,%rdx,1)
jns    112a <_scan_atx_header_start+0x2a>
nopw   0x0(%rax,%rax,1)
movzbl 0x1(%rcx),%eax
add    $0x1,%rcx
cmpb   $0x0,(%rax,%rdx,1)
js     11c0 <_scan_atx_header_start+0xc0>
sub    %edi,%ecx
mov    %ecx,%eax
ret

LLVM IR (-O0):
@_scan_atx_header_start.yybm = internal constant <{ [33 x i8], [223 x i8] }> <{ [33 x i8] c"\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\80", [223 x i8] zeroinitializer }>
define i32 @_scan_atx_header_start(i8* %0) {
%2 = alloca i32
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i8*
%6 = alloca i8
store i8* %0, i8** %3
store i8* null, i8** %4
%7 = load i8*, i8** %3
store i8* %7, i8** %5
%8 = load i8*, i8** %3
%9 = load i8, i8* %8
store i8 %9, i8* %6
%10 = load i8, i8* %6
%11 = zext i8 %10 to i32
%12 = icmp eq i32 %11, 10
br i1 %12, label %13, label %14
13: ; preds = %1
br label %20
14: ; preds = %1
%15 = load i8, i8* %6
%16 = zext i8 %15 to i32
%17 = icmp eq i32 %16, 35
br i1 %17, label %18, label %19
18: ; preds = %14
br label %21
19: ; preds = %14
br label %46
20: ; preds = %101, %46, %45, %13
store i32 0, i32* %2
br label %195
21: ; preds = %18
%22 = load i8*, i8** %3
%23 = getelementptr inbounds i8, i8* %22, i32 1
store i8* %23, i8** %3
store i8* %23, i8** %4
%24 = load i8, i8* %23
store i8 %24, i8* %6
%25 = load i8, i8* %6
%26 = zext i8 %25 to i32
%27 = add nsw i32 0, %26
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [256 x i8], [256 x i8]* bitcast (<{ [33 x i8], [223 x i8] }>* @_scan_atx_header_start.yybm to [256 x i8]*), i64 0, i64 %28
%30 = load i8, i8* %29
%31 = zext i8 %30 to i32
%32 = and i32 %31, 128
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %21
br label %60
35: ; preds = %21
%36 = load i8, i8* %6
%37 = zext i8 %36 to i32
%38 = icmp eq i32 %37, 10
br i1 %38, label %39, label %40
39: ; preds = %35
br label %50
40: ; preds = %35
%41 = load i8, i8* %6
%42 = zext i8 %41 to i32
%43 = icmp eq i32 %42, 35
br i1 %43, label %44, label %45
44: ; preds = %40
br label %76
45: ; preds = %40
br label %20
46: ; preds = %19
%47 = load i8*, i8** %3
%48 = getelementptr inbounds i8, i8* %47, i32 1
store i8* %48, i8** %3
%49 = load i8, i8* %48
store i8 %49, i8* %6
br label %20
50: ; preds = %193, %169, %145, %121, %94, %39
%51 = load i8*, i8** %3
%52 = getelementptr inbounds i8, i8* %51, i32 1
store i8* %52, i8** %3
br label %53
53: ; preds = %75, %50
%54 = load i8*, i8** %3
%55 = load i8*, i8** %5
%56 = ptrtoint i8* %54 to i64
%57 = ptrtoint i8* %55 to i64
%58 = sub i64 %56, %57
%59 = trunc i64 %58 to i32
store i32 %59, i32* %2
br label %195
60: ; preds = %188, %164, %140, %116, %89, %74, %34
%61 = load i8*, i8** %3
%62 = getelementptr inbounds i8, i8* %61, i32 1
store i8* %62, i8** %3
%63 = load i8*, i8** %3
%64 = load i8, i8* %63
store i8 %64, i8* %6
%65 = load i8, i8* %6
%66 = zext i8 %65 to i32
%67 = add nsw i32 0, %66
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [256 x i8], [256 x i8]* bitcast (<{ [33 x i8], [223 x i8] }>* @_scan_atx_header_start.yybm to [256 x i8]*), i64 0, i64 %68
%70 = load i8, i8* %69
%71 = zext i8 %70 to i32
%72 = and i32 %71, 128
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %75
74: ; preds = %60
br label %60
75: ; preds = %60
br label %53
76: ; preds = %44
%77 = load i8*, i8** %3
%78 = getelementptr inbounds i8, i8* %77, i32 1
store i8* %78, i8** %3
%79 = load i8, i8* %78
store i8 %79, i8* %6
%80 = load i8, i8* %6
%81 = zext i8 %80 to i32
%82 = add nsw i32 0, %81
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [256 x i8], [256 x i8]* bitcast (<{ [33 x i8], [223 x i8] }>* @_scan_atx_header_start.yybm to [256 x i8]*), i64 0, i64 %83
%85 = load i8, i8* %84
%86 = zext i8 %85 to i32
%87 = and i32 %86, 128
%88 = icmp ne i32 %87, 0
br i1 %88, label %89, label %90
89: ; preds = %76
br label %60
90: ; preds = %76
%91 = load i8, i8* %6
%92 = zext i8 %91 to i32
%93 = icmp eq i32 %92, 10
br i1 %93, label %94, label %95
94: ; preds = %90
br label %50
95: ; preds = %90
%96 = load i8, i8* %6
%97 = zext i8 %96 to i32
%98 = icmp eq i32 %97, 35
br i1 %98, label %99, label %100
99: ; preds = %95
br label %103
100: ; preds = %95
br label %101
101: ; preds = %194, %174, %150, %126, %100
%102 = load i8*, i8** %4
store i8* %102, i8** %3
br label %20
103: ; preds = %99
%104 = load i8*, i8** %3
%105 = getelementptr inbounds i8, i8* %104, i32 1
store i8* %105, i8** %3
%106 = load i8, i8* %105
store i8 %106, i8* %6
%107 = load i8, i8* %6
%108 = zext i8 %107 to i32
%109 = add nsw i32 0, %108
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [256 x i8], [256 x i8]* bitcast (<{ [33 x i8], [223 x i8] }>* @_scan_atx_header_start.yybm to [256 x i8]*), i64 0, i64 %110
%112 = load i8, i8* %111
%113 = zext i8 %112 to i32
%114 = and i32 %113, 128
%115 = icmp ne i32 %114, 0
br i1 %115, label %116, label %117
116: ; preds = %103
br label %60
117: ; preds = %103
%118 = load i8, i8* %6
%119 = zext i8 %118 to i32
%120 = icmp eq i32 %119, 10
br i1 %120, label %121, label %122
121: ; preds = %117
br label %50
122: ; preds = %117
%123 = load i8, i8* %6
%124 = zext i8 %123 to i32
%125 = icmp ne i32 %124, 35
br i1 %125, label %126, label %127
126: ; preds = %122
br label %101
127: ; preds = %122
%128 = load i8*, i8** %3
%129 = getelementptr inbounds i8, i8* %128, i32 1
store i8* %129, i8** %3
%130 = load i8, i8* %129
store i8 %130, i8* %6
%131 = load i8, i8* %6
%132 = zext i8 %131 to i32
%133 = add nsw i32 0, %132
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds [256 x i8], [256 x i8]* bitcast (<{ [33 x i8], [223 x i8] }>* @_scan_atx_header_start.yybm to [256 x i8]*), i64 0, i64 %134
%136 = load i8, i8* %135
%137 = zext i8 %136 to i32
%138 = and i32 %137, 128
%139 = icmp ne i32 %138, 0
br i1 %139, label %140, label %141
140: ; preds = %127
br label %60
141: ; preds = %127
%142 = load i8, i8* %6
%143 = zext i8 %142 to i32
%144 = icmp eq i32 %143, 10
br i1 %144, label %145, label %146
145: ; preds = %141
br label %50
146: ; preds = %141
%147 = load i8, i8* %6
%148 = zext i8 %147 to i32
%149 = icmp ne i32 %148, 35
br i1 %149, label %150, label %151
150: ; preds = %146
br label %101
151: ; preds = %146
%152 = load i8*, i8** %3
%153 = getelementptr inbounds i8, i8* %152, i32 1
store i8* %153, i8** %3
%154 = load i8, i8* %153
store i8 %154, i8* %6
%155 = load i8, i8* %6
%156 = zext i8 %155 to i32
%157 = add nsw i32 0, %156
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds [256 x i8], [256 x i8]* bitcast (<{ [33 x i8], [223 x i8] }>* @_scan_atx_header_start.yybm to [256 x i8]*), i64 0, i64 %158
%160 = load i8, i8* %159
%161 = zext i8 %160 to i32
%162 = and i32 %161, 128
%163 = icmp ne i32 %162, 0
br i1 %163, label %164, label %165
164: ; preds = %151
br label %60
165: ; preds = %151
%166 = load i8, i8* %6
%167 = zext i8 %166 to i32
%168 = icmp eq i32 %167, 10
br i1 %168, label %169, label %170
169: ; preds = %165
br label %50
170: ; preds = %165
%171 = load i8, i8* %6
%172 = zext i8 %171 to i32
%173 = icmp ne i32 %172, 35
br i1 %173, label %174, label %175
174: ; preds = %170
br label %101
175: ; preds = %170
%176 = load i8*, i8** %3
%177 = getelementptr inbounds i8, i8* %176, i32 1
store i8* %177, i8** %3
%178 = load i8*, i8** %3
%179 = load i8, i8* %178
store i8 %179, i8* %6
%180 = zext i8 %179 to i32
%181 = add nsw i32 0, %180
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds [256 x i8], [256 x i8]* bitcast (<{ [33 x i8], [223 x i8] }>* @_scan_atx_header_start.yybm to [256 x i8]*), i64 0, i64 %182
%184 = load i8, i8* %183
%185 = zext i8 %184 to i32
%186 = and i32 %185, 128
%187 = icmp ne i32 %186, 0
br i1 %187, label %188, label %189
188: ; preds = %175
br label %60
189: ; preds = %175
%190 = load i8, i8* %6
%191 = zext i8 %190 to i32
%192 = icmp eq i32 %191, 10
br i1 %192, label %193, label %194
193: ; preds = %189
br label %50
194: ; preds = %189
br label %101
195: ; preds = %53, %20
%196 = load i32, i32* %2
ret i32 %196
}

LLVM IR (-O2):
@_scan_atx_header_start.yybm = internal unnamed_addr constant <{ [33 x i8], [223 x i8] }> <{ [33 x i8] c"\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\80", [223 x i8] zeroinitializer }>
define i32 @_scan_atx_header_start(i8* %0) {
%2 = load i8, i8* %0
%3 = icmp eq i8 %2, 35
br i1 %3, label %4, label %72
4: ; preds = %1
%5 = getelementptr inbounds i8, i8* %0, i64 1
%6 = load i8, i8* %5
%7 = zext i8 %6 to i64
%8 = getelementptr inbounds [256 x i8], [256 x i8]* bitcast (<{ [33 x i8], [223 x i8] }>* @_scan_atx_header_start.yybm to [256 x i8]*), i64 0, i64 %7
%9 = load i8, i8* %8
%10 = icmp sgt i8 %9, -1
br i1 %10, label %11, label %68
11: ; preds = %4
switch i8 %6, label %72 [
i8 10, label %12
i8 35, label %29
]
12: ; preds = %60, %52, %44, %36, %11, %70
%13 = phi i8* [ %5, %11 ], [ %30, %36 ], [ %38, %44 ], [ %46, %52 ], [ %54, %60 ], [ %62, %70 ]
%14 = getelementptr inbounds i8, i8* %13, i64 1
br label %15
15: ; preds = %21, %12
%16 = phi i8* [ %14, %12 ], [ %23, %21 ]
%17 = ptrtoint i8* %16 to i64
%18 = ptrtoint i8* %0 to i64
%19 = sub i64 %17, %18
%20 = trunc i64 %19 to i32
br label %72
21: ; preds = %68, %21
%22 = phi i8* [ %23, %21 ], [ %69, %68 ]
%23 = getelementptr inbounds i8, i8* %22, i64 1
%24 = load i8, i8* %23
%25 = zext i8 %24 to i64
%26 = getelementptr inbounds [256 x i8], [256 x i8]* bitcast (<{ [33 x i8], [223 x i8] }>* @_scan_atx_header_start.yybm to [256 x i8]*), i64 0, i64 %25
%27 = load i8, i8* %26
%28 = icmp sgt i8 %27, -1
br i1 %28, label %15, label %21
29: ; preds = %11
%30 = getelementptr inbounds i8, i8* %0, i64 2
%31 = load i8, i8* %30
%32 = zext i8 %31 to i64
%33 = getelementptr inbounds [256 x i8], [256 x i8]* bitcast (<{ [33 x i8], [223 x i8] }>* @_scan_atx_header_start.yybm to [256 x i8]*), i64 0, i64 %32
%34 = load i8, i8* %33
%35 = icmp sgt i8 %34, -1
br i1 %35, label %36, label %68
36: ; preds = %29
switch i8 %31, label %72 [
i8 10, label %12
i8 35, label %37
]
37: ; preds = %36
%38 = getelementptr inbounds i8, i8* %0, i64 3
%39 = load i8, i8* %38
%40 = zext i8 %39 to i64
%41 = getelementptr inbounds [256 x i8], [256 x i8]* bitcast (<{ [33 x i8], [223 x i8] }>* @_scan_atx_header_start.yybm to [256 x i8]*), i64 0, i64 %40
%42 = load i8, i8* %41
%43 = icmp sgt i8 %42, -1
br i1 %43, label %44, label %68
44: ; preds = %37
switch i8 %39, label %72 [
i8 10, label %12
i8 35, label %45
]
45: ; preds = %44
%46 = getelementptr inbounds i8, i8* %0, i64 4
%47 = load i8, i8* %46
%48 = zext i8 %47 to i64
%49 = getelementptr inbounds [256 x i8], [256 x i8]* bitcast (<{ [33 x i8], [223 x i8] }>* @_scan_atx_header_start.yybm to [256 x i8]*), i64 0, i64 %48
%50 = load i8, i8* %49
%51 = icmp sgt i8 %50, -1
br i1 %51, label %52, label %68
52: ; preds = %45
switch i8 %47, label %72 [
i8 10, label %12
i8 35, label %53
]
53: ; preds = %52
%54 = getelementptr inbounds i8, i8* %0, i64 5
%55 = load i8, i8* %54
%56 = zext i8 %55 to i64
%57 = getelementptr inbounds [256 x i8], [256 x i8]* bitcast (<{ [33 x i8], [223 x i8] }>* @_scan_atx_header_start.yybm to [256 x i8]*), i64 0, i64 %56
%58 = load i8, i8* %57
%59 = icmp sgt i8 %58, -1
br i1 %59, label %60, label %68
60: ; preds = %53
switch i8 %55, label %72 [
i8 10, label %12
i8 35, label %61
]
61: ; preds = %60
%62 = getelementptr inbounds i8, i8* %0, i64 6
%63 = load i8, i8* %62
%64 = zext i8 %63 to i64
%65 = getelementptr inbounds [256 x i8], [256 x i8]* bitcast (<{ [33 x i8], [223 x i8] }>* @_scan_atx_header_start.yybm to [256 x i8]*), i64 0, i64 %64
%66 = load i8, i8* %65
%67 = icmp sgt i8 %66, -1
br i1 %67, label %70, label %68
68: ; preds = %4, %29, %37, %45, %53, %61
%69 = phi i8* [ %5, %4 ], [ %30, %29 ], [ %38, %37 ], [ %46, %45 ], [ %54, %53 ], [ %62, %61 ]
br label %21
70: ; preds = %61
%71 = icmp eq i8 %63, 10
br i1 %71, label %12, label %72
72: ; preds = %1, %60, %52, %44, %70, %36, %11, %15
%73 = phi i32 [ %20, %15 ], [ 0, %11 ], [ 0, %1 ], [ 0, %36 ], [ 0, %70 ], [ 0, %44 ], [ 0, %52 ], [ 0, %60 ]
ret i32 %73
}