	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_and_bind_fbo_attachment
_create_and_bind_fbo_attachment:        ## @create_and_bind_fbo_attachment
	.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
                                        ## kill: def $r9d killed $r9d def $r9
	movl	%r8d, %r12d
	movq	%rcx, %r14
	movl	%edx, %r15d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	_WINED3DFMT_FLAG_DEPTH@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_GL_COLOR_ATTACHMENT0@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_GL_DEPTH_ATTACHMENT@GOTPCREL(%rip), %rax
LBB0_3:
	leal	-128(%r15), %ecx
	cmpl	$5, %ecx
	ja	LBB0_15
## %bb.4:
	movl	(%rax), %edx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	jmpq	*%rcx
LBB0_7:
	movl	$1, %edi
	movq	%r14, %rsi
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	callq	*32(%rbx)
	movl	%r13d, -60(%rbp)                ## 4-byte Spill
	movq	%r14, %r13
	movq	24(%rbx), %r14
	movl	%r15d, %edi
	callq	_wined3d_gl_type_to_enum
	movl	(%r13), %esi
	movl	%eax, %edi
	callq	*%r14
	movq	16(%rbx), %r14
	movl	%r15d, %edi
	callq	_wined3d_gl_type_to_enum
	subq	$8, %rsp
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	%r12d, %edx
	movl	$16, %ecx
	movl	$16, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	movl	16(%rbp), %eax
	pushq	%rax
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	callq	*%r14
	addq	$32, %rsp
	movq	8(%rbx), %r14
	movl	%r15d, %edi
	callq	_wined3d_gl_type_to_enum
	movq	_GL_TEXTURE_MIN_FILTER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_GL_NEAREST@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movl	%eax, %edi
	callq	*%r14
	movq	8(%rbx), %r14
	movl	%r15d, %edi
	callq	_wined3d_gl_type_to_enum
	movq	_GL_TEXTURE_MAG_FILTER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%r12), %edx
	movl	%eax, %edi
	callq	*%r14
	movq	80(%rbx), %r14
	movq	_GL_FRAMEBUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r15d, %edi
	callq	_wined3d_gl_type_to_enum
	movl	(%r13), %ecx
	movl	%r12d, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	xorl	%r8d, %r8d
	callq	*%r14
	movq	_WINED3DFMT_FLAG_STENCIL@GOTPCREL(%rip), %rax
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_15
## %bb.8:
	movq	80(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_GL_FRAMEBUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_GL_STENCIL_ATTACHMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r15d, %edi
	callq	_wined3d_gl_type_to_enum
	movl	(%r13), %ecx
	movl	%r12d, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	xorl	%r8d, %r8d
	callq	*-48(%rbp)                      ## 8-byte Folded Reload
	jmp	LBB0_15
LBB0_11:
	movl	$1, %edi
	movq	%r14, %rsi
	movq	%r9, %r15
	callq	*32(%rbx)
	movq	_GL_TEXTURE_CUBE_MAP_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	*24(%rbx)
	movq	_GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	subq	$8, %rsp
	xorl	%esi, %esi
	movl	%r12d, %edx
	movl	$16, %ecx
	movl	$16, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	movl	16(%rbp), %eax
	pushq	%rax
	pushq	%r15
	callq	*16(%rbx)
	addq	$32, %rsp
	movq	_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	subq	$8, %rsp
	xorl	%esi, %esi
	movl	%r12d, %edx
	movl	$16, %ecx
	movl	$16, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	movl	16(%rbp), %eax
	pushq	%rax
	pushq	%r15
	callq	*16(%rbx)
	addq	$32, %rsp
	movq	_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	subq	$8, %rsp
	xorl	%esi, %esi
	movl	%r12d, %edx
	movl	$16, %ecx
	movl	$16, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	movl	16(%rbp), %eax
	pushq	%rax
	pushq	%r15
	callq	*16(%rbx)
	addq	$32, %rsp
	movq	_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	subq	$8, %rsp
	xorl	%esi, %esi
	movl	%r12d, %edx
	movl	$16, %ecx
	movl	$16, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	movl	16(%rbp), %eax
	pushq	%rax
	pushq	%r15
	callq	*16(%rbx)
	addq	$32, %rsp
	movq	_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	subq	$8, %rsp
	xorl	%esi, %esi
	movl	%r12d, %edx
	movl	$16, %ecx
	movl	$16, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	movl	16(%rbp), %eax
	pushq	%rax
	pushq	%r15
	callq	*16(%rbx)
	addq	$32, %rsp
	movq	_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	subq	$8, %rsp
	xorl	%esi, %esi
	movl	%r12d, %edx
	movl	$16, %ecx
	movl	$16, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	movl	16(%rbp), %eax
	pushq	%rax
	pushq	%r15
	callq	*16(%rbx)
	addq	$32, %rsp
	movq	_GL_TEXTURE_CUBE_MAP_ARB@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_GL_TEXTURE_MIN_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %r12
	movq	_GL_NEAREST@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	*8(%rbx)
	movl	(%r15), %edi
	movq	_GL_TEXTURE_MAG_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%r12, %r14
	movq	_GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB@GOTPCREL(%rip), %r12
	callq	*8(%rbx)
	movq	_GL_FRAMEBUFFER@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%r12), %edx
	movl	(%r14), %ecx
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	xorl	%r8d, %r8d
	callq	*80(%rbx)
	movq	_WINED3DFMT_FLAG_STENCIL@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_15
