	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function glsl_vertex_pipe_vp_get_caps
_glsl_vertex_pipe_vp_get_caps:          ## @glsl_vertex_pipe_vp_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
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_TRUE@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%rax, 48(%rsi)
	callq	_needs_legacy_glsl_syntax
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movl	%ecx, (%rbx)
	movq	(%r15), %rax
	movq	%rax, 40(%rbx)
	movq	_MAX_ACTIVE_LIGHTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_MAX_VERTEX_BLENDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_MAX_VERTEX_INDEX_BLENDS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	decq	%rax
	movq	%rax, 24(%rbx)
	movq	_WINED3DVTXPCAPS_TEXGEN@GOTPCREL(%rip), %rax
	movq	_WINED3DVTXPCAPS_MATERIALSOURCE7@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_WINED3DVTXPCAPS_VERTEXFOG@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_WINED3DVTXPCAPS_DIRECTIONALLIGHTS@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_WINED3DVTXPCAPS_POSITIONALLIGHTS@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_WINED3DVTXPCAPS_LOCALVIEWER@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_WINED3DVTXPCAPS_TEXGEN_SPHEREMAP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 4(%rbx)
	movq	_WINED3DFVFCAPS_PSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	$8, %eax
	movl	%eax, 8(%rbx)
	movl	(%r14), %eax
	movl	%eax, 16(%rbx)
	movq	_WINED3DPRASTERCAPS_FOGRANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_MAX_ACTIVE_LIGHTS,4,2          ## @MAX_ACTIVE_LIGHTS
	.comm	_MAX_VERTEX_BLENDS,4,2          ## @MAX_VERTEX_BLENDS
	.comm	_MAX_VERTEX_INDEX_BLENDS,8,3    ## @MAX_VERTEX_INDEX_BLENDS
	.comm	_WINED3DVTXPCAPS_TEXGEN,4,2     ## @WINED3DVTXPCAPS_TEXGEN
	.comm	_WINED3DVTXPCAPS_MATERIALSOURCE7,4,2 ## @WINED3DVTXPCAPS_MATERIALSOURCE7
	.comm	_WINED3DVTXPCAPS_VERTEXFOG,4,2  ## @WINED3DVTXPCAPS_VERTEXFOG
	.comm	_WINED3DVTXPCAPS_DIRECTIONALLIGHTS,4,2 ## @WINED3DVTXPCAPS_DIRECTIONALLIGHTS
	.comm	_WINED3DVTXPCAPS_POSITIONALLIGHTS,4,2 ## @WINED3DVTXPCAPS_POSITIONALLIGHTS
	.comm	_WINED3DVTXPCAPS_LOCALVIEWER,4,2 ## @WINED3DVTXPCAPS_LOCALVIEWER
	.comm	_WINED3DVTXPCAPS_TEXGEN_SPHEREMAP,4,2 ## @WINED3DVTXPCAPS_TEXGEN_SPHEREMAP
	.comm	_WINED3DFVFCAPS_PSIZE,4,2       ## @WINED3DFVFCAPS_PSIZE
	.comm	_WINED3DPRASTERCAPS_FOGRANGE,4,2 ## @WINED3DPRASTERCAPS_FOGRANGE
	.no_dead_strip	_glsl_vertex_pipe_vp_get_caps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function glsl_vertex_pipe_vp_get_caps
