	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_texture_init                   ## -- Begin function texture_init
	.p2align	4, 0x90
_texture_init:                          ## @texture_init
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	24(%rbp), %r13
	movl	16(%rbp), %ebx
	movq	_d3d9_texture_2d_vtbl@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rdi)
	addq	$28, %rdi
	callq	_d3d9_resource_init
	leaq	24(%r12), %rdi
	callq	_list_init
	movl	%r14d, (%r12)
	movq	_WINED3D_RTYPE_TEXTURE_2D@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movl	%ebx, %edi
	callq	_wined3dformat_from_d3dformat
	movl	%eax, %ebx
	movl	%eax, -104(%rbp)
	movq	_WINED3D_MULTISAMPLE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	$0, -80(%rbp)
	movl	%r14d, %edi
	callq	_wined3dusage_from_d3dusage
	movq	_WINED3DUSAGE_TEXTURE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -88(%rbp)
	movq	_D3DPOOL_SCRATCH@GOTPCREL(%rip), %rcx
	cmpq	%r13, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	_WINED3DUSAGE_SCRATCH@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -88(%rbp)
LBB0_2:
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_wined3daccess_from_d3dpool
	movq	_WINED3D_RESOURCE_ACCESS_MAP_R@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_WINED3D_RESOURCE_ACCESS_MAP_W@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -120(%rbp)
	movl	%r15d, -116(%rbp)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -112(%rbp)
	movl	$1, -108(%rbp)
	movq	$0, -96(%rbp)
	movq	_D3DPOOL_DEFAULT@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	jne	LBB0_4
## %bb.3:
	movq	_D3DUSAGE_DYNAMIC@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_17
LBB0_4:
	movq	_WINED3D_TEXTURE_CREATE_MAPPABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_5:
	movl	%ebx, %edi
	callq	_is_gdi_compat_wined3dformat
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_WINED3D_TEXTURE_CREATE_GET_DC@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_7:
	orl	%r15d, %r13d
	movq	_D3DUSAGE_AUTOGENMIPMAP@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	movq	24(%rbp), %rcx
	je	LBB0_10
## %bb.8:
	movq	_D3DPOOL_SYSTEMMEM@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	jne	LBB0_11
## %bb.9:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_WARN
	jmp	LBB0_19
LBB0_10:
	movq	_D3DTEXF_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r12)
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_14
	jmp	LBB0_13
LBB0_11:
	cmpl	$2, %esi
	jae	LBB0_18
## %bb.12:
	movq	_WINED3D_TEXTURE_CREATE_GENERATE_MIPMAPS@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movq	_D3DTEXF_LINEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r12)
LBB0_13:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_max
	movl	%eax, %edi
	callq	_wined3d_log2i
	movl	%eax, %ebx
	incl	%ebx
LBB0_14:
	xorl	%eax, %eax
	callq	_wined3d_mutex_lock
	movl	4(%r14), %edi
	leaq	16(%r12), %rax
	subq	$8, %rsp
	movq	_d3d9_texture_wined3d_parent_ops@GOTPCREL(%rip), %r10
	leaq	-120(%rbp), %rsi
	movl	$1, %edx
	movl	%ebx, %ecx
	movl	%r13d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	%r10
	pushq	%r12
	callq	_wined3d_texture_create
	addq	$32, %rsp
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_wined3d_mutex_unlock
	movl	%ebx, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_WARN
	jmp	LBB0_21
LBB0_16:
	movq	%r14, 8(%r12)
	movq	%r14, %rdi
	callq	_IDirect3DDevice9Ex_AddRef
	movq	_D3D_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_17:
	xorl	%r15d, %r15d
	jmp	LBB0_5
LBB0_18:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_WARN
LBB0_19:
	movq	_D3DERR_INVALIDCALL@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %ebx
