	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce_v11_0_hpd_int_ack
_dce_v11_0_hpd_int_ack:                 ## @dce_v11_0_hpd_int_ack
	.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
	cmpl	%esi, (%rdi)
	jle	LBB0_1
## %bb.2:
	movq	_mmDC_HPD_INT_CONTROL@GOTPCREL(%rip), %r14
	movq	_hpd_offsets@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movslq	%esi, %rbx
	movq	(%rax,%rbx,8), %rdi
	addq	(%r14), %rdi
	callq	_RREG32
	movq	_DC_HPD_INT_CONTROL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DC_HPD_INT_ACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movq	(%r15), %rcx
	movq	(%rcx,%rbx,8), %rdi
	addq	(%r14), %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DRM_DEBUG                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid hdp %d\n"

	.comm	_mmDC_HPD_INT_CONTROL,8,3       ## @mmDC_HPD_INT_CONTROL
	.comm	_hpd_offsets,8,3                ## @hpd_offsets
	.comm	_DC_HPD_INT_CONTROL,4,2         ## @DC_HPD_INT_CONTROL
	.comm	_DC_HPD_INT_ACK,4,2             ## @DC_HPD_INT_ACK
	.no_dead_strip	_dce_v11_0_hpd_int_ack
.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_int_ack
_dce_v11_0_hpd_int_ack:                 ; @dce_v11_0_hpd_int_ack
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	w8, [x0]
	cmp	w8, w1
	b.le	LBB0_2
; %bb.1:
Lloh0:
	adrp	x19, _mmDC_HPD_INT_CONTROL@GOTPAGE
Lloh1:
	ldr	x19, [x19, _mmDC_HPD_INT_CONTROL@GOTPAGEOFF]
Lloh2:
	adrp	x20, _hpd_offsets@GOTPAGE
Lloh3:
	ldr	x20, [x20, _hpd_offsets@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x9, [x20]
	sbfiz	x21, x1, #3, #32
	ldr	x9, [x9, x21]
	add	x0, x9, x8
	bl	_RREG32
Lloh4:
	adrp	x8, _DC_HPD_INT_CONTROL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DC_HPD_INT_CONTROL@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _DC_HPD_INT_ACK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DC_HPD_INT_ACK@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_REG_SET_FIELD
	mov	x1, x0
	ldr	x8, [x19]
	ldr	x9, [x20]
	ldr	x9, [x9, x21]
	add	x0, x9, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_WREG32
LBB0_2:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_DRM_DEBUG
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid hdp %d\n"

	.comm	_mmDC_HPD_INT_CONTROL,8,3       ; @mmDC_HPD_INT_CONTROL
	.comm	_hpd_offsets,8,3                ; @hpd_offsets
	.comm	_DC_HPD_INT_CONTROL,4,2         ; @DC_HPD_INT_CONTROL
	.comm	_DC_HPD_INT_ACK,4,2             ; @DC_HPD_INT_ACK
	.no_dead_strip	_dce_v11_0_hpd_int_ack
.subsections_via_symbols
