	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce120_timing_generator_get_crtc_position ## -- Begin function dce120_timing_generator_get_crtc_position
	.p2align	4, 0x90
_dce120_timing_generator_get_crtc_position: ## @dce120_timing_generator_get_crtc_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
	movq	%rsi, %r14
	movq	%rdi, %r12
	callq	_DCE110TG_FROM_TG
	movq	%rax, %r15
	movl	(%r12), %edi
	movq	_mmCRTC0_CRTC_STATUS_POSITION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	callq	_dm_read_reg_soc15
	movl	%eax, %ebx
	movq	_CRTC0_CRTC_STATUS_POSITION@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_CRTC_HORZ_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_get_reg_field_value
	movq	%rax, 16(%r14)
	movl	(%r13), %esi
	movq	_CRTC_VERT_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_get_reg_field_value
	movq	%rax, 8(%r14)
	movl	(%r12), %edi
	movq	_mmCRTC0_CRTC_NOM_VERT_POSITION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	callq	_dm_read_reg_soc15
	movq	_CRTC0_CRTC_NOM_VERT_POSITION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_CRTC_VERT_COUNT_NOM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	callq	_get_reg_field_value
	movq	%rax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mmCRTC0_CRTC_STATUS_POSITION,4,2 ## @mmCRTC0_CRTC_STATUS_POSITION
	.comm	_CRTC0_CRTC_STATUS_POSITION,4,2 ## @CRTC0_CRTC_STATUS_POSITION
	.comm	_CRTC_HORZ_COUNT,4,2            ## @CRTC_HORZ_COUNT
	.comm	_CRTC_VERT_COUNT,4,2            ## @CRTC_VERT_COUNT
	.comm	_mmCRTC0_CRTC_NOM_VERT_POSITION,4,2 ## @mmCRTC0_CRTC_NOM_VERT_POSITION
	.comm	_CRTC0_CRTC_NOM_VERT_POSITION,4,2 ## @CRTC0_CRTC_NOM_VERT_POSITION
	.comm	_CRTC_VERT_COUNT_NOM,4,2        ## @CRTC_VERT_COUNT_NOM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce120_timing_generator_get_crtc_position ; -- Begin function dce120_timing_generator_get_crtc_position
	.p2align	2
_dce120_timing_generator_get_crtc_position: ; @dce120_timing_generator_get_crtc_position
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	bl	_DCE110TG_FROM_TG
	mov	x21, x0
	ldr	w0, [x20]
Lloh0:
	adrp	x8, _mmCRTC0_CRTC_STATUS_POSITION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mmCRTC0_CRTC_STATUS_POSITION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x21]
	bl	_dm_read_reg_soc15
	mov	x22, x0
Lloh3:
	adrp	x23, _CRTC0_CRTC_STATUS_POSITION@GOTPAGE
Lloh4:
	ldr	x23, [x23, _CRTC0_CRTC_STATUS_POSITION@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh5:
	adrp	x8, _CRTC_HORZ_COUNT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CRTC_HORZ_COUNT@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_get_reg_field_value
	str	x0, [x19, #16]
	ldr	w1, [x23]
Lloh8:
	adrp	x8, _CRTC_VERT_COUNT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CRTC_VERT_COUNT@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_get_reg_field_value
	str	x0, [x19, #8]
	ldr	w0, [x20]
Lloh11:
	adrp	x8, _mmCRTC0_CRTC_NOM_VERT_POSITION@GOTPAGE
Lloh12:
	ldr	x8, [x8, _mmCRTC0_CRTC_NOM_VERT_POSITION@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w2, [x21]
	bl	_dm_read_reg_soc15
Lloh14:
	adrp	x8, _CRTC0_CRTC_NOM_VERT_POSITION@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CRTC0_CRTC_NOM_VERT_POSITION@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _CRTC_VERT_COUNT_NOM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CRTC_VERT_COUNT_NOM@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	bl	_get_reg_field_value
	str	x0, [x19]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mmCRTC0_CRTC_STATUS_POSITION,4,2 ; @mmCRTC0_CRTC_STATUS_POSITION
	.comm	_CRTC0_CRTC_STATUS_POSITION,4,2 ; @CRTC0_CRTC_STATUS_POSITION
	.comm	_CRTC_HORZ_COUNT,4,2            ; @CRTC_HORZ_COUNT
	.comm	_CRTC_VERT_COUNT,4,2            ; @CRTC_VERT_COUNT
	.comm	_mmCRTC0_CRTC_NOM_VERT_POSITION,4,2 ; @mmCRTC0_CRTC_NOM_VERT_POSITION
	.comm	_CRTC0_CRTC_NOM_VERT_POSITION,4,2 ; @CRTC0_CRTC_NOM_VERT_POSITION
	.comm	_CRTC_VERT_COUNT_NOM,4,2        ; @CRTC_VERT_COUNT_NOM
.subsections_via_symbols
