	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OutputContours                 ## -- Begin function OutputContours
	.p2align	4, 0x90
_OutputContours:                        ## @OutputContours
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	$0, (%rdi)
	movq	16(%rsi), %rax
	cmpq	%rsi, %rax
	je	LBB0_1
## %bb.2:
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rax), %rax
	cmpq	%r14, %rax
	je	LBB0_8
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	cmpl	$0, 8(%rax)
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax), %rdx
	movq	%rdx, %rdi
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incl	%ecx
	movq	(%rdi), %rdi
	cmpq	%rdx, %rdi
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ecx, (%r15)
	incl	%esi
	movl	%esi, 4(%r15)
	jmp	LBB0_7
LBB0_1:
	xorl	%esi, %esi
LBB0_8:
	movl	24(%r15), %edi
	shll	$3, %esi
	callq	*32(%r15)
	movq	%rax, 8(%r15)
	movl	24(%r15), %edi
	movl	(%r15), %esi
	imull	%r12d, %esi
	shll	$2, %esi
	callq	*32(%r15)
	movq	%rax, 16(%r15)
	movq	16(%r14), %r10
	cmpq	%r14, %r10
	je	LBB0_18
## %bb.9:
	movq	8(%r15), %r9
	xorl	%r8d, %r8d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	%r8d, (%r9)
	movl	%edi, 4(%r9)
	addq	$8, %r9
	addl	%edi, %r8d
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	16(%r10), %r10
	cmpq	%r14, %r10
	je	LBB0_18
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	cmpl	$0, 8(%r10)
	je	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r10), %rdx
	xorl	%edi, %edi
	movq	%rdx, %rsi
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	8(%rcx), %ecx
	movl	%ecx, 8(%rax)
	addq	$12, %rax
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=2
	incl	%edi
	movq	(%rsi), %rsi
	cmpq	%rdx, %rsi
	je	LBB0_16
LBB0_12:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rsi), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %ebx
	movl	%ebx, (%rax)
	movl	4(%rcx), %ebx
	movl	%ebx, 4(%rax)
	cmpl	$3, %r12d
	jge	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	addq	$8, %rax
	jmp	LBB0_15
LBB0_18:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OutputContours                 ; -- Begin function OutputContours
	.p2align	2
_OutputContours:                        ; @OutputContours
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	str	xzr, [x0]
	ldr	x8, [x1, #16]
	cmp	x8, x1
	b.eq	LBB0_7
; %bb.1:
	mov	w9, #0
	mov	w10, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8, #16]
	cmp	x8, x20
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	w11, [x8, #8]
	cbz	w11, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x8]
	mov	x12, x11
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w10, w10, #1
	ldr	x12, [x12]
	cmp	x12, x11
	b.ne	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w9, w9, #1
	stp	w10, w9, [x21]
	b	LBB0_2
LBB0_7:
	mov	w9, #0
LBB0_8:
	ldr	x8, [x21, #32]
	ldr	w0, [x21, #24]
	lsl	w1, w9, #3
	blr	x8
	str	x0, [x21, #8]
	ldr	x8, [x21, #32]
	ldr	w0, [x21, #24]
	ldr	w9, [x21]
	mul	w9, w19, w9
	lsl	w1, w9, #2
	blr	x8
	str	x0, [x21, #16]
	ldr	x8, [x20, #16]
	cmp	x8, x20
	b.eq	LBB0_18
; %bb.9:
	mov	w9, #0
	ldr	x10, [x21, #8]
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	stp	w9, w11, [x10], #8
	add	w9, w9, w11
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x8, #16]
	cmp	x8, x20
	b.eq	LBB0_18
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	ldr	w11, [x8, #8]
	cbz	w11, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w11, #0
	ldr	x12, [x8]
	mov	x13, x12
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=2
	ldr	w14, [x14, #8]
	str	w14, [x0, #8]
	add	x0, x0, #12
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=2
	add	w11, w11, #1
	ldr	x13, [x13]
	cmp	x13, x12
	b.eq	LBB0_10
LBB0_16:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x14, [x13, #8]
	ldr	x14, [x14]
	ldr	w15, [x14]
	str	w15, [x0]
	ldr	w15, [x14, #4]
	str	w15, [x0, #4]
	cmp	w19, #3
	b.ge	LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	add	x0, x0, #8
	b	LBB0_15
LBB0_18:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
