	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vp_ffp_get_caps
_vp_ffp_get_caps:                       ## @vp_ffp_get_caps
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%rsi)
	movq	%rax, 32(%rsi)
	movl	16(%rdi), %eax
	movl	%eax, 28(%rsi)
	movl	12(%rdi), %eax
	movl	%eax, 24(%rsi)
	movq	$0, 16(%rsi)
	movq	_WINED3DVTXPCAPS_DIRECTIONALLIGHTS@GOTPCREL(%rip), %rax
	movq	_WINED3DVTXPCAPS_MATERIALSOURCE7@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_WINED3DVTXPCAPS_POSITIONALLIGHTS@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_WINED3DVTXPCAPS_LOCALVIEWER@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_WINED3DVTXPCAPS_VERTEXFOG@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_WINED3DVTXPCAPS_TEXGEN@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_WINED3DVTXPCAPS_TEXGEN_SPHEREMAP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rsi)
	movq	_WINED3DFVFCAPS_PSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	$8, %eax
	movl	%eax, 4(%rsi)
	movl	8(%rdi), %eax
	movl	%eax, 12(%rsi)
	movl	$0, 8(%rsi)
	movq	(%rdi), %rax
	movq	_NV_FOG_DISTANCE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_2
## %bb.1:
	movq	_WINED3DPRASTERCAPS_FOGRANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rsi)
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_WINED3DVTXPCAPS_DIRECTIONALLIGHTS,4,2 ## @WINED3DVTXPCAPS_DIRECTIONALLIGHTS
	.comm	_WINED3DVTXPCAPS_MATERIALSOURCE7,4,2 ## @WINED3DVTXPCAPS_MATERIALSOURCE7
	.comm	_WINED3DVTXPCAPS_POSITIONALLIGHTS,4,2 ## @WINED3DVTXPCAPS_POSITIONALLIGHTS
	.comm	_WINED3DVTXPCAPS_LOCALVIEWER,4,2 ## @WINED3DVTXPCAPS_LOCALVIEWER
	.comm	_WINED3DVTXPCAPS_VERTEXFOG,4,2  ## @WINED3DVTXPCAPS_VERTEXFOG
	.comm	_WINED3DVTXPCAPS_TEXGEN,4,2     ## @WINED3DVTXPCAPS_TEXGEN
	.comm	_WINED3DVTXPCAPS_TEXGEN_SPHEREMAP,4,2 ## @WINED3DVTXPCAPS_TEXGEN_SPHEREMAP
	.comm	_WINED3DFVFCAPS_PSIZE,4,2       ## @WINED3DFVFCAPS_PSIZE
	.comm	_NV_FOG_DISTANCE,8,3            ## @NV_FOG_DISTANCE
	.comm	_WINED3DPRASTERCAPS_FOGRANGE,4,2 ## @WINED3DPRASTERCAPS_FOGRANGE
	.no_dead_strip	_vp_ffp_get_caps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vp_ffp_get_caps
_vp_ffp_get_caps:                       ; @vp_ffp_get_caps
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stp	x8, x8, [x1, #32]
	ldur	d0, [x0, #12]
Lloh3:
	adrp	x8, _WINED3DVTXPCAPS_DIRECTIONALLIGHTS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WINED3DVTXPCAPS_DIRECTIONALLIGHTS@GOTPAGEOFF]
	str	d0, [x1, #24]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _WINED3DVTXPCAPS_MATERIALSOURCE7@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WINED3DVTXPCAPS_MATERIALSOURCE7@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _WINED3DVTXPCAPS_POSITIONALLIGHTS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _WINED3DVTXPCAPS_POSITIONALLIGHTS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _WINED3DVTXPCAPS_LOCALVIEWER@GOTPAGE
Lloh13:
	ldr	x9, [x9, _WINED3DVTXPCAPS_LOCALVIEWER@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _WINED3DVTXPCAPS_VERTEXFOG@GOTPAGE
Lloh16:
	ldr	x9, [x9, _WINED3DVTXPCAPS_VERTEXFOG@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _WINED3DVTXPCAPS_TEXGEN@GOTPAGE
Lloh19:
	ldr	x9, [x9, _WINED3DVTXPCAPS_TEXGEN@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _WINED3DVTXPCAPS_TEXGEN_SPHEREMAP@GOTPAGE
Lloh22:
	ldr	x9, [x9, _WINED3DVTXPCAPS_TEXGEN_SPHEREMAP@GOTPAGEOFF]
	str	xzr, [x1, #16]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x1]
Lloh24:
	adrp	x8, _WINED3DFVFCAPS_PSIZE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _WINED3DFVFCAPS_PSIZE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	orr	w8, w8, #0x8
	ldr	w9, [x0, #8]
	stp	wzr, w9, [x1, #8]
	str	w8, [x1, #4]
	ldr	x8, [x0]
Lloh27:
	adrp	x9, _NV_FOG_DISTANCE@GOTPAGE
Lloh28:
	ldr	x9, [x9, _NV_FOG_DISTANCE@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_2
; %bb.1:
Lloh30:
	adrp	x8, _WINED3DPRASTERCAPS_FOGRANGE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _WINED3DPRASTERCAPS_FOGRANGE@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	str	w8, [x1, #8]
LBB0_2:
	ret
	.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
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_WINED3DVTXPCAPS_DIRECTIONALLIGHTS,4,2 ; @WINED3DVTXPCAPS_DIRECTIONALLIGHTS
	.comm	_WINED3DVTXPCAPS_MATERIALSOURCE7,4,2 ; @WINED3DVTXPCAPS_MATERIALSOURCE7
	.comm	_WINED3DVTXPCAPS_POSITIONALLIGHTS,4,2 ; @WINED3DVTXPCAPS_POSITIONALLIGHTS
	.comm	_WINED3DVTXPCAPS_LOCALVIEWER,4,2 ; @WINED3DVTXPCAPS_LOCALVIEWER
	.comm	_WINED3DVTXPCAPS_VERTEXFOG,4,2  ; @WINED3DVTXPCAPS_VERTEXFOG
	.comm	_WINED3DVTXPCAPS_TEXGEN,4,2     ; @WINED3DVTXPCAPS_TEXGEN
	.comm	_WINED3DVTXPCAPS_TEXGEN_SPHEREMAP,4,2 ; @WINED3DVTXPCAPS_TEXGEN_SPHEREMAP
	.comm	_WINED3DFVFCAPS_PSIZE,4,2       ; @WINED3DFVFCAPS_PSIZE
	.comm	_NV_FOG_DISTANCE,8,3            ; @NV_FOG_DISTANCE
	.comm	_WINED3DPRASTERCAPS_FOGRANGE,4,2 ; @WINED3DPRASTERCAPS_FOGRANGE
	.no_dead_strip	_vp_ffp_get_caps
.subsections_via_symbols
