	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_invalid_op                  ## -- Begin function is_invalid_op
	.p2align	4, 0x90
_is_invalid_op:                         ## @is_invalid_op
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_WINED3D_TOP_DISABLE@GOTPCREL(%rip), %rax
	movq	_FALSE@GOTPCREL(%rip), %r11
	cmpl	%edx, (%rax)
	je	LBB0_9
## %bb.1:
	movq	(%rdi), %rax
	movslq	%esi, %rsi
	cmpq	$0, (%rax,%rsi,8)
	je	LBB0_2
LBB0_9:
	movq	%r11, %rsi
LBB0_10:
	movl	(%rsi), %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_WINED3DTA_SELECTMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%edi, %ecx
	movq	_WINED3DTA_TEXTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_TRUE@GOTPCREL(%rip), %rsi
	cmpl	%r10d, %ecx
	jne	LBB0_4
## %bb.3:
	movq	_WINED3D_TOP_SELECT_ARG2@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_10
LBB0_4:
	andl	%edi, %r8d
	cmpl	%r10d, %r8d
	jne	LBB0_6
## %bb.5:
	movq	_WINED3D_TOP_SELECT_ARG1@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_10
LBB0_6:
	andl	%r9d, %edi
	cmpl	%r10d, %edi
	jne	LBB0_9
## %bb.7:
	movq	_WINED3D_TOP_MULTIPLY_ADD@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	je	LBB0_10
## %bb.8:
	movq	_WINED3D_TOP_LERP@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3D_TOP_DISABLE,4,2        ## @WINED3D_TOP_DISABLE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_WINED3DTA_SELECTMASK,4,2       ## @WINED3DTA_SELECTMASK
	.comm	_WINED3DTA_TEXTURE,4,2          ## @WINED3DTA_TEXTURE
	.comm	_WINED3D_TOP_SELECT_ARG2,4,2    ## @WINED3D_TOP_SELECT_ARG2
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_WINED3D_TOP_SELECT_ARG1,4,2    ## @WINED3D_TOP_SELECT_ARG1
	.comm	_WINED3D_TOP_MULTIPLY_ADD,4,2   ## @WINED3D_TOP_MULTIPLY_ADD
	.comm	_WINED3D_TOP_LERP,4,2           ## @WINED3D_TOP_LERP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_invalid_op                  ; -- Begin function is_invalid_op
	.p2align	2
_is_invalid_op:                         ; @is_invalid_op
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _WINED3D_TOP_DISABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WINED3D_TOP_DISABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x0]
	ldr	x8, [x8, w1, sxtw #3]
	cbz	x8, LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh5:
	adrp	x8, _WINED3DTA_SELECTMASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WINED3DTA_SELECTMASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	and	w10, w8, w3
Lloh8:
	adrp	x9, _WINED3DTA_TEXTURE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _WINED3DTA_TEXTURE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x11, _WINED3D_TOP_SELECT_ARG2@GOTPAGE
Lloh12:
	ldr	x11, [x11, _WINED3D_TOP_SELECT_ARG2@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
	cmp	w10, w9
	ccmp	w11, w2, #4, eq
	b.ne	LBB0_9
; %bb.5:
	and	w10, w8, w4
Lloh14:
	adrp	x11, _WINED3D_TOP_SELECT_ARG1@GOTPAGE
Lloh15:
	ldr	x11, [x11, _WINED3D_TOP_SELECT_ARG1@GOTPAGEOFF]
Lloh16:
	ldr	w11, [x11]
	cmp	w10, w9
	ccmp	w11, w2, #4, eq
	b.ne	LBB0_9
; %bb.6:
	and	w8, w8, w5
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.7:
Lloh17:
	adrp	x8, _WINED3D_TOP_MULTIPLY_ADD@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WINED3D_TOP_MULTIPLY_ADD@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x8]
Lloh20:
	adrp	x8, _TRUE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	cmp	w9, w2
	b.eq	LBB0_3
; %bb.8:
Lloh22:
	adrp	x9, _WINED3D_TOP_LERP@GOTPAGE
Lloh23:
	ldr	x9, [x9, _WINED3D_TOP_LERP@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	cmp	w9, w2
	b.ne	LBB0_2
	b	LBB0_3
LBB0_9:
Lloh25:
	adrp	x8, _TRUE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3D_TOP_DISABLE,4,2        ; @WINED3D_TOP_DISABLE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_WINED3DTA_SELECTMASK,4,2       ; @WINED3DTA_SELECTMASK
	.comm	_WINED3DTA_TEXTURE,4,2          ; @WINED3DTA_TEXTURE
	.comm	_WINED3D_TOP_SELECT_ARG2,4,2    ; @WINED3D_TOP_SELECT_ARG2
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_WINED3D_TOP_SELECT_ARG1,4,2    ; @WINED3D_TOP_SELECT_ARG1
	.comm	_WINED3D_TOP_MULTIPLY_ADD,4,2   ; @WINED3D_TOP_MULTIPLY_ADD
	.comm	_WINED3D_TOP_LERP,4,2           ; @WINED3D_TOP_LERP
.subsections_via_symbols
