	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atifs_color_fixup
_atifs_color_fixup:                     ## @atifs_color_fixup
	.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	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_color_fixup_rg@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_is_same_fixup
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_GL_MOV_ATI@GOTPCREL(%rip), %r12
	movq	_GL_RED_BIT_ATI@GOTPCREL(%rip), %rax
	movq	_GL_GREEN_BIT_ATI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	(%r12), %esi
	movq	_GL_NONE@GOTPCREL(%rip), %r13
	movl	(%r13), %r8d
	movq	_GL_2X_BIT_ATI@GOTPCREL(%rip), %rax
	movq	_GL_BIAS_BIT_ATI@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rax), %ebx
	movq	%r14, %rdi
	movl	%r15d, %edx
	movl	%r15d, %r9d
	pushq	%rbx
	pushq	%r8
	callq	_wrap_op1
	addq	$16, %rsp
	movl	(%r12), %esi
	movq	_GL_BLUE_BIT_ATI@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r13), %r8d
	movq	_GL_ONE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r9d
	movq	%r14, %rdi
	movl	%r15d, %edx
	pushq	%r8
	pushq	%r8
	callq	_wrap_op1
	addq	$16, %rsp
	movl	(%r12), %esi
	movq	_GL_ALPHA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r13), %r8d
	movl	(%rbx), %r9d
	movq	%r14, %rdi
	movl	%r15d, %edx
	pushq	%r8
	jmp	LBB0_4
LBB0_2:
	movq	_color_fixup_rgl@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_is_same_fixup
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_GL_MOV_ATI@GOTPCREL(%rip), %rax
	movq	_GL_RED_BIT_ATI@GOTPCREL(%rip), %rdx
	movq	_GL_GREEN_BIT_ATI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	movl	(%rax), %esi
	movq	_GL_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_GL_2X_BIT_ATI@GOTPCREL(%rip), %rax
	movq	_GL_BIAS_BIT_ATI@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rax), %ebx
	movq	%r14, %rdi
	movl	%r15d, %edx
	movl	%r15d, %r9d
	pushq	%rbx
	jmp	LBB0_4
LBB0_5:
	movq	_color_fixup_rgba@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_is_same_fixup
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_GL_MOV_ATI@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_GL_NONE@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	_GL_2X_BIT_ATI@GOTPCREL(%rip), %rdx
	movq	_GL_BIAS_BIT_ATI@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	orl	(%rdx), %eax
	movq	%r14, %rdi
	movl	%r15d, %edx
	movl	%ecx, %r8d
	movl	%r15d, %r9d
	pushq	%rax
	pushq	%rcx
	callq	_wrap_op1
	addq	$16, %rsp
	movl	(%rbx), %esi
	movq	_GL_ALPHA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r12), %r8d
	movl	(%r13), %eax
	movq	_GL_2X_BIT_ATI@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movq	%r14, %rdi
	movl	%r15d, %edx
	movl	%r15d, %r9d
	pushq	%rax
LBB0_4:
	pushq	%r8
	callq	_wrap_op1
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_color_fixup_rg,4,2             ## @color_fixup_rg
	.comm	_GL_MOV_ATI,4,2                 ## @GL_MOV_ATI
	.comm	_GL_RED_BIT_ATI,4,2             ## @GL_RED_BIT_ATI
	.comm	_GL_GREEN_BIT_ATI,4,2           ## @GL_GREEN_BIT_ATI
	.comm	_GL_NONE,4,2                    ## @GL_NONE
	.comm	_GL_2X_BIT_ATI,4,2              ## @GL_2X_BIT_ATI
	.comm	_GL_BIAS_BIT_ATI,4,2            ## @GL_BIAS_BIT_ATI
	.comm	_GL_BLUE_BIT_ATI,4,2            ## @GL_BLUE_BIT_ATI
	.comm	_GL_ONE,4,2                     ## @GL_ONE
	.comm	_GL_ALPHA,4,2                   ## @GL_ALPHA
	.comm	_color_fixup_rgl,4,2            ## @color_fixup_rgl
	.comm	_color_fixup_rgba,4,2           ## @color_fixup_rgba
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported color fixup.\n"

	.no_dead_strip	_atifs_color_fixup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atifs_color_fixup
