	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function need_helper_const
_need_helper_const:                     ## @need_helper_const
	.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	%rdx, %rbx
	movq	%rsi, %r14
	callq	_need_rel_addr_const
	movq	_TRUE@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	je	LBB0_1
LBB0_10:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	8(%rbx), %rax
	movq	_NV_VERTEX_PROGRAM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_10
## %bb.2:
	movl	(%rbx), %eax
	movq	_WINED3D_QUIRK_ARB_VS_OFFSET_LIMIT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_10
## %bb.3:
	movq	_WINED3D_QUIRK_SET_TEXCOORD_W@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_10
## %bb.4:
	movq	%rbx, %rdi
	callq	_use_nv_clip
	testl	%eax, %eax
	je	LBB0_10
## %bb.5:
	cmpq	$0, 16(%r14)
	jne	LBB0_10
## %bb.6:
	cmpq	$0, 8(%r14)
	jne	LBB0_10
## %bb.7:
	cmpq	$0, (%r14)
	jne	LBB0_8
## %bb.9:
	movq	_FALSE@GOTPCREL(%rip), %r15
	jmp	LBB0_10
LBB0_8:
	movq	_TRUE@GOTPCREL(%rip), %r15
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_NV_VERTEX_PROGRAM,8,3          ## @NV_VERTEX_PROGRAM
	.comm	_WINED3D_QUIRK_ARB_VS_OFFSET_LIMIT,4,2 ## @WINED3D_QUIRK_ARB_VS_OFFSET_LIMIT
	.comm	_WINED3D_QUIRK_SET_TEXCOORD_W,4,2 ## @WINED3D_QUIRK_SET_TEXCOORD_W
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_need_helper_const
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function need_helper_const
_need_helper_const:                     ; @need_helper_const
	.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	x20, x2
	mov	x19, x1
	bl	_need_rel_addr_const
	cbz	x0, LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x8, [x20, #8]
Lloh2:
	adrp	x9, _NV_VERTEX_PROGRAM@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NV_VERTEX_PROGRAM@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cbz	w8, LBB0_1
; %bb.4:
	ldr	w8, [x20]
Lloh5:
	adrp	x9, _WINED3D_QUIRK_ARB_VS_OFFSET_LIMIT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _WINED3D_QUIRK_ARB_VS_OFFSET_LIMIT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_1
; %bb.5:
Lloh8:
	adrp	x9, _WINED3D_QUIRK_SET_TEXCOORD_W@GOTPAGE
Lloh9:
	ldr	x9, [x9, _WINED3D_QUIRK_SET_TEXCOORD_W@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_1
; %bb.6:
	mov	x0, x20
	bl	_use_nv_clip
	cbz	w0, LBB0_1
; %bb.7:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_1
; %bb.8:
	ldr	x9, [x19, #8]
Lloh11:
	adrp	x8, _TRUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	cbnz	x9, LBB0_2
; %bb.9:
	ldr	x9, [x19]
Lloh13:
	adrp	x10, _FALSE@GOTPAGE
Lloh14:
	ldr	x10, [x10, _FALSE@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_NV_VERTEX_PROGRAM,8,3          ; @NV_VERTEX_PROGRAM
	.comm	_WINED3D_QUIRK_ARB_VS_OFFSET_LIMIT,4,2 ; @WINED3D_QUIRK_ARB_VS_OFFSET_LIMIT
	.comm	_WINED3D_QUIRK_SET_TEXCOORD_W,4,2 ; @WINED3D_QUIRK_SET_TEXCOORD_W
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_need_helper_const
.subsections_via_symbols
