	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vdecl_convert_fvf              ## -- Begin function vdecl_convert_fvf
	.p2align	4, 0x90
_vdecl_convert_fvf:                     ## @vdecl_convert_fvf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movq	_D3DFVF_POSITION_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	testl	%edi, %eax
	setne	%cl
	movq	_D3DFVF_XYZB5@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	andl	%edi, %esi
	movq	_D3DFVF_XYZRHW@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	cmpl	%ebx, %esi
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_1
## %bb.2:
	movb	$1, %dl
	cmpl	%eax, %esi
	je	LBB0_5
## %bb.3:
	movq	_D3DFVF_LASTBETA_D3DCOLOR@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	_D3DFVF_LASTBETA_UBYTE4@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	setne	%dl
	jmp	LBB0_5
LBB0_1:
	xorl	%edx, %edx
LBB0_5:
	movl	%esi, -64(%rbp)                 ## 4-byte Spill
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	cmpl	%ebx, %esi
	setg	-41(%rbp)                       ## 1-byte Folded Spill
	movl	%edx, -76(%rbp)                 ## 4-byte Spill
	movzbl	%dl, %eax
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movq	_D3DFVF_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	andl	%edi, %eax
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movq	_D3DFVF_PSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, -84(%rbp)                ## 4-byte Spill
	andl	%edi, %r14d
	movl	%r14d, -100(%rbp)               ## 4-byte Spill
	movq	_D3DFVF_DIFFUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, -88(%rbp)                 ## 4-byte Spill
	andl	%edi, %ebx
	movq	_D3DFVF_SPECULAR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%edi, %r14d
	movl	%r13d, -92(%rbp)                ## 4-byte Spill
	andl	%edi, %r13d
	movq	_D3DFVF_TEXCOUNT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movq	_D3DFVF_TEXCOUNT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	andl	%edi, %r15d
	sarl	%cl, %r15d
	xorl	%r12d, %r12d
	leaq	-160(%rbp), %rdi
	xorl	%eax, %eax
	callq	_D3DDECL_END
	movq	_D3DFVF_XYZB5@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%r14d, -68(%rbp)                ## 4-byte Spill
	andl	%r14d, %eax
	movq	_D3DFVF_XYZB1@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	sarl	%eax
	movl	-96(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, %ecx
	xorb	$1, %cl
	movzbl	%cl, %ecx
	addl	%eax, %ecx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	setg	%cl
	andb	-41(%rbp), %cl                  ## 1-byte Folded Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	%edx, %eax
	cmpl	$1, -104(%rbp)                  ## 4-byte Folded Reload
	sbbl	$-1, %eax
	cmpl	$1, -100(%rbp)                  ## 4-byte Folded Reload
	sbbl	$-1, %eax
	cmpl	$1, %ebx
	movq	%rax, %rbx
	sbbl	$-1, %ebx
	movb	%cl, -56(%rbp)                  ## 1-byte Spill
	movzbl	%cl, %eax
	cmpl	$1, %r13d
	sbbl	$-1, %ebx
	addl	%r15d, %ebx
	addl	%eax, %ebx
	leal	(%rbx,%rbx,4), %eax
	leal	40(,%rax,8), %edi
	callq	_heap_alloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r14
	movl	%ebx, %r9d
	leaq	(%r9,%r9,4), %rax
	movq	-128(%rbp), %rcx
	movq	%rcx, 32(%r14,%rax,8)
	movups	-160(%rbp), %xmm0
	movups	-144(%rbp), %xmm1
	movups	%xmm1, 16(%r14,%rax,8)
	movups	%xmm0, (%r14,%rax,8)
	movl	-68(%rbp), %r13d                ## 4-byte Reload
	testl	%r13d, -72(%rbp)                ## 4-byte Folded Reload
	je	LBB0_15
## %bb.8:
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, -64(%rbp)                 ## 4-byte Folded Reload
	jle	LBB0_9
LBB0_13:
	movq	_D3DDECLUSAGE_POSITION@GOTPCREL(%rip), %rcx
	movq	_D3DDECLTYPE_FLOAT3@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_6:
	movq	_D3DERR_OUTOFVIDEOMEMORY@GOTPCREL(%rip), %rax
	jmp	LBB0_55
LBB0_9:
	movq	_D3DDECLTYPE_FLOAT4@GOTPCREL(%rip), %rax
	movq	_D3DFVF_XYZRHW@GOTPCREL(%rip), %rcx
	testl	%r13d, (%rcx)
	je	LBB0_11
## %bb.10:
	movq	_D3DDECLUSAGE_POSITIONT@GOTPCREL(%rip), %rcx
	jmp	LBB0_14
LBB0_11:
	movq	_D3DFVF_XYZW@GOTPCREL(%rip), %rcx
	movl	%r13d, %edx
	notl	%edx
	testl	%edx, (%rcx)
	jne	LBB0_13
## %bb.12:
	movq	_D3DDECLUSAGE_POSITION@GOTPCREL(%rip), %rcx
LBB0_14:
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	(%rcx), %rax
	movq	%rax, 32(%r14)
	movl	$0, 8(%r14)
	movl	$1, %r12d
LBB0_15:
	cmpb	$0, -56(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_16
## %bb.28:
	cmpb	$0, -76(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_29
LBB0_37:
	testl	%r13d, -80(%rbp)                ## 4-byte Folded Reload
	je	LBB0_39
LBB0_38:
	movq	_D3DDECLTYPE_FLOAT3@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r12d, %ecx
	leaq	(%rcx,%rcx,4), %rcx
	movq	%rax, (%r14,%rcx,8)
	movq	_D3DDECLUSAGE_NORMAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r14,%rcx,8)
	movl	$0, 8(%r14,%rcx,8)
	incl	%r12d
LBB0_39:
	testl	%r13d, -84(%rbp)                ## 4-byte Folded Reload
	je	LBB0_41
## %bb.40:
	movq	_D3DDECLTYPE_FLOAT1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r12d, %ecx
	leaq	(%rcx,%rcx,4), %rcx
	movq	%rax, (%r14,%rcx,8)
	movq	_D3DDECLUSAGE_PSIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r14,%rcx,8)
	movl	$0, 8(%r14,%rcx,8)
	incl	%r12d
LBB0_41:
	testl	%r13d, -88(%rbp)                ## 4-byte Folded Reload
	je	LBB0_43
## %bb.42:
	movq	_D3DDECLTYPE_D3DCOLOR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r12d, %ecx
	leaq	(%rcx,%rcx,4), %rcx
	movq	%rax, (%r14,%rcx,8)
	movq	_D3DDECLUSAGE_COLOR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r14,%rcx,8)
	movl	$0, 8(%r14,%rcx,8)
	incl	%r12d
