	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_src_and_opr_nvrc
_get_src_and_opr_nvrc:                  ## @get_src_and_opr_nvrc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %r14
	movl	%esi, %eax
	movl	%edi, %esi
	movq	_WINED3DTA_COMPLEMENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	jne	LBB0_1
## %bb.2:
	movq	_GL_UNSIGNED_IDENTITY_NV@GOTPCREL(%rip), %rdi
	jmp	LBB0_3
LBB0_1:
	movq	_GL_UNSIGNED_INVERT_NV@GOTPCREL(%rip), %rdi
LBB0_3:
	movl	16(%rbp), %r10d
	movl	(%rdi), %ecx
	movl	%ecx, (%r8)
	movq	_WINED3DTA_ALPHAREPLICATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_GL_ALPHA@GOTPCREL(%rip), %rdi
	movq	%rdi, %rcx
	andl	%eax, %ebx
	jne	LBB0_5
## %bb.4:
	movq	_GL_RGB@GOTPCREL(%rip), %rcx
LBB0_5:
	testq	%rdx, %rdx
	cmoveq	%rcx, %rdi
	movl	(%rdi), %ecx
	movl	%ecx, (%r9)
	movq	_WINED3DTA_SELECTMASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, %edi
	movl	%r10d, %edx
	callq	_d3dta_to_combiner_input
	movl	%eax, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3DTA_COMPLEMENT,4,2       ## @WINED3DTA_COMPLEMENT
	.comm	_GL_UNSIGNED_INVERT_NV,4,2      ## @GL_UNSIGNED_INVERT_NV
	.comm	_GL_UNSIGNED_IDENTITY_NV,4,2    ## @GL_UNSIGNED_IDENTITY_NV
	.comm	_WINED3DTA_ALPHAREPLICATE,4,2   ## @WINED3DTA_ALPHAREPLICATE
	.comm	_GL_ALPHA,4,2                   ## @GL_ALPHA
	.comm	_GL_RGB,4,2                     ## @GL_RGB
	.comm	_WINED3DTA_SELECTMASK,4,2       ## @WINED3DTA_SELECTMASK
	.no_dead_strip	_get_src_and_opr_nvrc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_src_and_opr_nvrc
_get_src_and_opr_nvrc:                  ; @get_src_and_opr_nvrc
	.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	x19, x3
	mov	x8, x0
Lloh0:
	adrp	x9, _WINED3DTA_COMPLEMENT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WINED3DTA_COMPLEMENT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _GL_UNSIGNED_IDENTITY_NV@GOTPAGE
Lloh4:
	ldr	x10, [x10, _GL_UNSIGNED_IDENTITY_NV@GOTPAGEOFF]
Lloh5:
	adrp	x11, _GL_UNSIGNED_INVERT_NV@GOTPAGE
Lloh6:
	ldr	x11, [x11, _GL_UNSIGNED_INVERT_NV@GOTPAGEOFF]
	tst	w9, w1
	csel	x9, x10, x11, eq
	ldr	w9, [x9]
	str	w9, [x4]
Lloh7:
	adrp	x9, _WINED3DTA_ALPHAREPLICATE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _WINED3DTA_ALPHAREPLICATE@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w1
	ccmp	x2, #0, #0, eq
Lloh10:
	adrp	x9, _GL_RGB@GOTPAGE
Lloh11:
	ldr	x9, [x9, _GL_RGB@GOTPAGEOFF]
Lloh12:
	adrp	x10, _GL_ALPHA@GOTPAGE
Lloh13:
	ldr	x10, [x10, _GL_ALPHA@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	str	w9, [x5]
Lloh14:
	adrp	x9, _WINED3DTA_SELECTMASK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _WINED3DTA_SELECTMASK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w0, w9, w1
	mov	x1, x8
	mov	x2, x6
	bl	_d3dta_to_combiner_input
	str	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3DTA_COMPLEMENT,4,2       ; @WINED3DTA_COMPLEMENT
	.comm	_GL_UNSIGNED_INVERT_NV,4,2      ; @GL_UNSIGNED_INVERT_NV
	.comm	_GL_UNSIGNED_IDENTITY_NV,4,2    ; @GL_UNSIGNED_IDENTITY_NV
	.comm	_WINED3DTA_ALPHAREPLICATE,4,2   ; @WINED3DTA_ALPHAREPLICATE
	.comm	_GL_ALPHA,4,2                   ; @GL_ALPHA
	.comm	_GL_RGB,4,2                     ; @GL_RGB
	.comm	_WINED3DTA_SELECTMASK,4,2       ; @WINED3DTA_SELECTMASK
	.no_dead_strip	_get_src_and_opr_nvrc
.subsections_via_symbols
