	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msm_dsi_manager_cmd_xfer_trigger ## -- Begin function msm_dsi_manager_cmd_xfer_trigger
	.p2align	4, 0x90
_msm_dsi_manager_cmd_xfer_trigger:      ## @msm_dsi_manager_cmd_xfer_trigger
	.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
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%edi, %r15d
	callq	_dsi_mgr_get_dsi
	movq	%rax, %rbx
	movq	_DSI_0@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_dsi_mgr_get_dsi
	movq	%rax, %r13
	movq	(%rbx), %rbx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_IS_SYNC_NEEDED
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpl	%r15d, (%r12)
	je	LBB0_6
LBB0_2:
	movq	%rbx, %r15
	xorl	%eax, %eax
	callq	_IS_SYNC_NEEDED
	testq	%rax, %rax
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_5
## %bb.3:
	testq	%r13, %r13
	je	LBB0_5
## %bb.4:
	movq	(%r13), %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_msm_dsi_host_cmd_xfer_commit
LBB0_5:
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_msm_dsi_host_cmd_xfer_commit
	movl	$1, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DSI_0,4,2                      ## @DSI_0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msm_dsi_manager_cmd_xfer_trigger ; -- Begin function msm_dsi_manager_cmd_xfer_trigger
	.p2align	2
_msm_dsi_manager_cmd_xfer_trigger:      ; @msm_dsi_manager_cmd_xfer_trigger
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x20, x1
	mov	x23, x0
	bl	_dsi_mgr_get_dsi
	mov	x21, x0
Lloh0:
	adrp	x24, _DSI_0@GOTPAGE
Lloh1:
	ldr	x24, [x24, _DSI_0@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_dsi_mgr_get_dsi
	mov	x22, x0
	ldr	x21, [x21]
	bl	_IS_SYNC_NEEDED
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [x24]
	cmp	w8, w23
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_7
LBB0_3:
	bl	_IS_SYNC_NEEDED
	cbz	x0, LBB0_6
; %bb.4:
	cbz	x22, LBB0_6
; %bb.5:
	ldr	x0, [x22]
	mov	x1, x20
	mov	x2, x19
	bl	_msm_dsi_host_cmd_xfer_commit
LBB0_6:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_msm_dsi_host_cmd_xfer_commit
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DSI_0,4,2                      ; @DSI_0
.subsections_via_symbols
