	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function restore_cur
_restore_cur:                           ## @restore_cur
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	96(%rdi), %edx
	movl	100(%rdi), %esi
	callq	_gotoxy
	movl	88(%rbx), %eax
	movl	%eax, 92(%rbx)
	movl	80(%rbx), %eax
	movl	%eax, 84(%rbx)
	movl	72(%rbx), %eax
	movl	%eax, 76(%rbx)
	movl	64(%rbx), %eax
	movl	%eax, 68(%rbx)
	movl	56(%rbx), %eax
	movl	%eax, 60(%rbx)
	movq	48(%rbx), %rax
	movq	%rax, 16(%rbx)
	movl	36(%rbx), %ecx
	movl	%ecx, 40(%rbx)
	movl	28(%rbx), %edi
	movl	32(%rbx), %ecx
	movl	%ecx, 8(%rbx)
	movl	%edi, 12(%rbx)
	testq	%rax, %rax
	cmovel	%ecx, %edi
	movq	%rbx, %rsi
	callq	_set_translate
	movl	%eax, 24(%rbx)
	movq	%rbx, %rdi
	callq	_update_attr
	movq	$0, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_restore_cur
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function restore_cur
_restore_cur:                           ; @restore_cur
	.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
	ldp	w2, w1, [x0, #96]
	bl	_gotoxy
	ldr	w8, [x19, #88]
	str	w8, [x19, #92]
	ldr	w8, [x19, #80]
	str	w8, [x19, #84]
	ldr	w8, [x19, #72]
	str	w8, [x19, #76]
	ldr	w8, [x19, #64]
	str	w8, [x19, #68]
	ldr	w8, [x19, #56]
	str	w8, [x19, #60]
	ldr	x8, [x19, #48]
	str	x8, [x19, #16]
	ldr	w9, [x19, #36]
	str	w9, [x19, #40]
	ldp	w10, w9, [x19, #28]
	cmp	x8, #0
	csel	w0, w9, w10, eq
	stp	w9, w10, [x19, #8]
	mov	x1, x19
	bl	_set_translate
	str	w0, [x19, #24]
	mov	x0, x19
	bl	_update_attr
	str	xzr, [x19]
	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	_restore_cur
.subsections_via_symbols