LBB0_43:
	testl	%r13d, -92(%rbp)                ## 4-byte Folded Reload
	je	LBB0_45
## %bb.44:
	movq	_D3DDECLTYPE_D3DCOLOR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r12d, %ecx
	leaq	(%rcx,%rcx,4), %rcx
	movq	%rax, (%r14,%rcx,8)
	movq	_D3DDECLUSAGE_COLOR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r14,%rcx,8)
	movl	$1, 8(%r14,%rcx,8)
	incl	%r12d
LBB0_45:
	testl	%r15d, %r15d
	je	LBB0_51
## %bb.46:
	xorl	%eax, %eax
	cmpl	$1, %r15d
	je	LBB0_49
## %bb.47:
	movl	%r15d, %ecx
	andl	$-2, %ecx
	xorl	%eax, %eax
	movq	_D3DDECLUSAGE_TEXCOORD@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_48:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %rsi
	movl	%r12d, %edi
	leaq	(%rdi,%rdi,4), %rdi
	movq	%rsi, 32(%r14,%rdi,8)
	movl	%eax, 8(%r14,%rdi,8)
	leal	1(%r12), %esi
	movq	(%rdx), %rdi
	leaq	(%rsi,%rsi,4), %rsi
	movq	%rdi, 32(%r14,%rsi,8)
	leal	1(%rax), %edi
	movl	%edi, 8(%r14,%rsi,8)
	addl	$2, %r12d
	addl	$2, %eax
	cmpl	%ecx, %eax
	jne	LBB0_48
LBB0_49:
	testb	$1, %r15b
	je	LBB0_51
## %bb.50:
	movq	_D3DDECLUSAGE_TEXCOORD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%r12d, %edx
	leaq	(%rdx,%rdx,4), %rdx
	movq	%rcx, 32(%r14,%rdx,8)
	movl	%eax, 8(%r14,%rdx,8)
LBB0_51:
	testl	%ebx, %ebx
	je	LBB0_54
## %bb.52:
	movq	_d3d_dtype_lookup@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r14, %rcx
	addq	$24, %rcx
	xorl	%edx, %edx
	movq	_D3DDECLMETHOD_DEFAULT@GOTPCREL(%rip), %r8
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_53:                                ## =>This Inner Loop Header: Depth=1
	movq	$0, (%rcx)
	movl	(%r8), %ebx
	movl	%ebx, -8(%rcx)
	movl	%edi, -12(%rcx)
	movq	-24(%rcx), %rbx
	movl	4(%rax,%rbx,8), %esi
	imull	(%rax,%rbx,8), %esi
	addl	%esi, %edi
	incq	%rdx
	addq	$40, %rcx
	cmpq	%r9, %rdx
	jb	LBB0_53
LBB0_54:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	%r14, (%rax)
	movq	_D3D_OK@GOTPCREL(%rip), %rax
LBB0_55:
	movl	(%rax), %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	_D3DFVF_XYZB5@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r13d, %eax
	movq	_D3DFVF_XYZB2@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_20
