	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce110_set_cursor_position     ## -- Begin function dce110_set_cursor_position
	.p2align	4, 0x90
_dce110_set_cursor_position:            ## @dce110_set_cursor_position
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rax
	movq	48(%rdi), %rdx
	movl	12(%rdx), %ecx
	movl	%ecx, -16(%rbp)
	movq	32(%rdi), %rbx
	movq	40(%rdi), %rdi
	movslq	8(%rdx), %rcx
	imulq	$1717986919, %rcx, %rcx         ## imm = 0x66666667
	movq	%rcx, %rsi
	shrq	$63, %rsi
	sarq	$34, %rcx
	addl	%esi, %ecx
	movl	%ecx, -48(%rbp)
	movq	8(%rax), %rcx
	movsd	8(%rcx), %xmm0                  ## xmm0 = mem[0],zero
	movsd	16(%rax), %xmm1                 ## xmm1 = mem[0],zero
	movlhps	%xmm1, %xmm0                    ## xmm0 = xmm0[0],xmm1[0]
	movups	%xmm0, -44(%rbp)
	movl	24(%rax), %esi
	movl	%esi, -28(%rbp)
	movq	(%rdx), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx), %rdx
	movl	(%rdx), %edx
	movl	%edx, -24(%rbp)
	movq	(%rcx), %rdx
	movq	_PLN_ADDR_TYPE_VIDEO_PROGRESSIVE@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_2
## %bb.1:
	movl	$0, -16(%rbp)
LBB0_2:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	cmpq	(%rax), %rcx
	je	LBB0_5
## %bb.4:
	movl	$0, -16(%rbp)
LBB0_5:
	movq	(%rdi), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	-16(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	*%rax
LBB0_7:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	-16(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*%rax
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PLN_ADDR_TYPE_VIDEO_PROGRESSIVE,8,3 ## @PLN_ADDR_TYPE_VIDEO_PROGRESSIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce110_set_cursor_position     ; -- Begin function dce110_set_cursor_position
	.p2align	2
_dce110_set_cursor_position:            ; @dce110_set_cursor_position
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x0
	ldp	x0, x10, [x0, #40]
	ldp	w11, w9, [x10, #8]
                                        ; kill: def $w11 killed $w11 def $x11
	sxtw	x11, w11
	stur	w9, [x29, #-24]
	ldr	x19, [x8, #32]
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	mul	x9, x11, x9
	lsr	x11, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w11
	str	w9, [sp, #8]
	ldr	x9, [x8, #8]
	ldr	d0, [x9, #8]
	ldr	d1, [x8, #16]
	mov.d	v0[1], v1[0]
	stur	q0, [sp, #12]
	ldr	w11, [x8, #24]
	str	w11, [sp, #28]
	ldr	x10, [x10]
	ldr	x10, [x10]
	ldr	x10, [x10]
	ldr	w10, [x10]
	str	w10, [sp, #32]
	ldr	x10, [x9]
Lloh0:
	adrp	x11, _PLN_ADDR_TYPE_VIDEO_PROGRESSIVE@GOTPAGE
Lloh1:
	ldr	x11, [x11, _PLN_ADDR_TYPE_VIDEO_PROGRESSIVE@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_2
; %bb.1:
	stur	wzr, [x29, #-24]
LBB0_2:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x8, [x8]
	cmp	x9, x8
	b.eq	LBB0_5
; %bb.4:
	stur	wzr, [x29, #-24]
LBB0_5:
	ldr	x8, [x0]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
	sub	x1, x29, #24
	add	x2, sp, #8
	blr	x8
LBB0_7:
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.8:
	sub	x1, x29, #24
	add	x2, sp, #8
	mov	x0, x19
	blr	x8
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PLN_ADDR_TYPE_VIDEO_PROGRESSIVE,8,3 ; @PLN_ADDR_TYPE_VIDEO_PROGRESSIVE
.subsections_via_symbols
