	.file	"extr_dispc.c_dispc_dump_clocks.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"- DISPC -\n"
.LC1:
	.string	"dispc fclk source = %s (%s)\n"
.LC2:
	.string	"fck\t\t%-16lu\n"
.LC3:
	.string	"- DISPC-CORE-CLK -\n"
.LC4:
	.string	"lck\t\t%-16lulck div\t%u\n"
	.text
	.p2align 4
	.globl	dispc_dump_clocks
	.type	dispc_dump_clocks, @function
dispc_dump_clocks:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	eax, eax
	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
	call	dss_get_dispc_clk_source@PLT
	mov	r12d, eax
	xor	eax, eax
	call	dispc_runtime_get@PLT
	test	rax, rax
	je	.L17
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	seq_printf@PLT
	mov	edi, r12d
	call	dss_feat_get_clk_source_name@PLT
	mov	edi, r12d
	mov	r13d, eax
	call	dss_get_generic_clk_source_name@PLT
	mov	ecx, r13d
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	mov	edx, eax
	xor	eax, eax
	call	seq_printf@PLT
	xor	eax, eax
	call	dispc_fclk_rate@PLT
	mov	rdi, rbp
	lea	rsi, .LC2[rip]
	mov	edx, eax
	xor	eax, eax
	call	seq_printf@PLT
	mov	edi, DWORD PTR FEAT_CORE_CLK_DIV[rip]
	call	dss_has_feature@PLT
	test	rax, rax
	jne	.L18
.L3:
	mov	esi, DWORD PTR OMAP_DSS_CHANNEL_LCD[rip]
	mov	rdi, rbp
	call	dispc_dump_clocks_channel@PLT
	mov	edi, DWORD PTR FEAT_MGR_LCD2[rip]
	call	dss_has_feature@PLT
	test	rax, rax
	jne	.L19
.L4:
	mov	edi, DWORD PTR FEAT_MGR_LCD3[rip]
	call	dss_has_feature@PLT
	test	rax, rax
	jne	.L20
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	dispc_runtime_put@PLT
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	seq_printf@PLT
	mov	edi, DWORD PTR DISPC_DIVISOR[rip]
	call	dispc_read_reg@PLT
	mov	edx, 16
	mov	esi, 23
	mov	edi, eax
	call	FLD_GET@PLT
	mov	r12d, eax
	xor	eax, eax
	call	dispc_fclk_rate@PLT
	mov	ecx, r12d
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	cdq
	idiv	r12d
	mov	edx, eax
	xor	eax, eax
	call	seq_printf@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L20:
	mov	esi, DWORD PTR OMAP_DSS_CHANNEL_LCD3[rip]
	mov	rdi, rbp
	call	dispc_dump_clocks_channel@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	dispc_runtime_put@PLT
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	esi, DWORD PTR OMAP_DSS_CHANNEL_LCD2[rip]
	mov	rdi, rbp
	call	dispc_dump_clocks_channel@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	dispc_dump_clocks, .-dispc_dump_clocks
	.comm	OMAP_DSS_CHANNEL_LCD3,4,4
	.comm	OMAP_DSS_CHANNEL_LCD2,4,4
	.comm	OMAP_DSS_CHANNEL_LCD,4,4
	.comm	FEAT_MGR_LCD3,4,4
	.comm	FEAT_MGR_LCD2,4,4
	.comm	FEAT_CORE_CLK_DIV,4,4
	.comm	DISPC_DIVISOR,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_dispc.c_dispc_dump_clocks.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"- DISPC -\012\000"
	.align	2
.LC1:
	.ascii	"dispc fclk source = %s (%s)\012\000"
	.align	2
.LC2:
	.ascii	"fck\011\011%-16lu\012\000"
	.align	2
.LC3:
	.ascii	"- DISPC-CORE-CLK -\012\000"
	.global	__aeabi_idiv
	.align	2
.LC4:
	.ascii	"lck\011\011%-16lulck div\011%u\012\000"
	.text
	.align	2
	.global	dispc_dump_clocks
	.syntax unified
	.arm
	.fpu softvfp
	.type	dispc_dump_clocks, %function
dispc_dump_clocks:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	dss_get_dispc_clk_source
	mov	r5, r0
	bl	dispc_runtime_get
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	ldr	r1, .L20
	mov	r0, r4
	bl	seq_printf
	mov	r0, r5
	bl	dss_get_generic_clk_source_name
	mov	r2, r0
	mov	r0, r5
	mov	r5, r2
	bl	dss_feat_get_clk_source_name
	mov	r2, r5
	mov	r3, r0
	ldr	r1, .L20+4
	mov	r0, r4
	bl	seq_printf
	bl	dispc_fclk_rate
	ldr	r1, .L20+8
	mov	r2, r0
	mov	r0, r4
	bl	seq_printf
	ldr	r3, .L20+12
	ldr	r0, [r3]
	bl	dss_has_feature
	cmp	r0, #0
	bne	.L17
.L3:
	ldr	r3, .L20+16
	mov	r0, r4
	ldr	r1, [r3]
	bl	dispc_dump_clocks_channel
	ldr	r3, .L20+20
	ldr	r0, [r3]
	bl	dss_has_feature
	cmp	r0, #0
	bne	.L18
.L4:
	ldr	r3, .L20+24
	ldr	r0, [r3]
	bl	dss_has_feature
	cmp	r0, #0
	bne	.L19
	pop	{r4, r5, r6, lr}
	b	dispc_runtime_put
.L17:
	ldr	r1, .L20+28
	mov	r0, r4
	bl	seq_printf
	ldr	r3, .L20+32
	ldr	r0, [r3]
	bl	dispc_read_reg
	mov	r2, #16
	mov	r1, #23
	bl	FLD_GET
	mov	r5, r0
	bl	dispc_fclk_rate
	mov	r1, r5
	bl	__aeabi_idiv
	mov	r3, r5
	mov	r2, r0
	ldr	r1, .L20+36
	mov	r0, r4
	bl	seq_printf
	b	.L3
.L19:
	ldr	r3, .L20+40
	mov	r0, r4
	ldr	r1, [r3]
	bl	dispc_dump_clocks_channel
	pop	{r4, r5, r6, lr}
	b	dispc_runtime_put
.L18:
	ldr	r3, .L20+44
	mov	r0, r4
	ldr	r1, [r3]
	bl	dispc_dump_clocks_channel
	b	.L4
.L21:
	.align	2
.L20:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	FEAT_CORE_CLK_DIV
	.word	OMAP_DSS_CHANNEL_LCD
	.word	FEAT_MGR_LCD2
	.word	FEAT_MGR_LCD3
	.word	.LC3
	.word	DISPC_DIVISOR
	.word	.LC4
	.word	OMAP_DSS_CHANNEL_LCD3
	.word	OMAP_DSS_CHANNEL_LCD2
	.size	dispc_dump_clocks, .-dispc_dump_clocks
	.comm	OMAP_DSS_CHANNEL_LCD3,4,4
	.comm	OMAP_DSS_CHANNEL_LCD2,4,4
	.comm	OMAP_DSS_CHANNEL_LCD,4,4
	.comm	FEAT_MGR_LCD3,4,4
	.comm	FEAT_MGR_LCD2,4,4
	.comm	FEAT_CORE_CLK_DIV,4,4
	.comm	DISPC_DIVISOR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
