	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msm_dsi_host_xfer_restore      ## -- Begin function msm_dsi_host_xfer_restore
	.p2align	4, 0x90
_msm_dsi_host_xfer_restore:             ## @msm_dsi_host_xfer_restore
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_to_msm_dsi_host
	movq	%rax, %rbx
	movq	16(%rax), %r15
	movq	_DSI_IRQ_MASK_CMD_DMA_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_dsi_intr_ctrl
	movq	_REG_DSI_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	callq	_dsi_write
	movq	_MIPI_DSI_MSG_USE_LPM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_2
## %bb.1:
	movl	$1, %edi
	movq	%rbx, %rsi
	callq	_dsi_set_tx_power_mode
LBB0_2:
	movq	(%r15), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pm_runtime_put_autosuspend     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DSI_IRQ_MASK_CMD_DMA_DONE,4,2  ## @DSI_IRQ_MASK_CMD_DMA_DONE
	.comm	_REG_DSI_CTRL,4,2               ## @REG_DSI_CTRL
	.comm	_MIPI_DSI_MSG_USE_LPM,4,2       ## @MIPI_DSI_MSG_USE_LPM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msm_dsi_host_xfer_restore      ; -- Begin function msm_dsi_host_xfer_restore
	.p2align	2
_msm_dsi_host_xfer_restore:             ; @msm_dsi_host_xfer_restore
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	bl	_to_msm_dsi_host
	mov	x19, x0
	ldr	x21, [x0, #16]
Lloh0:
	adrp	x8, _DSI_IRQ_MASK_CMD_DMA_DONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DSI_IRQ_MASK_CMD_DMA_DONE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_dsi_intr_ctrl
Lloh3:
	adrp	x8, _REG_DSI_CTRL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_DSI_CTRL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x19, #8]
	mov	x0, x19
	bl	_dsi_write
	ldr	w8, [x20]
Lloh6:
	adrp	x9, _MIPI_DSI_MSG_USE_LPM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MIPI_DSI_MSG_USE_LPM@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #1
	mov	x1, x19
	bl	_dsi_set_tx_power_mode
LBB0_2:
	ldr	x8, [x21]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pm_runtime_put_autosuspend
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DSI_IRQ_MASK_CMD_DMA_DONE,4,2  ; @DSI_IRQ_MASK_CMD_DMA_DONE
	.comm	_REG_DSI_CTRL,4,2               ; @REG_DSI_CTRL
	.comm	_MIPI_DSI_MSG_USE_LPM,4,2       ; @MIPI_DSI_MSG_USE_LPM
.subsections_via_symbols
