	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sortunit
_sortunit:                              ## @sortunit
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	xorl	%ebx, %ebx
	cmpq	$0, (%rdi)
	movl	$0, %esi
	je	LBB0_3
## %bb.1:
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 8(%rdi,%rsi,8)
	leaq	1(%rsi), %rsi
	jne	LBB0_2
LBB0_3:
	movq	_compare@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$8, %edx
	callq	_qsort
	movq	8(%r14), %rdi
	cmpq	$0, (%rdi)
	je	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 8(%rdi,%rbx,8)
	leaq	1(%rbx), %rbx
	jne	LBB0_5
LBB0_6:
	movl	(%r15), %ecx
	movl	%ebx, %esi
	movl	$8, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qsort                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_compare,4,2                    ## @compare
	.no_dead_strip	_sortunit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sortunit
_sortunit:                              ; @sortunit
	.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
	mov	x19, x0
	ldr	x0, [x0]
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x1, #0
	add	x8, x0, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8, x1, lsl #3]
	add	x1, x1, #1
	cbnz	x9, LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w1, #0
LBB0_4:
Lloh0:
	adrp	x20, _compare@GOTPAGE
Lloh1:
	ldr	x20, [x20, _compare@GOTPAGEOFF]
	ldr	w3, [x20]
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	w2, #8
	bl	_qsort
	ldr	x0, [x19, #8]
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.5:
	mov	x1, #0
	add	x8, x0, #8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8, x1, lsl #3]
	add	x1, x1, #1
	cbnz	x9, LBB0_6
	b	LBB0_8
LBB0_7:
	mov	w1, #0
LBB0_8:
	ldr	w3, [x20]
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	w2, #8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_qsort
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_compare,4,2                    ; @compare
	.no_dead_strip	_sortunit
.subsections_via_symbols
