	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function QuickSort
_QuickSort:                             ## @QuickSort
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	cmpl	%edx, %esi
	jge	LBB0_10
## %bb.1:
	movq	%rcx, %r12
	movl	%esi, %ebx
	movq	%rdi, %r13
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leal	1(%rdx), %ebx
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	(%r13,%rsi,8), %rdi
	sarq	$29, %r12
	movq	(%r13,%r12), %rcx
	movq	%rcx, (%r13,%rsi,8)
	movq	%rdi, (%r13,%r12)
	decl	%edx
	movq	%r13, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%rax, %r12
	movq	%rax, %rcx
	callq	_QuickSort
	cmpl	-64(%rbp), %ebx                 ## 4-byte Folded Reload
	jge	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##       Child Loop BB0_4 Depth 3
                                        ##       Child Loop BB0_6 Depth 3
	movslq	%ebx, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	(%r13,%rax,8), %rsi
	movl	-52(%rbp), %eax                 ## 4-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_4 Depth 3
                                        ##       Child Loop BB0_6 Depth 3
	movslq	%ebx, %rax
	leaq	(,%rax,8), %r15
	addq	%r13, %r15
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_3 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	8(%r15), %rdi
	addq	$8, %r15
	movq	%rsi, %r14
	callq	*%r12
	movq	%r14, %rsi
	incl	%ebx
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movslq	%ebx, %r12
	leaq	(%r13,%r12,8), %r13
	shlq	$32, %r12
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_3 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movabsq	$-4294967296, %rax              ## imm = 0xFFFFFFFF00000000
	addq	%rax, %r12
	movq	-8(%r13), %rdi
	addq	$-8, %r13
	movq	%r14, %rsi
	callq	*-80(%rbp)                      ## 8-byte Folded Reload
	decl	%ebx
	testl	%eax, %eax
	jg	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, %rcx
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	cmpl	%ecx, %ebx
	jge	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	%r14, %rsi
	movq	(%r15), %rdx
	movq	(%r13), %rcx
	movq	%rcx, (%r15)
	movq	%rdx, (%r13)
	movq	%rax, %r12
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_3
LBB0_10:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_QuickSort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function QuickSort
_QuickSort:                             ; @QuickSort
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	w2, [sp, #4]                    ; 4-byte Folded Spill
	cmp	w1, w2
	b.ge	LBB0_10
; %bb.1:
	mov	x19, x3
	mov	x22, x1
	mov	x21, x0
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	add	w8, w8, #1
	str	w8, [sp]                        ; 4-byte Folded Spill
	mov	x25, #-4294967296
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	lsl	x8, x8, #3
	ldr	x9, [x21, x8]
	asr	x10, x20, #29
	ldr	x11, [x21, x10]
	add	w20, w26, #1
	str	x11, [x21, x8]
	str	x9, [x21, x10]
	sub	w2, w26, #1
	mov	x0, x21
	mov	x1, x22
	mov	x3, x19
	bl	_QuickSort
	mov	x22, x20
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	cmp	w20, w8
	b.ge	LBB0_10
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;       Child Loop BB0_5 Depth 3
                                        ;       Child Loop BB0_7 Depth 3
	sxtw	x8, w22
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x23, [x21, w22, sxtw #3]
	ldr	w26, [sp]                       ; 4-byte Folded Reload
	mov	x28, x22
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_5 Depth 3
                                        ;       Child Loop BB0_7 Depth 3
	add	x24, x21, w28, sxtw #3
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x0, [x24, #8]!
	mov	x1, x23
	blr	x19
	add	w28, w28, #1
	tbnz	w0, #31, LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=2
	sbfiz	x20, x26, #32, #32
	sbfiz	x8, x26, #3, #32
	sub	x27, x8, #8
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x0, [x21, x27]
	mov	x1, x23
	blr	x19
	sub	w26, w26, #1
	add	x20, x20, x25
	sub	x27, x27, #8
	cmp	w0, #0
	b.gt	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=2
	cmp	w28, w26
	b.ge	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=2
	add	x8, x21, x27
	ldr	x9, [x24]
	ldr	x10, [x8, #8]
	str	x10, [x24]
	str	x9, [x8, #8]
	b	LBB0_4
LBB0_10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_QuickSort
.subsections_via_symbols
