	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp1_set_cursor_position       ## -- Begin function dpp1_set_cursor_position
	.p2align	4, 0x90
_dpp1_set_cursor_position:              ## @dpp1_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	callq	_TO_DCN10_DPP
	movl	(%rbx), %eax
	movl	8(%rbx), %ecx
	movl	8(%r12), %r8d
	movl	4(%rbx), %esi
	addl	%r8d, %esi
	movl	%eax, %r13d
	subl	%esi, %r13d
	movl	12(%r12), %esi
	movl	12(%rbx), %edi
	addl	%esi, %edi
	movl	%ecx, %r14d
	subl	%edi, %r14d
	movq	16(%rbx), %r9
	movq	(%r12), %rdi
	movq	_ROTATION_ANGLE_90@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rdi
	je	LBB0_2
## %bb.1:
	movq	_ROTATION_ANGLE_270@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rdi
	je	LBB0_2
## %bb.4:
	movq	_ROTATION_ANGLE_180@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rdi
	jne	LBB0_6
## %bb.5:
	subl	%r8d, %eax
	subl	%esi, %ecx
	movl	%eax, %r13d
	movl	%ecx, %r14d
	jmp	LBB0_6
LBB0_2:
	movl	%r15d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movq	%r9, %r15
	callq	_swap
	movq	%r15, %r9
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movq	(%r12), %rax
	movq	_ROTATION_ANGLE_90@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.3:
	movl	12(%rbx), %eax
	addl	8(%r12), %eax
	movl	(%rbx), %r13d
	subl	%eax, %r13d
	movl	4(%rbx), %eax
	movl	8(%rbx), %r14d
	addl	12(%r12), %eax
	subl	%eax, %r14d
LBB0_6:
	testq	%r9, %r9
	setne	%sil
	cmpl	24(%r12), %r13d
	setl	%cl
	addl	%r13d, %r15d
	setg	%dl
	cmpl	16(%r12), %r14d
	setl	%bl
	addl	%r14d, -44(%rbp)                ## 4-byte Folded Spill
	setg	%al
	andb	%dl, %al
	andb	%bl, %al
	andb	%sil, %cl
	andb	%al, %cl
	movzbl	%cl, %edx
	movq	_CURSOR0_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CUR0_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_UPDATE                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ROTATION_ANGLE_90,8,3          ## @ROTATION_ANGLE_90
	.comm	_ROTATION_ANGLE_270,8,3         ## @ROTATION_ANGLE_270
	.comm	_ROTATION_ANGLE_180,8,3         ## @ROTATION_ANGLE_180
	.comm	_CURSOR0_CONTROL,4,2            ## @CURSOR0_CONTROL
	.comm	_CUR0_ENABLE,4,2                ## @CUR0_ENABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp1_set_cursor_position       ; -- Begin function dpp1_set_cursor_position
	.p2align	2
_dpp1_set_cursor_position:              ; @dpp1_set_cursor_position
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	bl	_TO_DCN10_DPP
	ldp	w8, w11, [x22]
	ldp	w9, w10, [x20, #8]
	add	w11, w11, w9
	sub	w24, w8, w11
	ldp	w11, w12, [x22, #8]
	add	w12, w12, w10
	sub	w25, w11, w12
	ldr	x23, [x22, #16]
	ldr	x12, [x20]
Lloh0:
	adrp	x26, _ROTATION_ANGLE_90@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ROTATION_ANGLE_90@GOTPAGEOFF]
	ldr	x13, [x26]
Lloh2:
	adrp	x14, _ROTATION_ANGLE_270@GOTPAGE
Lloh3:
	ldr	x14, [x14, _ROTATION_ANGLE_270@GOTPAGEOFF]
Lloh4:
	ldr	x14, [x14]
	cmp	x12, x13
	ccmp	x12, x14, #4, ne
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x21
	mov	x1, x19
	bl	_swap
	ldr	x8, [x20]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldp	w9, w8, [x22, #8]
	ldp	w10, w11, [x22]
	ldp	w12, w13, [x20, #8]
	add	w8, w8, w12
	sub	w24, w10, w8
	add	w8, w11, w13
	sub	w25, w9, w8
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x13, _ROTATION_ANGLE_180@GOTPAGE
Lloh6:
	ldr	x13, [x13, _ROTATION_ANGLE_180@GOTPAGEOFF]
Lloh7:
	ldr	x13, [x13]
	sub	w8, w8, w9
	sub	w9, w11, w10
	cmp	x12, x13
	csel	w24, w24, w8, ne
	csel	w25, w25, w9, ne
LBB0_4:
	ldr	w8, [x20, #24]
	add	w9, w24, w21
	ldr	w10, [x20, #16]
	add	w11, w25, w19
	cmp	w11, #0
	ccmp	w25, w10, #0, gt
	ccmp	w9, #0, #4, lt
	ccmp	w24, w8, #0, gt
	ccmp	x23, #0, #4, lt
	cset	w2, ne
Lloh8:
	adrp	x8, _CURSOR0_CONTROL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CURSOR0_CONTROL@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _CUR0_ENABLE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CUR0_ENABLE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_REG_UPDATE
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ROTATION_ANGLE_90,8,3          ; @ROTATION_ANGLE_90
	.comm	_ROTATION_ANGLE_270,8,3         ; @ROTATION_ANGLE_270
	.comm	_ROTATION_ANGLE_180,8,3         ; @ROTATION_ANGLE_180
	.comm	_CURSOR0_CONTROL,4,2            ; @CURSOR0_CONTROL
	.comm	_CUR0_ENABLE,4,2                ; @CUR0_ENABLE
.subsections_via_symbols
