// File: /workspace/github_c_makefile_star2_O2/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, 0x30(%rsp)
movl %esi, 0x2c(%rsp)
cmpl $0x0, 0x10(%r8)
jne 0xbeb3
movq %r8, %r14
movq %rdi, %rbx
leaq 0x140(%rdi), %rax
movq %rax, 0x20(%rsp)
leaq 0x1a8(%rdi), %rax
movq %rax, 0x38(%rsp)
movq %rcx, 0x48(%rsp)
leaq 0x18(%rcx), %rax
movq %rax, 0x40(%rsp)
movq %r8, 0x18(%rsp)
movq %r14, %rdi
movl 0x2c(%rsp), %esi
callq 0xb602
cmpl $0x3, %eax
ja 0xb8df
movl %eax, %eax
leaq 0x1349a(%rip), %rcx     # 0x1eb84
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %r14, %rdi
pushq $0x8
popq %rsi
callq 0x1997f
movl %eax, %ebp
movq %r14, %rdi
pushq $0x4
popq %rsi
callq 0x1997f
movl %eax, %r13d
movl 0xc(%r14), %eax
addl $0x3, %eax
andl $-0x4, %eax
movl %eax, 0xc(%r14)
andl $0x0, 0x10(%r14)
movq %r14, %rdi
pushq $0x20
popq %rsi
callq 0xb602
pushq $0x1
popq %rdi
pushq $0x28
popq %rsi
callq 0x32f0
movq %rax, %r12
movq %rax, %r15
movq 0x20(%rsp), %rax
movq (%rax), %rax
movq %rax, (%r12)
testq %rax, %rax
je 0xb752
movq %r15, 0x8(%rax)
movq %r15, 0x140(%rbx)
movq 0x20(%rsp), %rax
movq %rax, 0x8(%r15)
addq $0x10, %r12
andq $0x0, 0x10(%r15)
movq %r12, 0x18(%r15)
movq %rbx, %rdi
movl %ebp, %esi
callq 0x19a18
cmpl $0x1a, %ebp
ja 0xbe95
movl %ebp, %edx
leaq 0x1341d(%rip), %rcx     # 0x1eba8
movslq (%rcx,%rdx,4), %rsi
addq %rcx, %rsi
leaq 0xe2d6(%rip), %rdx      # 0x19a6f
movq %r15, 0x10(%rsp)
jmpq *%rsi
movq %rbx, %rdi
movl %r13d, %esi
leaq 0xfdbe(%rip), %rdx      # 0x1b56b
movq %rax, %rcx
movq %r14, %r8
callq 0xb679
cmpl $0x11, %ebp
je 0xbc18
jmp 0xbd72
movq %r14, %rdi
pushq $0x6
popq %rbp
movl %ebp, %esi
callq 0x1997f
movl %eax, %r15d
movq %r14, %rdi
movl %ebp, %esi
callq 0x1997f
movl %eax, %r12d
leaq (,%r12,8), %rdi
callq 0x3380
movq %rax, %rbp
xorl %r14d, %r14d
cmpq %r14, %r12
je 0xb812
movq 0x18(%rsp), %rdi
pushq $0x6
popq %rsi
callq 0x1c694
movq %rax, (%rbp,%r14,8)
incq %r14
jmp 0xb7f6
movq %rbx, %rdi
movl %r15d, %esi
movl %r12d, %edx
movq %rbp, %rcx
callq *0x30(%rsp)
movq %rbp, %rdi
callq 0x3030
movq 0x18(%rsp), %r14
jmp 0xb6cc
movq %r14, %rdi
pushq $0x5
popq %rsi
callq 0x1997f
movl %eax, %ebp
movl %eax, %r15d
leaq 0x18(,%r15,8), %rsi
pushq $0x1
popq %rdi
callq 0x32f0
movq %rax, %r12
movl %ebp, 0x10(%rax)
leal -0x2(%rbp), %eax
movq %rax, 0x10(%rsp)
decl %ebp
xorl %r13d, %r13d
cmpq %r13, %r15
je 0xbb85
movq %r14, %rdi
pushq $0x1
popq %rsi
callq 0xb602
testl %eax, %eax
je 0xb89a
andl $0x0, 0x14(%r12,%r13,8)
pushq $0x8
popq %rsi
movq %r14, %rdi
callq 0x1997f
movl %eax, 0x18(%r12,%r13,8)
incq %r13
jmp 0xb867
movq %r14, %rdi
pushq $0x3
popq %rsi
callq 0xb602
movl %eax, 0x14(%r12,%r13,8)
leal -0x1(%rax), %ecx
cmpl $0x4, %ecx
ja 0xbe47
leaq 0x132d7(%rip), %rdx     # 0x1eb94
movslq (%rdx,%rcx,4), %rax
addq %rdx, %rax
pushq $0x5
popq %rsi
jmpq *%rax
cmpq %r13, 0x10(%rsp)
je 0xb895
jmp 0xbe2a
cmpq %r13, %rbp
je 0xb895
jmp 0xbe12
leal -0x4(%rax), %ecx
movl %ecx, %edx
movq 0x40(%rsp), %r13
movq 0x48(%rsp), %rsi
subl 0x14(%rsi), %edx
jb 0xb901
movq 0x20(%rsp), %rcx
movq (%rcx), %r13
addq $0x10, %r13
movl %edx, %ecx
movq (%r13), %r13
subl $0x1, %ecx
setb %dl
testq %r13, %r13
je 0xb914
testb %dl, %dl
je 0xb901
testq %r13, %r13
je 0xbe5f
andq $0x0, 0x458(%rbx)
movl 0x10(%r13), %ebp
xorl %r15d, %r15d
movslq %ebp, %rax
cmpq %rax, %r15
jge 0xbbb2
movl 0x14(%r13,%r15,8), %r8d
cmpq $0x5, %r8
ja 0xbdfa
leaq 0x132c6(%rip), %rcx     # 0x1ec14
movslq (%rcx,%r8,4), %rax
addq %rcx, %rax
movq %r15, 0x10(%rsp)
jmpq *%rax
movl 0x18(%r13,%r15,8), %r12d
jmp 0xbb24
movl %ebp, 0xc(%rsp)
movq %r14, %rdi
pushq $0x6
popq %rsi
callq 0x1997f
movl 0xc(%r14), %ecx
addl $0x3, %ecx
andl $-0x4, %ecx
movl %ecx, 0xc(%r14)
andl $0x0, 0x10(%r14)
testl %eax, %eax
movl $0x0, %r12d
movq %rax, 0x50(%rsp)
cmovgl %eax, %r12d
subl $0x1, %r12d
jb 0xb9fc
movq %r14, %rdi
pushq $0x8
popq %rsi
callq 0xb602
movl %eax, %ebp
movq 0x450(%rbx), %rax
movq 0x458(%rbx), %r14
leaq 0x1(%r14), %r15
cmpq 0x460(%rbx), %r15
jbe 0xb9e8
leaq (%r15,%r15), %rcx
movq %rcx, 0x460(%rbx)
movq %r15, %rsi
shlq $0x4, %rsi
movq %rax, %rdi
callq 0x33c0
movq %rax, 0x450(%rbx)
movl %ebp, %ecx
movq %r15, 0x458(%rbx)
movq %rcx, (%rax,%r14,8)
movq 0x18(%rsp), %r14
jmp 0xb999
movq 0x50(%rsp), %rax
leal 0x3(%rax), %esi
andl $0x1ffffffc, %esi       # imm = 0x1FFFFFFC
subl %eax, %esi
shll $0x3, %esi
movq %r14, %rdi
callq 0xb602
movl 0xc(%rsp), %ebp
jmp 0xbb70
movl 0x18(%r13,%r15,8), %esi
movq %r14, %rdi
callq 0x1c694
movq %rax, %r12
jmp 0xbb24
movl 0x10(%r13), %eax
addl $-0x2, %eax
cmpq %rax, %r15
jne 0xbddb
movl %ebp, 0xc(%rsp)
movq %r14, %rdi
pushq $0x6
popq %rsi
callq 0x1997f
movl %eax, %ebp
testl %eax, %eax
movl $0x0, %eax
cmovlel %eax, %ebp
subl $0x1, %ebp
jb 0xbb7d
movl 0x1c(%r13,%r15,8), %r8d
cmpl $0x4, %r8d
je 0xbaa5
cmpl $0x2, %r8d
je 0xba93
cmpl $0x1, %r8d
jne 0xbdbe
movl 0x20(%r13,%r15,8), %esi
movq %r14, %rdi
callq 0xb602
jmp 0xbaa0
movl 0x20(%r13,%r15,8), %esi
movq %r14, %rdi
callq 0x1997f
movl %eax, %r12d
jmp 0xbabe
movq %r14, %rdi
pushq $0x6
popq %rsi
callq 0xb602
movl %eax, %eax
leaq 0x17703(%rip), %rcx     # 0x231bc
movsbq (%rax,%rcx), %r12
movq 0x450(%rbx), %rax
movq 0x458(%rbx), %r14
leaq 0x1(%r14), %r15
cmpq 0x460(%rbx), %r15
jbe 0xbafa
leaq (%r15,%r15), %rcx
movq %rcx, 0x460(%rbx)
movq %r15, %rsi
shlq $0x4, %rsi
movq %rax, %rdi
callq 0x33c0
movq %rax, 0x450(%rbx)
movq %r15, 0x458(%rbx)
movq %r12, (%rax,%r14,8)
movq 0x18(%rsp), %r14
movq 0x10(%rsp), %r15
jmp 0xba60
movl 0x18(%r13,%r15,8), %esi
movq %r14, %rdi
callq 0xb602
movl %eax, %r12d
movq 0x450(%rbx), %rax
movq 0x458(%rbx), %r14
leaq 0x1(%r14), %r15
cmpq 0x460(%rbx), %r15
jbe 0xbb60
leaq (%r15,%r15), %rcx
movq %rcx, 0x460(%rbx)
movq %r15, %rsi
shlq $0x4, %rsi
movq %rax, %rdi
callq 0x33c0
movq %rax, 0x450(%rbx)
movq %r15, 0x458(%rbx)
movq %r12, (%rax,%r14,8)
movq 0x18(%rsp), %r14
movq 0x10(%rsp), %r15
incq %r15
jmp 0xb92c
movl 0xc(%rsp), %ebp
decl %ebp
jmp 0xbb75
movq 0x20(%rsp), %rax
movq (%rax), %rax
movq 0x20(%rax), %rcx
testq %rcx, %rcx
je 0xbbd3
movq 0x20(%rcx), %rcx
movq %rcx, 0x8(%r12)
movq %r12, (%rcx)
movq 0x20(%rax), %rax
movq %r12, 0x20(%rax)
incl 0x14(%rax)
jmp 0xb6cc
movq 0x450(%rbx), %rcx
movl (%rcx), %esi
movl 0x458(%rbx), %edx
decl %edx
addq $0x8, %rcx
movq %rbx, %rdi
callq *0x30(%rsp)
jmp 0xb6cc
movq 0x18(%rax), %rcx
movq %rcx, 0x8(%r12)
movq %r12, (%rcx)
movq %r12, 0x18(%rax)
jmp 0xb6cc
leaq 0xf55e(%rip), %rdx      # 0x1b14d
jmp 0xbd61
leaq 0xf553(%rip), %rdx      # 0x1b14e
jmp 0xbd61
movq %rbx, %rdi
movl %r13d, %esi
leaq 0xf542(%rip), %rdx      # 0x1b14f
movq %rax, %rcx
movq %r14, %r8
callq 0xb679
xorl %r15d, %r15d
xorl %r13d, %r13d
cmpq %r13, 0x170(%rbx)
jbe 0xbd72
movq 0x168(%rbx), %rsi
cmpl $0x0, (%rsi,%r15)
jne 0xbc4c
cmpb $0x0, 0x25(%rsi,%r15)
jne 0xbc4c
addq %r15, %rsi
movq %rbx, %rdi
callq 0x1c5b4
incq %r13
addq $0x28, %r15
jmp 0xbc1e
leaq 0xf90f(%rip), %rdx      # 0x1b56b
jmp 0xbd61
leaq 0xf850(%rip), %rdx      # 0x1b4b8
jmp 0xbd61
movq %rbx, %rdi
movl %r13d, %esi
leaq 0xe487(%rip), %rdx      # 0x1a101
movq %rax, %rcx
movq %r14, %r8
callq 0xb679
xorl %r15d, %r15d
movslq 0x198(%rbx), %rax
cmpq %rax, %r15
jge 0xbd72
movq 0x180(%rbx), %rax
movq (%rax,%r15,8), %rsi
cmpl $0x8, (%rsi)
jne 0xbcb4
movq 0x30(%rsi), %rdx
movq %rbx, %rdi
callq 0x1c070
incq %r15
jmp 0xbc88
leaq 0xdde9(%rip), %rdx      # 0x19aa9
jmp 0xbd61
movl 0x198(%rbx), %ecx
movl %ecx, 0xc(%rsp)
movl %ecx, 0x19c(%rbx)
cmpl $0x0, 0x578(%rbx)
je 0xbce5
andl $0x0, 0x578(%rbx)
movq %rax, %rbp
movq 0x1c0(%rbx), %rax
testq %rax, %rax
cmoveq 0x38(%rsp), %rax
movq (%rax), %rsi
movq %rsi, 0x1c0(%rbx)
testq %rsi, %rsi
je 0xbe7d
movq %rbx, %rdi
callq 0xf009
movq %rbx, %rdi
movl %r13d, %esi
leaq 0xe8eb(%rip), %rdx      # 0x1a60b
movq %rbp, %rcx
movq %r14, %r8
callq 0xb679
movq 0x1c0(%rbx), %rsi
movq %rbx, %rdi
callq 0xfcfa
movq %rbx, %rdi
movl 0xc(%rsp), %esi
callq 0xe127
jmp 0xbd72
leaq 0xe056(%rip), %rdx      # 0x19da5
jmp 0xbd61
leaq 0xe15a(%rip), %rdx      # 0x19eb2
jmp 0xbd61
leaq 0xf35c(%rip), %rdx      # 0x1b0bd
movq %rbx, %rdi
movl %r13d, %esi
movq %rax, %rcx
movq %r14, %r8
callq 0xb679
movq %r12, %rdi
callq 0xe1ef
movq 0x10(%rsp), %rdi
movq (%rdi), %rax
movq 0x8(%rdi), %rcx
testq %rax, %rax
je 0xbd8f
movq %rcx, 0x8(%rax)
movq %rax, (%rcx)
callq 0x3030
jmp 0xb6cc
movl 0xc(%r14), %eax
addl $0x3, %eax
andl $-0x4, %eax
movl %eax, 0xc(%r14)
andl $0x0, 0x10(%r14)
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1697b(%rip), %rsi     # 0x22740
leaq 0x17431(%rip), %rcx     # 0x231fd
movq %rbx, %rdi
movl $0x447, %edx            # imm = 0x447
xorl %eax, %eax
callq 0xbed2
leaq 0x17333(%rip), %rdi     # 0x23115
leaq 0x16957(%rip), %rsi     # 0x22740
leaq 0x1733a(%rip), %rcx     # 0x2312a
movl $0x48e, %edx            # imm = 0x48E
callq 0x31e0
leaq 0x1693f(%rip), %rsi     # 0x22740
leaq 0x1738f(%rip), %rcx     # 0x23197
movq %rbx, %rdi
movl $0x498, %edx            # imm = 0x498
jmp 0xbdd4
leaq 0x16927(%rip), %rsi     # 0x22740
leaq 0x17267(%rip), %rcx     # 0x23087
movq %rbx, %rdi
movl $0x417, %edx            # imm = 0x417
jmp 0xbe40
leaq 0x1690f(%rip), %rsi     # 0x22740
leaq 0x17261(%rip), %rcx     # 0x23099
movq %rbx, %rdi
movl $0x41c, %edx            # imm = 0x41C
xorl %eax, %eax
callq 0xbed2
leaq 0x168f2(%rip), %rsi     # 0x22740
leaq 0x1725f(%rip), %rcx     # 0x230b4
movq %rbx, %rdi
movl $0x420, %edx            # imm = 0x420
jmp 0xbe75
leaq 0x168da(%rip), %rsi     # 0x22740
leaq 0x17293(%rip), %rcx     # 0x23100
movq %rbx, %rdi
movl $0x479, %edx            # imm = 0x479
movl %eax, %r8d
jmp 0xbdd4
leaq 0x168bc(%rip), %rsi     # 0x22740
leaq 0x16930(%rip), %rcx     # 0x227bb
movq %rbx, %rdi
movl $0x3ab, %edx            # imm = 0x3AB
jmp 0xbe40
leaq 0x168a4(%rip), %rsi     # 0x22740
leaq 0x16940(%rip), %rcx     # 0x227e3
movq %rbx, %rdi
movl $0x3cb, %edx            # imm = 0x3CB
movl %ebp, %r8d
jmp 0xbdd4
leaq 0x16876(%rip), %rdi     # 0x22730
leaq 0x1687f(%rip), %rsi     # 0x22740
leaq 0x16892(%rip), %rcx     # 0x2275a
movl $0x4aa, %edx            # imm = 0x4AA
callq 0x31e0