	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fixed_get_input
_fixed_get_input:                       ## @fixed_get_input
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	_WINED3D_DECL_USAGE_POSITION@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_6
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.2:
	movq	_WINED3D_DECL_USAGE_COLOR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_3:
	cmpq	$1, %rbx
	jne	LBB0_12
## %bb.4:
	cmpq	%rdi, %rax
	jne	LBB0_12
## %bb.5:
	movq	_WINED3D_FFP_SPECULAR@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_6:
	testq	%rbx, %rbx
	jne	LBB0_9
## %bb.7:
	movq	_WINED3D_DECL_USAGE_POSITIONT@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_9
LBB0_8:
	movq	_WINED3D_FFP_POSITION@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_9:
	testq	%rbx, %rbx
	jne	LBB0_15
## %bb.10:
	movq	_WINED3D_DECL_USAGE_BLEND_WEIGHT@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_15
## %bb.11:
	movq	_WINED3D_FFP_BLENDWEIGHT@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_12:
	movq	_WINED3D_DECL_USAGE_TEXCOORD@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_18
## %bb.13:
	movq	_WINED3DDP_MAXTEXCOORD@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jle	LBB0_18
## %bb.14:
	movq	_WINED3D_FFP_TEXCOORD0@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	jmp	LBB0_29
LBB0_15:
	testq	%rbx, %rbx
	jne	LBB0_19
## %bb.16:
	movq	_WINED3D_DECL_USAGE_BLEND_INDICES@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_19
## %bb.17:
	movq	_WINED3D_FFP_BLENDINDICES@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_18:
	callq	_debug_d3ddeclusage
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	callq	_WARN
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	$-1, %ebx
	jmp	LBB0_30
LBB0_19:
	testq	%rbx, %rbx
	jne	LBB0_22
## %bb.20:
	movq	_WINED3D_DECL_USAGE_NORMAL@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_22
## %bb.21:
	movq	_WINED3D_FFP_NORMAL@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_22:
	testq	%rbx, %rbx
	jne	LBB0_25
## %bb.23:
	movq	_WINED3D_DECL_USAGE_PSIZE@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_25
## %bb.24:
	movq	_WINED3D_FFP_PSIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_25:
	movq	_WINED3D_DECL_USAGE_COLOR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rbx, %rbx
	jne	LBB0_3
## %bb.26:
	cmpq	%rdi, %rax
	jne	LBB0_3
## %bb.27:
	movq	_WINED3D_FFP_DIFFUSE@GOTPCREL(%rip), %rax
LBB0_28:
	movl	(%rax), %ebx
LBB0_29:
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_30:
	movl	%ebx, (%r14)
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3D_DECL_USAGE_POSITION,8,3 ## @WINED3D_DECL_USAGE_POSITION
	.comm	_WINED3D_DECL_USAGE_POSITIONT,8,3 ## @WINED3D_DECL_USAGE_POSITIONT
	.comm	_WINED3D_FFP_POSITION,4,2       ## @WINED3D_FFP_POSITION
	.comm	_WINED3D_DECL_USAGE_BLEND_WEIGHT,8,3 ## @WINED3D_DECL_USAGE_BLEND_WEIGHT
	.comm	_WINED3D_FFP_BLENDWEIGHT,4,2    ## @WINED3D_FFP_BLENDWEIGHT
	.comm	_WINED3D_DECL_USAGE_BLEND_INDICES,8,3 ## @WINED3D_DECL_USAGE_BLEND_INDICES
	.comm	_WINED3D_FFP_BLENDINDICES,4,2   ## @WINED3D_FFP_BLENDINDICES
	.comm	_WINED3D_DECL_USAGE_NORMAL,8,3  ## @WINED3D_DECL_USAGE_NORMAL
	.comm	_WINED3D_FFP_NORMAL,4,2         ## @WINED3D_FFP_NORMAL
	.comm	_WINED3D_DECL_USAGE_PSIZE,8,3   ## @WINED3D_DECL_USAGE_PSIZE
	.comm	_WINED3D_FFP_PSIZE,4,2          ## @WINED3D_FFP_PSIZE
	.comm	_WINED3D_DECL_USAGE_COLOR,8,3   ## @WINED3D_DECL_USAGE_COLOR
	.comm	_WINED3D_FFP_DIFFUSE,4,2        ## @WINED3D_FFP_DIFFUSE
	.comm	_WINED3D_FFP_SPECULAR,4,2       ## @WINED3D_FFP_SPECULAR
	.comm	_WINED3D_DECL_USAGE_TEXCOORD,8,3 ## @WINED3D_DECL_USAGE_TEXCOORD
	.comm	_WINED3DDP_MAXTEXCOORD,8,3      ## @WINED3DDP_MAXTEXCOORD
	.comm	_WINED3D_FFP_TEXCOORD0,8,3      ## @WINED3D_FFP_TEXCOORD0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported input stream [usage=%s, usage_idx=%u].\n"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_fixed_get_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fixed_get_input