## %bb.12:
	movl	(%r15), %edi
	movq	_GL_STENCIL_ATTACHMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movl	(%r14), %ecx
	xorl	%r8d, %r8d
	callq	*80(%rbx)
	jmp	LBB0_15
LBB0_9:
	movl	$1, %edi
	movq	%r14, %rsi
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	callq	*32(%rbx)
	movq	_GL_TEXTURE_3D@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%r14), %esi
	callq	*24(%rbx)
	movl	(%r15), %edi
	xorl	%esi, %esi
	movl	%r12d, %edx
	movl	$16, %ecx
	movl	$16, %r8d
	movl	$16, %r9d
	pushq	$0
	movl	16(%rbp), %eax
	pushq	%rax
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	$0
	callq	_glTexImage3D
	addq	$32, %rsp
	movl	%eax, %edi
	callq	_GL_EXTCALL
	movl	(%r15), %edi
	movq	_GL_TEXTURE_MIN_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %r12
	movq	_GL_NEAREST@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	*8(%rbx)
	movl	(%r15), %edi
	movq	_GL_TEXTURE_MAG_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%r12, %r14
	callq	*8(%rbx)
	movq	_GL_FRAMEBUFFER@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	(%r15), %edx
	movl	(%r14), %ecx
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	*88(%rbx)
	movq	_WINED3DFMT_FLAG_STENCIL@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_15
## %bb.10:
	movl	(%r12), %edi
	movq	_GL_STENCIL_ATTACHMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movl	(%r14), %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	*88(%rbx)
	jmp	LBB0_15
LBB0_5:
	movl	$1, %edi
	movq	%r14, %rsi
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	callq	*32(%rbx)
	movq	_GL_TEXTURE_1D@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%r14), %esi
	callq	*24(%rbx)
	movl	(%r15), %edi
	xorl	%esi, %esi
	movl	%r12d, %edx
	movl	$16, %ecx
	xorl	%r8d, %r8d
	movq	-56(%rbp), %r9                  ## 8-byte Reload
                                        ## kill: def $r9d killed $r9d killed $r9
	pushq	$0
	movl	16(%rbp), %eax
	pushq	%rax
	callq	*40(%rbx)
	addq	$16, %rsp
	movl	(%r15), %edi
	movq	_GL_TEXTURE_MIN_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GL_NEAREST@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	callq	*8(%rbx)
	movl	(%r15), %edi
	movq	_GL_TEXTURE_MAG_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	callq	*8(%rbx)
	movq	_GL_FRAMEBUFFER@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	(%r15), %edx
	movl	(%r14), %ecx
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	xorl	%r8d, %r8d
	callq	*96(%rbx)
	movq	_WINED3DFMT_FLAG_STENCIL@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_15
