	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_QTNSort                        ## -- Begin function QTNSort
	.p2align	4, 0x90
_QTNSort:                               ## @QTNSort
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_check_stack_depth
	movq	16(%r14), %rax
	movq	(%rax), %rax
	movq	_QI_OPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.1:
	cmpl	$0, (%r14)
	jle	LBB0_6
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_QTNSort
	incq	%rbx
	movslq	(%r14), %rsi
	cmpq	%rsi, %rbx
	jl	LBB0_3
## %bb.4:
	cmpl	$2, %esi
	jl	LBB0_6
## %bb.5:
	movq	16(%r14), %rax
	movq	8(%rax), %rax
	movq	_OP_PHRASE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movq	8(%r14), %rdi
	movq	_cmpQTN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$8, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_qsort                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QI_OPR,8,3                     ## @QI_OPR
	.comm	_OP_PHRASE,8,3                  ## @OP_PHRASE
	.comm	_cmpQTN,4,2                     ## @cmpQTN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_QTNSort                        ; -- Begin function QTNSort
	.p2align	2
_QTNSort:                               ; @QTNSort
	.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
	bl	_check_stack_depth
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _QI_OPR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QI_OPR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x20, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x20, lsl #3]
	bl	_QTNSort
	add	x20, x20, #1
	ldrsw	x1, [x19]
	cmp	x20, x1
	b.lt	LBB0_3
; %bb.4:
	cmp	w1, #2
	b.lt	LBB0_6
; %bb.5:
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #8]
Lloh3:
	adrp	x9, _OP_PHRASE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OP_PHRASE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh6:
	adrp	x8, _cmpQTN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cmpQTN@GOTPAGEOFF]
	ldr	x0, [x19, #8]
Lloh8:
	ldr	w3, [x8]
                                        ; 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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_QI_OPR,8,3                     ; @QI_OPR
	.comm	_OP_PHRASE,8,3                  ; @OP_PHRASE
	.comm	_cmpQTN,4,2                     ; @cmpQTN
.subsections_via_symbols
