	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ANTIC_UpdateArtifacting        ## -- Begin function ANTIC_UpdateArtifacting
	.p2align	4, 0x90
_ANTIC_UpdateArtifacting:               ## @ANTIC_UpdateArtifacting
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ANTIC_artif_mode@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_ANTIC_artif_new@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_draw_antic_2_artif_new@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_draw_antic_table@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, 12(%rdx)
	movl	%ecx, 8(%rdx)
	movq	_draw_antic_f_artif_new@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 60(%rdx)
	leaq	-1(%rax), %rcx
	movq	%rcx, %rdx
	shlq	$4, %rdx
	leaq	_ANTIC_UpdateArtifacting.new_art_colour_table(%rip), %rsi
	movq	_art_colour1_new@GOTPCREL(%rip), %rdi
	movq	(%rdx,%rsi), %rbx
	movq	8(%rdx,%rsi), %rdx
	movq	%rbx, (%rdi)
	movq	_art_colour2_new@GOTPCREL(%rip), %rsi
	movq	%rdx, (%rsi)
	jmp	LBB0_5
LBB0_1:
	movq	_draw_antic_2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_draw_antic_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 12(%rcx)
	movl	%eax, 8(%rcx)
	movq	_draw_antic_f@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rcx)
LBB0_25:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_draw_antic_2_artif@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_draw_antic_table@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, 12(%rdx)
	movl	%ecx, 8(%rdx)
	movq	_draw_antic_f_artif@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 60(%rdx)
	leal	-1(%rax), %ecx
	movslq	%ecx, %rcx
LBB0_5:
	shlq	$5, %rcx
	cmpl	$5, %eax
	movl	$64, %eax
	cmovlq	%rcx, %rax
	leaq	_ANTIC_UpdateArtifacting.art_colour_table(%rip), %rcx
	movq	_ANTIC_cl@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_C_PF1@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	$3855, %edi                     ## imm = 0xF0F
	andl	(%rdx,%rsi,4), %edi
	addq	%rcx, %rax
	movq	_art_normal_colpf1_save@GOTPCREL(%rip), %rcx
	movl	%edi, (%rcx)
	movq	_art_reverse_colpf1_save@GOTPCREL(%rip), %rcx
	movl	%edi, (%rcx)
	movq	_C_PF2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rdx,%rcx,4), %edi
	movq	_art_normal_colpf2_save@GOTPCREL(%rip), %rbx
	movl	%edi, (%rbx)
	movq	_art_reverse_colpf2_save@GOTPCREL(%rip), %rbx
	movl	%edi, (%rbx)
	movl	$240, %edi
	andl	(%rdx,%rcx,4), %edi
	movl	(%rdx,%rsi,4), %edx
	andl	$15, %edx
	orl	%edi, %edx
	movq	_art_bkmask_normal@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	_art_lummask_normal@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	_art_bkmask_reverse@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	_art_lummask_reverse@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	$1020, %esi                     ## imm = 0x3FC
	xorl	%edi, %edi
	xorl	%r10d, %r10d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r10
	addq	$-4, %rsi
	addq	$4, %rdi
	cmpq	$256, %r10                      ## imm = 0x100
	je	LBB0_25
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	$0, (%rcx,%r10,8)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	$0, (%rcx,%r10,8)
	movl	$255, %ecx
	subq	%r10, %rcx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	$0, (%rbx,%rcx,8)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	$0, (%rbx,%rcx,8)
	leaq	(,%rsi,4), %r14
	movq	_art_lookup_reverse@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r13
	addq	%r14, %r13
	movq	_art_lummask_reverse@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	addq	%r14, %r8
	movq	_art_bkmask_reverse@GOTPCREL(%rip), %rcx
	addq	(%rcx), %r14
	leaq	(,%rdi,4), %r11
	movq	_art_lookup_normal@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r15
	addq	%r11, %r15
	movq	_art_bkmask_normal@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r12
	addq	%r11, %r12
	movq	_art_lummask_normal@GOTPCREL(%rip), %rcx
	addq	(%rcx), %r11
	xorl	%ecx, %ecx
	jmp	LBB0_7
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	$3, %r9d
LBB0_22:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	%ecx, %ebx
	andl	$1, %ebx
	xorq	%r9, %rbx
	movl	(%rax,%rbx,4), %ebx
	movl	%ebx, (%r15,%rcx,4)
	movl	%ebx, (%r13,%rcx,4)
LBB0_23:                                ##   in Loop: Header=BB0_7 Depth=2
	incq	%rcx
	cmpq	$4, %rcx
	je	LBB0_24
LBB0_7:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r10d, %ebx
	shll	%cl, %ebx
	testb	$32, %bl
	jne	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	andb	$-8, %bl
	cmpb	$80, %bl
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=2
	cmpb	$-40, %bl
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	_GTIA_COLPF2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	movl	%ebx, (%r15,%rcx,4)
	movl	%edx, (%r13,%rcx,4)
	movl	$255, (%r12,%rcx,4)
	movl	$15, (%r8,%rcx,4)
	movl	$240, (%r14,%rcx,4)
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=2
	testb	$64, %bl
	jne	LBB0_14
## %bb.18:                              ##   in Loop: Header=BB0_7 Depth=2
	testb	$16, %bl
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=2
	xorl	%r9d, %r9d
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=2
	testb	$16, %bl
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=2
	movl	$7, %r9d
	testb	$-128, %bl
	je	LBB0_22
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=2
	movl	$4, %r9d
	testb	$8, %bl
	jne	LBB0_22
	jmp	LBB0_17
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=2
	movl	$1, %r9d
	jmp	LBB0_22
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	$6, %r9d
	testb	$8, %bl
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_7 Depth=2
	movl	$4, %r9d
	testb	$-128, %bl
	jne	LBB0_22
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	%edx, (%r15,%rcx,4)
	movq	_GTIA_COLPF2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	movl	%ebx, (%r13,%rcx,4)
	movl	$255, (%r14,%rcx,4)
	movl	$15, (%r11,%rcx,4)
	movl	$240, (%r12,%rcx,4)
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @ANTIC_UpdateArtifacting.art_colour_table
_ANTIC_UpdateArtifacting.art_colour_table:
	.long	136                             ## 0x88
	.long	20                              ## 0x14
	.long	136                             ## 0x88
	.long	20                              ## 0x14
	.long	143                             ## 0x8f
	.long	31                              ## 0x1f
	.long	187                             ## 0xbb
	.long	95                              ## 0x5f
	.long	20                              ## 0x14
	.long	136                             ## 0x88
	.long	20                              ## 0x14
	.long	136                             ## 0x88
	.long	31                              ## 0x1f
	.long	143                             ## 0x8f
	.long	95                              ## 0x5f
	.long	187                             ## 0xbb
	.long	214                             ## 0xd6
	.long	70                              ## 0x46
	.long	214                             ## 0xd6
	.long	70                              ## 0x46
	.long	223                             ## 0xdf
	.long	74                              ## 0x4a
	.long	79                              ## 0x4f
	.long	172                             ## 0xac
	.long	70                              ## 0x46
	.long	214                             ## 0xd6
	.long	70                              ## 0x46
	.long	214                             ## 0xd6
	.long	74                              ## 0x4a
	.long	223                             ## 0xdf
	.long	172                             ## 0xac
	.long	79                              ## 0x4f

	.comm	_ANTIC_artif_mode,4,2           ## @ANTIC_artif_mode
	.comm	_draw_antic_2,4,2               ## @draw_antic_2
	.comm	_draw_antic_table,8,3           ## @draw_antic_table
	.comm	_draw_antic_f,4,2               ## @draw_antic_f
	.comm	_ANTIC_artif_new,8,3            ## @ANTIC_artif_new
	.p2align	4                               ## @ANTIC_UpdateArtifacting.new_art_colour_table
_ANTIC_UpdateArtifacting.new_art_colour_table:
	.quad	16448
	.quad	32896
	.quad	32896
	.quad	16448
	.quad	32896
	.quad	53456
	.quad	53456
	.quad	32896

	.comm	_draw_antic_2_artif_new,4,2     ## @draw_antic_2_artif_new
	.comm	_draw_antic_f_artif_new,4,2     ## @draw_antic_f_artif_new
	.comm	_art_colour1_new,8,3            ## @art_colour1_new
	.comm	_art_colour2_new,8,3            ## @art_colour2_new
	.comm	_draw_antic_2_artif,4,2         ## @draw_antic_2_artif
	.comm	_draw_antic_f_artif,4,2         ## @draw_antic_f_artif
	.comm	_ANTIC_cl,8,3                   ## @ANTIC_cl
	.comm	_C_PF1,8,3                      ## @C_PF1
	.comm	_art_normal_colpf1_save,4,2     ## @art_normal_colpf1_save
	.comm	_art_reverse_colpf1_save,4,2    ## @art_reverse_colpf1_save
	.comm	_C_PF2,8,3                      ## @C_PF2
	.comm	_art_normal_colpf2_save,4,2     ## @art_normal_colpf2_save
	.comm	_art_reverse_colpf2_save,4,2    ## @art_reverse_colpf2_save
	.comm	_art_bkmask_normal,8,3          ## @art_bkmask_normal
	.comm	_art_lummask_normal,8,3         ## @art_lummask_normal
	.comm	_art_bkmask_reverse,8,3         ## @art_bkmask_reverse
	.comm	_art_lummask_reverse,8,3        ## @art_lummask_reverse
	.comm	_GTIA_COLPF2,4,2                ## @GTIA_COLPF2
	.comm	_art_lookup_normal,8,3          ## @art_lookup_normal
	.comm	_art_lookup_reverse,8,3         ## @art_lookup_reverse
	.comm	_ART_BLUE,4,2                   ## @ART_BLUE
	.comm	_ART_BRIGHT_BROWN,4,2           ## @ART_BRIGHT_BROWN
	.comm	_ART_BROWN,4,2                  ## @ART_BROWN
	.comm	_ART_DARK_BLUE,4,2              ## @ART_DARK_BLUE
	.comm	_ART_GREEN,4,2                  ## @ART_GREEN
	.comm	_ART_RED,4,2                    ## @ART_RED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ANTIC_UpdateArtifacting        ; -- Begin function ANTIC_UpdateArtifacting
	.p2align	2
_ANTIC_UpdateArtifacting:               ; @ANTIC_UpdateArtifacting
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	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
	.cfi_offset w19, -8
	.cfi_offset w20, -16
	.cfi_offset w21, -24
	.cfi_offset w22, -32
	.cfi_offset w23, -40
	.cfi_offset w24, -48
	.cfi_offset w25, -56
	.cfi_offset w26, -64
	.cfi_offset w27, -72
	.cfi_offset w28, -80
Lloh0:
	adrp	x8, _ANTIC_artif_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ANTIC_artif_mode@GOTPAGEOFF]
Lloh2:
	ldrsw	x10, [x8]
	cbz	w10, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _ANTIC_artif_new@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ANTIC_artif_new@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _draw_antic_2_artif_new@GOTPAGE
Lloh7:
	ldr	x8, [x8, _draw_antic_2_artif_new@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _draw_antic_table@GOTPAGE
Lloh10:
	ldr	x9, [x9, _draw_antic_table@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x9, [x9]
	stp	w8, w8, [x9, #8]
Lloh12:
	adrp	x8, _draw_antic_f_artif_new@GOTPAGE
Lloh13:
	ldr	x8, [x8, _draw_antic_f_artif_new@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x9, #60]
	sub	x11, x10, #1
Lloh15:
	adrp	x8, _ANTIC_UpdateArtifacting.new_art_colour_table@PAGE
Lloh16:
	add	x8, x8, _ANTIC_UpdateArtifacting.new_art_colour_table@PAGEOFF
	add	x8, x8, x11, lsl #4
Lloh17:
	adrp	x9, _art_colour1_new@GOTPAGE
Lloh18:
	ldr	x9, [x9, _art_colour1_new@GOTPAGEOFF]
	ldp	x12, x8, [x8]
Lloh19:
	str	x12, [x9]
Lloh20:
	adrp	x9, _art_colour2_new@GOTPAGE
Lloh21:
	ldr	x9, [x9, _art_colour2_new@GOTPAGEOFF]
Lloh22:
	str	x8, [x9]
	b	LBB0_6
LBB0_3:
Lloh23:
	adrp	x8, _draw_antic_2@GOTPAGE
Lloh24:
	ldr	x8, [x8, _draw_antic_2@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _draw_antic_table@GOTPAGE
Lloh27:
	ldr	x9, [x9, _draw_antic_table@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	ldr	x9, [x9]
	stp	w8, w8, [x9, #8]
Lloh29:
	adrp	x8, _draw_antic_f@GOTPAGE
Lloh30:
	ldr	x8, [x8, _draw_antic_f@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	str	w8, [x9, #60]
LBB0_4:
	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], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh32:
	adrp	x8, _draw_antic_2_artif@GOTPAGE
Lloh33:
	ldr	x8, [x8, _draw_antic_2_artif@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x9, _draw_antic_table@GOTPAGE
Lloh36:
	ldr	x9, [x9, _draw_antic_table@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	ldr	x9, [x9]
	stp	w8, w8, [x9, #8]
Lloh38:
	adrp	x8, _draw_antic_f_artif@GOTPAGE
Lloh39:
	ldr	x8, [x8, _draw_antic_f_artif@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	str	w8, [x9, #60]
	sub	w8, w10, #1
	sxtw	x11, w8
LBB0_6:
	mov	x8, #0
	mov	x9, #0
Lloh41:
	adrp	x12, _ANTIC_UpdateArtifacting.art_colour_table@PAGE
Lloh42:
	add	x12, x12, _ANTIC_UpdateArtifacting.art_colour_table@PAGEOFF
	add	x11, x12, x11, lsl #5
	add	x12, x12, #64
	cmp	w10, #5
	csel	x10, x11, x12, lt
Lloh43:
	adrp	x11, _ANTIC_cl@GOTPAGE
Lloh44:
	ldr	x11, [x11, _ANTIC_cl@GOTPAGEOFF]
Lloh45:
	ldr	x11, [x11]
Lloh46:
	adrp	x12, _C_PF1@GOTPAGE
Lloh47:
	ldr	x12, [x12, _C_PF1@GOTPAGEOFF]
Lloh48:
	ldr	x12, [x12]
	lsl	x12, x12, #2
	ldr	w13, [x11, x12]
	mov	w14, #3855
	and	w13, w13, w14
Lloh49:
	adrp	x14, _art_normal_colpf1_save@GOTPAGE
Lloh50:
	ldr	x14, [x14, _art_normal_colpf1_save@GOTPAGEOFF]
Lloh51:
	adrp	x15, _art_reverse_colpf1_save@GOTPAGE
Lloh52:
	ldr	x15, [x15, _art_reverse_colpf1_save@GOTPAGEOFF]
Lloh53:
	str	w13, [x14]
Lloh54:
	str	w13, [x15]
Lloh55:
	adrp	x13, _C_PF2@GOTPAGE
Lloh56:
	ldr	x13, [x13, _C_PF2@GOTPAGEOFF]
Lloh57:
	ldr	x13, [x13]
	lsl	x13, x13, #2
	ldr	w14, [x11, x13]
Lloh58:
	adrp	x15, _art_normal_colpf2_save@GOTPAGE
Lloh59:
	ldr	x15, [x15, _art_normal_colpf2_save@GOTPAGEOFF]
Lloh60:
	adrp	x16, _art_reverse_colpf2_save@GOTPAGE
Lloh61:
	ldr	x16, [x16, _art_reverse_colpf2_save@GOTPAGEOFF]
Lloh62:
	str	w14, [x15]
Lloh63:
	str	w14, [x16]
	ldr	w13, [x11, x13]
	ldr	w12, [x11, x12]
	and	w11, w13, #0xf0
	bfxil	w11, w12, #0, #4
Lloh64:
	adrp	x12, _art_bkmask_normal@GOTPAGE
Lloh65:
	ldr	x12, [x12, _art_bkmask_normal@GOTPAGEOFF]
Lloh66:
	adrp	x13, _art_lummask_normal@GOTPAGE
Lloh67:
	ldr	x13, [x13, _art_lummask_normal@GOTPAGEOFF]
	ldr	x14, [x12]
	ldr	x15, [x13]
Lloh68:
	adrp	x16, _art_bkmask_reverse@GOTPAGE
Lloh69:
	ldr	x16, [x16, _art_bkmask_reverse@GOTPAGEOFF]
Lloh70:
	adrp	x17, _art_lummask_reverse@GOTPAGE
Lloh71:
	ldr	x17, [x17, _art_lummask_reverse@GOTPAGEOFF]
	ldr	x0, [x16]
	ldr	x1, [x17]
	mov	w2, #1020
	mov	w3, #255
Lloh72:
	adrp	x4, _art_lookup_normal@GOTPAGE
Lloh73:
	ldr	x4, [x4, _art_lookup_normal@GOTPAGEOFF]
Lloh74:
	adrp	x5, _art_lookup_reverse@GOTPAGE
Lloh75:
	ldr	x5, [x5, _art_lookup_reverse@GOTPAGEOFF]
Lloh76:
	adrp	x6, _GTIA_COLPF2@GOTPAGE
Lloh77:
	ldr	x6, [x6, _GTIA_COLPF2@GOTPAGEOFF]
	mov	w7, #15
	mov	w19, #240
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x9, x9, #1
	sub	x2, x2, #4
	add	x8, x8, #4
	cmp	x9, #256
	b.eq	LBB0_4
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	mov	x20, #0
	lsl	x21, x9, #3
	str	xzr, [x14, x21]
	str	xzr, [x15, x21]
	sub	x21, x3, x9
	lsl	x21, x21, #3
	str	xzr, [x0, x21]
	str	xzr, [x1, x21]
	ldr	x24, [x4]
	ldr	x21, [x5]
	ldr	x23, [x16]
	ldr	x26, [x13]
	ldr	x25, [x12]
	ldr	x22, [x17]
	lsl	x27, x2, #2
	add	x21, x21, x27
	add	x22, x22, x27
	add	x23, x23, x27
	lsl	x27, x8, #2
	add	x24, x24, x27
	add	x25, x25, x27
	add	x26, x26, x27
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_12 Depth=2
	mov	w27, #3
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=2
	and	x28, x20, #0x1
	eor	x27, x27, x28
	ldr	w27, [x10, x27, lsl #2]
	lsl	x28, x20, #2
	str	w27, [x24, x28]
	str	w27, [x21, x28]
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	add	x20, x20, #1
	cmp	x20, #4
	b.eq	LBB0_7
LBB0_12:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	w27, w9, w20
	tbnz	w27, #5, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	and	w27, w27, #0xf8
	cmp	w27, #80
	b.eq	LBB0_22
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=2
	cmp	w27, #216
	b.eq	LBB0_9
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	w27, [x6]
	lsl	x28, x20, #2
	str	w27, [x24, x28]
	str	w11, [x21, x28]
	str	w3, [x25, x28]
	str	w7, [x22, x28]
	str	w19, [x23, x28]
	b	LBB0_11
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=2
	tbnz	w27, #6, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=2
	tbnz	w27, #4, LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	x27, #0
	b	LBB0_10
LBB0_19:                                ;   in Loop: Header=BB0_12 Depth=2
	tbnz	w27, #4, LBB0_26
; %bb.20:                               ;   in Loop: Header=BB0_12 Depth=2
	tbnz	w27, #7, LBB0_25
; %bb.21:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	w27, #7
	b	LBB0_10
LBB0_22:                                ;   in Loop: Header=BB0_12 Depth=2
	mov	w27, #1
	b	LBB0_10
LBB0_23:                                ;   in Loop: Header=BB0_12 Depth=2
	tbnz	w27, #3, LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	w27, #6
	b	LBB0_10
LBB0_25:                                ;   in Loop: Header=BB0_12 Depth=2
	tbnz	w27, #3, LBB0_28
LBB0_26:                                ;   in Loop: Header=BB0_12 Depth=2
	lsl	x27, x20, #2
	str	w11, [x24, x27]
	ldr	w28, [x6]
	str	w28, [x21, x27]
	str	w3, [x23, x27]
	str	w7, [x26, x27]
	str	w19, [x25, x27]
	b	LBB0_11
LBB0_27:                                ;   in Loop: Header=BB0_12 Depth=2
	tbz	w27, #7, LBB0_26
LBB0_28:                                ;   in Loop: Header=BB0_12 Depth=2
	mov	w27, #4
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotStr	Lloh60, Lloh61, Lloh63
	.loh AdrpLdrGotStr	Lloh58, Lloh59, Lloh62
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotStr	Lloh51, Lloh52, Lloh54
	.loh AdrpLdrGotStr	Lloh49, Lloh50, Lloh53
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @ANTIC_UpdateArtifacting.art_colour_table
_ANTIC_UpdateArtifacting.art_colour_table:
	.long	136                             ; 0x88
	.long	20                              ; 0x14
	.long	136                             ; 0x88
	.long	20                              ; 0x14
	.long	143                             ; 0x8f
	.long	31                              ; 0x1f
	.long	187                             ; 0xbb
	.long	95                              ; 0x5f
	.long	20                              ; 0x14
	.long	136                             ; 0x88
	.long	20                              ; 0x14
	.long	136                             ; 0x88
	.long	31                              ; 0x1f
	.long	143                             ; 0x8f
	.long	95                              ; 0x5f
	.long	187                             ; 0xbb
	.long	214                             ; 0xd6
	.long	70                              ; 0x46
	.long	214                             ; 0xd6
	.long	70                              ; 0x46
	.long	223                             ; 0xdf
	.long	74                              ; 0x4a
	.long	79                              ; 0x4f
	.long	172                             ; 0xac
	.long	70                              ; 0x46
	.long	214                             ; 0xd6
	.long	70                              ; 0x46
	.long	214                             ; 0xd6
	.long	74                              ; 0x4a
	.long	223                             ; 0xdf
	.long	172                             ; 0xac
	.long	79                              ; 0x4f

	.comm	_ANTIC_artif_mode,4,2           ; @ANTIC_artif_mode
	.comm	_draw_antic_2,4,2               ; @draw_antic_2
	.comm	_draw_antic_table,8,3           ; @draw_antic_table
	.comm	_draw_antic_f,4,2               ; @draw_antic_f
	.comm	_ANTIC_artif_new,8,3            ; @ANTIC_artif_new
	.p2align	3                               ; @ANTIC_UpdateArtifacting.new_art_colour_table
_ANTIC_UpdateArtifacting.new_art_colour_table:
	.quad	16448
	.quad	32896
	.quad	32896
	.quad	16448
	.quad	32896
	.quad	53456
	.quad	53456
	.quad	32896

	.comm	_draw_antic_2_artif_new,4,2     ; @draw_antic_2_artif_new
	.comm	_draw_antic_f_artif_new,4,2     ; @draw_antic_f_artif_new
	.comm	_art_colour1_new,8,3            ; @art_colour1_new
	.comm	_art_colour2_new,8,3            ; @art_colour2_new
	.comm	_draw_antic_2_artif,4,2         ; @draw_antic_2_artif
	.comm	_draw_antic_f_artif,4,2         ; @draw_antic_f_artif
	.comm	_ANTIC_cl,8,3                   ; @ANTIC_cl
	.comm	_C_PF1,8,3                      ; @C_PF1
	.comm	_art_normal_colpf1_save,4,2     ; @art_normal_colpf1_save
	.comm	_art_reverse_colpf1_save,4,2    ; @art_reverse_colpf1_save
	.comm	_C_PF2,8,3                      ; @C_PF2
	.comm	_art_normal_colpf2_save,4,2     ; @art_normal_colpf2_save
	.comm	_art_reverse_colpf2_save,4,2    ; @art_reverse_colpf2_save
	.comm	_art_bkmask_normal,8,3          ; @art_bkmask_normal
	.comm	_art_lummask_normal,8,3         ; @art_lummask_normal
	.comm	_art_bkmask_reverse,8,3         ; @art_bkmask_reverse
	.comm	_art_lummask_reverse,8,3        ; @art_lummask_reverse
	.comm	_GTIA_COLPF2,4,2                ; @GTIA_COLPF2
	.comm	_art_lookup_normal,8,3          ; @art_lookup_normal
	.comm	_art_lookup_reverse,8,3         ; @art_lookup_reverse
	.comm	_ART_BLUE,4,2                   ; @ART_BLUE
	.comm	_ART_BRIGHT_BROWN,4,2           ; @ART_BRIGHT_BROWN
	.comm	_ART_BROWN,4,2                  ; @ART_BROWN
	.comm	_ART_DARK_BLUE,4,2              ; @ART_DARK_BLUE
	.comm	_ART_GREEN,4,2                  ; @ART_GREEN
	.comm	_ART_RED,4,2                    ; @ART_RED
.subsections_via_symbols
