	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ScuDspSortCodeBreakpoints
_ScuDspSortCodeBreakpoints:             ## @ScuDspSortCodeBreakpoints
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MAX_BREAKPOINTS@GOTPCREL(%rip), %r9
	movl	(%r9), %ecx
	cmpl	$2, %ecx
	jl	LBB0_9
## %bb.1:
	movq	_ScuBP@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movl	$1, %r11d
	xorl	%r10d, %r10d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	leal	-1(%rcx), %eax
	cltq
	incq	%r11
	cmpq	%rax, %r10
	jge	LBB0_9
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	%r10, %rdi
	incq	%r10
	movslq	%ecx, %rax
	cmpq	%rax, %r10
	jge	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r8), %rax
	movq	%r11, %rsi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	incq	%rsi
	cmpl	%esi, %ecx
	jle	LBB0_2
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$-1, (%rax,%rdi,4)
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movl	(%rax,%rsi,4), %edx
	cmpl	$-1, %edx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	movl	%edx, (%rax,%rdi,4)
	movl	$-1, (%rax,%rsi,4)
	movl	(%r9), %ecx
	jmp	LBB0_8
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_BREAKPOINTS,4,2            ## @MAX_BREAKPOINTS
	.comm	_ScuBP,8,3                      ## @ScuBP
	.no_dead_strip	_ScuDspSortCodeBreakpoints
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ScuDspSortCodeBreakpoints
_ScuDspSortCodeBreakpoints:             ; @ScuDspSortCodeBreakpoints
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MAX_BREAKPOINTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_BREAKPOINTS@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #2
	b.lt	LBB0_9
; %bb.1:
	mov	x13, #0
Lloh2:
	adrp	x10, _ScuBP@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ScuBP@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	mov	w11, #1
	mov	w12, #-1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w13, w9, #1
	add	x11, x11, #1
	cmp	x14, w13, sxtw
	mov	x13, x14
	b.ge	LBB0_9
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	add	x14, x13, #1
	cmp	x14, w9, sxtw
	b.ge	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x15, [x10]
	mov	x16, x11
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x16, x16, #1
	cmp	w9, w16
	b.le	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w17, [x15, x13, lsl #2]
	cmn	w17, #1
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w17, [x15, x16, lsl #2]
	cmn	w17, #1
	b.eq	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	str	w17, [x15, x13, lsl #2]
	str	w12, [x15, x16, lsl #2]
	ldr	w9, [x8]
	b	LBB0_5
LBB0_9:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_BREAKPOINTS,4,2            ; @MAX_BREAKPOINTS
	.comm	_ScuBP,8,3                      ; @ScuBP
	.no_dead_strip	_ScuDspSortCodeBreakpoints
.subsections_via_symbols