_fixed_get_input:                       ; @fixed_get_input
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _WINED3D_DECL_USAGE_POSITION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WINED3D_DECL_USAGE_POSITION@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_6
; %bb.1:
	cbz	x20, LBB0_8
; %bb.2:
Lloh3:
	adrp	x8, _WINED3D_DECL_USAGE_COLOR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WINED3D_DECL_USAGE_COLOR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
LBB0_3:
	cmp	x20, #1
	b.ne	LBB0_12
; %bb.4:
	cmp	x8, x0
	b.ne	LBB0_12
; %bb.5:
Lloh6:
	adrp	x8, _WINED3D_FFP_SPECULAR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WINED3D_FFP_SPECULAR@GOTPAGEOFF]
	b	LBB0_27
LBB0_6:
	cbnz	x20, LBB0_9
; %bb.7:
Lloh8:
	adrp	x8, _WINED3D_DECL_USAGE_POSITIONT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WINED3D_DECL_USAGE_POSITIONT@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_9
LBB0_8:
Lloh11:
	adrp	x8, _WINED3D_FFP_POSITION@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WINED3D_FFP_POSITION@GOTPAGEOFF]
	b	LBB0_27
LBB0_9:
	cbnz	x20, LBB0_14
; %bb.10:
Lloh13:
	adrp	x8, _WINED3D_DECL_USAGE_BLEND_WEIGHT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _WINED3D_DECL_USAGE_BLEND_WEIGHT@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_14
; %bb.11:
Lloh16:
	adrp	x8, _WINED3D_FFP_BLENDWEIGHT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _WINED3D_FFP_BLENDWEIGHT@GOTPAGEOFF]
	b	LBB0_27
LBB0_12:
Lloh18:
	adrp	x8, _WINED3D_DECL_USAGE_TEXCOORD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _WINED3D_DECL_USAGE_TEXCOORD@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
Lloh21:
	adrp	x9, _WINED3DDP_MAXTEXCOORD@GOTPAGE
