	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i965_irq_postinstall
_i965_irq_postinstall:                  ## @i965_irq_postinstall
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_I915_ASLE_INTERRUPT@GOTPCREL(%rip), %rax
	movq	_I915_DISPLAY_PORT_INTERRUPT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_I915_DISPLAY_PIPE_A_EVENT_INTERRUPT@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_I915_DISPLAY_PIPE_B_EVENT_INTERRUPT@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_I915_DISPLAY_PLANE_A_FLIP_PENDING_INTERRUPT@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%rdi, %r14
	movq	_I915_DISPLAY_PLANE_B_FLIP_PENDING_INTERRUPT@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	(%rdi), %r15
	movq	_I915_RENDER_COMMAND_PARSER_ERROR_INTERRUPT@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%ebx, %eax
	notl	%eax
	movl	%eax, (%r15)
	movq	_I915_USER_INTERRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	callq	_IS_G4X
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_I915_BSD_USER_INTERRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	8(%r15), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movq	_PIPE_GMBUS_EVENT_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_i915_enable_pipestat
	movq	%r14, %rdi
	callq	_IS_G4X
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_GM45_ERROR_PAGE_TABLE@GOTPCREL(%rip), %rax
	movq	_GM45_ERROR_MEM_PRIV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_GM45_ERROR_CP_PRIV@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_I915_ERROR_MEMORY_REFRESH@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_I915_ERROR_MEMORY_REFRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_I915_ERROR_PAGE_TABLE@GOTPCREL(%rip), %rax
LBB0_3:
	orl	(%rax), %esi
	orl	%ebx, %r12d
	xorl	%eax, %eax
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	cmovel	%eax, %r13d
	orl	%r12d, %r13d
	notl	%esi
	movq	_EMR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_WRITE
	movq	_IMR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	callq	_I915_WRITE
	movq	_IER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	%r13d, %esi
	callq	_I915_WRITE
	movl	(%rbx), %edi
	callq	_POSTING_READ
	movq	_PORT_HOTPLUG_EN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_I915_WRITE
	movl	(%rbx), %edi
	callq	_POSTING_READ
	movq	%r14, %rdi
	callq	_intel_opregion_enable_asle
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I915_ASLE_INTERRUPT,4,2        ## @I915_ASLE_INTERRUPT
	.comm	_I915_DISPLAY_PORT_INTERRUPT,4,2 ## @I915_DISPLAY_PORT_INTERRUPT
	.comm	_I915_DISPLAY_PIPE_A_EVENT_INTERRUPT,4,2 ## @I915_DISPLAY_PIPE_A_EVENT_INTERRUPT
	.comm	_I915_DISPLAY_PIPE_B_EVENT_INTERRUPT,4,2 ## @I915_DISPLAY_PIPE_B_EVENT_INTERRUPT
	.comm	_I915_DISPLAY_PLANE_A_FLIP_PENDING_INTERRUPT,4,2 ## @I915_DISPLAY_PLANE_A_FLIP_PENDING_INTERRUPT
	.comm	_I915_DISPLAY_PLANE_B_FLIP_PENDING_INTERRUPT,4,2 ## @I915_DISPLAY_PLANE_B_FLIP_PENDING_INTERRUPT
	.comm	_I915_RENDER_COMMAND_PARSER_ERROR_INTERRUPT,4,2 ## @I915_RENDER_COMMAND_PARSER_ERROR_INTERRUPT
	.comm	_I915_USER_INTERRUPT,4,2        ## @I915_USER_INTERRUPT
	.comm	_I915_BSD_USER_INTERRUPT,4,2    ## @I915_BSD_USER_INTERRUPT
	.comm	_PIPE_GMBUS_EVENT_ENABLE,4,2    ## @PIPE_GMBUS_EVENT_ENABLE
	.comm	_GM45_ERROR_PAGE_TABLE,4,2      ## @GM45_ERROR_PAGE_TABLE
	.comm	_GM45_ERROR_MEM_PRIV,4,2        ## @GM45_ERROR_MEM_PRIV
	.comm	_GM45_ERROR_CP_PRIV,4,2         ## @GM45_ERROR_CP_PRIV
	.comm	_I915_ERROR_MEMORY_REFRESH,4,2  ## @I915_ERROR_MEMORY_REFRESH
	.comm	_I915_ERROR_PAGE_TABLE,4,2      ## @I915_ERROR_PAGE_TABLE
	.comm	_EMR,4,2                        ## @EMR
	.comm	_IMR,4,2                        ## @IMR
	.comm	_IER,4,2                        ## @IER
	.comm	_PORT_HOTPLUG_EN,4,2            ## @PORT_HOTPLUG_EN
	.no_dead_strip	_i965_irq_postinstall
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i965_irq_postinstall
_i965_irq_postinstall:                  ; @i965_irq_postinstall
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _I915_ASLE_INTERRUPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I915_ASLE_INTERRUPT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _I915_DISPLAY_PORT_INTERRUPT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I915_DISPLAY_PORT_INTERRUPT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _I915_DISPLAY_PIPE_A_EVENT_INTERRUPT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _I915_DISPLAY_PIPE_A_EVENT_INTERRUPT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _I915_DISPLAY_PIPE_B_EVENT_INTERRUPT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _I915_DISPLAY_PIPE_B_EVENT_INTERRUPT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _I915_DISPLAY_PLANE_A_FLIP_PENDING_INTERRUPT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _I915_DISPLAY_PLANE_A_FLIP_PENDING_INTERRUPT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _I915_DISPLAY_PLANE_B_FLIP_PENDING_INTERRUPT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _I915_DISPLAY_PLANE_B_FLIP_PENDING_INTERRUPT@GOTPAGEOFF]
	ldr	x20, [x0]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _I915_RENDER_COMMAND_PARSER_ERROR_INTERRUPT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _I915_RENDER_COMMAND_PARSER_ERROR_INTERRUPT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w22, w8, w9
	mvn	w8, w22
	str	w8, [x20]
