	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qsortFast                      ## -- Begin function qsortFast
	.p2align	4, 0x90
_qsortFast:                             ## @qsortFast
	.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	$568, %rsp                      ## imm = 0x238
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -532(%rbp)                ## 4-byte Spill
	movl	%esi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpl	$2, %esi
	jb	LBB0_27
## %bb.1:
	cmpl	$0, -532(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_27
## %bb.2:
	movq	%rdi, %rsi
	decl	%r14d
	movl	-532(%rbp), %eax                ## 4-byte Reload
	imull	%eax, %r14d
	addq	%rdi, %r14
	movl	%eax, %edi
	movq	%rdi, %rbx
	negq	%rbx
	leaq	(%rdi,%rdi), %rax
	negq	%rax
	movq	%rax, -600(%rbp)                ## 8-byte Spill
	movq	%rdi, %rax
	notq	%rax
	movq	%rax, -584(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -544(%rbp)                ## 8-byte Spill
	movq	%rdi, -568(%rbp)                ## 8-byte Spill
	movq	%rbx, -608(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_10 Depth 3
                                        ##         Child Loop BB0_11 Depth 4
                                        ##         Child Loop BB0_14 Depth 4
	leaq	(%r14,%rdi), %rax
	movq	%rax, -592(%rbp)                ## 8-byte Spill
	movq	%r14, -552(%rbp)                ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_4 Depth=2
	movq	-552(%rbp), %r14                ## 8-byte Reload
	movq	%rcx, %rsi
	cmpq	%r14, %rcx
	jae	LBB0_25
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_10 Depth 3
                                        ##         Child Loop BB0_11 Depth 4
                                        ##         Child Loop BB0_14 Depth 4
	movq	%r14, %rax
	subq	%rsi, %rax
	movq	%rax, %rcx
	shrq	$32, %rcx
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	cqto
	idivq	%rdi
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=2
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $eax killed $eax def $rax
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	incl	%eax
	movq	_CUTOFF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jbe	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=2
	shrl	%eax
	imull	-532(%rbp), %eax                ## 4-byte Folded Reload
	addq	%rsi, %rax
	movq	%rax, %rdi
	movq	%rsi, -560(%rbp)                ## 8-byte Spill
	callq	_SWAP_DRAW_SURF
	movq	-560(%rbp), %rdi                ## 8-byte Reload
	movq	-584(%rbp), %rax                ## 8-byte Reload
	subq	%rdi, %rax
	movq	%rax, -576(%rbp)                ## 8-byte Spill
	movq	%rdi, %r10
	movq	-592(%rbp), %r13                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_11 Depth 4
                                        ##         Child Loop BB0_14 Depth 4
	movq	-568(%rbp), %r8                 ## 8-byte Reload
	movq	%r8, %rax
	movq	-608(%rbp), %r9                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ##       Parent Loop BB0_10 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movq	%rax, %r15
	leaq	(%r10,%rax), %rbx
	cmpq	%r14, %rbx
	ja	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=4
	movq	(%r10,%r15), %rcx
	leaq	(%r15,%r8), %rax
	cmpq	(%rdi), %rcx
	jle	LBB0_11
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=3
	movq	-600(%rbp), %rax                ## 8-byte Reload
	addq	%r13, %rax
	movq	-576(%rbp), %rcx                ## 8-byte Reload
	addq	%r13, %rcx
	addq	%r9, %r13
	movq	%r13, %rdx
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ##       Parent Loop BB0_10 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movq	%rax, %r14
	movq	%rdx, %r13
	movq	%rcx, %r12
	cmpq	%rdi, %rdx
	jbe	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=4
	movq	(%r13), %rsi
	leaq	(%r14,%r9), %rax
	leaq	(%r9,%r13), %rdx
	movq	%r12, %rcx
	subq	%r8, %rcx
	cmpq	(%rdi), %rsi
	jge	LBB0_14
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=3
	cmpq	%rbx, %r13
	jb	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_10 Depth=3
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_SWAP_DRAW_SURF
	movq	-560(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %r10
	movq	-552(%rbp), %r14                ## 8-byte Reload
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=2
	movq	%r13, %rsi
	movq	%rdi, %rbx
	movq	%r10, -576(%rbp)                ## 8-byte Spill
	callq	_SWAP_DRAW_SURF
	movq	-576(%rbp), %rcx                ## 8-byte Reload
	movq	-552(%rbp), %rax                ## 8-byte Reload
	subq	%rcx, %rax
	subq	%r15, %rax
	addq	%r15, %rcx
	cmpq	%rax, %r12
	jl	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=2
	movq	-568(%rbp), %rdi                ## 8-byte Reload
	leaq	(%rbx,%rdi), %rax
	cmpq	%r13, %rax
	jae	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=2
	movq	-544(%rbp), %rax                ## 8-byte Reload
	cltq
	movq	%rbx, -288(%rbp,%rax,8)
	movq	%r14, -528(%rbp,%rax,8)
	incl	%eax
	movq	%rax, -544(%rbp)                ## 8-byte Spill
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rsi, %rdi
	movq	%r14, %rsi
	callq	_shortsort
	movq	-568(%rbp), %rdi                ## 8-byte Reload
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-552(%rbp), %rsi                ## 8-byte Reload
	cmpq	%rsi, %rcx
	movq	-568(%rbp), %rdi                ## 8-byte Reload
	jae	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-544(%rbp), %rdx                ## 8-byte Reload
	movslq	%edx, %rax
	movq	%rcx, -288(%rbp,%rax,8)
	movq	%rsi, -528(%rbp,%rax,8)
	incl	%edx
	movq	%rdx, -544(%rbp)                ## 8-byte Spill
LBB0_24:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-560(%rbp), %rsi                ## 8-byte Reload
	leaq	(%rsi,%rdi), %rax
	cmpq	%r13, %rax
	jb	LBB0_3
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-544(%rbp), %rax                ## 8-byte Reload
	testl	%eax, %eax
	jle	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_3 Depth=1
	decl	%eax
	movq	-288(%rbp,%rax,8), %rsi
	movq	%rax, -544(%rbp)                ## 8-byte Spill
	movq	-528(%rbp,%rax,8), %r14
	jmp	LBB0_3
LBB0_27:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_29
## %bb.28:
	addq	$568, %rsp                      ## imm = 0x238
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CUTOFF,4,2                     ## @CUTOFF
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.comm	_ri,8,3                         ## @ri
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qsortFast                      ; -- Begin function qsortFast
	.p2align	2
_qsortFast:                             ; @qsortFast
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #544
	str	w2, [sp, #28]                   ; 4-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	cmp	w1, #2
	b.lo	LBB0_25
; %bb.1:
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_25
; %bb.2:
	mov	x19, x0
	mov	x8, #0
	str	xzr, [sp, #40]                  ; 8-byte Folded Spill
	sub	w9, w1, #1
	ldr	w10, [sp, #28]                  ; 4-byte Folded Reload
	mul	w9, w9, w10
	add	x21, x0, x9
	mov	w24, w10
	neg	x25, x24
	sub	x9, x8, w10, uxtw #1
	mvn	x8, x24
	stp	x9, x8, [sp, #8]                ; 16-byte Folded Spill
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x8, x26, x8
	add	x21, x8, x27
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;       Child Loop BB0_8 Depth 3
                                        ;         Child Loop BB0_9 Depth 4
                                        ;         Child Loop BB0_12 Depth 4
	add	x8, x21, x24
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	mov	x19, x8
	cmp	x8, x21
	b.hs	LBB0_23
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_8 Depth 3
                                        ;         Child Loop BB0_9 Depth 4
                                        ;         Child Loop BB0_12 Depth 4
	sub	x8, x21, x19
	sdiv	x8, x8, x24
	add	w8, w8, #1
Lloh3:
	adrp	x9, _CUTOFF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CUTOFF@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ls	LBB0_19
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	lsr	w8, w8, #1
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	mul	w8, w8, w9
	add	x0, x19, x8
	mov	x1, x19
	bl	_SWAP_DRAW_SURF
	mov	x20, x19
	ldr	x26, [sp, #32]                  ; 8-byte Folded Reload
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_9 Depth 4
                                        ;         Child Loop BB0_12 Depth 4
	mov	x8, x24
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ;       Parent Loop BB0_8 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	mov	x28, x8
	add	x22, x20, x8
	cmp	x22, x21
	b.hi	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=4
	ldr	x9, [x20, x28]
	ldr	x10, [x19]
	add	x8, x28, x24
	cmp	x9, x10
	b.le	LBB0_9
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=3
	mov	x9, #0
	add	x8, x26, x25
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ;       Parent Loop BB0_8 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	mov	x27, x9
	add	x9, x8, x9
	cmp	x9, x19
	b.ls	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=4
	ldr	x10, [x8, x27]
	ldr	x11, [x19]
	sub	x9, x27, x24
	cmp	x10, x11
	b.ge	LBB0_12
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=3
	add	x8, x26, x25
	add	x23, x8, x27
	cmp	x23, x22
	b.lo	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=3
	mov	x0, x22
	mov	x1, x23
	bl	_SWAP_DRAW_SURF
	mov	x20, x22
	mov	x26, x23
	b	LBB0_8
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x19
	mov	x1, x23
	bl	_SWAP_DRAW_SURF
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	sub	x8, x8, x19
	add	x9, x8, x26
	sub	x8, x21, x20
	sub	x10, x8, x28
	add	x8, x20, x28
	add	x9, x9, x27
	cmp	x9, x10
	b.lt	LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=2
	add	x9, x19, x24
	cmp	x9, x23
	b.hs	LBB0_5
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=2
	ldr	x11, [sp, #40]                  ; 8-byte Folded Reload
	sbfiz	x9, x11, #3, #32
	add	x10, sp, #288
	str	x19, [x10, x9]
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	add	x10, x26, x10
	add	x10, x10, x27
	add	x12, sp, #48
	str	x10, [x12, x9]
	add	w11, w11, #1
	str	x11, [sp, #40]                  ; 8-byte Folded Spill
	b	LBB0_5
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_shortsort
	b	LBB0_23
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x8, x21
	b.hs	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	mov	x9, x10
	sbfiz	x9, x9, #3, #32
	add	x11, sp, #288
	str	x8, [x11, x9]
	add	x8, sp, #48
	str	x21, [x8, x9]
	add	w10, w10, #1
	str	x10, [sp, #40]                  ; 8-byte Folded Spill
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x26, x25
	add	x8, x8, x27
	add	x9, x19, x24
	cmp	x9, x8
	b.lo	LBB0_3
LBB0_23:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	subs	w8, w8, #1
	b.lt	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_4 Depth=1
	lsl	x9, x8, #3
	add	x10, sp, #288
	ldr	x19, [x10, x9]
	add	x10, sp, #48
	ldr	x21, [x10, x9]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	b	LBB0_4
LBB0_25:
	ldur	x8, [x29, #-96]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.26:
	add	sp, sp, #544
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_27:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CUTOFF,4,2                     ; @CUTOFF
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.comm	_ri,8,3                         ; @ri
.subsections_via_symbols