LBB0_21:
	movl	%ebx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_d3d9_texture_2d_vtbl,4,2       ## @d3d9_texture_2d_vtbl
	.comm	_WINED3D_RTYPE_TEXTURE_2D,4,2   ## @WINED3D_RTYPE_TEXTURE_2D
	.comm	_WINED3D_MULTISAMPLE_NONE,4,2   ## @WINED3D_MULTISAMPLE_NONE
	.comm	_WINED3DUSAGE_TEXTURE,4,2       ## @WINED3DUSAGE_TEXTURE
	.comm	_D3DPOOL_SCRATCH,8,3            ## @D3DPOOL_SCRATCH
	.comm	_WINED3DUSAGE_SCRATCH,4,2       ## @WINED3DUSAGE_SCRATCH
	.comm	_WINED3D_RESOURCE_ACCESS_MAP_R,4,2 ## @WINED3D_RESOURCE_ACCESS_MAP_R
	.comm	_WINED3D_RESOURCE_ACCESS_MAP_W,4,2 ## @WINED3D_RESOURCE_ACCESS_MAP_W
	.comm	_D3DPOOL_DEFAULT,8,3            ## @D3DPOOL_DEFAULT
	.comm	_D3DUSAGE_DYNAMIC,4,2           ## @D3DUSAGE_DYNAMIC
	.comm	_WINED3D_TEXTURE_CREATE_MAPPABLE,4,2 ## @WINED3D_TEXTURE_CREATE_MAPPABLE
	.comm	_WINED3D_TEXTURE_CREATE_GET_DC,4,2 ## @WINED3D_TEXTURE_CREATE_GET_DC
	.comm	_D3DUSAGE_AUTOGENMIPMAP,4,2     ## @D3DUSAGE_AUTOGENMIPMAP
	.comm	_D3DPOOL_SYSTEMMEM,8,3          ## @D3DPOOL_SYSTEMMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"D3DUSAGE_AUTOGENMIPMAP texture can't be in D3DPOOL_SYSTEMMEM, returning D3DERR_INVALIDCALL.\n"

	.comm	_D3DERR_INVALIDCALL,4,2         ## @D3DERR_INVALIDCALL
L_.str.1:                               ## @.str.1
	.asciz	"D3DUSAGE_AUTOGENMIPMAP texture with %u levels, returning D3DERR_INVALIDCALL.\n"

	.comm	_WINED3D_TEXTURE_CREATE_GENERATE_MIPMAPS,4,2 ## @WINED3D_TEXTURE_CREATE_GENERATE_MIPMAPS
	.comm	_D3DTEXF_LINEAR,4,2             ## @D3DTEXF_LINEAR
	.comm	_D3DTEXF_NONE,4,2               ## @D3DTEXF_NONE
	.comm	_d3d9_texture_wined3d_parent_ops,4,2 ## @d3d9_texture_wined3d_parent_ops
L_.str.2:                               ## @.str.2
	.asciz	"Failed to create wined3d texture, hr %#x.\n"

	.comm	_D3D_OK,4,2                     ## @D3D_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_texture_init                   ; -- Begin function texture_init
	.p2align	2
