	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___fix_cursor_down              ## -- Begin function __fix_cursor_down
	.p2align	4, 0x90
___fix_cursor_down:                     ## @__fix_cursor_down
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	16(%rdi), %r12
	movq	(%r12), %rcx
	addq	%rcx, %rax
	addq	$32, %rax
	cmpq	8(%r12), %rax
	jl	LBB0_5
## %bb.1:
	movq	%rdi, %r15
	movl	8(%rdi), %edx
	movl	12(%rdi), %edi
	leaq	-36(%rbp), %rsi
	movl	$32, %ecx
	callq	_r_asm_disassemble
	movl	%eax, %ebx
	cmpl	$2, %eax
	movl	$1, %r14d
	cmovll	%r14d, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_r_core_seek_delta
	movl	(%r12), %edi
	subl	%ebx, %edi
	xorl	%esi, %esi
	callq	_R_MAX
	movq	%rax, (%r12)
	movl	16(%r12), %edi
	cmpl	$-1, %edi
	je	LBB0_3
## %bb.2:
	subl	%ebx, %edi
	xorl	%esi, %esi
	callq	_R_MAX
	movl	%eax, 16(%r12)
LBB0_3:
	movl	8(%r15), %edx
	movl	12(%r15), %edi
	leaq	-36(%rbp), %rsi
	movl	$32, %ecx
	callq	_r_asm_disassemble
	cmpl	$2, %eax
	cmovgel	%eax, %r14d
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_r_core_seek_delta
	movl	(%r12), %edi
	subl	%r14d, %edi
	xorl	%esi, %esi
	callq	_R_MAX
	movq	%rax, (%r12)
	movl	16(%r12), %edi
	cmpl	$-1, %edi
	je	LBB0_5
## %bb.4:
	subl	%r14d, %edi
	xorl	%esi, %esi
	callq	_R_MAX
	movl	%eax, 16(%r12)
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___fix_cursor_down              ; -- Begin function __fix_cursor_down
	.p2align	2
___fix_cursor_down:                     ; @__fix_cursor_down
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x21, [x0, #16]
	ldr	x8, [x0]
	ldp	x9, x10, [x21]
	add	x8, x8, x9
	add	x8, x8, #32
	cmp	x8, x10
	b.lt	LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0, #12]
	ldr	w2, [x19, #8]
	add	x1, sp, #12
	mov	w3, #32
	bl	_r_asm_disassemble
	cmp	w0, #1
	csinc	w20, w0, wzr, gt
	mov	x0, x19
	mov	x1, x20
	bl	_r_core_seek_delta
	ldr	w8, [x21]
	sub	w0, w8, w20
	mov	w1, #0
	bl	_R_MAX
	str	x0, [x21]
	ldr	w8, [x21, #16]
	cmn	w8, #1
	b.eq	LBB0_3
; %bb.2:
	sub	w0, w8, w20
	mov	w1, #0
	bl	_R_MAX
	str	w0, [x21, #16]
LBB0_3:
	ldp	w2, w0, [x19, #8]
	add	x1, sp, #12
	mov	w3, #32
	bl	_r_asm_disassemble
	cmp	w0, #1
	csinc	w20, w0, wzr, gt
	mov	x0, x19
	mov	x1, x20
	bl	_r_core_seek_delta
	ldr	w8, [x21]
	sub	w0, w8, w20
	mov	w1, #0
	bl	_R_MAX
	str	x0, [x21]
	ldr	w8, [x21, #16]
	cmn	w8, #1
	b.eq	LBB0_5
; %bb.4:
	sub	w0, w8, w20
	mov	w1, #0
	bl	_R_MAX
	str	w0, [x21, #16]
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