_atifs_color_fixup:                     ; @atifs_color_fixup
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, _color_fixup_rg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _color_fixup_rg@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	x21, x1, #0xffffffff
	mov	x0, x21
	mov	x1, x8
	bl	_is_same_fixup
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x21, _GL_MOV_ATI@GOTPAGE
Lloh4:
	ldr	x21, [x21, _GL_MOV_ATI@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh5:
	adrp	x8, _GL_RED_BIT_ATI@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GL_RED_BIT_ATI@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _GL_GREEN_BIT_ATI@GOTPAGE
Lloh9:
	ldr	x9, [x9, _GL_GREEN_BIT_ATI@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w3, w9, w8
Lloh11:
	adrp	x22, _GL_NONE@GOTPAGE
Lloh12:
	ldr	x22, [x22, _GL_NONE@GOTPAGEOFF]
Lloh13:
	adrp	x8, _GL_2X_BIT_ATI@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GL_2X_BIT_ATI@GOTPAGEOFF]
	ldr	w4, [x22]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _GL_BIAS_BIT_ATI@GOTPAGE
Lloh17:
	ldr	x9, [x9, _GL_BIAS_BIT_ATI@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w7, w9, w8
	mov	x0, x20
	mov	x2, x19
	mov	x5, x19
	mov	x6, x4
	bl	_wrap_op1
Lloh19:
	adrp	x8, _GL_BLUE_BIT_ATI@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GL_BLUE_BIT_ATI@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh21:
	ldr	w3, [x8]
	ldr	w4, [x22]
Lloh22:
	adrp	x23, _GL_ONE@GOTPAGE
Lloh23:
	ldr	x23, [x23, _GL_ONE@GOTPAGEOFF]
	ldr	w5, [x23]
	mov	x0, x20
	mov	x2, x19
	mov	x6, x4
	mov	x7, x4
	bl	_wrap_op1
Lloh24:
	adrp	x8, _GL_ALPHA@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GL_ALPHA@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh26:
	ldr	w3, [x8]
	ldr	w4, [x22]
	ldr	w5, [x23]
	mov	x0, x20
	mov	x2, x19
	mov	x6, x4
	mov	x7, x4
	b	LBB0_7
LBB0_2:
Lloh27:
	adrp	x8, _color_fixup_rgl@GOTPAGE
Lloh28:
	ldr	x8, [x8, _color_fixup_rgl@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_is_same_fixup
	cbz	x0, LBB0_4
; %bb.3:
Lloh30:
	adrp	x8, _GL_MOV_ATI@GOTPAGE
Lloh31:
	ldr	x8, [x8, _GL_MOV_ATI@GOTPAGEOFF]
Lloh32:
	adrp	x9, _GL_RED_BIT_ATI@GOTPAGE
Lloh33:
	ldr	x9, [x9, _GL_RED_BIT_ATI@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
Lloh35:
	ldr	w8, [x9]
Lloh36:
	adrp	x9, _GL_GREEN_BIT_ATI@GOTPAGE
Lloh37:
	ldr	x9, [x9, _GL_GREEN_BIT_ATI@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w3, w9, w8
Lloh39:
	adrp	x8, _GL_NONE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _GL_NONE@GOTPAGEOFF]
Lloh41:
	ldr	w4, [x8]
Lloh42:
	adrp	x8, _GL_2X_BIT_ATI@GOTPAGE
Lloh43:
	ldr	x8, [x8, _GL_2X_BIT_ATI@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
Lloh45:
	adrp	x9, _GL_BIAS_BIT_ATI@GOTPAGE
Lloh46:
	ldr	x9, [x9, _GL_BIAS_BIT_ATI@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	b	LBB0_6
LBB0_4:
Lloh48:
	adrp	x8, _color_fixup_rgba@GOTPAGE
Lloh49:
	ldr	x8, [x8, _color_fixup_rgba@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_is_same_fixup
	cbz	x0, LBB0_8
; %bb.5:
Lloh51:
	adrp	x21, _GL_MOV_ATI@GOTPAGE
Lloh52:
	ldr	x21, [x21, _GL_MOV_ATI@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh53:
	adrp	x22, _GL_NONE@GOTPAGE
Lloh54:
	ldr	x22, [x22, _GL_NONE@GOTPAGEOFF]
Lloh55:
	adrp	x23, _GL_2X_BIT_ATI@GOTPAGE
Lloh56:
	ldr	x23, [x23, _GL_2X_BIT_ATI@GOTPAGEOFF]
	ldr	w3, [x22]
	ldr	w8, [x23]
Lloh57:
	adrp	x24, _GL_BIAS_BIT_ATI@GOTPAGE
Lloh58:
	ldr	x24, [x24, _GL_BIAS_BIT_ATI@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w7, w9, w8
	mov	x0, x20
	mov	x2, x19
	mov	x4, x3
	mov	x5, x19
	mov	x6, x3
	bl	_wrap_op1
	ldr	w1, [x21]
Lloh59:
	adrp	x8, _GL_ALPHA@GOTPAGE
Lloh60:
	ldr	x8, [x8, _GL_ALPHA@GOTPAGEOFF]
Lloh61:
	ldr	w3, [x8]
	ldr	w4, [x22]
	ldr	w8, [x23]
	ldr	w9, [x24]
LBB0_6:
	orr	w7, w9, w8
	mov	x0, x20
	mov	x2, x19
	mov	x5, x19
	mov	x6, x4
LBB0_7:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_wrap_op1
LBB0_8:
Lloh62:
	adrp	x0, l_.str@PAGE
Lloh63:
	add	x0, x0, l_.str@PAGEOFF
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ERR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh34
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpAdd	Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.comm	_color_fixup_rg,4,2             ; @color_fixup_rg
	.comm	_GL_MOV_ATI,4,2                 ; @GL_MOV_ATI
	.comm	_GL_RED_BIT_ATI,4,2             ; @GL_RED_BIT_ATI
	.comm	_GL_GREEN_BIT_ATI,4,2           ; @GL_GREEN_BIT_ATI
	.comm	_GL_NONE,4,2                    ; @GL_NONE
	.comm	_GL_2X_BIT_ATI,4,2              ; @GL_2X_BIT_ATI
	.comm	_GL_BIAS_BIT_ATI,4,2            ; @GL_BIAS_BIT_ATI
	.comm	_GL_BLUE_BIT_ATI,4,2            ; @GL_BLUE_BIT_ATI
	.comm	_GL_ONE,4,2                     ; @GL_ONE
	.comm	_GL_ALPHA,4,2                   ; @GL_ALPHA
	.comm	_color_fixup_rgl,4,2            ; @color_fixup_rgl
	.comm	_color_fixup_rgba,4,2           ; @color_fixup_rgba
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported color fixup.\n"

	.no_dead_strip	_atifs_color_fixup
.subsections_via_symbols
