	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function draw_scope
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_draw_scope:                            ## @draw_scope
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r12d
	movl	%ecx, -80(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	movl	%esi, %ebx
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%r14d, %r14d
	movl	%ecx, %edi
	subl	%esi, %edi
	setg	%r14b
	callq	_FFABS
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	leal	(%r14,%r14), %r15d
	decl	%r15d
	xorl	%r14d, %r14d
	movl	%r12d, %edi
	subl	%r13d, %edi
	setg	%r14b
	callq	_FFABS
	movl	%r15d, %r11d
	movl	-76(%rbp), %r9d                 ## 4-byte Reload
	movq	-88(%rbp), %r10                 ## 8-byte Reload
	movl	%r12d, %r8d
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, %r15d
	addl	%r14d, %r14d
	decl	%r14d
	movl	-80(%rbp), %edi                 ## 4-byte Reload
	negl	%eax
	cmpl	%r15d, %r9d
	cmovgl	%r9d, %eax
	movl	%eax, %r12d
	shrl	$31, %r12d
	addl	%eax, %r12d
	sarl	%r12d
	leaq	16(%r10), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	%r9d, %eax
	negl	%eax
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	movl	%r8d, -108(%rbp)                ## 4-byte Spill
	movl	%r11d, -104(%rbp)               ## 4-byte Spill
	movl	%r14d, -100(%rbp)               ## 4-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	-120(%rbp), %r12d               ## 4-byte Folded Reload
	movl	$0, %eax
	cmovgl	%r15d, %eax
	movl	$0, %ecx
	cmovgl	%r11d, %ecx
	movl	%r12d, %esi
	subl	%eax, %esi
	addl	%ecx, %ebx
	cmpl	%r15d, %r12d
	movl	$0, %eax
	cmovll	%r14d, %eax
	movl	$0, %r12d
	cmovll	%r9d, %r12d
	addl	%eax, %r13d
	addl	%esi, %r12d
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	testl	%ebx, %ebx
	js	LBB0_19
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%r13d, %r13d
	js	LBB0_19
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	(%rdx), %ebx
	jge	LBB0_19
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	4(%rdx), %r13d
	jge	LBB0_19
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$0, -96(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	leaq	-96(%rbp), %rsi
	movl	%ebx, %ecx
	movl	%r13d, %r8d
	leaq	-64(%rbp), %r9
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	callq	*56(%rax)
	movq	-88(%rbp), %r10                 ## 8-byte Reload
	movl	-64(%rbp), %eax
	movq	(%r10), %rsi
	movq	48(%r10), %rcx
	movq	(%rcx,%rsi,8), %rcx
	movl	%eax, (%rcx)
	movl	-60(%rbp), %eax
	movl	%eax, 4(%rcx)
	movl	-56(%rbp), %eax
	movl	%eax, 8(%rcx)
	movl	-52(%rbp), %eax
	movl	%eax, 12(%rcx)
	incq	%rsi
	movq	%rsi, (%r10)
	cmpq	$0, 40(%r10)
	je	LBB0_18
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	32(%r10), %rax
	movq	(%rax), %rax
	cmpl	$8, (%rax)
	movl	16(%r10), %eax
	jne	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$1, %eax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%r10), %r8
	movl	(%r8), %ecx
	testl	%ecx, %ecx
	jle	LBB0_18
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	addl	24(%rbp), %esi
	andl	$1, %esi
	movl	%esi, %edx
	shll	$8, %edx
	subl	%esi, %edx
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	8(%rsi), %rax
	movq	16(%rsi), %r9
	movq	(%rax), %rdi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r9), %esi
	imull	%r13d, %esi
	imull	%ebx, %ecx
	addl	%esi, %ecx
	addl	%eax, %ecx
	movslq	%ecx, %rcx
	movl	%edx, (%rdi,%rcx,4)
	incl	%eax
	movl	(%r8), %ecx
	cmpl	%ecx, %eax
	jl	LBB0_10
	jmp	LBB0_18
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movslq	%r13d, %rdi
	cmpl	$1, %eax
	jne	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%r10), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%r15d, -116(%rbp)               ## 4-byte Spill
	leal	(%rbx,%rbx), %ecx
	movl	%ecx, -112(%rbp)                ## 4-byte Spill
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rdx), %rcx
	movq	16(%rdx), %rdx
	movslq	(%rdx), %rdx
	imulq	%rdi, %rdx
	shlq	$2, %rdx
	addq	(%rcx), %rdx
	addl	%r14d, %eax
	decl	%eax
	imull	-112(%rbp), %eax                ## 4-byte Folded Reload
	cltq
	movq	%rdi, %r15
	leaq	(%rdx,%rax,4), %rdi
	movl	8(%r10), %eax
	decl	%eax
	addl	24(%rbp), %esi
	andl	$1, %esi
	imull	%eax, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_AV_WN16
	movq	%r15, %rdi
	movq	-88(%rbp), %r10                 ## 8-byte Reload
	movq	24(%r10), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r14d
	movl	-116(%rbp), %r15d               ## 4-byte Reload
	jge	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	(%r10), %rsi
	incl	%r14d
	jmp	LBB0_15
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	addl	24(%rbp), %esi
	andl	$1, %esi
	movl	%esi, %eax
	shll	$8, %eax
	subl	%esi, %eax
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rdx), %rcx
	movq	16(%rdx), %rdx
	movq	(%rcx), %rcx
	movl	(%rdx), %edx
	imull	%r13d, %edx
	addl	%ebx, %edx
	movslq	%edx, %rdx
	movl	%eax, (%rcx,%rdx,4)
	jmp	LBB0_18
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rax
	movq	16(%rcx), %rcx
	movslq	(%rcx), %rcx
	imulq	%rdi, %rcx
	shlq	$2, %rcx
	addq	(%rax), %rcx
	leal	(%rbx,%rbx), %eax
	cltq
	leaq	(%rcx,%rax,4), %rdi
	movl	8(%r10), %eax
	decl	%eax
	addl	24(%rbp), %esi
	andl	$1, %esi
	imull	%eax, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_AV_WN16
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	-108(%rbp), %r8d                ## 4-byte Reload
	movl	-80(%rbp), %edi                 ## 4-byte Reload
	movl	-76(%rbp), %r9d                 ## 4-byte Reload
	movl	-104(%rbp), %r11d               ## 4-byte Reload
	movl	-100(%rbp), %r14d               ## 4-byte Reload
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%edi, %ebx
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r8d, %r13d
	jne	LBB0_21
