	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wined3d_cs_exec_set_sampler
_wined3d_cs_exec_set_sampler:           ## @wined3d_cs_exec_set_sampler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	16(%rsi), %eax
	movq	8(%rdi), %rcx
	movq	(%rsi), %rdx
	movq	8(%rsi), %rsi
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx,%rsi,4)
	movq	_WINED3D_SHADER_TYPE_COMPUTE@GOTPCREL(%rip), %rax
	movl	(%rdi), %edi
	cmpq	(%rax), %rdx
	jne	LBB0_1
## %bb.2:
	movq	_STATE_COMPUTE_SHADER_RESOURCE_BINDING@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_STATE_GRAPHICS_SHADER_RESOURCE_BINDING@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	popq	%rbp
	jmp	_device_invalidate_state        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3D_SHADER_TYPE_COMPUTE,8,3 ## @WINED3D_SHADER_TYPE_COMPUTE
	.comm	_STATE_GRAPHICS_SHADER_RESOURCE_BINDING,4,2 ## @STATE_GRAPHICS_SHADER_RESOURCE_BINDING
	.comm	_STATE_COMPUTE_SHADER_RESOURCE_BINDING,4,2 ## @STATE_COMPUTE_SHADER_RESOURCE_BINDING
	.no_dead_strip	_wined3d_cs_exec_set_sampler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wined3d_cs_exec_set_sampler
_wined3d_cs_exec_set_sampler:           ; @wined3d_cs_exec_set_sampler
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1, #16]
	ldr	x9, [x0, #8]
	ldp	x10, x11, [x1]
	ldr	x9, [x9, x10, lsl #3]
	str	w8, [x9, x11, lsl #2]
Lloh0:
	adrp	x8, _WINED3D_SHADER_TYPE_COMPUTE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WINED3D_SHADER_TYPE_COMPUTE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _STATE_COMPUTE_SHADER_RESOURCE_BINDING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _STATE_COMPUTE_SHADER_RESOURCE_BINDING@GOTPAGEOFF]
Lloh5:
	adrp	x11, _STATE_GRAPHICS_SHADER_RESOURCE_BINDING@GOTPAGE
Lloh6:
	ldr	x11, [x11, _STATE_GRAPHICS_SHADER_RESOURCE_BINDING@GOTPAGEOFF]
	ldr	w0, [x0]
	cmp	x10, x8
	csel	x8, x9, x11, eq
	ldr	w1, [x8]
	b	_device_invalidate_state
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3D_SHADER_TYPE_COMPUTE,8,3 ; @WINED3D_SHADER_TYPE_COMPUTE
	.comm	_STATE_GRAPHICS_SHADER_RESOURCE_BINDING,4,2 ; @STATE_GRAPHICS_SHADER_RESOURCE_BINDING
	.comm	_STATE_COMPUTE_SHADER_RESOURCE_BINDING,4,2 ; @STATE_COMPUTE_SHADER_RESOURCE_BINDING
	.no_dead_strip	_wined3d_cs_exec_set_sampler
.subsections_via_symbols
