	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vec4_varyings
_vec4_varyings:                         ## @vec4_varyings
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	4(%rsi), %ecx
	leal	3(%rcx), %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$2, %eax
	cmpl	$3, %edi
	jg	LBB0_2
## %bb.1:
	movq	_WINED3D_QUIRK_GLSL_CLIP_VARYING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rsi), %ecx
	cmpl	$1, %ecx
	adcl	$-1, %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3D_QUIRK_GLSL_CLIP_VARYING,4,2 ## @WINED3D_QUIRK_GLSL_CLIP_VARYING
	.no_dead_strip	_vec4_varyings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vec4_varyings
_vec4_varyings:                         ; @vec4_varyings
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	w9, [x1, #4]
	add	w10, w9, #3
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w0, w9, #2
	cmp	w8, #3
	b.gt	LBB0_2
; %bb.1:
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _WINED3D_QUIRK_GLSL_CLIP_VARYING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WINED3D_QUIRK_GLSL_CLIP_VARYING@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	sub	w0, w0, w8
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3D_QUIRK_GLSL_CLIP_VARYING,4,2 ; @WINED3D_QUIRK_GLSL_CLIP_VARYING
	.no_dead_strip	_vec4_varyings
.subsections_via_symbols
