	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qsort_q
_qsort_q:                               ## @qsort_q
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	cmpl	%edx, %esi
	jge	LBB0_11
## %bb.1:
	movl	%edx, %r14d
	movq	%rdi, %r12
	leaq	24(%rdi), %r15
	movl	%esi, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_qsort_q
	movl	%r13d, %esi
	cmpl	%r14d, %r13d
	jge	LBB0_11
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
	leal	(%rsi,%r14), %eax
	sarl	%eax
	cltq
	shlq	$4, %rax
	movq	(%r12,%rax), %r8
	movl	%r14d, %edx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=2
	cmpl	%edx, %r13d
	jg	LBB0_10
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	%r13d, %rcx
	shlq	$4, %rcx
	addq	%r12, %rcx
	movl	%r13d, %r10d
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_3 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	(%rcx), %r9
	incl	%r10d
	addq	$16, %rcx
	cmpq	%r8, %r9
	jl	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	movslq	%edx, %rax
	shlq	$4, %rax
	addq	%r15, %rax
	movl	%edx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_3 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	-24(%rax), %rdi
	decl	%ebx
	addq	$-16, %rax
	cmpq	%r8, %rdi
	jg	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=2
	leal	-1(%r10), %r13d
	leal	1(%rbx), %edx
	cmpl	%edx, %r13d
	jg	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	%rdi, -16(%rcx)
	movq	%r9, -8(%rax)
	movl	-8(%rcx), %edx
	movl	(%rax), %edi
	movl	%edi, -8(%rcx)
	movl	%edx, (%rax)
	movl	%ebx, %edx
	movl	%r10d, %r13d
	jmp	LBB0_9
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_qsort_q
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qsort_q
_qsort_q:                               ; @qsort_q
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cmp	w1, w2
	b.ge	LBB0_11
; %bb.1:
	mov	x19, x2
	mov	x20, x0
	sub	x21, x0, #8
	add	x22, x0, #24
	mov	x23, x1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_qsort_q
	mov	x1, x23
	cmp	w23, w19
	b.ge	LBB0_11
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;       Child Loop BB0_6 Depth 3
                                        ;       Child Loop BB0_8 Depth 3
	add	w8, w1, w19
	asr	w8, w8, #1
	sbfiz	x8, x8, #4, #32
	ldr	x8, [x20, x8]
	mov	x2, x19
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	stur	x12, [x9, #-8]
	stur	x10, [x11, #-8]
	ldr	w10, [x9]
	ldr	w12, [x11]
	str	w12, [x9]
	str	w10, [x11]
	cmp	w23, w2
	b.gt	LBB0_2
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_6 Depth 3
                                        ;       Child Loop BB0_8 Depth 3
	add	x9, x21, w23, sxtw #4
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_5 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x10, [x9, #8]
	add	w23, w23, #1
	add	x9, x9, #16
	cmp	x10, x8
	b.lt	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x11, x22, w2, sxtw #4
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_5 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldur	x12, [x11, #-24]
	sub	w2, w2, #1
	sub	x11, x11, #16
	cmp	x12, x8
	b.gt	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=2
	sub	w13, w23, #1
	add	w14, w2, #1
	cmp	w13, w14
	b.le	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=2
	mov	x2, x14
	mov	x23, x13
	cmp	w23, w2
	b.le	LBB0_5
	b	LBB0_2
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_qsort_q
.subsections_via_symbols
