	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arbfp_blit_supported
_arbfp_blit_supported:                  ## @arbfp_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
	movl	%edi, %eax
	movq	8(%rsi), %rcx
	movq	(%rcx), %rcx
	movq	_ARB_FRAGMENT_PROGRAM@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movq	_FALSE@GOTPCREL(%rip), %r12
	cmpl	$0, (%rcx,%rdi,4)
	je	LBB0_31
## %bb.1:
	movq	%r9, %r15
	movq	8(%rdx), %rbx
	movq	8(%r8), %r13
	movq	_WINED3D_BLIT_OP_RAW_BLIT@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jne	LBB0_5
## %bb.2:
	movq	(%r13), %rcx
	cmpq	(%rbx), %rcx
	jne	LBB0_5
## %bb.3:
	movq	8(%r13), %rcx
	movq	_WINED3D_GL_RES_TYPE_TEX_2D@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_WINED3DFMT_FLAG_DEPTH@GOTPCREL(%rip), %r9
	movq	_WINED3DFMT_FLAG_STENCIL@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	orl	(%r9), %edi
	testl	%edi, (%rcx,%rax,4)
	je	LBB0_12
## %bb.4:
	movq	_WINED3D_BLIT_OP_DEPTH_BLIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	leal	-129(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_10
## %bb.6:
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.7:
	movq	(%rsi), %rax
	cmpl	$0, (%rax)
	je	LBB0_8
LBB0_10:
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.11:
	movq	_WINED3D_GL_RES_TYPE_TEX_2D@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_12:
	movq	8(%rbx), %rsi
	movq	_WINED3DFMT_FLAG_COMPRESSED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rsi,%rax,4)
	je	LBB0_14
## %bb.13:
	movq	8(%r13), %rsi
	testl	%ecx, (%rsi,%rax,4)
	je	LBB0_15
LBB0_14:
	movl	(%r8), %eax
	andl	(%rdx), %eax
	movq	_WINED3D_RESOURCE_ACCESS_GPU@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_31
LBB0_15:
	movl	16(%rbx), %edi
	callq	_get_complex_fixup
	movl	%eax, %r14d
	movq	_d3d_shader@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TRACE_ON
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	movq	_d3d@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TRACE_ON
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	movl	16(%rbx), %edi
	callq	_dump_color_fixup_desc
LBB0_18:
	movl	16(%r13), %edi
	callq	_is_identity_fixup
	testq	%rax, %rax
	jne	LBB0_22
## %bb.19:
	movq	(%r13), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_21
## %bb.20:
	movq	_WINED3D_LOCATION_DRAWABLE@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_21
LBB0_22:
	movl	16(%rbx), %edi
	callq	_is_identity_fixup
	testq	%rax, %rax
	je	LBB0_24
LBB0_23:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	movq	_TRUE@GOTPCREL(%rip), %r12
	jmp	LBB0_31
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_TRACE
	jmp	LBB0_31
LBB0_24:
	movl	16(%rbx), %edi
	callq	_is_complex_fixup
	testl	%eax, %eax
	je	LBB0_25
## %bb.27:
	leal	-131(%r14), %eax
	cmpl	$4, %eax
	jbe	LBB0_23
## %bb.28:
	leaq	L_.str.7(%rip), %rdi
	movl	%r14d, %esi
	callq	_FIXME
	jmp	LBB0_29
LBB0_21:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_30
LBB0_8:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_30
LBB0_25:
	movq	_wined3d_settings@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ORM_BACKBUFFER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_29
## %bb.26:
	leaq	L_.str.5(%rip), %rdi
	callq	_WARN
	movq	_TRUE@GOTPCREL(%rip), %r12
	jmp	LBB0_31
LBB0_29:
	leaq	L_.str.6(%rip), %rdi
LBB0_30:
	xorl	%eax, %eax
	callq	_TRACE
LBB0_31:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARB_FRAGMENT_PROGRAM,8,3       ## @ARB_FRAGMENT_PROGRAM
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_WINED3D_BLIT_OP_RAW_BLIT,4,2   ## @WINED3D_BLIT_OP_RAW_BLIT
	.comm	_WINED3D_GL_RES_TYPE_TEX_2D,8,3 ## @WINED3D_GL_RES_TYPE_TEX_2D
	.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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Color keying not supported with converted textures.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Unsupported blit_op=%d\n"

	.comm	_WINED3DFMT_FLAG_COMPRESSED,4,2 ## @WINED3DFMT_FLAG_COMPRESSED
	.comm	_WINED3D_RESOURCE_ACCESS_GPU,4,2 ## @WINED3D_RESOURCE_ACCESS_GPU
	.comm	_d3d_shader,4,2                 ## @d3d_shader
	.comm	_d3d,4,2                        ## @d3d
