	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dsi_dln0_phy_err
_dsi_dln0_phy_err:                      ## @dsi_dln0_phy_err
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_REG_DSI_DLN0_PHY_ERR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_dsi_read
	movq	_DSI_DLN0_PHY_ERR_DLN0_ERR_ESC@GOTPCREL(%rip), %rcx
	movq	_DSI_DLN0_PHY_ERR_DLN0_ERR_SYNC_ESC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_DSI_DLN0_PHY_ERR_DLN0_ERR_CONTROL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_DSI_DLN0_PHY_ERR_DLN0_ERR_CONTENTION_LP0@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_DSI_DLN0_PHY_ERR_DLN0_ERR_CONTENTION_LP1@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	testl	%eax, %edx
	je	LBB0_2
## %bb.1:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_dsi_write
	movq	_DSI_ERR_STATE_DLN0_PHY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_DSI_DLN0_PHY_ERR,4,2       ## @REG_DSI_DLN0_PHY_ERR
	.comm	_DSI_DLN0_PHY_ERR_DLN0_ERR_ESC,4,2 ## @DSI_DLN0_PHY_ERR_DLN0_ERR_ESC
	.comm	_DSI_DLN0_PHY_ERR_DLN0_ERR_SYNC_ESC,4,2 ## @DSI_DLN0_PHY_ERR_DLN0_ERR_SYNC_ESC
	.comm	_DSI_DLN0_PHY_ERR_DLN0_ERR_CONTROL,4,2 ## @DSI_DLN0_PHY_ERR_DLN0_ERR_CONTROL
	.comm	_DSI_DLN0_PHY_ERR_DLN0_ERR_CONTENTION_LP0,4,2 ## @DSI_DLN0_PHY_ERR_DLN0_ERR_CONTENTION_LP0
	.comm	_DSI_DLN0_PHY_ERR_DLN0_ERR_CONTENTION_LP1,4,2 ## @DSI_DLN0_PHY_ERR_DLN0_ERR_CONTENTION_LP1
	.comm	_DSI_ERR_STATE_DLN0_PHY,4,2     ## @DSI_ERR_STATE_DLN0_PHY
	.no_dead_strip	_dsi_dln0_phy_err
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dsi_dln0_phy_err
_dsi_dln0_phy_err:                      ; @dsi_dln0_phy_err
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _REG_DSI_DLN0_PHY_ERR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _REG_DSI_DLN0_PHY_ERR@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_dsi_read
Lloh2:
	adrp	x8, _DSI_DLN0_PHY_ERR_DLN0_ERR_ESC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DSI_DLN0_PHY_ERR_DLN0_ERR_ESC@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _DSI_DLN0_PHY_ERR_DLN0_ERR_SYNC_ESC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DSI_DLN0_PHY_ERR_DLN0_ERR_SYNC_ESC@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _DSI_DLN0_PHY_ERR_DLN0_ERR_CONTROL@GOTPAGE
Lloh9:
	ldr	x10, [x10, _DSI_DLN0_PHY_ERR_DLN0_ERR_CONTROL@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh10:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh11:
	adrp	x9, _DSI_DLN0_PHY_ERR_DLN0_ERR_CONTENTION_LP0@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DSI_DLN0_PHY_ERR_DLN0_ERR_CONTENTION_LP0@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh14:
	adrp	x9, _DSI_DLN0_PHY_ERR_DLN0_ERR_CONTENTION_LP1@GOTPAGE
Lloh15:
	ldr	x9, [x9, _DSI_DLN0_PHY_ERR_DLN0_ERR_CONTENTION_LP1@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	mov	x2, x0
	ldr	w1, [x20]
	mov	x0, x19
	bl	_dsi_write
Lloh17:
	adrp	x8, _DSI_ERR_STATE_DLN0_PHY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DSI_ERR_STATE_DLN0_PHY@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_DSI_DLN0_PHY_ERR,4,2       ; @REG_DSI_DLN0_PHY_ERR
	.comm	_DSI_DLN0_PHY_ERR_DLN0_ERR_ESC,4,2 ; @DSI_DLN0_PHY_ERR_DLN0_ERR_ESC
	.comm	_DSI_DLN0_PHY_ERR_DLN0_ERR_SYNC_ESC,4,2 ; @DSI_DLN0_PHY_ERR_DLN0_ERR_SYNC_ESC
	.comm	_DSI_DLN0_PHY_ERR_DLN0_ERR_CONTROL,4,2 ; @DSI_DLN0_PHY_ERR_DLN0_ERR_CONTROL
	.comm	_DSI_DLN0_PHY_ERR_DLN0_ERR_CONTENTION_LP0,4,2 ; @DSI_DLN0_PHY_ERR_DLN0_ERR_CONTENTION_LP0
	.comm	_DSI_DLN0_PHY_ERR_DLN0_ERR_CONTENTION_LP1,4,2 ; @DSI_DLN0_PHY_ERR_DLN0_ERR_CONTENTION_LP1
	.comm	_DSI_ERR_STATE_DLN0_PHY,4,2     ; @DSI_ERR_STATE_DLN0_PHY
	.no_dead_strip	_dsi_dln0_phy_err
.subsections_via_symbols
