	.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
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rax
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	%rdi, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %ecx
	testb	$1, %cl
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rdi
	movq	%rax, %rsi
	callq	_sort
	movl	(%rbx), %ecx
	movl	%ecx, (%rax)
	addq	$4, %rax
	testb	$1, 4(%rbx)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rdi
	movq	%rax, %rsi
	callq	_sort
	movl	4(%rbx), %ecx
	movl	%ecx, (%rax)
	addq	$4, %rax
	jmp	LBB0_5
LBB0_6:
	andl	$-2, %ecx
	movl	%ecx, (%rax)
	movl	4(%rbx), %ecx
	testb	$1, %cl
	jne	LBB0_7
## %bb.8:
	movl	%ecx, 4(%rax)
	addq	$8, %rax
	jmp	LBB0_9
LBB0_7:
	addq	$4, %rax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x19, [x19, #8]
	cbz	x19, LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	tbnz	w8, #0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19, #24]
	bl	_sort
	mov	x1, x0
	ldr	w8, [x19]
	str	w8, [x1], #4
	ldrb	w8, [x19, #4]
	tbnz	w8, #0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19, #16]
	bl	_sort
	mov	x1, x0
	ldr	w8, [x19, #4]
	str	w8, [x1], #4
	b	LBB0_2
LBB0_6:
	and	w9, w8, #0xfffffffe
	mov	x8, x1
	str	w9, [x8], #4
	ldr	w9, [x19, #4]
	tbnz	w9, #0, LBB0_8
; %bb.7:
	str	w9, [x1, #4]
	add	x1, x1, #8
	b	LBB0_9
LBB0_8:
	mov	x1, x8
LBB0_9:
	mov	x0, x1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sort
.subsections_via_symbols
