	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_dp_start_link_train      ## -- Begin function intel_dp_start_link_train
	.p2align	4, 0x90
_intel_dp_start_link_train:             ## @intel_dp_start_link_train
	.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	8(%rdi), %r14
	callq	_intel_dp_link_training_clock_recovery
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_intel_dp_link_training_channel_equalization
	testl	%eax, %eax
	je	LBB0_2
## %bb.4:
	movl	4(%r14), %edx
	movl	8(%r14), %esi
	movl	(%rbx), %r8d
	movl	4(%rbx), %ecx
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DRM_DEBUG_KMS                  ## TAILCALL
LBB0_2:
	movl	4(%r14), %edx
	movl	8(%r14), %esi
	movl	(%rbx), %r8d
	movl	4(%rbx), %ecx
	leaq	L_.str.1(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	%rbx, %rdi
	callq	_intel_dp_get_link_train_fallback_values
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[CONNECTOR:%d:%s] Link Training Passed at Link Rate = %d, Lane count = %d"

L_.str.1:                               ## @.str.1
	.asciz	"[CONNECTOR:%d:%s] Link Training failed at link rate = %d, lane count = %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_dp_start_link_train      ; -- Begin function intel_dp_start_link_train
	.p2align	2
_intel_dp_start_link_train:             ; @intel_dp_start_link_train
	.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	x20, x0
	ldr	x19, [x0, #8]
	bl	_intel_dp_link_training_clock_recovery
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_intel_dp_link_training_channel_equalization
	cbz	w0, LBB0_3
; %bb.2:
	ldp	w2, w1, [x19, #4]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	ldp	w4, w3, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DRM_DEBUG_KMS
LBB0_3:
	ldp	w2, w1, [x19, #4]
	ldp	w4, w3, [x20]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DRM_DEBUG_KMS
	ldp	w2, w1, [x20]
	mov	x0, x20
	bl	_intel_dp_get_link_train_fallback_values
	cbz	w0, LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_schedule_work
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[CONNECTOR:%d:%s] Link Training Passed at Link Rate = %d, Lane count = %d"

l_.str.1:                               ; @.str.1
	.asciz	"[CONNECTOR:%d:%s] Link Training failed at link rate = %d, lane count = %d"

.subsections_via_symbols
