	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubp2_cursor_set_attributes    ## -- Begin function hubp2_cursor_set_attributes
	.p2align	4, 0x90
_hubp2_cursor_set_attributes:           ## @hubp2_cursor_set_attributes
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	callq	_TO_DCN20_HUBP
	movl	24(%rbx), %edi
	callq	_hubp1_get_cursor_pitch
	movl	%eax, %r14d
	movl	4(%rbx), %esi
	movl	12(%rbx), %edi
	callq	_hubp2_get_lines_per_chunk
	movl	%eax, %r15d
	movups	(%rbx), %xmm0
	movups	12(%rbx), %xmm1
	movups	%xmm0, (%r12)
	movups	%xmm1, 12(%r12)
	movq	_CURSOR_SURFACE_ADDRESS_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	20(%rbx), %edx
	movl	%edi, %esi
	callq	_REG_UPDATE
	movq	_CURSOR_SURFACE_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %edx
	movl	%edi, %esi
	callq	_REG_UPDATE
	movq	_CURSOR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CURSOR_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %r8d
	movl	12(%rbx), %edx
	movq	_CURSOR_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_REG_UPDATE_2
	movq	_CURSOR_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CURSOR_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %r8d
	movl	4(%rbx), %edx
	movq	_CURSOR_2X_MAGNIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CURSOR_PITCH@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_CURSOR_LINES_PER_CHUNK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	pushq	%r15
	pushq	%rax
	pushq	%r14
	callq	_REG_UPDATE_4
	addq	$32, %rsp
	movq	_CURSOR_SETTINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CURSOR0_DST_Y_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CURSOR0_CHUNK_HDL_ADJUST@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$3, %r9d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_SET_2                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CURSOR_SURFACE_ADDRESS_HIGH,4,2 ## @CURSOR_SURFACE_ADDRESS_HIGH
	.comm	_CURSOR_SURFACE_ADDRESS,4,2     ## @CURSOR_SURFACE_ADDRESS
	.comm	_CURSOR_SIZE,4,2                ## @CURSOR_SIZE
	.comm	_CURSOR_WIDTH,4,2               ## @CURSOR_WIDTH
	.comm	_CURSOR_HEIGHT,4,2              ## @CURSOR_HEIGHT
	.comm	_CURSOR_CONTROL,4,2             ## @CURSOR_CONTROL
	.comm	_CURSOR_MODE,4,2                ## @CURSOR_MODE
	.comm	_CURSOR_2X_MAGNIFY,4,2          ## @CURSOR_2X_MAGNIFY
	.comm	_CURSOR_PITCH,4,2               ## @CURSOR_PITCH
	.comm	_CURSOR_LINES_PER_CHUNK,4,2     ## @CURSOR_LINES_PER_CHUNK
	.comm	_CURSOR_SETTINGS,4,2            ## @CURSOR_SETTINGS
	.comm	_CURSOR0_DST_Y_OFFSET,4,2       ## @CURSOR0_DST_Y_OFFSET
	.comm	_CURSOR0_CHUNK_HDL_ADJUST,4,2   ## @CURSOR0_CHUNK_HDL_ADJUST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubp2_cursor_set_attributes    ; -- Begin function hubp2_cursor_set_attributes
	.p2align	2
_hubp2_cursor_set_attributes:           ; @hubp2_cursor_set_attributes
	.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
	mov	x20, x1
	mov	x21, x0
	bl	_TO_DCN20_HUBP
	ldr	w0, [x20, #24]
	bl	_hubp1_get_cursor_pitch
	mov	x19, x0
	ldr	w0, [x20, #12]
	ldr	w1, [x20, #4]
	bl	_hubp2_get_lines_per_chunk
	mov	x22, x0
	ldur	q0, [x20, #12]
	ldr	q1, [x20]
	str	q1, [x21]
	stur	q0, [x21, #12]
Lloh0:
	adrp	x8, _CURSOR_SURFACE_ADDRESS_HIGH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CURSOR_SURFACE_ADDRESS_HIGH@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w2, [x20, #20]
	mov	x1, x0
	bl	_REG_UPDATE
Lloh3:
	adrp	x8, _CURSOR_SURFACE_ADDRESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CURSOR_SURFACE_ADDRESS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w2, [x20, #16]
	mov	x1, x0
	bl	_REG_UPDATE
Lloh6:
	adrp	x8, _CURSOR_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CURSOR_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _CURSOR_WIDTH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CURSOR_WIDTH@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _CURSOR_HEIGHT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CURSOR_HEIGHT@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	ldp	w4, w2, [x20, #8]
	bl	_REG_UPDATE_2
Lloh15:
	adrp	x8, _CURSOR_CONTROL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CURSOR_CONTROL@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x8, _CURSOR_MODE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CURSOR_MODE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _CURSOR_2X_MAGNIFY@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CURSOR_2X_MAGNIFY@GOTPAGEOFF]
Lloh23:
	ldr	w3, [x8]
	ldp	w4, w2, [x20]
Lloh24:
	adrp	x8, _CURSOR_PITCH@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CURSOR_PITCH@GOTPAGEOFF]
Lloh26:
	ldr	w5, [x8]
Lloh27:
	adrp	x8, _CURSOR_LINES_PER_CHUNK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CURSOR_LINES_PER_CHUNK@GOTPAGEOFF]
Lloh29:
	ldr	w7, [x8]
	str	w22, [sp]
	mov	x6, x19
	bl	_REG_UPDATE_4
Lloh30:
	adrp	x8, _CURSOR_SETTINGS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CURSOR_SETTINGS@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x8, _CURSOR0_DST_Y_OFFSET@GOTPAGE
Lloh34:
	ldr	x8, [x8, _CURSOR0_DST_Y_OFFSET@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
Lloh36:
	adrp	x8, _CURSOR0_CHUNK_HDL_ADJUST@GOTPAGE
Lloh37:
	ldr	x8, [x8, _CURSOR0_CHUNK_HDL_ADJUST@GOTPAGEOFF]
Lloh38:
	ldr	w4, [x8]
	mov	w1, #0
	mov	w3, #0
	mov	w5, #3
	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
	b	_REG_SET_2
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CURSOR_SURFACE_ADDRESS_HIGH,4,2 ; @CURSOR_SURFACE_ADDRESS_HIGH
	.comm	_CURSOR_SURFACE_ADDRESS,4,2     ; @CURSOR_SURFACE_ADDRESS
	.comm	_CURSOR_SIZE,4,2                ; @CURSOR_SIZE
	.comm	_CURSOR_WIDTH,4,2               ; @CURSOR_WIDTH
	.comm	_CURSOR_HEIGHT,4,2              ; @CURSOR_HEIGHT
	.comm	_CURSOR_CONTROL,4,2             ; @CURSOR_CONTROL
	.comm	_CURSOR_MODE,4,2                ; @CURSOR_MODE
	.comm	_CURSOR_2X_MAGNIFY,4,2          ; @CURSOR_2X_MAGNIFY
	.comm	_CURSOR_PITCH,4,2               ; @CURSOR_PITCH
	.comm	_CURSOR_LINES_PER_CHUNK,4,2     ; @CURSOR_LINES_PER_CHUNK
	.comm	_CURSOR_SETTINGS,4,2            ; @CURSOR_SETTINGS
	.comm	_CURSOR0_DST_Y_OFFSET,4,2       ; @CURSOR0_DST_Y_OFFSET
	.comm	_CURSOR0_CHUNK_HDL_ADJUST,4,2   ; @CURSOR0_CHUNK_HDL_ADJUST
.subsections_via_symbols
