// File: /workspace/github_c_makefile_star2_O1/jsummers[P]deark/modules/psd.c
// Function: de_run_ps_action
static void de_run_ps_action(deark *c, de_module_params *mparams)
{
	lctx *d = NULL;
	zztype *zz = NULL;

	de_declare_fmt(c, "Photoshop Action");

	d = de_malloc(c, sizeof(lctx));
	d->version = 1;
	init_version_specific_info(c, d);

	zz = de_malloc(c, sizeof(zztype));
	zz_init_absolute(zz, 0, c->infile->len);

	do_action_set(c, d, zz);

	de_free(c, zz);
	de_free(c, d);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %rbx
leaq 0x8d9d6(%rip), %rsi     # 0x132a3c
callq 0xeb6d6
movl $0x58, %esi
movq %rbx, %rdi
callq 0xe969b
movq %rax, %r14
movl $0x1, (%rax)
movq %rbx, %rdi
movq %rax, %rsi
callq 0xa64c0
movl $0x18, %esi
movq %rbx, %rdi
callq 0xe969b
movq %rax, %r12
movq 0x18(%rbx), %rax
movq 0x18(%rax), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%r12)
movq %rax, 0x10(%r12)
leaq 0x5c(%rsp), %rsi
movq %rbx, %rdi
callq 0xe958c
movq 0x18(%rbx), %rdi
movl 0x4(%r14), %edx
movq (%r12), %rsi
callq 0xef614
movq %rax, %r15
addq $0x4, (%r12)
leaq 0x8f2f3(%rip), %rsi     # 0x1343d1
movq %rbx, %rdi
movl %r15d, %edx
xorl %eax, %eax
callq 0xe9226
cmpq $0x10, %r15
jne 0xa55c9
movq %rbx, %rdi
callq 0xf6870
movq %rax, %r13
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
movq %r12, %rcx
callq 0xa803f
movq %r13, %rdi
callq 0xf7557
leaq 0x8f517(%rip), %rsi     # 0x134637
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
movq (%r12), %rsi
callq 0xef0d5
incq (%r12)
movzbl %al, %edx
leaq 0x8f505(%rip), %rsi     # 0x13464d
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
movl 0x4(%r14), %edx
movq (%r12), %rsi
callq 0xef614
movq %rax, %r15
addq $0x4, (%r12)
leaq 0x8f4ef(%rip), %rsi     # 0x134661
movq %rbx, %rdi
movl %r15d, %edx
xorl %eax, %eax
callq 0xe9226
testq %r15, %r15
jle 0xa565e
leaq 0x8f4e8(%rip), %rbp     # 0x134677
xorl %edx, %edx
movq %r14, 0x8(%rsp)
movq %r12, 0x30(%rsp)
movq %r13, 0x60(%rsp)
movq %r15, 0x70(%rsp)
movq (%r12), %rcx
movq 0x10(%r12), %rax
movq %rax, %rdi
subq %rcx, %rdi
jle 0xa51c8
movq 0x8(%r12), %rsi
cmpq %rsi, %rcx
jge 0xa51ca
movq %rax, %rdi
subq %rsi, %rdi
jmp 0xa51ca
xorl %edi, %edi
testq %rdi, %rdi
jle 0xa565e
movq %rcx, 0x18(%rsp)
movq %rcx, 0x10(%rsp)
movq %rax, 0x20(%rsp)
movq %rbx, %rdi
movq %rbp, %rsi
movq %rdx, 0x78(%rsp)
xorl %eax, %eax
movq %rcx, %rbp
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
movq %rbx, %rdi
leaq 0x2c(%rsp), %rsi
callq 0xe958c
movq 0x18(%rbx), %rdi
movl 0x4(%r14), %edx
movq %rbp, %rsi
callq 0xef570
leaq 0x2(%rbp), %rcx
movq %rcx, 0x10(%rsp)
movq %rbx, %rdi
leaq 0x6d6d4(%rip), %rsi     # 0x112908
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
movq %rbp, 0x90(%rsp)
addq $0x6, %rbp
movq %rbp, 0x10(%rsp)
movq %rbx, %rdi
callq 0xf6870
movq %rax, %rbp
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
leaq 0x10(%rsp), %rcx
callq 0xa803f
movq %rbp, %rdi
callq 0xf7557
movq %rbx, %rdi
leaq 0x8f40a(%rip), %rsi     # 0x134688
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
movq %r14, %rax
movq 0x10(%rsp), %r14
leaq 0x1(%r14), %rsi
movq %rsi, 0x10(%rsp)
movq 0x18(%rbx), %rdi
movl 0x4(%rax), %edx
callq 0xef614
movq %r13, %r12
movq %r15, %r13
movq %rax, %r15
addq $0x5, %r14
movq %r14, 0x10(%rsp)
movq %rbx, %rdi
leaq 0x86f63(%rip), %rsi     # 0x12c224
movl %r15d, %edx
xorl %eax, %eax
callq 0xe9226
movq %r15, 0x80(%rsp)
testq %r15, %r15
movq %r13, %r15
movq %r12, %r13
movq 0x30(%rsp), %r12
jle 0xa5550
movq %rbp, 0x50(%rsp)
movq 0x18(%rsp), %rax
movq %rax, 0x88(%rsp)
movq 0x20(%rsp), %r12
xorl %ebp, %ebp
movq %r12, 0x68(%rsp)
movq %r14, %r15
movq 0x88(%rsp), %rax
cmpq %rax, %r14
cmovgq %r14, %rax
cmpq %r12, %r14
jge 0xa55e2
cmpq %rax, %r12
jle 0xa55e2
movq %r15, 0x40(%rsp)
movq %r15, 0x38(%rsp)
movq %r12, 0x48(%rsp)
movq %rbx, %rdi
leaq 0x8f358(%rip), %rsi     # 0x13469a
movl %ebp, %edx
movl %r15d, %ecx
movq 0x90(%rsp), %r8
xorl %eax, %eax
callq 0xe9226
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe9585
leaq 0x4(%r15), %r12
movq %r12, 0x38(%rsp)
movq %rbx, %rdi
callq 0xf6870
movq %rax, %r13
movq 0x18(%rbx), %rdi
xorl %r8d, %r8d
movq 0x8(%rsp), %r14
cmpl $0x0, 0x4(%r14)
setne %r8b
movq %r12, %rsi
leaq 0x98(%rsp), %rdx
movl $0x4, %ecx
callq 0xf1d74
leaq 0x8(%r15), %r12
movq %r12, 0x38(%rsp)
movq %rbx, %rdi
leaq 0x8f31d(%rip), %rsi     # 0x1346d1
leaq 0xa8(%rsp), %rdx
xorl %eax, %eax
callq 0xe9226
movl 0x9c(%rsp), %eax
cmpl $0x6c6f6e67, %eax       # imm = 0x6C6F6E67
je 0xa5410
cmpl $0x54455854, %eax       # imm = 0x54455854
jne 0xa55ee
movq %rbx, %rdi
movq %r14, %rsi
movq %r13, %rdx
leaq 0x38(%rsp), %r12
movq %r12, %rcx
callq 0xac58f
movq %r13, %rdi
callq 0xf7557
movq %rbx, %rdi
leaq 0x88535(%rip), %rsi     # 0x12d939
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
jmp 0xa5441
movq 0x18(%rbx), %rdi
movl 0x4(%r14), %edx
movq %r12, %rsi
callq 0xef614
leaq 0xc(%r15), %rcx
movq %rcx, 0x38(%rsp)
movq %rbx, %rdi
leaq 0x8f287(%rip), %rsi     # 0x1346ba
movl %eax, %edx
xorl %eax, %eax
callq 0xe9226
leaq 0x38(%rsp), %r12
movq %r13, %rdi
callq 0xf6883
movq %rbx, %rdi
movq %r14, %rsi
movq %r13, %rdx
movq %r12, %rcx
callq 0xac58f
movq %r13, %rdi
callq 0xf7557
movq %rbx, %rdi
leaq 0x8f27b(%rip), %rsi     # 0x1346e7
movq %rax, %rdx
xorl %eax, %eax
callq 0xe9226
movq 0x18(%rbx), %rdi
movl 0x4(%r14), %edx
movq 0x38(%rsp), %r14
movq %r14, %rsi
callq 0xef654
movq %rax, %r12
addq $0x4, %r14
movq %r14, 0x38(%rsp)
movq %rbx, %rdi
leaq 0x8f268(%rip), %rsi     # 0x134709
movl %r12d, %edx
xorl %eax, %eax
callq 0xe9226
testq %r12, %r12
je 0xa54dd
cmpq $-0x1, %r12
jne 0xa560e
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
leaq 0x38(%rsp), %rdx
xorl %ecx, %ecx
leaq 0x9f700(%rip), %r8      # 0x144bd0
callq 0xa8173
testl %eax, %eax
je 0xa5629
movq %r13, %rdi
callq 0xf6bb0
movq 0x40(%rsp), %rax
movq 0x48(%rsp), %rdx
movq %rdx, %r14
subq %rax, %r14
jle 0xa550e
movq 0x38(%rsp), %rcx
cmpq %rdx, %rcx
movq 0x68(%rsp), %r12
jg 0xa5516
subq %rax, %rcx
movq %rcx, %r14
jmp 0xa5516
xorl %r14d, %r14d
movq 0x68(%rsp), %r12
addq %r15, %r14
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
incq %rbp
cmpq %rbp, 0x80(%rsp)
jne 0xa5305
movq %r14, 0x10(%rsp)
movq 0x30(%rsp), %r12
movq 0x60(%rsp), %r13
movq 0x70(%rsp), %r15
movq 0x50(%rsp), %rbp
movl 0x2c(%rsp), %esi
movq %rbx, %rdi
callq 0xe9595
movq %rbp, %rdi
callq 0xf6bb0
movq 0x18(%rsp), %rcx
movq 0x20(%rsp), %rsi
movq %rsi, %rax
subq %rcx, %rax
jle 0xa5594
movq 0x10(%rsp), %rdx
cmpq %rsi, %rdx
movq 0x8(%rsp), %r14
leaq 0x8f0ed(%rip), %rbp     # 0x134677
jg 0xa55a2
subq %rcx, %rdx
movq %rdx, %rax
jmp 0xa55a2
xorl %eax, %eax
movq 0x8(%rsp), %r14
leaq 0x8f0d5(%rip), %rbp     # 0x134677
addq %rax, (%r12)
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe9585
movq 0x78(%rsp), %rdx
incq %rdx
cmpq %r15, %rdx
jne 0xa51a5
jmp 0xa565e
leaq 0x8f041(%rip), %rsi     # 0x134611
xorl %r13d, %r13d
movq %rbx, %rdi
movl %r15d, %edx
xorl %eax, %eax
callq 0xe9df7
jmp 0xa565e
movq %r15, 0x10(%rsp)
movq 0x8(%rsp), %r14
jmp 0xa563b
movq %r15, 0x10(%rsp)
leaq 0xa0(%rsp), %rdx
leaq 0x8f0c3(%rip), %rsi     # 0x1346c5
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9df7
jmp 0xa5633
movq %r15, 0x10(%rsp)
leaq 0x8f0e3(%rip), %rsi     # 0x1346fd
movq %rbx, %rdi
movl %r12d, %edx
xorl %eax, %eax
callq 0xe9df7
jmp 0xa562e
movq %r15, 0x10(%rsp)
movq 0x8(%rsp), %r14
movq %r13, %rdi
callq 0xf6bb0
movq 0x30(%rsp), %r12
movq 0x50(%rsp), %r15
movl 0x2c(%rsp), %esi
movq %rbx, %rdi
callq 0xe9595
movq %r15, %rdi
callq 0xf6bb0
movq 0x60(%rsp), %r13
movl 0x5c(%rsp), %esi
movq %rbx, %rdi
callq 0xe9595
movq %r13, %rdi
callq 0xf6bb0
movq %rbx, %rdi
movq %r12, %rsi
callq 0xe9752
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe9752
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq