	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	_SOLID@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	shrl	$2, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	(%r14,%rbx), %r12d
	movl	%ebx, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_gotogxy
	movl	%ebx, %esi
	shrl	$2, %esi
	movl	$3, %edi
	subl	%esi, %edi
	cmpl	%esi, %r15d
	cmovnel	%r15d, %edi
	movl	(%r13), %edx
	callq	_color
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	callq	_gprintf
	incl	%ebx
	cmpl	$16, %ebx
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	addl	%ebx, %r14d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$16, %eax
	jne	LBB0_1
## %bb.4:
	movq	_LTGREY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_WHITE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	(%r13), %edx
	callq	_color
	movq	_M_FILL@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movl	$140, %edi
	movl	$20, %esi
	movl	$15, %edx
	callq	_circle
	movq	_BLACK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	(%r12), %esi
	movl	(%r13), %edx
	callq	_color
	movq	_M_NOFILL@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movl	$140, %edi
	movl	$20, %esi
	movl	$10, %edx
	callq	_circle
	movq	_DKGREY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	movq	_XOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_color
	movl	(%r15), %ecx
	movl	$120, %edi
	movl	$40, %esi
	movl	$30, %edx
	callq	_circle
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	$159, %edx
	movl	$143, %ecx
	callq	_line
	movl	(%rbx), %edi
	movq	_LTGREY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	callq	_color
	movl	(%r14), %r8d
	xorl	%edi, %edi
	movl	$130, %esi
	movl	$40, %edx
	movl	$143, %ecx
	callq	_box
	movl	(%r15), %r8d
	movl	$50, %edi
	movl	$130, %esi
	movl	$90, %edx
	movl	$143, %ecx
	callq	_box
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##       Child Loop BB0_7 Depth 3
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_7 Depth 3
	leal	1(%r15), %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_getpix
	movl	(%r12), %esi
	movl	(%r13), %edx
	movl	%eax, %edi
	callq	_color
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_plot_point
	incl	%ebx
	cmpl	$160, %ebx
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	(%r12), %edi
	movl	(%r13), %edx
	movl	%edi, %esi
	callq	_color
	movl	%r14d, %r15d
	cmpl	$143, %r14d
	jne	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edi, %edi
	movl	$143, %esi
	movl	$159, %edx
	movl	$143, %ecx
	callq	_line
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$144, %eax
	jne	LBB0_5
## %bb.10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOLID,4,2                      ## @SOLID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%c"

	.comm	_LTGREY,4,2                     ## @LTGREY
	.comm	_WHITE,4,2                      ## @WHITE
	.comm	_M_FILL,4,2                     ## @M_FILL
	.comm	_BLACK,4,2                      ## @BLACK
	.comm	_M_NOFILL,4,2                   ## @M_NOFILL
	.comm	_DKGREY,4,2                     ## @DKGREY
	.comm	_XOR,4,2                        ## @XOR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	w19, #0
	mov	w24, #0
	mov	w25, #3
Lloh0:
	adrp	x23, _SOLID@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SOLID@GOTPAGEOFF]
Lloh2:
	adrp	x20, l_.str@PAGE
Lloh3:
	add	x20, x20, l_.str@PAGEOFF
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	mov	w21, #0
	lsr	w26, w19, #2
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w22, w24, w21
	mov	x0, x21
	mov	x1, x19
	bl	_gotogxy
	lsr	w1, w21, #2
	sub	w8, w25, w1
	cmp	w26, w1
	csel	w0, w8, w26, eq
	ldr	w2, [x23]
	bl	_color
	mov	x0, x20
	mov	x1, x22
	bl	_gprintf
	add	w21, w21, #1
	cmp	w21, #16
	b.ne	LBB0_2
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w19, w19, #1
	add	w24, w24, w21
	cmp	w19, #16
	b.ne	LBB0_1
; %bb.4:
Lloh4:
	adrp	x20, _LTGREY@GOTPAGE
Lloh5:
	ldr	x20, [x20, _LTGREY@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh6:
	adrp	x22, _WHITE@GOTPAGE
Lloh7:
	ldr	x22, [x22, _WHITE@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	w2, [x23]
	bl	_color
Lloh8:
	adrp	x19, _M_FILL@GOTPAGE
Lloh9:
	ldr	x19, [x19, _M_FILL@GOTPAGEOFF]
	ldr	w3, [x19]
	mov	w0, #140
	mov	w1, #20
	mov	w2, #15
	bl	_circle
Lloh10:
	adrp	x21, _BLACK@GOTPAGE
Lloh11:
	ldr	x21, [x21, _BLACK@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w1, [x22]
	ldr	w2, [x23]
	bl	_color
Lloh12:
	adrp	x24, _M_NOFILL@GOTPAGE
Lloh13:
	ldr	x24, [x24, _M_NOFILL@GOTPAGEOFF]
	ldr	w3, [x24]
	mov	w0, #140
	mov	w1, #20
	mov	w2, #10
	bl	_circle
Lloh14:
	adrp	x8, _DKGREY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DKGREY@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	w1, [x22]
Lloh17:
	adrp	x8, _XOR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _XOR@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	bl	_color
	ldr	w3, [x19]
	mov	w0, #120
	mov	w1, #40
	mov	w2, #30
	bl	_circle
	mov	w0, #0
	mov	w1, #0
	mov	w2, #159
	mov	w3, #143
	bl	_line
	ldr	w0, [x21]
	ldr	w1, [x20]
	ldr	w2, [x23]
	bl	_color
	ldr	w4, [x24]
	mov	w0, #0
	mov	w1, #130
	mov	w2, #40
	mov	w3, #143
	bl	_box
	ldr	w4, [x19]
	mov	w0, #50
	mov	w1, #130
	mov	w2, #90
	mov	w3, #143
	bl	_box
	mov	w24, #0
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;       Child Loop BB0_7 Depth 3
	mov	w20, #0
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_7 Depth 3
	mov	w21, #0
	add	w19, w20, #1
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x21
	mov	x1, x19
	bl	_getpix
	ldr	w1, [x22]
	ldr	w2, [x23]
	bl	_color
	mov	x0, x21
	mov	x1, x20
	bl	_plot_point
	add	w21, w21, #1
	cmp	w21, #160
	b.ne	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w0, [x22]
	ldr	w2, [x23]
	mov	x1, x0
	bl	_color
	mov	x20, x19
	cmp	w19, #143
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #0
	mov	w1, #143
	mov	w2, #159
	mov	w3, #143
	bl	_line
	add	w24, w24, #1
	cmp	w24, #144
	b.ne	LBB0_5
; %bb.10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SOLID,4,2                      ; @SOLID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%c"

	.comm	_LTGREY,4,2                     ; @LTGREY
	.comm	_WHITE,4,2                      ; @WHITE
	.comm	_M_FILL,4,2                     ; @M_FILL
	.comm	_BLACK,4,2                      ; @BLACK
	.comm	_M_NOFILL,4,2                   ; @M_NOFILL
	.comm	_DKGREY,4,2                     ; @DKGREY
	.comm	_XOR,4,2                        ; @XOR
.subsections_via_symbols
