	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function teken_subr_restore_cursor
_teken_subr_restore_cursor:             ## @teken_subr_restore_cursor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	72(%rdi), %rcx
	movq	%rcx, 40(%rdi)
	movl	64(%rdi), %eax
	movl	%eax, 68(%rdi)
	movl	48(%rdi), %eax
	movq	56(%rdi), %rdx
	movq	(%rdi), %rsi
	movl	%eax, (%rdx,%rsi,4)
	movq	_TS_WRAPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	32(%rdi), %eax
	movl	%eax, 32(%rdi)
	cmpq	16(%rdi), %rcx
	jl	LBB0_2
## %bb.1:
	cmpq	24(%rdi), %rcx
	jl	LBB0_3
LBB0_2:
	movq	_TS_ORIGIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, 32(%rdi)
	movq	$0, 16(%rdi)
	movq	8(%rdi), %rax
	movq	%rax, 24(%rdi)
LBB0_3:
	popq	%rbp
	jmp	_teken_funcs_cursor             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TS_WRAPPED,4,2                 ## @TS_WRAPPED
	.comm	_TS_ORIGIN,4,2                  ## @TS_ORIGIN
	.no_dead_strip	_teken_subr_restore_cursor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function teken_subr_restore_cursor
_teken_subr_restore_cursor:             ; @teken_subr_restore_cursor
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #72]
	str	x8, [x0, #40]
	ldr	w9, [x0, #64]
	str	w9, [x0, #68]
	ldr	w9, [x0, #48]
	ldr	x10, [x0, #56]
	ldr	x11, [x0]
	str	w9, [x10, x11, lsl #2]
Lloh0:
	adrp	x9, _TS_WRAPPED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TS_WRAPPED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	w10, [x0, #32]
	bic	w9, w10, w9
	str	w9, [x0, #32]
	ldr	x10, [x0, #16]
	cmp	x8, x10
	b.lt	LBB0_2
; %bb.1:
	ldr	x10, [x0, #24]
	cmp	x8, x10
	b.lt	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _TS_ORIGIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TS_ORIGIN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	bic	w8, w9, w8
	str	w8, [x0, #32]
	ldr	x8, [x0, #8]
	stp	xzr, x8, [x0, #16]
LBB0_3:
	b	_teken_funcs_cursor
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TS_WRAPPED,4,2                 ; @TS_WRAPPED
	.comm	_TS_ORIGIN,4,2                  ; @TS_ORIGIN
	.no_dead_strip	_teken_subr_restore_cursor
.subsections_via_symbols
