	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function teken_trim_cursor_pos
_teken_trim_cursor_pos:                 ## @teken_trim_cursor_pos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rcx
	cmpq	%rcx, 16(%rdi)
	jl	LBB0_6
## %bb.1:
	movq	8(%rsi), %rax
	cmpq	%rax, 24(%rdi)
	jl	LBB0_6
## %bb.2:
	cmpq	%rcx, (%rdi)
	jl	LBB0_4
## %bb.3:
	decq	%rcx
	movq	%rcx, (%rdi)
LBB0_4:
	cmpq	%rax, 8(%rdi)
	jl	LBB0_6
## %bb.5:
	decq	%rax
	movq	%rax, 8(%rdi)
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_teken_trim_cursor_pos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function teken_trim_cursor_pos
_teken_trim_cursor_pos:                 ; @teken_trim_cursor_pos
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
	ldr	x9, [x1]
	cmp	x8, x9
	b.lt	LBB0_6
; %bb.1:
	ldr	x10, [x0, #24]
	ldr	x8, [x1, #8]
	cmp	x10, x8
	b.lt	LBB0_6
; %bb.2:
	ldr	x10, [x0]
	cmp	x10, x9
	b.lt	LBB0_4
; %bb.3:
	sub	x9, x9, #1
	str	x9, [x0]
LBB0_4:
	ldr	x9, [x0, #8]
	cmp	x9, x8
	b.lt	LBB0_6
; %bb.5:
	sub	x8, x8, #1
	str	x8, [x0, #8]
LBB0_6:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_teken_trim_cursor_pos
.subsections_via_symbols
