	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos_dsi_transfer
_exynos_dsi_transfer:                   ## @exynos_dsi_transfer
	.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	%rsi, %r13
	movq	%rdi, %r14
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rsi)
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	movl	%eax, (%rsi)
	leaq	32(%rsi), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_init_completion
	leaq	4(%r14), %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	leaq	8(%r14), %rbx
	movq	%rbx, %rdi
	callq	_list_empty
	movl	%eax, %r15d
	leaq	36(%r13), %rdi
	movq	%rbx, %rsi
	callq	_list_add_tail
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_exynos_dsi_transfer_start
LBB0_2:
	movq	_DSI_XFER_TIMEOUT_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_wait_for_completion_timeout
	movl	(%r13), %eax
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	addl	%eax, %ecx
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_exynos_dsi_remove_transfer
	movl	(%r14), %edi
	movl	24(%r13), %ecx
	movl	8(%r13), %r9d
	movl	16(%r13), %r8d
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	callq	_dev_err
	xorl	%eax, %eax
	subl	(%rbx), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_DSI_XFER_TIMEOUT_MS,4,2        ## @DSI_XFER_TIMEOUT_MS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xfer timed out: %*ph %*ph\n"

	.no_dead_strip	_exynos_dsi_transfer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos_dsi_transfer
_exynos_dsi_transfer:                   ; @exynos_dsi_transfer
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x20, x0
	stp	xzr, xzr, [x1, #40]
Lloh0:
	adrp	x25, _ETIMEDOUT@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ETIMEDOUT@GOTPAGEOFF]
	ldr	w8, [x25]
	neg	w8, w8
	str	w8, [x1]
	add	x21, x1, #32
	mov	x0, x21
	bl	_init_completion
	add	x22, x20, #4
	mov	x0, x22
	bl	_spin_lock_irqsave
	add	x23, x20, #8
	mov	x0, x23
	bl	_list_empty
	mov	x24, x0
	add	x0, x19, #36
	mov	x1, x23
	bl	_list_add_tail
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	cbz	w24, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_exynos_dsi_transfer_start
LBB0_2:
Lloh2:
	adrp	x8, _DSI_XFER_TIMEOUT_MS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DSI_XFER_TIMEOUT_MS@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	mov	x1, x0
	mov	x0, x21
	bl	_wait_for_completion_timeout
	ldr	w0, [x19]
	ldr	w8, [x25]
	cmn	w0, w8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_exynos_dsi_remove_transfer
	ldr	w0, [x20]
	ldr	w3, [x19, #24]
	ldr	w4, [x19, #16]
	ldr	w5, [x19, #8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_dev_err
	ldr	w8, [x25]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_DSI_XFER_TIMEOUT_MS,4,2        ; @DSI_XFER_TIMEOUT_MS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xfer timed out: %*ph %*ph\n"

	.no_dead_strip	_exynos_dsi_transfer
.subsections_via_symbols
