	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cset_splay
_cset_splay:                            ## @cset_splay
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	leaq	-48(%rbp), %r15
	movq	%r15, %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_cset_rangecmp
	testq	%rax, %rax
	js	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_cset_rangecmp
	testq	%rax, %rax
	jle	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %esi
	callq	_cset_rangecmp
	testq	%rax, %rax
	jle	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %rax
	movq	(%rax), %rcx
	movq	%rcx, 8(%rbx)
	movq	%rbx, (%rax)
	movq	%rax, %rbx
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	8(%rbx), %rax
	movq	%rbx, 8(%r15)
	movq	%rbx, %r15
	movq	(%rax), %rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %esi
	callq	_cset_rangecmp
	testq	%rax, %rax
	jns	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rax
	movq	8(%rax), %rcx
	movq	%rcx, (%rbx)
	movq	%rbx, 8(%rax)
	movq	%rax, %rbx
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, (%rbx)
	je	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, (%r12)
	movq	%rbx, %r12
	movq	(%rbx), %rbx
	jmp	LBB0_1
LBB0_13:
	movq	(%rbx), %rax
	movq	%rax, 8(%r15)
	movq	8(%rbx), %rax
	movq	%rax, (%r12)
	movq	-40(%rbp), %rax
	movq	%rax, (%rbx)
	movq	-48(%rbp), %rax
	movq	%rax, 8(%rbx)
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cset_splay
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cset_splay
_cset_splay:                            ; @cset_splay
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	stp	xzr, xzr, [sp]
	mov	x21, sp
	mov	x22, sp
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_cset_rangecmp
	tbnz	x0, #63, LBB0_8
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_cset_rangecmp
	cmp	x0, #1
	b.lt	LBB0_13
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x1, x20
	bl	_cset_rangecmp
	cmp	x0, #1
	b.lt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19, #8]
	ldr	x9, [x8]
	str	x9, [x19, #8]
	str	x19, [x8]
	mov	x19, x8
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x8, x19
	ldr	x9, [x8, #8]!
	cbz	x9, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	str	x19, [x21, #8]
	mov	x21, x19
	ldr	x19, [x8]
	b	LBB0_1
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x19]
	cbz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x1, x20
	bl	_cset_rangecmp
	tbz	x0, #63, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	str	x9, [x19]
	str	x19, [x8, #8]
	mov	x19, x8
LBB0_11:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19]
	cbz	x8, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_1 Depth=1
	str	x19, [x22]
	mov	x8, x19
	mov	x22, x19
	ldr	x19, [x19]
	b	LBB0_1
LBB0_13:
	ldr	x8, [x19]
	str	x8, [x21, #8]
	ldr	x8, [x19, #8]
	str	x8, [x22]
	ldr	x8, [sp, #8]
	str	x8, [x19]
	ldr	x8, [sp]
	str	x8, [x19, #8]
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cset_splay
.subsections_via_symbols
