	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PlotSet
_PlotSet:                               ## @PlotSet
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_plot@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_35
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	8(%r15), %rax
	movq	48(%r15), %rcx
	leal	-1(%r14), %edx
	testq	%rcx, %rcx
	movslq	%edx, %r12
	cmoveq	%rcx, %r12
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	cmpq	$0, (%rax,%r12,8)
	je	LBB0_4
LBB0_5:
	movl	(%rbx), %edi
	testq	%rdi, %rdi
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.7:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %r11
	movl	20(%r15), %r10d
	movl	24(%r15), %r9d
	cmpl	$1, %edi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_9
## %bb.8:
	movl	$-1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_11
LBB0_2:
	movl	40(%r15), %esi
	movl	$8, %edi
	callq	_calloc
	movq	%rax, 8(%r15)
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	8(%r15), %rax
	cmpq	$0, (%rax,%r12,8)
	jne	LBB0_5
LBB0_4:
	movl	16(%r15), %edi
	callq	_malloc
	movq	8(%r15), %rcx
	movq	%rax, (%rcx,%r12,8)
	movq	8(%r15), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax,%r12,8)
	setne	%dil
	callq	_assert
	movq	8(%r15), %rax
	movq	(%rax,%r12,8), %rdi
	movl	16(%r15), %edx
	xorl	%esi, %esi
	callq	_memset
	jmp	LBB0_5
LBB0_6:
	xorl	%r13d, %r13d
	movl	$1, %ebx
	jmp	LBB0_13
LBB0_9:
                                        ## kill: def $edi killed $edi killed $rdi def $rdi
	andl	$-2, %edi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movl	$-1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %ebx
	xorl	%r13d, %r13d
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r11,%r8,4), %eax
	movl	4(%r11,%r8,4), %esi
	subl	%r10d, %eax
	cltd
	idivl	%r9d
	movl	%eax, %edi
	leal	1(%r13), %r15d
	cmpl	%ebx, %r13d
	movl	%r15d, %r12d
	cmovll	%ebx, %r12d
	cmpl	%ecx, %eax
	cmovnel	%r14d, %r15d
	cmovnel	%ebx, %r12d
	subl	%r10d, %esi
	movl	%esi, %eax
	cltd
	idivl	%r9d
	leal	1(%r15), %r13d
	cmpl	%r12d, %r15d
	movl	%r13d, %ebx
	cmovll	%r12d, %ebx
	movl	%eax, %ecx
	cmpl	%edi, %eax
	cmovnel	%r14d, %r13d
	cmovnel	%r12d, %ebx
	addq	$2, %r8
	cmpq	%r8, -80(%rbp)                  ## 8-byte Folded Reload
	jne	LBB0_10
LBB0_11:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testb	$1, %dil
	movq	_plot@GOTPCREL(%rip), %r15
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_13
## %bb.12:
	movl	(%r11,%r8,4), %eax
	subl	%r10d, %eax
	cltd
	idivl	%r9d
	leal	1(%r13), %edx
	cmpl	%ebx, %r13d
	movl	%edx, %esi
	cmovll	%ebx, %esi
	cmpl	%ecx, %eax
	movl	$1, %r13d
	cmovel	%edx, %r13d
	cmovnel	%ebx, %esi
	movl	%esi, %ebx
LBB0_13:
	leal	1(%rbx), %r14d
	cmpl	28(%r15), %ebx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jl	LBB0_15
## %bb.14:
	movq	32(%r15), %rdi
	movl	16(%r15), %esi
	imull	%r14d, %esi
	callq	_realloc
	movq	%rax, 32(%r15)
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movl	16(%r15), %eax
	movl	28(%r15), %ecx
	movl	%r14d, %edx
	subl	%ecx, %edx
	imull	%eax, %edx
	imull	%ecx, %eax
	movslq	%eax, %rdi
	addq	32(%r15), %rdi
	xorl	%esi, %esi
	callq	_memset
	movl	(%rbx), %edi
LBB0_15:
	movl	%r14d, 28(%r15)
	testl	%edi, %edi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_21
## %bb.16:
	movl	$-1, %esi
	xorl	%ecx, %ecx
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	movl	$1, %r13d
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	32(%r15), %rdx
	movl	16(%r15), %esi
	imull	%r13d, %esi
	addl	%eax, %esi
	movslq	%esi, %rsi
	orb	%dil, (%rdx,%rsi)
	incq	%rcx
	movl	(%rbx), %edx
	movl	%eax, %esi
	cmpq	%rdx, %rcx
	jae	LBB0_21
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movl	(%rax,%rcx,4), %eax
	subl	20(%r15), %eax
	cltd
	idivl	24(%r15)
	cmpl	%esi, %eax
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	incl	%r13d
	jmp	LBB0_20
