	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_hpd_rx_irq_data
_read_hpd_rx_irq_data:                  ## @read_hpd_rx_irq_data
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rax
	movq	_DPCD_REV_14@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_3
## %bb.1:
	movq	_DP_SINK_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rdx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.2:
	movq	%rbx, %rdi
	movl	$48, %ecx
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_core_link_read_dpcd            ## TAILCALL
LBB0_3:
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	_DP_SINK_STATUS_ESI@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_DP_SINK_COUNT_ESI@GOTPCREL(%rip), %r13
	subl	(%r13), %r12d
	leal	1(%r12), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	(%r13), %esi
	leal	8(,%r12,8), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_core_link_read_dpcd
	movq	_DC_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.4:
	movq	(%r15), %rcx
	movq	%rcx, 40(%r14)
	movq	_DP_DEVICE_SERVICE_IRQ_VECTOR_ESI0@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movslq	(%r13), %rdx
	subq	%rdx, %rcx
	movq	(%r15,%rcx,8), %rcx
	movq	%rcx, 32(%r14)
	movq	_DP_LANE0_1_STATUS_ESI@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	subq	%rdx, %rcx
	movq	(%r15,%rcx,8), %rcx
	movq	%rcx, 24(%r14)
	movq	_DP_LANE2_3_STATUS_ESI@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	subq	%rdx, %rcx
	movq	(%r15,%rcx,8), %rcx
	movq	%rcx, 16(%r14)
	movq	_DP_LANE_ALIGN_STATUS_UPDATED_ESI@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	subq	%rdx, %rcx
	movq	(%r15,%rcx,8), %rcx
	movq	%rcx, 8(%r14)
	movq	_DP_SINK_STATUS_ESI@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	subq	%rdx, %rcx
	movq	(%r15,%rcx,8), %rcx
	movq	%rcx, (%r14)
LBB0_5:
	movq	-56(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_7
## %bb.6:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DPCD_REV_14,8,3                ## @DPCD_REV_14
	.comm	_DP_SINK_COUNT,4,2              ## @DP_SINK_COUNT
	.comm	_DP_SINK_STATUS_ESI,4,2         ## @DP_SINK_STATUS_ESI
	.comm	_DP_SINK_COUNT_ESI,4,2          ## @DP_SINK_COUNT_ESI
	.comm	_DC_OK,4,2                      ## @DC_OK
	.comm	_DP_DEVICE_SERVICE_IRQ_VECTOR_ESI0,4,2 ## @DP_DEVICE_SERVICE_IRQ_VECTOR_ESI0
	.comm	_DP_LANE0_1_STATUS_ESI,4,2      ## @DP_LANE0_1_STATUS_ESI
	.comm	_DP_LANE2_3_STATUS_ESI,4,2      ## @DP_LANE2_3_STATUS_ESI
	.comm	_DP_LANE_ALIGN_STATUS_UPDATED_ESI,4,2 ## @DP_LANE_ALIGN_STATUS_UPDATED_ESI
	.no_dead_strip	_read_hpd_rx_irq_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_hpd_rx_irq_data
_read_hpd_rx_irq_data:                  ; @read_hpd_rx_irq_data
	.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
	sub	sp, sp, #16
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _DPCD_REV_14@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DPCD_REV_14@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _DP_SINK_COUNT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DP_SINK_COUNT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	x2, [x19]
	ldur	x8, [x29, #-56]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.2:
	mov	w3, #48
	sub	sp, x29, #48
	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
	b	_core_link_read_dpcd
LBB0_3:
	mov	x21, sp
Lloh12:
	adrp	x22, _DP_SINK_STATUS_ESI@GOTPAGE
Lloh13:
	ldr	x22, [x22, _DP_SINK_STATUS_ESI@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh14:
	adrp	x23, _DP_SINK_COUNT_ESI@GOTPAGE
Lloh15:
	ldr	x23, [x23, _DP_SINK_COUNT_ESI@GOTPAGEOFF]
	ldr	w9, [x23]
	sub	w8, w8, w9
	add	w8, w8, #1
	lsl	x9, x8, #3
	add	x10, x9, #15
	and	x12, x10, #0xffffffff0
Lloh16:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh17:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x20, x9, x12
	mov	sp, x20
	ldr	w1, [x23]
	lsl	w3, w8, #3
	mov	x2, x20
	bl	_core_link_read_dpcd
Lloh18:
	adrp	x8, _DC_OK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DC_OK@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x20]
Lloh21:
	adrp	x9, _DP_DEVICE_SERVICE_IRQ_VECTOR_ESI0@GOTPAGE
Lloh22:
	ldr	x9, [x9, _DP_DEVICE_SERVICE_IRQ_VECTOR_ESI0@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	ldr	w10, [x23]
	sub	w9, w9, w10
	ldr	x9, [x20, w9, sxtw #3]
	stp	x9, x8, [x19, #32]
Lloh24:
	adrp	x8, _DP_LANE0_1_STATUS_ESI@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DP_LANE0_1_STATUS_ESI@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	sub	w8, w8, w10
	ldr	x8, [x20, w8, sxtw #3]
Lloh27:
	adrp	x9, _DP_LANE2_3_STATUS_ESI@GOTPAGE
Lloh28:
	ldr	x9, [x9, _DP_LANE2_3_STATUS_ESI@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	sub	w9, w9, w10
	ldr	x9, [x20, w9, sxtw #3]
	stp	x9, x8, [x19, #16]
Lloh30:
	adrp	x8, _DP_LANE_ALIGN_STATUS_UPDATED_ESI@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DP_LANE_ALIGN_STATUS_UPDATED_ESI@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	sub	w8, w8, w10
	ldr	x8, [x20, w8, sxtw #3]
	ldr	w9, [x22]
	sub	w9, w9, w10
	ldr	x9, [x20, w9, sxtw #3]
	stp	x9, x8, [x19]
LBB0_5:
	mov	sp, x21
	ldur	x8, [x29, #-56]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	sub	sp, x29, #48
	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
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_DPCD_REV_14,8,3                ; @DPCD_REV_14
	.comm	_DP_SINK_COUNT,4,2              ; @DP_SINK_COUNT
	.comm	_DP_SINK_STATUS_ESI,4,2         ; @DP_SINK_STATUS_ESI
	.comm	_DP_SINK_COUNT_ESI,4,2          ; @DP_SINK_COUNT_ESI
	.comm	_DC_OK,4,2                      ; @DC_OK
	.comm	_DP_DEVICE_SERVICE_IRQ_VECTOR_ESI0,4,2 ; @DP_DEVICE_SERVICE_IRQ_VECTOR_ESI0
	.comm	_DP_LANE0_1_STATUS_ESI,4,2      ; @DP_LANE0_1_STATUS_ESI
	.comm	_DP_LANE2_3_STATUS_ESI,4,2      ; @DP_LANE2_3_STATUS_ESI
	.comm	_DP_LANE_ALIGN_STATUS_UPDATED_ESI,4,2 ; @DP_LANE_ALIGN_STATUS_UPDATED_ESI
	.no_dead_strip	_read_hpd_rx_irq_data
.subsections_via_symbols
