	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function glsl_vertex_pipe_projection
_glsl_vertex_pipe_projection:           ## @glsl_vertex_pipe_projection
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rax
	movq	_WINED3D_RS_FOGENABLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_3
## %bb.1:
	movq	_WINED3D_RS_FOGTABLEMODE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	_WINED3D_FOG_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_WINED3D_SHADER_TYPE_VERTEX@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	orl	%eax, (%rdi)
LBB0_3:
	movq	_WINED3D_SHADER_CONST_FFP_PROJ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3D_RS_FOGENABLE,8,3       ## @WINED3D_RS_FOGENABLE
	.comm	_WINED3D_RS_FOGTABLEMODE,8,3    ## @WINED3D_RS_FOGTABLEMODE
	.comm	_WINED3D_FOG_NONE,8,3           ## @WINED3D_FOG_NONE
	.comm	_WINED3D_SHADER_TYPE_VERTEX,4,2 ## @WINED3D_SHADER_TYPE_VERTEX
	.comm	_WINED3D_SHADER_CONST_FFP_PROJ,4,2 ## @WINED3D_SHADER_CONST_FFP_PROJ
	.no_dead_strip	_glsl_vertex_pipe_projection
.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_projection
_glsl_vertex_pipe_projection:           ; @glsl_vertex_pipe_projection
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _WINED3D_RS_FOGENABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WINED3D_RS_FOGENABLE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _WINED3D_RS_FOGTABLEMODE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WINED3D_RS_FOGTABLEMODE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
Lloh6:
	adrp	x9, _WINED3D_FOG_NONE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WINED3D_FOG_NONE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _WINED3D_SHADER_TYPE_VERTEX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WINED3D_SHADER_TYPE_VERTEX@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
LBB0_3:
Lloh12:
	adrp	x8, _WINED3D_SHADER_CONST_FFP_PROJ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WINED3D_SHADER_CONST_FFP_PROJ@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x0, #4]
	orr	w8, w9, w8
	str	w8, [x0, #4]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3D_RS_FOGENABLE,8,3       ; @WINED3D_RS_FOGENABLE
	.comm	_WINED3D_RS_FOGTABLEMODE,8,3    ; @WINED3D_RS_FOGTABLEMODE
	.comm	_WINED3D_FOG_NONE,8,3           ; @WINED3D_FOG_NONE
	.comm	_WINED3D_SHADER_TYPE_VERTEX,4,2 ; @WINED3D_SHADER_TYPE_VERTEX
	.comm	_WINED3D_SHADER_CONST_FFP_PROJ,4,2 ; @WINED3D_SHADER_CONST_FFP_PROJ
	.no_dead_strip	_glsl_vertex_pipe_projection
.subsections_via_symbols