## %bb.17:
	movq	_D3DFVF_LASTBETA_D3DCOLOR@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_20
## %bb.18:
	movq	_D3DDECLTYPE_D3DCOLOR@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_20:
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	leal	-1(%rsi), %eax
	cmpl	$3, %eax
	ja	LBB0_26
## %bb.21:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_22:
	movq	_D3DDECLTYPE_FLOAT1@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_26:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	callq	_ERR
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	movl	%r12d, %eax
	jmp	LBB0_27
LBB0_23:
	movq	_D3DDECLTYPE_FLOAT2@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_24:
	movq	_D3DDECLTYPE_FLOAT3@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_25:
	movq	_D3DDECLTYPE_FLOAT4@GOTPCREL(%rip), %rax
LBB0_19:
	movq	(%rax), %rcx
	movl	%r12d, %eax
	leaq	(%rax,%rax,4), %rdx
	movq	%rcx, (%r14,%rdx,8)
LBB0_27:
	movq	_D3DDECLUSAGE_BLENDWEIGHT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rax,%rax,4), %rax
	movq	%rcx, 32(%r14,%rax,8)
	movl	$0, 8(%r14,%rax,8)
	incl	%r12d
	cmpb	$0, -76(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_37
LBB0_29:
	movq	_D3DFVF_LASTBETA_UBYTE4@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	jne	LBB0_32
## %bb.30:
	movq	_D3DFVF_XYZB5@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	%r13d, %ecx
	movq	_D3DFVF_XYZB2@GOTPCREL(%rip), %rdx
	movq	_D3DFVF_LASTBETA_D3DCOLOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	(%rdx), %ecx
	jne	LBB0_33
## %bb.31:
	movl	%eax, %ecx
	andl	%r13d, %ecx
	je	LBB0_33
LBB0_32:
	movq	_D3DDECLTYPE_UBYTE4@GOTPCREL(%rip), %rax
LBB0_36:
	movq	(%rax), %rax
	movl	%r12d, %ecx
	leaq	(%rcx,%rcx,4), %rcx
	movq	%rax, (%r14,%rcx,8)
	movq	_D3DDECLUSAGE_BLENDINDICES@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r14,%rcx,8)
	movl	$0, 8(%r14,%rcx,8)
	incl	%r12d
	testl	%r13d, -80(%rbp)                ## 4-byte Folded Reload
	jne	LBB0_38
	jmp	LBB0_39
LBB0_33:
	testl	%r13d, %eax
	je	LBB0_35
## %bb.34:
	movq	_D3DDECLTYPE_D3DCOLOR@GOTPCREL(%rip), %rax
	jmp	LBB0_36
LBB0_35:
	movq	_D3DDECLTYPE_FLOAT1@GOTPCREL(%rip), %rax
	jmp	LBB0_36
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
LJTI0_0:
	.long	L0_0_set_22
	.long	L0_0_set_23
	.long	L0_0_set_24
	.long	L0_0_set_25
	.end_data_region
                                        ## -- End function
	.comm	_D3DFVF_POSITION_MASK,4,2       ## @D3DFVF_POSITION_MASK
	.comm	_D3DFVF_XYZB5,4,2               ## @D3DFVF_XYZB5
	.comm	_D3DFVF_XYZRHW,4,2              ## @D3DFVF_XYZRHW
	.comm	_D3DFVF_LASTBETA_D3DCOLOR,4,2   ## @D3DFVF_LASTBETA_D3DCOLOR
	.comm	_D3DFVF_LASTBETA_UBYTE4,4,2     ## @D3DFVF_LASTBETA_UBYTE4
	.comm	_D3DFVF_NORMAL,4,2              ## @D3DFVF_NORMAL
	.comm	_D3DFVF_PSIZE,4,2               ## @D3DFVF_PSIZE
	.comm	_D3DFVF_DIFFUSE,4,2             ## @D3DFVF_DIFFUSE
	.comm	_D3DFVF_SPECULAR,4,2            ## @D3DFVF_SPECULAR
	.comm	_D3DFVF_TEXCOUNT_MASK,4,2       ## @D3DFVF_TEXCOUNT_MASK
	.comm	_D3DFVF_TEXCOUNT_SHIFT,4,2      ## @D3DFVF_TEXCOUNT_SHIFT
	.comm	_D3DFVF_XYZB1,4,2               ## @D3DFVF_XYZB1
	.comm	_D3DERR_OUTOFVIDEOMEMORY,4,2    ## @D3DERR_OUTOFVIDEOMEMORY
	.comm	_D3DDECLTYPE_FLOAT4,8,3         ## @D3DDECLTYPE_FLOAT4
	.comm	_D3DDECLUSAGE_POSITIONT,8,3     ## @D3DDECLUSAGE_POSITIONT
	.comm	_D3DFVF_XYZW,4,2                ## @D3DFVF_XYZW
	.comm	_D3DDECLUSAGE_POSITION,8,3      ## @D3DDECLUSAGE_POSITION
	.comm	_D3DDECLTYPE_FLOAT3,8,3         ## @D3DDECLTYPE_FLOAT3
	.comm	_D3DFVF_XYZB2,4,2               ## @D3DFVF_XYZB2
	.comm	_D3DDECLTYPE_D3DCOLOR,8,3       ## @D3DDECLTYPE_D3DCOLOR
	.comm	_D3DDECLTYPE_FLOAT1,8,3         ## @D3DDECLTYPE_FLOAT1
	.comm	_D3DDECLTYPE_FLOAT2,8,3         ## @D3DDECLTYPE_FLOAT2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected amount of blend values: %u\n"

	.comm	_D3DDECLUSAGE_BLENDWEIGHT,8,3   ## @D3DDECLUSAGE_BLENDWEIGHT
	.comm	_D3DDECLTYPE_UBYTE4,8,3         ## @D3DDECLTYPE_UBYTE4
	.comm	_D3DDECLUSAGE_BLENDINDICES,8,3  ## @D3DDECLUSAGE_BLENDINDICES
	.comm	_D3DDECLUSAGE_NORMAL,8,3        ## @D3DDECLUSAGE_NORMAL
	.comm	_D3DDECLUSAGE_PSIZE,8,3         ## @D3DDECLUSAGE_PSIZE
	.comm	_D3DDECLUSAGE_COLOR,8,3         ## @D3DDECLUSAGE_COLOR
	.comm	_D3DDECLUSAGE_TEXCOORD,8,3      ## @D3DDECLUSAGE_TEXCOORD
	.comm	_D3DDECLMETHOD_DEFAULT,4,2      ## @D3DDECLMETHOD_DEFAULT
	.comm	_d3d_dtype_lookup,8,3           ## @d3d_dtype_lookup
	.comm	_D3D_OK,4,2                     ## @D3D_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vdecl_convert_fvf              ; -- Begin function vdecl_convert_fvf
	.p2align	2
