	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r200_get_vtx_size_0
_r200_get_vtx_size_0:                   ## @r200_get_vtx_size_0
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_R200_VTX_Z0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edi, %eax
	movq	_R200_VTX_W0@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	testl	%edi, (%rcx)
	setne	%dl
	cmpl	$1, %eax
	sbbl	$0, %edx
	movq	_R200_VTX_WEIGHT_COUNT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%edi, %eax
	shrl	%cl, %eax
	andl	$7, %eax
	movl	%edi, %esi
	sarl	%cl, %esi
	andl	$7, %esi
	testl	%eax, %eax
	cmovel	%eax, %esi
	addl	%edx, %esi
	movq	_R200_VTX_PV_MATRIX_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edi, %eax
	cmpl	$1, %eax
	sbbl	$-1, %esi
	movq	_R200_VTX_N0@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	testl	%edi, (%rax)
	setne	%cl
	leal	(%rcx,%rcx,2), %eax
	addl	%esi, %eax
	movq	_R200_VTX_POINT_SIZE@GOTPCREL(%rip), %rcx
	movq	_R200_VTX_DISCRETE_FOG@GOTPCREL(%rip), %rdx
	movq	_R200_VTX_SHININESS_0@GOTPCREL(%rip), %rsi
	movq	_R200_VTX_SHININESS_1@GOTPCREL(%rip), %r8
	movd	(%rdx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, (%rcx), %xmm0
	pinsrd	$2, (%rsi), %xmm0
	pinsrd	$3, (%r8), %xmm0
	movd	%edi, %xmm1
	pshufd	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	pand	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	pcmpeqd	%xmm1, %xmm0
	movmskps	%xmm0, %ecx
	xorl	$15, %ecx
	movl	%ecx, %edx
	shrb	%dl
	andb	$5, %dl
	subb	%dl, %cl
	movl	%ecx, %edx
	andb	$51, %dl
	shrb	$2, %cl
	andb	$51, %cl
	addb	%dl, %cl
	movl	%ecx, %edx
	shrb	$4, %dl
	addb	%cl, %dl
	andb	$15, %dl
	movzbl	%dl, %ecx
	addl	%ecx, %eax
	addl	$3, %eax
	movl	%edi, %ecx
	shrl	$11, %ecx
	andl	$3, %ecx
	cmpl	$3, %ecx
	je	LBB0_5
## %bb.1:
	cmpl	$2, %ecx
	je	LBB0_4
## %bb.2:
	cmpl	$1, %ecx
	jne	LBB0_6
## %bb.3:
	incl	%eax
	jmp	LBB0_6
LBB0_5:
	addl	$4, %eax
	jmp	LBB0_6
LBB0_4:
	addl	$3, %eax
LBB0_6:
	movl	%edi, %ecx
	shrl	$13, %ecx
	andl	$3, %ecx
	cmpl	$1, %ecx
	je	LBB0_10
## %bb.7:
	cmpl	$3, %ecx
	je	LBB0_11
## %bb.8:
	cmpl	$2, %ecx
	jne	LBB0_12
## %bb.9:
	addl	$3, %eax
	jmp	LBB0_12
LBB0_10:
	incl	%eax
	jmp	LBB0_12
LBB0_11:
	addl	$4, %eax
LBB0_12:
	movl	%edi, %ecx
	shrl	$15, %ecx
	andl	$3, %ecx
	cmpl	$1, %ecx
	je	LBB0_16
## %bb.13:
	cmpl	$3, %ecx
	je	LBB0_17
## %bb.14:
	cmpl	$2, %ecx
	jne	LBB0_18
## %bb.15:
	addl	$3, %eax
	jmp	LBB0_18
LBB0_16:
	incl	%eax
	jmp	LBB0_18
LBB0_17:
	addl	$4, %eax
LBB0_18:
	movl	%edi, %ecx
	shrl	$17, %ecx
	andl	$3, %ecx
	cmpl	$1, %ecx
	je	LBB0_22
## %bb.19:
	cmpl	$3, %ecx
	je	LBB0_23
## %bb.20:
	cmpl	$2, %ecx
	jne	LBB0_24
## %bb.21:
	addl	$3, %eax
	jmp	LBB0_24
LBB0_22:
	incl	%eax
	jmp	LBB0_24
LBB0_23:
	addl	$4, %eax
LBB0_24:
	movl	%edi, %ecx
	shrl	$19, %ecx
	andl	$3, %ecx
	cmpl	$1, %ecx
	je	LBB0_28
## %bb.25:
	cmpl	$3, %ecx
	je	LBB0_29
## %bb.26:
	cmpl	$2, %ecx
	jne	LBB0_30
## %bb.27:
	addl	$3, %eax
	jmp	LBB0_30
LBB0_28:
	incl	%eax
	jmp	LBB0_30
LBB0_29:
	addl	$4, %eax
LBB0_30:
	movl	%edi, %ecx
	shrl	$21, %ecx
	andl	$3, %ecx
	cmpl	$1, %ecx
	je	LBB0_34
## %bb.31:
	cmpl	$3, %ecx
	je	LBB0_35
## %bb.32:
	cmpl	$2, %ecx
	jne	LBB0_36
## %bb.33:
	addl	$3, %eax
	jmp	LBB0_36
LBB0_34:
	incl	%eax
	jmp	LBB0_36
LBB0_35:
	addl	$4, %eax
LBB0_36:
	movl	%edi, %ecx
	shrl	$23, %ecx
	andl	$3, %ecx
	cmpl	$1, %ecx
	je	LBB0_40
## %bb.37:
	cmpl	$3, %ecx
	je	LBB0_41
## %bb.38:
	cmpl	$2, %ecx
	jne	LBB0_42
## %bb.39:
	addl	$3, %eax
	jmp	LBB0_42
LBB0_40:
	incl	%eax
	jmp	LBB0_42
LBB0_41:
	addl	$4, %eax
LBB0_42:
	movl	%edi, %ecx
	shrl	$25, %ecx
	andl	$3, %ecx
	cmpl	$1, %ecx
	je	LBB0_46
## %bb.43:
	cmpl	$3, %ecx
	je	LBB0_47
## %bb.44:
	cmpl	$2, %ecx
	jne	LBB0_48
## %bb.45:
	addl	$3, %eax
	jmp	LBB0_48
LBB0_46:
	incl	%eax
	jmp	LBB0_48
LBB0_47:
	addl	$4, %eax
LBB0_48:
	movq	_R200_VTX_XY1@GOTPCREL(%rip), %rcx
	leal	2(%rax), %edx
	testl	%edi, (%rcx)
	cmovel	%eax, %edx
	movq	_R200_VTX_Z1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edi, %eax
	cmpl	$1, %eax
	sbbl	$-1, %edx
	movq	_R200_VTX_W1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edi, %eax
	cmpl	$1, %eax
	sbbl	$-1, %edx
	movq	_R200_VTX_N1@GOTPCREL(%rip), %rcx
	leal	3(%rdx), %eax
	testl	%edi, (%rcx)
	cmovel	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R200_VTX_Z0,4,2                ## @R200_VTX_Z0
	.comm	_R200_VTX_W0,4,2                ## @R200_VTX_W0
	.comm	_R200_VTX_WEIGHT_COUNT_SHIFT,4,2 ## @R200_VTX_WEIGHT_COUNT_SHIFT
	.comm	_R200_VTX_PV_MATRIX_SEL,4,2     ## @R200_VTX_PV_MATRIX_SEL
	.comm	_R200_VTX_N0,4,2                ## @R200_VTX_N0
	.comm	_R200_VTX_POINT_SIZE,4,2        ## @R200_VTX_POINT_SIZE
	.comm	_R200_VTX_DISCRETE_FOG,4,2      ## @R200_VTX_DISCRETE_FOG
	.comm	_R200_VTX_SHININESS_0,4,2       ## @R200_VTX_SHININESS_0
	.comm	_R200_VTX_SHININESS_1,4,2       ## @R200_VTX_SHININESS_1
	.comm	_R200_VTX_XY1,4,2               ## @R200_VTX_XY1
	.comm	_R200_VTX_Z1,4,2                ## @R200_VTX_Z1
	.comm	_R200_VTX_W1,4,2                ## @R200_VTX_W1
	.comm	_R200_VTX_N1,4,2                ## @R200_VTX_N1
	.no_dead_strip	_r200_get_vtx_size_0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r200_get_vtx_size_0
_r200_get_vtx_size_0:                   ; @r200_get_vtx_size_0
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _R200_VTX_Z0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R200_VTX_Z0@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	mov	w8, #2
	cinc	w8, w8, ne
Lloh3:
	adrp	x9, _R200_VTX_W0@GOTPAGE
Lloh4:
	ldr	x9, [x9, _R200_VTX_W0@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w0
	cinc	w8, w8, ne
Lloh6:
	adrp	x9, _R200_VTX_WEIGHT_COUNT_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _R200_VTX_WEIGHT_COUNT_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	asr	w10, w0, w9
	and	w10, w10, #0x7
	lsr	w9, w0, w9
	tst	w9, #0x7
	csel	w9, wzr, w10, eq
Lloh9:
	adrp	x10, _R200_VTX_PV_MATRIX_SEL@GOTPAGE
Lloh10:
	ldr	x10, [x10, _R200_VTX_PV_MATRIX_SEL@GOTPAGEOFF]
	add	w8, w8, w9
Lloh11:
	ldr	w9, [x10]
	tst	w9, w0
	cinc	w8, w8, ne
Lloh12:
	adrp	x9, _R200_VTX_N0@GOTPAGE
Lloh13:
	ldr	x9, [x9, _R200_VTX_N0@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	add	w10, w8, #3
	tst	w9, w0
	csel	w8, w8, w10, eq
Lloh15:
	adrp	x9, _R200_VTX_POINT_SIZE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _R200_VTX_POINT_SIZE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w0
	cset	w9, ne
Lloh18:
	adrp	x10, _R200_VTX_DISCRETE_FOG@GOTPAGE
Lloh19:
	ldr	x10, [x10, _R200_VTX_DISCRETE_FOG@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	tst	w10, w0
Lloh21:
	adrp	x10, _R200_VTX_SHININESS_0@GOTPAGE
Lloh22:
	ldr	x10, [x10, _R200_VTX_SHININESS_0@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	cinc	w9, w9, ne
	tst	w10, w0
Lloh24:
	adrp	x10, _R200_VTX_SHININESS_1@GOTPAGE
Lloh25:
	ldr	x10, [x10, _R200_VTX_SHININESS_1@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	add	w8, w9, w8
	cinc	w8, w8, ne
	tst	w10, w0
	cinc	w8, w8, ne
	ubfx	w9, w0, #11, #2
	add	w10, w8, #4
	add	w11, w8, #3
	cmp	w9, #1
	cinc	w8, w8, eq
	cmp	w9, #2
	csel	w8, w11, w8, eq
	cmp	w9, #3
	csel	w8, w10, w8, eq
	ubfx	w9, w0, #13, #2
	add	w10, w8, #4
	add	w11, w8, #3
	cmp	w9, #2
	csel	w11, w8, w11, ne
	cmp	w9, #3
	csel	w10, w10, w11, eq
	cmp	w9, #1
	csinc	w8, w10, w8, ne
	ubfx	w9, w0, #15, #2
	add	w10, w8, #4
	add	w11, w8, #3
	cmp	w9, #2
	csel	w11, w8, w11, ne
	cmp	w9, #3
	csel	w10, w10, w11, eq
	cmp	w9, #1
	csinc	w8, w10, w8, ne
	ubfx	w9, w0, #17, #2
	add	w10, w8, #4
	add	w11, w8, #3
	cmp	w9, #2
	csel	w11, w8, w11, ne
	cmp	w9, #3
	csel	w10, w10, w11, eq
	cmp	w9, #1
	csinc	w8, w10, w8, ne
	ubfx	w9, w0, #19, #2
	add	w10, w8, #4
	add	w11, w8, #3
	cmp	w9, #2
	csel	w11, w8, w11, ne
	cmp	w9, #3
	csel	w10, w10, w11, eq
	cmp	w9, #1
	csinc	w8, w10, w8, ne
	ubfx	w9, w0, #21, #2
	add	w10, w8, #4
	add	w11, w8, #3
	cmp	w9, #2
	csel	w11, w8, w11, ne
	cmp	w9, #3
	csel	w10, w10, w11, eq
	cmp	w9, #1
	csinc	w8, w10, w8, ne
	ubfx	w9, w0, #23, #2
	add	w10, w8, #4
	add	w11, w8, #3
	cmp	w9, #2
	csel	w11, w8, w11, ne
	cmp	w9, #3
	csel	w10, w10, w11, eq
	cmp	w9, #1
	csinc	w8, w10, w8, ne
	ubfx	w9, w0, #25, #2
	add	w10, w8, #4
	add	w11, w8, #3
	cmp	w9, #2
	csel	w11, w8, w11, ne
	cmp	w9, #3
	csel	w10, w10, w11, eq
	cmp	w9, #1
	csinc	w8, w10, w8, ne
Lloh27:
	adrp	x9, _R200_VTX_XY1@GOTPAGE
Lloh28:
	ldr	x9, [x9, _R200_VTX_XY1@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	add	w10, w8, #2
	tst	w9, w0
	csel	w8, w8, w10, eq
Lloh30:
	adrp	x9, _R200_VTX_Z1@GOTPAGE
Lloh31:
	ldr	x9, [x9, _R200_VTX_Z1@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w0
	cinc	w8, w8, ne
Lloh33:
	adrp	x9, _R200_VTX_W1@GOTPAGE
Lloh34:
	ldr	x9, [x9, _R200_VTX_W1@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w0
Lloh36:
	adrp	x9, _R200_VTX_N1@GOTPAGE
Lloh37:
	ldr	x9, [x9, _R200_VTX_N1@GOTPAGEOFF]
	cinc	w8, w8, ne
Lloh38:
	ldr	w9, [x9]
	add	w10, w8, #3
	tst	w9, w0
	csel	w0, w8, w10, eq
	ret
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.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 AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_R200_VTX_Z0,4,2                ; @R200_VTX_Z0
	.comm	_R200_VTX_W0,4,2                ; @R200_VTX_W0
	.comm	_R200_VTX_WEIGHT_COUNT_SHIFT,4,2 ; @R200_VTX_WEIGHT_COUNT_SHIFT
	.comm	_R200_VTX_PV_MATRIX_SEL,4,2     ; @R200_VTX_PV_MATRIX_SEL
	.comm	_R200_VTX_N0,4,2                ; @R200_VTX_N0
	.comm	_R200_VTX_POINT_SIZE,4,2        ; @R200_VTX_POINT_SIZE
	.comm	_R200_VTX_DISCRETE_FOG,4,2      ; @R200_VTX_DISCRETE_FOG
	.comm	_R200_VTX_SHININESS_0,4,2       ; @R200_VTX_SHININESS_0
	.comm	_R200_VTX_SHININESS_1,4,2       ; @R200_VTX_SHININESS_1
	.comm	_R200_VTX_XY1,4,2               ; @R200_VTX_XY1
	.comm	_R200_VTX_Z1,4,2                ; @R200_VTX_Z1
	.comm	_R200_VTX_W1,4,2                ; @R200_VTX_W1
	.comm	_R200_VTX_N1,4,2                ; @R200_VTX_N1
	.no_dead_strip	_r200_get_vtx_size_0
.subsections_via_symbols
