	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ffp_blit_supported
_ffp_blit_supported:                    ## @ffp_blit_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movl	%edi, %eax
	movq	8(%rdx), %r14
	movq	8(%r8), %r12
	testq	%r14, %r14
	je	LBB0_3
## %bb.1:
	movq	(%r14), %rbx
	movq	_WINED3D_GL_RES_TYPE_TEX_2D@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_WINED3DFMT_FLAG_COMPRESSED@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	testl	%edi, (%rbx,%rcx,4)
	je	LBB0_3
## %bb.2:
	movq	(%r12), %rbx
	testl	%edi, (%rbx,%rcx,4)
	je	LBB0_6
LBB0_3:
	movl	(%r15), %ecx
	andl	(%rdx), %ecx
	movq	_WINED3D_RESOURCE_ACCESS_GPU@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_4
LBB0_6:
	movq	_WINED3D_BLIT_OP_RAW_BLIT@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jne	LBB0_10
## %bb.7:
	movq	8(%r12), %rcx
	cmpq	8(%r14), %rcx
	jne	LBB0_10
## %bb.8:
	movq	(%r12), %rax
	movq	_WINED3D_GL_RES_TYPE_TEX_2D@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_WINED3DFMT_FLAG_DEPTH@GOTPCREL(%rip), %rdx
	movq	_WINED3DFMT_FLAG_STENCIL@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	orl	(%rdx), %edi
	testl	%edi, (%rax,%rcx,4)
	je	LBB0_14
## %bb.9:
	movq	_WINED3D_BLIT_OP_DEPTH_BLIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	leal	-129(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_11
LBB0_14:
	movq	(%rsi), %rax
	movq	(%rax), %rax
	movq	_WINED3D_GL_LEGACY_CONTEXT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_FALSE@GOTPCREL(%rip), %r13
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_30
## %bb.15:
	movl	%r9d, %ebx
	movq	_d3d@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TRACE_ON
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	movl	16(%r14), %edi
	callq	_dump_color_fixup_desc
LBB0_17:
	movl	16(%r14), %edi
	callq	_is_identity_fixup
	testl	%eax, %eax
	je	LBB0_19
## %bb.18:
	movl	16(%r12), %edi
	callq	_is_identity_fixup
	testl	%eax, %eax
	jne	LBB0_23
LBB0_19:
	movq	_wined3d_settings@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ORM_BACKBUFFER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_25
## %bb.20:
	movq	8(%r12), %rax
	cmpq	8(%r14), %rax
	jne	LBB0_25
## %bb.21:
	movq	_WINED3D_LOCATION_DRAWABLE@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_25
## %bb.22:
	leaq	L_.str.3(%rip), %rdi
	callq	_WARN
LBB0_23:
	movq	_WINED3DUSAGE_RENDERTARGET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r15)
	je	LBB0_27
## %bb.24:
	movq	_TRUE@GOTPCREL(%rip), %r13
	jmp	LBB0_30
LBB0_4:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_5
LBB0_11:
	cmpl	$128, %eax
	jne	LBB0_28
## %bb.12:
	movq	8(%rsi), %rax
	cmpl	$0, (%rax)
	je	LBB0_14
## %bb.13:
	leaq	L_.str.1(%rip), %rdi
LBB0_5:
	xorl	%eax, %eax
	callq	_TRACE
	jmp	LBB0_29