L_.str.2:                               ## @.str.2
	.asciz	"Checking support for fixup:\n"

	.comm	_WINED3D_LOCATION_DRAWABLE,8,3  ## @WINED3D_LOCATION_DRAWABLE
L_.str.3:                               ## @.str.3
	.asciz	"Destination fixups are not supported\n"

L_.str.4:                               ## @.str.4
	.asciz	"[OK]\n"

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

L_.str.6:                               ## @.str.6
	.asciz	"[FAILED]\n"

L_.str.7:                               ## @.str.7
	.asciz	"Unsupported YUV fixup %#x\n"

	.no_dead_strip	_arbfp_blit_supported
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arbfp_blit_supported
_arbfp_blit_supported:                  ; @arbfp_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
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x1, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _ARB_FRAGMENT_PROGRAM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARB_FRAGMENT_PROGRAM@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cbz	w8, LBB0_32
; %bb.1:
	mov	x19, x5
	ldr	x21, [x2, #8]
	ldr	x22, [x4, #8]
Lloh3:
	adrp	x8, _WINED3D_BLIT_OP_RAW_BLIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WINED3D_BLIT_OP_RAW_BLIT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x22]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
Lloh6:
	adrp	x8, _WINED3D_GL_RES_TYPE_TEX_2D@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WINED3D_GL_RES_TYPE_TEX_2D@GOTPAGEOFF]
	ldr	x9, [x22, #8]
Lloh8:
	ldr	x8, [x8]
	ldr	w9, [x9, x8, lsl #2]
Lloh9:
	adrp	x10, _WINED3DFMT_FLAG_DEPTH@GOTPAGE
Lloh10:
	ldr	x10, [x10, _WINED3DFMT_FLAG_DEPTH@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _WINED3DFMT_FLAG_STENCIL@GOTPAGE
Lloh13:
	ldr	x11, [x11, _WINED3DFMT_FLAG_STENCIL@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	orr	w10, w11, w10
	tst	w10, w9
	b.eq	LBB0_10
; %bb.4:
Lloh15:
	adrp	x8, _WINED3D_BLIT_OP_DEPTH_BLIT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _WINED3D_BLIT_OP_DEPTH_BLIT@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
LBB0_5:
	sub	w8, w0, #129
	cmp	w8, #2
	b.lo	LBB0_8
; %bb.6:
	cmp	w0, #128
	b.ne	LBB0_22
; %bb.7:
	ldr	x8, [x1]
	ldr	w8, [x8]
	cbz	w8, LBB0_27
LBB0_8:
	cbz	x21, LBB0_12
; %bb.9:
Lloh18:
	adrp	x8, _WINED3D_GL_RES_TYPE_TEX_2D@GOTPAGE
Lloh19:
	ldr	x8, [x8, _WINED3D_GL_RES_TYPE_TEX_2D@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
LBB0_10:
	ldr	x9, [x21, #8]
	ldr	w10, [x9, x8, lsl #2]
Lloh21:
	adrp	x9, _WINED3DFMT_FLAG_COMPRESSED@GOTPAGE
Lloh22:
	ldr	x9, [x9, _WINED3DFMT_FLAG_COMPRESSED@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w10
	b.eq	LBB0_12
; %bb.11:
	ldr	x10, [x22, #8]
	ldr	w8, [x10, x8, lsl #2]
	tst	w8, w9
	b.eq	LBB0_13
LBB0_12:
	ldr	w8, [x2]
	ldr	w9, [x4]
	and	w8, w9, w8
Lloh24:
	adrp	x9, _WINED3D_RESOURCE_ACCESS_GPU@GOTPAGE
Lloh25:
	ldr	x9, [x9, _WINED3D_RESOURCE_ACCESS_GPU@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w8, w9
	b.eq	LBB0_32
LBB0_13:
	ldr	w0, [x21, #16]
	bl	_get_complex_fixup
	mov	x20, x0
Lloh27:
	adrp	x8, _d3d_shader@GOTPAGE
Lloh28:
	ldr	x8, [x8, _d3d_shader@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_TRACE_ON
	cbz	x0, LBB0_16
; %bb.14:
Lloh30:
	adrp	x8, _d3d@GOTPAGE
Lloh31:
	ldr	x8, [x8, _d3d@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	bl	_TRACE_ON
	cbz	x0, LBB0_16
; %bb.15:
Lloh33:
	adrp	x0, l_.str.2@PAGE
Lloh34:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_TRACE
	ldr	w0, [x21, #16]
	bl	_dump_color_fixup_desc
LBB0_16:
	ldr	w0, [x22, #16]
	bl	_is_identity_fixup
	cbnz	x0, LBB0_19
; %bb.17:
	ldr	x8, [x22]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_26
; %bb.18:
Lloh35:
	adrp	x8, _WINED3D_LOCATION_DRAWABLE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _WINED3D_LOCATION_DRAWABLE@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	cmp	x8, x19
	b.ne	LBB0_26
LBB0_19:
	ldr	w0, [x21, #16]
	bl	_is_identity_fixup
	cbz	x0, LBB0_23
LBB0_20:
Lloh38:
	adrp	x0, l_.str.4@PAGE
Lloh39:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_TRACE
LBB0_21:
Lloh40:
	adrp	x8, _TRUE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_33
LBB0_22:
	str	x0, [sp]
Lloh42:
	adrp	x0, l_.str.1@PAGE
Lloh43:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_31
LBB0_23:
	ldr	w0, [x21, #16]
	bl	_is_complex_fixup
	cbz	w0, LBB0_28
; %bb.24:
	sub	w8, w20, #131
	cmp	w8, #4
	b.ls	LBB0_20
; %bb.25:
Lloh44:
	adrp	x0, l_.str.7@PAGE
Lloh45:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x20
	bl	_FIXME
	b	LBB0_30
LBB0_26:
Lloh46:
	adrp	x0, l_.str.3@PAGE
Lloh47:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_31
LBB0_27:
Lloh48:
	adrp	x0, l_.str@PAGE
Lloh49:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_31
LBB0_28:
Lloh50:
	adrp	x8, _wined3d_settings@GOTPAGE
Lloh51:
	ldr	x8, [x8, _wined3d_settings@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
Lloh53:
	adrp	x9, _ORM_BACKBUFFER@GOTPAGE
Lloh54:
	ldr	x9, [x9, _ORM_BACKBUFFER@GOTPAGEOFF]
Lloh55:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_30
; %bb.29:
Lloh56:
	adrp	x0, l_.str.5@PAGE
Lloh57:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_WARN
	b	LBB0_21
LBB0_30:
Lloh58:
	adrp	x0, l_.str.6@PAGE
Lloh59:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_31:
	bl	_TRACE
LBB0_32:
Lloh60:
	adrp	x8, _FALSE@GOTPAGE
Lloh61:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_33:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.comm	_ARB_FRAGMENT_PROGRAM,8,3       ; @ARB_FRAGMENT_PROGRAM
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_WINED3D_BLIT_OP_RAW_BLIT,4,2   ; @WINED3D_BLIT_OP_RAW_BLIT
	.comm	_WINED3D_GL_RES_TYPE_TEX_2D,8,3 ; @WINED3D_GL_RES_TYPE_TEX_2D
	.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
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Color keying not supported with converted textures.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Unsupported blit_op=%d\n"

	.comm	_WINED3DFMT_FLAG_COMPRESSED,4,2 ; @WINED3DFMT_FLAG_COMPRESSED
	.comm	_WINED3D_RESOURCE_ACCESS_GPU,4,2 ; @WINED3D_RESOURCE_ACCESS_GPU
	.comm	_d3d_shader,4,2                 ; @d3d_shader
	.comm	_d3d,4,2                        ; @d3d
l_.str.2:                               ; @.str.2
	.asciz	"Checking support for fixup:\n"

	.comm	_WINED3D_LOCATION_DRAWABLE,8,3  ; @WINED3D_LOCATION_DRAWABLE
l_.str.3:                               ; @.str.3
	.asciz	"Destination fixups are not supported\n"

l_.str.4:                               ; @.str.4
	.asciz	"[OK]\n"

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

l_.str.6:                               ; @.str.6
	.asciz	"[FAILED]\n"

l_.str.7:                               ; @.str.7
	.asciz	"Unsupported YUV fixup %#x\n"

	.no_dead_strip	_arbfp_blit_supported
.subsections_via_symbols
