	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wined3d_texture_apply_sampler_desc ## -- Begin function wined3d_texture_apply_sampler_desc
	.p2align	4, 0x90
_wined3d_texture_apply_sampler_desc:    ## @wined3d_texture_apply_sampler_desc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rcx
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	8(%rdx), %r14
	movl	4(%rdi), %r13d
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	callq	_TRACE
	movq	_WINED3D_TEXTURE_IS_SRGB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_wined3d_texture_get_gl_texture
	movq	%rax, %r12
	movq	(%r15), %rbx
	cmpq	(%rax), %rbx
	je	LBB0_2
## %bb.1:
	movq	_GL_TEXTURE_WRAP_S@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rax
	movq	_WINED3D_TADDRESS_WRAP@GOTPCREL(%rip), %rcx
	movq	%rbx, %rdx
	subq	(%rcx), %rdx
	movq	(%rax,%rdx,8), %rdx
	movl	%r13d, %edi
	callq	*16(%r14)
	movq	%rbx, (%r12)
LBB0_2:
	movq	8(%r15), %rbx
	cmpq	8(%r12), %rbx
	je	LBB0_4
## %bb.3:
	movq	_GL_TEXTURE_WRAP_T@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rax
	movq	_WINED3D_TADDRESS_WRAP@GOTPCREL(%rip), %rcx
	movq	%rbx, %rdx
	subq	(%rcx), %rdx
	movq	(%rax,%rdx,8), %rdx
	movl	%r13d, %edi
	callq	*16(%r14)
	movq	%rbx, 8(%r12)
LBB0_4:
	movq	16(%r15), %rbx
	cmpq	16(%r12), %rbx
	je	LBB0_6
## %bb.5:
	movq	_GL_TEXTURE_WRAP_R@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rax
	movq	_WINED3D_TADDRESS_WRAP@GOTPCREL(%rip), %rcx
	movq	%rbx, %rdx
	subq	(%rcx), %rdx
	movq	(%rax,%rdx,8), %rdx
	movl	%r13d, %edi
	callq	*16(%r14)
	movq	%rbx, 16(%r12)
LBB0_6:
	movl	72(%r12), %edi
	movq	80(%r15), %rsi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_GL_TEXTURE_BORDER_COLOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	80(%r15), %rdx
	movl	%r13d, %edi
	callq	*24(%r14)
	movl	72(%r12), %edi
	movq	80(%r15), %rsi
	movl	$4, %edx
	callq	_memcpy
LBB0_8:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	%r13d, %r14d
	movq	24(%r15), %rbx
	cmpq	24(%r12), %rbx
	je	LBB0_10
## %bb.9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_GL_TEXTURE_MAG_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%rbx, %rdi
	callq	_wined3d_gl_mag_filter
	movl	%r14d, %edi
	movl	%r13d, %esi
	movq	%rax, %rdx
	callq	*-56(%rbp)                      ## 8-byte Folded Reload
	movq	%rbx, 24(%r12)
LBB0_10:
	movq	32(%r15), %rdi
	movq	40(%r15), %rsi
	cmpq	32(%r12), %rdi
	jne	LBB0_12
## %bb.11:
	cmpq	40(%r12), %rsi
	je	LBB0_13
LBB0_12:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %r13
	movq	_GL_TEXTURE_MIN_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_wined3d_gl_min_mip_filter
	movl	%r14d, %edi
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	*%r13
	movups	32(%r15), %xmm0
	movups	%xmm0, 32(%r12)
LBB0_13:
	movq	48(%r15), %r13
	cmpq	48(%r12), %r13
	je	LBB0_18
## %bb.14:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	32(%rbx), %rax
	movq	_ARB_TEXTURE_FILTER_ANISOTROPIC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_16
## %bb.15:
	movq	_GL_TEXTURE_MAX_ANISOTROPY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	movq	%r13, %rdx
	callq	*16(%rbx)
	jmp	LBB0_17
LBB0_16:
	leaq	L_.str.1(%rip), %rdi
	callq	_WARN
LBB0_17:
	movq	%r13, 48(%r12)
LBB0_18:
	movq	72(%r15), %rax
	testq	%rax, %rax
	sete	%cl
	cmpq	$0, 64(%r12)
	setne	%dl
	xorb	%cl, %dl
	jne	LBB0_25
## %bb.19:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movq	_WINED3D_SRGB_READ_WRITE_CONTROL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_25
## %bb.20:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	32(%rcx), %rcx
	movq	_EXT_TEXTURE_SRGB_DECODE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_25