LBB0_28:
	leaq	L_.str.6(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_TRACE
LBB0_29:
	movq	_FALSE@GOTPCREL(%rip), %r13
	jmp	LBB0_30
LBB0_25:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_26
LBB0_27:
	leaq	L_.str.5(%rip), %rdi
LBB0_26:
	xorl	%eax, %eax
	callq	_TRACE
LBB0_30:
	movl	(%r13), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3D_GL_RES_TYPE_TEX_2D,8,3 ## @WINED3D_GL_RES_TYPE_TEX_2D
	.comm	_WINED3DFMT_FLAG_COMPRESSED,4,2 ## @WINED3DFMT_FLAG_COMPRESSED
	.comm	_WINED3D_RESOURCE_ACCESS_GPU,4,2 ## @WINED3D_RESOURCE_ACCESS_GPU
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Source or destination resource is not GPU accessible.\n"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_WINED3D_BLIT_OP_RAW_BLIT,4,2   ## @WINED3D_BLIT_OP_RAW_BLIT
	.comm	_WINED3DFMT_FLAG_DEPTH,4,2      ## @WINED3DFMT_FLAG_DEPTH
	.comm	_WINED3DFMT_FLAG_STENCIL,4,2    ## @WINED3DFMT_FLAG_STENCIL
	.comm	_WINED3D_BLIT_OP_DEPTH_BLIT,4,2 ## @WINED3D_BLIT_OP_DEPTH_BLIT
L_.str.1:                               ## @.str.1
	.asciz	"Color keying requires converted textures.\n"

	.comm	_WINED3D_GL_LEGACY_CONTEXT,8,3  ## @WINED3D_GL_LEGACY_CONTEXT
	.comm	_d3d,4,2                        ## @d3d
L_.str.2:                               ## @.str.2
	.asciz	"Checking support for fixup:\n"

	.comm	_wined3d_settings,4,2           ## @wined3d_settings
	.comm	_ORM_BACKBUFFER,4,2             ## @ORM_BACKBUFFER
	.comm	_WINED3D_LOCATION_DRAWABLE,4,2  ## @WINED3D_LOCATION_DRAWABLE
L_.str.3:                               ## @.str.3
	.asciz	"Claiming fixup support because of ORM_BACKBUFFER.\n"

L_.str.4:                               ## @.str.4
	.asciz	"Fixups are not supported.\n"

	.comm	_WINED3DUSAGE_RENDERTARGET,4,2  ## @WINED3DUSAGE_RENDERTARGET
L_.str.5:                               ## @.str.5
	.asciz	"Can only blit to render targets.\n"

	.comm	_TRUE,4,2                       ## @TRUE
L_.str.6:                               ## @.str.6
	.asciz	"Unsupported blit operation %#x.\n"

	.no_dead_strip	_ffp_blit_supported
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ffp_blit_supported
_ffp_blit_supported:                    ; @ffp_blit_supported
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x5
	mov	x19, x4
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x21, [x2, #8]
	ldr	x22, [x4, #8]
	cbz	x21, LBB0_3
; %bb.1:
	ldr	x9, [x21]
Lloh0:
	adrp	x8, _WINED3D_GL_RES_TYPE_TEX_2D@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WINED3D_GL_RES_TYPE_TEX_2D@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w10, [x9, x8, lsl #2]
Lloh3:
	adrp	x9, _WINED3DFMT_FLAG_COMPRESSED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WINED3DFMT_FLAG_COMPRESSED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w10
	b.eq	LBB0_3
; %bb.2:
	ldr	x10, [x22]
	ldr	w8, [x10, x8, lsl #2]
	tst	w8, w9
	b.eq	LBB0_4
LBB0_3:
	ldr	w8, [x2]
	ldr	w9, [x19]
	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
LBB0_4:
Lloh9:
	adrp	x8, _WINED3D_BLIT_OP_RAW_BLIT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WINED3D_BLIT_OP_RAW_BLIT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_8
; %bb.5:
	ldr	x8, [x22, #8]
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
Lloh12:
	adrp	x8, _WINED3D_GL_RES_TYPE_TEX_2D@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WINED3D_GL_RES_TYPE_TEX_2D@GOTPAGEOFF]
	ldr	x9, [x22]
Lloh14:
	ldr	x8, [x8]
	ldr	w8, [x9, x8, lsl #2]
Lloh15:
	adrp	x9, _WINED3DFMT_FLAG_DEPTH@GOTPAGE
Lloh16:
	ldr	x9, [x9, _WINED3DFMT_FLAG_DEPTH@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _WINED3DFMT_FLAG_STENCIL@GOTPAGE
Lloh19:
	ldr	x10, [x10, _WINED3DFMT_FLAG_STENCIL@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_9
; %bb.7:
Lloh21:
	adrp	x8, _WINED3D_BLIT_OP_DEPTH_BLIT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _WINED3D_BLIT_OP_DEPTH_BLIT@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
LBB0_8:
	sub	w8, w0, #129
	cmp	w8, #2
	b.hs	LBB0_21
LBB0_9:
	ldr	x8, [x1]
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _WINED3D_GL_LEGACY_CONTEXT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _WINED3D_GL_LEGACY_CONTEXT@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cbz	w8, LBB0_28
; %bb.10:
Lloh27:
	adrp	x8, _d3d@GOTPAGE
Lloh28:
	ldr	x8, [x8, _d3d@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_TRACE_ON
	cbz	w0, LBB0_12
; %bb.11:
Lloh30:
	adrp	x0, l_.str.2@PAGE
Lloh31:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_TRACE
	ldr	w0, [x21, #16]
	bl	_dump_color_fixup_desc
LBB0_12:
	ldr	w0, [x21, #16]
	bl	_is_identity_fixup
	cbz	w0, LBB0_14
; %bb.13:
	ldr	w0, [x22, #16]
	bl	_is_identity_fixup
	cbnz	w0, LBB0_18
LBB0_14:
Lloh32:
	adrp	x8, _wined3d_settings@GOTPAGE
Lloh33:
	ldr	x8, [x8, _wined3d_settings@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x9, _ORM_BACKBUFFER@GOTPAGE
Lloh36:
	ldr	x9, [x9, _ORM_BACKBUFFER@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_25
; %bb.15:
	ldr	x8, [x22, #8]
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.ne	LBB0_25
; %bb.16:
Lloh38:
	adrp	x8, _WINED3D_LOCATION_DRAWABLE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _WINED3D_LOCATION_DRAWABLE@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_25
; %bb.17:
Lloh41:
	adrp	x0, l_.str.3@PAGE
Lloh42:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_WARN
LBB0_18:
	ldr	w8, [x19, #4]
Lloh43:
	adrp	x9, _WINED3DUSAGE_RENDERTARGET@GOTPAGE
Lloh44:
	ldr	x9, [x9, _WINED3DUSAGE_RENDERTARGET@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_26
; %bb.19:
Lloh46:
	adrp	x8, _TRUE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_29
LBB0_20:
Lloh48:
	adrp	x0, l_.str@PAGE
Lloh49:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_27
LBB0_21:
	cmp	w0, #128
	b.ne	LBB0_24
; %bb.22:
	ldr	x8, [x1, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_9
; %bb.23:
Lloh50:
	adrp	x0, l_.str.1@PAGE
Lloh51:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_27
LBB0_24:
	str	x0, [sp]
Lloh52:
	adrp	x0, l_.str.6@PAGE
Lloh53:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_27
LBB0_25:
Lloh54:
	adrp	x0, l_.str.4@PAGE
Lloh55:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_27
LBB0_26:
Lloh56:
	adrp	x0, l_.str.5@PAGE
Lloh57:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_27:
	bl	_TRACE
LBB0_28:
Lloh58:
	adrp	x8, _FALSE@GOTPAGE
Lloh59:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_29:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	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 AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh58, Lloh59
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3D_GL_RES_TYPE_TEX_2D,8,3 ; @WINED3D_GL_RES_TYPE_TEX_2D
	.comm	_WINED3DFMT_FLAG_COMPRESSED,4,2 ; @WINED3DFMT_FLAG_COMPRESSED
	.comm	_WINED3D_RESOURCE_ACCESS_GPU,4,2 ; @WINED3D_RESOURCE_ACCESS_GPU
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Source or destination resource is not GPU accessible.\n"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_WINED3D_BLIT_OP_RAW_BLIT,4,2   ; @WINED3D_BLIT_OP_RAW_BLIT
	.comm	_WINED3DFMT_FLAG_DEPTH,4,2      ; @WINED3DFMT_FLAG_DEPTH
	.comm	_WINED3DFMT_FLAG_STENCIL,4,2    ; @WINED3DFMT_FLAG_STENCIL
	.comm	_WINED3D_BLIT_OP_DEPTH_BLIT,4,2 ; @WINED3D_BLIT_OP_DEPTH_BLIT
l_.str.1:                               ; @.str.1
	.asciz	"Color keying requires converted textures.\n"

	.comm	_WINED3D_GL_LEGACY_CONTEXT,8,3  ; @WINED3D_GL_LEGACY_CONTEXT
	.comm	_d3d,4,2                        ; @d3d
l_.str.2:                               ; @.str.2
	.asciz	"Checking support for fixup:\n"

	.comm	_wined3d_settings,4,2           ; @wined3d_settings
	.comm	_ORM_BACKBUFFER,4,2             ; @ORM_BACKBUFFER
	.comm	_WINED3D_LOCATION_DRAWABLE,4,2  ; @WINED3D_LOCATION_DRAWABLE
l_.str.3:                               ; @.str.3
	.asciz	"Claiming fixup support because of ORM_BACKBUFFER.\n"

l_.str.4:                               ; @.str.4
	.asciz	"Fixups are not supported.\n"

	.comm	_WINED3DUSAGE_RENDERTARGET,4,2  ; @WINED3DUSAGE_RENDERTARGET
l_.str.5:                               ; @.str.5
	.asciz	"Can only blit to render targets.\n"

	.comm	_TRUE,4,2                       ; @TRUE
l_.str.6:                               ; @.str.6
	.asciz	"Unsupported blit operation %#x.\n"

	.no_dead_strip	_ffp_blit_supported
.subsections_via_symbols
