	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stbtt__sort_edges_quicksort
_stbtt__sort_edges_quicksort:           ## @stbtt__sort_edges_quicksort
	.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
	cmpl	$13, %esi
	jl	LBB0_16
## %bb.1:
	movl	%esi, %r12d
	movq	%rdi, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_stbtt__sort_edges_quicksort
	movq	%r14, %rbx
	movl	%r13d, %r12d
	cmpl	$12, %r12d
	jle	LBB0_16
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##       Child Loop BB0_7 Depth 3
                                        ##       Child Loop BB0_9 Depth 3
	movl	%r12d, %eax
	shrl	%eax
	leaq	(%rbx,%rax,4), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_STBTT__COMPARE
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leal	-1(%r12), %r13d
	leaq	(%rbx,%r13,4), %rsi
	movq	%r15, %rdi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	callq	_STBTT__COMPARE
	cmpl	%eax, -48(%rbp)                 ## 4-byte Folded Reload
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_STBTT__COMPARE
	cmpl	%r14d, %eax
	movl	%r13d, %ecx
	movl	$0, %eax
	cmovel	%eax, %ecx
	movl	(%rbx,%rcx,4), %eax
	movl	(%r15), %edx
	movl	%edx, (%rbx,%rcx,4)
	movl	%eax, (%r15)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdx
	movl	(%rbx), %ecx
	movl	%eax, (%rbx)
	movl	%ecx, (%r15)
	movl	$1, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_7 Depth 3
                                        ##       Child Loop BB0_9 Depth 3
	movslq	%r13d, %r13
	leal	-1(%r13), %r12d
	leaq	(,%r13,4), %rbx
	movl	$4, %r15d
	subq	%rbx, %r15
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leaq	(%rdx,%rbx), %rdi
	movq	%rdx, %r14
	movq	%rdx, %rsi
	callq	_STBTT__COMPARE
	movq	%r14, %rdx
	incq	%r13
	incl	%r12d
	addq	$-4, %r15
	addq	$4, %rbx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rax
	leaq	(%rdx,%rax,4), %rbx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%rdx, %rdi
	movq	%rbx, %rsi
	movq	%rcx, %r13
	callq	_STBTT__COMPARE
	movq	%r13, %rcx
	movq	%r14, %rdx
	decl	%ecx
	addq	$-4, %rbx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=2
	leal	1(%rcx), %r13d
	cmpl	%r13d, %r12d
	jge	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	-4(%rdx,%r13,4), %eax
	movl	4(%rbx), %ecx
	movl	%ecx, -4(%rdx,%r13,4)
	movl	%eax, 4(%rbx)
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	subl	%r12d, %eax
	movq	%rax, %r12
	movq	%rdx, %rbx
	subq	%r15, %rbx
	cmpl	%r13d, %r12d
	jle	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdx, %rdi
	movl	%r13d, %esi
	callq	_stbtt__sort_edges_quicksort
	cmpl	$12, %r12d
	jg	LBB0_2
LBB0_16:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stbtt__sort_edges_quicksort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stbtt__sort_edges_quicksort
_stbtt__sort_edges_quicksort:           ; @stbtt__sort_edges_quicksort
	.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
	cmp	w1, #13
	b.lt	LBB0_15
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	x1, x19
	bl	_stbtt__sort_edges_quicksort
	mov	x19, x22
	cmp	w19, #12
	b.le	LBB0_15
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_8 Depth 3
                                        ;       Child Loop BB0_10 Depth 3
	lsr	w8, w19, #1
	add	x21, x20, w8, uxtw #2
	mov	x0, x20
	mov	x1, x21
	bl	_STBTT__COMPARE
	mov	x24, x0
	sub	w25, w19, #1
	add	x22, x20, w25, uxtw #2
	mov	x0, x21
	mov	x1, x22
	bl	_STBTT__COMPARE
	cmp	w24, w0
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x21]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x0
	mov	x0, x20
	mov	x1, x22
	bl	_STBTT__COMPARE
	cmp	w0, w23
	csel	w8, wzr, w25, eq
	lsl	x9, x8, #2
	ldr	w8, [x20, x9]
	ldr	w10, [x21]
	str	w10, [x20, x9]
	str	w8, [x21]
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x20]
	str	w8, [x20]
	str	w9, [x21]
	mov	w23, #1
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_8 Depth 3
                                        ;       Child Loop BB0_10 Depth 3
	sxtw	x23, w23
	sub	w24, w23, #1
	lsl	x26, x23, #2
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x0, x20, x26
	mov	x1, x20
	bl	_STBTT__COMPARE
	add	x23, x23, #1
	add	w24, w24, #1
	add	x26, x26, #4
	cbnz	w0, LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x27, x20, x26
	add	x21, x20, w25, sxtw #2
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x20
	mov	x1, x21
	bl	_STBTT__COMPARE
	sub	w25, w25, #1
	sub	x21, x21, #4
	cbnz	w0, LBB0_10
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=2
	add	w22, w25, #1
	cmp	w24, w22
	b.ge	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=2
	ldur	w8, [x27, #-4]
	ldr	w9, [x21, #4]
	stur	w9, [x27, #-4]
	str	w8, [x21, #4]
	b	LBB0_7
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x20, x26
	sub	x21, x8, #4
	sub	w19, w19, w24
	cmp	w19, w22
	b.le	LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_stbtt__sort_edges_quicksort
	mov	x20, x21
	cmp	w19, #12
	b.gt	LBB0_3
LBB0_15:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stbtt__sort_edges_quicksort
.subsections_via_symbols
