	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function csi_X
_csi_X:                                 ## @csi_X
	.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
	testl	%esi, %esi
	movl	$1, %eax
	cmovnel	%esi, %eax
	movl	(%rdi), %r14d
	movl	32(%rdi), %esi
	subl	4(%rdi), %r14d
	cmpl	%r14d, %eax
	cmovll	%eax, %r14d
	movq	40(%rdi), %rdi
	leal	(%r14,%r14), %edx
	callq	_scr_memsetw
	movq	%rbx, %rdi
	callq	_DO_UPDATE
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	24(%rbx), %rax
	movl	4(%rbx), %edx
	movl	16(%rbx), %esi
	movq	%rbx, %rdi
	movl	$1, %ecx
	movl	%r14d, %r8d
	callq	*(%rax)
LBB0_2:
	movq	$0, 8(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_csi_X
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function csi_X
_csi_X:                                 ; @csi_X
	.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
	cmp	w1, #0
	csinc	w8, w1, wzr, ne
	ldp	w9, w10, [x0]
	sub	w9, w9, w10
	cmp	w8, w9
	csel	w20, w8, w9, lt
	ldr	x0, [x0, #40]
	ldr	w1, [x19, #32]
	lsl	w2, w20, #1
	bl	_scr_memsetw
	mov	x0, x19
	bl	_DO_UPDATE
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	ldr	w1, [x19, #16]
	ldr	w2, [x19, #4]
	mov	x0, x19
	mov	w3, #1
	mov	x4, x20
	blr	x8
LBB0_2:
	str	xzr, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_csi_X
.subsections_via_symbols
