	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function draw_curves
LCPI0_0:
	.quad	0xbff0000000000000              ## double -1
LCPI0_2:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_3:
	.quad	0xc020000000000000              ## double -8
LCPI0_4:
	.quad	0xc008000000000000              ## double -3
LCPI0_5:
	.quad	0x4008000000000000              ## double 3
LCPI0_6:
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_7:
	.quad	0x0000000000000000              ## double 0
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_draw_curves:                           ## @draw_curves
	.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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -168(%rbp)                ## 8-byte Spill
	movq	(%rdi), %rbx
	movq	$0, -200(%rbp)
	movl	40(%rbx), %edi
	callq	_av_strdup
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_28
## %bb.1:
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movq	(%rcx), %rdi
	movl	(%rax), %edx
	imull	(%rbx), %edx
	xorl	%esi, %esi
	callq	_memset
	xorl	%eax, %eax
	cmpl	$0, (%r15)
	jle	LBB0_27
## %bb.2:
	leaq	-64(%rbp), %r12
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	movq	%r15, -176(%rbp)                ## 8-byte Spill
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-136(%rbp), %rax                ## 8-byte Reload
	incl	%eax
	movq	-176(%rbp), %r15                ## 8-byte Reload
	cmpl	(%r15), %eax
	jge	LBB0_27
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##       Child Loop BB0_15 Depth 3
                                        ##         Child Loop BB0_19 Depth 4
                                        ##       Child Loop BB0_26 Depth 3
                                        ##       Child Loop BB0_24 Depth 3
	movapd	L___const.draw_curves.fg(%rip), %xmm0
	movapd	%xmm0, -64(%rbp)
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	testl	%eax, %eax
	movl	$0, %edi
	cmoveq	-112(%rbp), %rdi                ## 8-byte Folded Reload
	leaq	L_.str(%rip), %rsi
	leaq	-200(%rbp), %rdx
	callq	_av_strtok
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movq	%rax, %rsi
	movl	$-1, %edx
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	callq	_av_parse_color
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movsd	8(%rbx), %xmm1                  ## xmm1 = mem[0],zero
	ucomisd	LCPI0_7(%rip), %xmm1
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	jbe	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	xorpd	%xmm0, %xmm0
	movl	$-1, %r15d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=2
	movsd	-128(%rbp), %xmm0               ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	addsd	LCPI0_2(%rip), %xmm0
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movsd	8(%rbx), %xmm1                  ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	movl	-80(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r15d
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	jbe	LBB0_3
LBB0_9:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_15 Depth 3
                                        ##         Child Loop BB0_19 Depth 4
                                        ##       Child Loop BB0_26 Depth 3
                                        ##       Child Loop BB0_24 Depth 3
	movq	_M_PI@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm3                   ## xmm3 = mem[0],zero
	cmpq	$0, 32(%rbx)
	movsd	%xmm0, -128(%rbp)               ## 8-byte Spill
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	divsd	%xmm1, %xmm0
	addsd	%xmm2, %xmm1
	cvttsd2si	%xmm1, %edi
	movsd	%xmm3, -72(%rbp)                ## 8-byte Spill
	callq	_pow
	movsd	-72(%rbp), %xmm3                ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	movsd	8(%rbx), %xmm1                  ## xmm1 = mem[0],zero
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=2
	mulsd	%xmm0, %xmm3
	addsd	%xmm2, %xmm1
	divsd	%xmm1, %xmm3
	movapd	%xmm3, %xmm0
	callq	___sincos_stret
	movapd	%xmm1, %xmm2
	movl	16(%rbx), %eax
	movsd	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	testl	%eax, %eax
	jle	LBB0_22
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=2
	movapd	%xmm0, %xmm3
	xorpd	LCPI0_1(%rip), %xmm3
	mulsd	%xmm0, %xmm0
	movapd	%xmm2, %xmm4
	mulsd	%xmm2, %xmm4
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rbx
	movq	_FILTER_ORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	addl	%eax, %ecx
	sarl	%ecx
	movq	%rcx, -184(%rbp)                ## 8-byte Spill
	movapd	%xmm4, %xmm5
	mulsd	LCPI0_3(%rip), %xmm5
	mulsd	%xmm0, %xmm5
	movsd	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero
	addsd	%xmm1, %xmm5
	movapd	%xmm4, %xmm6
	subsd	%xmm0, %xmm6
	movapd	%xmm0, %xmm8
	mulsd	LCPI0_4(%rip), %xmm8
	addsd	%xmm4, %xmm8
	mulsd	LCPI0_5(%rip), %xmm4
	subsd	%xmm0, %xmm4
	movapd	%xmm2, %xmm0
	addsd	%xmm2, %xmm0
	xorl	%r13d, %r13d
	movapd	%xmm1, %xmm7
	movsd	%xmm5, -80(%rbp)                ## 8-byte Spill
	movsd	%xmm6, -72(%rbp)                ## 8-byte Spill
	movapd	%xmm8, -240(%rbp)               ## 16-byte Spill
	movsd	%xmm2, -160(%rbp)               ## 8-byte Spill
	movapd	%xmm3, -224(%rbp)               ## 16-byte Spill
	movsd	%xmm4, -152(%rbp)               ## 8-byte Spill
	movsd	%xmm0, -144(%rbp)               ## 8-byte Spill
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_15 Depth=3
	movapd	%xmm7, %xmm1
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=3
	incq	%r13
	movapd	%xmm1, %xmm7
	cmpq	-192(%rbp), %r13                ## 8-byte Folded Reload
	je	LBB0_22
LBB0_15:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_9 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_19 Depth 4
	leaq	(,%r13,2), %rax
	addq	%r13, %rax
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	cmpl	%ecx, (%rbx,%rax,8)
	jne	LBB0_13
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=3
	cmpq	$0, 16(%rbx,%rax,8)
	jne	LBB0_13
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=3
	cmpl	$2, -100(%rbp)                  ## 4-byte Folded Reload
	jl	LBB0_13
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=3
	movq	8(%rbx,%rax,8), %r14
	addq	$64, %r14
	movq	-184(%rbp), %r12                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_9 Depth=2
                                        ##       Parent Loop BB0_15 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movsd	%xmm7, -96(%rbp)                ## 8-byte Spill
	movl	-64(%r14), %eax
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	movsd	-56(%r14), %xmm2                ## xmm2 = mem[0],zero
	movapd	%xmm6, %xmm0
	mulsd	%xmm2, %xmm0
	mulsd	%xmm5, %xmm1
	addsd	%xmm0, %xmm1
	movsd	-48(%r14), %xmm3                ## xmm3 = mem[0],zero
	movsd	-40(%r14), %xmm4                ## xmm4 = mem[0],zero
	movapd	%xmm4, %xmm5
	mulsd	%xmm8, %xmm5
	addsd	%xmm3, %xmm5
	mulsd	-160(%rbp), %xmm5               ## 8-byte Folded Reload
	xorps	%xmm0, %xmm0
	cvtsi2sdl	-32(%r14), %xmm0
	addsd	%xmm1, %xmm5
	addsd	%xmm5, %xmm0
	mulsd	-152(%rbp), %xmm4               ## 8-byte Folded Reload
	addsd	%xmm3, %xmm4
	addl	%eax, %eax
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	mulsd	%xmm6, %xmm1
	addsd	%xmm2, %xmm1
	mulsd	-144(%rbp), %xmm1               ## 8-byte Folded Reload
	addsd	%xmm4, %xmm1
	mulsd	-224(%rbp), %xmm1               ## 16-byte Folded Reload
	callq	_hypot
	movl	-28(%r14), %eax
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	mulsd	-96(%rbp), %xmm0                ## 8-byte Folded Reload
	movsd	%xmm0, -96(%rbp)                ## 8-byte Spill
	movsd	-24(%r14), %xmm2                ## xmm2 = mem[0],zero
	movsd	-72(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	mulsd	%xmm2, %xmm0
	mulsd	-80(%rbp), %xmm1                ## 8-byte Folded Reload
	addsd	%xmm0, %xmm1
	movsd	-16(%r14), %xmm3                ## xmm3 = mem[0],zero
	movsd	-8(%r14), %xmm4                 ## xmm4 = mem[0],zero
	movapd	%xmm4, %xmm5
	mulsd	-240(%rbp), %xmm5               ## 16-byte Folded Reload
	addsd	%xmm3, %xmm5
	mulsd	-160(%rbp), %xmm5               ## 8-byte Folded Reload
	xorps	%xmm0, %xmm0
	cvtsi2sdl	(%r14), %xmm0
	addsd	%xmm1, %xmm5
	addsd	%xmm5, %xmm0
	mulsd	-152(%rbp), %xmm4               ## 8-byte Folded Reload
	addsd	%xmm3, %xmm4
	addl	%eax, %eax
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	mulsd	-72(%rbp), %xmm1                ## 8-byte Folded Reload
	addsd	%xmm2, %xmm1
	mulsd	-144(%rbp), %xmm1               ## 8-byte Folded Reload
	addsd	%xmm4, %xmm1
	mulsd	-224(%rbp), %xmm1               ## 16-byte Folded Reload
	callq	_hypot
	movsd	-96(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movapd	-240(%rbp), %xmm8               ## 16-byte Reload
	movsd	-72(%rbp), %xmm6                ## 8-byte Reload
                                        ## xmm6 = mem[0],zero
	movsd	-80(%rbp), %xmm5                ## 8-byte Reload
                                        ## xmm5 = mem[0],zero
	divsd	%xmm0, %xmm1
	addq	$72, %r14
	movapd	%xmm1, %xmm7
	decq	%r12
	jne	LBB0_19
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_9 Depth=2
	movapd	%xmm1, %xmm0
	callq	_log10
                                        ## kill: def $eax killed $eax def $rax
	shll	$2, %eax
	leal	(%rax,%rax,4), %eax
	negl	%eax
	cltd
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	idivl	20(%rcx)
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	addsd	LCPI0_2(%rip), %xmm0
	movl	(%rcx), %edx
	xorps	%xmm1, %xmm1
	cvtsi2sd	%edx, %xmm1
	mulsd	%xmm0, %xmm1
	mulsd	LCPI0_6(%rip), %xmm1
	cvttsd2si	%xmm1, %edi
	decl	%edx
	xorl	%esi, %esi
	callq	_av_clip
	movl	%eax, %ebx
	movsd	-128(%rbp), %xmm0               ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_lrint
	cmpl	$-1, %r15d
	cmovel	%ebx, %r15d
	shll	$2, %eax
	movslq	%eax, %rdx
	cmpl	%r15d, %ebx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%ebx, -80(%rbp)                 ## 4-byte Spill
	jle	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_9 Depth=2
	movl	%ebx, %r14d
	incl	%r14d
	movq	-120(%rbp), %r13                ## 8-byte Reload
	leaq	-64(%rbp), %r12
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_9 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	(%r13), %rax
	movq	8(%r13), %rcx
	movslq	(%rax), %rax
	movslq	%r15d, %r15
	imulq	%r15, %rax
	movq	(%rcx), %rbx
	addq	%rdx, %rbx
	addq	%rax, %rbx
	movq	%r12, %rdi
	callq	_AV_RL32
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_AV_WL32
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	incl	%r15d
	cmpl	%r15d, %r14d
	jne	LBB0_24
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_9 Depth=2
	incl	%r15d
                                        ## kill: def $ebx killed $ebx def $rbx
	movq	-120(%rbp), %r13                ## 8-byte Reload
	leaq	-64(%rbp), %r12
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_9 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	(%r13), %rax
	movq	8(%r13), %rcx
	movslq	(%rax), %rax
	movslq	%ebx, %rbx
	imulq	%rbx, %rax
	movq	(%rcx), %r14
	addq	%rdx, %r14
	addq	%rax, %r14
	movq	%r12, %rdi
	callq	_AV_RL32
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_AV_WL32
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	incl	%ebx
	cmpl	%ebx, %r15d
	jne	LBB0_26
	jmp	LBB0_8
LBB0_27:
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_av_free
LBB0_28:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_30
## %bb.29:
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @__const.draw_curves.fg
L___const.draw_curves.fg:
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" |"

	.comm	_M_PI,8,3                       ## @M_PI
	.comm	_FILTER_ORDER,4,2               ## @FILTER_ORDER
	.no_dead_strip	_draw_curves
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_curves
_draw_curves:                           ; @draw_curves
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	d15, d14, [sp, #112]            ; 16-byte Folded Spill
	stp	d13, d12, [sp, #128]            ; 16-byte Folded Spill
	stp	d11, d10, [sp, #144]            ; 16-byte Folded Spill
	stp	d9, d8, [sp, #160]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	.cfi_offset b12, -136
	.cfi_offset b13, -144
	.cfi_offset b14, -152
	.cfi_offset b15, -160
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #96]
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x26, [x0]
	str	xzr, [sp, #72]
	ldr	w0, [x26, #40]
	bl	_av_strdup
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	cbz	x0, LBB0_26
; %bb.1:
	ldp	x9, x8, [x19]
	ldr	x0, [x8]
	ldr	w8, [x26]
	ldr	w9, [x9]
	mul	w2, w9, w8
	mov	w1, #0
	bl	_memset
	str	x20, [sp, #32]                  ; 8-byte Folded Spill
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.2:
	mov	w27, #0
Lloh3:
	adrp	x8, l___const.draw_curves.fg@PAGE
Lloh4:
	add	x8, x8, l___const.draw_curves.fg@PAGEOFF
Lloh5:
	ldr	q0, [x8]
	str	q0, [sp, #16]                   ; 16-byte Folded Spill
	fmov	d9, #-1.00000000
	mov	w21, #24
	str	x26, [sp, #48]                  ; 8-byte Folded Spill
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w27, w27, #1
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w8, [x8]
	cmp	w27, w8
	b.ge	LBB0_25
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;       Child Loop BB0_15 Depth 3
                                        ;         Child Loop BB0_18 Depth 4
                                        ;       Child Loop BB0_24 Depth 3
                                        ;       Child Loop BB0_22 Depth 3
	ldr	q0, [sp, #16]                   ; 16-byte Folded Reload
	str	q0, [sp, #80]
	cmp	w27, #0
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	csel	x0, x8, xzr, eq
	add	x2, sp, #72
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_av_strtok
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x0
	add	x0, sp, #80
	mov	w2, #-1
	ldr	x3, [sp, #8]                    ; 8-byte Folded Reload
	bl	_av_parse_color
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	d1, [x26, #8]
	fcmp	d1, #0.0
	b.le	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	movi	d10, #0000000000000000
	mov	w24, #-1
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	fadd	d10, d10, d8
	ldr	d1, [x26, #8]
	fcmp	d10, d1
	b.pl	LBB0_3
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_15 Depth 3
                                        ;         Child Loop BB0_18 Depth 4
                                        ;       Child Loop BB0_24 Depth 3
                                        ;       Child Loop BB0_22 Depth 3
Lloh8:
	adrp	x8, _M_PI@GOTPAGE
Lloh9:
	ldr	x8, [x8, _M_PI@GOTPAGEOFF]
Lloh10:
	ldr	d8, [x8]
	ldr	x8, [x26, #32]
	str	w24, [sp, #60]                  ; 4-byte Folded Spill
	cbz	x8, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	fadd	d0, d1, d9
	fcvtzs	w0, d0
	fdiv	d0, d10, d1
	bl	_pow
	ldr	d1, [x26, #8]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=2
	fmov	d0, d10
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=2
	str	d10, [sp, #64]                  ; 8-byte Folded Spill
	fmul	d0, d8, d0
	fadd	d1, d1, d9
	fdiv	d0, d0, d1
	bl	___sincos_stret
	ldr	w24, [x26, #16]
	cmp	w24, #1
	b.lt	LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=2
	fmov	d9, d1
	mov	x22, #0
	fneg	d13, d0
	fmul	d0, d0, d0
	fmul	d1, d1, d1
	ldr	x23, [x26, #24]
Lloh11:
	adrp	x8, _FILTER_ORDER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FILTER_ORDER@GOTPAGEOFF]
Lloh13:
	ldr	w28, [x8]
	cmp	w28, #0
	cinc	w8, w28, lt
	asr	w25, w8, #1
	fmov	d2, #-8.00000000
	fmul	d2, d1, d2
	fmov	d10, #1.00000000
	fmadd	d14, d2, d0, d10
	fsub	d12, d1, d0
	fmov	d2, #-3.00000000
	fmadd	d11, d0, d2, d1
	fmov	d2, #3.00000000
	fnmsub	d15, d1, d2, d0
	fadd	d8, d9, d9
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=3
	add	x22, x22, #1
	cmp	x22, x24
	b.eq	LBB0_20
LBB0_15:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_18 Depth 4
	mul	x8, x22, x21
	ldr	w8, [x23, x8]
	cmp	w8, w27
	b.ne	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=3
	madd	x8, x22, x21, x23
	ldr	x8, [x8, #16]
	cmp	x8, #0
	ccmp	w28, #2, #8, eq
	b.lt	LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=3
	madd	x8, x22, x21, x23
	ldr	x8, [x8, #8]
	add	x26, x8, #32
	mov	x20, x25
LBB0_18:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ;       Parent Loop BB0_15 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	ldur	w8, [x26, #-32]
	scvtf	d0, w8
	ldp	d1, d2, [x26, #-24]
	fmul	d3, d12, d1
	fmadd	d0, d0, d14, d3
	ldur	d3, [x26, #-8]
	fmadd	d4, d3, d11, d2
	fmadd	d0, d9, d4, d0
	ldr	s4, [x26]
	sshll.2d	v4, v4, #0
	scvtf	d4, d4
	fadd	d0, d0, d4
	fmadd	d2, d3, d15, d2
	lsl	w8, w8, #1
	scvtf	d3, w8
	fmadd	d1, d3, d12, d1
	fmadd	d1, d8, d1, d2
	fmul	d1, d1, d13
	bl	_hypot
	fmul	d10, d10, d0
	ldr	w8, [x26, #4]
	scvtf	d0, w8
	ldp	d1, d2, [x26, #8]
	fmul	d3, d12, d1
	fmadd	d0, d0, d14, d3
	ldr	d3, [x26, #24]
	fmadd	d4, d3, d11, d2
	fmadd	d0, d9, d4, d0
	ldr	s4, [x26, #32]
	sshll.2d	v4, v4, #0
	scvtf	d4, d4
	fadd	d0, d0, d4
	fmadd	d2, d3, d15, d2
	lsl	w8, w8, #1
	scvtf	d3, w8
	fmadd	d1, d3, d12, d1
	fmadd	d1, d8, d1, d2
	fmul	d1, d1, d13
	bl	_hypot
	add	x26, x26, #72
	fdiv	d10, d10, d0
	subs	x20, x20, #1
	b.ne	LBB0_18
	b	LBB0_14
LBB0_19:                                ;   in Loop: Header=BB0_9 Depth=2
	fmov	d10, #1.00000000
LBB0_20:                                ;   in Loop: Header=BB0_9 Depth=2
	fmov	d0, d10
	bl	_log10
	mov	w8, #-20
	mul	w8, w0, w8
	ldr	x26, [sp, #48]                  ; 8-byte Folded Reload
	ldr	w9, [x26, #20]
	sdiv	w8, w8, w9
	scvtf	d0, w8
	ldr	w8, [x26]
	scvtf	d1, w8
	fmov	d8, #1.00000000
	fadd	d0, d0, d8
	fmul	d0, d0, d1
	fmov	d1, #0.50000000
	fmul	d0, d0, d1
	fcvtzs	w0, d0
	sub	w2, w8, #1
	mov	w1, #0
	bl	_av_clip
	mov	x24, x0
	ldr	d10, [sp, #64]                  ; 8-byte Folded Reload
	fmov	d0, d10
	bl	_lrint
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	cmn	w8, #1
	csel	w22, w24, w8, eq
	lsl	w8, w0, #2
	sxtw	x20, w8
	cmp	w24, w22
	b.le	LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_9 Depth=2
	add	w23, w24, #1
	fmov	d9, #-1.00000000
LBB0_22:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldp	x9, x8, [x19]
	ldr	x8, [x8]
	ldrsw	x9, [x9]
	sxtw	x10, w22
	add	x8, x8, x20
	madd	x25, x9, x10, x8
	add	x0, sp, #80
	bl	_AV_RL32
	mov	x1, x0
	mov	x0, x25
	bl	_AV_WL32
	add	w22, w22, #1
	cmp	w23, w22
	b.ne	LBB0_22
	b	LBB0_8
LBB0_23:                                ;   in Loop: Header=BB0_9 Depth=2
	add	w22, w22, #1
	mov	x23, x24
	fmov	d9, #-1.00000000
LBB0_24:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldp	x9, x8, [x19]
	ldr	x8, [x8]
	ldrsw	x9, [x9]
	sxtw	x10, w23
	add	x8, x8, x20
	madd	x25, x9, x10, x8
	add	x0, sp, #80
	bl	_AV_RL32
	mov	x1, x0
	mov	x0, x25
	bl	_AV_WL32
	add	w23, w23, #1
	cmp	w22, w23
	b.ne	LBB0_24
	b	LBB0_8
LBB0_25:
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_av_free
LBB0_26:
	ldr	x8, [sp, #96]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.27:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #160]              ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #144]            ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #128]            ; 16-byte Folded Reload
	ldp	d15, d14, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @__const.draw_curves.fg
l___const.draw_curves.fg:
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" |"

	.comm	_M_PI,8,3                       ; @M_PI
	.comm	_FILTER_ORDER,4,2               ; @FILTER_ORDER
	.no_dead_strip	_draw_curves
.subsections_via_symbols
