	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_crtc_vblank_reset          ## -- Begin function drm_crtc_vblank_reset
	.p2align	4, 0x90
_drm_crtc_vblank_reset:                 ## @drm_crtc_vblank_reset
	.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	(%rdi), %rbx
	callq	_drm_crtc_index
	movq	8(%rbx), %r15
	movl	%eax, %r12d
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	cmpl	$0, (%r15,%r12,8)
	jne	LBB0_2
## %bb.1:
	leaq	(%r15,%r12,8), %rdi
	addq	$4, %rdi
	callq	_atomic_inc
	movl	$1, (%r15,%r12,8)
LBB0_2:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	callq	_list_empty
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WARN_ON                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_crtc_vblank_reset          ; -- Begin function drm_crtc_vblank_reset
	.p2align	2
_drm_crtc_vblank_reset:                 ; @drm_crtc_vblank_reset
	.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
	ldr	x19, [x0]
	bl	_drm_crtc_index
	mov	x21, x0
	ldr	x23, [x19, #8]
	add	x20, x19, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
	add	x22, x23, w21, uxtw #3
	ldr	w8, [x22]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	w8, w21
	add	x8, x23, x8, lsl #3
	add	x0, x8, #4
	bl	_atomic_inc
	mov	w8, #1
	str	w8, [x22]
LBB0_2:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	bl	_list_empty
	cmp	w0, #0
	cset	w0, eq
	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
	b	_WARN_ON
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
