	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mainSimpleSort
_mainSimpleSort:                        ## @mainSimpleSort
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movl	%r9d, %ecx
	movq	%r8, -120(%rbp)                 ## 8-byte Spill
	subl	%r8d, %ecx
	jle	LBB0_23
## %bb.1:
	movq	%rdi, %r12
	movq	_incs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	$-1, %rdx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %rsi
	incq	%rdx
	cmpl	%ecx, 4(%rax,%rsi,4)
	jle	LBB0_2
## %bb.3:
	testl	%edx, %edx
	je	LBB0_23
## %bb.4:
	movslq	%r9d, %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movl	%edx, %esi
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	leal	1(%rcx), %edx
	movl	%edx, -112(%rbp)                ## 4-byte Spill
	addl	$2, %ecx
	movl	%ecx, -108(%rbp)                ## 4-byte Spill
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##       Child Loop BB0_9 Depth 3
                                        ##       Child Loop BB0_14 Depth 3
                                        ##       Child Loop BB0_19 Depth 3
	movq	%rsi, -136(%rbp)                ## 8-byte Spill
	leaq	-1(%rsi), %rcx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movl	%ecx, %ecx
	movl	(%rax,%rcx,4), %r15d
	movq	-120(%rbp), %rax                ## 8-byte Reload
	leal	(%r15,%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movslq	%ecx, %rcx
	movl	-108(%rbp), %edx                ## 4-byte Reload
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movl	-112(%rbp), %edx                ## 4-byte Reload
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
                                        ## kill: def $eax killed $eax killed $rax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=2
	movslq	%r13d, %rbx
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, (%r12,%rbx,4)
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	addq	$3, %rcx
	addl	$3, -68(%rbp)                   ## 4-byte Folded Spill
	addl	$3, -64(%rbp)                   ## 4-byte Folded Spill
	addl	$3, -60(%rbp)                   ## 4-byte Folded Spill
	movq	24(%rbp), %rax
	cmpl	$0, (%rax)
	js	LBB0_23
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_9 Depth 3
                                        ##       Child Loop BB0_14 Depth 3
                                        ##       Child Loop BB0_19 Depth 3
	movq	_True@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_24
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	cmpq	-80(%rbp), %rcx                 ## 8-byte Folded Reload
	jg	LBB0_24
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	(%r12,%rcx,4), %ecx
	movl	16(%rbp), %eax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	leal	(%rcx,%rax), %r14d
	movl	-68(%rbp), %eax                 ## 4-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_5 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leal	(%r15,%rax), %ebx
	movslq	%eax, %r13
	movl	(%r12,%r13,4), %edi
	movl	16(%rbp), %eax
	addl	%eax, %edi
	movl	%r14d, %esi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movq	24(%rbp), %r9
	callq	_mainGtU
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=3
	movl	(%r12,%r13,4), %eax
	movslq	%ebx, %rcx
	movl	%eax, (%r12,%rcx,4)
	movl	%r13d, %eax
	subl	%r15d, %eax
	cmpl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	jge	LBB0_9
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=2
	movslq	%ebx, %r13
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, (%r12,%r13,4)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	cmpq	-80(%rbp), %rax                 ## 8-byte Folded Reload
	jge	LBB0_24
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=2
	movl	4(%r12,%rax,4), %ecx
	movl	16(%rbp), %eax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	leal	(%rcx,%rax), %r14d
	movl	-64(%rbp), %eax                 ## 4-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_5 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leal	(%r15,%rax), %r13d
	movslq	%eax, %rbx
	movl	(%r12,%rbx,4), %edi
	movl	16(%rbp), %eax
	addl	%eax, %edi
	movl	%r14d, %esi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movq	24(%rbp), %r9
	callq	_mainGtU
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=3
	movl	(%r12,%rbx,4), %eax
	movslq	%r13d, %rcx
	movl	%eax, (%r12,%rcx,4)
	movl	%ebx, %eax
	subl	%r15d, %eax
	cmpl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	jge	LBB0_14
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=2
	movslq	%r13d, %rbx
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, (%r12,%rbx,4)
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	2(%rcx), %rax
	cmpq	-80(%rbp), %rax                 ## 8-byte Folded Reload
	jg	LBB0_24
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=2
	movl	8(%r12,%rcx,4), %ecx
	movl	16(%rbp), %eax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	leal	(%rcx,%rax), %r14d
	movl	-60(%rbp), %eax                 ## 4-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_5 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leal	(%r15,%rax), %r13d
	movslq	%eax, %rbx
	movl	(%r12,%rbx,4), %edi
	movl	16(%rbp), %eax
	addl	%eax, %edi
	movl	%r14d, %esi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movq	24(%rbp), %r9
	callq	_mainGtU
	testq	%rax, %rax
	je	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=3
	movl	(%r12,%rbx,4), %eax
	movslq	%r13d, %rcx
	movl	%eax, (%r12,%rcx,4)
	movl	%ebx, %eax
	subl	%r15d, %eax
	cmpl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	jge	LBB0_19
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$2, -136(%rbp)                  ## 4-byte Folded Reload
	jl	LBB0_23
## %bb.25:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_incs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	jmp	LBB0_5
LBB0_23:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_incs,8,3                       ## @incs
	.comm	_True,8,3                       ## @True
	.no_dead_strip	_mainSimpleSort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mainSimpleSort
_mainSimpleSort:                        ; @mainSimpleSort
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
                                        ; kill: def $w5 killed $w5 def $x5
	str	w3, [sp, #76]                   ; 4-byte Folded Spill
	str	w4, [sp, #36]                   ; 4-byte Folded Spill
	sub	w10, w5, w4
	cmp	w10, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x7
	mov	x20, x6
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	mov	x9, #0
Lloh0:
	adrp	x8, _incs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _incs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8, x9, lsl #2]
	add	x9, x9, #1
	cmp	w11, w10
	b.le	LBB0_2
; %bb.3:
	cmp	w9, #1
	b.ne	LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_5:
	sub	x9, x9, #1
	sxtw	x10, w5
	str	x10, [sp, #56]                  ; 8-byte Folded Spill
	and	x11, x9, #0xffffffff
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	add	w10, w9, #1
	add	w9, w9, #2
	stp	w9, w10, [sp, #8]               ; 8-byte Folded Spill
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;       Child Loop BB0_11 Depth 3
                                        ;       Child Loop BB0_16 Depth 3
                                        ;       Child Loop BB0_21 Depth 3
	sub	x9, x11, #1
	stp	x9, x11, [sp, #16]              ; 16-byte Folded Spill
	ldr	w21, [x8, w9, uxtw #2]
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	add	w8, w21, w9
	sxtw	x27, w8
	ldr	w10, [sp, #8]                   ; 4-byte Folded Reload
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	stp	w10, w8, [sp, #44]              ; 8-byte Folded Spill
	str	w9, [sp, #52]                   ; 4-byte Folded Spill
	mov	x10, x27
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	w8, w21, w28
	sxtw	x28, w8
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	ldr	w8, [sp, #40]                   ; 4-byte Folded Reload
	str	w8, [x25, x28, lsl #2]
	ldr	x10, [sp, #64]                  ; 8-byte Folded Reload
	add	x10, x10, #3
	ldr	w8, [x19]
	ldr	w9, [sp, #52]                   ; 4-byte Folded Reload
	add	w11, w9, #3
	ldr	w9, [sp, #48]                   ; 4-byte Folded Reload
	add	w9, w9, #3
	stp	w9, w11, [sp, #48]              ; 8-byte Folded Spill
	ldr	w9, [sp, #44]                   ; 4-byte Folded Reload
	add	w9, w9, #3
	str	w9, [sp, #44]                   ; 4-byte Folded Spill
	tbnz	w8, #31, LBB0_4
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_11 Depth 3
                                        ;       Child Loop BB0_16 Depth 3
                                        ;       Child Loop BB0_21 Depth 3
Lloh3:
	adrp	x8, _True@GOTPAGE
Lloh4:
	ldr	x8, [x8, _True@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, #0
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ccmp	x10, x8, #0, ne
	b.gt	LBB0_23
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	str	x10, [sp, #64]                  ; 8-byte Folded Spill
	ldr	w8, [x25, x10, lsl #2]
	str	w8, [sp, #40]                   ; 4-byte Folded Spill
	add	w26, w8, w20
	ldr	w22, [sp, #52]                  ; 4-byte Folded Reload
LBB0_11:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	sxtw	x28, w22
	ldr	w8, [x25, w22, sxtw #2]
	add	w0, w8, w20
	mov	x1, x26
	mov	x2, x24
	mov	x3, x23
	ldr	w4, [sp, #76]                   ; 4-byte Folded Reload
	mov	x5, x19
	bl	_mainGtU
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=3
	add	w8, w21, w22
	ldr	w9, [x25, x28, lsl #2]
	str	w9, [x25, w8, sxtw #2]
	sub	w22, w28, w21
	cmp	w28, w27
	b.ge	LBB0_11
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=2
	add	w8, w21, w28
	sxtw	x28, w8
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	w8, [sp, #40]                   ; 4-byte Folded Reload
	str	w8, [x25, x28, lsl #2]
	ldp	x8, x9, [sp, #56]               ; 16-byte Folded Reload
	cmp	x9, x8
	b.ge	LBB0_23
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x8, x25, x9, lsl #2
	ldr	w8, [x8, #4]
	str	w8, [sp, #40]                   ; 4-byte Folded Spill
	add	w26, w8, w20
	ldr	w22, [sp, #48]                  ; 4-byte Folded Reload
LBB0_16:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	sxtw	x28, w22
	ldr	w8, [x25, w22, sxtw #2]
	add	w0, w8, w20
	mov	x1, x26
	mov	x2, x24
	mov	x3, x23
	ldr	w4, [sp, #76]                   ; 4-byte Folded Reload
	mov	x5, x19
	bl	_mainGtU
	cbz	x0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=3
	add	w8, w21, w22
	ldr	w9, [x25, x28, lsl #2]
	str	w9, [x25, w8, sxtw #2]
	sub	w22, w28, w21
	cmp	w28, w27
	b.ge	LBB0_16
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_9 Depth=2
	add	w8, w21, w28
	sxtw	x28, w8
LBB0_19:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	w8, [sp, #40]                   ; 4-byte Folded Reload
	str	w8, [x25, x28, lsl #2]
	ldp	x9, x8, [sp, #56]               ; 16-byte Folded Reload
	add	x8, x8, #2
	cmp	x8, x9
	b.gt	LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	w8, [x25, x8, lsl #2]
	str	w8, [sp, #40]                   ; 4-byte Folded Spill
	add	w26, w8, w20
	ldr	w22, [sp, #44]                  ; 4-byte Folded Reload
LBB0_21:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	sxtw	x28, w22
	ldr	w8, [x25, w22, sxtw #2]
	add	w0, w8, w20
	mov	x1, x26
	mov	x2, x24
	mov	x3, x23
	ldr	w4, [sp, #76]                   ; 4-byte Folded Reload
	mov	x5, x19
	bl	_mainGtU
	cbz	x0, LBB0_7
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=3
	add	w8, w21, w22
	ldr	w9, [x25, x28, lsl #2]
	str	w9, [x25, w8, sxtw #2]
	sub	w22, w28, w21
	cmp	w28, w27
	b.ge	LBB0_21
	b	LBB0_8
LBB0_23:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.24:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh6:
	adrp	x8, _incs@GOTPAGE
Lloh7:
	ldr	x8, [x8, _incs@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x11, [sp, #16]                  ; 8-byte Folded Reload
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_incs,8,3                       ; @incs
	.comm	_True,8,3                       ; @True
	.no_dead_strip	_mainSimpleSort
.subsections_via_symbols
