	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_dp_read_dpcd             ## -- Begin function intel_dp_read_dpcd
	.p2align	4, 0x90
_intel_dp_read_dpcd:                    ## @intel_dp_read_dpcd
	.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
	addq	$8, %rdi
	movq	(%rbx), %rdx
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	$8, %ecx
	callq	_drm_dp_dpcd_read
	testq	%rax, %rax
	js	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_intel_dp_extended_receiver_capabilities
	movq	(%rbx), %rdx
	leaq	L_.str(%rip), %rdi
	movl	$8, %esi
	callq	_DRM_DEBUG_KMS
	movq	(%rbx), %rax
	movq	_DP_DPCD_REV@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%r14d, %r14d
	cmpq	$0, (%rax,%rcx,8)
	setne	%r14b
LBB0_2:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DPCD: %*ph\n"

	.comm	_DP_DPCD_REV,8,3                ## @DP_DPCD_REV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_dp_read_dpcd             ; -- Begin function intel_dp_read_dpcd
	.p2align	2
_intel_dp_read_dpcd:                    ; @intel_dp_read_dpcd
	.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	x19, x0
	ldr	x2, [x0], #8
	mov	w1, #0
	mov	w3, #8
	bl	_drm_dp_dpcd_read
	tbnz	x0, #63, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_intel_dp_extended_receiver_capabilities
	ldr	x2, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #8
	bl	_DRM_DEBUG_KMS
Lloh2:
	adrp	x8, _DP_DPCD_REV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DP_DPCD_REV@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh4:
	ldr	x8, [x8]
	ldr	x8, [x9, x8, lsl #3]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DPCD: %*ph\n"

	.comm	_DP_DPCD_REV,8,3                ; @DP_DPCD_REV
.subsections_via_symbols
