// File: /workspace/github_c_makefile_star2_O2/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 $0xb8, %rsp
movq %rdi, %rbx
leaq 0x873ec(%rip), %rsi     # 0x125b5c
callq 0xe07f7
pushq $0x58
popq %rsi
movq %rbx, %rdi
callq 0xdecaf
movq %rax, %r14
movl $0x1, (%rax)
movq %rbx, %rdi
movq %rax, %rsi
callq 0x9f9fe
pushq $0x18
popq %rsi
movq %rbx, %rdi
callq 0xdecaf
movq %rax, %r12
movq 0x18(%rbx), %rax
movq 0x18(%rax), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%r12)
movq %rax, 0x10(%r12)
leaq 0x1c(%rsp), %rsi
movq %rbx, %rdi
callq 0xdebae
movq 0x18(%rbx), %rdi
movl 0x4(%r14), %edx
movq %r12, %rsi
callq 0x9fe70
movq %rax, %r15
leaq 0x88d13(%rip), %rsi     # 0x1274f1
movq %rbx, %rdi
movl %r15d, %edx
xorl %eax, %eax
callq 0xde896
cmpq $0x10, %r15
jne 0x9ec23
movq %rbx, %rdi
callq 0xeac74
movq %rax, %r13
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
movq %r12, %rcx
callq 0xa1369
movq %r13, %rdi
callq 0xeb877
leaq 0x88f37(%rip), %rsi     # 0x127757
xorl %ebp, %ebp
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
movq %r12, %rsi
callq 0x9ff51
movzbl %al, %edx
leaq 0x88f28(%rip), %rsi     # 0x12776d
movq %rbx, %rdi
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
movl 0x4(%r14), %edx
movq %r12, %rsi
callq 0x9fe70
movq %rax, %r15
leaq 0x88f18(%rip), %rsi     # 0x127781
movq %rbx, %rdi
movl %r15d, %edx
xorl %eax, %eax
callq 0xde896
movq %r15, %rax
testq %r15, %r15
cmovleq %rbp, %rax
movq %r14, %r15
xorl %r14d, %r14d
movq %r12, 0x58(%rsp)
movq %r13, 0x8(%rsp)
movq %rax, 0x70(%rsp)
cmpq %rax, %r14
je 0x9ec9c
movq %r12, %rdi
callq 0x9ff2f
testq %rax, %rax
jle 0x9ec9c
movq (%r12), %rcx
movq 0x10(%r12), %rax
movq %rcx, 0x40(%rsp)
movq %rcx, 0x38(%rsp)
movq %rax, 0x48(%rsp)
movq %rbx, %rdi
leaq 0x88ec6(%rip), %rsi     # 0x127797
movq %r14, 0x50(%rsp)
movl %r14d, %edx
movq %rcx, 0x78(%rsp)
xorl %eax, %eax
callq 0xde896
movq %rbx, %rdi
pushq $0x1
popq %rsi
callq 0xdeba7
movq %rbx, %rdi
leaq 0x4(%rsp), %rsi
callq 0xdebae
movq 0x18(%rbx), %rdi
movl 0x4(%r15), %edx
leaq 0x38(%rsp), %r14
movq %r14, %rsi
callq 0x9feb0
movq %rbx, %rdi
leaq 0x66fdc(%rip), %rsi     # 0x1058f8
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
addq $0x4, 0x38(%rsp)
movq %rbx, %rdi
callq 0xeac74
movq %rax, %r12
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
movq %r14, %rcx
callq 0xa1369
movq %r12, 0x60(%rsp)
movq %r12, %rdi
callq 0xeb877
movq %rbx, %rdi
leaq 0x88e4a(%rip), %rsi     # 0x1277a8
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
incq 0x38(%rsp)
movq 0x18(%rbx), %rdi
movl 0x4(%r15), %edx
movq %r14, %rsi
callq 0x9fe70
movq %rax, %r14
movq %rbx, %rdi
leaq 0x80912(%rip), %rsi     # 0x11f29c
movl %r14d, %edx
xorl %eax, %eax
callq 0xde896
testq %r14, %r14
cmovleq %rbp, %r14
movq %r14, 0x80(%rsp)
movq 0x38(%rsp), %r12
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x48(%rsp), %r13
xorl %ebp, %ebp
leaq 0x20(%rsp), %r14
movq %r13, 0x68(%rsp)
cmpq %rbp, 0x80(%rsp)
je 0x9ebb1
cmpq %r13, %r12
jge 0x9ec7c
cmpq 0x10(%rsp), %r13
jle 0x9ec7c
movq %r12, 0x28(%rsp)
movq %r13, 0x30(%rsp)
movq %rbx, %rdi
leaq 0x88dc1(%rip), %rsi     # 0x1277ba
movl %ebp, %edx
movl %r12d, %ecx
movq 0x78(%rsp), %r8
xorl %eax, %eax
callq 0xde896
movq %rbx, %rdi
pushq $0x1
popq %rsi
callq 0xdeba7
leaq 0x4(%r12), %rax
movq %rax, 0x20(%rsp)
movq %rbx, %rdi
callq 0xeac74
movq %rax, %r13
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
leaq 0x88(%rsp), %rcx
callq 0x9fe82
movq %rbx, %rdi
leaq 0x88da7(%rip), %rsi     # 0x1277f1
leaq 0x98(%rsp), %rdx
xorl %eax, %eax
callq 0xde896
movl 0x8c(%rsp), %eax
cmpl $0x6c6f6e67, %eax       # imm = 0x6C6F6E67
je 0x9eaa1
cmpl $0x54455854, %eax       # imm = 0x54455854
jne 0x9ec3f
movq %rbx, %rdi
movq %r15, %rsi
movq %r13, %rdx
movq %r14, %rcx
callq 0xa52f9
movq %r13, %rdi
callq 0xeb877
movq %rbx, %rdi
leaq 0x81f2c(%rip), %rsi     # 0x1209c1
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
jmp 0x9eac4
movq 0x18(%rbx), %rdi
movl 0x4(%r15), %edx
movq %r14, %rsi
callq 0x9fe70
movq %rbx, %rdi
leaq 0x88d1f(%rip), %rsi     # 0x1277da
movl %eax, %edx
xorl %eax, %eax
callq 0xde896
movq %r13, %rdi
callq 0xeac85
movq %rbx, %rdi
movq %r15, %rsi
movq %r13, %rdx
movq %r14, %rcx
callq 0xa52f9
movq %r13, %rdi
callq 0xeb877
movq %rbx, %rdi
leaq 0x88d18(%rip), %rsi     # 0x127807
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
movq 0x18(%rbx), %rdi
movq %r14, %rsi
movq %r15, %r14
movl 0x4(%r15), %edx
callq 0xa17af
movq %rax, %r15
movq %rbx, %rdi
leaq 0x88d10(%rip), %rsi     # 0x127829
movl %r15d, %edx
xorl %eax, %eax
callq 0xde896
testq %r15, %r15
je 0x9eb53
cmpq $-0x1, %r15
jne 0x9ec5d
movq %rbx, %rdi
movq %r14, %rsi
leaq 0x20(%rsp), %rdx
xorl %ecx, %ecx
leaq 0x9911a(%rip), %r8      # 0x137c60
callq 0xa147d
testl %eax, %eax
je 0x9ec71
movq %r13, %rdi
callq 0xeaf3c
movq 0x28(%rsp), %rcx
movq 0x30(%rsp), %rsi
movq %rsi, %rax
subq %rcx, %rax
jle 0x9eb8c
movq 0x20(%rsp), %rdx
cmpq %rsi, %rdx
movq %r14, %r15
movq 0x68(%rsp), %r13
jg 0x9eb85
subq %rcx, %rdx
movq %rdx, %rax
leaq 0x20(%rsp), %r14
jmp 0x9eb9b
xorl %eax, %eax
movq %r14, %r15
leaq 0x20(%rsp), %r14
movq 0x68(%rsp), %r13
addq %rax, %r12
movq %rbx, %rdi
pushq $-0x1
popq %rsi
callq 0xdeba7
incq %rbp
jmp 0x9e9c3
movq %r12, 0x38(%rsp)
movl 0x4(%rsp), %esi
movq %rbx, %rdi
callq 0xdebb7
movq 0x60(%rsp), %rdi
callq 0xeaf3c
movq %r13, %rax
subq 0x10(%rsp), %rax
jle 0x9ebf4
cmpq %r13, %r12
movq 0x8(%rsp), %r13
movl $0x0, %ebp
movq 0x50(%rsp), %r14
jg 0x9ec02
subq 0x10(%rsp), %r12
movq %r12, %rax
jmp 0x9ec02
xorl %eax, %eax
movq 0x8(%rsp), %r13
xorl %ebp, %ebp
movq 0x50(%rsp), %r14
movq 0x58(%rsp), %r12
addq %rax, (%r12)
movq %rbx, %rdi
pushq $-0x1
popq %rsi
callq 0xdeba7
incq %r14
movq 0x70(%rsp), %rax
jmp 0x9e895
leaq 0x88b07(%rip), %rsi     # 0x127731
xorl %r13d, %r13d
movq %rbx, %rdi
movl %r15d, %edx
xorl %eax, %eax
callq 0xdf2a5
movq %r14, %r15
jmp 0x9ec9c
movq %r15, %r14
leaq 0x88b9c(%rip), %rsi     # 0x1277e5
movq %rbx, %rdi
leaq 0x90(%rsp), %rdx
xorl %eax, %eax
callq 0xdf2a5
jmp 0x9ec71
leaq 0x88bb9(%rip), %rsi     # 0x12781d
movq %rbx, %rdi
movl %r15d, %edx
xorl %eax, %eax
callq 0xdf2a5
movq %r13, %rdi
callq 0xeaf3c
movq %r14, %r15
movl 0x4(%rsp), %esi
movq %rbx, %rdi
callq 0xdebb7
movq 0x60(%rsp), %rdi
callq 0xeaf3c
movq 0x58(%rsp), %r12
movq 0x8(%rsp), %r13
movl 0x1c(%rsp), %esi
movq %rbx, %rdi
callq 0xdebb7
movq %r13, %rdi
callq 0xeaf3c
movq %rbx, %rdi
movq %r12, %rsi
callq 0xded32
movq %rbx, %rdi
movq %r15, %rsi
callq 0xded32
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq