	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdmi_8996_pll_lock_status
_hdmi_8996_pll_lock_status:             ## @hdmi_8996_pll_lock_status
	.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, %r15
	movq	_HDMI_PLL_POLL_MAX_READS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_HDMI_PLL_POLL_TIMEOUT_US@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_DBG
	leaq	L_.str.3(%rip), %rsi
	testl	%r14d, %r14d
	je	LBB0_5
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_REG_HDMI_PHY_QSERDES_COM_C_READY_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_hdmi_pll_read
	movl	%eax, %r13d
	xorl	%edi, %edi
	callq	_BIT
	movl	%eax, %ebx
	andl	%r13d, %ebx
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_udelay
	decl	%r14d
	jne	LBB0_1
## %bb.4:
	xorl	%ebx, %ebx
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_5
LBB0_2:
	leaq	L_.str.2(%rip), %rsi
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_PLL_POLL_MAX_READS,4,2    ## @HDMI_PLL_POLL_MAX_READS
	.comm	_HDMI_PLL_POLL_TIMEOUT_US,8,3   ## @HDMI_PLL_POLL_TIMEOUT_US
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Waiting for PLL lock"

	.comm	_REG_HDMI_PHY_QSERDES_COM_C_READY_STATUS,4,2 ## @REG_HDMI_PHY_QSERDES_COM_C_READY_STATUS
L_.str.1:                               ## @.str.1
	.asciz	"HDMI PLL is %slocked"

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	"*not* "

	.no_dead_strip	_hdmi_8996_pll_lock_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdmi_8996_pll_lock_status
_hdmi_8996_pll_lock_status:             ; @hdmi_8996_pll_lock_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _HDMI_PLL_POLL_MAX_READS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDMI_PLL_POLL_MAX_READS@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x8, _HDMI_PLL_POLL_TIMEOUT_US@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HDMI_PLL_POLL_TIMEOUT_US@GOTPAGEOFF]
Lloh5:
	ldr	x20, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBG
	cbz	w23, LBB0_5
; %bb.1:
Lloh8:
	adrp	x25, _REG_HDMI_PHY_QSERDES_COM_C_READY_STATUS@GOTPAGE
Lloh9:
	ldr	x25, [x25, _REG_HDMI_PHY_QSERDES_COM_C_READY_STATUS@GOTPAGEOFF]
Lloh10:
	adrp	x22, l_.str.2@PAGE
Lloh11:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh12:
	adrp	x24, l_.str.3@PAGE
Lloh13:
	add	x24, x24, l_.str.3@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x25]
	mov	x0, x19
	bl	_hdmi_pll_read
	mov	x21, x0
	mov	w0, #0
	bl	_BIT
	ands	w21, w0, w21
	b.ne	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w23, w23, #1
	mov	x0, x20
	bl	_udelay
	cbnz	w23, LBB0_2
; %bb.4:
	mov	w21, #0
	mov	x22, x24
	b	LBB0_6
LBB0_5:
	mov	w21, #0
Lloh14:
	adrp	x22, l_.str.3@PAGE
Lloh15:
	add	x22, x22, l_.str.3@PAGEOFF
LBB0_6:
	str	x22, [sp]
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DBG
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_PLL_POLL_MAX_READS,4,2    ; @HDMI_PLL_POLL_MAX_READS
	.comm	_HDMI_PLL_POLL_TIMEOUT_US,8,3   ; @HDMI_PLL_POLL_TIMEOUT_US
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Waiting for PLL lock"

	.comm	_REG_HDMI_PHY_QSERDES_COM_C_READY_STATUS,4,2 ; @REG_HDMI_PHY_QSERDES_COM_C_READY_STATUS
l_.str.1:                               ; @.str.1
	.asciz	"HDMI PLL is %slocked"

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	"*not* "

	.no_dead_strip	_hdmi_8996_pll_lock_status
.subsections_via_symbols
