	.file	"extr_dce120_timing_generator.c_dce120_timing_generator_get_position.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	dce120_timing_generator_get_position
	.type	dce120_timing_generator_get_position, @function
dce120_timing_generator_get_position:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	DCE110TG_FROM_TG@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR mmCRTC0_CRTC_STATUS_POSITION[rip]
	mov	edx, DWORD PTR [rax]
	mov	r12, rax
	call	dm_read_reg_soc15@PLT
	mov	edx, DWORD PTR CRTC_HORZ_COUNT[rip]
	mov	esi, DWORD PTR CRTC0_CRTC_STATUS_POSITION[rip]
	mov	edi, eax
	mov	r13d, eax
	call	get_reg_field_value@PLT
	mov	edx, DWORD PTR CRTC_VERT_COUNT[rip]
	mov	esi, DWORD PTR CRTC0_CRTC_STATUS_POSITION[rip]
	mov	edi, r13d
	mov	QWORD PTR 16[rbx], rax
	call	get_reg_field_value@PLT
	mov	edx, DWORD PTR [r12]
	mov	edi, DWORD PTR 0[rbp]
	mov	QWORD PTR 8[rbx], rax
	mov	esi, DWORD PTR mmCRTC0_CRTC_NOM_VERT_POSITION[rip]
	call	dm_read_reg_soc15@PLT
	mov	edx, DWORD PTR CRTC_VERT_COUNT_NOM[rip]
	mov	esi, DWORD PTR CRTC0_CRTC_NOM_VERT_POSITION[rip]
	mov	edi, eax
	call	get_reg_field_value@PLT
	mov	QWORD PTR [rbx], rax
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dce120_timing_generator_get_position, .-dce120_timing_generator_get_position
	.comm	mmCRTC0_CRTC_STATUS_POSITION,4,4
	.comm	mmCRTC0_CRTC_NOM_VERT_POSITION,4,4
	.comm	CRTC_VERT_COUNT_NOM,4,4
	.comm	CRTC_VERT_COUNT,4,4
	.comm	CRTC_HORZ_COUNT,4,4
	.comm	CRTC0_CRTC_STATUS_POSITION,4,4
	.comm	CRTC0_CRTC_NOM_VERT_POSITION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_dce120_timing_generator.c_dce120_timing_generator_get_position.c"
	.text
	.align	2
	.global	dce120_timing_generator_get_position
	.syntax unified
	.arm
	.fpu softvfp
	.type	dce120_timing_generator_get_position, %function
dce120_timing_generator_get_position:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	mov	r5, r0
	bl	DCE110TG_FROM_TG
	ldr	r3, .L4
	ldr	r2, [r0]
	ldr	r1, [r3]
	mov	r6, r0
	ldr	r0, [r5]
	bl	dm_read_reg_soc15
	ldr	r8, .L4+4
	ldr	r3, .L4+8
	ldr	r1, [r8]
	ldr	r2, [r3]
	mov	r7, r0
	bl	get_reg_field_value
	ldr	r3, .L4+12
	ldr	r1, [r8]
	ldr	r2, [r3]
	str	r0, [r4, #8]
	mov	r0, r7
	bl	get_reg_field_value
	ldr	r3, .L4+16
	ldr	r2, [r6]
	ldr	r1, [r3]
	str	r0, [r4, #4]
	ldr	r0, [r5]
	bl	dm_read_reg_soc15
	ldr	r3, .L4+20
	ldr	r2, .L4+24
	ldr	r1, [r3]
	ldr	r2, [r2]
	bl	get_reg_field_value
	str	r0, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	mmCRTC0_CRTC_STATUS_POSITION
	.word	CRTC0_CRTC_STATUS_POSITION
	.word	CRTC_HORZ_COUNT
	.word	CRTC_VERT_COUNT
	.word	mmCRTC0_CRTC_NOM_VERT_POSITION
	.word	CRTC0_CRTC_NOM_VERT_POSITION
	.word	CRTC_VERT_COUNT_NOM
	.size	dce120_timing_generator_get_position, .-dce120_timing_generator_get_position
	.comm	mmCRTC0_CRTC_STATUS_POSITION,4,4
	.comm	mmCRTC0_CRTC_NOM_VERT_POSITION,4,4
	.comm	CRTC_VERT_COUNT_NOM,4,4
	.comm	CRTC_VERT_COUNT,4,4
	.comm	CRTC_HORZ_COUNT,4,4
	.comm	CRTC0_CRTC_STATUS_POSITION,4,4
	.comm	CRTC0_CRTC_NOM_VERT_POSITION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
