// File: /workspace/github_c_makefile_star2_O3/jsummers[P]deark/src/deark-modules.c
// Function: de_register_modules_internal
static void de_register_modules_internal(deark *c)
{
	static const de_module_getinfo_fn infofunc_list[] = {
#define DE_MODULE(x)      x,
#define DE_MODULE_LAST(x) x
#include "deark-modules.h"
#undef DE_MODULE
#undef DE_MODULE_LAST
	};
	size_t num_modules;
	size_t i;

	if(c->module_info) return; // Already done.

	num_modules = DE_ARRAYCOUNT(infofunc_list);

	c->module_info = de_mallocarray(c, num_modules, sizeof(struct deark_module_info));

	for(i=0; i<num_modules; i++) {
		register_a_module(c, infofunc_list[i]);
	}

	disable_modules_as_requested(c);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
cmpq $0x0, 0x1b0(%rdi)
je 0x1937b
popq %rbx
popq %r14
popq %r15
retq
movq %rdi, %rbx
movl $0x179, %esi            # imm = 0x179
movl $0x48, %edx
callq 0xe96f7
movq %rax, 0x1b0(%rbx)
xorl %r14d, %r14d
leaq 0x1638a2(%rip), %r15    # 0x17cc40
movslq 0x1a8(%rbx), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x1a8(%rbx)
leaq (%rax,%rax,8), %rsi
shlq $0x3, %rsi
addq 0x1b0(%rbx), %rsi
movq %rbx, %rdi
callq *(%r14,%r15)
addq $0x8, %r14
cmpq $0xbc8, %r14            # imm = 0xBC8
jne 0x1939e
cmpq $0x0, 0x170(%rbx)
jne 0x193fd
cmpq $0x0, 0x178(%rbx)
jne 0x193fd
cmpq $0x0, 0x180(%rbx)
jne 0x193fd
cmpq $0x0, 0x188(%rbx)
je 0x19375
movslq 0x1a8(%rbx), %rsi
movq %rbx, %rdi
callq 0xe8b2b
movq %rax, %r14
movq 0x170(%rbx), %rsi
testq %rsi, %rsi
je 0x19461
movq %rbx, %rdi
movq %r14, %rdx
callq 0x195a5
movl 0x1a8(%rbx), %eax
testl %eax, %eax
jle 0x19461
movl $0x18, %ecx
xorl %edx, %edx
xorps %xmm0, %xmm0
cmpb $0x0, (%r14,%rdx)
jne 0x19452
movq 0x1b0(%rbx), %rax
movups %xmm0, (%rax,%rcx)
movl 0x1a8(%rbx), %eax
incq %rdx
movslq %eax, %rsi
addq $0x48, %rcx
cmpq %rsi, %rdx
jl 0x1943a
cmpq $0x0, 0x178(%rbx)
je 0x194c9
movslq 0x1a8(%rbx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x18140
movq 0x178(%rbx), %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x195a5
movl 0x1a8(%rbx), %eax
testl %eax, %eax
jle 0x194c9
movl $0x18, %ecx
xorl %edx, %edx
xorps %xmm0, %xmm0
cmpb $0x0, (%r14,%rdx)
je 0x194ba
movq 0x1b0(%rbx), %rax
movups %xmm0, (%rax,%rcx)
movl 0x1a8(%rbx), %eax
incq %rdx
movslq %eax, %rsi
addq $0x48, %rcx
cmpq %rsi, %rdx
jl 0x194a2
cmpq $0x0, 0x180(%rbx)
je 0x1952f
movslq 0x1a8(%rbx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x18140
movq 0x180(%rbx), %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x195a5
movslq 0x1a8(%rbx), %rax
testq %rax, %rax
jle 0x1952f
shlq $0x3, %rax
leaq (%rax,%rax,8), %rax
xorl %ecx, %ecx
movq %r14, %rdx
cmpb $0x0, (%rdx)
jne 0x19523
movq 0x1b0(%rbx), %rsi
orl $0x100, 0x30(%rsi,%rcx) # imm = 0x100
addq $0x48, %rcx
incq %rdx
cmpq %rcx, %rax
jne 0x1950f
cmpq $0x0, 0x188(%rbx)
je 0x19595
movslq 0x1a8(%rbx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x18140
movq 0x188(%rbx), %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x195a5
movslq 0x1a8(%rbx), %rax
testq %rax, %rax
jle 0x19595
shlq $0x3, %rax
leaq (%rax,%rax,8), %rax
xorl %ecx, %ecx
movq %r14, %rdx
cmpb $0x0, (%rdx)
je 0x19589
movq 0x1b0(%rbx), %rsi
orl $0x100, 0x30(%rsi,%rcx) # imm = 0x100
addq $0x48, %rcx
incq %rdx
cmpq %rcx, %rax
jne 0x19575
movq %rbx, %rdi
movq %r14, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0xe8be2