	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fbo_blitter_supported
_fbo_blitter_supported:                 ## @fbo_blitter_supported
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_wined3d_settings@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ORM_FBO@GOTPCREL(%rip), %rcx
	movq	_FALSE@GOTPCREL(%rip), %rbx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.1:
	cmpl	$0, (%rsi)
	je	LBB0_20
## %bb.2:
	movl	(%r8), %eax
	andl	(%rdx), %eax
	movq	_WINED3D_RESOURCE_ACCESS_GPU@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_20
## %bb.3:
	movq	8(%rdx), %r15
	movq	8(%r8), %r14
	cmpl	$128, %edi
	je	LBB0_13
## %bb.4:
	cmpl	$129, %edi
	jne	LBB0_20
## %bb.5:
	movq	(%r15), %rsi
	movq	_WINED3D_GL_RES_TYPE_TEX_2D@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_WINED3DFMT_FLAG_FBO_ATTACHABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rsi,%rax,4)
	jne	LBB0_7
## %bb.6:
	movq	_WINED3DUSAGE_RENDERTARGET@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, 4(%rdx)
	je	LBB0_20
LBB0_7:
	movq	(%r14), %rdx
	testl	%ecx, (%rdx,%rax,4)
	jne	LBB0_9
## %bb.8:
	movq	_WINED3DUSAGE_RENDERTARGET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r8)
	je	LBB0_20
LBB0_9:
	movl	12(%r15), %eax
	cmpl	12(%r14), %eax
	jne	LBB0_11
## %bb.10:
	movq	_WINED3D_LOCATION_DRAWABLE@GOTPCREL(%rip), %rax
	cmpl	%r9d, (%rax)
	jne	LBB0_19
LBB0_11:
	movl	8(%r15), %edi
	callq	_is_identity_fixup
	testl	%eax, %eax
	je	LBB0_20
## %bb.12:
	movl	8(%r14), %edi
	callq	_is_identity_fixup
	testl	%eax, %eax
	je	LBB0_20
LBB0_19:
	movq	_TRUE@GOTPCREL(%rip), %rbx
	jmp	LBB0_20
LBB0_13:
	movq	(%r15), %rdx
	movq	_WINED3D_GL_RES_TYPE_TEX_2D@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_WINED3DFMT_FLAG_DEPTH@GOTPCREL(%rip), %rsi
	movq	_WINED3DFMT_FLAG_STENCIL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rsi), %ecx
	testl	%ecx, (%rdx,%rax,4)
	je	LBB0_20
## %bb.14:
	movq	(%r14), %rdx
	testl	%ecx, (%rdx,%rax,4)
	je	LBB0_20
## %bb.15:
	movl	8(%r15), %edi
	callq	_is_complex_fixup
	testl	%eax, %eax
	jne	LBB0_20
## %bb.16:
	movl	8(%r14), %edi
	callq	_is_complex_fixup
	testl	%eax, %eax
	jne	LBB0_20
## %bb.17:
	movl	8(%r15), %edi
	callq	_is_scaling_fixup
	testl	%eax, %eax
	jne	LBB0_20
## %bb.18:
	movl	8(%r14), %edi
	callq	_is_scaling_fixup
	testl	%eax, %eax
	je	LBB0_19
LBB0_20:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wined3d_settings,8,3           ## @wined3d_settings
	.comm	_ORM_FBO,8,3                    ## @ORM_FBO
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_WINED3D_RESOURCE_ACCESS_GPU,4,2 ## @WINED3D_RESOURCE_ACCESS_GPU
	.comm	_WINED3D_GL_RES_TYPE_TEX_2D,8,3 ## @WINED3D_GL_RES_TYPE_TEX_2D
	.comm	_WINED3DFMT_FLAG_FBO_ATTACHABLE,4,2 ## @WINED3DFMT_FLAG_FBO_ATTACHABLE
	.comm	_WINED3DUSAGE_RENDERTARGET,4,2  ## @WINED3DUSAGE_RENDERTARGET
	.comm	_WINED3D_LOCATION_DRAWABLE,4,2  ## @WINED3D_LOCATION_DRAWABLE
	.comm	_WINED3DFMT_FLAG_DEPTH,4,2      ## @WINED3DFMT_FLAG_DEPTH
	.comm	_WINED3DFMT_FLAG_STENCIL,4,2    ## @WINED3DFMT_FLAG_STENCIL
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_fbo_blitter_supported
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fbo_blitter_supported
_fbo_blitter_supported:                 ; @fbo_blitter_supported
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _wined3d_settings@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wined3d_settings@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _ORM_FBO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ORM_FBO@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.1:
	ldr	w8, [x1]
	cbz	w8, LBB0_20
; %bb.2:
	ldr	w8, [x2]
	ldr	w9, [x4]
	and	w8, w9, w8
Lloh6:
	adrp	x9, _WINED3D_RESOURCE_ACCESS_GPU@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WINED3D_RESOURCE_ACCESS_GPU@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w8, w9
	b.eq	LBB0_20