## %bb.22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.23:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_draw_scope
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_scope
_draw_scope:                            ; @draw_scope
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	str	w7, [sp, #28]                   ; 4-byte Folded Spill
	mov	x20, x5
	mov	x22, x4
	mov	x21, x3
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	subs	w0, w3, w1
	mov	w19, #1
	cneg	w27, w19, le
	bl	_FFABS
	mov	x26, x0
	subs	w0, w22, w23
	cneg	w28, w19, le
	mov	x19, x21
	bl	_FFABS
	mov	x11, x28
	mov	x10, x27
	mov	x27, x0
	cmp	w26, w0
	csneg	w8, w26, w0, gt
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w21, w8, #1
	add	x8, x25, #16
	str	x8, [sp]                        ; 8-byte Folded Spill
	neg	w28, w26
	stp	w19, w22, [sp, #20]             ; 8-byte Folded Spill
	stp	w11, w10, [sp, #12]             ; 8-byte Folded Spill
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w21, w28
	csel	w8, w27, wzr, gt
	csel	w9, w10, wzr, gt
	add	w24, w9, w24
	cmp	w21, w27
	csel	w9, w11, wzr, lt
	add	w23, w9, w23
	csel	w9, w26, wzr, lt
	sub	w8, w21, w8
	add	w21, w8, w9
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	tbnz	w24, #31, LBB0_20
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	tbnz	w23, #31, LBB0_20
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20]
	cmp	w24, w8
	b.ge	LBB0_20
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20, #4]
	cmp	w23, w8
	b.ge	LBB0_20
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	str	wzr, [sp, #32]
	stp	xzr, xzr, [sp, #40]
	ldr	x8, [x25, #56]
	add	x1, sp, #32
	add	x5, sp, #40
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	mov	x2, x20
	mov	x3, x24
	mov	x4, x23
	blr	x8
	ldr	w8, [sp, #40]
	ldr	x9, [x25, #48]
	ldr	x10, [x25]
	ldr	x9, [x9, x10, lsl #3]
	str	w8, [x9]
	ldr	w8, [sp, #44]
	str	w8, [x9, #4]
	ldr	w8, [sp, #48]
	str	w8, [x9, #8]
	ldr	w8, [sp, #52]
	str	w8, [x9, #12]
	add	x8, x10, #1
	str	x8, [x25]
	ldr	x9, [x25, #40]
	cbz	x9, LBB0_19
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x25, #32]
	ldr	x9, [x9]
	ldr	w10, [x9]
	ldr	w9, [x25, #16]
	cmp	w10, #8
	b.ne	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w9, #1
	b.ne	LBB0_17
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x25, #24]
	ldr	w11, [x9]
	cmp	w11, #1
	b.lt	LBB0_19
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w10, #0
	ldr	w12, [sp, #28]                  ; 4-byte Folded Reload
	add	w8, w8, w12
	and	w8, w8, #0x1
	lsl	w12, w8, #8
	sub	w8, w12, w8
	ldp	x13, x12, [x20, #8]
	ldr	x13, [x13]
LBB0_11:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w14, [x12]
	mul	w14, w14, w23
	madd	w11, w11, w24, w14
	add	w11, w10, w11
	str	w8, [x13, w11, sxtw #2]
	add	w10, w10, #1
	ldr	w11, [x9]
	cmp	w10, w11
	b.lt	LBB0_11
	b	LBB0_19
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w9, #1
	b.ne	LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x25, #24]
	ldr	w9, [x9]
	cmp	w9, #1
	b.lt	LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	lsl	w19, w24, #1
	mov	w22, #1
LBB0_15:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x10, x11, [x20, #8]
	ldr	x10, [x10]
	ldr	w11, [x11]
	mul	w11, w11, w23
	add	x10, x10, w11, sxtw #2
	add	w9, w9, w22
	sub	w9, w9, #1
	mul	w9, w19, w9
	add	x0, x10, w9, sxtw #2
	ldr	w9, [x25, #8]
	sub	w9, w9, #1
	ldr	w10, [sp, #28]                  ; 4-byte Folded Reload
	add	w8, w8, w10
	and	w8, w8, #0x1
	mul	w1, w8, w9
	bl	_AV_WN16
	ldr	x8, [x25, #24]
	ldr	w9, [x8]
	cmp	w22, w9
	b.ge	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	x8, [x25]
	add	w22, w22, #1
	b	LBB0_15
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	add	w8, w8, w9
	and	w8, w8, #0x1
	lsl	w9, w8, #8
	sub	w8, w9, w8
	ldp	x9, x10, [x20, #8]
	ldr	x9, [x9]
	ldr	w10, [x10]
	madd	w10, w10, w23, w24
	str	w8, [x9, w10, sxtw #2]
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	x9, x10, [x20, #8]
	ldr	x9, [x9]
	ldr	w10, [x10]
	mul	w10, w10, w23
	add	x9, x9, w10, sxtw #2
	lsl	w10, w24, #1
	add	x0, x9, w10, sxtw #2
	ldr	w9, [x25, #8]
	sub	w9, w9, #1
	ldr	w10, [sp, #28]                  ; 4-byte Folded Reload
	add	w8, w8, w10
	and	w8, w8, #0x1
	mul	w1, w9, w8
	bl	_AV_WN16
LBB0_19:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	w19, w22, [sp, #20]             ; 8-byte Folded Reload
	ldp	w11, w10, [sp, #12]             ; 8-byte Folded Reload
LBB0_20:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w24, w19
	b.ne	LBB0_1
; %bb.21:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w23, w22
	b.ne	LBB0_1
; %bb.22:
	ldr	x8, [sp, #56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_draw_scope
.subsections_via_symbols
