	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ibx_irq_postinstall
_ibx_irq_postinstall:                   ## @ibx_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_HAS_PCH_NOP
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	%r14, %rdi
	callq	_HAS_PCH_IBX
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_SDE_GMBUS@GOTPCREL(%rip), %rax
	movq	_SDE_AUX_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_SDE_POISON@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	%r14, %rdi
	callq	_HAS_PCH_CPT
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_HAS_PCH_LPT
	testq	%rax, %rax
	je	LBB0_12
LBB0_6:
	movq	_SDE_GMBUS_CPT@GOTPCREL(%rip), %rax
	movq	_SDE_AUX_MASK_CPT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
LBB0_7:
	orl	(%rax), %ebx
LBB0_8:
	movq	_SDEIIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_gen3_assert_iir_is_zero
	movq	_SDEIMR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%ebx
	movl	%ebx, %esi
	callq	_I915_WRITE
	movq	%r14, %rdi
	callq	_HAS_PCH_IBX
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:
	movq	%r14, %rdi
	callq	_HAS_PCH_CPT
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	callq	_HAS_PCH_LPT
	testq	%rax, %rax
	je	LBB0_13
LBB0_11:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ibx_hpd_detection_setup        ## TAILCALL
LBB0_12:
	movq	_SDE_GMBUS_CPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_8
LBB0_13:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spt_hpd_detection_setup        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SDE_GMBUS,4,2                  ## @SDE_GMBUS
	.comm	_SDE_AUX_MASK,4,2               ## @SDE_AUX_MASK
	.comm	_SDE_POISON,4,2                 ## @SDE_POISON
	.comm	_SDE_GMBUS_CPT,4,2              ## @SDE_GMBUS_CPT
	.comm	_SDE_AUX_MASK_CPT,4,2           ## @SDE_AUX_MASK_CPT
	.comm	_SDEIIR,4,2                     ## @SDEIIR
	.comm	_SDEIMR,4,2                     ## @SDEIMR
	.no_dead_strip	_ibx_irq_postinstall
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ibx_irq_postinstall
_ibx_irq_postinstall:                   ; @ibx_irq_postinstall
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_HAS_PCH_NOP
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x19
	bl	_HAS_PCH_IBX
	cbz	x0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _SDE_GMBUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDE_GMBUS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SDE_AUX_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SDE_AUX_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _SDE_POISON@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SDE_POISON@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w20, w8, w9
	b	LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_HAS_PCH_CPT
	cbnz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_HAS_PCH_LPT
	cbz	x0, LBB0_11
LBB0_6:
Lloh9:
	adrp	x8, _SDE_GMBUS_CPT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SDE_GMBUS_CPT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _SDE_AUX_MASK_CPT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SDE_AUX_MASK_CPT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w20, w9, w8
LBB0_7:
Lloh15:
	adrp	x8, _SDEIIR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SDEIIR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_gen3_assert_iir_is_zero
Lloh18:
	adrp	x8, _SDEIMR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SDEIMR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mvn	w1, w20
	bl	_I915_WRITE
	mov	x0, x19
	bl	_HAS_PCH_IBX
	cbnz	x0, LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_HAS_PCH_CPT
	cbnz	x0, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_HAS_PCH_LPT
	cbz	x0, LBB0_12
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ibx_hpd_detection_setup
LBB0_11:
Lloh21:
	adrp	x8, _SDE_GMBUS_CPT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SDE_GMBUS_CPT@GOTPAGEOFF]
Lloh23:
	ldr	w20, [x8]
	b	LBB0_7
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spt_hpd_detection_setup
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_SDE_GMBUS,4,2                  ; @SDE_GMBUS
	.comm	_SDE_AUX_MASK,4,2               ; @SDE_AUX_MASK
	.comm	_SDE_POISON,4,2                 ; @SDE_POISON
	.comm	_SDE_GMBUS_CPT,4,2              ; @SDE_GMBUS_CPT
	.comm	_SDE_AUX_MASK_CPT,4,2           ; @SDE_AUX_MASK_CPT
	.comm	_SDEIIR,4,2                     ; @SDEIIR
	.comm	_SDEIMR,4,2                     ; @SDEIMR
	.no_dead_strip	_ibx_irq_postinstall
.subsections_via_symbols
