	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvrc_texfactor
_nvrc_texfactor:                        ## @nvrc_texfactor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rsi), %rax
	movq	_WINED3D_RS_TEXTUREFACTOR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	leaq	-16(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_wined3d_color_from_d3dcolor
	movq	_GL_CONSTANT_COLOR0_NV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_glCombinerParameterfvNV
	movl	%eax, %edi
	callq	_GL_EXTCALL
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3D_RS_TEXTUREFACTOR,8,3   ## @WINED3D_RS_TEXTUREFACTOR
	.comm	_GL_CONSTANT_COLOR0_NV,4,2      ## @GL_CONSTANT_COLOR0_NV
	.no_dead_strip	_nvrc_texfactor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvrc_texfactor
_nvrc_texfactor:                        ; @nvrc_texfactor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _WINED3D_RS_TEXTUREFACTOR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WINED3D_RS_TEXTUREFACTOR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
	add	x0, sp, #8
	bl	_wined3d_color_from_d3dcolor
Lloh3:
	adrp	x8, _GL_CONSTANT_COLOR0_NV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GL_CONSTANT_COLOR0_NV@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_glCombinerParameterfvNV
	bl	_GL_EXTCALL
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3D_RS_TEXTUREFACTOR,8,3   ; @WINED3D_RS_TEXTUREFACTOR
	.comm	_GL_CONSTANT_COLOR0_NV,4,2      ; @GL_CONSTANT_COLOR0_NV
	.no_dead_strip	_nvrc_texfactor
.subsections_via_symbols
