	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vop_isr
_vop_isr:                               ## @vop_isr
	.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	%rsi, %r13
	movq	_IRQ_NONE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r14d
	movl	(%rsi), %edi
	callq	_pm_runtime_get_if_in_use
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r13, %rdi
	callq	_vop_core_clks_enable
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DRM_DEV_ERROR_RATELIMITED
	jmp	LBB0_15
LBB0_1:
	movl	(%rbx), %r14d
	jmp	LBB0_16
LBB0_4:
	leaq	12(%r13), %r12
	movq	%r12, %rdi
	callq	_spin_lock
	movq	_status@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_INTR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_VOP_INTR_GET_TYPE
	testl	%eax, %eax
	je	LBB0_13
## %bb.5:
	movl	%eax, %r15d
	movq	_clear@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r15d, %edx
	movl	$1, %ecx
	callq	_VOP_INTR_SET_TYPE
	movq	%r12, %rdi
	callq	_spin_unlock
	movq	_DSP_HOLD_VALID_INTR@GOTPCREL(%rip), %rbx
	testl	%r15d, (%rbx)
	je	LBB0_7
## %bb.6:
	leaq	8(%r13), %rdi
	callq	_complete
	movl	(%rbx), %eax
	notl	%eax
	andl	%eax, %r15d
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_7:
	movq	_LINE_FLAG_INTR@GOTPCREL(%rip), %rbx
	testl	%r15d, (%rbx)
	je	LBB0_9
## %bb.8:
	leaq	4(%r13), %rdi
	callq	_complete
	movl	(%rbx), %eax
	notl	%eax
	andl	%eax, %r15d
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_9:
	movq	_FS_INTR@GOTPCREL(%rip), %r12
	testl	%r15d, (%r12)
	je	LBB0_11
## %bb.10:
	leaq	16(%r13), %rdi
	callq	_drm_crtc_handle_vblank
	movq	%r13, %rdi
	callq	_vop_handle_vblank
	movl	(%r12), %eax
	notl	%eax
	andl	%eax, %r15d
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_11:
	testl	%r15d, %r15d
	je	LBB0_14
## %bb.12:
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edx
	callq	_DRM_DEV_ERROR
	jmp	LBB0_14
LBB0_13:
	movq	%r12, %rdi
	callq	_spin_unlock
LBB0_14:
	movq	%r13, %rdi
	callq	_vop_core_clks_disable
LBB0_15:
	movl	(%r13), %edi
	callq	_pm_runtime_put
LBB0_16:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"couldn't enable clocks\n"

	.comm	_status,4,2                     ## @status
	.comm	_INTR_MASK,4,2                  ## @INTR_MASK
	.comm	_clear,4,2                      ## @clear
	.comm	_DSP_HOLD_VALID_INTR,4,2        ## @DSP_HOLD_VALID_INTR
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_LINE_FLAG_INTR,4,2             ## @LINE_FLAG_INTR
	.comm	_FS_INTR,4,2                    ## @FS_INTR
L_.str.1:                               ## @.str.1
	.asciz	"Unknown VOP IRQs: %#02x\n"

	.no_dead_strip	_vop_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vop_isr
_vop_isr:                               ; @vop_isr
	.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, x1
	mov	x21, x1
	ldr	w0, [x21], #16
Lloh0:
	adrp	x22, _IRQ_NONE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _IRQ_NONE@GOTPAGEOFF]
	ldr	w20, [x22]
	bl	_pm_runtime_get_if_in_use
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_vop_core_clks_enable
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x19]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DRM_DEV_ERROR_RATELIMITED
	b	LBB0_15
LBB0_3:
	ldr	w20, [x22]
	b	LBB0_16
LBB0_4:
	add	x23, x19, #12
	mov	x0, x23
	bl	_spin_lock
Lloh4:
	adrp	x8, _status@GOTPAGE
Lloh5:
	ldr	x8, [x8, _status@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _INTR_MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _INTR_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_VOP_INTR_GET_TYPE
	cbz	w0, LBB0_13
; %bb.5:
	mov	x22, x0
Lloh10:
	adrp	x8, _clear@GOTPAGE
Lloh11:
	ldr	x8, [x8, _clear@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	mov	w3, #1
	bl	_VOP_INTR_SET_TYPE
	mov	x0, x23
	bl	_spin_unlock
Lloh13:
	adrp	x24, _DSP_HOLD_VALID_INTR@GOTPAGE
Lloh14:
	ldr	x24, [x24, _DSP_HOLD_VALID_INTR@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh15:
	adrp	x23, _IRQ_HANDLED@GOTPAGE
Lloh16:
	ldr	x23, [x23, _IRQ_HANDLED@GOTPAGEOFF]
	tst	w8, w22
	b.eq	LBB0_7
; %bb.6:
	add	x0, x19, #8
	bl	_complete
	ldr	w8, [x24]
	bic	w22, w22, w8
	ldr	w20, [x23]
LBB0_7:
Lloh17:
	adrp	x24, _LINE_FLAG_INTR@GOTPAGE
Lloh18:
	ldr	x24, [x24, _LINE_FLAG_INTR@GOTPAGEOFF]
	ldr	w8, [x24]
	tst	w8, w22
	b.eq	LBB0_9
; %bb.8:
	add	x0, x19, #4
	bl	_complete
	ldr	w8, [x24]
	bic	w22, w22, w8
	ldr	w20, [x23]
LBB0_9:
Lloh19:
	adrp	x24, _FS_INTR@GOTPAGE
Lloh20:
	ldr	x24, [x24, _FS_INTR@GOTPAGEOFF]
	ldr	w8, [x24]
	tst	w8, w22
	b.eq	LBB0_11
; %bb.10:
	mov	x0, x21
	bl	_drm_crtc_handle_vblank
	mov	x0, x19
	bl	_vop_handle_vblank
	ldr	w8, [x24]
	bic	w22, w22, w8
	ldr	w20, [x23]
LBB0_11:
	cbz	w22, LBB0_14
; %bb.12:
	ldr	w0, [x19]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x22
	bl	_DRM_DEV_ERROR
	b	LBB0_14
LBB0_13:
	mov	x0, x23
	bl	_spin_unlock
LBB0_14:
	mov	x0, x19
	bl	_vop_core_clks_disable
LBB0_15:
	ldr	w0, [x19]
	bl	_pm_runtime_put
LBB0_16:
	mov	x0, x20
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"couldn't enable clocks\n"

	.comm	_status,4,2                     ; @status
	.comm	_INTR_MASK,4,2                  ; @INTR_MASK
	.comm	_clear,4,2                      ; @clear
	.comm	_DSP_HOLD_VALID_INTR,4,2        ; @DSP_HOLD_VALID_INTR
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_LINE_FLAG_INTR,4,2             ; @LINE_FLAG_INTR
	.comm	_FS_INTR,4,2                    ; @FS_INTR
l_.str.1:                               ; @.str.1
	.asciz	"Unknown VOP IRQs: %#02x\n"

	.no_dead_strip	_vop_isr
.subsections_via_symbols
