	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap_crtc_vblank_irq           ## -- Begin function omap_crtc_vblank_irq
	.p2align	4, 0x90
_omap_crtc_vblank_irq:                  ## @omap_crtc_vblank_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_to_omap_crtc
	movq	%rax, %r15
	movq	32(%rax), %rax
	movq	(%rax), %rbx
	movq	(%r14), %rdi
	callq	_spin_lock
	movq	8(%rbx), %rax
	movl	(%rbx), %edi
	movl	24(%r15), %esi
	callq	*(%rax)
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:
	movq	(%r14), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
LBB0_1:
	movq	16(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_drm_crtc_send_vblank_event
	movq	$0, 16(%r15)
LBB0_3:
	movl	(%r15), %ebx
	movl	$0, (%r15)
	movq	(%r14), %rdi
	callq	_spin_unlock
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_drm_crtc_vblank_put
LBB0_5:
	movq	%r15, %rdi
	addq	$8, %rdi
	callq	_wake_up
	movl	4(%r15), %esi
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DBG                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: apply done"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap_crtc_vblank_irq           ; -- Begin function omap_crtc_vblank_irq
	.p2align	2
_omap_crtc_vblank_irq:                  ; @omap_crtc_vblank_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, x0
	bl	_to_omap_crtc
	mov	x19, x0
	ldr	x8, [x0, #32]
	ldr	x21, [x8]
	ldr	x0, [x20]
	bl	_spin_lock
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	w0, [x21]
	ldr	w1, [x19, #24]
	blr	x8
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x0, [x20]
	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
	b	_spin_unlock
LBB0_2:
	ldr	x1, [x19, #16]
	cbz	x1, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_drm_crtc_send_vblank_event
	str	xzr, [x19, #16]
LBB0_4:
	ldr	w21, [x19]
	str	wzr, [x19]
	ldr	x0, [x20]
	bl	_spin_unlock
	cbz	w21, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_drm_crtc_vblank_put
LBB0_6:
	add	x0, x19, #8
	bl	_wake_up
	ldr	w1, [x19, #4]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	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
	b	_DBG
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: apply done"

.subsections_via_symbols
