	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function use_indexed_vertex_blending
_use_indexed_vertex_blending:           ## @use_indexed_vertex_blending
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	_WINED3D_RS_INDEXEDVERTEXBLENDENABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_FALSE@GOTPCREL(%rip), %rax
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_6
## %bb.1:
	movq	_WINED3D_RS_VERTEXBLEND@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	_WINED3D_VBF_DISABLE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_6
## %bb.2:
	movl	(%rsi), %ecx
	movq	_WINED3D_FFP_BLENDINDICES@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	btl	%edx, %ecx
	jae	LBB0_6
## %bb.3:
	movq	_WINED3D_FFP_BLENDWEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	btl	%eax, %ecx
	jb	LBB0_4
## %bb.5:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3D_RS_INDEXEDVERTEXBLENDENABLE,8,3 ## @WINED3D_RS_INDEXEDVERTEXBLENDENABLE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_WINED3D_RS_VERTEXBLEND,8,3     ## @WINED3D_RS_VERTEXBLEND
	.comm	_WINED3D_VBF_DISABLE,8,3        ## @WINED3D_VBF_DISABLE
	.comm	_WINED3D_FFP_BLENDINDICES,4,2   ## @WINED3D_FFP_BLENDINDICES
	.comm	_WINED3D_FFP_BLENDWEIGHT,4,2    ## @WINED3D_FFP_BLENDWEIGHT
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_use_indexed_vertex_blending
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function use_indexed_vertex_blending
_use_indexed_vertex_blending:           ; @use_indexed_vertex_blending
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _WINED3D_RS_INDEXEDVERTEXBLENDENABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WINED3D_RS_INDEXEDVERTEXBLENDENABLE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _WINED3D_RS_VERTEXBLEND@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WINED3D_RS_VERTEXBLEND@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
Lloh6:
	adrp	x9, _WINED3D_VBF_DISABLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WINED3D_VBF_DISABLE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _FALSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
LBB0_3:
	ldr	w9, [x1]
Lloh12:
	adrp	x8, _WINED3D_FFP_BLENDINDICES@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WINED3D_FFP_BLENDINDICES@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x8]
Lloh15:
	adrp	x8, _FALSE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	lsr	w10, w9, w10
	tbz	w10, #0, LBB0_5
; %bb.4:
Lloh17:
	adrp	x10, _WINED3D_FFP_BLENDWEIGHT@GOTPAGE
Lloh18:
	ldr	x10, [x10, _WINED3D_FFP_BLENDWEIGHT@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	lsr	w9, w9, w10
Lloh20:
	adrp	x10, _TRUE@GOTPAGE
Lloh21:
	ldr	x10, [x10, _TRUE@GOTPAGEOFF]
	tst	w9, #0x1
	csel	x8, x8, x10, eq
LBB0_5:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3D_RS_INDEXEDVERTEXBLENDENABLE,8,3 ; @WINED3D_RS_INDEXEDVERTEXBLENDENABLE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_WINED3D_RS_VERTEXBLEND,8,3     ; @WINED3D_RS_VERTEXBLEND
	.comm	_WINED3D_VBF_DISABLE,8,3        ; @WINED3D_VBF_DISABLE
	.comm	_WINED3D_FFP_BLENDINDICES,4,2   ; @WINED3D_FFP_BLENDINDICES
	.comm	_WINED3D_FFP_BLENDWEIGHT,4,2    ; @WINED3D_FFP_BLENDWEIGHT
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_use_indexed_vertex_blending
.subsections_via_symbols
