	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mdp4_irq_postinstall           ## -- Begin function mdp4_irq_postinstall
	.p2align	4, 0x90
_mdp4_irq_postinstall:                  ## @mdp4_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_to_mdp_kms
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_to_mdp4_kms
	movq	_mdp4_irq_error_handler@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	_MDP4_IRQ_PRIMARY_INTF_UDERRUN@GOTPCREL(%rip), %rcx
	movq	_MDP4_IRQ_EXTERNAL_INTF_UDERRUN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%edx, (%rax)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_mdp_irq_register
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mdp4_irq_error_handler,4,2     ## @mdp4_irq_error_handler
	.comm	_MDP4_IRQ_PRIMARY_INTF_UDERRUN,4,2 ## @MDP4_IRQ_PRIMARY_INTF_UDERRUN
	.comm	_MDP4_IRQ_EXTERNAL_INTF_UDERRUN,4,2 ## @MDP4_IRQ_EXTERNAL_INTF_UDERRUN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mdp4_irq_postinstall           ; -- Begin function mdp4_irq_postinstall
	.p2align	2
_mdp4_irq_postinstall:                  ; @mdp4_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
	bl	_to_mdp_kms
	mov	x19, x0
	bl	_to_mdp4_kms
	mov	x1, x0
Lloh0:
	adrp	x8, _mdp4_irq_error_handler@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mdp4_irq_error_handler@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MDP4_IRQ_PRIMARY_INTF_UDERRUN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MDP4_IRQ_PRIMARY_INTF_UDERRUN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _MDP4_IRQ_EXTERNAL_INTF_UDERRUN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MDP4_IRQ_EXTERNAL_INTF_UDERRUN@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	stp	w9, w8, [x0]
	mov	x0, x19
	bl	_mdp_irq_register
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mdp4_irq_error_handler,4,2     ; @mdp4_irq_error_handler
	.comm	_MDP4_IRQ_PRIMARY_INTF_UDERRUN,4,2 ; @MDP4_IRQ_PRIMARY_INTF_UDERRUN
	.comm	_MDP4_IRQ_EXTERNAL_INTF_UDERRUN,4,2 ; @MDP4_IRQ_EXTERNAL_INTF_UDERRUN
.subsections_via_symbols
