	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dsi_dump_dsi_clocks
_dsi_dump_dsi_clocks:                   ## @dsi_dump_dsi_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	%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	%rdi, %r14
	movq	(%rdi), %rbx
	movl	(%rbx), %r12d
	movl	8(%rbx), %edi
	callq	_dss_get_dispc_clk_source
	movl	%eax, %r15d
	movl	8(%rbx), %edi
	movl	%r12d, %esi
	callq	_dss_get_dsi_clk_source
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_dsi_runtime_get
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leal	1(%r12), %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movl	16(%rbx), %edi
	callq	_clk_get_rate
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_seq_printf
	movl	52(%rbx), %ecx
	movl	56(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movl	24(%rbx), %edx
	movl	48(%rbx), %ecx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	testl	%r12d, %r12d
	movq	_DSS_CLK_SRC_PLL2_1@GOTPCREL(%rip), %rax
	cmoveq	_DSS_CLK_SRC_PLL1_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %r12d
	movq	_DSS_CLK_SRC_PLL2_2@GOTPCREL(%rip), %r15
	cmoveq	_DSS_CLK_SRC_PLL1_2@GOTPCREL(%rip), %r15
	callq	_dss_get_clk_source_name
	movq	32(%rbx), %rdx
	movq	40(%rbx), %rcx
	movq	_HSDIV_DISPC@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rcx,%rsi,4), %ecx
	movl	(%rdx,%rsi,4), %r8d
	movq	_DSS_CLK_SRC_FCK@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r12d
	leaq	L_.str.5(%rip), %rdx
	leaq	L_.str.6(%rip), %r12
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %r9
	cmoveq	%rdx, %r9
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_seq_printf
	movl	(%r15), %edi
	callq	_dss_get_clk_source_name
	movq	32(%rbx), %rdx
	movq	40(%rbx), %rcx
	movq	_HSDIV_DSI@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rcx,%rsi,4), %ecx
	movl	(%rdx,%rsi,4), %r8d
	movq	_DSS_CLK_SRC_FCK@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r13d
	leaq	L_.str.5(%rip), %rdx
	cmoveq	%rdx, %r12
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	movq	%r12, %r9
	xorl	%eax, %eax
	callq	_seq_printf
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_seq_printf
	movl	%r13d, %edi
	callq	_dss_get_clk_source_name
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_seq_printf
	movq	%rbx, %rdi
	callq	_dsi_fclk_rate
	leaq	L_.str.10(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_seq_printf
	movl	24(%rbx), %eax
	leal	3(%rax), %edx
	testl	%eax, %eax
	cmovnsl	%eax, %edx
	sarl	$2, %edx
	leaq	L_.str.11(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movq	%rbx, %rdi
	callq	_dsi_get_txbyteclkhs
	leaq	L_.str.12(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_seq_printf
	movl	4(%rbx), %edx
	leaq	L_.str.13(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movq	%rbx, %rdi
	callq	_dsi_runtime_put
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"- DSI%d PLL -\n"

L_.str.1:                               ## @.str.1
	.asciz	"dsi pll clkin\t%lu\n"

L_.str.2:                               ## @.str.2
	.asciz	"Fint\t\t%-16lun %u\n"

L_.str.3:                               ## @.str.3
	.asciz	"CLKIN4DDR\t%-16lum %u\n"

L_.str.4:                               ## @.str.4
	.asciz	"DSI_PLL_HSDIV_DISPC (%s)\t%-16lum_dispc %u\t(%s)\n"

	.comm	_DSS_CLK_SRC_PLL1_1,4,2         ## @DSS_CLK_SRC_PLL1_1
	.comm	_DSS_CLK_SRC_PLL2_1,4,2         ## @DSS_CLK_SRC_PLL2_1
	.comm	_HSDIV_DISPC,8,3                ## @HSDIV_DISPC
	.comm	_DSS_CLK_SRC_FCK,4,2            ## @DSS_CLK_SRC_FCK
L_.str.5:                               ## @.str.5
	.asciz	"off"

L_.str.6:                               ## @.str.6
	.asciz	"on"

L_.str.7:                               ## @.str.7
	.asciz	"DSI_PLL_HSDIV_DSI (%s)\t%-16lum_dsi %u\t(%s)\n"

	.comm	_DSS_CLK_SRC_PLL1_2,4,2         ## @DSS_CLK_SRC_PLL1_2
	.comm	_DSS_CLK_SRC_PLL2_2,4,2         ## @DSS_CLK_SRC_PLL2_2
	.comm	_HSDIV_DSI,8,3                  ## @HSDIV_DSI
L_.str.8:                               ## @.str.8
	.asciz	"- DSI%d -\n"

L_.str.9:                               ## @.str.9
	.asciz	"dsi fclk source = %s\n"

L_.str.10:                              ## @.str.10
	.asciz	"DSI_FCLK\t%lu\n"

L_.str.11:                              ## @.str.11
	.asciz	"DDR_CLK\t\t%lu\n"

L_.str.12:                              ## @.str.12
	.asciz	"TxByteClkHS\t%lu\n"

L_.str.13:                              ## @.str.13
	.asciz	"LP_CLK\t\t%lu\n"

	.no_dead_strip	_dsi_dump_dsi_clocks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dsi_dump_dsi_clocks
_dsi_dump_dsi_clocks:                   ; @dsi_dump_dsi_clocks
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
	ldr	x19, [x0]
	ldr	w24, [x19]
	ldr	w0, [x19, #8]
	bl	_dss_get_dispc_clk_source
	mov	x23, x0
	ldr	w0, [x19, #8]
	mov	x1, x24
	bl	_dss_get_dsi_clk_source
	mov	x21, x0
	mov	x0, x19
	bl	_dsi_runtime_get
	cbnz	x0, LBB0_2
; %bb.1:
	add	w22, w24, #1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_seq_printf
	ldr	w0, [x19, #16]
	bl	_clk_get_rate
	mov	x2, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_seq_printf
	ldp	w8, w2, [x19, #52]
	str	x8, [sp]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_seq_printf
	ldr	w2, [x19, #24]
	ldr	w8, [x19, #48]
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_seq_printf
Lloh8:
	adrp	x8, _DSS_CLK_SRC_PLL1_1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DSS_CLK_SRC_PLL1_1@GOTPAGEOFF]
Lloh10:
	adrp	x9, _DSS_CLK_SRC_PLL2_1@GOTPAGE
Lloh11:
	ldr	x9, [x9, _DSS_CLK_SRC_PLL2_1@GOTPAGEOFF]
	cmp	w24, #0
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _DSS_CLK_SRC_PLL1_2@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DSS_CLK_SRC_PLL1_2@GOTPAGEOFF]
Lloh14:
	adrp	x9, _DSS_CLK_SRC_PLL2_2@GOTPAGE
Lloh15:
	ldr	x9, [x9, _DSS_CLK_SRC_PLL2_2@GOTPAGEOFF]
	csel	x24, x8, x9, eq
	bl	_dss_get_clk_source_name
	mov	x2, x0
Lloh16:
	adrp	x8, _HSDIV_DISPC@GOTPAGE
Lloh17:
	ldr	x8, [x8, _HSDIV_DISPC@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	lsl	x8, x8, #2
Lloh19:
	adrp	x25, _DSS_CLK_SRC_FCK@GOTPAGE
Lloh20:
	ldr	x25, [x25, _DSS_CLK_SRC_FCK@GOTPAGEOFF]
	ldp	x10, x9, [x19, #32]
	ldr	w11, [x25]
Lloh21:
	adrp	x26, l_.str.5@PAGE
Lloh22:
	add	x26, x26, l_.str.5@PAGEOFF
Lloh23:
	adrp	x27, l_.str.6@PAGE
Lloh24:
	add	x27, x27, l_.str.6@PAGEOFF
	cmp	w23, w11
	csel	x11, x26, x27, eq
	ldr	w10, [x10, x8]
	ldr	w8, [x9, x8]
	stp	x8, x10, [sp]
	str	x11, [sp, #16]
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_seq_printf
	ldr	w0, [x24]
	bl	_dss_get_clk_source_name
	mov	x2, x0
Lloh27:
	adrp	x8, _HSDIV_DSI@GOTPAGE
Lloh28:
	ldr	x8, [x8, _HSDIV_DSI@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	lsl	x8, x8, #2
	ldp	x10, x9, [x19, #32]
	ldr	w11, [x25]
	cmp	w21, w11
	csel	x11, x26, x27, eq
	ldr	w9, [x9, x8]
	ldr	w8, [x10, x8]
	stp	x8, x11, [sp, #8]
	str	x9, [sp]
Lloh30:
	adrp	x1, l_.str.7@PAGE
Lloh31:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_seq_printf
Lloh32:
	adrp	x1, l_.str.8@PAGE
Lloh33:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_seq_printf
	mov	x0, x21
	bl	_dss_get_clk_source_name
	mov	x2, x0
Lloh34:
	adrp	x1, l_.str.9@PAGE
Lloh35:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_seq_printf
	mov	x0, x19
	bl	_dsi_fclk_rate
	mov	x2, x0
Lloh36:
	adrp	x1, l_.str.10@PAGE
Lloh37:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_seq_printf
	ldr	w8, [x19, #24]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w2, w8, #2
Lloh38:
	adrp	x1, l_.str.11@PAGE
Lloh39:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x20
	bl	_seq_printf
	mov	x0, x19
	bl	_dsi_get_txbyteclkhs
	mov	x2, x0
Lloh40:
	adrp	x1, l_.str.12@PAGE
Lloh41:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x20
	bl	_seq_printf
	ldr	w2, [x19, #4]
Lloh42:
	adrp	x1, l_.str.13@PAGE
Lloh43:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x20
	bl	_seq_printf
	mov	x0, x19
	bl	_dsi_runtime_put
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"- DSI%d PLL -\n"

l_.str.1:                               ; @.str.1
	.asciz	"dsi pll clkin\t%lu\n"

l_.str.2:                               ; @.str.2
	.asciz	"Fint\t\t%-16lun %u\n"

l_.str.3:                               ; @.str.3
	.asciz	"CLKIN4DDR\t%-16lum %u\n"

l_.str.4:                               ; @.str.4
	.asciz	"DSI_PLL_HSDIV_DISPC (%s)\t%-16lum_dispc %u\t(%s)\n"

	.comm	_DSS_CLK_SRC_PLL1_1,4,2         ; @DSS_CLK_SRC_PLL1_1
	.comm	_DSS_CLK_SRC_PLL2_1,4,2         ; @DSS_CLK_SRC_PLL2_1
	.comm	_HSDIV_DISPC,8,3                ; @HSDIV_DISPC
	.comm	_DSS_CLK_SRC_FCK,4,2            ; @DSS_CLK_SRC_FCK
l_.str.5:                               ; @.str.5
	.asciz	"off"

l_.str.6:                               ; @.str.6
	.asciz	"on"

l_.str.7:                               ; @.str.7
	.asciz	"DSI_PLL_HSDIV_DSI (%s)\t%-16lum_dsi %u\t(%s)\n"

	.comm	_DSS_CLK_SRC_PLL1_2,4,2         ; @DSS_CLK_SRC_PLL1_2
	.comm	_DSS_CLK_SRC_PLL2_2,4,2         ; @DSS_CLK_SRC_PLL2_2
	.comm	_HSDIV_DSI,8,3                  ; @HSDIV_DSI
l_.str.8:                               ; @.str.8
	.asciz	"- DSI%d -\n"

l_.str.9:                               ; @.str.9
	.asciz	"dsi fclk source = %s\n"

l_.str.10:                              ; @.str.10
	.asciz	"DSI_FCLK\t%lu\n"

l_.str.11:                              ; @.str.11
	.asciz	"DDR_CLK\t\t%lu\n"

l_.str.12:                              ; @.str.12
	.asciz	"TxByteClkHS\t%lu\n"

l_.str.13:                              ; @.str.13
	.asciz	"LP_CLK\t\t%lu\n"

	.no_dead_strip	_dsi_dump_dsi_clocks
.subsections_via_symbols