## %bb.6:
	movl	(%r12), %edi
	movq	_GL_STENCIL_ATTACHMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movl	(%r14), %ecx
	xorl	%r8d, %r8d
	callq	*96(%rbx)
	jmp	LBB0_15
LBB0_13:
	movl	$1, %edi
	movq	%r14, %rsi
	callq	*72(%rbx)
	movq	_GL_RENDERBUFFER@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%r14), %esi
	callq	*64(%rbx)
	movl	(%r15), %edi
	movl	%r12d, %esi
	movl	$16, %edx
	movl	$16, %ecx
	callq	*56(%rbx)
	movq	_GL_FRAMEBUFFER@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	(%r15), %edx
	movl	(%r14), %ecx
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	*48(%rbx)
	movq	_WINED3DFMT_FLAG_STENCIL@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_15
## %bb.14:
	movl	(%r12), %edi
	movq	_GL_STENCIL_ATTACHMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GL_RENDERBUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r14), %ecx
	callq	*48(%rbx)
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	*(%rbx)
	testq	%rax, %rax
	jne	LBB0_15
## %bb.16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_11
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.comm	_WINED3DFMT_FLAG_DEPTH,4,2      ## @WINED3DFMT_FLAG_DEPTH
	.comm	_GL_DEPTH_ATTACHMENT,4,2        ## @GL_DEPTH_ATTACHMENT
	.comm	_GL_COLOR_ATTACHMENT0,4,2       ## @GL_COLOR_ATTACHMENT0
	.comm	_GL_TEXTURE_1D,4,2              ## @GL_TEXTURE_1D
	.comm	_GL_TEXTURE_MIN_FILTER,4,2      ## @GL_TEXTURE_MIN_FILTER
	.comm	_GL_NEAREST,4,2                 ## @GL_NEAREST
	.comm	_GL_TEXTURE_MAG_FILTER,4,2      ## @GL_TEXTURE_MAG_FILTER
	.comm	_GL_FRAMEBUFFER,4,2             ## @GL_FRAMEBUFFER
	.comm	_WINED3DFMT_FLAG_STENCIL,4,2    ## @WINED3DFMT_FLAG_STENCIL
	.comm	_GL_STENCIL_ATTACHMENT,4,2      ## @GL_STENCIL_ATTACHMENT
	.comm	_GL_TEXTURE_3D,4,2              ## @GL_TEXTURE_3D
	.comm	_GL_TEXTURE_CUBE_MAP_ARB,4,2    ## @GL_TEXTURE_CUBE_MAP_ARB
	.comm	_GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB,4,2 ## @GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB
	.comm	_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB,4,2 ## @GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB
	.comm	_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB,4,2 ## @GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB
	.comm	_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB,4,2 ## @GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB
	.comm	_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB,4,2 ## @GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB
	.comm	_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB,4,2 ## @GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB
	.comm	_GL_RENDERBUFFER,4,2            ## @GL_RENDERBUFFER
	.no_dead_strip	_create_and_bind_fbo_attachment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_and_bind_fbo_attachment
_create_and_bind_fbo_attachment:        ; @create_and_bind_fbo_attachment
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x0
Lloh0:
	adrp	x8, _WINED3DFMT_FLAG_DEPTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WINED3DFMT_FLAG_DEPTH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _GL_DEPTH_ATTACHMENT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GL_DEPTH_ATTACHMENT@GOTPAGEOFF]
Lloh5:
	adrp	x10, _GL_COLOR_ATTACHMENT0@GOTPAGE
Lloh6:
	ldr	x10, [x10, _GL_COLOR_ATTACHMENT0@GOTPAGEOFF]
	tst	w8, w1
	csel	x9, x10, x9, eq
	sub	w8, w2, #128
	cmp	w8, #5
	b.hi	LBB0_13
; %bb.1:
	mov	x25, x6
	mov	x24, x5
	mov	x23, x4
	mov	x20, x3
	mov	x21, x1
	ldr	w22, [x9]
Lloh7:
	adrp	x9, lJTI0_0@PAGE
