	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pl111_irq                      ## -- Begin function pl111_irq
	.p2align	4, 0x90
_pl111_irq:                             ## @pl111_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
	movq	%rsi, %r15
	movq	_IRQ_NONE@GOTPCREL(%rip), %r12
	movl	(%r12), %r14d
	movq	_CLCD_PL111_MIS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rsi), %rdi
	callq	_readl
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	movq	_CLCD_IRQ_NEXTBASE_UPDATE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	8(%r15), %rdi
	callq	_drm_crtc_handle_vblank
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_4:
	movq	_CLCD_PL111_ICR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	%ebx, %edi
	callq	_writel
	jmp	LBB0_5
LBB0_1:
	movl	(%r12), %r14d
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_CLCD_PL111_MIS,8,3             ## @CLCD_PL111_MIS
	.comm	_CLCD_IRQ_NEXTBASE_UPDATE,4,2   ## @CLCD_IRQ_NEXTBASE_UPDATE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_CLCD_PL111_ICR,8,3             ## @CLCD_PL111_ICR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pl111_irq                      ; -- Begin function pl111_irq
	.p2align	2
_pl111_irq:                             ; @pl111_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, x1
Lloh0:
	adrp	x22, _IRQ_NONE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _IRQ_NONE@GOTPAGEOFF]
	ldr	w19, [x22]
	ldr	x8, [x1]
Lloh2:
	adrp	x9, _CLCD_PL111_MIS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CLCD_PL111_MIS@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	cbz	w0, LBB0_4
; %bb.1:
	mov	x21, x0
Lloh5:
	adrp	x8, _CLCD_IRQ_NEXTBASE_UPDATE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CLCD_IRQ_NEXTBASE_UPDATE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	add	x0, x20, #8
	bl	_drm_crtc_handle_vblank
Lloh8:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
LBB0_3:
	ldr	x8, [x20]
Lloh11:
	adrp	x9, _CLCD_PL111_ICR@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CLCD_PL111_ICR@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x21
	bl	_writel
	b	LBB0_5
LBB0_4:
	ldr	w19, [x22]
LBB0_5:
	mov	x0, 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
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_CLCD_PL111_MIS,8,3             ; @CLCD_PL111_MIS
	.comm	_CLCD_IRQ_NEXTBASE_UPDATE,4,2   ; @CLCD_IRQ_NEXTBASE_UPDATE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_CLCD_PL111_ICR,8,3             ; @CLCD_PL111_ICR
.subsections_via_symbols
