// File: /workspace/github_c_makefile_star2_O1/joncampbell123[P]swfhax/c4_swfdump.c
// Function: dump_LINESTYLEARRAY
static int dump_LINESTYLEARRAY(swf_reader *swf,unsigned int tag_code) {
	swf_LINESTYLEARRAY_read nfo;
	unsigned int i;

	if (swf_reader_read_LINESTYLEARRAY_header(swf,&nfo,tag_code)) {
		printf("    LINESTYLEARRAY (unable to read)\n");
		return -1;
	}
	printf("    LINESTYLEARRAY LineStyleCount=%u\n",nfo.LineStyleCount);
	if (tag_code == swftag_DefineShape4) {
		for (i=0;i < nfo.LineStyleCount;i++) {
			if (dump_LINESTYLE2(swf,&nfo,i+1)) return -1;
		}
	}
	else {
		for (i=0;i < nfo.LineStyleCount;i++) {
			if (dump_LINESTYLE(swf,&nfo,i+1)) return -1;
		}
	}

	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movl %esi, %r15d
movq %rdi, %rbx
leaq -0xc0(%rbp), %rsi
movl %r15d, %edx
callq 0x459d
testl %eax, %eax
je 0x21e4
leaq 0x4af9(%rip), %rdi      # 0x6cbd
callq 0x1070
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
movl %r14d, %eax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movzwl -0xbe(%rbp), %esi
leaq 0x4682(%rip), %rdi      # 0x6874
xorl %r14d, %r14d
xorl %eax, %eax
callq 0x1080
cmpl $0x53, %r15d
jne 0x234d
movl $0x1, %r15d
movq %rbx, -0x30(%rbp)
leal -0x1(%r15), %eax
movzwl -0xbe(%rbp), %ecx
cmpl %ecx, %eax
jae 0x2402
movq %rbx, %rdi
leaq -0xc0(%rbp), %rsi
callq 0x425a
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0x21cf
movl %eax, %r12d
movzwl -0xbc(%rbp), %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
divsd 0x3db3(%rip), %xmm0     # 0x6008
movzwl -0xb6(%rbp), %r10d
movl %r10d, %edx
andl $0x3, %edx
movl %r10d, %ecx
shrl $0x2, %ecx
andl $0x3, %ecx
movl %r10d, %r8d
shrl $0x4, %r8d
andl $0x1, %r8d
movl %r10d, %r9d
shrl $0x5, %r9d
andl $0x1, %r9d
movl %r10d, %r11d
shrl $0x6, %r11d
andl $0x1, %r11d
movl %r10d, %r13d
shrl $0x7, %r13d
andl $0x1, %r13d
movl %r10d, %ebx
shrl $0x8, %ebx
andl $0x1, %ebx
shrl $0x9, %r10d
andl $0x3, %r10d
movzwl -0xb4(%rbp), %r14d
subq $0x8, %rsp
leaq 0x45de(%rip), %rdi      # 0x689a
movl %r15d, %esi
movb $0x1, %al
pushq %r14
pushq %r10
pushq %rbx
pushq %r13
pushq %r11
callq 0x1080
addq $0x30, %rsp
testb $0x10, -0xb6(%rbp)
jne 0x2323
testb $0x1, -0xc0(%rbp)
leaq 0x44b5(%rip), %rsi      # 0x679f
leaq 0x44b3(%rip), %rax      # 0x67a4
cmoveq %rax, %rsi
movzbl -0xba(%rbp), %edx
movzbl -0xb9(%rbp), %ecx
movzbl -0xb8(%rbp), %r8d
movzbl -0xb7(%rbp), %r9d
leaq 0x4460(%rip), %rdi      # 0x677a
xorl %eax, %eax
callq 0x1080
jmp 0x2332
leaq -0xb0(%rbp), %rdi
movl %r15d, %esi
callq 0x27f0
incl %r15d
testl %r12d, %r12d
movq -0x30(%rbp), %rbx
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
je 0x2210
jmp 0x21cf
cmpw $0x0, -0xbe(%rbp)
je 0x21cf
xorl %r15d, %r15d
leaq 0x443a(%rip), %r12      # 0x679f
leaq 0x440e(%rip), %r13      # 0x677a
xorl %r14d, %r14d
movq %rbx, %rdi
leaq -0xc0(%rbp), %rsi
callq 0x41fd
testl %eax, %eax
jne 0x21c9
incl %r15d
movzwl -0xbc(%rbp), %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
divsd 0x3c69(%rip), %xmm0     # 0x6008
leaq 0x45af(%rip), %rdi      # 0x6955
movl %r15d, %esi
movb $0x1, %al
callq 0x1080
testb $0x1, -0xc0(%rbp)
movq %r12, %rsi
leaq 0x43e3(%rip), %rax      # 0x67a4
cmoveq %rax, %rsi
movzbl -0xba(%rbp), %edx
movzbl -0xb9(%rbp), %ecx
movzbl -0xb8(%rbp), %r8d
movzbl -0xb7(%rbp), %r9d
movq %r13, %rdi
xorl %eax, %eax
callq 0x1080
movzwl -0xbe(%rbp), %eax
cmpl %eax, %r15d
jb 0x236f
jmp 0x21cf
xorl %r14d, %r14d
jmp 0x21cf