	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gotoxy
_gotoxy:                                ## @gotoxy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	js	LBB0_1
## %bb.2:
	movl	4(%rdi), %ecx
	leal	-1(%rcx), %eax
	cmpl	%esi, %ecx
	cmovgl	%esi, %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movl	%eax, (%rdi)
	cmpq	$0, 56(%rdi)
	je	LBB0_5
## %bb.4:
	movl	8(%rdi), %r8d
	leaq	12(%rdi), %rsi
	jmp	LBB0_6
LBB0_5:
	leaq	16(%rdi), %rsi
	xorl	%r8d, %r8d
LBB0_6:
	movl	(%rsi), %esi
	leal	-1(%rsi), %ecx
	cmpl	%edx, %esi
	cmovgl	%edx, %ecx
	cmpl	%edx, %r8d
	cmovgl	%r8d, %ecx
	movl	%ecx, 20(%rdi)
	movslq	24(%rdi), %rdx
	movslq	%ecx, %rcx
	imulq	%rdx, %rcx
	addq	40(%rdi), %rcx
	addl	%eax, %eax
	cltq
	addq	%rcx, %rax
	movq	%rax, 48(%rdi)
	movq	$0, 32(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gotoxy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gotoxy
_gotoxy:                                ; @gotoxy
	.cfi_startproc
; %bb.0:
	tbnz	w1, #31, LBB0_2
; %bb.1:
	ldr	w8, [x0, #4]
	sub	w9, w8, #1
	cmp	w8, w1
	csel	w8, w1, w9, gt
	b	LBB0_3
LBB0_2:
	mov	w8, #0
LBB0_3:
	str	w8, [x0]
	ldr	x9, [x0, #56]
	cbz	x9, LBB0_5
; %bb.4:
	ldr	w9, [x0, #8]
	add	x10, x0, #12
	b	LBB0_6
LBB0_5:
	add	x10, x0, #16
LBB0_6:
	ldr	w10, [x10]
	sub	w11, w10, #1
	cmp	w10, w2
	csel	w10, w2, w11, gt
	cmp	w9, w2
	csel	w9, w9, w10, gt
	str	w9, [x0, #20]
	ldr	x10, [x0, #40]
	ldrsw	x11, [x0, #24]
	sxtw	x9, w9
	madd	x9, x11, x9, x10
	lsl	w8, w8, #1
	add	x8, x9, w8, sxtw
	str	x8, [x0, #48]
	str	xzr, [x0, #32]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gotoxy
.subsections_via_symbols
