	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tw_cmd_sort
_tw_cmd_sort:                           ## @tw_cmd_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_pintr_disabled@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_tw_cmd@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movq	8(%r14), %rdi
	movq	_fcompare@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$8, %edx
	callq	_qsort
	movq	(%r14), %rax
	cmpq	$2, %rax
	jb	LBB0_11
## %bb.1:
	movl	$1, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movq	(%r14), %rax
	cmpq	%rax, %rbx
	jae	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movl	-4(%rax,%rbx,4), %edi
	movl	(%rax,%rbx,4), %esi
	callq	_Strcmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%r15, %r15
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r14), %rax
	movl	-4(%rax,%rbx,4), %ecx
	leaq	(,%r15,4), %rdx
	subq	%rdx, %rax
	movl	%ecx, -4(%rax,%rbx,4)
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_3
LBB0_9:
	testq	%r15, %r15
	je	LBB0_11
## %bb.10:
	movq	8(%r14), %rcx
	movl	-4(%rcx,%rbx,4), %edx
	leaq	(,%r15,4), %rsi
	subq	%rsi, %rcx
	movl	%edx, -4(%rcx,%rbx,4)
	jmp	LBB0_12
LBB0_11:
	xorl	%r15d, %r15d
LBB0_12:
	subq	%r15, %rax
	movq	%rax, (%r14)
	movq	_pintr_disabled@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_disabled_cleanup               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pintr_disabled,4,2             ## @pintr_disabled
	.comm	_tw_cmd,16,3                    ## @tw_cmd
	.comm	_fcompare,4,2                   ## @fcompare
	.no_dead_strip	_tw_cmd_sort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tw_cmd_sort
_tw_cmd_sort:                           ; @tw_cmd_sort
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _pintr_disabled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pintr_disabled@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
Lloh2:
	adrp	x19, _tw_cmd@GOTPAGE
Lloh3:
	ldr	x19, [x19, _tw_cmd@GOTPAGEOFF]
	str	w9, [x8]
	ldp	x1, x0, [x19]
Lloh4:
	adrp	x8, _fcompare@GOTPAGE
Lloh5:
	ldr	x8, [x8, _fcompare@GOTPAGEOFF]
Lloh6:
	ldr	w3, [x8]
	mov	w2, #8
	bl	_qsort
	ldr	x8, [x19]
	cmp	x8, #2
	b.lo	LBB0_7
; %bb.1:
	mov	x21, #0
	mov	x20, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	add	x9, x21, #1
	add	x10, x21, #2
	mov	x21, x9
	cmp	x10, x8
	b.hs	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, x21, lsl #2
	ldp	w0, w1, [x8]
	bl	_Strcmp
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x20, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	lsl	x9, x21, #2
	ldr	w10, [x8, x9]
	sub	x8, x8, x20, lsl #2
	str	w10, [x8, x9]
	b	LBB0_3
LBB0_7:
	mov	x20, #0
	b	LBB0_10
LBB0_8:
	cbz	x20, LBB0_10
; %bb.9:
	ldr	x10, [x19, #8]
	lsl	x9, x9, #2
	ldr	w11, [x10, x9]
	sub	x10, x10, x20, lsl #2
	str	w11, [x10, x9]
LBB0_10:
	sub	x8, x8, x20
	str	x8, [x19]
Lloh7:
	adrp	x0, _pintr_disabled@GOTPAGE
Lloh8:
	ldr	x0, [x0, _pintr_disabled@GOTPAGEOFF]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_disabled_cleanup
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_pintr_disabled,4,2             ; @pintr_disabled
	.comm	_tw_cmd,16,3                    ; @tw_cmd
	.comm	_fcompare,4,2                   ; @fcompare
	.no_dead_strip	_tw_cmd_sort
.subsections_via_symbols
