	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function csi_J
_csi_J:                                 ## @csi_J
	.cfi_startproc
## %bb.0:
	cmpl	$3, %esi
	ja	LBB0_12
## %bb.1:
	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
	movq	%rdi, %rbx
	movl	%esi, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movl	(%rbx), %r14d
	movl	4(%rbx), %r15d
	subl	%r15d, %r14d
	sarl	%r14d
	movq	%rbx, %rdi
	callq	_DO_UPDATE
	testl	%eax, %eax
	je	LBB0_11
## %bb.3:
	movq	64(%rbx), %rax
	movl	8(%rbx), %esi
	movl	12(%rbx), %edx
	movl	16(%rbx), %r8d
	subl	%edx, %r8d
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	*(%rax)
	movq	64(%rbx), %rax
	movl	8(%rbx), %ecx
	movl	16(%rbx), %r8d
	leal	1(%rcx), %esi
	notl	%ecx
	addl	20(%rbx), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	jmp	LBB0_10
LBB0_4:
	movl	4(%rbx), %r14d
	movl	24(%rbx), %r15d
	subl	%r15d, %r14d
	sarl	%r14d
	incl	%r14d
	movq	%rbx, %rdi
	callq	_DO_UPDATE
	testl	%eax, %eax
	je	LBB0_11
## %bb.5:
	movq	64(%rbx), %rax
	movl	8(%rbx), %ecx
	movl	16(%rbx), %r8d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	*(%rax)
	movq	64(%rbx), %rax
	movl	8(%rbx), %esi
	movl	12(%rbx), %r8d
	incl	%r8d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$1, %ecx
	jmp	LBB0_10
LBB0_6:
	movq	32(%rbx), %rdi
	movl	56(%rbx), %esi
	movl	40(%rbx), %edx
	sarl	%edx
	callq	_scr_memsetw
	movq	%rbx, %rdi
	callq	_set_origin
	movq	%rbx, %rdi
	callq	_CON_IS_VISIBLE
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_update_screen
LBB0_8:
	movl	20(%rbx), %r14d
	movl	24(%rbx), %r15d
	imull	16(%rbx), %r14d
	movq	%rbx, %rdi
	callq	_DO_UPDATE
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:
	movq	64(%rbx), %rax
	movl	16(%rbx), %r8d
	movl	20(%rbx), %ecx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
LBB0_10:
	callq	*(%rax)
LBB0_11:
	movslq	%r15d, %rdi
	movl	56(%rbx), %esi
	addl	%r14d, %r14d
	movl	%r14d, %edx
	callq	_scr_memsetw
	movq	$0, 48(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_12:
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_csi_J
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function csi_J
_csi_J:                                 ; @csi_J
	.cfi_startproc
; %bb.0:
	cmp	w1, #3
	b.hi	LBB0_13
; %bb.1:
	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
	mov	x19, x0
	mov	w8, w1
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldp	w8, w20, [x19]
	sub	w8, w8, w20
	asr	w21, w8, #1
	mov	x0, x19
	bl	_DO_UPDATE
	cbz	w0, LBB0_12
; %bb.3:
	ldr	x8, [x19, #64]
	ldr	x8, [x8]
	ldp	w1, w2, [x19, #8]
	ldr	w9, [x19, #16]
	sub	w4, w9, w2
	mov	x0, x19
	mov	w3, #1
	blr	x8
	ldr	x8, [x19, #64]
	ldr	x8, [x8]
	ldr	w9, [x19, #8]
	add	w1, w9, #1
	mvn	w9, w9
	ldp	w4, w10, [x19, #16]
	add	w3, w10, w9
	mov	x0, x19
	b	LBB0_10
LBB0_4:
	ldr	w8, [x19, #4]
	ldr	w20, [x19, #24]
	sub	w8, w8, w20
	asr	w8, w8, #1
	add	w21, w8, #1
	mov	x0, x19
	bl	_DO_UPDATE
	cbz	w0, LBB0_12
; %bb.5:
	ldr	x8, [x19, #64]
	ldr	x8, [x8]
	ldr	w3, [x19, #8]
	ldr	w4, [x19, #16]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	blr	x8
	ldr	x8, [x19, #64]
	ldr	x8, [x8]
	ldp	w1, w9, [x19, #8]
	add	w4, w9, #1
	mov	x0, x19
	mov	w2, #0
	mov	w3, #1
	b	LBB0_11
LBB0_6:
	ldr	x0, [x19, #32]
	ldr	w1, [x19, #56]
	ldr	w8, [x19, #40]
	asr	w2, w8, #1
	bl	_scr_memsetw
	mov	x0, x19
	bl	_set_origin
	mov	x0, x19
	bl	_CON_IS_VISIBLE
	cbz	w0, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_update_screen
LBB0_8:
	ldp	w8, w9, [x19, #16]
	mul	w21, w9, w8
	ldr	w20, [x19, #24]
	mov	x0, x19
	bl	_DO_UPDATE
	cbz	w0, LBB0_12
; %bb.9:
	ldr	x8, [x19, #64]
	ldr	x8, [x8]
	ldp	w4, w3, [x19, #16]
	mov	x0, x19
	mov	w1, #0
LBB0_10:
	mov	w2, #0
LBB0_11:
	blr	x8
LBB0_12:
	sxtw	x0, w20
	ldr	w1, [x19, #56]
	lsl	w2, w21, #1
	bl	_scr_memsetw
	str	xzr, [x19, #48]
	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
LBB0_13:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_csi_J
.subsections_via_symbols