Lloh21:
	adrp	x8, _I915_USER_INTERRUPT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _I915_USER_INTERRUPT@GOTPAGEOFF]
Lloh23:
	ldr	w23, [x8]
	bl	_IS_G4X
	mov	x21, x0
Lloh24:
	adrp	x8, _I915_BSD_USER_INTERRUPT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _I915_BSD_USER_INTERRUPT@GOTPAGEOFF]
Lloh26:
	ldr	w24, [x8]
	ldr	x8, [x20, #8]
	stp	xzr, xzr, [x8]
Lloh27:
	adrp	x8, _PIPE_GMBUS_EVENT_ENABLE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PIPE_GMBUS_EVENT_ENABLE@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_i915_enable_pipestat
	mov	x0, x19
	bl	_IS_G4X
	cbz	x0, LBB0_2
; %bb.1:
Lloh30:
	adrp	x8, _GM45_ERROR_PAGE_TABLE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _GM45_ERROR_PAGE_TABLE@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _GM45_ERROR_MEM_PRIV@GOTPAGE
Lloh34:
	ldr	x9, [x9, _GM45_ERROR_MEM_PRIV@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh36:
	adrp	x9, _GM45_ERROR_CP_PRIV@GOTPAGE
Lloh37:
	ldr	x9, [x9, _GM45_ERROR_CP_PRIV@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh39:
	adrp	x9, _I915_ERROR_MEMORY_REFRESH@GOTPAGE
Lloh40:
	ldr	x9, [x9, _I915_ERROR_MEMORY_REFRESH@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh41:
	adrp	x8, _I915_ERROR_MEMORY_REFRESH@GOTPAGE
Lloh42:
	ldr	x8, [x8, _I915_ERROR_MEMORY_REFRESH@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
Lloh44:
	adrp	x9, _I915_ERROR_PAGE_TABLE@GOTPAGE
Lloh45:
	ldr	x9, [x9, _I915_ERROR_PAGE_TABLE@GOTPAGEOFF]
LBB0_3:
	ldr	w9, [x9]
	orr	w8, w8, w9
	orr	w9, w23, w22
	cmp	x21, #0
	csel	w10, wzr, w24, eq
	orr	w21, w9, w10
	mvn	w1, w8
Lloh46:
	adrp	x8, _EMR@GOTPAGE
Lloh47:
	ldr	x8, [x8, _EMR@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	bl	_I915_WRITE
Lloh49:
	adrp	x8, _IMR@GOTPAGE
Lloh50:
	ldr	x8, [x8, _IMR@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_I915_WRITE
Lloh52:
	adrp	x20, _IER@GOTPAGE
Lloh53:
	ldr	x20, [x20, _IER@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, x21
	bl	_I915_WRITE
	ldr	w0, [x20]
	bl	_POSTING_READ
Lloh54:
	adrp	x20, _PORT_HOTPLUG_EN@GOTPAGE
Lloh55:
	ldr	x20, [x20, _PORT_HOTPLUG_EN@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	w1, #0
	bl	_I915_WRITE
	ldr	w0, [x20]
	bl	_POSTING_READ
	mov	x0, x19
	bl	_intel_opregion_enable_asle
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_I915_ASLE_INTERRUPT,4,2        ; @I915_ASLE_INTERRUPT
	.comm	_I915_DISPLAY_PORT_INTERRUPT,4,2 ; @I915_DISPLAY_PORT_INTERRUPT
	.comm	_I915_DISPLAY_PIPE_A_EVENT_INTERRUPT,4,2 ; @I915_DISPLAY_PIPE_A_EVENT_INTERRUPT
	.comm	_I915_DISPLAY_PIPE_B_EVENT_INTERRUPT,4,2 ; @I915_DISPLAY_PIPE_B_EVENT_INTERRUPT
	.comm	_I915_DISPLAY_PLANE_A_FLIP_PENDING_INTERRUPT,4,2 ; @I915_DISPLAY_PLANE_A_FLIP_PENDING_INTERRUPT
	.comm	_I915_DISPLAY_PLANE_B_FLIP_PENDING_INTERRUPT,4,2 ; @I915_DISPLAY_PLANE_B_FLIP_PENDING_INTERRUPT
	.comm	_I915_RENDER_COMMAND_PARSER_ERROR_INTERRUPT,4,2 ; @I915_RENDER_COMMAND_PARSER_ERROR_INTERRUPT
	.comm	_I915_USER_INTERRUPT,4,2        ; @I915_USER_INTERRUPT
	.comm	_I915_BSD_USER_INTERRUPT,4,2    ; @I915_BSD_USER_INTERRUPT
	.comm	_PIPE_GMBUS_EVENT_ENABLE,4,2    ; @PIPE_GMBUS_EVENT_ENABLE
	.comm	_GM45_ERROR_PAGE_TABLE,4,2      ; @GM45_ERROR_PAGE_TABLE
	.comm	_GM45_ERROR_MEM_PRIV,4,2        ; @GM45_ERROR_MEM_PRIV
	.comm	_GM45_ERROR_CP_PRIV,4,2         ; @GM45_ERROR_CP_PRIV
	.comm	_I915_ERROR_MEMORY_REFRESH,4,2  ; @I915_ERROR_MEMORY_REFRESH
	.comm	_I915_ERROR_PAGE_TABLE,4,2      ; @I915_ERROR_PAGE_TABLE
	.comm	_EMR,4,2                        ; @EMR
	.comm	_IMR,4,2                        ; @IMR
	.comm	_IER,4,2                        ; @IER
	.comm	_PORT_HOTPLUG_EN,4,2            ; @PORT_HOTPLUG_EN
	.no_dead_strip	_i965_irq_postinstall
.subsections_via_symbols
