	.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
	movq	_accu@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_accua@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, %rdx
	subq	%rax, %rdx
	cmpq	$15, %rdx
	ja	LBB0_11
## %bb.1:
	movl	$4, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$0, -16(%rax,%rdx,4)
	movl	$0, -16(%rcx,%rdx,4)
	movl	$0, -12(%rax,%rdx,4)
	movl	$0, -12(%rcx,%rdx,4)
	movl	$0, -8(%rax,%rdx,4)
	movl	$0, -8(%rcx,%rdx,4)
	movl	$0, -4(%rax,%rdx,4)
	movl	$0, -4(%rcx,%rdx,4)
	movl	$0, (%rax,%rdx,4)
	movl	$0, (%rcx,%rdx,4)
	addq	$5, %rdx
	cmpq	$84, %rdx
	jne	LBB0_2
	jmp	LBB0_3
LBB0_11:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movups	%xmm0, (%rcx)
	movups	%xmm0, 16(%rax)
	movups	%xmm0, 16(%rcx)
	movups	%xmm0, 32(%rax)
	movups	%xmm0, 32(%rcx)
	movups	%xmm0, 48(%rax)
	movups	%xmm0, 48(%rcx)
	movups	%xmm0, 64(%rax)
	movups	%xmm0, 64(%rcx)
	movups	%xmm0, 80(%rax)
	movups	%xmm0, 80(%rcx)
	movups	%xmm0, 96(%rax)
	movups	%xmm0, 96(%rcx)
	movups	%xmm0, 112(%rax)
	movups	%xmm0, 112(%rcx)
	movups	%xmm0, 128(%rax)
	movups	%xmm0, 128(%rcx)
	movups	%xmm0, 144(%rax)
	movups	%xmm0, 144(%rcx)
	movups	%xmm0, 160(%rax)
	movups	%xmm0, 160(%rcx)
	movups	%xmm0, 176(%rax)
	movups	%xmm0, 176(%rcx)
	movups	%xmm0, 192(%rax)
	movups	%xmm0, 192(%rcx)
	movups	%xmm0, 208(%rax)
	movups	%xmm0, 208(%rcx)
	movups	%xmm0, 224(%rax)
	movups	%xmm0, 224(%rcx)
	movups	%xmm0, 240(%rax)
	movups	%xmm0, 240(%rcx)
	movups	%xmm0, 256(%rax)
	movups	%xmm0, 256(%rcx)
	movups	%xmm0, 272(%rax)
	movups	%xmm0, 272(%rcx)
	movups	%xmm0, 288(%rax)
	movups	%xmm0, 288(%rcx)
	movups	%xmm0, 304(%rax)
	movups	%xmm0, 304(%rcx)
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_puts
	leaq	L_.str.1(%rip), %rdi
	callq	_puts
	movl	$255, %edi
	callq	_waitpad
	xorl	%eax, %eax
	callq	_waitpadup
	movq	_DIV_REG@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movq	_seed@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	leaq	L_.str.2(%rip), %rdi
	callq	_puts
	movl	$255, %edi
	callq	_waitpad
	xorl	%eax, %eax
	callq	_waitpadup
	movl	(%r14), %edi
	shll	$8, %edi
	orl	(%rbx), %edi
	movl	%edi, (%rbx)
	callq	_initarand
	movq	_SOLID@GOTPCREL(%rip), %r15
                                        ## implicit-def: $r13d
                                        ## implicit-def: $r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_rand
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_arand
	movl	%eax, %r14d
	cmpl	$79, %ebx
	jle	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$79, %r14d
	jle	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$144, %r13d
	jne	LBB0_9
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_accu@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movl	(%rax,%rcx,4), %edx
	leal	1(%rdx), %r13d
	movl	%r13d, (%rax,%rcx,4)
	movl	$143, %esi
	subl	%edx, %esi
	movq	_LTGREY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %ecx
	movl	%ebx, %edi
	callq	_plot
	cmpl	$79, %r14d
	jg	LBB0_8
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_accua@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %rcx
	movl	(%rax,%rcx,4), %edx
	leal	1(%rdx), %r12d
	movl	%r12d, (%rax,%rcx,4)
	addl	$80, %r14d
	movl	$143, %esi
	subl	%edx, %esi
	movq	_DKGREY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %ecx
	movl	%r14d, %edi
	callq	_plot
	cmpl	$144, %r13d
	je	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$144, %r12d
	jne	LBB0_4
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_accu,8,3                       ## @accu
	.comm	_accua,8,3                      ## @accua
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Getting seed"

L_.str.1:                               ## @.str.1
	.asciz	"Push any key (1)"

	.comm	_DIV_REG,4,2                    ## @DIV_REG
	.comm	_seed,4,2                       ## @seed
L_.str.2:                               ## @.str.2
	.asciz	"Push any key (2)"

	.comm	_LTGREY,4,2                     ## @LTGREY
	.comm	_SOLID,4,2                      ## @SOLID
	.comm	_DKGREY,4,2                     ## @DKGREY