Lloh22:
	ldr	x9, [x9, _WINED3DDP_MAXTEXCOORD@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, x0
	ccmp	x9, x20, #4, eq
	b.gt	LBB0_17
; %bb.13:
	bl	_debug_d3ddeclusage
	mov	x1, x0
Lloh24:
	adrp	x0, l_.str@PAGE
Lloh25:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_WARN
Lloh26:
	adrp	x9, _FALSE@GOTPAGE
Lloh27:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
	mov	w8, #-1
	b	LBB0_29
LBB0_14:
	cbnz	x20, LBB0_18
; %bb.15:
Lloh28:
	adrp	x8, _WINED3D_DECL_USAGE_BLEND_INDICES@GOTPAGE
Lloh29:
	ldr	x8, [x8, _WINED3D_DECL_USAGE_BLEND_INDICES@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_18
; %bb.16:
Lloh31:
	adrp	x8, _WINED3D_FFP_BLENDINDICES@GOTPAGE
Lloh32:
	ldr	x8, [x8, _WINED3D_FFP_BLENDINDICES@GOTPAGEOFF]
	b	LBB0_27
LBB0_17:
Lloh33:
	adrp	x8, _WINED3D_FFP_TEXCOORD0@GOTPAGE
Lloh34:
	ldr	x8, [x8, _WINED3D_FFP_TEXCOORD0@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	add	w8, w8, w20
	b	LBB0_28
LBB0_18:
	cbnz	x20, LBB0_21
; %bb.19:
Lloh36:
	adrp	x8, _WINED3D_DECL_USAGE_NORMAL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _WINED3D_DECL_USAGE_NORMAL@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_21
; %bb.20:
Lloh39:
	adrp	x8, _WINED3D_FFP_NORMAL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _WINED3D_FFP_NORMAL@GOTPAGEOFF]
	b	LBB0_27
LBB0_21:
	cbnz	x20, LBB0_24
; %bb.22:
Lloh41:
	adrp	x8, _WINED3D_DECL_USAGE_PSIZE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _WINED3D_DECL_USAGE_PSIZE@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_24
; %bb.23:
Lloh44:
	adrp	x8, _WINED3D_FFP_PSIZE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _WINED3D_FFP_PSIZE@GOTPAGEOFF]
	b	LBB0_27
LBB0_24:
Lloh46:
	adrp	x8, _WINED3D_DECL_USAGE_COLOR@GOTPAGE
Lloh47:
	ldr	x8, [x8, _WINED3D_DECL_USAGE_COLOR@GOTPAGEOFF]
Lloh48:
	ldr	x8, [x8]
	cbnz	x20, LBB0_3
; %bb.25:
	cmp	x8, x0
	b.ne	LBB0_3
; %bb.26:
Lloh49:
	adrp	x8, _WINED3D_FFP_DIFFUSE@GOTPAGE
Lloh50:
	ldr	x8, [x8, _WINED3D_FFP_DIFFUSE@GOTPAGEOFF]
LBB0_27:
	ldr	w8, [x8]
LBB0_28:
Lloh51:
	adrp	x9, _TRUE@GOTPAGE
Lloh52:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
LBB0_29:
	str	w8, [x19]
	ldr	w0, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3D_DECL_USAGE_POSITION,8,3 ; @WINED3D_DECL_USAGE_POSITION
	.comm	_WINED3D_DECL_USAGE_POSITIONT,8,3 ; @WINED3D_DECL_USAGE_POSITIONT
	.comm	_WINED3D_FFP_POSITION,4,2       ; @WINED3D_FFP_POSITION
	.comm	_WINED3D_DECL_USAGE_BLEND_WEIGHT,8,3 ; @WINED3D_DECL_USAGE_BLEND_WEIGHT
	.comm	_WINED3D_FFP_BLENDWEIGHT,4,2    ; @WINED3D_FFP_BLENDWEIGHT
	.comm	_WINED3D_DECL_USAGE_BLEND_INDICES,8,3 ; @WINED3D_DECL_USAGE_BLEND_INDICES
	.comm	_WINED3D_FFP_BLENDINDICES,4,2   ; @WINED3D_FFP_BLENDINDICES
	.comm	_WINED3D_DECL_USAGE_NORMAL,8,3  ; @WINED3D_DECL_USAGE_NORMAL
	.comm	_WINED3D_FFP_NORMAL,4,2         ; @WINED3D_FFP_NORMAL
	.comm	_WINED3D_DECL_USAGE_PSIZE,8,3   ; @WINED3D_DECL_USAGE_PSIZE
	.comm	_WINED3D_FFP_PSIZE,4,2          ; @WINED3D_FFP_PSIZE
	.comm	_WINED3D_DECL_USAGE_COLOR,8,3   ; @WINED3D_DECL_USAGE_COLOR
	.comm	_WINED3D_FFP_DIFFUSE,4,2        ; @WINED3D_FFP_DIFFUSE
	.comm	_WINED3D_FFP_SPECULAR,4,2       ; @WINED3D_FFP_SPECULAR
	.comm	_WINED3D_DECL_USAGE_TEXCOORD,8,3 ; @WINED3D_DECL_USAGE_TEXCOORD
	.comm	_WINED3DDP_MAXTEXCOORD,8,3      ; @WINED3DDP_MAXTEXCOORD
	.comm	_WINED3D_FFP_TEXCOORD0,8,3      ; @WINED3D_FFP_TEXCOORD0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported input stream [usage=%s, usage_idx=%u].\n"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_fixed_get_input
.subsections_via_symbols
