	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dispc_dump_clocks              ## -- Begin function dispc_dump_clocks
	.p2align	4, 0x90
_dispc_dump_clocks:                     ## @dispc_dump_clocks
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_dispc_runtime_get
	testq	%rax, %rax
	je	LBB0_1
## %bb.8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movl	(%rbx), %edi
	callq	_dss_get_dispc_clk_source
	movl	%eax, %edi
	callq	_dss_get_clk_source_name
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_seq_printf
	movq	%rbx, %rdi
	callq	_dispc_fclk_rate
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_seq_printf
	movq	_FEAT_CORE_CLK_DIV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dispc_has_feature
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movq	_DISPC_DIVISOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dispc_read_reg
	movl	%eax, %edi
	movl	$23, %esi
	movl	$16, %edx
	callq	_FLD_GET
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_dispc_fclk_rate
	cltd
	idivl	%r15d
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_seq_printf
LBB0_3:
	movq	_OMAP_DSS_CHANNEL_LCD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_dispc_dump_clocks_channel
	movq	_FEAT_MGR_LCD2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dispc_has_feature
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_OMAP_DSS_CHANNEL_LCD2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_dispc_dump_clocks_channel
LBB0_5:
	movq	_FEAT_MGR_LCD3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dispc_has_feature
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_OMAP_DSS_CHANNEL_LCD3@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_dispc_dump_clocks_channel
LBB0_7:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dispc_runtime_put              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"- DISPC -\n"

L_.str.1:                               ## @.str.1
	.asciz	"dispc fclk source = %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"fck\t\t%-16lu\n"

	.comm	_FEAT_CORE_CLK_DIV,4,2          ## @FEAT_CORE_CLK_DIV
L_.str.3:                               ## @.str.3
	.asciz	"- DISPC-CORE-CLK -\n"

	.comm	_DISPC_DIVISOR,4,2              ## @DISPC_DIVISOR
L_.str.4:                               ## @.str.4
	.asciz	"lck\t\t%-16lulck div\t%u\n"

	.comm	_OMAP_DSS_CHANNEL_LCD,4,2       ## @OMAP_DSS_CHANNEL_LCD
	.comm	_FEAT_MGR_LCD2,4,2              ## @FEAT_MGR_LCD2
	.comm	_OMAP_DSS_CHANNEL_LCD2,4,2      ## @OMAP_DSS_CHANNEL_LCD2
	.comm	_FEAT_MGR_LCD3,4,2              ## @FEAT_MGR_LCD3
	.comm	_OMAP_DSS_CHANNEL_LCD3,4,2      ## @OMAP_DSS_CHANNEL_LCD3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dispc_dump_clocks              ; -- Begin function dispc_dump_clocks
	.p2align	2
_dispc_dump_clocks:                     ; @dispc_dump_clocks
	.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	x19, x0
	bl	_dispc_runtime_get
	cbz	x0, LBB0_2
; %bb.1:
	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
	ret
LBB0_2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_seq_printf
	ldr	w0, [x19]
	bl	_dss_get_dispc_clk_source
	bl	_dss_get_clk_source_name
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_seq_printf
	mov	x0, x19
	bl	_dispc_fclk_rate
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_seq_printf
Lloh6:
	adrp	x8, _FEAT_CORE_CLK_DIV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FEAT_CORE_CLK_DIV@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dispc_has_feature
	cbz	x0, LBB0_4
; %bb.3:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_seq_printf
Lloh11:
	adrp	x8, _DISPC_DIVISOR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DISPC_DIVISOR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dispc_read_reg
	mov	w1, #23
	mov	w2, #16
	bl	_FLD_GET
	mov	x21, x0
	mov	x0, x19
	bl	_dispc_fclk_rate
	sdiv	w8, w0, w21
	stp	x8, x21, [sp]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_seq_printf
LBB0_4:
Lloh16:
	adrp	x8, _OMAP_DSS_CHANNEL_LCD@GOTPAGE
Lloh17:
	ldr	x8, [x8, _OMAP_DSS_CHANNEL_LCD@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_dispc_dump_clocks_channel
Lloh19:
	adrp	x8, _FEAT_MGR_LCD2@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FEAT_MGR_LCD2@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dispc_has_feature
	cbz	x0, LBB0_6
; %bb.5:
Lloh22:
	adrp	x8, _OMAP_DSS_CHANNEL_LCD2@GOTPAGE
Lloh23:
	ldr	x8, [x8, _OMAP_DSS_CHANNEL_LCD2@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_dispc_dump_clocks_channel
LBB0_6:
Lloh25:
	adrp	x8, _FEAT_MGR_LCD3@GOTPAGE
Lloh26:
	ldr	x8, [x8, _FEAT_MGR_LCD3@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dispc_has_feature
	cbz	x0, LBB0_8
; %bb.7:
Lloh28:
	adrp	x8, _OMAP_DSS_CHANNEL_LCD3@GOTPAGE
Lloh29:
	ldr	x8, [x8, _OMAP_DSS_CHANNEL_LCD3@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_dispc_dump_clocks_channel
LBB0_8:
	mov	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
	add	sp, sp, #64
	b	_dispc_runtime_put
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"- DISPC -\n"

l_.str.1:                               ; @.str.1
	.asciz	"dispc fclk source = %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"fck\t\t%-16lu\n"

	.comm	_FEAT_CORE_CLK_DIV,4,2          ; @FEAT_CORE_CLK_DIV
l_.str.3:                               ; @.str.3
	.asciz	"- DISPC-CORE-CLK -\n"

	.comm	_DISPC_DIVISOR,4,2              ; @DISPC_DIVISOR
l_.str.4:                               ; @.str.4
	.asciz	"lck\t\t%-16lulck div\t%u\n"

	.comm	_OMAP_DSS_CHANNEL_LCD,4,2       ; @OMAP_DSS_CHANNEL_LCD
	.comm	_FEAT_MGR_LCD2,4,2              ; @FEAT_MGR_LCD2
	.comm	_OMAP_DSS_CHANNEL_LCD2,4,2      ; @OMAP_DSS_CHANNEL_LCD2
	.comm	_FEAT_MGR_LCD3,4,2              ; @FEAT_MGR_LCD3
	.comm	_OMAP_DSS_CHANNEL_LCD3,4,2      ; @OMAP_DSS_CHANNEL_LCD3
.subsections_via_symbols