; %bb.3:
	ldr	x20, [x2, #8]
	ldr	x19, [x4, #8]
	cmp	w0, #128
	b.eq	LBB0_14
; %bb.4:
	cmp	w0, #129
	b.ne	LBB0_20
; %bb.5:
	ldr	x9, [x20]
Lloh9:
	adrp	x8, _WINED3D_GL_RES_TYPE_TEX_2D@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WINED3D_GL_RES_TYPE_TEX_2D@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	w10, [x9, x8, lsl #2]
Lloh12:
	adrp	x9, _WINED3DFMT_FLAG_FBO_ATTACHABLE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _WINED3DFMT_FLAG_FBO_ATTACHABLE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w10
	b.ne	LBB0_7
; %bb.6:
	ldr	w10, [x2, #4]
Lloh15:
	adrp	x11, _WINED3DUSAGE_RENDERTARGET@GOTPAGE
Lloh16:
	ldr	x11, [x11, _WINED3DUSAGE_RENDERTARGET@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_20
LBB0_7:
	ldr	x10, [x19]
	ldr	w8, [x10, x8, lsl #2]
	tst	w8, w9
	b.ne	LBB0_9
; %bb.8:
	ldr	w8, [x4, #4]
Lloh18:
	adrp	x9, _WINED3DUSAGE_RENDERTARGET@GOTPAGE
Lloh19:
	ldr	x9, [x9, _WINED3DUSAGE_RENDERTARGET@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
LBB0_9:
	ldr	w8, [x20, #12]
	ldr	w9, [x19, #12]
	cmp	w8, w9
	b.ne	LBB0_11
; %bb.10:
Lloh21:
	adrp	x8, _WINED3D_LOCATION_DRAWABLE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _WINED3D_LOCATION_DRAWABLE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	w8, w5
	b.ne	LBB0_13
LBB0_11:
	ldr	w0, [x20, #8]
	bl	_is_identity_fixup
	cbz	w0, LBB0_20
; %bb.12:
	ldr	w0, [x19, #8]
	bl	_is_identity_fixup
	cbz	w0, LBB0_20
LBB0_13:
Lloh24:
	adrp	x8, _TRUE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_21
LBB0_14:
Lloh26:
	adrp	x8, _WINED3D_GL_RES_TYPE_TEX_2D@GOTPAGE
Lloh27:
	ldr	x8, [x8, _WINED3D_GL_RES_TYPE_TEX_2D@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh28:
	ldr	x8, [x8]
	ldr	w10, [x9, x8, lsl #2]
Lloh29:
	adrp	x9, _WINED3DFMT_FLAG_DEPTH@GOTPAGE
Lloh30:
	ldr	x9, [x9, _WINED3DFMT_FLAG_DEPTH@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
Lloh32:
	adrp	x11, _WINED3DFMT_FLAG_STENCIL@GOTPAGE
Lloh33:
	ldr	x11, [x11, _WINED3DFMT_FLAG_STENCIL@GOTPAGEOFF]
Lloh34:
	ldr	w11, [x11]
	orr	w9, w11, w9
	tst	w9, w10
	b.eq	LBB0_20
; %bb.15:
	ldr	x10, [x19]
	ldr	w8, [x10, x8, lsl #2]
	tst	w8, w9
	b.eq	LBB0_20
; %bb.16:
	ldr	w0, [x20, #8]
	bl	_is_complex_fixup
	cbnz	w0, LBB0_20
; %bb.17:
	ldr	w0, [x19, #8]
	bl	_is_complex_fixup
	cbnz	w0, LBB0_20
; %bb.18:
	ldr	w0, [x20, #8]
	bl	_is_scaling_fixup
	cbnz	w0, LBB0_20
; %bb.19:
	ldr	w0, [x19, #8]
	bl	_is_scaling_fixup
	cbz	w0, LBB0_13
LBB0_20:
Lloh35:
	adrp	x8, _FALSE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_21:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_wined3d_settings,8,3           ; @wined3d_settings
	.comm	_ORM_FBO,8,3                    ; @ORM_FBO
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_WINED3D_RESOURCE_ACCESS_GPU,4,2 ; @WINED3D_RESOURCE_ACCESS_GPU
	.comm	_WINED3D_GL_RES_TYPE_TEX_2D,8,3 ; @WINED3D_GL_RES_TYPE_TEX_2D
	.comm	_WINED3DFMT_FLAG_FBO_ATTACHABLE,4,2 ; @WINED3DFMT_FLAG_FBO_ATTACHABLE
	.comm	_WINED3DUSAGE_RENDERTARGET,4,2  ; @WINED3DUSAGE_RENDERTARGET
	.comm	_WINED3D_LOCATION_DRAWABLE,4,2  ; @WINED3D_LOCATION_DRAWABLE
	.comm	_WINED3DFMT_FLAG_DEPTH,4,2      ; @WINED3DFMT_FLAG_DEPTH
	.comm	_WINED3DFMT_FLAG_STENCIL,4,2    ; @WINED3DFMT_FLAG_STENCIL
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_fbo_blitter_supported
.subsections_via_symbols