_vdecl_convert_fvf:                     ; @vdecl_convert_fvf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x0
Lloh0:
	adrp	x8, _D3DFVF_POSITION_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _D3DFVF_POSITION_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ands	w10, w8, w0
	cset	w19, ne
Lloh3:
	adrp	x8, _D3DFVF_XYZB5@GOTPAGE
Lloh4:
	ldr	x8, [x8, _D3DFVF_XYZB5@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w25, w8, w0
Lloh6:
	adrp	x9, _D3DFVF_XYZRHW@GOTPAGE
Lloh7:
	ldr	x9, [x9, _D3DFVF_XYZRHW@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w10, w9, [sp, #32]              ; 8-byte Folded Spill
	cmp	w25, w9
	str	x1, [sp, #24]                   ; 8-byte Folded Spill
	b.le	LBB0_4
; %bb.1:
	cmp	w25, w8
	b.eq	LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _D3DFVF_LASTBETA_D3DCOLOR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _D3DFVF_LASTBETA_D3DCOLOR@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_13
LBB0_3:
	mov	w26, #1
	b	LBB0_5
LBB0_4:
	mov	w26, #0
LBB0_5:
Lloh12:
	adrp	x8, _D3DFVF_NORMAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _D3DFVF_NORMAL@GOTPAGEOFF]
Lloh14:
	ldr	w22, [x8]
Lloh15:
	adrp	x8, _D3DFVF_PSIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _D3DFVF_PSIZE@GOTPAGEOFF]
Lloh17:
	ldr	w23, [x8]
Lloh18:
	adrp	x8, _D3DFVF_DIFFUSE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _D3DFVF_DIFFUSE@GOTPAGEOFF]
Lloh20:
	ldr	w24, [x8]
Lloh21:
	adrp	x8, _D3DFVF_SPECULAR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _D3DFVF_SPECULAR@GOTPAGEOFF]
Lloh23:
	ldr	w27, [x8]
Lloh24:
	adrp	x8, _D3DFVF_TEXCOUNT_MASK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _D3DFVF_TEXCOUNT_MASK@GOTPAGEOFF]
Lloh26:
	ldr	w28, [x8]
Lloh27:
	adrp	x8, _D3DFVF_TEXCOUNT_SHIFT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _D3DFVF_TEXCOUNT_SHIFT@GOTPAGEOFF]
Lloh29:
	ldr	w20, [x8]
	add	x8, sp, #40
	bl	_D3DDECL_END
Lloh30:
	adrp	x8, _D3DFVF_XYZB5@GOTPAGE
