	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function context_preload_texture
_context_preload_texture:               ## @context_preload_texture
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	8(%rsi), %rdi
	movl	%edx, %ecx
	movq	(%rdi,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	(%rsi), %rdx
	movq	(%rdx,%rcx,8), %rcx
	movq	_WINED3D_SAMP_SRGB_TEXTURE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %edx
	movq	%rax, %rsi
	popq	%rbp
	jmp	_wined3d_texture_load           ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3D_SAMP_SRGB_TEXTURE,8,3  ## @WINED3D_SAMP_SRGB_TEXTURE
	.no_dead_strip	_context_preload_texture
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function context_preload_texture
_context_preload_texture:               ; @context_preload_texture
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	x9, [x1, #8]
	ldr	x0, [x9, w2, uxtw #3]
	cbz	x0, LBB0_2
; %bb.1:
	mov	w9, w2
	ldr	x10, [x1]
	ldr	x9, [x10, x9, lsl #3]
Lloh0:
	adrp	x10, _WINED3D_SAMP_SRGB_TEXTURE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _WINED3D_SAMP_SRGB_TEXTURE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	ldr	w2, [x9, x10, lsl #2]
	mov	x1, x8
	b	_wined3d_texture_load
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3D_SAMP_SRGB_TEXTURE,8,3  ; @WINED3D_SAMP_SRGB_TEXTURE
	.no_dead_strip	_context_preload_texture
.subsections_via_symbols
