	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stbtt__sort_edges_ins_sort
_stbtt__sort_edges_ins_sort:            ## @stbtt__sort_edges_ins_sort
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$2, %esi
	jl	LBB0_9
## %bb.1:
	movq	%rdi, %r15
	movl	%esi, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$1, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	cmpq	-56(%rbp), %r14                 ## 8-byte Folded Reload
	je	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movl	(%r15,%r14,4), %eax
	movl	%eax, -44(%rbp)
	movq	%r14, %r12
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	-1(%r12), %r13
	movl	%r13d, %eax
	leaq	(%r15,%rax,4), %rbx
	leaq	-44(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_STBTT__COMPARE
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	(%rbx), %eax
	movl	%eax, (%r15,%r12,4)
	leaq	1(%r13), %rax
	movq	%r13, %r12
	cmpq	$1, %rax
	jg	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %eax
	cmpq	%rax, %r14
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %eax
	movslq	%r12d, %rcx
	movl	%eax, (%r15,%rcx,4)
	jmp	LBB0_8
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stbtt__sort_edges_ins_sort
.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_ins_sort
_stbtt__sort_edges_ins_sort:            ; @stbtt__sort_edges_ins_sort
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	cmp	w1, #2
	b.lt	LBB0_9
; %bb.1:
	mov	x19, x0
	mov	w21, w1
	mov	w22, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	cmp	x22, x21
	b.eq	LBB0_9
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	w8, [x19, x22, lsl #2]
	str	w8, [sp, #12]
	mov	x23, x22
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x24, x23, #1
	add	x20, x19, w24, uxtw #2
	add	x0, sp, #12
	mov	x1, x20
	bl	_STBTT__COMPARE
	cbz	w0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	w8, [x20]
	str	w8, [x19, x23, lsl #2]
	add	x8, x24, #1
	mov	x23, x24
	cmp	x8, #1
	b.gt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w23, #0
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x22, w23, uxtw
	b.eq	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #12]
	str	w8, [x19, w23, sxtw #2]
	b	LBB0_2
LBB0_9:
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stbtt__sort_edges_ins_sort
.subsections_via_symbols