Lloh31:
	ldr	x8, [x8, _D3DFVF_XYZB5@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _D3DFVF_XYZB1@GOTPAGE
Lloh34:
	ldr	x9, [x9, _D3DFVF_XYZB1@GOTPAGEOFF]
	and	w8, w8, w21
Lloh35:
	ldr	w9, [x9]
	sub	w8, w8, w9
	ands	w9, w22, w21
	str	w9, [sp, #8]                    ; 4-byte Folded Spill
	add	w9, w26, w19
	cinc	w9, w9, ne
	ands	w10, w23, w21
	str	w10, [sp, #12]                  ; 4-byte Folded Spill
	cinc	w9, w9, ne
	ands	w10, w24, w21
	str	w10, [sp, #16]                  ; 4-byte Folded Spill
	cinc	w9, w9, ne
	ands	w10, w27, w21
	str	w10, [sp, #20]                  ; 4-byte Folded Spill
	cinc	w9, w9, ne
	ldr	w19, [sp, #36]                  ; 4-byte Folded Reload
	cmp	w25, w19
	and	w10, w28, w21
	asr	w24, w10, w20
	eor	w10, w26, #0x1
	add	w22, w10, w8, asr #1
	ccmp	w22, #0, #4, gt
	cset	w27, gt
	add	w8, w9, w24
	cinc	w23, w8, gt
	mov	w28, #40
	mul	w8, w23, w28
	add	w0, w8, #40
	bl	_heap_alloc
	cbz	x0, LBB0_9
; %bb.6:
	mov	x20, x0
	umaddl	x8, w23, w28, x0
	ldur	q0, [sp, #40]
	ldur	q1, [sp, #56]
	ldr	x9, [sp, #72]
	str	x9, [x8, #32]
	stp	q0, q1, [x8]
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_10
; %bb.7:
	cmp	w25, w19
	b.le	LBB0_11
LBB0_8:
Lloh36:
	adrp	x8, _D3DDECLUSAGE_POSITION@GOTPAGE
Lloh37:
	ldr	x8, [x8, _D3DDECLUSAGE_POSITION@GOTPAGEOFF]
Lloh38:
	adrp	x9, _D3DDECLTYPE_FLOAT3@GOTPAGE
Lloh39:
	ldr	x9, [x9, _D3DDECLTYPE_FLOAT3@GOTPAGEOFF]
	b	LBB0_17
LBB0_9:
Lloh40:
	adrp	x8, _D3DERR_OUTOFVIDEOMEMORY@GOTPAGE
Lloh41:
	ldr	x8, [x8, _D3DERR_OUTOFVIDEOMEMORY@GOTPAGEOFF]
	b	LBB0_54
LBB0_10:
	mov	w28, #0
	b	LBB0_18
LBB0_11:
Lloh42:
	adrp	x8, _D3DFVF_XYZRHW@GOTPAGE
Lloh43:
	ldr	x8, [x8, _D3DFVF_XYZRHW@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_14
; %bb.12:
Lloh45:
	adrp	x8, _D3DDECLUSAGE_POSITIONT@GOTPAGE
Lloh46:
	ldr	x8, [x8, _D3DDECLUSAGE_POSITIONT@GOTPAGEOFF]
	b	LBB0_16
LBB0_13:
Lloh47:
	adrp	x8, _D3DFVF_LASTBETA_UBYTE4@GOTPAGE
Lloh48:
	ldr	x8, [x8, _D3DFVF_LASTBETA_UBYTE4@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	tst	w8, w21
	cset	w26, ne
	b	LBB0_5
LBB0_14:
Lloh50:
	adrp	x8, _D3DFVF_XYZW@GOTPAGE
Lloh51:
	ldr	x8, [x8, _D3DFVF_XYZW@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	bics	wzr, w8, w21
	b.ne	LBB0_8
; %bb.15:
Lloh53:
	adrp	x8, _D3DDECLUSAGE_POSITION@GOTPAGE
Lloh54:
	ldr	x8, [x8, _D3DDECLUSAGE_POSITION@GOTPAGEOFF]
LBB0_16:
Lloh55:
	adrp	x9, _D3DDECLTYPE_FLOAT4@GOTPAGE
Lloh56:
	ldr	x9, [x9, _D3DDECLTYPE_FLOAT4@GOTPAGEOFF]
LBB0_17:
	ldr	x9, [x9]
	str	x9, [x20]
	ldr	x8, [x8]
	str	x8, [x20, #32]
	str	wzr, [x20, #8]
	mov	w28, #1
LBB0_18:
Lloh57:
	adrp	x19, _D3DDECLTYPE_D3DCOLOR@GOTPAGE
Lloh58:
	ldr	x19, [x19, _D3DDECLTYPE_D3DCOLOR@GOTPAGEOFF]
	cbz	w27, LBB0_22
; %bb.19:
Lloh59:
	adrp	x8, _D3DFVF_XYZB5@GOTPAGE
Lloh60:
	ldr	x8, [x8, _D3DFVF_XYZB5@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	and	w8, w8, w21
Lloh62:
	adrp	x9, _D3DFVF_XYZB2@GOTPAGE
Lloh63:
	ldr	x9, [x9, _D3DFVF_XYZB2@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_23
; %bb.20:
Lloh65:
	adrp	x8, _D3DFVF_LASTBETA_D3DCOLOR@GOTPAGE
Lloh66:
	ldr	x8, [x8, _D3DFVF_LASTBETA_D3DCOLOR@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_23
; %bb.21:
	ldr	x9, [x19]
	b	LBB0_31
LBB0_22:
	ldr	x15, [sp, #24]                  ; 8-byte Folded Reload
	ldp	w12, w11, [sp, #16]             ; 8-byte Folded Reload
	ldp	w14, w13, [sp, #8]              ; 8-byte Folded Reload
	cbnz	w26, LBB0_33
	b	LBB0_39
LBB0_23:
	sub	w8, w22, #1
	cmp	w8, #3
	b.hi	LBB0_26
; %bb.24:
Lloh68:
	adrp	x9, lJTI0_0@PAGE
Lloh69:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_25
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_25:
Lloh70:
	adrp	x8, _D3DDECLTYPE_FLOAT1@GOTPAGE
Lloh71:
	ldr	x8, [x8, _D3DDECLTYPE_FLOAT1@GOTPAGEOFF]
	b	LBB0_30
LBB0_26:
Lloh72:
	adrp	x0, l_.str@PAGE
Lloh73:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_ERR
	mov	w8, w28
	b	LBB0_32
LBB0_27:
Lloh74:
	adrp	x8, _D3DDECLTYPE_FLOAT2@GOTPAGE
Lloh75:
	ldr	x8, [x8, _D3DDECLTYPE_FLOAT2@GOTPAGEOFF]
	b	LBB0_30
LBB0_28:
Lloh76:
	adrp	x8, _D3DDECLTYPE_FLOAT3@GOTPAGE
Lloh77:
	ldr	x8, [x8, _D3DDECLTYPE_FLOAT3@GOTPAGEOFF]
	b	LBB0_30
LBB0_29:
Lloh78:
	adrp	x8, _D3DDECLTYPE_FLOAT4@GOTPAGE
Lloh79:
	ldr	x8, [x8, _D3DDECLTYPE_FLOAT4@GOTPAGEOFF]
LBB0_30:
	ldr	x9, [x8]
LBB0_31:
	mov	w8, w28
	mov	w10, #40
	umull	x10, w28, w10
	str	x9, [x20, x10]
LBB0_32:
	ldr	x15, [sp, #24]                  ; 8-byte Folded Reload
	ldp	w12, w11, [sp, #16]             ; 8-byte Folded Reload
	ldp	w14, w13, [sp, #8]              ; 8-byte Folded Reload
Lloh80:
	adrp	x9, _D3DDECLUSAGE_BLENDWEIGHT@GOTPAGE
Lloh81:
	ldr	x9, [x9, _D3DDECLUSAGE_BLENDWEIGHT@GOTPAGEOFF]
Lloh82:
	ldr	x9, [x9]
	mov	w10, #40
	madd	x8, x8, x10, x20
	str	x9, [x8, #32]
	str	wzr, [x8, #8]
	add	w28, w28, #1
	cbz	w26, LBB0_39
LBB0_33:
Lloh83:
	adrp	x8, _D3DFVF_LASTBETA_UBYTE4@GOTPAGE
Lloh84:
	ldr	x8, [x8, _D3DFVF_LASTBETA_UBYTE4@GOTPAGEOFF]
Lloh85:
	ldr	w8, [x8]
	tst	w8, w21
	b.ne	LBB0_36
; %bb.34:
Lloh86:
	adrp	x8, _D3DFVF_XYZB5@GOTPAGE
Lloh87:
	ldr	x8, [x8, _D3DFVF_XYZB5@GOTPAGEOFF]
Lloh88:
	ldr	w8, [x8]
	and	w9, w8, w21
Lloh89:
	adrp	x8, _D3DFVF_XYZB2@GOTPAGE
Lloh90:
	ldr	x8, [x8, _D3DFVF_XYZB2@GOTPAGEOFF]
Lloh91:
	ldr	w10, [x8]
Lloh92:
	adrp	x8, _D3DFVF_LASTBETA_D3DCOLOR@GOTPAGE
Lloh93:
	ldr	x8, [x8, _D3DFVF_LASTBETA_D3DCOLOR@GOTPAGEOFF]
Lloh94:
	ldr	w8, [x8]
	and	w8, w8, w21
	cmp	w9, w10
	b.ne	LBB0_55
; %bb.35:
	cbz	w8, LBB0_55
LBB0_36:
Lloh95:
	adrp	x8, _D3DDECLTYPE_UBYTE4@GOTPAGE
Lloh96:
	ldr	x8, [x8, _D3DDECLTYPE_UBYTE4@GOTPAGEOFF]
LBB0_37:
	ldr	x8, [x8]
LBB0_38:
	mov	w9, #40
	umaddl	x9, w28, w9, x20
	str	x8, [x9]
Lloh97:
	adrp	x8, _D3DDECLUSAGE_BLENDINDICES@GOTPAGE
Lloh98:
	ldr	x8, [x8, _D3DDECLUSAGE_BLENDINDICES@GOTPAGEOFF]
Lloh99:
	ldr	x8, [x8]
	str	x8, [x9, #32]
	str	wzr, [x9, #8]
	add	w28, w28, #1
LBB0_39:
	cbz	w14, LBB0_41
; %bb.40:
Lloh100:
	adrp	x8, _D3DDECLTYPE_FLOAT3@GOTPAGE
Lloh101:
	ldr	x8, [x8, _D3DDECLTYPE_FLOAT3@GOTPAGEOFF]
Lloh102:
	ldr	x8, [x8]
	mov	w9, #40
	umaddl	x9, w28, w9, x20
	str	x8, [x9]
Lloh103:
	adrp	x8, _D3DDECLUSAGE_NORMAL@GOTPAGE
Lloh104:
	ldr	x8, [x8, _D3DDECLUSAGE_NORMAL@GOTPAGEOFF]
Lloh105:
	ldr	x8, [x8]
	str	x8, [x9, #32]
	str	wzr, [x9, #8]
	add	w28, w28, #1
LBB0_41:
	cbz	w13, LBB0_43
; %bb.42:
Lloh106:
	adrp	x8, _D3DDECLTYPE_FLOAT1@GOTPAGE
Lloh107:
	ldr	x8, [x8, _D3DDECLTYPE_FLOAT1@GOTPAGEOFF]
Lloh108:
	ldr	x8, [x8]
	mov	w9, #40
	umaddl	x9, w28, w9, x20
	str	x8, [x9]
Lloh109:
	adrp	x8, _D3DDECLUSAGE_PSIZE@GOTPAGE
Lloh110:
	ldr	x8, [x8, _D3DDECLUSAGE_PSIZE@GOTPAGEOFF]
Lloh111:
	ldr	x8, [x8]
	str	x8, [x9, #32]
	str	wzr, [x9, #8]
	add	w28, w28, #1
LBB0_43:
Lloh112:
	adrp	x8, _D3DDECLUSAGE_COLOR@GOTPAGE
Lloh113:
	ldr	x8, [x8, _D3DDECLUSAGE_COLOR@GOTPAGEOFF]
	cbz	w12, LBB0_45
; %bb.44:
	ldr	x9, [x19]
	mov	w10, #40
	umaddl	x10, w28, w10, x20
	str	x9, [x10]
	ldr	x9, [x8]
	str	x9, [x10, #32]
	str	wzr, [x10, #8]
	add	w28, w28, #1
LBB0_45:
	cbz	w11, LBB0_47
; %bb.46:
	ldr	x9, [x19]
	mov	w10, #40
	umaddl	x10, w28, w10, x20
	str	x9, [x10]
	ldr	x8, [x8]
	str	x8, [x10, #32]
	mov	w8, #1
	str	w8, [x10, #8]
	add	w28, w28, #1
LBB0_47:
	cbz	w24, LBB0_50
; %bb.48:
	mov	w8, #0
Lloh114:
	adrp	x9, _D3DDECLUSAGE_TEXCOORD@GOTPAGE
Lloh115:
	ldr	x9, [x9, _D3DDECLUSAGE_TEXCOORD@GOTPAGEOFF]
	mov	w10, #40
LBB0_49:                                ; =>This Inner Loop Header: Depth=1
	add	w11, w28, w8
	ldr	x12, [x9]
	umaddl	x11, w11, w10, x20
	str	x12, [x11, #32]
	str	w8, [x11, #8]
	add	w8, w8, #1
	cmp	w24, w8
	b.ne	LBB0_49
LBB0_50:
	cbz	w23, LBB0_53
; %bb.51:
	mov	x8, #0
	mov	w9, #0
Lloh116:
	adrp	x10, _d3d_dtype_lookup@GOTPAGE
Lloh117:
	ldr	x10, [x10, _d3d_dtype_lookup@GOTPAGEOFF]
Lloh118:
	ldr	x10, [x10]
	add	x11, x20, #12
Lloh119:
	adrp	x12, _D3DDECLMETHOD_DEFAULT@GOTPAGE
Lloh120:
	ldr	x12, [x12, _D3DDECLMETHOD_DEFAULT@GOTPAGEOFF]
LBB0_52:                                ; =>This Inner Loop Header: Depth=1
	stur	xzr, [x11, #12]
	ldr	w13, [x12]
	stp	w9, w13, [x11]
	ldur	x13, [x11, #-12]
	add	x13, x10, x13, lsl #3
	ldp	w14, w13, [x13]
	madd	w9, w13, w14, w9
	add	x8, x8, #1
	add	x11, x11, #40
	cmp	x8, x23
	b.lo	LBB0_52
LBB0_53:
	str	x20, [x15]
Lloh121:
	adrp	x8, _D3D_OK@GOTPAGE
Lloh122:
	ldr	x8, [x8, _D3D_OK@GOTPAGEOFF]
LBB0_54:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_55:
	cbz	w8, LBB0_57
; %bb.56:
	ldr	x8, [x19]
	b	LBB0_38
LBB0_57:
Lloh123:
	adrp	x8, _D3DDECLTYPE_FLOAT1@GOTPAGE
Lloh124:
	ldr	x8, [x8, _D3DDECLTYPE_FLOAT1@GOTPAGEOFF]
	b	LBB0_37
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGot	Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGot	Lloh112, Lloh113
	.loh AdrpLdrGot	Lloh114, Lloh115
	.loh AdrpLdrGot	Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGot	Lloh121, Lloh122
	.loh AdrpLdrGot	Lloh123, Lloh124
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_25-LBB0_25)>>2
	.byte	(LBB0_27-LBB0_25)>>2
	.byte	(LBB0_28-LBB0_25)>>2
	.byte	(LBB0_29-LBB0_25)>>2
                                        ; -- End function
	.comm	_D3DFVF_POSITION_MASK,4,2       ; @D3DFVF_POSITION_MASK
	.comm	_D3DFVF_XYZB5,4,2               ; @D3DFVF_XYZB5
	.comm	_D3DFVF_XYZRHW,4,2              ; @D3DFVF_XYZRHW
	.comm	_D3DFVF_LASTBETA_D3DCOLOR,4,2   ; @D3DFVF_LASTBETA_D3DCOLOR
	.comm	_D3DFVF_LASTBETA_UBYTE4,4,2     ; @D3DFVF_LASTBETA_UBYTE4
	.comm	_D3DFVF_NORMAL,4,2              ; @D3DFVF_NORMAL
	.comm	_D3DFVF_PSIZE,4,2               ; @D3DFVF_PSIZE
	.comm	_D3DFVF_DIFFUSE,4,2             ; @D3DFVF_DIFFUSE
	.comm	_D3DFVF_SPECULAR,4,2            ; @D3DFVF_SPECULAR
	.comm	_D3DFVF_TEXCOUNT_MASK,4,2       ; @D3DFVF_TEXCOUNT_MASK
	.comm	_D3DFVF_TEXCOUNT_SHIFT,4,2      ; @D3DFVF_TEXCOUNT_SHIFT
	.comm	_D3DFVF_XYZB1,4,2               ; @D3DFVF_XYZB1
	.comm	_D3DERR_OUTOFVIDEOMEMORY,4,2    ; @D3DERR_OUTOFVIDEOMEMORY
	.comm	_D3DDECLTYPE_FLOAT4,8,3         ; @D3DDECLTYPE_FLOAT4
	.comm	_D3DDECLUSAGE_POSITIONT,8,3     ; @D3DDECLUSAGE_POSITIONT
	.comm	_D3DFVF_XYZW,4,2                ; @D3DFVF_XYZW
	.comm	_D3DDECLUSAGE_POSITION,8,3      ; @D3DDECLUSAGE_POSITION
	.comm	_D3DDECLTYPE_FLOAT3,8,3         ; @D3DDECLTYPE_FLOAT3
	.comm	_D3DFVF_XYZB2,4,2               ; @D3DFVF_XYZB2
	.comm	_D3DDECLTYPE_D3DCOLOR,8,3       ; @D3DDECLTYPE_D3DCOLOR
	.comm	_D3DDECLTYPE_FLOAT1,8,3         ; @D3DDECLTYPE_FLOAT1
	.comm	_D3DDECLTYPE_FLOAT2,8,3         ; @D3DDECLTYPE_FLOAT2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected amount of blend values: %u\n"

	.comm	_D3DDECLUSAGE_BLENDWEIGHT,8,3   ; @D3DDECLUSAGE_BLENDWEIGHT
	.comm	_D3DDECLTYPE_UBYTE4,8,3         ; @D3DDECLTYPE_UBYTE4
	.comm	_D3DDECLUSAGE_BLENDINDICES,8,3  ; @D3DDECLUSAGE_BLENDINDICES
	.comm	_D3DDECLUSAGE_NORMAL,8,3        ; @D3DDECLUSAGE_NORMAL
	.comm	_D3DDECLUSAGE_PSIZE,8,3         ; @D3DDECLUSAGE_PSIZE
	.comm	_D3DDECLUSAGE_COLOR,8,3         ; @D3DDECLUSAGE_COLOR
	.comm	_D3DDECLUSAGE_TEXCOORD,8,3      ; @D3DDECLUSAGE_TEXCOORD
	.comm	_D3DDECLMETHOD_DEFAULT,4,2      ; @D3DDECLMETHOD_DEFAULT
	.comm	_d3d_dtype_lookup,8,3           ; @d3d_dtype_lookup
	.comm	_D3D_OK,4,2                     ; @D3D_OK
.subsections_via_symbols
