	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Sort
_Sort:                                  ## @Sort
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	_Flow_Up@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rdx
	movq	24(%rax), %r9
	movq	(%rdx), %rcx
	movq	%rcx, (%rax)
	xorl	%ecx, %ecx
	movl	16(%rax), %esi
	andl	%r8d, %esi
	setne	%cl
	shlq	$4, %rcx
	addq	%rdx, %rcx
	addq	$-8, %rcx
	movq	%rcx, 8(%rax)
	decl	32(%rax)
	movq	%r9, %rax
	testq	%r9, %r9
	jne	LBB0_2
## %bb.3:
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.4:
	movq	24(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	leaq	24(%rcx), %rdx
	movq	%rdi, %r8
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rcx
	movq	%rdx, %r8
	leaq	24(%rax), %rdx
	movq	24(%rax), %rax
	testq	%rax, %rax
	je	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rsi
	cmpq	(%rax), %rsi
	jle	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, (%r8)
	movq	24(%rax), %rsi
	movq	%rsi, (%rdx)
	movq	%rcx, 24(%rax)
	movq	(%rdi), %rax
	movq	%rdi, %rdx
	jmp	LBB0_8
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Flow_Up,4,2                    ## @Flow_Up
	.no_dead_strip	_Sort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Sort
_Sort:                                  ; @Sort
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_9
; %bb.1:
Lloh0:
	adrp	x9, _Flow_Up@GOTPAGE
Lloh1:
	ldr	x9, [x9, _Flow_Up@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mov	x10, #-8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8, #8]
	ldr	x12, [x11]
	ldr	w13, [x8, #16]
	tst	w9, w13
	cneg	x13, x10, ne
	add	x11, x11, x13
	stp	x12, x11, [x8]
	ldr	w11, [x8, #32]
	sub	w11, w11, #1
	str	w11, [x8, #32]
	ldr	x8, [x8, #24]
	cbnz	x8, LBB0_2
; %bb.3:
	ldr	x10, [x0]
	cbz	x10, LBB0_9
; %bb.4:
	mov	x9, x10
	ldr	x8, [x9, #24]!
	cbz	x8, LBB0_9
; %bb.5:
	mov	x11, x0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x10, x8
	mov	x11, x9
	mov	x9, x8
	ldr	x8, [x9, #24]!
	cbz	x8, LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10]
	ldr	x13, [x8]
	cmp	x12, x13
	b.le	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	str	x8, [x11]
	ldr	x11, [x8, #24]
	str	x11, [x9]
	str	x10, [x8, #24]
	ldr	x8, [x0]
	mov	x9, x0
	b	LBB0_6
LBB0_9:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_Flow_Up,4,2                    ; @Flow_Up
	.no_dead_strip	_Sort
.subsections_via_symbols
