// File: /workspace/github_c_makefile_star2_O1/cogbee[P]vmir-latest/src/vmir_bitcode_parser.c
// Function: module_rec_handler
static void
module_rec_handler(ir_unit_t *iu, int op,
                   unsigned int argc, const int64_t *argv)
{
  switch(op) {
  case MODULE_CODE_VERSION:
    iu->iu_version = argv[0];
    break;

  case MODULE_CODE_TRIPLE:
    free(iu->iu_triple);
    iu->iu_triple = read_str_from_argv(argc, argv);
    break;

  case MODULE_CODE_DATALAYOUT:
    break;

  case MODULE_CODE_GLOBALVAR:
    return module_globalvar(iu, argc, argv);

  case MODULE_CODE_FUNCTION:
    return module_function(iu, argc, argv);

  case MODULE_CODE_ALIAS:
    return module_alias(iu, argc, argv);

  case MODULE_CODE_VSTOFFSET:
    return module_vstoffset(iu, argc, argv);

  case MODULE_CODE_COMDAT:
  case MODULE_CODE_METADATA_VALUES_UNUSED:
  case MODULE_CODE_SOURCE_FILENAME:
    break;

  default:
    printargs(argv, argc);
    parser_error(iu, "Unknown module code %d", op);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r14
movl %edx, %r15d
movl %esi, %r12d
movq %rdi, %rbx
leal -0x1(%r12), %eax
cmpl $0xf, %eax
ja 0x1dde9
leaq 0x6ba2(%rip), %rcx      # 0x24690
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpl $0x7, %r15d
jbe 0x1de0f
movq 0x10(%r14), %r15
movl %r15d, %eax
cmpq %rax, 0x170(%rbx)
jbe 0x1de74
movq 0x168(%rbx), %rcx
leaq (%rax,%rax,4), %rax
cmpl $0xb, (%rcx,%rax,8)
jne 0x1db3d
leaq (%rcx,%rax,8), %rax
movl 0x8(%rax), %r15d
movl $0x1, %edi
movl $0x90, %esi
callq 0x32f0
movq %rax, %r12
addq $0x48, %rax
movq $0x0, 0x48(%r12)
movq %rax, 0x50(%r12)
cmpq $0x0, 0x20(%r14)
setne 0x28(%r12)
movl %r15d, 0x10(%r12)
movl (%r14), %eax
movl %eax, 0x14(%r12)
movl 0x8(%r14), %eax
movl %eax, 0x18(%r12)
jne 0x1dba2
movq $0x0, (%r12)
movq 0x1b0(%rbx), %rax
movq %rax, 0x8(%r12)
movq %r12, (%rax)
movq %r12, 0x1b0(%rbx)
movq 0x2e0(%rbx), %r14
movl %r14d, 0x34(%r12)
leaq 0x1(%r14), %r13
cmpq 0x2e8(%rbx), %r13
jbe 0x1dbe4
leaq (,%r13,2), %rax
movq %rax, 0x2e8(%rbx)
movq %r13, %rsi
shlq $0x4, %rsi
movq 0x2d8(%rbx), %rdi
callq 0x33c0
movq %rax, 0x2d8(%rbx)
movq %r13, 0x2e0(%rbx)
movq 0x2d8(%rbx), %rax
movq %r12, (%rax,%r14,8)
movq %rbx, %rdi
callq 0xf5a0
movq 0x180(%rbx), %rcx
cltq
movq (%rcx,%rax,8), %rax
movl $0x1, (%rax)
movl %r15d, 0x24(%rax)
movq %r12, 0x30(%rax)
jmp 0x1daf7
movl (%r14), %eax
movl %eax, 0x130(%rbx)
jmp 0x1daf7
cmpl $0x5, %r15d
jbe 0x1de27
testb $0x2, 0x18(%r14)
movl 0x10(%r14), %ebp
jne 0x1dce5
movq %rbx, %rdi
movl %ebp, %esi
callq 0x1784b
movl %eax, %esi
jmp 0x1dd4d
movq 0x128(%rbx), %rdi
callq 0x3030
leal 0x1(%r15), %edi
callq 0x3380
movl %r15d, %ecx
movb $0x0, (%rax,%rcx)
testl %r15d, %r15d
je 0x1dc89
xorl %edx, %edx
movb (%r14,%rdx,8), %sil
movb %sil, (%rax,%rdx)
incq %rdx
cmpq %rdx, %rcx
jne 0x1dc79
movq %rax, 0x128(%rbx)
jmp 0x1daf7
cmpl $0x3, %r15d
jbe 0x1de3f
movq %rbx, %rdi
callq 0xf5a0
movq 0x180(%rbx), %rcx
cltq
movq (%rcx,%rax,8), %rax
movl $0xa, (%rax)
movl 0x10(%r14), %ecx
movl %ecx, 0x24(%rax)
movl 0x18(%r14), %ecx
movl %ecx, 0x30(%rax)
jmp 0x1daf7
cmpl $0x1, %r15d
jne 0x1de57
movl (%r14), %eax
movl %eax, 0x578(%rbx)
jmp 0x1daf7
movq 0x170(%rbx), %rax
testq %rax, %rax
je 0x1dd3b
movq 0x168(%rbx), %rcx
addq $0x8, %rcx
movb $0x1, %sil
xorl %edx, %edx
cmpl $0xb, -0x8(%rcx)
jne 0x1dd15
movb $0x1, %r8b
cmpl %ebp, (%rcx)
jne 0x1dd18
xorl %r8d, %r8d
movl %edx, %edi
jmp 0x1dd18
movb $0x1, %r8b
testb %r8b, %r8b
je 0x1dd2d
incq %rdx
addq $0x28, %rcx
cmpq %rdx, %rax
seta %sil
jne 0x1dd01
testb $0x1, %sil
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmovnel %edi, %eax
jmp 0x1dd40
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpl $-0x1, %eax
je 0x1de94
movl %ebp, %esi
movl %eax, %ebp
movl 0x30(%r14), %ecx
testl %ecx, %ecx
je 0x1dd6a
movl $0x100, %eax            # imm = 0x100
cmpl $0x9, %ecx
jg 0x1dd6f
movl $0x1, %eax
shll %cl, %eax
sarl %eax
jmp 0x1dd6f
movl $0x4, %eax
movl (%r14), %r8d
movl 0x8(%r14), %r9d
movq %rbx, %rdi
movl %ebp, %edx
movl %eax, %ecx
callq 0xf3db
movl 0x20(%r14), %r14d
testl %r14d, %r14d
je 0x1daf7
movl %eax, %ebp
decl %r14d
movq 0x2f8(%rbx), %r15
leaq 0x1(%r15), %r12
cmpq 0x300(%rbx), %r12
jbe 0x1ddcd
leaq (%r12,%r12), %rax
movq %rax, 0x300(%rbx)
movq %r12, %rsi
shlq $0x4, %rsi
movq 0x2f0(%rbx), %rdi
callq 0x33c0
movq %rax, 0x2f0(%rbx)
movq %r12, 0x2f8(%rbx)
movq 0x2f0(%rbx), %rax
movl %ebp, (%rax,%r15,8)
movl %r14d, 0x4(%rax,%r15,8)
jmp 0x1daf7
movq %r14, %rdi
movl %r15d, %esi
callq 0x1fef9
leaq 0x9790(%rip), %rsi      # 0x2758b
leaq 0x98b8(%rip), %rcx      # 0x276ba
movq %rbx, %rdi
movl $0x103, %edx            # imm = 0x103
movl %r12d, %r8d
jmp 0x1de8d
leaq 0x9775(%rip), %rsi      # 0x2758b
leaq 0x98fb(%rip), %rcx      # 0x27718
movq %rbx, %rdi
movl $0x9f, %edx
jmp 0x1de6d
leaq 0x975d(%rip), %rsi      # 0x2758b
leaq 0x989c(%rip), %rcx      # 0x276d1
movq %rbx, %rdi
movl $0x76, %edx
jmp 0x1de6d
leaq 0x9745(%rip), %rsi      # 0x2758b
leaq 0x98cb(%rip), %rcx      # 0x27718
movq %rbx, %rdi
movl $0xc7, %edx
jmp 0x1de6d
leaq 0x972d(%rip), %rsi      # 0x2758b
leaq 0x98b3(%rip), %rcx      # 0x27718
movq %rbx, %rdi
movl $0xd7, %edx
xorl %eax, %eax
callq 0xca73
leaq 0x7b91(%rip), %rsi      # 0x25a0c
leaq 0x7bc3(%rip), %rcx      # 0x25a45
movq %rbx, %rdi
movl $0x7c, %edx
movl %r15d, %r8d
xorl %eax, %eax
callq 0xca73
movq %rbx, %rdi
movl %ebp, %esi
callq 0x12335
leaq 0x96e6(%rip), %rsi      # 0x2758b
leaq 0x984b(%rip), %rcx      # 0x276f7
movq %rbx, %rdi
movl $0x81, %edx
movq %rax, %r8
xorl %eax, %eax
callq 0xca73