	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function context_apply_draw_state
_context_apply_draw_state:              ## @context_apply_draw_state
	.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, %r14
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	88(%rdi), %rbx
	movq	96(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	32(%rdx), %r15
	movl	16(%rbx), %edi
	movl	(%r15), %edx
	movl	4(%r15), %esi
	callq	_have_framebuffer_attachment
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	24(%rbx), %rax
	movq	_ARB_FRAMEBUFFER_NO_ATTACHMENTS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_2
## %bb.3:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_context_set_render_offscreen
LBB0_4:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_wined3d_settings@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ORM_FBO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	movq	_STATE_FRAMEBUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_isStateDirty
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	(%r15), %esi
	movq	%r12, %rdi
	callq	_context_validate_onscreen_formats
LBB0_7:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_context_update_tex_unit_map
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_context_preload_textures
	movq	_WINED3D_SHADER_TYPE_COMPUTE@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$-2, %edx
	roll	%cl, %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_context_load_shader_resources
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movq	_WINED3D_SHADER_TYPE_PIXEL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %esi
	movq	_WINED3D_PIPELINE_GRAPHICS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edx
	movq	%r12, %rdi
	callq	_context_load_unordered_access_resources
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_context_load_stream_output_buffers
	movq	_STATE_VDECL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_isStateDirty
	testq	%rax, %rax
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_16
## %bb.8:
	movq	_STATE_STREAMSRC@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r12, %rdi
	callq	_isStateDirty
	testq	%rax, %rax
	jne	LBB0_16
## %bb.9:
	movq	_WINED3D_SHADER_TYPE_VERTEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_STATE_SHADER
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_isStateDirty
	testq	%rax, %rax
	jne	LBB0_16
## %bb.10:
	movl	64(%r12), %r13d
	testl	%r13d, %r13d
	je	LBB0_15
## %bb.11:
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	%r13d, %eax
	sarl	%eax
	incl	%ebx
	cmpl	$1, %r13d
	movl	%eax, %r13d
	jbe	LBB0_15
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	testb	$1, %r13b
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	24(%r14), %rax
	movq	80(%r12), %rcx
	movl	%ebx, %edx
	movq	(%rcx,%rdx,8), %rcx
	movq	(%rax,%rcx,8), %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_wined3d_buffer_load
	jmp	LBB0_14
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_FIXME
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_42
LBB0_15:
	movl	(%r15), %esi
	movq	%r12, %rdi
	callq	_isStateDirty
	testq	%rax, %rax
	je	LBB0_17
LBB0_16:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_context_update_stream_info
LBB0_17:
	movq	16(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.18:
	cmpq	$0, 72(%r12)
	je	LBB0_20
## %bb.19:
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_wined3d_buffer_load
LBB0_21:
	cmpl	$0, (%r12)
	je	LBB0_27
LBB0_22:
	xorl	%r15d, %r15d
	movq	_CHAR_BIT@GOTPCREL(%rip), %r13
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	%rbx, %rax
	xorl	%edx, %edx
	divq	%rcx
LBB0_26:                                ##   in Loop: Header=BB0_23 Depth=1
	decl	%ecx
	andl	%ebx, %ecx
	movl	$-2, %edx
                                        ## kill: def $cl killed $cl killed $rcx
	roll	%cl, %edx
	movq	16(%r12), %rcx
	cltq
	andl	%edx, (%rcx,%rax,4)
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	callq	*(%rax,%rbx,8)
	incq	%r15
	movl	(%r12), %eax
	cmpq	%rax, %r15
	jae	LBB0_27
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movslq	(%rax,%r15,4), %rbx
	movslq	(%r13), %rcx
	shlq	$2, %rcx
	movq	%rbx, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_26
LBB0_20:
	movq	%r12, %rsi
	callq	_wined3d_buffer_load_sysmem
	cmpl	$0, (%r12)
	jne	LBB0_22
LBB0_27:
	movl	24(%r12), %eax
	movq	_WINED3D_SHADER_TYPE_COMPUTE@GOTPCREL(%rip), %r15
	movb	(%r15), %cl
	btrl	%ecx, %eax
	testl	%eax, %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_29
## %bb.28:
	movq	8(%rbx), %rax
	movl	(%rbx), %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	*8(%rax)
	movb	(%r15), %cl
	movl	$1, %eax
	shll	%cl, %eax
	andl	%eax, 24(%r12)
LBB0_29:
	cmpq	$0, 56(%r12)
	je	LBB0_31
## %bb.30:
	movq	8(%rbx), %rax
	movl	(%rbx), %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	*(%rax)
	movq	$0, 56(%r12)
LBB0_31:
	cmpq	$0, 48(%r12)
	je	LBB0_37
## %bb.32:
	movq	_WINED3D_SHADER_TYPE_GRAPHICS_COUNT@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	je	LBB0_35
## %bb.33:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_context_bind_shader_resources
	incl	%ebx
	cmpl	(%r15), %ebx
	jb	LBB0_34
LBB0_35:
	movq	$0, 48(%r12)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rax
	cmpq	8(%rcx), %rax
	jne	LBB0_37
## %bb.36:
	movl	$1, 28(%r12)
LBB0_37:
	cmpq	$0, 40(%r12)
	je	LBB0_39
## %bb.38:
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movq	_WINED3D_SHADER_TYPE_PIXEL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %esi
	movq	_WINED3D_PIPELINE_GRAPHICS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edx
	movq	%r12, %rdi
	callq	_context_bind_unordered_access_views
	movq	$0, 40(%r12)
	movl	$1, 32(%r12)
LBB0_39:
	movq	_wined3d_settings@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ORM_FBO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_41
## %bb.40:
	movq	_GL_FRAMEBUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_context_check_fbo_status
LBB0_41:
	movl	$0, (%r12)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r12)
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_42:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARB_FRAMEBUFFER_NO_ATTACHMENTS,8,3 ## @ARB_FRAMEBUFFER_NO_ATTACHMENTS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OpenGL implementation does not support framebuffers with no attachments.\n"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_wined3d_settings,8,3           ## @wined3d_settings
	.comm	_ORM_FBO,8,3                    ## @ORM_FBO
	.comm	_STATE_FRAMEBUFFER,4,2          ## @STATE_FRAMEBUFFER
	.comm	_WINED3D_SHADER_TYPE_COMPUTE,4,2 ## @WINED3D_SHADER_TYPE_COMPUTE
	.comm	_WINED3D_SHADER_TYPE_PIXEL,8,3  ## @WINED3D_SHADER_TYPE_PIXEL
	.comm	_WINED3D_PIPELINE_GRAPHICS,8,3  ## @WINED3D_PIPELINE_GRAPHICS
	.comm	_STATE_VDECL,4,2                ## @STATE_VDECL
	.comm	_STATE_STREAMSRC,4,2            ## @STATE_STREAMSRC
	.comm	_WINED3D_SHADER_TYPE_VERTEX,4,2 ## @WINED3D_SHADER_TYPE_VERTEX
	.comm	_CHAR_BIT,4,2                   ## @CHAR_BIT
	.comm	_WINED3D_SHADER_TYPE_GRAPHICS_COUNT,4,2 ## @WINED3D_SHADER_TYPE_GRAPHICS_COUNT
	.comm	_GL_FRAMEBUFFER,4,2             ## @GL_FRAMEBUFFER
	.no_dead_strip	_context_apply_draw_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function context_apply_draw_state
_context_apply_draw_state:              ; @context_apply_draw_state
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldp	x22, x27, [x0, #88]
	ldr	x23, [x2, #32]
	ldr	w0, [x22, #16]
	ldp	w2, w1, [x23]
	bl	_have_framebuffer_attachment
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	x8, [x22, #24]
Lloh0:
	adrp	x9, _ARB_FRAMEBUFFER_NO_ATTACHMENTS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARB_FRAMEBUFFER_NO_ATTACHMENTS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cbz	w8, LBB0_14
; %bb.2:
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_context_set_render_offscreen
LBB0_3:
Lloh6:
	adrp	x8, _wined3d_settings@GOTPAGE
Lloh7:
	ldr	x8, [x8, _wined3d_settings@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _ORM_FBO@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ORM_FBO@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
Lloh12:
	adrp	x8, _STATE_FRAMEBUFFER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _STATE_FRAMEBUFFER@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_isStateDirty
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_context_validate_onscreen_formats
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	bl	_context_update_tex_unit_map
	mov	x0, x19
	mov	x1, x20
	bl	_context_preload_textures
Lloh15:
	adrp	x28, _WINED3D_SHADER_TYPE_COMPUTE@GOTPAGE
Lloh16:
	ldr	x28, [x28, _WINED3D_SHADER_TYPE_COMPUTE@GOTPAGEOFF]
	ldr	w8, [x28]
	mov	w9, #1
	lsl	w8, w9, w8
	mvn	w2, w8
	mov	x0, x19
	mov	x1, x20
	bl	_context_load_shader_resources
Lloh17:
	adrp	x8, _WINED3D_SHADER_TYPE_PIXEL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WINED3D_SHADER_TYPE_PIXEL@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldp	x10, x9, [x20]
	ldr	w1, [x9, x8, lsl #2]
Lloh20:
	adrp	x26, _WINED3D_PIPELINE_GRAPHICS@GOTPAGE
Lloh21:
	ldr	x26, [x26, _WINED3D_PIPELINE_GRAPHICS@GOTPAGEOFF]
	ldr	x8, [x26]
	ldr	w2, [x10, x8, lsl #2]
	mov	x0, x19
	bl	_context_load_unordered_access_resources
	mov	x0, x19
	mov	x1, x20
	bl	_context_load_stream_output_buffers
Lloh22:
	adrp	x8, _STATE_VDECL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _STATE_VDECL@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_isStateDirty
	cbnz	x0, LBB0_16
; %bb.7:
Lloh25:
	adrp	x23, _STATE_STREAMSRC@GOTPAGE
Lloh26:
	ldr	x23, [x23, _STATE_STREAMSRC@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_isStateDirty
	cbnz	x0, LBB0_16
; %bb.8:
Lloh27:
	adrp	x8, _WINED3D_SHADER_TYPE_VERTEX@GOTPAGE
Lloh28:
	ldr	x8, [x8, _WINED3D_SHADER_TYPE_VERTEX@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_STATE_SHADER
	mov	x1, x0
	mov	x0, x19
	bl	_isStateDirty
	cbnz	x0, LBB0_16
; %bb.9:
	ldr	w24, [x19, #64]
	cbz	w24, LBB0_15
; %bb.10:
	mov	w25, #0
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	asr	w8, w24, #1
	add	w25, w25, #1
	cmp	w24, #1
	mov	x24, x8
	b.ls	LBB0_15
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	tbz	w24, #0, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x20, #24]
	ldr	x9, [x19, #80]
	ldr	x9, [x9, w25, uxtw #3]
	ldr	x0, [x8, x9, lsl #3]
	mov	x1, x19
	mov	x2, x20
	bl	_wined3d_buffer_load
	b	LBB0_11
LBB0_14:
Lloh30:
	adrp	x0, l_.str@PAGE
Lloh31:
	add	x0, x0, l_.str@PAGEOFF
	bl	_FIXME
Lloh32:
	adrp	x8, _FALSE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_38
LBB0_15:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_isStateDirty
	cbz	x0, LBB0_17
LBB0_16:
	mov	x0, x19
	mov	x1, x20
	bl	_context_update_stream_info
LBB0_17:
	ldr	x0, [x20, #16]
	cbz	x0, LBB0_20
; %bb.18:
	ldr	x8, [x19, #72]
	cbz	x8, LBB0_39
; %bb.19:
	mov	x1, x19
	mov	x2, x20
	bl	_wined3d_buffer_load
LBB0_20:
	ldr	w8, [x19]
	cbz	w8, LBB0_23
LBB0_21:
	mov	x23, #0
Lloh34:
	adrp	x24, _CHAR_BIT@GOTPAGE
Lloh35:
	ldr	x24, [x24, _CHAR_BIT@GOTPAGEOFF]
	mov	w25, #1
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x19, #8]
	ldrsw	x2, [x8, x23, lsl #2]
	ldrsw	x8, [x24]
	lsl	x8, x8, #2
	udiv	x10, x2, x8
	sub	w8, w8, #1
	and	w8, w8, w2
	sbfiz	x10, x10, #2, #32
	ldr	w11, [x9, x10]
	lsl	w8, w25, w8
	bic	w8, w11, w8
	str	w8, [x9, x10]
	ldr	x8, [x27, x2, lsl #3]
	mov	x0, x19
	mov	x1, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	blr	x8
	add	x23, x23, #1
	ldr	w8, [x19]
	cmp	x23, x8
	b.lo	LBB0_22
LBB0_23:
	ldr	w8, [x19, #24]
	ldr	w9, [x28]
	mov	w23, #1
	lsl	w9, w23, w9
	bics	wzr, w8, w9
	b.eq	LBB0_25
; %bb.24:
	ldr	x8, [x21, #8]
	ldr	x8, [x8, #8]
	ldr	w0, [x21]
	mov	x1, x19
	mov	x2, x20
	blr	x8
	ldr	w8, [x28]
	lsl	w8, w23, w8
	ldr	w9, [x19, #24]
	and	w8, w9, w8
	str	w8, [x19, #24]
LBB0_25:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_27
; %bb.26:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	w0, [x21]
	mov	x1, x19
	mov	x2, x20
	blr	x8
	str	xzr, [x19, #56]
LBB0_27:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_33
; %bb.28:
Lloh36:
	adrp	x23, _WINED3D_SHADER_TYPE_GRAPHICS_COUNT@GOTPAGE
Lloh37:
	ldr	x23, [x23, _WINED3D_SHADER_TYPE_GRAPHICS_COUNT@GOTPAGEOFF]
	ldr	w8, [x23]
	cbz	w8, LBB0_31
; %bb.29:
	mov	w21, #0
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_context_bind_shader_resources
	add	w21, w21, #1
	ldr	w8, [x23]
	cmp	w21, w8
	b.lo	LBB0_30
LBB0_31:
	str	xzr, [x19, #48]
	ldp	x8, x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_33
; %bb.32:
	mov	w8, #1
	str	w8, [x19, #28]
LBB0_33:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_35
; %bb.34:
Lloh38:
	adrp	x8, _WINED3D_SHADER_TYPE_PIXEL@GOTPAGE
Lloh39:
	ldr	x8, [x8, _WINED3D_SHADER_TYPE_PIXEL@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	ldp	x10, x9, [x20]
	ldr	w1, [x9, x8, lsl #2]
	ldr	x8, [x26]
	ldr	w2, [x10, x8, lsl #2]
	mov	x0, x19
	bl	_context_bind_unordered_access_views
	str	xzr, [x19, #40]
	mov	w8, #1
	str	w8, [x19, #32]
LBB0_35:
Lloh41:
	adrp	x8, _wined3d_settings@GOTPAGE
Lloh42:
	ldr	x8, [x8, _wined3d_settings@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
Lloh44:
	adrp	x9, _ORM_FBO@GOTPAGE
Lloh45:
	ldr	x9, [x9, _ORM_FBO@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_37
; %bb.36:
Lloh47:
	adrp	x8, _GL_FRAMEBUFFER@GOTPAGE
Lloh48:
	ldr	x8, [x8, _GL_FRAMEBUFFER@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_context_check_fbo_status
LBB0_37:
	str	wzr, [x19]
Lloh50:
	adrp	x8, _FALSE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	str	w8, [x19, #36]
Lloh53:
	adrp	x8, _TRUE@GOTPAGE
Lloh54:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_38:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_39:
	mov	x1, x19
	bl	_wined3d_buffer_load_sysmem
	ldr	w8, [x19]
	cbnz	w8, LBB0_21
	b	LBB0_23
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_ARB_FRAMEBUFFER_NO_ATTACHMENTS,8,3 ; @ARB_FRAMEBUFFER_NO_ATTACHMENTS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OpenGL implementation does not support framebuffers with no attachments.\n"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_wined3d_settings,8,3           ; @wined3d_settings
	.comm	_ORM_FBO,8,3                    ; @ORM_FBO
	.comm	_STATE_FRAMEBUFFER,4,2          ; @STATE_FRAMEBUFFER
	.comm	_WINED3D_SHADER_TYPE_COMPUTE,4,2 ; @WINED3D_SHADER_TYPE_COMPUTE
	.comm	_WINED3D_SHADER_TYPE_PIXEL,8,3  ; @WINED3D_SHADER_TYPE_PIXEL
	.comm	_WINED3D_PIPELINE_GRAPHICS,8,3  ; @WINED3D_PIPELINE_GRAPHICS
	.comm	_STATE_VDECL,4,2                ; @STATE_VDECL
	.comm	_STATE_STREAMSRC,4,2            ; @STATE_STREAMSRC
	.comm	_WINED3D_SHADER_TYPE_VERTEX,4,2 ; @WINED3D_SHADER_TYPE_VERTEX
	.comm	_CHAR_BIT,4,2                   ; @CHAR_BIT
	.comm	_WINED3D_SHADER_TYPE_GRAPHICS_COUNT,4,2 ; @WINED3D_SHADER_TYPE_GRAPHICS_COUNT
	.comm	_GL_FRAMEBUFFER,4,2             ; @GL_FRAMEBUFFER
	.no_dead_strip	_context_apply_draw_state
.subsections_via_symbols