Lloh8:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrh	w11, [x9, x8, lsl #1]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x26, x2
	ldr	x8, [x19, #32]
	mov	w0, #1
	mov	x1, x20
	blr	x8
	ldr	x27, [x19, #24]
	mov	x0, x26
	bl	_wined3d_gl_type_to_enum
	ldr	w1, [x20]
	blr	x27
	ldr	x27, [x19, #16]
	mov	x0, x26
	bl	_wined3d_gl_type_to_enum
	str	xzr, [sp]
	mov	w1, #0
	mov	x2, x23
	mov	w3, #16
	mov	w4, #16
	mov	w5, #0
	mov	x6, x24
	mov	x7, x25
	blr	x27
	ldr	x23, [x19, #8]
	mov	x0, x26
	bl	_wined3d_gl_type_to_enum
Lloh9:
	adrp	x8, _GL_TEXTURE_MIN_FILTER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GL_TEXTURE_MIN_FILTER@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x24, _GL_NEAREST@GOTPAGE
Lloh13:
	ldr	x24, [x24, _GL_NEAREST@GOTPAGEOFF]
	ldr	w2, [x24]
	blr	x23
	ldr	x23, [x19, #8]
	mov	x0, x26
	bl	_wined3d_gl_type_to_enum
Lloh14:
	adrp	x8, _GL_TEXTURE_MAG_FILTER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GL_TEXTURE_MAG_FILTER@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w2, [x24]
	blr	x23
	ldr	x25, [x19, #80]
Lloh17:
	adrp	x24, _GL_FRAMEBUFFER@GOTPAGE
Lloh18:
	ldr	x24, [x24, _GL_FRAMEBUFFER@GOTPAGEOFF]
	ldr	w23, [x24]
	mov	x0, x26
	bl	_wined3d_gl_type_to_enum
	mov	x2, x0
	ldr	w3, [x20]
	mov	x0, x23
	mov	x1, x22
	mov	w4, #0
	blr	x25
Lloh19:
	adrp	x8, _WINED3DFMT_FLAG_STENCIL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _WINED3DFMT_FLAG_STENCIL@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_13
; %bb.3:
	ldr	x23, [x19, #80]
	ldr	w21, [x24]
Lloh22:
	adrp	x8, _GL_STENCIL_ATTACHMENT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _GL_STENCIL_ATTACHMENT@GOTPAGEOFF]
Lloh24:
	ldr	w22, [x8]
	mov	x0, x26
	bl	_wined3d_gl_type_to_enum
	mov	x2, x0
	ldr	w3, [x20]
	mov	x0, x21
	mov	x1, x22
	mov	w4, #0
	blr	x23
	b	LBB0_13
LBB0_4:
	ldr	x8, [x19, #32]
	mov	w0, #1
	mov	x1, x20
	blr	x8
	ldr	x8, [x19, #24]
Lloh25:
	adrp	x27, _GL_TEXTURE_CUBE_MAP_ARB@GOTPAGE
Lloh26:
	ldr	x27, [x27, _GL_TEXTURE_CUBE_MAP_ARB@GOTPAGEOFF]
	ldr	w0, [x27]
	ldr	w1, [x20]
	blr	x8
	ldr	x8, [x19, #16]
Lloh27:
	adrp	x26, _GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB@GOTPAGE
Lloh28:
	ldr	x26, [x26, _GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB@GOTPAGEOFF]
	ldr	w0, [x26]
	str	xzr, [sp]
	mov	w1, #0
	mov	x2, x23
	mov	w3, #16
	mov	w4, #16
	mov	w5, #0
	mov	x6, x24
	mov	x7, x25
	blr	x8
	ldr	x8, [x19, #16]
Lloh29:
	adrp	x9, _GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB@GOTPAGE
Lloh30:
	ldr	x9, [x9, _GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x9]
	str	xzr, [sp]
	mov	w1, #0
	mov	x2, x23
	mov	w3, #16
	mov	w4, #16
	mov	w5, #0
	mov	x6, x24
	mov	x7, x25
	blr	x8
	ldr	x8, [x19, #16]
Lloh32:
	adrp	x9, _GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB@GOTPAGE
Lloh33:
	ldr	x9, [x9, _GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x9]
	str	xzr, [sp]
	mov	w1, #0
	mov	x2, x23
	mov	w3, #16
	mov	w4, #16
	mov	w5, #0
	mov	x6, x24
	mov	x7, x25
	blr	x8
	ldr	x8, [x19, #16]
Lloh35:
	adrp	x9, _GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB@GOTPAGE
Lloh36:
	ldr	x9, [x9, _GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x9]
	str	xzr, [sp]
	mov	w1, #0
	mov	x2, x23
	mov	w3, #16
	mov	w4, #16
	mov	w5, #0
	mov	x6, x24
	mov	x7, x25
	blr	x8
	ldr	x8, [x19, #16]
Lloh38:
	adrp	x9, _GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB@GOTPAGE
Lloh39:
	ldr	x9, [x9, _GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x9]
	str	xzr, [sp]
	mov	w1, #0
	mov	x2, x23
	mov	w3, #16
	mov	w4, #16
	mov	w5, #0
	mov	x6, x24
	mov	x7, x25
	blr	x8
	ldr	x8, [x19, #16]
Lloh41:
	adrp	x9, _GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB@GOTPAGE
Lloh42:
	ldr	x9, [x9, _GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x9]
	str	xzr, [sp]
	mov	w1, #0
	mov	x2, x23
	mov	w3, #16
	mov	w4, #16
	mov	w5, #0
	mov	x6, x24
	mov	x7, x25
	blr	x8
	ldr	x8, [x19, #8]
	ldr	w0, [x27]
Lloh44:
	adrp	x9, _GL_TEXTURE_MIN_FILTER@GOTPAGE
Lloh45:
	ldr	x9, [x9, _GL_TEXTURE_MIN_FILTER@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x9]
Lloh47:
	adrp	x23, _GL_NEAREST@GOTPAGE
Lloh48:
	ldr	x23, [x23, _GL_NEAREST@GOTPAGEOFF]
	ldr	w2, [x23]
	blr	x8
	ldr	x8, [x19, #8]
	ldr	w0, [x27]
Lloh49:
	adrp	x9, _GL_TEXTURE_MAG_FILTER@GOTPAGE
Lloh50:
	ldr	x9, [x9, _GL_TEXTURE_MAG_FILTER@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x9]
	ldr	w2, [x23]
	blr	x8
	ldr	x8, [x19, #80]
Lloh52:
	adrp	x23, _GL_FRAMEBUFFER@GOTPAGE
Lloh53:
	ldr	x23, [x23, _GL_FRAMEBUFFER@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w2, [x26]
	ldr	w3, [x20]
	mov	x1, x22
	mov	w4, #0
	blr	x8
Lloh54:
	adrp	x8, _WINED3DFMT_FLAG_STENCIL@GOTPAGE
Lloh55:
	ldr	x8, [x8, _WINED3DFMT_FLAG_STENCIL@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_13
; %bb.5:
	ldr	x8, [x19, #80]
	b	LBB0_10
LBB0_6:
	ldr	x8, [x19, #32]
	mov	w0, #1
	mov	x1, x20
	blr	x8
	ldr	x8, [x19, #24]
Lloh57:
	adrp	x26, _GL_TEXTURE_3D@GOTPAGE
Lloh58:
	ldr	x26, [x26, _GL_TEXTURE_3D@GOTPAGEOFF]
	ldr	w0, [x26]
	ldr	w1, [x20]
	blr	x8
	ldr	w0, [x26]
	str	xzr, [sp, #8]
	str	w25, [sp]
	mov	w1, #0
	mov	x2, x23
	mov	w3, #16
	mov	w4, #16
	mov	w5, #16
	mov	w6, #0
	mov	x7, x24
	bl	_glTexImage3D
	bl	_GL_EXTCALL
	ldr	x8, [x19, #8]
	ldr	w0, [x26]
Lloh59:
	adrp	x9, _GL_TEXTURE_MIN_FILTER@GOTPAGE
Lloh60:
	ldr	x9, [x9, _GL_TEXTURE_MIN_FILTER@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x9]
Lloh62:
	adrp	x23, _GL_NEAREST@GOTPAGE
Lloh63:
	ldr	x23, [x23, _GL_NEAREST@GOTPAGEOFF]
	ldr	w2, [x23]
	blr	x8
	ldr	x8, [x19, #8]
	ldr	w0, [x26]
Lloh64:
	adrp	x9, _GL_TEXTURE_MAG_FILTER@GOTPAGE
Lloh65:
	ldr	x9, [x9, _GL_TEXTURE_MAG_FILTER@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x9]
	ldr	w2, [x23]
	blr	x8
	ldr	x8, [x19, #88]
Lloh67:
	adrp	x23, _GL_FRAMEBUFFER@GOTPAGE
Lloh68:
	ldr	x23, [x23, _GL_FRAMEBUFFER@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w2, [x26]
	ldr	w3, [x20]
	mov	x1, x22
	mov	w4, #0
	mov	w5, #0
	blr	x8
Lloh69:
	adrp	x8, _WINED3DFMT_FLAG_STENCIL@GOTPAGE
Lloh70:
	ldr	x8, [x8, _WINED3DFMT_FLAG_STENCIL@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_13
; %bb.7:
	ldr	x8, [x19, #88]
	ldr	w0, [x23]
Lloh72:
	adrp	x9, _GL_STENCIL_ATTACHMENT@GOTPAGE
Lloh73:
	ldr	x9, [x9, _GL_STENCIL_ATTACHMENT@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x9]
	ldr	w2, [x26]
	ldr	w3, [x20]
	mov	w4, #0
	mov	w5, #0
	blr	x8
	b	LBB0_13
LBB0_8:
	ldr	x8, [x19, #32]
	mov	w0, #1
	mov	x1, x20
	blr	x8
	ldr	x8, [x19, #24]
Lloh75:
	adrp	x26, _GL_TEXTURE_1D@GOTPAGE
Lloh76:
	ldr	x26, [x26, _GL_TEXTURE_1D@GOTPAGEOFF]
	ldr	w0, [x26]
	ldr	w1, [x20]
	blr	x8
	ldr	x8, [x19, #40]
	ldr	w0, [x26]
	mov	w1, #0
	mov	x2, x23
	mov	w3, #16
	mov	w4, #0
	mov	x5, x24
	mov	x6, x25
	mov	x7, #0
	blr	x8
	ldr	x8, [x19, #8]
	ldr	w0, [x26]
Lloh77:
	adrp	x9, _GL_TEXTURE_MIN_FILTER@GOTPAGE
Lloh78:
	ldr	x9, [x9, _GL_TEXTURE_MIN_FILTER@GOTPAGEOFF]
Lloh79:
	ldr	w1, [x9]
Lloh80:
	adrp	x23, _GL_NEAREST@GOTPAGE
Lloh81:
	ldr	x23, [x23, _GL_NEAREST@GOTPAGEOFF]
	ldr	w2, [x23]
	blr	x8
	ldr	x8, [x19, #8]
	ldr	w0, [x26]
Lloh82:
	adrp	x9, _GL_TEXTURE_MAG_FILTER@GOTPAGE
Lloh83:
	ldr	x9, [x9, _GL_TEXTURE_MAG_FILTER@GOTPAGEOFF]
Lloh84:
	ldr	w1, [x9]
	ldr	w2, [x23]
	blr	x8
	ldr	x8, [x19, #96]
Lloh85:
	adrp	x23, _GL_FRAMEBUFFER@GOTPAGE
Lloh86:
	ldr	x23, [x23, _GL_FRAMEBUFFER@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w2, [x26]
	ldr	w3, [x20]
	mov	x1, x22
	mov	w4, #0
	blr	x8
Lloh87:
	adrp	x8, _WINED3DFMT_FLAG_STENCIL@GOTPAGE
Lloh88:
	ldr	x8, [x8, _WINED3DFMT_FLAG_STENCIL@GOTPAGEOFF]
Lloh89:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_13
; %bb.9:
	ldr	x8, [x19, #96]
LBB0_10:
	ldr	w0, [x23]
Lloh90:
	adrp	x9, _GL_STENCIL_ATTACHMENT@GOTPAGE
Lloh91:
	ldr	x9, [x9, _GL_STENCIL_ATTACHMENT@GOTPAGEOFF]
Lloh92:
	ldr	w1, [x9]
	ldr	w2, [x26]
	ldr	w3, [x20]
	mov	w4, #0
	blr	x8
	b	LBB0_13
LBB0_11:
	ldr	x8, [x19, #72]
	mov	w0, #1
	mov	x1, x20
	blr	x8
	ldr	x8, [x19, #64]
Lloh93:
	adrp	x24, _GL_RENDERBUFFER@GOTPAGE
Lloh94:
	ldr	x24, [x24, _GL_RENDERBUFFER@GOTPAGEOFF]
	ldr	w0, [x24]
	ldr	w1, [x20]
	blr	x8
	ldr	x8, [x19, #56]
	ldr	w0, [x24]
	mov	x1, x23
	mov	w2, #16
	mov	w3, #16
	blr	x8
	ldr	x8, [x19, #48]
Lloh95:
	adrp	x23, _GL_FRAMEBUFFER@GOTPAGE
Lloh96:
	ldr	x23, [x23, _GL_FRAMEBUFFER@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w2, [x24]
	ldr	w3, [x20]
	mov	x1, x22
	blr	x8
Lloh97:
	adrp	x8, _WINED3DFMT_FLAG_STENCIL@GOTPAGE
Lloh98:
	ldr	x8, [x8, _WINED3DFMT_FLAG_STENCIL@GOTPAGEOFF]
Lloh99:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_13
; %bb.12:
	ldr	x8, [x19, #48]
	ldr	w0, [x23]
Lloh100:
	adrp	x9, _GL_STENCIL_ATTACHMENT@GOTPAGE
Lloh101:
	ldr	x9, [x9, _GL_STENCIL_ATTACHMENT@GOTPAGEOFF]
Lloh102:
	ldr	w1, [x9]
	ldr	w2, [x24]
	ldr	w3, [x20]
	blr	x8
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	blr	x8
	cbnz	x0, LBB0_13
; %bb.14:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGot	Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.cfi_endproc
	.section	__TEXT,__const
	.p2align	1
lJTI0_0:
	.short	(LBB0_2-LBB0_2)>>2
	.short	(LBB0_4-LBB0_2)>>2
	.short	(LBB0_6-LBB0_2)>>2
	.short	(LBB0_2-LBB0_2)>>2
	.short	(LBB0_8-LBB0_2)>>2
	.short	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_WINED3DFMT_FLAG_DEPTH,4,2      ; @WINED3DFMT_FLAG_DEPTH
	.comm	_GL_DEPTH_ATTACHMENT,4,2        ; @GL_DEPTH_ATTACHMENT
	.comm	_GL_COLOR_ATTACHMENT0,4,2       ; @GL_COLOR_ATTACHMENT0
	.comm	_GL_TEXTURE_1D,4,2              ; @GL_TEXTURE_1D
	.comm	_GL_TEXTURE_MIN_FILTER,4,2      ; @GL_TEXTURE_MIN_FILTER
	.comm	_GL_NEAREST,4,2                 ; @GL_NEAREST
	.comm	_GL_TEXTURE_MAG_FILTER,4,2      ; @GL_TEXTURE_MAG_FILTER
	.comm	_GL_FRAMEBUFFER,4,2             ; @GL_FRAMEBUFFER
	.comm	_WINED3DFMT_FLAG_STENCIL,4,2    ; @WINED3DFMT_FLAG_STENCIL
	.comm	_GL_STENCIL_ATTACHMENT,4,2      ; @GL_STENCIL_ATTACHMENT
	.comm	_GL_TEXTURE_3D,4,2              ; @GL_TEXTURE_3D
	.comm	_GL_TEXTURE_CUBE_MAP_ARB,4,2    ; @GL_TEXTURE_CUBE_MAP_ARB
	.comm	_GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB,4,2 ; @GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB
	.comm	_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB,4,2 ; @GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB
	.comm	_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB,4,2 ; @GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB
	.comm	_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB,4,2 ; @GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB
	.comm	_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB,4,2 ; @GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB
	.comm	_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB,4,2 ; @GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB
	.comm	_GL_RENDERBUFFER,4,2            ; @GL_RENDERBUFFER
	.no_dead_strip	_create_and_bind_fbo_attachment
.subsections_via_symbols