_glsl_vertex_pipe_vp_get_caps:          ; @glsl_vertex_pipe_vp_get_caps
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _TRUE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _TRUE@GOTPAGEOFF]
	ldr	x8, [x21]
	str	x8, [x1, #48]
	bl	_needs_legacy_glsl_syntax
	cmp	w0, #0
	cset	w8, eq
	str	w8, [x19]
	ldr	x8, [x21]
	str	x8, [x19, #40]
Lloh2:
	adrp	x8, _MAX_ACTIVE_LIGHTS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAX_ACTIVE_LIGHTS@GOTPAGEOFF]
Lloh4:
	adrp	x9, _MAX_VERTEX_BLENDS@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MAX_VERTEX_BLENDS@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #32]
Lloh8:
	adrp	x8, _MAX_VERTEX_INDEX_BLENDS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_VERTEX_INDEX_BLENDS@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	sub	x8, x8, #1
	str	x8, [x19, #24]
Lloh11:
	adrp	x8, _WINED3DVTXPCAPS_TEXGEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WINED3DVTXPCAPS_TEXGEN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _WINED3DVTXPCAPS_MATERIALSOURCE7@GOTPAGE
Lloh15:
	ldr	x9, [x9, _WINED3DVTXPCAPS_MATERIALSOURCE7@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh17:
	adrp	x9, _WINED3DVTXPCAPS_VERTEXFOG@GOTPAGE
Lloh18:
	ldr	x9, [x9, _WINED3DVTXPCAPS_VERTEXFOG@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh20:
	adrp	x9, _WINED3DVTXPCAPS_DIRECTIONALLIGHTS@GOTPAGE
Lloh21:
	ldr	x9, [x9, _WINED3DVTXPCAPS_DIRECTIONALLIGHTS@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh23:
	adrp	x9, _WINED3DVTXPCAPS_POSITIONALLIGHTS@GOTPAGE
Lloh24:
	ldr	x9, [x9, _WINED3DVTXPCAPS_POSITIONALLIGHTS@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh26:
	adrp	x9, _WINED3DVTXPCAPS_LOCALVIEWER@GOTPAGE
Lloh27:
	ldr	x9, [x9, _WINED3DVTXPCAPS_LOCALVIEWER@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh29:
	adrp	x9, _WINED3DVTXPCAPS_TEXGEN_SPHEREMAP@GOTPAGE
Lloh30:
	ldr	x9, [x9, _WINED3DVTXPCAPS_TEXGEN_SPHEREMAP@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh32:
	adrp	x9, _WINED3DFVFCAPS_PSIZE@GOTPAGE
Lloh33:
	ldr	x9, [x9, _WINED3DFVFCAPS_PSIZE@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w9, w9, #0x8
	stp	w8, w9, [x19, #4]
	ldr	w8, [x20]
Lloh35:
	adrp	x9, _WINED3DPRASTERCAPS_FOGRANGE@GOTPAGE
Lloh36:
	ldr	x9, [x9, _WINED3DPRASTERCAPS_FOGRANGE@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #12]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_MAX_ACTIVE_LIGHTS,4,2          ; @MAX_ACTIVE_LIGHTS
	.comm	_MAX_VERTEX_BLENDS,4,2          ; @MAX_VERTEX_BLENDS
	.comm	_MAX_VERTEX_INDEX_BLENDS,8,3    ; @MAX_VERTEX_INDEX_BLENDS
	.comm	_WINED3DVTXPCAPS_TEXGEN,4,2     ; @WINED3DVTXPCAPS_TEXGEN
	.comm	_WINED3DVTXPCAPS_MATERIALSOURCE7,4,2 ; @WINED3DVTXPCAPS_MATERIALSOURCE7
	.comm	_WINED3DVTXPCAPS_VERTEXFOG,4,2  ; @WINED3DVTXPCAPS_VERTEXFOG
	.comm	_WINED3DVTXPCAPS_DIRECTIONALLIGHTS,4,2 ; @WINED3DVTXPCAPS_DIRECTIONALLIGHTS
	.comm	_WINED3DVTXPCAPS_POSITIONALLIGHTS,4,2 ; @WINED3DVTXPCAPS_POSITIONALLIGHTS
	.comm	_WINED3DVTXPCAPS_LOCALVIEWER,4,2 ; @WINED3DVTXPCAPS_LOCALVIEWER
	.comm	_WINED3DVTXPCAPS_TEXGEN_SPHEREMAP,4,2 ; @WINED3DVTXPCAPS_TEXGEN_SPHEREMAP
	.comm	_WINED3DFVFCAPS_PSIZE,4,2       ; @WINED3DFVFCAPS_PSIZE
	.comm	_WINED3DPRASTERCAPS_FOGRANGE,4,2 ; @WINED3DPRASTERCAPS_FOGRANGE
	.no_dead_strip	_glsl_vertex_pipe_vp_get_caps
.subsections_via_symbols
