// File: /workspace/github_c_makefile_star2_O1/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 0xca54
movq %r8, %r14
movq %rdi, %rbx
leaq 0x140(%rdi), %rax
movq %rax, 0x30(%rsp)
leaq 0x1a8(%rdi), %rax
movq %rax, 0x40(%rsp)
movq %rcx, 0x50(%rsp)
leaq 0x18(%rcx), %rax
movq %rax, 0x48(%rsp)
movq %r8, 0x18(%rsp)
movq %r14, %rdi
movl 0x24(%rsp), %esi
callq 0xc0fb
cmpl $0x3, %eax
ja 0xc44a
movl %eax, %eax
leaq 0x17988(%rip), %rcx     # 0x23b74
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %r14, %rdi
movl $0x8, %esi
callq 0x1d97a
movl %eax, %r12d
movq %r14, %rdi
movl $0x4, %esi
callq 0x1d97a
movl %eax, 0x10(%rsp)
movl 0xc(%r14), %eax
addl $0x3, %eax
andl $-0x4, %eax
movl %eax, 0xc(%r14)
movl $0x0, 0x10(%r14)
movq %r14, %rdi
movl $0x20, %esi
callq 0xc0fb
movl $0x1, %edi
movl $0x28, %esi
callq 0x32f0
movq %rax, %r13
movq %rax, %r15
movq 0x30(%rsp), %rax
movq (%rax), %rax
movq %rax, (%r13)
testq %rax, %rax
je 0xc263
movq %r15, 0x8(%rax)
movq %r15, 0x140(%rbx)
movq 0x30(%rsp), %rax
movq %rax, 0x8(%r15)
addq $0x10, %r13
movq $0x0, 0x10(%r15)
movq %r13, 0x18(%r15)
movq %rbx, %rdi
movl %r12d, %esi
callq 0x1da23
cmpl $0x1a, %r12d
ja 0xca36
movq %rax, %rbp
movl %r12d, %eax
leaq 0x178f3(%rip), %rcx     # 0x23b98
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x0, 0xc(%rsp)
leaq 0x13c3b(%rip), %rdx     # 0x1fef8
movl 0x10(%rsp), %esi
movq %rbx, %rdi
movq %rbp, %rcx
movq %r14, %r8
callq 0xc17b
cmpl $0xb, %r12d
je 0xc7b8
cmpl $0x11, %r12d
je 0xc776
cmpl $0xc, %r12d
jne 0xc7ef
movq 0x1c0(%rbx), %rsi
movq %rbx, %rdi
callq 0x11a0b
movq %rbx, %rdi
movl 0xc(%rsp), %esi
callq 0xf069
jmp 0xc7ef
movq %r14, %rdi
movl $0x6, %esi
callq 0x1d97a
movl %eax, %ebp
movq %r14, %rdi
movl $0x6, %esi
callq 0x1d97a
movl %eax, %r13d
movl %eax, %r15d
leaq (,%r15,8), %rdi
callq 0x3380
movq %rax, %r12
testl %r13d, %r13d
movq %r14, %r13
je 0xc363
xorl %r14d, %r14d
movq %r13, %rdi
movl $0x6, %esi
callq 0x2140a
movq %rax, (%r12,%r14,8)
incq %r14
cmpq %r14, %r15
jne 0xc34a
movq %rbx, %rdi
movl %ebp, %esi
movl %r15d, %edx
movq %r12, %rcx
callq *0x28(%rsp)
movq %r12, %rdi
callq 0x3030
movq %r13, %r14
jmp 0xc1ce
movq %r14, %rdi
movl $0x5, %esi
callq 0x1d97a
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 0xc730
leal -0x2(%r12), %eax
movq %rax, 0x10(%rsp)
leal -0x1(%r12), %ebp
xorl %r13d, %r13d
movq %r14, %rdi
movl $0x1, %esi
callq 0xc0fb
testl %eax, %eax
je 0xc3ff
movl $0x0, 0x14(%r15,%r13,8)
movl $0x8, %esi
movq %r14, %rdi
callq 0x1d97a
movl %eax, 0x18(%r15,%r13,8)
incq %r13
cmpq %r13, %r12
jne 0xc3c6
jmp 0xc730
movq %r14, %rdi
movl $0x3, %esi
callq 0xc0fb
movl %eax, 0x14(%r15,%r13,8)
leal -0x1(%rax), %ecx
cmpl $0x4, %ecx
ja 0xc9e8
leaq 0x17760(%rip), %rdx     # 0x23b84
movslq (%rdx,%rcx,4), %rax
addq %rdx, %rax
jmpq *%rax
movl $0x5, %esi
jmp 0xc3e5
cmpq %r13, %rbp
je 0xc3f2
jmp 0xc9b3
cmpq %r13, 0x10(%rsp)
je 0xc3f2
jmp 0xc9cb
leal -0x4(%rax), %ecx
movl %ecx, %edx
movq 0x48(%rsp), %r12
movq 0x50(%rsp), %rsi
subl 0x14(%rsi), %edx
jb 0xc46b
movq 0x140(%rbx), %r12
addq $0x10, %r12
movl %edx, %ecx
movq (%r12), %r12
subl $0x1, %ecx
setb %dl
testq %r12, %r12
je 0xc47e
testb %dl, %dl
je 0xc46b
testq %r12, %r12
je 0xca00
movq $0x0, 0x458(%rbx)
movl 0x10(%r12), %ebp
testl %ebp, %ebp
jle 0xc70f
xorl %r15d, %r15d
movl 0x14(%r12,%r15,8), %r8d
cmpq $0x5, %r8
ja 0xc99b
leaq 0x1774c(%rip), %rcx     # 0x23c04
movslq (%rcx,%r8,4), %rax
addq %rcx, %rax
movq %r15, 0x10(%rsp)
jmpq *%rax
movl 0x18(%r12,%r15,8), %r15d
jmp 0xc6a7
movl %ebp, 0xc(%rsp)
movq %r14, %rdi
movl $0x6, %esi
callq 0x1d97a
movl 0xc(%r14), %ecx
addl $0x3, %ecx
andl $-0x4, %ecx
movl %ecx, 0xc(%r14)
movl $0x0, 0x10(%r14)
movq %rax, 0x38(%rsp)
testl %eax, %eax
jle 0xc572
movq 0x38(%rsp), %rax
movl %eax, %r15d
movq %r14, %rdi
movl $0x8, %esi
callq 0xc0fb
movl %eax, %ebp
movq 0x458(%rbx), %r14
leaq 0x1(%r14), %r13
cmpq 0x460(%rbx), %r13
jbe 0xc554
leaq (,%r13,2), %rax
movq %rax, 0x460(%rbx)
movq %r13, %rsi
shlq $0x4, %rsi
movq 0x450(%rbx), %rdi
callq 0x33c0
movq %rax, 0x450(%rbx)
movl %ebp, %eax
movq %r13, 0x458(%rbx)
movq 0x450(%rbx), %rcx
movq %rax, (%rcx,%r14,8)
decl %r15d
movq 0x18(%rsp), %r14
jne 0xc508
movq 0x38(%rsp), %rax
leal 0x3(%rax), %esi
andl $0x1ffffffc, %esi       # imm = 0x1FFFFFFC
subl %eax, %esi
shll $0x3, %esi
movq %r14, %rdi
callq 0xc0fb
movl 0xc(%rsp), %ebp
jmp 0xc6fb
movl 0x18(%r12,%r15,8), %esi
movq %r14, %rdi
callq 0x2140a
movq %rax, %r15
jmp 0xc6a7
movl %ebp, 0xc(%rsp)
movl 0x10(%r12), %eax
addl $-0x2, %eax
cmpq %rax, %r15
jne 0xc97c
movq %r14, %rdi
movl $0x6, %esi
callq 0x1d97a
testl %eax, %eax
jle 0xc68f
movl %eax, %ebp
movl 0x1c(%r12,%r15,8), %r8d
cmpl $0x4, %r8d
je 0xc613
cmpl $0x2, %r8d
je 0xc601
cmpl $0x1, %r8d
jne 0xc95f
movl 0x20(%r12,%r15,8), %esi
movq %r14, %rdi
callq 0xc0fb
jmp 0xc60e
movl 0x20(%r12,%r15,8), %esi
movq %r14, %rdi
callq 0x1d97a
movl %eax, %r15d
jmp 0xc62e
movq %r14, %rdi
movl $0x6, %esi
callq 0xc0fb
movl %eax, %eax
leaq 0x1b9de(%rip), %rcx     # 0x28007
movsbq (%rax,%rcx), %r15
movq 0x458(%rbx), %r14
leaq 0x1(%r14), %r13
cmpq 0x460(%rbx), %r13
jbe 0xc66b
leaq (,%r13,2), %rax
movq %rax, 0x460(%rbx)
movq %r13, %rsi
shlq $0x4, %rsi
movq 0x450(%rbx), %rdi
callq 0x33c0
movq %rax, 0x450(%rbx)
movq %r13, 0x458(%rbx)
movq 0x450(%rbx), %rax
movq %r15, (%rax,%r14,8)
decl %ebp
movq 0x18(%rsp), %r14
movq 0x10(%rsp), %r15
jne 0xc5d7
movl 0xc(%rsp), %ebp
decl %ebp
jmp 0xc700
movl 0x18(%r12,%r15,8), %esi
movq %r14, %rdi
callq 0xc0fb
movl %eax, %r15d
movq 0x458(%rbx), %r14
leaq 0x1(%r14), %r13
cmpq 0x460(%rbx), %r13
jbe 0xc6e4
leaq (,%r13,2), %rax
movq %rax, 0x460(%rbx)
movq %r13, %rsi
shlq $0x4, %rsi
movq 0x450(%rbx), %rdi
callq 0x33c0
movq %rax, 0x450(%rbx)
movq %r13, 0x458(%rbx)
movq 0x450(%rbx), %rax
movq %r15, (%rax,%r14,8)
movq 0x18(%rsp), %r14
movq 0x10(%rsp), %r15
incq %r15
movslq %ebp, %rax
cmpq %rax, %r15
jl 0xc4a2
movq 0x450(%rbx), %rcx
movl (%rcx), %esi
movl 0x458(%rbx), %edx
decl %edx
addq $0x8, %rcx
movq %rbx, %rdi
callq *0x28(%rsp)
jmp 0xc1ce
movq 0x140(%rbx), %rax
movq 0x20(%rax), %rcx
movq $0x0, (%r15)
testq %rcx, %rcx
je 0xc762
movq 0x20(%rcx), %rcx
movq %rcx, 0x8(%r15)
movq %r15, (%rcx)
movq 0x20(%rax), %rax
movq %r15, 0x20(%rax)
incl 0x14(%rax)
jmp 0xc1ce
movq 0x18(%rax), %rcx
movq %rcx, 0x8(%r15)
movq %r15, (%rcx)
movq %r15, 0x18(%rax)
jmp 0xc1ce
cmpq $0x0, 0x170(%rbx)
je 0xc7ef
xorl %r12d, %r12d
xorl %ebp, %ebp
movq 0x168(%rbx), %rsi
cmpl $0x0, (%rsi,%r12)
jne 0xc7a6
cmpb $0x0, 0x25(%rsi,%r12)
jne 0xc7a6
addq %r12, %rsi
movq %rbx, %rdi
callq 0x212dc
incq %rbp
addq $0x28, %r12
cmpq %rbp, 0x170(%rbx)
ja 0xc785
jmp 0xc7ef
cmpl $0x0, 0x198(%rbx)
jle 0xc7ef
xorl %r12d, %r12d
movq 0x180(%rbx), %rax
movq (%rax,%r12,8), %rsi
cmpl $0x8, (%rsi)
jne 0xc7e0
movq 0x30(%rsi), %rdx
movq %rbx, %rdi
callq 0x20c6f
incq %r12
movslq 0x198(%rbx), %rax
cmpq %rax, %r12
jl 0xc7c4
movq %r13, %rdi
callq 0xf138
movq (%r15), %rax
testq %rax, %rax
je 0xc807
movq 0x8(%r15), %rcx
movq %rcx, 0x8(%rax)
movq 0x8(%r15), %rcx
movq %rax, (%rcx)
movq %r15, %rdi
callq 0x3030
jmp 0xc1ce
movl $0x0, 0xc(%rsp)
leaq 0x13206(%rip), %rdx     # 0x1fa30
jmp 0xc2bd
movl $0x0, 0xc(%rsp)
leaq 0x135ae(%rip), %rdx     # 0x1fdec
jmp 0xc2bd
movl $0x0, 0xc(%rsp)
leaq 0x131dd(%rip), %rdx     # 0x1fa2f
jmp 0xc2bd
movl $0x0, 0xc(%rsp)
leaq 0x119ca(%rip), %rdx     # 0x1e230
jmp 0xc2bd
movl $0x0, 0xc(%rsp)
leaq 0x11248(%rip), %rdx     # 0x1dac2
jmp 0xc2bd
leaq 0x11200(%rip), %rdx     # 0x1da86
movl %r12d, 0xc(%rsp)
jmp 0xc2bd
movl 0x198(%rbx), %eax
movl %eax, 0xc(%rsp)
movl %eax, 0x19c(%rbx)
cmpl $0x0, 0x578(%rbx)
je 0xc8b3
movl $0x0, 0x578(%rbx)
movq 0x1c0(%rbx), %rax
testq %rax, %rax
cmoveq 0x40(%rsp), %rax
movq (%rax), %rsi
movq %rsi, 0x1c0(%rbx)
testq %rsi, %rsi
je 0xca1e
movq %rbx, %rdi
callq 0x10244
leaq 0x11f9c(%rip), %rdx     # 0x1e881
jmp 0xc2bd
movl $0x0, 0xc(%rsp)
leaq 0x115c5(%rip), %rdx     # 0x1debe
jmp 0xc2bd
movl $0x0, 0xc(%rsp)
leaq 0x13121(%rip), %rdx     # 0x1fa2e
jmp 0xc2bd
movl $0x0, 0xc(%rsp)
leaq 0x116ad(%rip), %rdx     # 0x1dfce
jmp 0xc2bd
movl $0x0, 0xc(%rsp)
leaq 0x1300f(%rip), %rdx     # 0x1f944
jmp 0xc2bd
movl 0xc(%r14), %eax
addl $0x3, %eax
andl $-0x4, %eax
movl %eax, 0xc(%r14)
movl $0x0, 0x10(%r14)
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1ac25(%rip), %rsi     # 0x2758b
leaq 0x1b6db(%rip), %rcx     # 0x28048
movq %rbx, %rdi
movl $0x447, %edx            # imm = 0x447
xorl %eax, %eax
callq 0xca73
leaq 0x1b5dd(%rip), %rdi     # 0x27f60
leaq 0x1ac01(%rip), %rsi     # 0x2758b
leaq 0x1b5e4(%rip), %rcx     # 0x27f75
movl $0x48e, %edx            # imm = 0x48E
callq 0x31e0
leaq 0x1abe9(%rip), %rsi     # 0x2758b
leaq 0x1b639(%rip), %rcx     # 0x27fe2
movq %rbx, %rdi
movl $0x498, %edx            # imm = 0x498
jmp 0xc975
leaq 0x1abd1(%rip), %rsi     # 0x2758b
leaq 0x1b511(%rip), %rcx     # 0x27ed2
movq %rbx, %rdi
movl $0x417, %edx            # imm = 0x417
jmp 0xc9e1
leaq 0x1abb9(%rip), %rsi     # 0x2758b
leaq 0x1b50b(%rip), %rcx     # 0x27ee4
movq %rbx, %rdi
movl $0x41c, %edx            # imm = 0x41C
xorl %eax, %eax
callq 0xca73
leaq 0x1ab9c(%rip), %rsi     # 0x2758b
leaq 0x1b509(%rip), %rcx     # 0x27eff
movq %rbx, %rdi
movl $0x420, %edx            # imm = 0x420
jmp 0xca16
leaq 0x1ab84(%rip), %rsi     # 0x2758b
leaq 0x1b53d(%rip), %rcx     # 0x27f4b
movq %rbx, %rdi
movl $0x479, %edx            # imm = 0x479
movl %eax, %r8d
jmp 0xc975
leaq 0x1ab66(%rip), %rsi     # 0x2758b
leaq 0x1abda(%rip), %rcx     # 0x27606
movq %rbx, %rdi
movl $0x3ab, %edx            # imm = 0x3AB
jmp 0xc9e1
leaq 0x1ab4e(%rip), %rsi     # 0x2758b
leaq 0x1abea(%rip), %rcx     # 0x2762e
movq %rbx, %rdi
movl $0x3cb, %edx            # imm = 0x3CB
movl %r12d, %r8d
jmp 0xc975
leaq 0x1ab20(%rip), %rdi     # 0x2757b
leaq 0x1ab29(%rip), %rsi     # 0x2758b
leaq 0x1ab3c(%rip), %rcx     # 0x275a5
movl $0x4aa, %edx            # imm = 0x4AA
callq 0x31e0