## %bb.21:
	movq	_GL_TEXTURE_SRGB_DECODE_EXT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testq	%rax, %rax
	jne	LBB0_22
## %bb.23:
	movq	_GL_SKIP_DECODE_EXT@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_22:
	movq	_GL_DECODE_EXT@GOTPCREL(%rip), %rax
LBB0_24:
	movq	(%rax), %rdx
	movl	%r14d, %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	callq	*16(%rax)
	movq	72(%r15), %rax
	movq	%rax, 64(%r12)
LBB0_25:
	movq	64(%r15), %rax
	testq	%rax, %rax
	sete	%cl
	cmpq	$0, 56(%r12)
	setne	%dl
	xorb	%cl, %dl
	jne	LBB0_30
## %bb.26:
	movq	_GL_TEXTURE_COMPARE_MODE_ARB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testq	%rax, %rax
	jne	LBB0_27
## %bb.28:
	movq	_GL_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_27:
	movq	_GL_COMPARE_R_TO_TEXTURE_ARB@GOTPCREL(%rip), %rax
LBB0_29:
	movq	(%rax), %rdx
	movl	%r14d, %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	callq	*16(%rax)
	movq	64(%r15), %rax
	movq	%rax, 56(%r12)
LBB0_30:
	leaq	L_.str.2(%rip), %rdi
	callq	_checkGLcall
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	32(%rbx), %rax
	movq	_EXT_TEXTURE_LOD_BIAS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_31
## %bb.32:
	movq	_GL_TEXTURE_FILTER_CONTROL_EXT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GL_TEXTURE_LOD_BIAS_EXT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	56(%r15), %edx
	callq	*8(%rbx)
	leaq	L_.str.3(%rip), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_checkGLcall                    ## TAILCALL
LBB0_31:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"texture %p, sampler_desc %p, context %p.\n"

	.comm	_WINED3D_TEXTURE_IS_SRGB,4,2    ## @WINED3D_TEXTURE_IS_SRGB
	.comm	_GL_TEXTURE_WRAP_S,4,2          ## @GL_TEXTURE_WRAP_S
	.comm	_WINED3D_TADDRESS_WRAP,8,3      ## @WINED3D_TADDRESS_WRAP
	.comm	_GL_TEXTURE_WRAP_T,4,2          ## @GL_TEXTURE_WRAP_T
	.comm	_GL_TEXTURE_WRAP_R,4,2          ## @GL_TEXTURE_WRAP_R
	.comm	_GL_TEXTURE_BORDER_COLOR,4,2    ## @GL_TEXTURE_BORDER_COLOR
	.comm	_GL_TEXTURE_MAG_FILTER,4,2      ## @GL_TEXTURE_MAG_FILTER
	.comm	_GL_TEXTURE_MIN_FILTER,4,2      ## @GL_TEXTURE_MIN_FILTER
	.comm	_ARB_TEXTURE_FILTER_ANISOTROPIC,8,3 ## @ARB_TEXTURE_FILTER_ANISOTROPIC
	.comm	_GL_TEXTURE_MAX_ANISOTROPY,4,2  ## @GL_TEXTURE_MAX_ANISOTROPY
L_.str.1:                               ## @.str.1
	.asciz	"Anisotropic filtering not supported.\n"

	.comm	_WINED3D_SRGB_READ_WRITE_CONTROL,4,2 ## @WINED3D_SRGB_READ_WRITE_CONTROL
	.comm	_EXT_TEXTURE_SRGB_DECODE,8,3    ## @EXT_TEXTURE_SRGB_DECODE
	.comm	_GL_TEXTURE_SRGB_DECODE_EXT,4,2 ## @GL_TEXTURE_SRGB_DECODE_EXT
	.comm	_GL_DECODE_EXT,8,3              ## @GL_DECODE_EXT
	.comm	_GL_SKIP_DECODE_EXT,8,3         ## @GL_SKIP_DECODE_EXT
	.comm	_GL_TEXTURE_COMPARE_MODE_ARB,4,2 ## @GL_TEXTURE_COMPARE_MODE_ARB
	.comm	_GL_COMPARE_R_TO_TEXTURE_ARB,8,3 ## @GL_COMPARE_R_TO_TEXTURE_ARB
	.comm	_GL_NONE,8,3                    ## @GL_NONE
L_.str.2:                               ## @.str.2
	.asciz	"Texture parameter application"

	.comm	_EXT_TEXTURE_LOD_BIAS,8,3       ## @EXT_TEXTURE_LOD_BIAS
	.comm	_GL_TEXTURE_FILTER_CONTROL_EXT,4,2 ## @GL_TEXTURE_FILTER_CONTROL_EXT
	.comm	_GL_TEXTURE_LOD_BIAS_EXT,4,2    ## @GL_TEXTURE_LOD_BIAS_EXT
