#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ SEEK_CUR;
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
scalar_t__ fread(char *, int, int, int /*<<< orphan*/ *);
scalar_t__ fseek(int /*<<< orphan*/ *, int, int /*<<< orphan*/);
int /*<<< orphan*/ fwrite(char *, int, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ printf(char *);
int main(void) {
  FILE *p;
  FILE *p1;
  p = fopen("./webFile.html", "r");
  if (p == NULL) {
    printf("打开文件异常！\n");
    exit(0);
  }
  p1 = fopen("./answer.txt", "w+");
  if (p == NULL) {
    printf("打开文件异常！\n");
    exit(1);
  }
  char c;
  while (fread(&c, sizeof(char), 1, p)) {
    if (c == '"') {
      fread(&c, sizeof(char), 1, p);
      if (c == 't') {
        fread(&c, sizeof(char), 1, p);
        if (c == 'i') {
          fread(&c, sizeof(char), 1, p);
          if (c == 't') {
            if (0 != fseek(p, 20, SEEK_CUR)) {
              printf("fseek错误");
              break;
            }
            break;
          }
        }
      }
    }
  }
  c = '%';
  while (1) {
    fread(&c, 1, 1, p);
    if (c == '"') {
      fwrite("\t", 1, 1, p1);
      break;
    }
    fwrite(&c, 1, 1, p1);
  }
  c = '%';
  while (fread(&c, 1, 1, p)) {
    if (c == 'w') {
      fread(&c, 1, 1, p);
      if (c == 'o') {
        fread(&c, 1, 1, p);
        if (c == 'r') {
          if (0 != fseek(p, 13, SEEK_CUR)) {
            printf("fseek错误");
            break;
          }
          break;
        }
      }
    }
  }
  c = '%';
  while (1) {
    fread(&c, 1, 1, p);
    if (c == '"') {
      fwrite("\t", 1, 1, p1);
      break;
    }
    fwrite(&c, 1, 1, p1);
  }
  c = '%';
  while (fread(&c, 1, 1, p)) {
    if (c == 'd') {
      fread(&c, 1, 1, p);
      if (c == 'e') {
        fread(&c, 1, 1, p);
        if (c == 's') {
          if (0 != fseek(p, 19, SEEK_CUR)) {
            printf("fseek错误");
            break;
          }
          break;
        }
      }
    }
  }
  c = '%';
  while (1) {
    fread(&c, 1, 1, p);
    if (c == '"') {
      fwrite("\t", 1, 1, p1);
      break;
    }
    fwrite(&c, 1, 1, p1);
  }
  fclose(p);
  fclose(p1);
  printf("请查看answer.txt\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xe7a(%rip),%rdi
lea    0xe82(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
jne    11b4 <main+0x44>
lea    0xe69(%rip),%rdi
call   1050 <printf@plt>
xor    %edi,%edi
call   1080 <exit@plt>
lea    0xe6d(%rip),%rdi
lea    0xe73(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x10(%rbp)
jne    11ec <main+0x7c>
lea    0xe34(%rip),%rdi
call   1050 <printf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
jmp    11f1 <main+0x81>
mov    -0x10(%rbp),%rcx
lea    -0x19(%rbp),%rdi
mov    $0x1,%edx
mov    %edx,%esi
call   1030 <fread@plt>
cmp    $0x0,%rax
je     12ce <main+0x15e>
movsbl -0x19(%rbp),%eax
cmp    $0x22,%eax
jne    12c9 <main+0x159>
mov    -0x10(%rbp),%rcx
lea    -0x19(%rbp),%rdi
mov    $0x1,%edx
mov    %edx,%esi
call   1030 <fread@plt>
movsbl -0x19(%rbp),%eax
cmp    $0x74,%eax
jne    12c4 <main+0x154>
mov    -0x10(%rbp),%rcx
lea    -0x19(%rbp),%rdi
mov    $0x1,%edx
mov    %edx,%esi
call   1030 <fread@plt>
movsbl -0x19(%rbp),%eax
cmp    $0x69,%eax
jne    12bf <main+0x14f>
mov    -0x10(%rbp),%rcx
lea    -0x19(%rbp),%rdi
mov    $0x1,%edx
mov    %edx,%esi
call   1030 <fread@plt>
movsbl -0x19(%rbp),%eax
cmp    $0x74,%eax
jne    12ba <main+0x14a>
mov    -0x10(%rbp),%rdi
mov    0x2d5e(%rip),%rax
mov    (%rax),%edx
mov    $0x14,%esi
call   1060 <fseek@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     12b5 <main+0x145>
lea    0xd8d(%rip),%rdi
call   1050 <printf@plt>
jmp    12ce <main+0x15e>
jmp    12ce <main+0x15e>
jmp    12bf <main+0x14f>
jmp    12c4 <main+0x154>
jmp    12c9 <main+0x159>
jmp    11f1 <main+0x81>
movb   $0x25,-0x19(%rbp)
mov    -0x10(%rbp),%rcx
lea    -0x19(%rbp),%rdi
mov    $0x1,%edx
mov    %edx,%esi
call   1030 <fread@plt>
movsbl -0x19(%rbp),%eax
cmp    $0x22,%eax
jne    130f <main+0x19f>
mov    -0x18(%rbp),%rcx
lea    0xd46(%rip),%rdi
mov    $0x1,%edx
mov    %edx,%esi
call   1090 <fwrite@plt>
jmp    1328 <main+0x1b8>
mov    -0x18(%rbp),%rcx
lea    -0x19(%rbp),%rdi
mov    $0x1,%edx
mov    %edx,%esi
call   1090 <fwrite@plt>
jmp    12d2 <main+0x162>
movb   $0x25,-0x19(%rbp)
mov    -0x10(%rbp),%rcx
lea    -0x19(%rbp),%rdi
mov    $0x1,%edx
mov    %edx,%esi
call   1030 <fread@plt>
cmp    $0x0,%rax
je     13e3 <main+0x273>
movsbl -0x19(%rbp),%eax
cmp    $0x77,%eax
jne    13de <main+0x26e>
mov    -0x10(%rbp),%rcx
lea    -0x19(%rbp),%rdi
mov    $0x1,%edx
mov    %edx,%esi
call   1030 <fread@plt>
movsbl -0x19(%rbp),%eax
cmp    $0x6f,%eax
jne    13d9 <main+0x269>
mov    -0x10(%rbp),%rcx
lea    -0x19(%rbp),%rdi
mov    $0x1,%edx
mov    %edx,%esi
call   1030 <fread@plt>
movsbl -0x19(%rbp),%eax
cmp    $0x72,%eax
jne    13d4 <main+0x264>
mov    -0x10(%rbp),%rdi
mov    0x2c44(%rip),%rax
mov    (%rax),%edx
mov    $0xd,%esi
call   1060 <fseek@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     13cf <main+0x25f>
lea    0xc73(%rip),%rdi
call   1050 <printf@plt>
jmp    13e3 <main+0x273>
jmp    13e3 <main+0x273>
jmp    13d9 <main+0x269>
jmp    13de <main+0x26e>
jmp    132c <main+0x1bc>
movb   $0x25,-0x19(%rbp)
mov    -0x10(%rbp),%rcx
lea    -0x19(%rbp),%rdi
mov    $0x1,%edx
mov    %edx,%esi
call   1030 <fread@plt>
movsbl -0x19(%rbp),%eax
cmp    $0x22,%eax
jne    1424 <main+0x2b4>
mov    -0x18(%rbp),%rcx
lea    0xc31(%rip),%rdi
mov    $0x1,%edx
mov    %edx,%esi
call   1090 <fwrite@plt>
jmp    143d <main+0x2cd>
mov    -0x18(%rbp),%rcx
lea    -0x19(%rbp),%rdi
mov    $0x1,%edx
mov    %edx,%esi
call   1090 <fwrite@plt>
jmp    13e7 <main+0x277>
movb   $0x25,-0x19(%rbp)
mov    -0x10(%rbp),%rcx
lea    -0x19(%rbp),%rdi
mov    $0x1,%edx
mov    %edx,%esi
call   1030 <fread@plt>
cmp    $0x0,%rax
je     14f8 <main+0x388>
movsbl -0x19(%rbp),%eax
cmp    $0x64,%eax
jne    14f3 <main+0x383>
mov    -0x10(%rbp),%rcx
lea    -0x19(%rbp),%rdi
mov    $0x1,%edx
mov    %edx,%esi
call   1030 <fread@plt>
movsbl -0x19(%rbp),%eax
cmp    $0x65,%eax
jne    14ee <main+0x37e>
mov    -0x10(%rbp),%rcx
lea    -0x19(%rbp),%rdi
mov    $0x1,%edx
mov    %edx,%esi
call   1030 <fread@plt>
movsbl -0x19(%rbp),%eax
cmp    $0x73,%eax
jne    14e9 <main+0x379>
mov    -0x10(%rbp),%rdi
mov    0x2b2f(%rip),%rax
mov    (%rax),%edx
mov    $0x13,%esi
call   1060 <fseek@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     14e4 <main+0x374>
lea    0xb5e(%rip),%rdi
call   1050 <printf@plt>
jmp    14f8 <main+0x388>
jmp    14f8 <main+0x388>
jmp    14ee <main+0x37e>
jmp    14f3 <main+0x383>
jmp    1441 <main+0x2d1>
movb   $0x25,-0x19(%rbp)
mov    -0x10(%rbp),%rcx
lea    -0x19(%rbp),%rdi
mov    $0x1,%edx
mov    %edx,%esi
call   1030 <fread@plt>
movsbl -0x19(%rbp),%eax
cmp    $0x22,%eax
jne    1539 <main+0x3c9>
mov    -0x18(%rbp),%rcx
lea    0xb1c(%rip),%rdi
mov    $0x1,%edx
mov    %edx,%esi
call   1090 <fwrite@plt>
jmp    1552 <main+0x3e2>
mov    -0x18(%rbp),%rcx
lea    -0x19(%rbp),%rdi
mov    $0x1,%edx
mov    %edx,%esi
call   1090 <fwrite@plt>
jmp    14fc <main+0x38c>
mov    -0x10(%rbp),%rdi
call   1040 <fclose@plt>
mov    -0x18(%rbp),%rdi
call   1040 <fclose@plt>
lea    0xadb(%rip),%rdi
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x10,%rsp
lea    0xe70(%rip),%rdi
lea    0xe78(%rip),%rsi
call   1090 <fopen@plt>
test   %rax,%rax
je     155e <main+0x3de>
mov    %rax,%rbx
lea    0xe62(%rip),%rdi
lea    0xe68(%rip),%rsi
call   1090 <fopen@plt>
mov    %rax,%r14
lea    0xf(%rsp),%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fread@plt>
test   %rax,%rax
je     1290 <main+0x110>
lea    0xf(%rsp),%r15
jmp    120e <main+0x8e>
cs nopw 0x0(%rax,%rax,1)
nop
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fread@plt>
test   %rax,%rax
je     1290 <main+0x110>
cmpb   $0x22,0xf(%rsp)
jne    11f0 <main+0x70>
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fread@plt>
cmpb   $0x74,0xf(%rsp)
jne    11f0 <main+0x70>
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fread@plt>
cmpb   $0x69,0xf(%rsp)
jne    11f0 <main+0x70>
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fread@plt>
cmpb   $0x74,0xf(%rsp)
jne    11f0 <main+0x70>
mov    0x2d78(%rip),%rax
mov    (%rax),%edx
mov    %rbx,%rdi
mov    $0x14,%esi
call   1080 <fseek@plt>
test   %rax,%rax
je     1290 <main+0x110>
lea    0xd96(%rip),%rdi
call   1060 <printf@plt>
movb   $0x25,0xf(%rsp)
lea    0xf(%rsp),%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fread@plt>
mov    0xf(%rsp),%al
cmp    $0x22,%al
je     12e9 <main+0x169>
lea    0xf(%rsp),%r15
nopl   0x0(%rax)
movsbl %al,%edi
mov    %r14,%rsi
call   1070 <fputc@plt>
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fread@plt>
movzbl 0xf(%rsp),%eax
cmp    $0x22,%al
jne    12c0 <main+0x140>
mov    $0x9,%edi
mov    %r14,%rsi
call   1070 <fputc@plt>
movb   $0x25,0xf(%rsp)
lea    0xf(%rsp),%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fread@plt>
test   %rax,%rax
je     13b0 <main+0x230>
lea    0xf(%rsp),%r15
jmp    134a <main+0x1ca>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fread@plt>
test   %rax,%rax
je     13b0 <main+0x230>
cmpb   $0x77,0xf(%rsp)
jne    1330 <main+0x1b0>
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fread@plt>
cmpb   $0x6f,0xf(%rsp)
jne    1330 <main+0x1b0>
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fread@plt>
cmpb   $0x72,0xf(%rsp)
jne    1330 <main+0x1b0>
mov    0x2c58(%rip),%rax
mov    (%rax),%edx
mov    %rbx,%rdi
mov    $0xd,%esi
call   1080 <fseek@plt>
test   %rax,%rax
je     13b0 <main+0x230>
lea    0xc76(%rip),%rdi
call   1060 <printf@plt>
movb   $0x25,0xf(%rsp)
lea    0xf(%rsp),%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fread@plt>
mov    0xf(%rsp),%al
cmp    $0x22,%al
je     1409 <main+0x289>
lea    0xf(%rsp),%r15
nopl   0x0(%rax)
movsbl %al,%edi
mov    %r14,%rsi
call   1070 <fputc@plt>
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fread@plt>
movzbl 0xf(%rsp),%eax
cmp    $0x22,%al
jne    13e0 <main+0x260>
mov    $0x9,%edi
mov    %r14,%rsi
call   1070 <fputc@plt>
movb   $0x25,0xf(%rsp)
lea    0xf(%rsp),%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fread@plt>
test   %rax,%rax
je     14d0 <main+0x350>
lea    0xf(%rsp),%r15
jmp    146a <main+0x2ea>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fread@plt>
test   %rax,%rax
je     14d0 <main+0x350>
cmpb   $0x64,0xf(%rsp)
jne    1450 <main+0x2d0>
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fread@plt>
cmpb   $0x65,0xf(%rsp)
jne    1450 <main+0x2d0>
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fread@plt>
cmpb   $0x73,0xf(%rsp)
jne    1450 <main+0x2d0>
mov    0x2b38(%rip),%rax
mov    (%rax),%edx
mov    %rbx,%rdi
mov    $0x13,%esi
call   1080 <fseek@plt>
test   %rax,%rax
je     14d0 <main+0x350>
lea    0xb56(%rip),%rdi
call   1060 <printf@plt>
movb   $0x25,0xf(%rsp)
lea    0xf(%rsp),%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fread@plt>
mov    0xf(%rsp),%al
cmp    $0x22,%al
je     1529 <main+0x3a9>
lea    0xf(%rsp),%r15
nopl   0x0(%rax)
movsbl %al,%edi
mov    %r14,%rsi
call   1070 <fputc@plt>
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fread@plt>
movzbl 0xf(%rsp),%eax
cmp    $0x22,%al
jne    1500 <main+0x380>
mov    $0x9,%edi
mov    %r14,%rsi
call   1070 <fputc@plt>
mov    %rbx,%rdi
call   1050 <fclose@plt>
mov    %r14,%rdi
call   1050 <fclose@plt>
lea    0xae0(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret
lea    0xadc(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   10a0 <exit@plt>

LLVM IR (-O0):
@.str = [15 x i8] c"./webFile.html\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [23 x i8] c"\E6\89\93\E5\BC\80\E6\96\87\E4\BB\B6\E5\BC\82\E5\B8\B8\EF\BC\81\0A\00"
@.str.3 = [13 x i8] c"./answer.txt\00"
@.str.4 = [3 x i8] c"w+\00"
@SEEK_CUR = global i32 0
@.str.5 = [12 x i8] c"fseek\E9\94\99\E8\AF\AF\00"
@.str.6 = [2 x i8] c"\09\00"
@.str.7 = [21 x i8] c"\E8\AF\B7\E6\9F\A5\E7\9C\8Banswer.txt\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32*
%3 = alloca i32*
%4 = alloca i8
store i32 0, i32* %1
%5 = call i32* @fopen(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %5, i32** %2
%6 = load i32*, i32** %2
%7 = icmp eq i32* %6, null
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0))
%10 = call i32 @exit(i32 0)
unreachable
11: ; preds = %0
%12 = call i32* @fopen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
store i32* %12, i32** %3
%13 = load i32*, i32** %2
%14 = icmp eq i32* %13, null
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0))
%17 = call i32 @exit(i32 1)
unreachable
18: ; preds = %11
br label %19
19: ; preds = %56, %18
%20 = load i32*, i32** %2
%21 = call i64 @fread(i8* %4, i32 1, i32 1, i32* %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %57
23: ; preds = %19
%24 = load i8, i8* %4
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 34
br i1 %26, label %27, label %56
27: ; preds = %23
%28 = load i32*, i32** %2
%29 = call i64 @fread(i8* %4, i32 1, i32 1, i32* %28)
%30 = load i8, i8* %4
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 116
br i1 %32, label %33, label %55
33: ; preds = %27
%34 = load i32*, i32** %2
%35 = call i64 @fread(i8* %4, i32 1, i32 1, i32* %34)
%36 = load i8, i8* %4
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 105
br i1 %38, label %39, label %54
39: ; preds = %33
%40 = load i32*, i32** %2
%41 = call i64 @fread(i8* %4, i32 1, i32 1, i32* %40)
%42 = load i8, i8* %4
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 116
br i1 %44, label %45, label %53
45: ; preds = %39
%46 = load i32*, i32** %2
%47 = load i32, i32* @SEEK_CUR
%48 = call i64 @fseek(i32* %46, i32 20, i32 %47)
%49 = icmp ne i64 0, %48
br i1 %49, label %50, label %52
50: ; preds = %45
%51 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0))
br label %57
52: ; preds = %45
br label %57
53: ; preds = %39
br label %54
54: ; preds = %53, %33
br label %55
55: ; preds = %54, %27
br label %56
56: ; preds = %55, %23
br label %19
57: ; preds = %52, %50, %19
store i8 37, i8* %4
br label %58
58: ; preds = %57, %67
%59 = load i32*, i32** %2
%60 = call i64 @fread(i8* %4, i32 1, i32 1, i32* %59)
%61 = load i8, i8* %4
%62 = sext i8 %61 to i32
%63 = icmp eq i32 %62, 34
br i1 %63, label %64, label %67
64: ; preds = %58
%65 = load i32*, i32** %3
%66 = call i32 @fwrite(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0), i32 1, i32 1, i32* %65)
br label %70
67: ; preds = %58
%68 = load i32*, i32** %3
%69 = call i32 @fwrite(i8* %4, i32 1, i32 1, i32* %68)
br label %58
70: ; preds = %64
store i8 37, i8* %4
br label %71
71: ; preds = %101, %70
%72 = load i32*, i32** %2
%73 = call i64 @fread(i8* %4, i32 1, i32 1, i32* %72)
%74 = icmp ne i64 %73, 0
br i1 %74, label %75, label %102
75: ; preds = %71
%76 = load i8, i8* %4
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %77, 119
br i1 %78, label %79, label %101
79: ; preds = %75
%80 = load i32*, i32** %2
%81 = call i64 @fread(i8* %4, i32 1, i32 1, i32* %80)
%82 = load i8, i8* %4
%83 = sext i8 %82 to i32
%84 = icmp eq i32 %83, 111
br i1 %84, label %85, label %100
85: ; preds = %79
%86 = load i32*, i32** %2
%87 = call i64 @fread(i8* %4, i32 1, i32 1, i32* %86)
%88 = load i8, i8* %4
%89 = sext i8 %88 to i32
%90 = icmp eq i32 %89, 114
br i1 %90, label %91, label %99
91: ; preds = %85
%92 = load i32*, i32** %2
%93 = load i32, i32* @SEEK_CUR
%94 = call i64 @fseek(i32* %92, i32 13, i32 %93)
%95 = icmp ne i64 0, %94
br i1 %95, label %96, label %98
96: ; preds = %91
%97 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0))
br label %102
98: ; preds = %91
br label %102
99: ; preds = %85
br label %100
100: ; preds = %99, %79
br label %101
101: ; preds = %100, %75
br label %71
102: ; preds = %98, %96, %71
store i8 37, i8* %4
br label %103
103: ; preds = %102, %112
%104 = load i32*, i32** %2
%105 = call i64 @fread(i8* %4, i32 1, i32 1, i32* %104)
%106 = load i8, i8* %4
%107 = sext i8 %106 to i32
%108 = icmp eq i32 %107, 34
br i1 %108, label %109, label %112
109: ; preds = %103
%110 = load i32*, i32** %3
%111 = call i32 @fwrite(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0), i32 1, i32 1, i32* %110)
br label %115
112: ; preds = %103
%113 = load i32*, i32** %3
%114 = call i32 @fwrite(i8* %4, i32 1, i32 1, i32* %113)
br label %103
115: ; preds = %109
store i8 37, i8* %4
br label %116
116: ; preds = %146, %115
%117 = load i32*, i32** %2
%118 = call i64 @fread(i8* %4, i32 1, i32 1, i32* %117)
%119 = icmp ne i64 %118, 0
br i1 %119, label %120, label %147
120: ; preds = %116
%121 = load i8, i8* %4
%122 = sext i8 %121 to i32
%123 = icmp eq i32 %122, 100
br i1 %123, label %124, label %146
124: ; preds = %120
%125 = load i32*, i32** %2
%126 = call i64 @fread(i8* %4, i32 1, i32 1, i32* %125)
%127 = load i8, i8* %4
%128 = sext i8 %127 to i32
%129 = icmp eq i32 %128, 101
br i1 %129, label %130, label %145
130: ; preds = %124
%131 = load i32*, i32** %2
%132 = call i64 @fread(i8* %4, i32 1, i32 1, i32* %131)
%133 = load i8, i8* %4
%134 = sext i8 %133 to i32
%135 = icmp eq i32 %134, 115
br i1 %135, label %136, label %144
136: ; preds = %130
%137 = load i32*, i32** %2
%138 = load i32, i32* @SEEK_CUR
%139 = call i64 @fseek(i32* %137, i32 19, i32 %138)
%140 = icmp ne i64 0, %139
br i1 %140, label %141, label %143
141: ; preds = %136
%142 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0))
br label %147
143: ; preds = %136
br label %147
144: ; preds = %130
br label %145
145: ; preds = %144, %124
br label %146
146: ; preds = %145, %120
br label %116
147: ; preds = %143, %141, %116
store i8 37, i8* %4
br label %148
148: ; preds = %147, %157
%149 = load i32*, i32** %2
%150 = call i64 @fread(i8* %4, i32 1, i32 1, i32* %149)
%151 = load i8, i8* %4
%152 = sext i8 %151 to i32
%153 = icmp eq i32 %152, 34
br i1 %153, label %154, label %157
154: ; preds = %148
%155 = load i32*, i32** %3
%156 = call i32 @fwrite(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0), i32 1, i32 1, i32* %155)
br label %160
157: ; preds = %148
%158 = load i32*, i32** %3
%159 = call i32 @fwrite(i8* %4, i32 1, i32 1, i32* %158)
br label %148
160: ; preds = %154
%161 = load i32*, i32** %2
%162 = call i32 @fclose(i32* %161)
%163 = load i32*, i32** %3
%164 = call i32 @fclose(i32* %163)
%165 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.7, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [15 x i8] c"./webFile.html\00"
@.str.1 = [2 x i8] c"r\00"
@.str.3 = [13 x i8] c"./answer.txt\00"
@.str.4 = [3 x i8] c"w+\00"
@SEEK_CUR = global i32 0
@.str.5 = [12 x i8] c"fseek\E9\94\99\E8\AF\AF\00"
@str = [20 x i8] c"\E8\AF\B7\E6\9F\A5\E7\9C\8Banswer.txt\00"
@str.8 = [22 x i8] c"\E6\89\93\E5\BC\80\E6\96\87\E4\BB\B6\E5\BC\82\E5\B8\B8\EF\BC\81\00"
define i32 @main() {
%1 = alloca i8
%2 = tail call i32* @fopen(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%3 = icmp eq i32* %2, null
br i1 %3, label %4, label %7
4: ; preds = %0
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.8, i64 0, i64 0))
%6 = tail call i32 @exit(i32 0)
unreachable
7: ; preds = %0
%8 = tail call i32* @fopen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%9 = call i64 @fread(i8* %1, i32 1, i32 1, i32* %2)
%10 = icmp eq i64 %9, 0
br i1 %10, label %35, label %11
11: ; preds = %7, %32
%12 = load i8, i8* %1
%13 = icmp eq i8 %12, 34
br i1 %13, label %14, label %32
14: ; preds = %11
%15 = call i64 @fread(i8* %1, i32 1, i32 1, i32* %2)
%16 = load i8, i8* %1
%17 = icmp eq i8 %16, 116
br i1 %17, label %18, label %32
18: ; preds = %14
%19 = call i64 @fread(i8* %1, i32 1, i32 1, i32* %2)
%20 = load i8, i8* %1
%21 = icmp eq i8 %20, 105
br i1 %21, label %22, label %32
22: ; preds = %18
%23 = call i64 @fread(i8* %1, i32 1, i32 1, i32* %2)
%24 = load i8, i8* %1
%25 = icmp eq i8 %24, 116
br i1 %25, label %26, label %32
26: ; preds = %22
%27 = load i32, i32* @SEEK_CUR
%28 = tail call i64 @fseek(i32* %2, i32 20, i32 %27)
%29 = icmp eq i64 %28, 0
br i1 %29, label %35, label %30
30: ; preds = %26
%31 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0))
br label %35
32: ; preds = %14, %22, %18, %11
%33 = call i64 @fread(i8* %1, i32 1, i32 1, i32* %2)
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %11
35: ; preds = %32, %7, %26, %30
store i8 37, i8* %1
%36 = call i64 @fread(i8* %1, i32 1, i32 1, i32* %2)
%37 = load i8, i8* %1
%38 = icmp eq i8 %37, 34
br i1 %38, label %39, label %43
39: ; preds = %43, %35
%40 = tail call i32 @fputc(i32 9, i32* %8)
store i8 37, i8* %1
%41 = call i64 @fread(i8* %1, i32 1, i32 1, i32* %2)
%42 = icmp eq i64 %41, 0
br i1 %42, label %70, label %50
43: ; preds = %35, %43
%44 = phi i8 [ %48, %43 ], [ %37, %35 ]
%45 = sext i8 %44 to i32
%46 = tail call i32 @fputc(i32 %45, i32* %8)
%47 = call i64 @fread(i8* %1, i32 1, i32 1, i32* %2)
%48 = load i8, i8* %1
%49 = icmp eq i8 %48, 34
br i1 %49, label %39, label %43
50: ; preds = %39, %67
%51 = load i8, i8* %1
%52 = icmp eq i8 %51, 119
br i1 %52, label %53, label %67
53: ; preds = %50
%54 = call i64 @fread(i8* %1, i32 1, i32 1, i32* %2)
%55 = load i8, i8* %1
%56 = icmp eq i8 %55, 111
br i1 %56, label %57, label %67
57: ; preds = %53
%58 = call i64 @fread(i8* %1, i32 1, i32 1, i32* %2)
%59 = load i8, i8* %1
%60 = icmp eq i8 %59, 114
br i1 %60, label %61, label %67
61: ; preds = %57
%62 = load i32, i32* @SEEK_CUR
%63 = tail call i64 @fseek(i32* %2, i32 13, i32 %62)
%64 = icmp eq i64 %63, 0
br i1 %64, label %70, label %65
65: ; preds = %61
%66 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0))
br label %70
67: ; preds = %53, %57, %50
%68 = call i64 @fread(i8* %1, i32 1, i32 1, i32* %2)
%69 = icmp eq i64 %68, 0
br i1 %69, label %70, label %50
70: ; preds = %67, %39, %61, %65
store i8 37, i8* %1
%71 = call i64 @fread(i8* %1, i32 1, i32 1, i32* %2)
%72 = load i8, i8* %1
%73 = icmp eq i8 %72, 34
br i1 %73, label %74, label %78
74: ; preds = %78, %70
%75 = tail call i32 @fputc(i32 9, i32* %8)
store i8 37, i8* %1
%76 = call i64 @fread(i8* %1, i32 1, i32 1, i32* %2)
%77 = icmp eq i64 %76, 0
br i1 %77, label %105, label %85
78: ; preds = %70, %78
%79 = phi i8 [ %83, %78 ], [ %72, %70 ]
%80 = sext i8 %79 to i32
%81 = tail call i32 @fputc(i32 %80, i32* %8)
%82 = call i64 @fread(i8* %1, i32 1, i32 1, i32* %2)
%83 = load i8, i8* %1
%84 = icmp eq i8 %83, 34
br i1 %84, label %74, label %78
85: ; preds = %74, %102
%86 = load i8, i8* %1
%87 = icmp eq i8 %86, 100
br i1 %87, label %88, label %102
88: ; preds = %85
%89 = call i64 @fread(i8* %1, i32 1, i32 1, i32* %2)
%90 = load i8, i8* %1
%91 = icmp eq i8 %90, 101
br i1 %91, label %92, label %102
92: ; preds = %88
%93 = call i64 @fread(i8* %1, i32 1, i32 1, i32* %2)
%94 = load i8, i8* %1
%95 = icmp eq i8 %94, 115
br i1 %95, label %96, label %102
96: ; preds = %92
%97 = load i32, i32* @SEEK_CUR
%98 = tail call i64 @fseek(i32* %2, i32 19, i32 %97)
%99 = icmp eq i64 %98, 0
br i1 %99, label %105, label %100
100: ; preds = %96
%101 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0))
br label %105
102: ; preds = %88, %92, %85
%103 = call i64 @fread(i8* %1, i32 1, i32 1, i32* %2)
%104 = icmp eq i64 %103, 0
br i1 %104, label %105, label %85
105: ; preds = %102, %74, %96, %100
store i8 37, i8* %1
%106 = call i64 @fread(i8* %1, i32 1, i32 1, i32* %2)
%107 = load i8, i8* %1
%108 = icmp eq i8 %107, 34
br i1 %108, label %109, label %114
109: ; preds = %114, %105
%110 = tail call i32 @fputc(i32 9, i32* %8)
%111 = tail call i32 @fclose(i32* %2)
%112 = tail call i32 @fclose(i32* %8)
%113 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str, i64 0, i64 0))
ret i32 0
114: ; preds = %105, %114
%115 = phi i8 [ %119, %114 ], [ %107, %105 ]
%116 = sext i8 %115 to i32
%117 = tail call i32 @fputc(i32 %116, i32* %8)
%118 = call i64 @fread(i8* %1, i32 1, i32 1, i32* %2)
%119 = load i8, i8* %1
%120 = icmp eq i8 %119, 34
br i1 %120, label %109, label %114
}