_texture_init:                          ; @texture_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x7
	mov	x26, x6
	mov	x25, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _d3d9_texture_2d_vtbl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _d3d9_texture_2d_vtbl@GOTPAGEOFF]
	str	x8, [x0, #32]
	add	x0, x0, #28
	bl	_d3d9_resource_init
	add	x0, x20, #24
	bl	_list_init
	str	w25, [x20]
Lloh2:
	adrp	x8, _WINED3D_RTYPE_TEXTURE_2D@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WINED3D_RTYPE_TEXTURE_2D@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #60]
	mov	x0, x26
	bl	_wined3dformat_from_d3dformat
	mov	x26, x0
	str	w0, [sp, #24]
Lloh5:
	adrp	x8, _WINED3D_MULTISAMPLE_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WINED3D_MULTISAMPLE_NONE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [sp, #56]
	str	xzr, [sp, #48]
	mov	x0, x25
	bl	_wined3dusage_from_d3dusage
Lloh8:
	adrp	x8, _WINED3DUSAGE_TEXTURE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WINED3DUSAGE_TEXTURE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	orr	w8, w8, w0
	str	w8, [sp, #40]
Lloh11:
	adrp	x9, _D3DPOOL_SCRATCH@GOTPAGE
Lloh12:
	ldr	x9, [x9, _D3DPOOL_SCRATCH@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x24
	b.ne	LBB0_2
; %bb.1:
Lloh14:
	adrp	x9, _WINED3DUSAGE_SCRATCH@GOTPAGE
Lloh15:
	ldr	x9, [x9, _WINED3DUSAGE_SCRATCH@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [sp, #40]
LBB0_2:
	mov	x0, x24
	mov	x1, x25
	bl	_wined3daccess_from_d3dpool
Lloh17:
	adrp	x8, _WINED3D_RESOURCE_ACCESS_MAP_R@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WINED3D_RESOURCE_ACCESS_MAP_R@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh20:
	adrp	x9, _WINED3D_RESOURCE_ACCESS_MAP_W@GOTPAGE
Lloh21:
	ldr	x9, [x9, _WINED3D_RESOURCE_ACCESS_MAP_W@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w9
	stp	w8, w23, [sp, #8]
	mov	w8, #1
	stp	w22, w8, [sp, #16]
	str	xzr, [sp, #32]
Lloh23:
	adrp	x8, _D3DPOOL_DEFAULT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _D3DPOOL_DEFAULT@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cmp	x8, x24
	b.ne	LBB0_4
; %bb.3:
Lloh26:
	adrp	x8, _D3DUSAGE_DYNAMIC@GOTPAGE
Lloh27:
	ldr	x8, [x8, _D3DUSAGE_DYNAMIC@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_15
LBB0_4:
Lloh29:
	adrp	x8, _WINED3D_TEXTURE_CREATE_MAPPABLE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _WINED3D_TEXTURE_CREATE_MAPPABLE@GOTPAGEOFF]
Lloh31:
	ldr	w27, [x8]
LBB0_5:
	mov	x0, x26
	bl	_is_gdi_compat_wined3dformat
Lloh32:
	adrp	x8, _WINED3D_TEXTURE_CREATE_GET_DC@GOTPAGE
Lloh33:
	ldr	x8, [x8, _WINED3D_TEXTURE_CREATE_GET_DC@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w26, w8, w27
Lloh35:
	adrp	x8, _D3DUSAGE_AUTOGENMIPMAP@GOTPAGE
Lloh36:
	ldr	x8, [x8, _D3DUSAGE_AUTOGENMIPMAP@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_8
; %bb.6:
Lloh38:
	adrp	x8, _D3DPOOL_SYSTEMMEM@GOTPAGE
Lloh39:
	ldr	x8, [x8, _D3DPOOL_SYSTEMMEM@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	cmp	x8, x24
	b.ne	LBB0_9
; %bb.7:
Lloh41:
	adrp	x0, l_.str@PAGE
Lloh42:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_17
LBB0_8:
Lloh43:
	adrp	x8, _D3DTEXF_NONE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _D3DTEXF_NONE@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	str	w8, [x20, #20]
	cbnz	w21, LBB0_12
	b	LBB0_11
LBB0_9:
	cmp	w21, #2
	b.hs	LBB0_16
; %bb.10:
Lloh46:
	adrp	x8, _WINED3D_TEXTURE_CREATE_GENERATE_MIPMAPS@GOTPAGE
Lloh47:
	ldr	x8, [x8, _WINED3D_TEXTURE_CREATE_GENERATE_MIPMAPS@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	orr	w26, w8, w26
Lloh49:
	adrp	x8, _D3DTEXF_LINEAR@GOTPAGE
Lloh50:
	ldr	x8, [x8, _D3DTEXF_LINEAR@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	str	w8, [x20, #20]
LBB0_11:
	mov	x0, x23
	mov	x1, x22
	bl	_max
	bl	_wined3d_log2i
	add	w21, w0, #1
LBB0_12:
	bl	_wined3d_mutex_lock
	ldr	w0, [x19, #4]
	add	x8, x20, #16
	str	x8, [sp]
Lloh52:
	adrp	x7, _d3d9_texture_wined3d_parent_ops@GOTPAGE
Lloh53:
	ldr	x7, [x7, _d3d9_texture_wined3d_parent_ops@GOTPAGEOFF]
	add	x1, sp, #8
	mov	w2, #1
	mov	x3, x21
	mov	x4, x26
	mov	x5, #0
	mov	x6, x20
	bl	_wined3d_texture_create
	mov	x21, x0
	bl	_wined3d_mutex_unlock
	mov	x0, x21
	bl	_FAILED
	cbz	x0, LBB0_14
; %bb.13:
	str	x21, [sp]
Lloh54:
	adrp	x0, l_.str.2@PAGE
Lloh55:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_WARN
	b	LBB0_19
LBB0_14:
	str	x19, [x20, #8]
	mov	x0, x19
	bl	_IDirect3DDevice9Ex_AddRef
Lloh56:
	adrp	x8, _D3D_OK@GOTPAGE
Lloh57:
	ldr	x8, [x8, _D3D_OK@GOTPAGEOFF]
	b	LBB0_18
LBB0_15:
	mov	w27, #0
	b	LBB0_5
LBB0_16:
	str	x21, [sp]
Lloh58:
	adrp	x0, l_.str.1@PAGE
Lloh59:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_17:
	bl	_WARN
Lloh60:
	adrp	x8, _D3DERR_INVALIDCALL@GOTPAGE
Lloh61:
	ldr	x8, [x8, _D3DERR_INVALIDCALL@GOTPAGEOFF]
LBB0_18:
	ldr	w21, [x8]
LBB0_19:
	mov	x0, x21
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.comm	_d3d9_texture_2d_vtbl,4,2       ; @d3d9_texture_2d_vtbl
	.comm	_WINED3D_RTYPE_TEXTURE_2D,4,2   ; @WINED3D_RTYPE_TEXTURE_2D
	.comm	_WINED3D_MULTISAMPLE_NONE,4,2   ; @WINED3D_MULTISAMPLE_NONE
	.comm	_WINED3DUSAGE_TEXTURE,4,2       ; @WINED3DUSAGE_TEXTURE
	.comm	_D3DPOOL_SCRATCH,8,3            ; @D3DPOOL_SCRATCH
	.comm	_WINED3DUSAGE_SCRATCH,4,2       ; @WINED3DUSAGE_SCRATCH
	.comm	_WINED3D_RESOURCE_ACCESS_MAP_R,4,2 ; @WINED3D_RESOURCE_ACCESS_MAP_R
	.comm	_WINED3D_RESOURCE_ACCESS_MAP_W,4,2 ; @WINED3D_RESOURCE_ACCESS_MAP_W
	.comm	_D3DPOOL_DEFAULT,8,3            ; @D3DPOOL_DEFAULT
	.comm	_D3DUSAGE_DYNAMIC,4,2           ; @D3DUSAGE_DYNAMIC
	.comm	_WINED3D_TEXTURE_CREATE_MAPPABLE,4,2 ; @WINED3D_TEXTURE_CREATE_MAPPABLE
	.comm	_WINED3D_TEXTURE_CREATE_GET_DC,4,2 ; @WINED3D_TEXTURE_CREATE_GET_DC
	.comm	_D3DUSAGE_AUTOGENMIPMAP,4,2     ; @D3DUSAGE_AUTOGENMIPMAP
	.comm	_D3DPOOL_SYSTEMMEM,8,3          ; @D3DPOOL_SYSTEMMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"D3DUSAGE_AUTOGENMIPMAP texture can't be in D3DPOOL_SYSTEMMEM, returning D3DERR_INVALIDCALL.\n"

	.comm	_D3DERR_INVALIDCALL,4,2         ; @D3DERR_INVALIDCALL
l_.str.1:                               ; @.str.1
	.asciz	"D3DUSAGE_AUTOGENMIPMAP texture with %u levels, returning D3DERR_INVALIDCALL.\n"

	.comm	_WINED3D_TEXTURE_CREATE_GENERATE_MIPMAPS,4,2 ; @WINED3D_TEXTURE_CREATE_GENERATE_MIPMAPS
	.comm	_D3DTEXF_LINEAR,4,2             ; @D3DTEXF_LINEAR
	.comm	_D3DTEXF_NONE,4,2               ; @D3DTEXF_NONE
	.comm	_d3d9_texture_wined3d_parent_ops,4,2 ; @d3d9_texture_wined3d_parent_ops
l_.str.2:                               ; @.str.2
	.asciz	"Failed to create wined3d texture, hr %#x.\n"

	.comm	_D3D_OK,4,2                     ; @D3D_OK
.subsections_via_symbols
