	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_postprocess_recent_list        ## -- Begin function postprocess_recent_list
	.p2align	4, 0x90
_postprocess_recent_list:               ## @postprocess_recent_list
	.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	_R_cnt@GOTPCREL(%rip), %r12
	movq	$0, (%r12)
	xorl	%eax, %eax
	testl	%edi, %edi
	je	LBB0_14
## %bb.1:
	movq	_Q_limit@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	js	LBB0_14
## %bb.2:
	movl	%edi, %r14d
	je	LBB0_13
## %bb.3:
	movq	_R@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	leal	-1(%r14), %eax
	movslq	%eax, %rsi
	callq	_sort_recent_views
	movq	(%rbx), %rdi
	movl	$1, 4(%rdi)
	cmpl	$2, %r14d
	jl	LBB0_4
## %bb.5:
	movslq	%r14d, %rax
	movl	$1, %ecx
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	%edx, 8(%rdi,%rbx,8)
	movl	$1, 12(%rdi,%rbx,8)
	incq	%rbx
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	je	LBB0_10
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rcx,8), %edx
	cmpl	(%rdi,%rbx,8), %edx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%rbx,%rbx), %rdx
	shlq	$2, %rdx
	orq	$4, %rdx
	incl	(%rdi,%rdx)
	jmp	LBB0_9
LBB0_4:
	xorl	%ebx, %ebx
LBB0_10:
	leaq	1(%rbx), %r15
	movq	%r15, %rsi
	callq	_do_llswap
	movq	_R@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	movq	%rbx, %rsi
	callq	_sort_recent_views
	movq	(%r13), %rdi
	movq	%r15, %rsi
	callq	_do_llswap
	movq	_Q_limit@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	cmpq	%r15, %rax
	jle	LBB0_12
## %bb.11:
	movq	%r15, (%rcx)
	movq	%r15, %rax
LBB0_12:
	addq	%rax, %rax
	movq	%rax, (%r12)
LBB0_13:
	movl	%r14d, %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R_cnt,8,3                      ## @R_cnt
	.comm	_Q_limit,8,3                    ## @Q_limit
	.comm	_R,8,3                          ## @R
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_postprocess_recent_list        ; -- Begin function postprocess_recent_list
	.p2align	2
_postprocess_recent_list:               ; @postprocess_recent_list
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	mov	w0, #0
Lloh0:
	adrp	x22, _R_cnt@GOTPAGE
Lloh1:
	ldr	x22, [x22, _R_cnt@GOTPAGEOFF]
	str	xzr, [x22]
	cbz	w19, LBB0_14
; %bb.1:
Lloh2:
	adrp	x23, _Q_limit@GOTPAGE
Lloh3:
	ldr	x23, [x23, _Q_limit@GOTPAGEOFF]
	ldr	x8, [x23]
	tbnz	x8, #63, LBB0_14
; %bb.2:
	cbz	x8, LBB0_13
; %bb.3:
Lloh4:
	adrp	x24, _R@GOTPAGE
Lloh5:
	ldr	x24, [x24, _R@GOTPAGEOFF]
	ldr	x0, [x24]
	sub	w8, w19, #1
	sxtw	x1, w8
	bl	_sort_recent_views
	ldr	x0, [x24]
	mov	w8, #1
	str	w8, [x0, #4]
	cmp	w19, #2
	b.lt	LBB0_9
; %bb.4:
	mov	x20, #0
	sxtw	x9, w19
	sub	x9, x9, #1
	add	x10, x0, #8
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x20, x20, #1
	add	x12, x0, x20, lsl #3
	stp	w11, w8, [x12]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x10, x10, #8
	subs	x9, x9, #1
	b.eq	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	lsl	x12, x20, #3
	ldr	w12, [x0, x12]
	cmp	w11, w12
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	lsl	x11, x20, #1
	lsl	x11, x11, #2
	orr	x11, x11, #0x4
	ldr	w12, [x0, x11]
	add	w12, w12, #1
	str	w12, [x0, x11]
	b	LBB0_6
LBB0_9:
	mov	x20, #0
LBB0_10:
	add	x21, x20, #1
	mov	x1, x21
	bl	_do_llswap
	ldr	x0, [x24]
	mov	x1, x20
	bl	_sort_recent_views
	ldr	x0, [x24]
	mov	x1, x21
	bl	_do_llswap
	ldr	x8, [x23]
	cmp	x8, x21
	b.le	LBB0_12
; %bb.11:
	str	x21, [x23]
	mov	x8, x21
LBB0_12:
	lsl	x8, x8, #1
	str	x8, [x22]
LBB0_13:
	mov	x0, x19
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_R_cnt,8,3                      ; @R_cnt
	.comm	_Q_limit,8,3                    ; @Q_limit
	.comm	_R,8,3                          ; @R
.subsections_via_symbols
