	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prepare_list2_raw_new          ## -- Begin function prepare_list2_raw_new
	.p2align	4, 0x90
_prepare_list2_raw_new:                 ## @prepare_list2_raw_new
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpl	%esi, (%rbx)
	setle	%dil
	callq	_assert
	leaq	4(%rbx), %r14
	movl	(%rbx), %esi
	movq	_comparel@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$8, %edx
	callq	_qsort
	movl	(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movl	$1, %esi
	cmpl	$1, %eax
	je	LBB0_8
## %bb.3:
	movl	$1, %esi
	movl	$1, %eax
	movabsq	$4294967296, %rdx               ## imm = 0x100000000
	movabsq	$8589934592, %r8                ## imm = 0x200000000
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%rbx,%rax,8), %ecx
	leal	(%rsi,%rsi), %edi
	movslq	%edi, %rdi
	addl	%ecx, (%rbx,%rdi,4)
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rax
	movslq	(%rbx), %rcx
	addq	%r8, %rdx
	cmpq	%rcx, %rax
	jge	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rbx,%rax,8), %edi
	movq	%rdx, %rcx
	sarq	$30, %rcx
	cmpl	(%rbx,%rcx), %edi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leal	(%rsi,%rsi), %r9d
	leal	(%rsi,%rsi), %ecx
	incl	%ecx
	movslq	%ecx, %rcx
	movl	%edi, (%rbx,%rcx,4)
	movl	8(%rbx,%rax,8), %ecx
	movslq	%r9d, %rdi
	movl	%ecx, 8(%rbx,%rdi,4)
	incl	%esi
	jmp	LBB0_7
LBB0_1:
	xorl	%esi, %esi
LBB0_8:
	movl	%esi, (%rbx)
	movq	_comparer@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$8, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_qsort                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_comparel,4,2                   ## @comparel
	.comm	_comparer,4,2                   ## @comparer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prepare_list2_raw_new          ; -- Begin function prepare_list2_raw_new
	.p2align	2
_prepare_list2_raw_new:                 ; @prepare_list2_raw_new
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, w1
	cset	w0, le
	bl	_assert
	add	x20, x19, #4
	ldr	w1, [x19]
Lloh0:
	adrp	x8, _comparel@GOTPAGE
Lloh1:
	ldr	x8, [x8, _comparel@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w2, #8
	bl	_qsort
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	b.ne	LBB0_5
; %bb.2:
	mov	w1, #1
	b	LBB0_4
LBB0_3:
	mov	w1, #0
LBB0_4:
Lloh3:
	adrp	x8, _comparer@GOTPAGE
Lloh4:
	ldr	x8, [x8, _comparer@GOTPAGEOFF]
	str	w1, [x19]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	w2, #8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_qsort
LBB0_5:
	add	x8, x19, #16
	mov	w9, #1
	mov	x10, #4294967296
	mov	x11, #8589934592
	mov	x1, x9
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w12, [x8]
	sbfiz	x13, x1, #3, #32
	ldr	w14, [x19, x13]
	add	w12, w14, w12
	str	w12, [x19, x13]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x9, x9, #1
	ldrsw	x12, [x19]
	add	x10, x10, x11
	add	x8, x8, #8
	cmp	x9, x12
	b.ge	LBB0_4
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w12, [x8, #-4]
	asr	x13, x10, #30
	ldr	w13, [x19, x13]
	cmp	w12, w13
	b.eq	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	lsl	w13, w1, #1
	add	x13, x19, w13, sxtw #2
	str	w12, [x13, #4]
	ldr	w12, [x8]
	add	x13, x19, w1, sxtw #3
	str	w12, [x13, #8]
	add	w1, w1, #1
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_comparel,4,2                   ; @comparel
	.comm	_comparer,4,2                   ; @comparer
.subsections_via_symbols