LBB0_21:
	movq	%rbx, %rdi
	callq	_Stddev
	movl	%eax, %edi
	callq	_isnan
	testl	%eax, %eax
	jne	LBB0_34
## %bb.22:
	movq	%rbx, %rdi
	callq	_Avg
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_Stddev
	addl	20(%r15), %eax
	subl	%eax, %r14d
	movl	%r14d, %eax
	cltd
	idivl	24(%r15)
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_Avg
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_Stddev
	addl	%r13d, %eax
	subl	20(%r15), %eax
	cltd
	idivl	24(%r15)
                                        ## kill: def $eax killed $eax def $rax
	movq	8(%r15), %rcx
	movq	(%rcx,%r12,8), %rcx
	movslq	%eax, %rdx
	movb	$124, (%rcx,%rdx)
	movq	8(%r15), %rcx
	movq	(%rcx,%r12,8), %rsi
	movslq	%r14d, %rcx
	movb	$124, (%rsi,%rcx)
	incl	%ecx
	cmpl	%edx, %ecx
	jge	LBB0_34
## %bb.23:
	movslq	%ecx, %rcx
	movl	%r14d, %esi
	notl	%esi
	addl	%eax, %esi
	leal	-2(%rax), %edx
	testb	$1, %sil
	je	LBB0_27
## %bb.24:
	movq	8(%r15), %rsi
	movq	(%rsi,%r12,8), %rsi
	cmpb	$0, (%rsi,%rcx)
	jne	LBB0_26
## %bb.25:
	movb	$95, (%rsi,%rcx)
LBB0_26:
	incq	%rcx
LBB0_27:
	cmpl	%r14d, %edx
	jne	LBB0_28
LBB0_34:
	movq	%rbx, %rdi
	callq	_Median
	subl	20(%r15), %eax
	cltd
	idivl	24(%r15)
	movq	8(%r15), %rcx
	movq	(%rcx,%r12,8), %rcx
	cltq
	movb	$77, (%rcx,%rax)
	movq	%rbx, %rdi
	callq	_Avg
	subl	20(%r15), %eax
	cltd
	idivl	24(%r15)
	movq	8(%r15), %rcx
	movq	(%rcx,%r12,8), %rcx
	cltq
	movb	$65, (%rcx,%rax)
LBB0_35:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movl	%eax, %eax
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_29 Depth=1
	addq	$2, %rcx
	cmpl	%ecx, %eax
	je	LBB0_34
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdx
	movq	(%rdx,%r12,8), %rdx
	cmpb	$0, (%rdx,%rcx)
	jne	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	movb	$95, (%rdx,%rcx)
LBB0_31:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	8(%r15), %rdx
	movq	(%rdx,%r12,8), %rdx
	cmpb	$0, 1(%rdx,%rcx)
	jne	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_29 Depth=1
	movb	$95, 1(%rdx,%rcx)
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_plot,56,3                      ## @plot
	.no_dead_strip	_PlotSet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PlotSet
_PlotSet:                               ; @PlotSet
	.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
Lloh0:
	adrp	x21, _plot@GOTPAGE
