	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ilk_update_display_irq         ## -- Begin function ilk_update_display_irq
	.p2align	4, 0x90
_ilk_update_display_irq:                ## @ilk_update_display_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %r14
	addq	$4, %rdi
	callq	_lockdep_assert_held
	movl	%r15d, %ebx
	notl	%ebx
	movl	%ebx, %edi
	andl	%r12d, %edi
	callq	_WARN_ON
	movq	%r14, %rdi
	callq	_intel_irqs_enabled
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	(%r14), %eax
	andl	%eax, %ebx
	notl	%r12d
	andl	%r15d, %r12d
	orl	%ebx, %r12d
	cmpl	%eax, %r12d
	jne	LBB0_3
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	%r12d, (%r14)
	movq	_DEIMR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	%r12d, %esi
	callq	_I915_WRITE
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_POSTING_READ                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DEIMR,4,2                      ## @DEIMR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ilk_update_display_irq         ; -- Begin function ilk_update_display_irq
	.p2align	2
_ilk_update_display_irq:                ; @ilk_update_display_irq
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x0, x0, #4
	bl	_lockdep_assert_held
	bic	w0, w20, w21
	bl	_WARN_ON
	mov	x0, x19
	bl	_intel_irqs_enabled
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_2
; %bb.1:
	mvn	w8, w21
	ldr	w9, [x19]
	and	w8, w9, w8
	bic	w10, w21, w20
	orr	w1, w8, w10
	cmp	w1, w9
	b.ne	LBB0_3
LBB0_2:
	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
	ret
LBB0_3:
	str	w1, [x19]
Lloh0:
	adrp	x19, _DEIMR@GOTPAGE
Lloh1:
	ldr	x19, [x19, _DEIMR@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_I915_WRITE
	ldr	w0, [x19]
	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	_POSTING_READ
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DEIMR,4,2                      ; @DEIMR
.subsections_via_symbols
