	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce_v11_0_hpd_irq
_dce_v11_0_hpd_irq:                     ## @dce_v11_0_hpd_irq
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdx), %rax
	movl	(%rax), %ebx
	cmpl	4(%rdi), %ebx
	jae	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movq	_interrupt_status_offsets@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	4(%rax,%rbx,8), %edi
	callq	_RREG32
	movq	(%r15), %rcx
	testl	%eax, (%rcx,%rbx,8)
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_dce_v11_0_hpd_int_ack
	movq	%r14, %rdi
	callq	_schedule_work
	incl	%ebx
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_DRM_DEBUG
	jmp	LBB0_4
LBB0_1:
	movl	8(%rdx), %esi
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_DRM_DEBUG
LBB0_4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unhandled interrupt: %d %d\n"

	.comm	_interrupt_status_offsets,8,3   ## @interrupt_status_offsets
L_.str.1:                               ## @.str.1
	.asciz	"IH: HPD%d\n"

	.no_dead_strip	_dce_v11_0_hpd_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce_v11_0_hpd_irq
_dce_v11_0_hpd_irq:                     ; @dce_v11_0_hpd_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x8, [x2]
	ldr	w19, [x8]
	ldr	w8, [x0, #4]
	cmp	w19, w8
	b.hs	LBB0_3
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x21, _interrupt_status_offsets@GOTPAGE
Lloh1:
	ldr	x21, [x21, _interrupt_status_offsets@GOTPAGEOFF]
	ldr	x8, [x21]
	lsl	x22, x19, #3
	add	x8, x8, x22
	ldr	w0, [x8, #4]
	bl	_RREG32
	ldr	x8, [x21]
	ldr	w8, [x8, x22]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	bl	_dce_v11_0_hpd_int_ack
	mov	x0, x20
	bl	_schedule_work
	add	w1, w19, #1
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
	ldr	w1, [x2, #8]
	str	x19, [sp]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
LBB0_4:
	bl	_DRM_DEBUG
LBB0_5:
	mov	w0, #0
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unhandled interrupt: %d %d\n"

	.comm	_interrupt_status_offsets,8,3   ; @interrupt_status_offsets
l_.str.1:                               ; @.str.1
	.asciz	"IH: HPD%d\n"

	.no_dead_strip	_dce_v11_0_hpd_irq
.subsections_via_symbols
