	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qsort_p
_qsort_p:                               ## @qsort_p
	.cfi_startproc
## %bb.0:
                                        ## kill: def $esi killed $esi def $rsi
                                        ## kill: def $edi killed $edi def $rdi
	cmpl	%esi, %edi
	jge	LBB0_10
## %bb.1:
	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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_P@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	leal	(%rsi,%rdi), %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, -44(%rbp)
	leaq	-44(%rbp), %r14
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%edi, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%esi, %eax
	movq	%rdi, %r14
	jg	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##     Child Loop BB0_5 Depth 2
	movl	%esi, %r13d
	movslq	%eax, %r15
	shlq	$2, %r15
	movl	%eax, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rdi
	addq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cmp_pair
	incl	%r12d
	addq	$4, %r15
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %eax
	movslq	%r13d, %r13
	shlq	$2, %r13
	movq	%r14, %rbx
	movl	%eax, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_P@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_cmp_pair
	decl	%r14d
	addq	$-4, %r13
	testq	%rax, %rax
	jg	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	_P@GOTPCREL(%rip), %rbx
	leal	-1(%r12), %eax
	leal	1(%r14), %esi
	cmpl	%esi, %eax
	jg	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
	movl	-4(%rax,%r15), %ecx
	movl	4(%rax,%r13), %edx
	movl	%edx, -4(%rax,%r15)
	movl	%ecx, 4(%rax,%r13)
	movl	%r14d, %esi
	movl	%r12d, %eax
	jmp	LBB0_8
LBB0_9:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%eax, %ebx
	callq	_qsort_p
	movl	%ebx, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_qsort_p
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_10:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P,8,3                          ## @P
	.no_dead_strip	_qsort_p
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qsort_p
_qsort_p:                               ; @qsort_p
	.cfi_startproc
; %bb.0:
	cmp	w0, w1
	b.ge	LBB0_10
; %bb.1:
	sub	sp, sp, #96
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _P@GOTPAGE
Lloh1:
	ldr	x23, [x23, _P@GOTPAGEOFF]
	ldr	x8, [x23]
	add	w9, w1, w0
	asr	w9, w9, #1
	ldr	w8, [x8, w9, sxtw #2]
	str	w8, [sp, #12]
	mov	x22, x1
	mov	x21, x0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	add	x9, x8, x24
	ldur	w10, [x9, #-4]
	add	x8, x8, x25
	ldr	w11, [x8, #4]
	stur	w11, [x9, #-4]
	str	w10, [x8, #4]
	cmp	w21, w22
	b.gt	LBB0_9
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;     Child Loop BB0_6 Depth 2
	sbfiz	x24, x21, #2, #32
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x23]
	add	x0, x8, x24
	add	x1, sp, #12
	bl	_cmp_pair
	add	w21, w21, #1
	add	x24, x24, #4
	tbnz	x0, #63, LBB0_4
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	sbfiz	x25, x22, #2, #32
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x23]
	add	x0, x8, x25
	add	x1, sp, #12
	bl	_cmp_pair
	sub	w22, w22, #1
	sub	x25, x25, #4
	cmp	x0, #0
	b.gt	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w8, w21, #1
	add	w9, w22, #1
	cmp	w8, w9
	b.le	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x9
	mov	x21, x8
	cmp	w21, w22
	b.le	LBB0_3
LBB0_9:
	mov	x0, x20
	mov	x1, x22
	bl	_qsort_p
	mov	x0, x21
	mov	x1, x19
	bl	_qsort_p
	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
	add	sp, sp, #96
LBB0_10:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	.cfi_same_value w25
	.cfi_same_value w26
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_P,8,3                          ; @P
	.no_dead_strip	_qsort_p
.subsections_via_symbols
