// File: /workspace/github_c_makefile_star2_O3/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 0x8e71f(%rip), %rsi     # 0x132e34
callq 0xeb125
movl $0x58, %esi
movq %rbx, %rdi
callq 0xe8b2b
movq %rax, %r14
movl $0x1, (%rax)
movq $0x2, 0x18(%rax)
movq $0x4, 0x20(%rax)
movq %rbx, %rdi
xorl %esi, %esi
movl $0x11, %edx
callq 0xeb220
movl %eax, 0x8(%r14)
movb $0x1, 0x14(%r14)
movl $0x18, %esi
movq %rbx, %rdi
callq 0xe8b2b
movq %rax, %r12
movq 0x18(%rbx), %rax
movq 0x18(%rax), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%r12)
movq %rax, 0x10(%r12)
leaq 0x34(%rsp), %rsi
movq %rbx, %rdi
callq 0xe8a1c
movq 0x18(%rbx), %rdi
movl 0x4(%r14), %edx
movq (%r12), %rsi
callq 0xeeff3
movq %rax, %r15
addq $0x4, (%r12)
leaq 0x9001f(%rip), %rsi     # 0x1347c9
movq %rbx, %rdi
movl %r15d, %edx
xorl %eax, %eax
callq 0xe8617
cmpq $0x10, %r15
jne 0xa4c39
movq %rbx, %rdi
callq 0xf6410
movq %rax, %r13
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
movq %r12, %rcx
callq 0xa7614
movq %r13, %rdi
callq 0xf70f6
leaq 0x90243(%rip), %rsi     # 0x134a2f
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe8617
movq 0x18(%rbx), %rdi
movq (%r12), %rsi
callq 0xeead3
incq (%r12)
movzbl %al, %edx
leaq 0x90231(%rip), %rsi     # 0x134a45
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe8617
movq 0x18(%rbx), %rdi
movl 0x4(%r14), %edx
movq (%r12), %rsi
callq 0xeeff3
movq %rax, %r15
addq $0x4, (%r12)
leaq 0x9021b(%rip), %rsi     # 0x134a59
movq %rbx, %rdi
movl %r15d, %edx
xorl %eax, %eax
callq 0xe8617
testq %r15, %r15
jle 0xa4cae
leaq 0x90214(%rip), %rsi     # 0x134a6f
xorl %edx, %edx
movq %r14, 0x10(%rsp)
movq %r12, 0x48(%rsp)
movq %r13, 0x40(%rsp)
movq %r15, 0x38(%rsp)
movq (%r12), %rcx
movq 0x10(%r12), %rax
movq %rcx, 0x60(%rsp)
cmpq %rax, %rcx
jge 0xa4cae
cmpq %rax, 0x8(%r12)
jge 0xa4cae
movq 0x60(%rsp), %rbp
movq %rbp, 0x70(%rsp)
movq %rax, 0x78(%rsp)
movq %rbx, %rdi
movq %rdx, 0x88(%rsp)
movl %ebp, %ecx
xorl %eax, %eax
callq 0xe8617
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe8a15
movq %rbx, %rdi
leaq 0xc(%rsp), %rsi
callq 0xe8a1c
movq 0x18(%rbx), %rdi
movl 0x4(%r14), %edx
movq %rbp, %rsi
callq 0xeef43
movq %rbx, %rdi
leaq 0x6e02e(%rip), %rsi     # 0x112918
movl %eax, %edx
xorl %eax, %eax
callq 0xe8617
addq $0x6, %rbp
movq %rbp, 0x68(%rsp)
movq %rbx, %rdi
callq 0xf6410
movq %rax, %rbp
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
leaq 0x68(%rsp), %rcx
callq 0xa7614
movq %rbp, %rdi
callq 0xf70f6
movq %rbx, %rdi
leaq 0x90154(%rip), %rsi     # 0x134a80
movq %rax, %rdx
xorl %eax, %eax
callq 0xe8617
movq %r14, %rax
movq 0x68(%rsp), %r14
leaq 0x1(%r14), %rsi
movq 0x18(%rbx), %rdi
movl 0x4(%rax), %edx
callq 0xeeff3
movq %rax, %r15
addq $0x5, %r14
movq %r14, 0x68(%rsp)
movq %rbx, %rdi
leaq 0x87ba8(%rip), %rsi     # 0x12c50c
movl %r15d, %edx
xorl %eax, %eax
callq 0xe8617
movq 0x70(%rsp), %rax
movq 0x78(%rsp), %rcx
movq %r15, 0x90(%rsp)
testq %r15, %r15
movq %rax, 0x80(%rsp)
movq %rcx, 0x58(%rsp)
jle 0xa4bc9
movq %rbp, 0x50(%rsp)
cmpq %rax, %rcx
jle 0xa4c89
xorl %ebp, %ebp
cmpq %rcx, %r14
jge 0xa4c89
movq %r14, %r15
movq %r14, 0x20(%rsp)
movq %rcx, 0x28(%rsp)
movq %rbx, %rdi
leaq 0x900cc(%rip), %rsi     # 0x134a92
movl %ebp, %edx
movl %r15d, %ecx
movq 0x60(%rsp), %r8
xorl %eax, %eax
callq 0xe8617
movq %rbx, %rdi
movl $0x1, %esi
callq 0xe8a15
leaq 0x4(%r14), %r12
movq %rbx, %rdi
callq 0xf6410
movq %rax, %r13
movq 0x18(%rbx), %rdi
xorl %r8d, %r8d
movq 0x10(%rsp), %r14
cmpl $0x0, 0x4(%r14)
setne %r8b
movq %r12, %rsi
leaq 0x98(%rsp), %rdx
movl $0x4, %ecx
callq 0xf1762
leaq 0x8(%r15), %r12
movq %r12, 0x18(%rsp)
movq %rbx, %rdi
leaq 0x90099(%rip), %rsi     # 0x134ac9
leaq 0xa8(%rsp), %rdx
xorl %eax, %eax
callq 0xe8617
movl 0x9c(%rsp), %eax
cmpl $0x6c6f6e67, %eax       # imm = 0x6C6F6E67
je 0xa4a8c
cmpl $0x54455854, %eax       # imm = 0x54455854
jne 0xa4c52
movq %rbx, %rdi
movq %r14, %rsi
movq %r13, %rdx
leaq 0x18(%rsp), %r12
movq %r12, %rcx
callq 0xaba95
movq %r13, %rdi
callq 0xf70f6
movq %rbx, %rdi
leaq 0x891b1(%rip), %rsi     # 0x12dc31
movq %rax, %rdx
xorl %eax, %eax
callq 0xe8617
jmp 0xa4abd
movq 0x18(%rbx), %rdi
movl 0x4(%r14), %edx
movq %r12, %rsi
callq 0xeeff3
leaq 0xc(%r15), %rcx
movq %rcx, 0x18(%rsp)
movq %rbx, %rdi
leaq 0x90003(%rip), %rsi     # 0x134ab2
movl %eax, %edx
xorl %eax, %eax
callq 0xe8617
leaq 0x18(%rsp), %r12
movq %r13, %rdi
callq 0xf6423
movq %rbx, %rdi
movq %r14, %rsi
movq %r13, %rdx
movq %r12, %rcx
callq 0xaba95
movq %r13, %rdi
callq 0xf70f6
movq %rbx, %rdi
leaq 0x8fff7(%rip), %rsi     # 0x134adf
movq %rax, %rdx
xorl %eax, %eax
callq 0xe8617
movq 0x18(%rbx), %rdi
movl 0x4(%r14), %edx
movq 0x18(%rsp), %r14
movq %r14, %rsi
callq 0xef033
movq %rax, %r12
addq $0x4, %r14
movq %r14, 0x18(%rsp)
movq %rbx, %rdi
leaq 0x8ffe4(%rip), %rsi     # 0x134b01
movl %r12d, %edx
xorl %eax, %eax
callq 0xe8617
testq %r12, %r12
je 0xa4b59
cmpq $-0x1, %r12
jne 0xa4c6d
movq %rbx, %rdi
movq 0x10(%rsp), %rsi
leaq 0x18(%rsp), %rdx
xorl %ecx, %ecx
leaq 0xa0564(%rip), %r8      # 0x1450b0
callq 0xa7748
testl %eax, %eax
je 0xa4c81
movq %r13, %rdi
callq 0xf6753
movq 0x20(%rsp), %rax
movq 0x28(%rsp), %rdx
movq %rdx, %r14
subq %rax, %r14
jle 0xa4b85
movq 0x18(%rsp), %rcx
cmpq %rdx, %rcx
jg 0xa4b88
subq %rax, %rcx
movq %rcx, %r14
jmp 0xa4b88
xorl %r14d, %r14d
addq %r15, %r14
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe8a15
incq %rbp
cmpq %rbp, 0x90(%rsp)
movq 0x58(%rsp), %rcx
jne 0xa49a6
movq %r14, 0x68(%rsp)
movq 0x48(%rsp), %r12
movq 0x40(%rsp), %r13
movq 0x38(%rsp), %r15
movq 0x50(%rsp), %rbp
jmp 0xa4bce
movq 0x38(%rsp), %r15
movl 0xc(%rsp), %esi
movq %rbx, %rdi
callq 0xe8a25
movq %rbp, %rdi
callq 0xf6753
movq 0x58(%rsp), %rdx
movq %rdx, %rax
movq 0x80(%rsp), %rcx
subq %rcx, %rax
jle 0xa4c04
cmpq %rdx, %r14
jg 0xa4c06
subq %rcx, %r14
movq %r14, %rax
jmp 0xa4c06
xorl %eax, %eax
addq %rax, (%r12)
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe8a15
movq 0x88(%rsp), %rdx
incq %rdx
cmpq %r15, %rdx
movq 0x10(%rsp), %r14
leaq 0x8fe3e(%rip), %rsi     # 0x134a6f
jne 0xa4871
jmp 0xa4cae
leaq 0x8fdc9(%rip), %rsi     # 0x134a09
xorl %r13d, %r13d
movq %rbx, %rdi
movl %r15d, %edx
xorl %eax, %eax
callq 0xe9295
jmp 0xa4cae
leaq 0xa0(%rsp), %rdx
leaq 0x8fe5c(%rip), %rsi     # 0x134abd
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe9295
jmp 0xa4c81
leaq 0x8fe81(%rip), %rsi     # 0x134af5
movq %rbx, %rdi
movl %r12d, %edx
xorl %eax, %eax
callq 0xe9295
movq %r13, %rdi
callq 0xf6753
movl 0xc(%rsp), %esi
movq %rbx, %rdi
callq 0xe8a25
movq 0x50(%rsp), %rdi
callq 0xf6753
movq 0x10(%rsp), %r14
movq 0x48(%rsp), %r12
movq 0x40(%rsp), %r13
movl 0x34(%rsp), %esi
movq %rbx, %rdi
callq 0xe8a25
movq %r13, %rdi
callq 0xf6753
movq %rbx, %rdi
movq %r12, %rsi
callq 0xe8be2
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe8be2
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq