// File: /workspace/github_c_makefile_star2_O3/cogbee[P]vmir-latest/src/vmir_bitcode_parser.c
// Function: ir_parse_blocks
static void
ir_parse_blocks(ir_unit_t *iu, int abbrev_id_width,
                rec_handler_t *rh, const ir_blockinfo_t *ibi,
                bcbitstream_t *bs)
{
  assert(bs->remain == 0);
  while(1) {
    uint32_t id = read_bits(bs, abbrev_id_width);
    if(id == 0)
      break;
    switch(id) {
    case 1:  ir_enter_subblock(iu, bs, abbrev_id_width); break;
    case 2:  ir_define_abbrev(iu, bs);                break;
    case 3:  ir_unabbrev_record(iu, rh, bs);          break;
    default: ir_dispatch_abbrev(iu, id, rh, ibi, bs); break;
    }
  }

  align_bits32(bs);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, 0x28(%rsp)
movl %esi, 0x24(%rsp)
cmpl $0x0, 0x10(%r8)
jne 0xca79
movq %r8, %r13
leaq 0x140(%rdi), %rax
movq %rax, 0x18(%rsp)
movq %rdi, (%rsp)
leaq 0x1a8(%rdi), %rax
movq %rax, 0x40(%rsp)
movq %rcx, 0x50(%rsp)
leaq 0x18(%rcx), %rax
movq %rax, 0x48(%rsp)
movq %r8, 0x8(%rsp)
movq %r13, %rdi
movl 0x24(%rsp), %esi
callq 0xc114
cmpl $0x3, %eax
ja 0xc436
movl %eax, %eax
leaq 0x17994(%rip), %rcx     # 0x23b98
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %r13, %rdi
movl $0x8, %esi
callq 0x1dc6e
movl %eax, %r12d
movq %r13, %rdi
movl $0x4, %esi
callq 0x1dc6e
movl %eax, %r14d
movl 0xc(%r13), %eax
addl $0x3, %eax
andl $-0x4, %eax
movl %eax, 0xc(%r13)
movl $0x0, 0x10(%r13)
movq %r13, %rdi
movl $0x20, %esi
callq 0xc114
movl $0x1, %edi
movl $0x28, %esi
callq 0x32f0
movq %rax, %r13
movq %rax, %r15
movq 0x18(%rsp), %rax
movq (%rax), %rax
movq %rax, (%r13)
testq %rax, %rax
je 0xc27a
movq %r15, 0x8(%rax)
movq (%rsp), %rdi
movq %r15, 0x140(%rdi)
movq 0x18(%rsp), %rax
movq %rax, 0x8(%r15)
addq $0x10, %r13
movq $0x0, 0x10(%r15)
movq %r13, 0x18(%r15)
movl %r12d, %esi
callq 0x1dd11
cmpl $0x1a, %r12d
ja 0xca5a
movq %rax, %rbp
movl %r12d, %eax
leaq 0x178ff(%rip), %rcx     # 0x23bbc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
leaq 0x11aa1(%rip), %rdx     # 0x1dd6c
jmpq *%rax
movq (%rsp), %rbx
movq %rbx, %rdi
movl %r14d, %esi
leaq 0x13de9(%rip), %rdx     # 0x200c7
movq %rbp, %rcx
movq 0x8(%rsp), %r8
callq 0xc192
cmpl $0x11, %r12d
je 0xc7a2
jmp 0xc93a
movq %r13, %rdi
movl $0x6, %esi
callq 0x1dc6e
movl %eax, %ebp
movq %r13, %rdi
movl $0x6, %esi
callq 0x1dc6e
movl %eax, %r13d
movl %eax, %r15d
leaq (,%r15,8), %rdi
callq 0x3380
movq %rax, %r12
testl %r13d, %r13d
movq 0x8(%rsp), %r13
je 0xc351
xorl %ebx, %ebx
movq %r13, %rdi
movl $0x6, %esi
callq 0x2153b
movq %rax, (%r12,%rbx,8)
incq %rbx
cmpq %rbx, %r15
jne 0xc338
movq (%rsp), %rdi
movl %ebp, %esi
movl %r15d, %edx
movq %r12, %rcx
callq *0x28(%rsp)
movq %r12, %rdi
callq 0x3030
jmp 0xc1e6
movq %r13, %rdi
movl $0x5, %esi
callq 0x1dc6e
movl %eax, %ebp
movl %eax, %r12d
leaq 0x18(,%r12,8), %rsi
movl $0x1, %edi
callq 0x32f0
movq %rax, %r15
movl %ebp, 0x10(%rax)
testl %ebp, %ebp
je 0xc707
leal -0x2(%r12), %r14d
leal -0x1(%r12), %ebp
xorl %r13d, %r13d
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
movl $0x1, %esi
callq 0xc114
testl %eax, %eax
je 0xc3ed
movl $0x0, 0x14(%r15,%r13,8)
movl $0x8, %esi
movq 0x8(%rsp), %rdi
callq 0x1dc6e
movl %eax, 0x18(%r15,%r13,8)
incq %r13
cmpq %r13, %r12
jne 0xc3ad
jmp 0xc707
movq %rbx, %rdi
movl $0x3, %esi
callq 0xc114
movl %eax, 0x14(%r15,%r13,8)
leal -0x1(%rax), %ecx
cmpl $0x4, %ecx
ja 0xca11
leaq 0x17796(%rip), %rdx     # 0x23ba8
movslq (%rdx,%rcx,4), %rax
addq %rdx, %rax
jmpq *%rax
movl $0x5, %esi
jmp 0xc3d1
cmpq %r13, %rbp
je 0xc3e0
jmp 0xc9da
cmpq %r13, %r14
je 0xc3e0
jmp 0xc9f3
leal -0x4(%rax), %ecx
movl %ecx, %edx
movq 0x48(%rsp), %r12
movq 0x50(%rsp), %rsi
subl 0x14(%rsi), %edx
jb 0xc458
movq 0x18(%rsp), %rcx
movq (%rcx), %r12
addq $0x10, %r12
movl %edx, %ecx
movq (%rsp), %rdi
movq (%r12), %r12
subl $0x1, %ecx
setb %dl
testq %r12, %r12
je 0xc46f
testb %dl, %dl
je 0xc45c
testq %r12, %r12
je 0xca2a
movq $0x0, 0x458(%rdi)
movl 0x10(%r12), %eax
movl %eax, 0x14(%rsp)
testl %eax, %eax
jle 0xc738
xorl %ebp, %ebp
movl 0x14(%r12,%rbp,8), %r8d
cmpq $0x5, %r8
ja 0xc9c5
leaq 0x1777c(%rip), %rcx     # 0x23c28
movslq (%rcx,%r8,4), %rax
addq %rcx, %rax
movq %rbp, 0x38(%rsp)
jmpq *%rax
movl 0x18(%r12,%rbp,8), %r15d
jmp 0xc6a1
movq %r13, %rbx
movq %rdi, %r13
movq %rbx, %rdi
movl $0x6, %esi
callq 0x1dc6e
movl 0xc(%rbx), %ecx
addl $0x3, %ecx
andl $-0x4, %ecx
movl %ecx, 0xc(%rbx)
movl $0x0, 0x10(%rbx)
movq %rax, 0x30(%rsp)
testl %eax, %eax
jle 0xc55e
movq 0x30(%rsp), %rax
movl %eax, %r15d
movq 0x8(%rsp), %rdi
movl $0x8, %esi
callq 0xc114
movl %eax, %ebp
movq 0x450(%r13), %rax
movq 0x458(%r13), %r14
leaq 0x1(%r14), %rbx
cmpq 0x460(%r13), %rbx
jbe 0xc54c
leaq (%rbx,%rbx), %rcx
movq %rcx, 0x460(%r13)
movq %rbx, %rsi
shlq $0x4, %rsi
movq %rax, %rdi
callq 0x33c0
movq (%rsp), %r13
movq %rax, 0x450(%r13)
movl %ebp, %ecx
movq %rbx, 0x458(%r13)
movq %rcx, (%rax,%r14,8)
decl %r15d
jne 0xc4fb
movq 0x30(%rsp), %rax
leal 0x3(%rax), %esi
andl $0x1ffffffc, %esi       # imm = 0x1FFFFFFC
subl %eax, %esi
shll $0x3, %esi
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0xc114
movq %r13, %rdi
movq %rbx, %r13
movq 0x38(%rsp), %rbp
jmp 0xc6ec
movl 0x18(%r12,%rbp,8), %esi
movq %r13, %rdi
callq 0x2153b
movq (%rsp), %rdi
movq %rax, %r15
jmp 0xc6a1
movl 0x10(%r12), %eax
addl $-0x2, %eax
cmpq %rax, %rbp
jne 0xc9a6
movq %r13, %rdi
movl $0x6, %esi
callq 0x1dc6e
testl %eax, %eax
movq (%rsp), %rdi
jle 0xc687
movl %eax, %r15d
movl 0x1c(%r12,%rbp,8), %r8d
cmpl $0x4, %r8d
je 0xc60f
cmpl $0x2, %r8d
je 0xc5fe
cmpl $0x1, %r8d
jne 0xc98c
movl 0x20(%r12,%rbp,8), %esi
movq %r13, %rdi
callq 0xc114
jmp 0xc60b
movl 0x20(%r12,%rbp,8), %esi
movq %r13, %rdi
callq 0x1dc6e
movl %eax, %ebp
jmp 0xc62a
movq %r13, %rdi
movl $0x6, %esi
callq 0xc114
movl %eax, %eax
leaq 0x1ba2c(%rip), %rcx     # 0x28051
movsbq (%rax,%rcx), %rbp
movq (%rsp), %rdi
movq 0x450(%rdi), %rax
movq 0x458(%rdi), %r14
leaq 0x1(%r14), %rbx
cmpq 0x460(%rdi), %rbx
jbe 0xc66e
leaq (%rbx,%rbx), %rcx
movq %rcx, 0x460(%rdi)
movq %rbx, %rsi
shlq $0x4, %rsi
movq %rax, %rdi
callq 0x33c0
movq (%rsp), %rdi
movq %rax, 0x450(%rdi)
movq %rbx, 0x458(%rdi)
movq %rbp, (%rax,%r14,8)
decl %r15d
movq 0x38(%rsp), %rbp
jne 0xc5d4
decl 0x14(%rsp)
jmp 0xc6ec
movl 0x18(%r12,%rbp,8), %esi
movq %r13, %rdi
callq 0xc114
movq (%rsp), %rdi
movl %eax, %r15d
movq 0x450(%rdi), %rax
movq 0x458(%rdi), %rbx
leaq 0x1(%rbx), %r14
cmpq 0x460(%rdi), %r14
jbe 0xc6e1
leaq (%r14,%r14), %rcx
movq %rcx, 0x460(%rdi)
movq %r14, %rsi
shlq $0x4, %rsi
movq %rax, %rdi
callq 0x33c0
movq (%rsp), %rdi
movq %rax, 0x450(%rdi)
movq %r14, 0x458(%rdi)
movq %r15, (%rax,%rbx,8)
incq %rbp
movslq 0x14(%rsp), %rax
cmpq %rax, %rbp
jl 0xc496
movl 0x458(%rdi), %edx
decl %edx
jmp 0xc73d
movq 0x18(%rsp), %rax
movq (%rax), %rax
movq 0x20(%rax), %rcx
testq %rcx, %rcx
je 0xc753
movq 0x20(%rcx), %rcx
movq %rcx, 0x8(%r15)
movq %r15, (%rcx)
movq 0x20(%rax), %rax
movq %r15, 0x20(%rax)
incl 0x14(%rax)
movq 0x8(%rsp), %r13
jmp 0xc1e6
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movq 0x450(%rdi), %rcx
movl (%rcx), %esi
addq $0x8, %rcx
callq *0x28(%rsp)
jmp 0xc1e6
movq 0x18(%rax), %rcx
movq %rcx, 0x8(%r15)
movq %r15, (%rcx)
movq %r15, 0x18(%rax)
movq 0x8(%rsp), %r13
jmp 0xc1e6
leaq 0x13474(%rip), %rdx     # 0x1fbe7
jmp 0xc926
leaq 0x13469(%rip), %rdx     # 0x1fbe8
jmp 0xc926
movq (%rsp), %rbx
movq %rbx, %rdi
movl %r14d, %esi
leaq 0x13454(%rip), %rdx     # 0x1fbe9
movq %rbp, %rcx
movq 0x8(%rsp), %r8
callq 0xc192
movq 0x170(%rbx), %rax
testq %rax, %rax
je 0xc93a
xorl %r12d, %r12d
xorl %ebp, %ebp
movq 0x168(%rbx), %rsi
cmpl $0x0, (%rsi,%r12)
jne 0xc7e4
cmpb $0x0, 0x25(%rsi,%r12)
jne 0xc7e4
addq %r12, %rsi
movq (%rsp), %rdi
callq 0x2140d
movq (%rsp), %rbx
movq 0x170(%rbx), %rax
incq %rbp
addq $0x28, %r12
cmpq %rbp, %rax
ja 0xc7b7
jmp 0xc93a
leaq 0x138cb(%rip), %rdx     # 0x200c7
jmp 0xc926
leaq 0x137b3(%rip), %rdx     # 0x1ffbb
jmp 0xc926
movq (%rsp), %rbx
movq %rbx, %rdi
movl %r14d, %esi
leaq 0x11cac(%rip), %rdx     # 0x1e4ca
movq %rbp, %rcx
movq 0x8(%rsp), %r8
callq 0xc192
movl 0x198(%rbx), %eax
testl %eax, %eax
jle 0xc93a
xorl %r12d, %r12d
movq 0x180(%rbx), %rcx
movq (%rcx,%r12,8), %rsi
cmpl $0x8, (%rsi)
jne 0xc863
movq 0x30(%rsi), %rdx
movq (%rsp), %rdi
callq 0x20d9c
movq (%rsp), %rbx
movl 0x198(%rbx), %eax
incq %r12
movslq %eax, %rcx
cmpq %rcx, %r12
jl 0xc83c
jmp 0xc93a
leaq 0x1152e(%rip), %rdx     # 0x1dda8
jmp 0xc926
movq (%rsp), %rdi
movl 0x198(%rdi), %r12d
movl %r12d, 0x19c(%rdi)
cmpl $0x0, 0x578(%rdi)
je 0xc8a4
movl $0x0, 0x578(%rdi)
movq 0x1c0(%rdi), %rax
testq %rax, %rax
cmoveq 0x40(%rsp), %rax
movq (%rax), %rsi
movq %rsi, 0x1c0(%rdi)
testq %rsi, %rsi
je 0xca45
movq (%rsp), %rdi
callq 0x101bb
movq (%rsp), %rdi
movl %r14d, %esi
leaq 0x12232(%rip), %rdx     # 0x1eb10
movq %rbp, %rcx
movq 0x8(%rsp), %r8
callq 0xc192
movq (%rsp), %rax
movq 0x1c0(%rax), %rsi
movq (%rsp), %rdi
callq 0x117f6
movq (%rsp), %rdi
movl %r12d, %esi
callq 0xeff9
jmp 0xc93a
leaq 0x1184e(%rip), %rdx     # 0x1e162
jmp 0xc926
leaq 0x11954(%rip), %rdx     # 0x1e271
jmp 0xc926
leaq 0x131dc(%rip), %rdx     # 0x1fb02
movq (%rsp), %rdi
movl %r14d, %esi
movq %rbp, %rcx
movq 0x8(%rsp), %r8
callq 0xc192
movq %r13, %rdi
callq 0xf0c0
movq (%r15), %rax
movq 0x8(%r15), %rcx
testq %rax, %rax
je 0xc952
movq %rcx, 0x8(%rax)
movq %rax, (%rcx)
movq %r15, %rdi
callq 0x3030
movq 0x8(%rsp), %r13
jmp 0xc1e6
movl 0xc(%r13), %eax
addl $0x3, %eax
andl $-0x4, %eax
movl %eax, 0xc(%r13)
movl $0x0, 0x10(%r13)
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1ac42(%rip), %rsi     # 0x275d5
leaq 0x1b6f8(%rip), %rcx     # 0x28092
movl $0x447, %edx            # imm = 0x447
xorl %eax, %eax
callq 0xca98
leaq 0x1b5fd(%rip), %rdi     # 0x27faa
leaq 0x1ac21(%rip), %rsi     # 0x275d5
leaq 0x1b604(%rip), %rcx     # 0x27fbf
movl $0x48e, %edx            # imm = 0x48E
callq 0x31e0
leaq 0x1ac09(%rip), %rsi     # 0x275d5
leaq 0x1b659(%rip), %rcx     # 0x2802c
movl $0x498, %edx            # imm = 0x498
jmp 0xc99f
leaq 0x1abf4(%rip), %rsi     # 0x275d5
leaq 0x1b534(%rip), %rcx     # 0x27f1c
movq (%rsp), %rdi
movl $0x417, %edx            # imm = 0x417
jmp 0xca0a
leaq 0x1abdb(%rip), %rsi     # 0x275d5
leaq 0x1b52d(%rip), %rcx     # 0x27f2e
movq (%rsp), %rdi
movl $0x41c, %edx            # imm = 0x41C
xorl %eax, %eax
callq 0xca98
leaq 0x1abbd(%rip), %rsi     # 0x275d5
leaq 0x1b52a(%rip), %rcx     # 0x27f49
movq (%rsp), %rdi
movl $0x420, %edx            # imm = 0x420
jmp 0xca3d
leaq 0x1aba4(%rip), %rsi     # 0x275d5
leaq 0x1b55d(%rip), %rcx     # 0x27f95
movl $0x479, %edx            # imm = 0x479
movl %eax, %r8d
jmp 0xc99f
leaq 0x1ab89(%rip), %rsi     # 0x275d5
leaq 0x1abfd(%rip), %rcx     # 0x27650
movl $0x3ab, %edx            # imm = 0x3AB
jmp 0xca0a
leaq 0x1ab74(%rip), %rsi     # 0x275d5
leaq 0x1ac10(%rip), %rcx     # 0x27678
movq (%rsp), %rdi
movl $0x3cb, %edx            # imm = 0x3CB
movl %r12d, %r8d
jmp 0xc99f
leaq 0x1ab45(%rip), %rdi     # 0x275c5
leaq 0x1ab4e(%rip), %rsi     # 0x275d5
leaq 0x1ab61(%rip), %rcx     # 0x275ef
movl $0x4aa, %edx            # imm = 0x4AA
callq 0x31e0