	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vc4_dsi_ulps
_vc4_dsi_ulps:                          ## @vc4_dsi_ulps
	.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
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	movq	_MIPI_DSI_CLOCK_NON_CONTINUOUS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	xorl	%ebx, %ebx
	movl	$0, %r15d
	andl	(%rdi), %r13d
	je	LBB0_2
## %bb.1:
	movq	_PHYC_CLANE_ULPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DSI_PORT_BIT
	movl	%eax, %r15d
LBB0_2:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	4(%r14), %ecx
	cmpl	$4, %ecx
	movq	_DSI_PHYC_DLANE3_ULPS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	cmovll	%ebx, %r12d
	movq	_DSI1_STAT_PHY_D3_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmovll	%ebx, %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	cmpl	$3, %ecx
	movq	_DSI_PHYC_DLANE2_ULPS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmovll	%ebx, %eax
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movq	_DSI1_STAT_PHY_D2_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmovll	%ebx, %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	%ecx, -100(%rbp)                ## 4-byte Spill
	cmpl	$2, %ecx
	movq	_DSI_PHYC_DLANE1_ULPS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmovll	%ebx, %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	_DSI1_STAT_PHY_D1_STOP@GOTPCREL(%rip), %rax
	cmovgel	(%rax), %ebx
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	movq	_DSI_PHYC_DLANE0_ULPS@GOTPCREL(%rip), %r9
	movq	_DSI1_STAT_PHY_CLOCK_ULPS@GOTPCREL(%rip), %r11
	movq	_DSI1_STAT_PHY_D0_ULPS@GOTPCREL(%rip), %rsi
	movq	_DSI1_STAT_PHY_D1_ULPS@GOTPCREL(%rip), %rdi
	movq	_DSI1_STAT_PHY_D2_ULPS@GOTPCREL(%rip), %r10
	movq	_DSI1_STAT_PHY_D3_ULPS@GOTPCREL(%rip), %rcx
	movq	_DSI1_STAT_PHY_D0_STOP@GOTPCREL(%rip), %r8
	movl	%r13d, %ebx
	testl	%r13d, %r13d
	je	LBB0_4
## %bb.3:
	movq	_DSI1_STAT_PHY_CLOCK_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_4:
	orl	(%r9), %r15d
	movl	(%r11), %eax
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movl	(%rsi), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	(%rdi), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	(%r10), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	(%rcx), %eax
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	orl	(%r8), %ebx
	movq	_PHY_AFEC0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DSI_PORT_READ
	movl	%eax, %r14d
	movq	_PHY_AFEC0_LATCH_ULPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DSI_PORT_BIT
	andl	%r14d, %eax
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_5
LBB0_7:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	orl	-88(%rbp), %r15d                ## 4-byte Folded Reload
	movl	%r12d, %eax
	movl	-104(%rbp), %r12d               ## 4-byte Reload
	orl	%eax, %r12d
	orl	%r15d, %r12d
	testl	%r13d, %r13d
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	cmovel	%r13d, %edx
	orl	-76(%rbp), %edx                 ## 4-byte Folded Reload
	xorl	%eax, %eax
	movl	-100(%rbp), %ecx                ## 4-byte Reload
	cmpl	$2, %ecx
	movl	-80(%rbp), %edi                 ## 4-byte Reload
	cmovll	%eax, %edi
	movl	-84(%rbp), %esi                 ## 4-byte Reload
	cmovlel	%eax, %esi
	orl	%edi, %esi
	cmpl	$4, %ecx
	movl	-96(%rbp), %ebx                 ## 4-byte Reload
	cmovll	%eax, %ebx
	orl	%esi, %ebx
	orl	%edx, %ebx
	movq	_STAT@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	%ebx, %esi
	callq	_DSI_PORT_WRITE
	movq	_PHYC@GOTPCREL(%rip), %r13
	movl	(%r13), %r15d
	movl	%r15d, %edi
	callq	_DSI_PORT_READ
	orl	%r12d, %eax
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_DSI_PORT_WRITE
	movl	(%r14), %edi
	callq	_DSI_PORT_READ
	notl	%eax
	xorl	%edi, %edi
	testl	%eax, %ebx
	sete	%dil
	movl	$200, %esi
	callq	_wait_for
	testl	%eax, %eax
	je	LBB0_6
## %bb.8:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rbx
	movl	(%r14), %edi
	callq	_DSI_PORT_READ
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_dev_warn
	movl	(%r13), %ebx
	movl	%ebx, %edi
	callq	_DSI_PORT_READ
	notl	%r12d
	andl	%eax, %r12d
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_DSI_PORT_WRITE
	movq	%r15, %rdi
	xorl	%esi, %esi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vc4_dsi_latch_ulps             ## TAILCALL
LBB0_6:
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	orl	-64(%rbp), %eax                 ## 4-byte Folded Reload
	orl	-68(%rbp), %eax                 ## 4-byte Folded Reload
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	orl	%eax, %r15d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_vc4_dsi_latch_ulps
	movl	(%r14), %edi
	movl	%r15d, %esi
	callq	_DSI_PORT_WRITE
	movl	(%r13), %ebx
	movl	%ebx, %edi
	callq	_DSI_PORT_READ
	notl	%r12d
	andl	%r12d, %eax
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_DSI_PORT_WRITE
	movl	(%r14), %edi
	callq	_DSI_PORT_READ
	notl	%eax
	xorl	%edi, %edi
	testl	%eax, %r15d
	sete	%dil
	movl	$200, %esi
	callq	_wait_for
	testl	%eax, %eax
	je	LBB0_7
## %bb.9:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rbx
	movl	(%r14), %edi
	callq	_DSI_PORT_READ
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_dev_warn
	movl	(%r13), %ebx
	movl	%ebx, %edi
	callq	_DSI_PORT_READ
	andl	%eax, %r12d
	movl	%ebx, %edi
	movl	%r12d, %esi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DSI_PORT_WRITE                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MIPI_DSI_CLOCK_NON_CONTINUOUS,4,2 ## @MIPI_DSI_CLOCK_NON_CONTINUOUS
	.comm	_PHYC_CLANE_ULPS,4,2            ## @PHYC_CLANE_ULPS
	.comm	_DSI_PHYC_DLANE0_ULPS,4,2       ## @DSI_PHYC_DLANE0_ULPS
	.comm	_DSI_PHYC_DLANE1_ULPS,4,2       ## @DSI_PHYC_DLANE1_ULPS
	.comm	_DSI_PHYC_DLANE2_ULPS,4,2       ## @DSI_PHYC_DLANE2_ULPS
	.comm	_DSI_PHYC_DLANE3_ULPS,4,2       ## @DSI_PHYC_DLANE3_ULPS
	.comm	_DSI1_STAT_PHY_CLOCK_ULPS,4,2   ## @DSI1_STAT_PHY_CLOCK_ULPS
	.comm	_DSI1_STAT_PHY_D0_ULPS,4,2      ## @DSI1_STAT_PHY_D0_ULPS
	.comm	_DSI1_STAT_PHY_D1_ULPS,4,2      ## @DSI1_STAT_PHY_D1_ULPS
	.comm	_DSI1_STAT_PHY_D2_ULPS,4,2      ## @DSI1_STAT_PHY_D2_ULPS
	.comm	_DSI1_STAT_PHY_D3_ULPS,4,2      ## @DSI1_STAT_PHY_D3_ULPS
	.comm	_DSI1_STAT_PHY_CLOCK_STOP,4,2   ## @DSI1_STAT_PHY_CLOCK_STOP
	.comm	_DSI1_STAT_PHY_D0_STOP,4,2      ## @DSI1_STAT_PHY_D0_STOP
	.comm	_DSI1_STAT_PHY_D1_STOP,4,2      ## @DSI1_STAT_PHY_D1_STOP
	.comm	_DSI1_STAT_PHY_D2_STOP,4,2      ## @DSI1_STAT_PHY_D2_STOP
	.comm	_DSI1_STAT_PHY_D3_STOP,4,2      ## @DSI1_STAT_PHY_D3_STOP
	.comm	_PHY_AFEC0,4,2                  ## @PHY_AFEC0
	.comm	_PHY_AFEC0_LATCH_ULPS,4,2       ## @PHY_AFEC0_LATCH_ULPS
	.comm	_STAT,4,2                       ## @STAT
	.comm	_PHYC,4,2                       ## @PHYC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Timeout waiting for DSI ULPS entry: STAT 0x%08x"

L_.str.1:                               ## @.str.1
	.asciz	"Timeout waiting for DSI STOP entry: STAT 0x%08x"

	.no_dead_strip	_vc4_dsi_ulps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vc4_dsi_ulps
_vc4_dsi_ulps:                          ; @vc4_dsi_ulps
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	w1, [sp, #44]                   ; 4-byte Folded Spill
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _MIPI_DSI_CLOCK_NON_CONTINUOUS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MIPI_DSI_CLOCK_NON_CONTINUOUS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ands	w24, w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _PHYC_CLANE_ULPS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PHYC_CLANE_ULPS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_DSI_PORT_BIT
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
	b	LBB0_3
LBB0_2:
	str	wzr, [sp, #28]                  ; 4-byte Folded Spill
LBB0_3:
Lloh6:
	adrp	x8, _DSI_PHYC_DLANE0_ULPS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DSI_PHYC_DLANE0_ULPS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #40]                   ; 4-byte Folded Spill
	ldr	w28, [x19, #4]
Lloh9:
	adrp	x8, _DSI_PHYC_DLANE1_ULPS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DSI_PHYC_DLANE1_ULPS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _DSI1_STAT_PHY_CLOCK_STOP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DSI1_STAT_PHY_CLOCK_STOP@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w24, #0
	csel	w9, wzr, w9, eq
	str	w9, [sp, #24]                   ; 4-byte Folded Spill
Lloh15:
	adrp	x9, _DSI_PHYC_DLANE2_ULPS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DSI_PHYC_DLANE2_ULPS@GOTPAGEOFF]
	cmp	w28, #1
	csel	w8, w8, wzr, gt
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
Lloh17:
	ldr	w8, [x9]
Lloh18:
	adrp	x9, _DSI1_STAT_PHY_D1_STOP@GOTPAGE
Lloh19:
	ldr	x9, [x9, _DSI1_STAT_PHY_D1_STOP@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	csel	w9, w9, wzr, gt
	str	w9, [sp, #20]                   ; 4-byte Folded Spill
	cmp	w28, #2
	csel	w8, w8, wzr, gt
	str	w8, [sp, #32]                   ; 4-byte Folded Spill
Lloh21:
	adrp	x8, _DSI_PHYC_DLANE3_ULPS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DSI_PHYC_DLANE3_ULPS@GOTPAGEOFF]
Lloh23:
	adrp	x9, _DSI1_STAT_PHY_D2_STOP@GOTPAGE
Lloh24:
	ldr	x9, [x9, _DSI1_STAT_PHY_D2_STOP@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	ldr	w9, [x9]
	csel	w9, w9, wzr, gt
	str	w9, [sp, #16]                   ; 4-byte Folded Spill
Lloh27:
	adrp	x9, _DSI1_STAT_PHY_CLOCK_ULPS@GOTPAGE
Lloh28:
	ldr	x9, [x9, _DSI1_STAT_PHY_CLOCK_ULPS@GOTPAGEOFF]
	cmp	w28, #3
	csel	w23, w8, wzr, gt
Lloh29:
	ldr	w20, [x9]
Lloh30:
	adrp	x8, _DSI1_STAT_PHY_D0_ULPS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DSI1_STAT_PHY_D0_ULPS@GOTPAGEOFF]
Lloh32:
	adrp	x9, _DSI1_STAT_PHY_D1_ULPS@GOTPAGE
Lloh33:
	ldr	x9, [x9, _DSI1_STAT_PHY_D1_ULPS@GOTPAGEOFF]
Lloh34:
	ldr	w27, [x8]
Lloh35:
	ldr	w21, [x9]
Lloh36:
	adrp	x8, _DSI1_STAT_PHY_D2_ULPS@GOTPAGE
Lloh37:
	ldr	x8, [x8, _DSI1_STAT_PHY_D2_ULPS@GOTPAGEOFF]
Lloh38:
	adrp	x9, _DSI1_STAT_PHY_D3_ULPS@GOTPAGE
Lloh39:
	ldr	x9, [x9, _DSI1_STAT_PHY_D3_ULPS@GOTPAGEOFF]
Lloh40:
	ldr	w25, [x8]
Lloh41:
	ldr	w26, [x9]
Lloh42:
	adrp	x8, _DSI1_STAT_PHY_D0_STOP@GOTPAGE
Lloh43:
	ldr	x8, [x8, _DSI1_STAT_PHY_D0_STOP@GOTPAGEOFF]
Lloh44:
	adrp	x9, _DSI1_STAT_PHY_D3_STOP@GOTPAGE
Lloh45:
	ldr	x9, [x9, _DSI1_STAT_PHY_D3_STOP@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x8]
Lloh47:
	ldr	w8, [x9]
	csel	w8, w8, wzr, gt
	stp	w10, w8, [sp, #8]               ; 8-byte Folded Spill
Lloh48:
	adrp	x8, _PHY_AFEC0@GOTPAGE
Lloh49:
	ldr	x8, [x8, _PHY_AFEC0@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	bl	_DSI_PORT_READ
	mov	x22, x0
Lloh51:
	adrp	x8, _PHY_AFEC0_LATCH_ULPS@GOTPAGE
Lloh52:
	ldr	x8, [x8, _PHY_AFEC0_LATCH_ULPS@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
	bl	_DSI_PORT_BIT
	and	w8, w0, w22
	ldr	w9, [sp, #44]                   ; 4-byte Folded Reload
	cmp	w8, w9
	b.ne	LBB0_5
LBB0_4:
	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
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_5:
	str	x19, [sp]                       ; 8-byte Folded Spill
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	ldr	w9, [sp, #40]                   ; 4-byte Folded Reload
	orr	w8, w9, w8
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	orr	w8, w8, w9
	ldr	w9, [sp, #32]                   ; 4-byte Folded Reload
	orr	w8, w8, w9
	orr	w23, w8, w23
	cmp	w24, #0
	csel	w8, wzr, w20, eq
	orr	w8, w8, w27
	cmp	w28, #1
	csel	w9, w21, wzr, gt
	orr	w8, w8, w9
	cmp	w28, #2
	csel	w9, w25, wzr, gt
	orr	w8, w8, w9
	cmp	w28, #3
	csel	w9, w26, wzr, gt
	orr	w21, w8, w9
Lloh54:
	adrp	x28, _STAT@GOTPAGE
Lloh55:
	ldr	x28, [x28, _STAT@GOTPAGEOFF]
	ldr	w0, [x28]
	mov	x1, x21
	bl	_DSI_PORT_WRITE
Lloh56:
	adrp	x24, _PHYC@GOTPAGE
Lloh57:
	ldr	x24, [x24, _PHYC@GOTPAGEOFF]
	ldr	w22, [x24]
	mov	x0, x22
	bl	_DSI_PORT_READ
	orr	w1, w0, w23
	mov	x0, x22
	bl	_DSI_PORT_WRITE
	ldr	w0, [x28]
	bl	_DSI_PORT_READ
	bics	wzr, w21, w0
	cset	w0, eq
	mov	w1, #200
	bl	_wait_for
	cbz	w0, LBB0_7
; %bb.6:
	ldr	x19, [sp]                       ; 8-byte Folded Reload
	ldr	x20, [x19, #8]
	ldr	w0, [x28]
	bl	_DSI_PORT_READ
	mov	x2, x0
Lloh58:
	adrp	x1, l_.str@PAGE
Lloh59:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_warn
	ldr	w20, [x24]
	mov	x0, x20
	bl	_DSI_PORT_READ
	bic	w1, w0, w23
	mov	x0, x20
	bl	_DSI_PORT_WRITE
	mov	x0, x19
	mov	w1, #0
	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
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_vc4_dsi_latch_ulps
LBB0_7:
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	ldr	w9, [sp, #8]                    ; 4-byte Folded Reload
	orr	w8, w8, w9
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	orr	w8, w8, w9
	ldr	w9, [sp, #16]                   ; 4-byte Folded Reload
	orr	w8, w8, w9
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	orr	w21, w8, w9
	ldr	x19, [sp]                       ; 8-byte Folded Reload
	mov	x0, x19
	ldr	w1, [sp, #44]                   ; 4-byte Folded Reload
	bl	_vc4_dsi_latch_ulps
	ldr	w0, [x28]
	mov	x1, x21
	bl	_DSI_PORT_WRITE
	ldr	w20, [x24]
	mov	x0, x20
	bl	_DSI_PORT_READ
	bic	w1, w0, w23
	mov	x0, x20
	bl	_DSI_PORT_WRITE
	ldr	w0, [x28]
	bl	_DSI_PORT_READ
	bics	wzr, w21, w0
	cset	w0, eq
	mov	w1, #200
	bl	_wait_for
	cbz	w0, LBB0_4
; %bb.8:
	mvn	w20, w23
	ldr	x19, [x19, #8]
	ldr	w0, [x28]
	bl	_DSI_PORT_READ
	mov	x2, x0
Lloh60:
	adrp	x1, l_.str.1@PAGE
Lloh61:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
	ldr	w19, [x24]
	mov	x0, x19
	bl	_DSI_PORT_READ
	and	w1, w0, w20
	mov	x0, x19
	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
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_DSI_PORT_WRITE
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh46
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh40
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh34
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.comm	_MIPI_DSI_CLOCK_NON_CONTINUOUS,4,2 ; @MIPI_DSI_CLOCK_NON_CONTINUOUS
	.comm	_PHYC_CLANE_ULPS,4,2            ; @PHYC_CLANE_ULPS
	.comm	_DSI_PHYC_DLANE0_ULPS,4,2       ; @DSI_PHYC_DLANE0_ULPS
	.comm	_DSI_PHYC_DLANE1_ULPS,4,2       ; @DSI_PHYC_DLANE1_ULPS
	.comm	_DSI_PHYC_DLANE2_ULPS,4,2       ; @DSI_PHYC_DLANE2_ULPS
	.comm	_DSI_PHYC_DLANE3_ULPS,4,2       ; @DSI_PHYC_DLANE3_ULPS
	.comm	_DSI1_STAT_PHY_CLOCK_ULPS,4,2   ; @DSI1_STAT_PHY_CLOCK_ULPS
	.comm	_DSI1_STAT_PHY_D0_ULPS,4,2      ; @DSI1_STAT_PHY_D0_ULPS
	.comm	_DSI1_STAT_PHY_D1_ULPS,4,2      ; @DSI1_STAT_PHY_D1_ULPS
	.comm	_DSI1_STAT_PHY_D2_ULPS,4,2      ; @DSI1_STAT_PHY_D2_ULPS
	.comm	_DSI1_STAT_PHY_D3_ULPS,4,2      ; @DSI1_STAT_PHY_D3_ULPS
	.comm	_DSI1_STAT_PHY_CLOCK_STOP,4,2   ; @DSI1_STAT_PHY_CLOCK_STOP
	.comm	_DSI1_STAT_PHY_D0_STOP,4,2      ; @DSI1_STAT_PHY_D0_STOP
	.comm	_DSI1_STAT_PHY_D1_STOP,4,2      ; @DSI1_STAT_PHY_D1_STOP
	.comm	_DSI1_STAT_PHY_D2_STOP,4,2      ; @DSI1_STAT_PHY_D2_STOP
	.comm	_DSI1_STAT_PHY_D3_STOP,4,2      ; @DSI1_STAT_PHY_D3_STOP
	.comm	_PHY_AFEC0,4,2                  ; @PHY_AFEC0
	.comm	_PHY_AFEC0_LATCH_ULPS,4,2       ; @PHY_AFEC0_LATCH_ULPS
	.comm	_STAT,4,2                       ; @STAT
	.comm	_PHYC,4,2                       ; @PHYC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Timeout waiting for DSI ULPS entry: STAT 0x%08x"

l_.str.1:                               ; @.str.1
	.asciz	"Timeout waiting for DSI STOP entry: STAT 0x%08x"

	.no_dead_strip	_vc4_dsi_ulps
.subsections_via_symbols
