	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msm_hdmi_pll_8996_init         ## -- Begin function msm_hdmi_pll_8996_init
	.p2align	4, 0x90
_msm_hdmi_pll_8996_init:                ## @msm_hdmi_pll_8996_init
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r15
	movq	%r14, 24(%rax)
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_msm_ioremap
	movq	%rax, 16(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
LBB0_2:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_DRM_DEV_ERROR
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_10:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_14
## %bb.12:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_HDMI_NUM_TX_CHANNEL@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_8
## %bb.5:
	xorl	%ebx, %ebx
	leaq	-80(%rbp), %r13
	leaq	-112(%rbp), %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	$32, %esi
	leaq	L_.str.3(%rip), %rdx
	movl	%ebx, %ecx
	callq	_snprintf
	movq	%r12, %rdi
	movl	$32, %esi
	leaq	L_.str.4(%rip), %rdx
	movl	%ebx, %ecx
	callq	_snprintf
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_msm_ioremap
	movq	8(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movq	_HDMI_NUM_TX_CHANNEL@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_8:
	movq	_pll_init@GOTPCREL(%rip), %rax
	movq	%rax, (%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_devm_clk_register
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_DRM_DEV_ERROR
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hdmi_pll"

L_.str.1:                               ## @.str.1
	.asciz	"HDMI_PLL"

L_.str.2:                               ## @.str.2
	.asciz	"failed to map pll base\n"

	.comm	_HDMI_NUM_TX_CHANNEL,4,2        ## @HDMI_NUM_TX_CHANNEL
L_.str.3:                               ## @.str.3
	.asciz	"hdmi_tx_l%d"

L_.str.4:                               ## @.str.4
	.asciz	"HDMI_TX_L%d"

	.comm	_pll_init,4,2                   ## @pll_init
L_.str.5:                               ## @.str.5
	.asciz	"failed to register pll clock\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msm_hdmi_pll_8996_init         ; -- Begin function msm_hdmi_pll_8996_init
	.p2align	2
_msm_hdmi_pll_8996_init:                ; @msm_hdmi_pll_8996_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #24]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_msm_ioremap
	str	x0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_7
LBB0_2:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_DRM_DEV_ERROR
LBB0_3:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldur	x8, [x29, #-56]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.6:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_7:
Lloh17:
	adrp	x24, _HDMI_NUM_TX_CHANNEL@GOTPAGE
Lloh18:
	ldr	x24, [x24, _HDMI_NUM_TX_CHANNEL@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.8:
	mov	x21, #0
Lloh19:
	adrp	x22, l_.str.3@PAGE
Lloh20:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh21:
	adrp	x23, l_.str.4@PAGE
Lloh22:
	add	x23, x23, l_.str.4@PAGEOFF
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #40
	mov	w1, #32
	mov	x2, x22
	mov	x3, x21
	bl	_snprintf
	add	x0, sp, #8
	mov	w1, #32
	mov	x2, x23
	mov	x3, x21
	bl	_snprintf
	add	x1, sp, #40
	add	x2, sp, #8
	mov	x0, x19
	bl	_msm_ioremap
	ldr	x8, [x20, #8]
	lsl	x9, x21, #3
	str	x0, [x8, x9]
	ldr	x8, [x20, #8]
	ldr	x0, [x8, x9]
	bl	_IS_ERR
	cbnz	x0, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x24]
	cmp	x21, x8
	b.lt	LBB0_9
LBB0_11:
Lloh23:
	adrp	x8, _pll_init@GOTPAGE
Lloh24:
	ldr	x8, [x8, _pll_init@GOTPAGEOFF]
	str	x8, [x20]
	mov	x0, x19
	mov	x1, x20
	bl	_devm_clk_register
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.12:
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_DRM_DEV_ERROR
Lloh27:
	adrp	x8, _EINVAL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hdmi_pll"

l_.str.1:                               ; @.str.1
	.asciz	"HDMI_PLL"

l_.str.2:                               ; @.str.2
	.asciz	"failed to map pll base\n"

	.comm	_HDMI_NUM_TX_CHANNEL,4,2        ; @HDMI_NUM_TX_CHANNEL
l_.str.3:                               ; @.str.3
	.asciz	"hdmi_tx_l%d"

l_.str.4:                               ; @.str.4
	.asciz	"HDMI_TX_L%d"

	.comm	_pll_init,4,2                   ; @pll_init
l_.str.5:                               ; @.str.5
	.asciz	"failed to register pll clock\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
