	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_edp_receiver_ready_T9          ## -- Begin function edp_receiver_ready_T9
	.p2align	4, 0x90
_edp_receiver_ready_T9:                 ## @edp_receiver_ready_T9
	.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	%rdi, %r14
	movb	$0, -41(%rbp)
	movq	_DP_EDP_DPCD_REV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-41(%rbp), %rdx
	movl	$1, %r12d
	movl	$1, %ecx
	callq	_core_link_read_dpcd
	movb	-41(%rbp), %al
	movq	_DP_EDP_12@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jb	LBB0_7
## %bb.1:
	movl	$50, %ebx
	leaq	-42(%rbp), %r15
	movq	_DC_OK@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movb	$1, -42(%rbp)
	movq	_DP_SINK_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	movl	$1, %ecx
	callq	_core_link_read_dpcd
	movl	%eax, %r12d
	cmpb	$0, -42(%rbp)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	(%r13), %r12d
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$100, %edi
	callq	_udelay
	decl	%ebx
	jne	LBB0_2
LBB0_5:
	movq	(%r14), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.6:
	imull	$1000, %eax, %edi               ## imm = 0x3E8
	callq	_udelay
LBB0_7:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DC_OK,4,2                      ## @DC_OK
	.comm	_DP_EDP_DPCD_REV,4,2            ## @DP_EDP_DPCD_REV
	.comm	_DP_EDP_12,1,0                  ## @DP_EDP_12
	.comm	_DP_SINK_STATUS,4,2             ## @DP_SINK_STATUS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_edp_receiver_ready_T9          ; -- Begin function edp_receiver_ready_T9
	.p2align	2
_edp_receiver_ready_T9:                 ; @edp_receiver_ready_T9
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
	strb	wzr, [sp, #14]
Lloh0:
	adrp	x8, _DP_EDP_DPCD_REV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DP_EDP_DPCD_REV@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w21, #1
	add	x2, sp, #14
	mov	w3, #1
	bl	_core_link_read_dpcd
	ldrb	w8, [sp, #14]
Lloh3:
	adrp	x9, _DP_EDP_12@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DP_EDP_12@GOTPAGEOFF]
	ldrb	w9, [x9]
	mov	w20, #1
	cmp	w8, w9
	b.lo	LBB0_6
; %bb.1:
	mov	w22, #50
Lloh5:
	adrp	x23, _DP_SINK_STATUS@GOTPAGE
Lloh6:
	ldr	x23, [x23, _DP_SINK_STATUS@GOTPAGEOFF]
Lloh7:
	adrp	x24, _DC_OK@GOTPAGE
Lloh8:
	ldr	x24, [x24, _DC_OK@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	strb	w21, [sp, #15]
	ldr	w1, [x23]
	add	x2, sp, #15
	mov	x0, x19
	mov	w3, #1
	bl	_core_link_read_dpcd
	mov	x20, x0
	ldrb	w8, [sp, #15]
	ldr	w9, [x24]
	cmp	w8, #0
	ccmp	w0, w9, #0, ne
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #100
	bl	_udelay
	subs	w22, w22, #1
	b.ne	LBB0_2
LBB0_4:
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.5:
	mov	w9, #1000
	mul	w0, w8, w9
	bl	_udelay
LBB0_6:
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_DC_OK,4,2                      ; @DC_OK
	.comm	_DP_EDP_DPCD_REV,4,2            ; @DP_EDP_DPCD_REV
	.comm	_DP_EDP_12,1,0                  ; @DP_EDP_12
	.comm	_DP_SINK_STATUS,4,2             ; @DP_SINK_STATUS
.subsections_via_symbols