.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	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	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
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x21, _accu@GOTPAGE
Lloh1:
	ldr	x21, [x21, _accu@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x22, _accua@GOTPAGE
Lloh3:
	ldr	x22, [x22, _accua@GOTPAGEOFF]
	ldr	x9, [x22]
	sub	x10, x9, x8
	cmp	x10, #15
	b.hi	LBB0_3
; %bb.1:
	mov	x10, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	wzr, [x8, x10]
	str	wzr, [x9, x10]
	add	x10, x10, #4
	cmp	x10, #320
	b.ne	LBB0_2
	b	LBB0_4
LBB0_3:
	movi.2d	v0, #0000000000000000
	str	q0, [x8]
	str	q0, [x9]
	str	q0, [x8, #16]
	str	q0, [x9, #16]
	str	q0, [x8, #32]
	str	q0, [x9, #32]
	str	q0, [x8, #48]
	str	q0, [x9, #48]
	str	q0, [x8, #64]
	str	q0, [x9, #64]
	str	q0, [x8, #80]
	str	q0, [x9, #80]
	str	q0, [x8, #96]
	str	q0, [x9, #96]
	str	q0, [x8, #112]
	str	q0, [x9, #112]
	str	q0, [x8, #128]
	str	q0, [x9, #128]
	str	q0, [x8, #144]
	str	q0, [x9, #144]
	str	q0, [x8, #160]
	str	q0, [x9, #160]
	str	q0, [x8, #176]
	str	q0, [x9, #176]
	str	q0, [x8, #192]
	str	q0, [x9, #192]
	str	q0, [x8, #208]
	str	q0, [x9, #208]
	str	q0, [x8, #224]
	str	q0, [x9, #224]
	str	q0, [x8, #240]
	str	q0, [x9, #240]
	str	q0, [x8, #256]
	str	q0, [x9, #256]
	str	q0, [x8, #272]
	str	q0, [x9, #272]
	str	q0, [x8, #288]
	str	q0, [x9, #288]
	str	q0, [x8, #304]
	str	q0, [x9, #304]
LBB0_4:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_puts
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_puts
	mov	w0, #255
	bl	_waitpad
	bl	_waitpadup
Lloh8:
	adrp	x19, _DIV_REG@GOTPAGE
Lloh9:
	ldr	x19, [x19, _DIV_REG@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh10:
	adrp	x20, _seed@GOTPAGE
Lloh11:
	ldr	x20, [x20, _seed@GOTPAGEOFF]
	str	w8, [x20]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_puts
	mov	w0, #255
	bl	_waitpad
	bl	_waitpadup
	ldr	w8, [x19]
	ldr	w9, [x20]
	orr	w0, w9, w8, lsl #8
	str	w0, [x20]
	bl	_initarand
	mov	w23, #143
Lloh14:
	adrp	x24, _LTGREY@GOTPAGE
Lloh15:
	ldr	x24, [x24, _LTGREY@GOTPAGEOFF]
Lloh16:
	adrp	x25, _SOLID@GOTPAGE
Lloh17:
	ldr	x25, [x25, _SOLID@GOTPAGEOFF]
                                        ; implicit-def: $w27
                                        ; implicit-def: $w28
Lloh18:
	adrp	x26, _DKGREY@GOTPAGE
Lloh19:
	ldr	x26, [x26, _DKGREY@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	bl	_rand
	mov	x20, x0
	bl	_arand
	mov	x19, x0
	cmp	w20, #79
	b.le	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w19, #79
	b.le	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w27, #144
	b.ne	LBB0_10
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21]
	sbfiz	x9, x20, #2, #32
	ldr	w10, [x8, x9]
	add	w27, w10, #1
	str	w27, [x8, x9]
	sub	w1, w23, w10
	ldr	w2, [x24]
	ldr	w3, [x25]
	mov	x0, x20
	bl	_plot
	cmp	w19, #79
	b.gt	LBB0_7
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x22]
	sbfiz	x9, x19, #2, #32
	ldr	w10, [x8, x9]
	add	w28, w10, #1
	str	w28, [x8, x9]
	add	w0, w19, #80
	sub	w1, w23, w10
	ldr	w2, [x26]
	ldr	w3, [x25]
	bl	_plot
	cmp	w27, #144
	b.eq	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w28, #144
	b.ne	LBB0_5
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	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], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_accu,8,3                       ; @accu
	.comm	_accua,8,3                      ; @accua
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Getting seed"

l_.str.1:                               ; @.str.1
	.asciz	"Push any key (1)"

	.comm	_DIV_REG,4,2                    ; @DIV_REG
	.comm	_seed,4,2                       ; @seed
l_.str.2:                               ; @.str.2
	.asciz	"Push any key (2)"

	.comm	_LTGREY,4,2                     ; @LTGREY
	.comm	_SOLID,4,2                      ; @SOLID
	.comm	_DKGREY,4,2                     ; @DKGREY
.subsections_via_symbols
