// File: /workspace/github_c_makefile_star2_O3/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, %r14d
movq %rdi, %rbx
leaq -0xb8(%rbp), %rsi
movl %r14d, %edx
callq 0x4567
testl %eax, %eax
je 0x21ca
leaq 0x4b13(%rip), %rdi      # 0x6cbd
callq 0x1070
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
movl %r13d, %eax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movzwl -0xb6(%rbp), %esi
leaq 0x469c(%rip), %rdi      # 0x6874
xorl %r13d, %r13d
xorl %eax, %eax
callq 0x1080
movzwl -0xb6(%rbp), %eax
cmpl $0x53, %r14d
jne 0x231f
testw %ax, %ax
je 0x21b5
xorl %r14d, %r14d
movq %rbx, %rdi
leaq -0xb8(%rbp), %rsi
callq 0x4221
testl %eax, %eax
jne 0x21af
incl %r14d
movzwl -0xb4(%rbp), %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
divsd 0x3de1(%rip), %xmm0     # 0x6008
movzwl -0xae(%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, %r12d
shrl $0x8, %r12d
andl $0x1, %r12d
shrl $0x9, %r10d
andl $0x3, %r10d
movzwl -0xac(%rbp), %r15d
subq $0x8, %rsp
leaq 0x460a(%rip), %rdi      # 0x689a
movl %r14d, %esi
movb $0x1, %al
pushq %r15
pushq %r10
pushq %r12
pushq %r13
pushq %r11
callq 0x1080
addq $0x30, %rsp
testb $0x10, -0xae(%rbp)
jne 0x22f8
testb $0x1, -0xb8(%rbp)
leaq 0x44e0(%rip), %rsi      # 0x679f
leaq 0x44de(%rip), %rax      # 0x67a4
cmoveq %rax, %rsi
movzbl -0xb2(%rbp), %edx
movzbl -0xb1(%rbp), %ecx
movzbl -0xb0(%rbp), %r8d
movzbl -0xaf(%rbp), %r9d
leaq 0x448b(%rip), %rdi      # 0x677a
xorl %eax, %eax
callq 0x1080
jmp 0x2307
leaq -0xa8(%rbp), %rdi
movl %r14d, %esi
callq 0x27c7
movzwl -0xb6(%rbp), %eax
cmpl %eax, %r14d
jb 0x21fb
xorl %r13d, %r13d
jmp 0x21b5
testw %ax, %ax
je 0x21b5
xorl %r14d, %r14d
leaq 0x446d(%rip), %r15      # 0x679f
leaq 0x4441(%rip), %r12      # 0x677a
xorl %r13d, %r13d
movq %rbx, %rdi
leaq -0xb8(%rbp), %rsi
callq 0x41c4
testl %eax, %eax
jne 0x21af
incl %r14d
movzwl -0xb4(%rbp), %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
divsd 0x3c9c(%rip), %xmm0     # 0x6008
leaq 0x45e2(%rip), %rdi      # 0x6955
movl %r14d, %esi
movb $0x1, %al
callq 0x1080
testb $0x1, -0xb8(%rbp)
movq %r15, %rsi
leaq 0x4416(%rip), %rax      # 0x67a4
cmoveq %rax, %rsi
movzbl -0xb2(%rbp), %edx
movzbl -0xb1(%rbp), %ecx
movzbl -0xb0(%rbp), %r8d
movzbl -0xaf(%rbp), %r9d
movq %r12, %rdi
xorl %eax, %eax
callq 0x1080
movzwl -0xb6(%rbp), %eax
cmpl %eax, %r14d
jb 0x233c
jmp 0x21b5