L_.str.3:                               ## @.str.3
	.asciz	"glTexEnvf(GL_TEXTURE_LOD_BIAS_EXT, ...)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wined3d_texture_apply_sampler_desc ; -- Begin function wined3d_texture_apply_sampler_desc
	.p2align	2
_wined3d_texture_apply_sampler_desc:    ; @wined3d_texture_apply_sampler_desc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x25, [x2, #8]
	ldr	w20, [x0, #4]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x19
	mov	x3, x22
	bl	_TRACE
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _WINED3D_TEXTURE_IS_SRGB@GOTPAGE
Lloh3:
	ldr	x9, [x9, _WINED3D_TEXTURE_IS_SRGB@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	and	w1, w9, w8
	mov	x0, x21
	bl	_wined3d_texture_get_gl_texture
	mov	x21, x0
	ldr	x24, [x19]
	ldr	x8, [x0]
Lloh5:
	adrp	x23, _WINED3D_TADDRESS_WRAP@GOTPAGE
Lloh6:
	ldr	x23, [x23, _WINED3D_TADDRESS_WRAP@GOTPAGEOFF]
	cmp	x24, x8
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x25, #16]
Lloh7:
	adrp	x9, _GL_TEXTURE_WRAP_S@GOTPAGE
Lloh8:
	ldr	x9, [x9, _GL_TEXTURE_WRAP_S@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x9]
	ldr	x9, [x25]
	ldr	x10, [x23]
	sub	x10, x24, x10
	ldr	x2, [x9, x10, lsl #3]
	mov	x0, x20
	blr	x8
	str	x24, [x21]
LBB0_2:
	ldr	x24, [x19, #8]
	ldr	x8, [x21, #8]
	cmp	x24, x8
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x25, #16]
Lloh10:
	adrp	x9, _GL_TEXTURE_WRAP_T@GOTPAGE
Lloh11:
	ldr	x9, [x9, _GL_TEXTURE_WRAP_T@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x9]
	ldr	x9, [x25]
	ldr	x10, [x23]
	sub	x10, x24, x10
	ldr	x2, [x9, x10, lsl #3]
	mov	x0, x20
	blr	x8
	str	x24, [x21, #8]
LBB0_4:
	ldr	x24, [x19, #16]
	ldr	x8, [x21, #16]
	cmp	x24, x8
	b.eq	LBB0_6
; %bb.5:
	ldr	x8, [x25, #16]
Lloh13:
	adrp	x9, _GL_TEXTURE_WRAP_R@GOTPAGE
Lloh14:
	ldr	x9, [x9, _GL_TEXTURE_WRAP_R@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x9]
	ldr	x9, [x25]
	ldr	x10, [x23]
	sub	x10, x24, x10
	ldr	x2, [x9, x10, lsl #3]
	mov	x0, x20
	blr	x8
	str	x24, [x21, #16]
LBB0_6:
	ldr	w0, [x21, #72]
	ldr	x1, [x19, #80]
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x8, [x25, #24]
Lloh16:
	adrp	x9, _GL_TEXTURE_BORDER_COLOR@GOTPAGE
Lloh17:
	ldr	x9, [x9, _GL_TEXTURE_BORDER_COLOR@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x9]
	ldr	x2, [x19, #80]
	mov	x0, x20
	blr	x8
	ldr	w0, [x21, #72]
	ldr	x1, [x19, #80]
	mov	w2, #4
	bl	_memcpy
LBB0_8:
	ldr	x23, [x19, #24]
	ldr	x8, [x21, #24]
	cmp	x23, x8
	b.eq	LBB0_10
; %bb.9:
	ldr	x26, [x25, #16]
Lloh19:
	adrp	x8, _GL_TEXTURE_MAG_FILTER@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GL_TEXTURE_MAG_FILTER@GOTPAGEOFF]
Lloh21:
	ldr	w24, [x8]
	mov	x0, x23
	bl	_wined3d_gl_mag_filter
	mov	x2, x0
	mov	x0, x20
	mov	x1, x24
	blr	x26
	str	x23, [x21, #24]
LBB0_10:
	ldr	x8, [x21, #32]
	ldp	x0, x1, [x19, #32]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.11:
	ldr	x8, [x21, #40]
	cmp	x1, x8
	b.eq	LBB0_13
LBB0_12:
	ldr	x24, [x25, #16]
Lloh22:
	adrp	x8, _GL_TEXTURE_MIN_FILTER@GOTPAGE
Lloh23:
	ldr	x8, [x8, _GL_TEXTURE_MIN_FILTER@GOTPAGEOFF]
Lloh24:
	ldr	w23, [x8]
	bl	_wined3d_gl_min_mip_filter
	mov	x2, x0
	mov	x0, x20
	mov	x1, x23
	blr	x24
	ldr	q0, [x19, #32]
	str	q0, [x21, #32]
LBB0_13:
	ldr	x23, [x19, #48]
	ldr	x8, [x21, #48]
	cmp	x23, x8
	b.eq	LBB0_18
; %bb.14:
	ldr	x8, [x25, #32]
Lloh25:
	adrp	x9, _ARB_TEXTURE_FILTER_ANISOTROPIC@GOTPAGE
Lloh26:
	ldr	x9, [x9, _ARB_TEXTURE_FILTER_ANISOTROPIC@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_16
; %bb.15:
	ldr	x8, [x25, #16]
Lloh28:
	adrp	x9, _GL_TEXTURE_MAX_ANISOTROPY@GOTPAGE
Lloh29:
	ldr	x9, [x9, _GL_TEXTURE_MAX_ANISOTROPY@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x9]
	mov	x0, x20
	mov	x2, x23
	blr	x8
	b	LBB0_17
LBB0_16:
Lloh31:
	adrp	x0, l_.str.1@PAGE
Lloh32:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_WARN
LBB0_17:
	str	x23, [x21, #48]
LBB0_18:
	ldr	x8, [x19, #72]
	cmp	x8, #0
	cset	w9, eq
	ldr	x10, [x21, #64]
	cmp	x10, #0
	cset	w10, ne
	eor	w9, w9, w10
	tbnz	w9, #0, LBB0_22
; %bb.19:
	ldr	x9, [x22]
	ldr	w9, [x9]
Lloh33:
	adrp	x10, _WINED3D_SRGB_READ_WRITE_CONTROL@GOTPAGE
Lloh34:
	ldr	x10, [x10, _WINED3D_SRGB_READ_WRITE_CONTROL@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_22
; %bb.20:
	ldr	x9, [x25, #32]
Lloh36:
	adrp	x10, _EXT_TEXTURE_SRGB_DECODE@GOTPAGE
Lloh37:
	ldr	x10, [x10, _EXT_TEXTURE_SRGB_DECODE@GOTPAGEOFF]
Lloh38:
	ldr	x10, [x10]
	ldr	x9, [x9, x10, lsl #3]
	cbz	x9, LBB0_22
; %bb.21:
	ldr	x9, [x25, #16]
Lloh39:
	adrp	x10, _GL_TEXTURE_SRGB_DECODE_EXT@GOTPAGE
Lloh40:
	ldr	x10, [x10, _GL_TEXTURE_SRGB_DECODE_EXT@GOTPAGEOFF]
Lloh41:
	adrp	x11, _GL_DECODE_EXT@GOTPAGE
Lloh42:
	ldr	x11, [x11, _GL_DECODE_EXT@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x10]
Lloh44:
	adrp	x10, _GL_SKIP_DECODE_EXT@GOTPAGE
Lloh45:
	ldr	x10, [x10, _GL_SKIP_DECODE_EXT@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x11, eq
	ldr	x2, [x8]
	mov	x0, x20
	blr	x9
	ldr	x8, [x19, #72]
	str	x8, [x21, #64]
LBB0_22:
	ldr	x8, [x19, #64]
	cmp	x8, #0
	cset	w9, eq
	ldr	x10, [x21, #56]
	cmp	x10, #0
	cset	w10, ne
	eor	w9, w9, w10
	tbnz	w9, #0, LBB0_24
; %bb.23:
	ldr	x9, [x25, #16]
Lloh46:
	adrp	x10, _GL_TEXTURE_COMPARE_MODE_ARB@GOTPAGE
Lloh47:
	ldr	x10, [x10, _GL_TEXTURE_COMPARE_MODE_ARB@GOTPAGEOFF]
Lloh48:
	adrp	x11, _GL_NONE@GOTPAGE
Lloh49:
	ldr	x11, [x11, _GL_NONE@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x10]
Lloh51:
	adrp	x10, _GL_COMPARE_R_TO_TEXTURE_ARB@GOTPAGE
Lloh52:
	ldr	x10, [x10, _GL_COMPARE_R_TO_TEXTURE_ARB@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x11, x10, eq
	ldr	x2, [x8]
	mov	x0, x20
	blr	x9
	ldr	x8, [x19, #64]
	str	x8, [x21, #56]
LBB0_24:
Lloh53:
	adrp	x0, l_.str.2@PAGE
Lloh54:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_checkGLcall
	ldr	x8, [x25, #32]
Lloh55:
	adrp	x9, _EXT_TEXTURE_LOD_BIAS@GOTPAGE
Lloh56:
	ldr	x9, [x9, _EXT_TEXTURE_LOD_BIAS@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_26
; %bb.25:
Lloh58:
	adrp	x8, _GL_TEXTURE_FILTER_CONTROL_EXT@GOTPAGE
Lloh59:
	ldr	x8, [x8, _GL_TEXTURE_FILTER_CONTROL_EXT@GOTPAGEOFF]
	ldr	x9, [x25, #8]
Lloh60:
	ldr	w0, [x8]
Lloh61:
	adrp	x8, _GL_TEXTURE_LOD_BIAS_EXT@GOTPAGE
Lloh62:
	ldr	x8, [x8, _GL_TEXTURE_LOD_BIAS_EXT@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	ldr	w2, [x19, #56]
	blr	x9
Lloh64:
	adrp	x0, l_.str.3@PAGE
Lloh65:
	add	x0, x0, l_.str.3@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_checkGLcall
LBB0_26:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh43
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh50
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"texture %p, sampler_desc %p, context %p.\n"

	.comm	_WINED3D_TEXTURE_IS_SRGB,4,2    ; @WINED3D_TEXTURE_IS_SRGB
	.comm	_GL_TEXTURE_WRAP_S,4,2          ; @GL_TEXTURE_WRAP_S
	.comm	_WINED3D_TADDRESS_WRAP,8,3      ; @WINED3D_TADDRESS_WRAP
	.comm	_GL_TEXTURE_WRAP_T,4,2          ; @GL_TEXTURE_WRAP_T
	.comm	_GL_TEXTURE_WRAP_R,4,2          ; @GL_TEXTURE_WRAP_R
	.comm	_GL_TEXTURE_BORDER_COLOR,4,2    ; @GL_TEXTURE_BORDER_COLOR
	.comm	_GL_TEXTURE_MAG_FILTER,4,2      ; @GL_TEXTURE_MAG_FILTER
	.comm	_GL_TEXTURE_MIN_FILTER,4,2      ; @GL_TEXTURE_MIN_FILTER
	.comm	_ARB_TEXTURE_FILTER_ANISOTROPIC,8,3 ; @ARB_TEXTURE_FILTER_ANISOTROPIC
	.comm	_GL_TEXTURE_MAX_ANISOTROPY,4,2  ; @GL_TEXTURE_MAX_ANISOTROPY
l_.str.1:                               ; @.str.1
	.asciz	"Anisotropic filtering not supported.\n"

	.comm	_WINED3D_SRGB_READ_WRITE_CONTROL,4,2 ; @WINED3D_SRGB_READ_WRITE_CONTROL
	.comm	_EXT_TEXTURE_SRGB_DECODE,8,3    ; @EXT_TEXTURE_SRGB_DECODE
	.comm	_GL_TEXTURE_SRGB_DECODE_EXT,4,2 ; @GL_TEXTURE_SRGB_DECODE_EXT
	.comm	_GL_DECODE_EXT,8,3              ; @GL_DECODE_EXT
	.comm	_GL_SKIP_DECODE_EXT,8,3         ; @GL_SKIP_DECODE_EXT
	.comm	_GL_TEXTURE_COMPARE_MODE_ARB,4,2 ; @GL_TEXTURE_COMPARE_MODE_ARB
	.comm	_GL_COMPARE_R_TO_TEXTURE_ARB,8,3 ; @GL_COMPARE_R_TO_TEXTURE_ARB
	.comm	_GL_NONE,8,3                    ; @GL_NONE
l_.str.2:                               ; @.str.2
	.asciz	"Texture parameter application"

	.comm	_EXT_TEXTURE_LOD_BIAS,8,3       ; @EXT_TEXTURE_LOD_BIAS
	.comm	_GL_TEXTURE_FILTER_CONTROL_EXT,4,2 ; @GL_TEXTURE_FILTER_CONTROL_EXT
	.comm	_GL_TEXTURE_LOD_BIAS_EXT,4,2    ; @GL_TEXTURE_LOD_BIAS_EXT
l_.str.3:                               ; @.str.3
	.asciz	"glTexEnvf(GL_TEXTURE_LOD_BIAS_EXT, ...)"

.subsections_via_symbols
