	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resort_series
_resort_series:                         ## @resort_series
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_P@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$-1, (%rax)
	je	LBB0_1
## %bb.2:
	xorl	%r14d, %r14d
	movabsq	$4294967296, %r12               ## imm = 0x100000000
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_6 Depth 2
	movslq	%r14d, %rdx
	leal	-2(%rdx), %esi
	leaq	(%rax,%rdx,4), %rcx
	movq	%rdx, %rax
	shlq	$32, %rax
	movabsq	$-4294967296, %rdx              ## imm = 0xFFFFFFFF00000000
	addq	%rdx, %rax
	movl	%r14d, %edx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%esi, %r15d
	movl	%edx, %ebx
	addq	%r12, %rax
	leal	1(%r15), %esi
	cmpl	$0, (%rcx)
	leaq	4(%rcx), %rcx
	leal	1(%rbx), %edx
	jg	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	1(%rsi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r14d, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$1610612736, %edx               ## imm = 0x60000000
	callq	_privacy_resort
	movslq	%ebx, %rax
	movq	%rax, %r13
	shlq	$32, %r13
	movabsq	$-4294967296, %rcx              ## imm = 0xFFFFFFFF00000000
	addq	%rcx, %r13
	shlq	$2, %rax
	movq	_P@GOTPCREL(%rip), %rbx
	addq	(%rbx), %rax
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addq	%r12, %r13
	incl	%r15d
	cmpl	$-1, (%rax)
	leaq	4(%rax), %rax
	jl	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	1(%r15), %r14d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r15d, %esi
	movl	$1610612736, %edx               ## imm = 0x60000000
	callq	_privacy_resort
	movq	(%rbx), %rax
	sarq	$30, %r13
	cmpl	$-1, (%rax,%r13)
	jne	LBB0_3
## %bb.8:
	incl	%r15d
	jmp	LBB0_9
LBB0_1:
	xorl	%r15d, %r15d
LBB0_9:
	leaq	4(%rax), %rcx
	movq	_PL_M_CAT@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_20 Depth 2
	movl	%r15d, %edi
	movl	%r15d, %esi
	sarl	$31, %esi
	andl	%r15d, %esi
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%edi, %edi
	jle	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	leaq	-1(%rdi), %rbx
	cmpl	$0, -4(%rax,%rdi,4)
	movq	%rbx, %rdi
	js	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	incl	%ebx
	movl	%ebx, %esi
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	movslq	%esi, %rbx
	movl	$-1, (%rax,%rbx,4)
	movl	(%rdx), %esi
	movl	%ebx, %edi
	movl	%ebx, %r15d
	sarl	$31, %r15d
	andl	%ebx, %r15d
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%edi, %edi
	jle	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	leaq	-1(%rdi), %rbx
	testl	%esi, -4(%rax,%rdi,4)
	movq	%rbx, %rdi
	je	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_10 Depth=1
	incl	%ebx
	movl	%ebx, %r15d
LBB0_18:                                ##   in Loop: Header=BB0_10 Depth=1
	movslq	%r15d, %rsi
	movl	(%rax,%rsi,4), %edi
	cmpl	$-1, %edi
	je	LBB0_24
## %bb.19:                              ##   in Loop: Header=BB0_10 Depth=1
	leaq	(%rcx,%rsi,4), %rsi
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=2
	movl	(%rsi), %edi
	addq	$4, %rsi
	cmpl	$-1, %edi
	je	LBB0_23
LBB0_20:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%edi, %edi
	jle	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=2
	movslq	%r15d, %rbx
	incl	%r15d
	movl	%edi, (%rax,%rbx,4)
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_10 Depth=1
	movslq	%r15d, %rsi
LBB0_24:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	$-1, (%rax,%rsi,4)
	testl	%r15d, %r15d
	je	LBB0_31
## %bb.25:                              ##   in Loop: Header=BB0_10 Depth=1
	movslq	%r15d, %rsi
	cmpl	$0, -4(%rax,%rsi,4)
	js	LBB0_10
## %bb.26:
	leal	-1(%r15), %esi
	movl	%esi, %edx
	movl	%esi, %ecx
	sarl	$31, %ecx
	andl	%esi, %ecx
	movl	%r15d, %edi
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	testl	%edx, %edx
	jle	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=1
	decl	%edi
	cmpl	$0, -4(%rax,%rdx,4)
	leaq	-1(%rdx), %rdx
	jns	LBB0_27
	jmp	LBB0_30
LBB0_28:
	movl	%ecx, %edi
LBB0_30:
	movl	$1610612736, %edx               ## imm = 0x60000000
	callq	_privacy_resort
LBB0_31:
	movq	_PL@GOTPCREL(%rip), %rax
	movl	%r15d, (%rax)
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P,8,3                          ## @P
	.comm	_PL_M_CAT,4,2                   ## @PL_M_CAT
	.comm	_PL,4,2                         ## @PL
	.no_dead_strip	_resort_series
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resort_series
_resort_series:                         ; @resort_series
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x22, _P@GOTPAGE
Lloh1:
	ldr	x22, [x22, _P@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	w9, [x8]
	cmn	w9, #1
	b.eq	LBB0_8
; %bb.1:
	mov	w19, #0
	mov	x23, #-4294967296
	mov	x24, #4294967296
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
                                        ;     Child Loop BB0_5 Depth 2
	sxtw	x9, w19
	add	x9, x23, x9, lsl #32
	sub	w1, w19, #2
	mov	x10, x19
	add	x8, x8, w19, sxtw #2
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x20, x1
	mov	x26, x10
	ldr	w11, [x8], #4
	add	x9, x9, x24
	add	w1, w1, #1
	add	w10, w10, #1
	cmp	w11, #0
	b.gt	LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w21, w1, #1
	mov	x0, x19
	mov	w2, #1610612736
	bl	_privacy_resort
	ldr	x8, [x22]
	sxtw	x9, w26
	add	x25, x23, x9, lsl #32
	add	x8, x8, w26, sxtw #2
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w9, [x8], #4
	add	x25, x25, x24
	add	w20, w20, #1
	cmn	w9, #1
	b.lt	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w19, w20, #1
	mov	x0, x21
	mov	x1, x20
	mov	w2, #1610612736
	bl	_privacy_resort
	ldr	x8, [x22]
	asr	x9, x25, #30
	ldr	w9, [x8, x9]
	cmn	w9, #1
	b.ne	LBB0_2
; %bb.7:
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	b	LBB0_9
LBB0_8:
	mov	w19, #0
LBB0_9:
	sub	x9, x8, #4
	add	x10, x8, #4
	mov	w11, #-1
Lloh2:
	adrp	x12, _PL_M_CAT@GOTPAGE
Lloh3:
	ldr	x12, [x12, _PL_M_CAT@GOTPAGEOFF]
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_21 Depth 2
	mov	w14, w19
	cmp	w19, #0
	csel	w13, w19, wzr, lt
LBB0_11:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w14, #1
	b.lt	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	sub	x15, x14, #1
	ldr	w16, [x9, x14, lsl #2]
	mov	x14, x15
	tbnz	w16, #31, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	add	w13, w15, #1
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	str	w11, [x8, w13, sxtw #2]
	ldr	w14, [x12]
	mov	w15, w13
	cmp	w13, #0
	csel	w19, w13, wzr, lt
LBB0_15:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w15, #1
	b.lt	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	sub	x13, x15, #1
	ldr	w16, [x9, x15, lsl #2]
	mov	x15, x13
	tst	w14, w16
	b.eq	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_10 Depth=1
	add	w19, w13, #1
LBB0_18:                                ;   in Loop: Header=BB0_10 Depth=1
	sxtw	x13, w19
	ldr	w14, [x8, w19, sxtw #2]
	cmn	w14, #1
	b.eq	LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x13, x10, x13, lsl #2
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=2
	ldr	w14, [x13], #4
	cmn	w14, #1
	b.eq	LBB0_23
LBB0_21:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w14, #1
	b.lt	LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=2
	str	w14, [x8, w19, sxtw #2]
	add	w14, w19, #1
	mov	x19, x14
	b	LBB0_20
LBB0_23:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x13, x19
	sxtw	x13, w13
LBB0_24:                                ;   in Loop: Header=BB0_10 Depth=1
	str	w11, [x8, x13, lsl #2]
	cbz	w19, LBB0_31
; %bb.25:                               ;   in Loop: Header=BB0_10 Depth=1
	sub	w1, w19, #1
	ldr	w13, [x8, w1, sxtw #2]
	tbnz	w13, #31, LBB0_10
; %bb.26:
	cmp	w1, #0
	csel	w9, w1, wzr, lt
	add	x8, x8, w1, uxtw #2
	sub	x8, x8, #4
	mov	x0, x19
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	sub	w0, w0, #1
	cmp	w0, #1
	b.lt	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	ldr	w10, [x8], #-4
	tbz	w10, #31, LBB0_27
	b	LBB0_30
LBB0_29:
	mov	x0, x9
LBB0_30:
	mov	w2, #1610612736
	bl	_privacy_resort
LBB0_31:
Lloh4:
	adrp	x8, _PL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PL@GOTPAGEOFF]
Lloh6:
	str	w19, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_P,8,3                          ; @P
	.comm	_PL_M_CAT,4,2                   ; @PL_M_CAT
	.comm	_PL,4,2                         ; @PL
	.no_dead_strip	_resort_series
.subsections_via_symbols
