// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/iccprofile.c
// Function: de_run_iccprofile
static void de_run_iccprofile(deark *c, de_module_params *mparams)
{
	lctx *d = NULL;
	i64 pos;

	d = de_malloc(c, sizeof(lctx));

	pos = 0;
	do_read_header(c, d, pos);
	pos += 128;
	do_read_main_tags(c, d, pos);

	de_free(c, d);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rdi, %rbx
movl $0xb8, %esi
callq 0xdecaf
movq %rax, %r14
leaq 0xa7f9b(%rip), %rsi     # 0x1161bf
xorl %r15d, %r15d
movq %rbx, %rdi
xorl %edx, %edx
xorl %eax, %eax
callq 0xde896
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0xdeba7
movq 0x18(%rbx), %rdi
xorl %esi, %esi
callq 0xe404f
movq %rax, 0x10(%r14)
leaq 0x9c883(%rip), %rsi     # 0x10aad7
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
pushq $0x4
popq %rsi
leaq 0xc8(%rsp), %r13
pushq $0x4
popq %rbp
movq %r13, %rdx
movl %ebp, %ecx
xorl %r8d, %r8d
callq 0xe657c
leaq 0x18(%r14), %r12
pushq $0x3
popq %rdx
movq %r13, %rdi
movq %r12, %rsi
callq 0x6e8b1
leaq 0xab302(%rip), %rsi     # 0x11959b
movq %rbx, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
pushq $0x8
popq %rsi
callq 0xe404f
movl %eax, %ecx
shrl $0x1c, %ecx
imull $0xa, %ecx, %ecx
movl %eax, %edx
shrl $0x18, %edx
andl $0xf, %edx
addl %ecx, %edx
movl %edx, (%r14)
movl %eax, %ecx
shrl $0x14, %ecx
andl $0xf, %ecx
movl %ecx, 0x4(%r14)
shrl $0x10, %eax
andl $0xf, %eax
movl %eax, 0x8(%r14)
leaq 0xab2ce(%rip), %rsi     # 0x1195b2
movq %rbx, %rdi
movl %eax, %r8d
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
pushq $0xc
popq %rsi
movq %r13, %rdx
movl %ebp, %ecx
xorl %r8d, %r8d
callq 0xe657c
movq %r13, %rdi
movq %r12, %rsi
pushq $0x1
popq %rdx
callq 0x6e8b1
leaq 0xab2b2(%rip), %rsi     # 0x1195cc
movq %rbx, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
pushq $0x10
popq %rsi
movq %r13, %rdx
movl %ebp, %ecx
xorl %r8d, %r8d
callq 0xe657c
xorl %eax, %eax
cmpl $0x5, (%r14)
setae %al
leal 0x1(,%rax,2), %edx
movq %r13, %rdi
movq %r12, %rsi
callq 0x6e8b1
leaq 0xab288(%rip), %rsi     # 0x1195e5
movq %rbx, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
pushq $0x14
popq %rsi
movq %r13, %rdx
movl %ebp, %ecx
xorl %r8d, %r8d
callq 0xe657c
xorl %eax, %eax
movq %r14, (%rsp)
cmpl $0x5, (%r14)
setae %al
leal 0x1(%rax,%rax), %edx
movq %r13, %rdi
movq %rbx, %r14
movq %r12, %rsi
callq 0x6e8b1
leaq 0xab252(%rip), %rsi     # 0x1195f6
movq %rbx, %rdi
movq %r12, 0x8(%rsp)
movq %r12, %rdx
xorl %eax, %eax
callq 0xde896
leaq 0x68(%rsp), %rbx
movq $0x18, (%rbx)
cmpq $0x6, %r15
je 0x6e3de
movq 0x18(%r14), %rdi
movq %rbx, %rsi
callq 0xe3f6e
movq %rax, 0x30(%rsp,%r15,8)
incq %r15
jmp 0x6e3c2
movq 0x30(%rsp), %rsi
testq %rsi, %rsi
je 0x6e432
movq 0x38(%rsp), %rdx
movq 0x40(%rsp), %rcx
movq 0x48(%rsp), %r8
movq 0x50(%rsp), %r9
subq $0x8, %rsp
leaq 0xc0(%rsp), %rbx
movq %rbx, %rdi
pushq 0x60(%rsp)
callq 0xe0174
popq %rax
popq %rcx
movb $0x1, 0x1(%rbx)
leaq 0x70(%rsp), %rdx
pushq $0x40
popq %rcx
movq %r14, %rdi
movq %rbx, %rsi
xorl %r8d, %r8d
callq 0xe07a8
jmp 0x6e446
leaq 0xc60ec(%rip), %rsi     # 0x134525
leaq 0x70(%rsp), %rdi
pushq $0x40
popq %rdx
callq 0xde492
leaq 0xcda65(%rip), %rsi     # 0x13beb2
leaq 0xb297b(%rip), %rdx     # 0x120dcf
leaq 0x70(%rsp), %rcx
movq %r14, %rdi
xorl %eax, %eax
callq 0xde896
movq 0x18(%r14), %rdi
pushq $0x24
popq %rsi
leaq 0xc8(%rsp), %r12
pushq $0x4
popq %rbp
movq %r12, %rdx
movl %ebp, %ecx
xorl %r8d, %r8d
callq 0xe657c
pushq $0x1
popq %rdx
movq %r12, %rdi
movq 0x8(%rsp), %rbx
movq %rbx, %rsi
callq 0x6e8b1
leaq 0xab162(%rip), %rsi     # 0x1195fe
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xde896
movq 0x18(%r14), %rdi
pushq $0x28
popq %rsi
movq %r12, %rdx
movl %ebp, %ecx
xorl %r8d, %r8d
callq 0xe657c
pushq $0x3
popq %r15
movq %r12, %rdi
movq %rbx, %rsi
movl %r15d, %edx
callq 0x6e8b1
leaq 0xab13b(%rip), %rsi     # 0x119611
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xde896
movq 0x18(%r14), %rdi
pushq $0x2c
popq %rsi
callq 0xe404f
leaq 0xab130(%rip), %rsi     # 0x119626
movq %r14, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
movq 0x18(%r14), %rdi
pushq $0x30
popq %rsi
movq %r12, %rdx
movl %ebp, %ecx
xorl %r8d, %r8d
callq 0xe657c
movq %r12, %rdi
movq %rbx, %rsi
movl %r15d, %edx
callq 0x6e8b1
leaq 0xab111(%rip), %rsi     # 0x11963c
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xde896
movq 0x18(%r14), %rdi
pushq $0x34
popq %rsi
movq %r12, %rdx
movl %ebp, %ecx
movq %r14, %rbp
xorl %r8d, %r8d
callq 0xe657c
movq %r12, %rdi
movq %rbx, %rsi
movl %r15d, %edx
callq 0x6e8b1
leaq 0xab0f0(%rip), %rsi     # 0x119654
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xde896
movq 0x18(%r14), %rdi
pushq $0x38
popq %rsi
callq 0xe41f2
leaq 0xab0e1(%rip), %rsi     # 0x119665
movq %r14, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
movq 0x18(%r14), %rdi
pushq $0x40
popq %rsi
callq 0xe404f
cmpq $0x3, %rax
ja 0x6e5b3
leaq 0xab922(%rip), %rdx     # 0x119ecc
movslq (%rdx,%rax,4), %rcx
addq %rdx, %rcx
jmp 0x6e5ba
leaq 0xb0927(%rip), %rcx     # 0x11eee1
leaq 0xab0ff(%rip), %rsi     # 0x1196c0
movq %rbp, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
pushq $0x44
popq %rsi
leaq 0x70(%rsp), %rbx
movq %rbp, %rdi
movq %rbx, %rdx
callq 0x6e937
movsd (%rbx), %xmm0
movsd 0x8(%rbx), %xmm1
movsd 0x10(%rbx), %xmm2
leaq 0xab0e5(%rip), %rsi     # 0x1196da
movq %rbp, %rdi
movb $0x3, %al
callq 0xde896
movq 0x18(%rbp), %rdi
pushq $0x50
popq %rsi
leaq 0xc8(%rsp), %rbx
pushq $0x4
popq %rcx
movq %rbx, %rdx
xorl %r8d, %r8d
callq 0xe657c
pushq $0x3
popq %rdx
movq %rbx, %rdi
movq 0x8(%rsp), %rbx
movq %rbx, %rsi
callq 0x6e8b1
leaq 0xab0c1(%rip), %rsi     # 0x1196f7
movq %rbp, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xde896
pushq $-0x1
popq %rsi
movq %rbp, %rdi
callq 0xdeba7
leaq 0xab0c0(%rip), %rsi     # 0x119715
movl $0x80, %edx
movq %rbp, %rdi
xorl %eax, %eax
callq 0xde896
pushq $0x1
popq %rsi
movq %rbp, %rdi
callq 0xdeba7
pushq $0x28
popq %rsi
movq %rbp, %rdi
callq 0xdecaf
movq %rax, %rbx
andq $0x0, 0x8(%rax)
movq (%rsp), %rax
movq 0x10(%rax), %rcx
movq 0x18(%rbp), %rdi
movq 0x18(%rdi), %rax
testq %rcx, %rcx
je 0x6e6a6
movq %rcx, %rdi
movq %rax, %rsi
callq 0xdfb45
movq 0x18(%rbp), %rdi
movq %rax, 0x10(%rbx)
movl $0x80, %esi
callq 0xe404f
movq %rax, 0x18(%rbx)
leaq 0xab07c(%rip), %rsi     # 0x11973b
movq %rbp, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdx
cmpq $0x1f5, %rdx            # imm = 0x1F5
jl 0x6e71d
leaq 0xab047(%rip), %rsi     # 0x119726
movq %rbp, %rdi
xorl %eax, %eax
callq 0xdf2a5
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x6e9bd
pushq $-0x1
popq %rsi
movq %rbp, %rdi
callq 0xdeba7
movq %rbp, %rdi
movq (%rsp), %rsi
callq 0xded32
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
imulq $0xc, %rdx, %rdx
addq $0x84, %rdx
leaq 0xab01f(%rip), %rsi     # 0x11974e
movq %rbp, %rdi
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rsi
pushq $0x10
popq %rdx
movq %rbp, %rdi
callq 0xdf66f
movq %rax, 0x20(%rbx)
leaq 0x11658d(%rip), %r14    # 0x184ce0
xorl %r12d, %r12d
movq %rbx, 0x18(%rsp)
movq %rbp, 0x10(%rsp)
cmpq 0x18(%rbx), %r12
jge 0x6e6e9
imulq $0xc, %r12, %rbx
leaq 0x84(%rbx), %rsi
movq 0x18(%rbp), %rdi
movq %rsi, 0x28(%rsp)
leaq 0x70(%rsp), %rdx
pushq $0x4
popq %rcx
xorl %r8d, %r8d
callq 0xe657c
movq 0x18(%rbp), %rdi
leaq 0x88(%rbx), %rsi
callq 0xe404f
movq %rax, %r13
movq 0x18(%rbp), %rdi
addq $0x8c, %rbx
movq %rbx, %rsi
callq 0xe404f
movq %rax, 0x20(%rsp)
movl 0x74(%rsp), %ecx
pushq $0x8
popq %rax
movq (%rsp), %rbp
cmpq $0x4b8, %rax            # imm = 0x4B8
je 0x6e7f9
movl -0x4(%rax,%r14), %edx
testb $0x1, %dl
je 0x6e7d8
cmpl $0x3, (%rbp)
ja 0x6e7ea
testb $0x2, %dl
je 0x6e7e3
cmpl $0x4, (%rbp)
jb 0x6e7ea
cmpl %ecx, -0x8(%rax,%r14)
je 0x6e7f0
addq $0x10, %rax
jmp 0x6e7c0
movq (%rax,%r14), %rbx
testq %rbx, %rbx
jne 0x6e800
leaq 0xb06e1(%rip), %rbx     # 0x11eee1
leaq 0x70(%rsp), %rdi
movq 0x8(%rsp), %r15
movq %r15, %rsi
xorl %edx, %edx
callq 0x6e8b1
movq 0x18(%rsp), %rax
movq 0x8(%rax), %r10
movq %r13, %rbp
addq %r13, %r10
movq 0x10(%rsp), %r13
movq %r13, %rdi
leaq 0xaaf40(%rip), %rsi     # 0x119772
movl %r12d, %edx
movq %r15, %rcx
movq %rbx, %r8
movq %rax, %rbx
movq 0x28(%rsp), %r9
xorl %eax, %eax
movq 0x20(%rsp), %r15
pushq %r15
pushq %r10
callq 0xde896
popq %rax
popq %rcx
movq %r13, %rdi
pushq $0x1
popq %rsi
callq 0xdeba7
movq %r13, %rdi
movq (%rsp), %rsi
movq %rbx, %rdx
movq %r12, %rcx
movq %rbp, %r8
movq %r15, %r9
movq %r13, %rbp
callq 0x6e9e8
movq %r13, %rdi
pushq $-0x1
popq %rsi
callq 0xdeba7
incq %r12
jmp 0x6e760