	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sort_recent_views              ## -- Begin function sort_recent_views
	.p2align	4, 0x90
_sort_recent_views:                     ## @sort_recent_views
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	jle	LBB0_11
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_sort_recent_views
	leaq	(%r15,%rbx,8), %r15
	subq	%rbx, %r14
	jle	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##       Child Loop BB0_5 Depth 3
	movq	%r14, %rax
	andq	$-2, %rax
	movq	(%r15,%rax,4), %rax
	movq	%r14, %rsi
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=2
	movq	%rdi, -8(%r15,%rbx,8)
	movq	%rcx, (%r15,%rsi,8)
	decq	%rsi
	cmpq	%rsi, %rbx
	jg	LBB0_10
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_5 Depth 3
	movq	(%r15,%rbx,8), %rcx
	incq	%rbx
	cmpq	%rax, %rcx
	jg	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	leaq	-1(%rbx), %rdx
	incq	%rsi
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_3 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	-8(%r15,%rsi,8), %rdi
	decq	%rsi
	cmpq	%rdi, %rax
	jg	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=2
	cmpq	%rsi, %rdx
	jle	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	%rdx, %rbx
	cmpq	%rsi, %rbx
	jle	LBB0_3
	jmp	LBB0_10
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sort_recent_views              ; -- Begin function sort_recent_views
	.p2align	2
_sort_recent_views:                     ; @sort_recent_views
	.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	x1, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_sort_recent_views
	add	x20, x20, x21, lsl #3
	sub	x19, x19, x21
	cmp	x19, #0
	b.le	LBB0_11
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;       Child Loop BB0_6 Depth 3
                                        ;       Child Loop BB0_8 Depth 3
	mov	x21, #0
	lsl	x8, x19, #2
	and	x8, x8, #0xfffffffffffffff8
	ldr	x8, [x20, x8]
	mov	x1, x19
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	cmp	x21, x1
	b.gt	LBB0_2
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_6 Depth 3
                                        ;       Child Loop BB0_8 Depth 3
	mov	x9, x21
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_5 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x10, [x20, x9, lsl #3]
	add	x9, x9, #1
	cmp	x10, x8
	b.gt	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x11, x20, x9, lsl #3
	sub	x21, x9, #1
	mov	x12, x1
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_5 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x13, [x20, x12, lsl #3]
	sub	x12, x12, #1
	cmp	x8, x13
	b.gt	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x1, x12, #1
	cmp	x21, x1
	b.gt	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=2
	add	x14, x20, x12, lsl #3
	stur	x13, [x11, #-8]
	str	x10, [x14, #8]
	mov	x1, x12
	mov	x21, x9
	b	LBB0_4
LBB0_11:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
