	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function my_sort
_my_sort:                               ## @my_sort
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edi killed $edi def $rdi
	cmpl	%esi, %edi
	jge	LBB0_12
## %bb.1:
	movl	%esi, %r14d
	movq	_MetaP@GOTPCREL(%rip), %r15
	movl	%edi, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_my_sort
	movl	%r12d, %edi
	cmpl	%r14d, %r12d
	jge	LBB0_12
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
	movq	(%r15), %r8
	leal	(%rdi,%r14), %eax
	sarl	%eax
	cltq
	movq	(%r8,%rax,8), %rax
	movl	(%rax), %r9d
	movl	%r14d, %esi
	.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	%r12d, %rax
	leaq	(%r8,%rax,8), %rbx
	movl	%r12d, %edx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_3 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	(%rbx), %r10
	incl	%edx
	addq	$8, %rbx
	cmpl	%r9d, (%r10)
	jl	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	leal	-1(%rdx), %r12d
	movslq	%esi, %rax
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_3 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	(%r8,%rax,8), %rcx
	decq	%rax
	cmpl	%r9d, (%rcx)
	jg	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=2
	leal	1(%rax), %esi
	cmpl	%esi, %r12d
	jg	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	%rcx, -8(%rbx)
	movq	(%r15), %rcx
	movq	%r10, 8(%rcx,%rax,8)
	movl	%edx, %r12d
	movl	%eax, %esi
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=2
	cmpl	%esi, %r12d
	jg	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=2
	movq	(%r15), %r8
	jmp	LBB0_3
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MetaP,8,3                      ## @MetaP
	.no_dead_strip	_my_sort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function my_sort
_my_sort:                               ; @my_sort
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cmp	w0, w1
	b.ge	LBB0_12
; %bb.1:
	mov	x19, x1
Lloh0:
	adrp	x20, _MetaP@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MetaP@GOTPAGEOFF]
	mov	x21, x0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_my_sort
	mov	x0, x21
	cmp	w21, w19
	b.ge	LBB0_12
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
	ldr	x10, [x20]
	add	w8, w0, w19
	asr	w8, w8, #1
	ldr	x8, [x10, w8, sxtw #3]
	ldr	w8, [x8]
	mov	x9, x19
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	x12, x10, w21, sxtw #3
	mov	x11, x21
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x13, [x12], #8
	ldr	w14, [x13]
	add	w11, w11, #1
	cmp	w14, w8
	b.lt	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=2
	sub	w21, w11, #1
	sbfiz	x14, x9, #3, #32
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x15, [x10, x14]
	ldr	w16, [x15]
	sub	w9, w9, #1
	sub	x14, x14, #8
	cmp	w16, w8
	b.gt	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=2
	add	w1, w9, #1
	cmp	w21, w1
	b.gt	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=2
	stur	x15, [x12, #-8]
	ldr	x10, [x20]
	add	x10, x10, x14
	str	x13, [x10, #8]
	mov	x21, x11
	mov	x1, x9
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=2
	cmp	w21, w1
	b.gt	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=2
	ldr	x10, [x20]
	mov	x9, x1
	b	LBB0_4
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MetaP,8,3                      ; @MetaP
	.no_dead_strip	_my_sort
.subsections_via_symbols