Lloh1:
	ldr	x21, [x21, _plot@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_21
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x21, #48]
	sub	w9, w1, #1
	sxtw	x9, w9
	cmp	x8, #0
	csel	x22, xzr, x9, eq
	ldr	x8, [x21, #8]
	cbnz	x8, LBB0_3
; %bb.2:
	ldr	w1, [x21, #40]
	mov	w0, #8
	bl	_calloc
	str	x0, [x21, #8]
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x21, #8]
LBB0_3:
	ldr	x8, [x8, x22, lsl #3]
	lsl	x23, x22, #3
	cbnz	x8, LBB0_5
; %bb.4:
	ldr	w0, [x21, #16]
	bl	_malloc
	ldr	x8, [x21, #8]
	str	x0, [x8, x23]
	ldr	x8, [x21, #8]
	ldr	x8, [x8, x23]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x21, #8]
	ldr	x0, [x8, x23]
	ldr	w2, [x21, #16]
	mov	w1, #0
	bl	_memset
LBB0_5:
	ldr	w8, [x19]
	mov	w9, #1
	mov	w24, #0
	cbz	w8, LBB0_8
; %bb.6:
	ldr	x10, [x19, #8]
	mov	w15, #-1
	mov	x12, x8
	mov	w11, #1
	ldp	w13, w14, [x21, #20]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w16, [x10], #4
	sub	w16, w16, w13
	sdiv	w16, w16, w14
	cmp	w24, w11
	csinc	w17, w11, w24, lt
	cmp	w16, w15
	csel	w11, w17, w11, eq
	csinc	w24, w9, w24, ne
	mov	x15, x16
	subs	x12, x12, #1
	b.ne	LBB0_7
	b	LBB0_9
LBB0_8:
	mov	w11, #1
LBB0_9:
	add	w25, w11, #1
	ldr	w9, [x21, #28]
	cmp	w11, w9
	b.lt	LBB0_11
; %bb.10:
	ldr	x0, [x21, #32]
	ldr	w8, [x21, #16]
	mul	w1, w8, w25
	bl	_realloc
	str	x0, [x21, #32]
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x21, #32]
	ldr	w9, [x21, #28]
	ldr	w10, [x21, #16]
	mul	w11, w10, w9
	add	x0, x8, w11, sxtw
	sub	w8, w25, w9
	mul	w2, w8, w10
	mov	w1, #0
	bl	_memset
	ldr	w8, [x19]
LBB0_11:
	str	w25, [x21, #28]
	cbz	w8, LBB0_14
; %bb.12:
	mov	x8, #0
	mov	w10, #-1
	mov	w9, #1
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x19, #8]
	ldr	w11, [x11, x8, lsl #2]
	ldp	w13, w12, [x21, #16]
	sub	w11, w11, w12
	ldr	w12, [x21, #24]
	sdiv	w11, w11, w12
	cmp	w11, w10
	csinc	w24, w9, w24, ne
	ldr	x10, [x21, #32]
	madd	w12, w24, w13, w11
	sxtw	x12, w12
	ldrb	w13, [x10, x12]
	orr	w13, w13, w20
	strb	w13, [x10, x12]
	add	x8, x8, #1
	ldr	w12, [x19]
	mov	x10, x11
	cmp	x8, x12
	b.lo	LBB0_13
LBB0_14:
	mov	x0, x19
	bl	_Stddev
	bl	_isnan
	cbnz	w0, LBB0_20
; %bb.15:
	mov	x0, x19
	bl	_Avg
	mov	x20, x0
	mov	x0, x19
	bl	_Stddev
	ldp	w8, w9, [x21, #20]
	add	w8, w0, w8
	sub	w8, w20, w8
	sdiv	w24, w8, w9
	mov	x0, x19
	bl	_Avg
	mov	x20, x0
	mov	x0, x19
	bl	_Stddev
	ldp	w8, w9, [x21, #20]
	add	w10, w0, w20
	sub	w8, w10, w8
	sdiv	w9, w8, w9
	ldr	x8, [x21, #8]
	ldr	x8, [x8, x23]
	mov	w10, #124
	strb	w10, [x8, w9, sxtw]
	ldr	x8, [x21, #8]
	ldr	x8, [x8, x23]
	strb	w10, [x8, w24, sxtw]
	add	w8, w24, #1
	cmp	w8, w9
	b.ge	LBB0_20
; %bb.16:
	sxtw	x8, w8
	mvn	w10, w24
	add	w9, w10, w9
	mov	w10, #95
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x8, x8, #1
	subs	w9, w9, #1
	b.eq	LBB0_20
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x21, #8]
	ldr	x11, [x11, x22, lsl #3]
	ldrb	w12, [x11, x8]
	cbnz	w12, LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	strb	w10, [x11, x8]
	b	LBB0_17
LBB0_20:
	mov	x0, x19
	bl	_Median
	ldp	w8, w9, [x21, #20]
	sub	w8, w0, w8
	sdiv	w8, w8, w9
	ldr	x9, [x21, #8]
	ldr	x9, [x9, x23]
	mov	w10, #77
	strb	w10, [x9, w8, sxtw]
	mov	x0, x19
	bl	_Avg
	ldp	w8, w9, [x21, #20]
	sub	w8, w0, w8
	sdiv	w8, w8, w9
	ldr	x9, [x21, #8]
	ldr	x9, [x9, x23]
	mov	w10, #65
	strb	w10, [x9, w8, sxtw]
LBB0_21:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_plot,56,3                      ; @plot
	.no_dead_strip	_PlotSet
.subsections_via_symbols
