	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vc4_crtc_update_dlist
_vc4_crtc_update_dlist:                 ## @vc4_crtc_update_dlist
	.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
	movq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_to_vc4_dev
	movq	%rbx, %rdi
	callq	_to_vc4_crtc
	movq	%rax, %r12
	movq	(%rbx), %rdi
	callq	_to_vc4_crtc_state
	movq	%rax, %r15
	movq	(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_drm_crtc_index
	movq	(%rbx), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movq	%rbx, %rdi
	callq	_drm_crtc_vblank_get
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_WARN_ON
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	cmpl	$0, 16(%r15)
	je	LBB0_3
## %bb.2:
	cmpq	$0, 8(%r15)
	je	LBB0_4
LBB0_3:
	movq	(%rbx), %rax
	movq	(%rax), %rcx
	movq	%rcx, 8(%r12)
	movq	$0, (%rax)
LBB0_4:
	movl	(%r12), %edi
	callq	_SCALER_DISPLISTX
	movl	(%r15), %esi
	movl	%eax, %edi
	callq	_HVS_WRITE
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_5:
	movl	(%r12), %edi
	callq	_SCALER_DISPLISTX
	movl	(%r15), %esi
	movl	%eax, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_HVS_WRITE                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vc4_crtc_update_dlist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vc4_crtc_update_dlist
_vc4_crtc_update_dlist:                 ; @vc4_crtc_update_dlist
	.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	x21, x0
	ldr	x19, [x0, #8]
	mov	x0, x19
	bl	_to_vc4_dev
	mov	x0, x21
	bl	_to_vc4_crtc
	mov	x22, x0
	ldr	x0, [x21]
	bl	_to_vc4_crtc_state
	mov	x20, x0
	ldr	x8, [x21]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x0, x21
	bl	_drm_crtc_index
	ldr	x8, [x21]
	ldr	x8, [x8]
	str	w0, [x8]
	mov	x0, x21
	bl	_drm_crtc_vblank_get
	cmp	x0, #0
	cset	w0, ne
	bl	_WARN_ON
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
LBB0_3:
	ldr	x8, [x21]
	ldr	x9, [x8]
	str	x9, [x22, #8]
	str	xzr, [x8]
LBB0_4:
	ldr	w0, [x22]
	bl	_SCALER_DISPLISTX
	ldr	w1, [x20]
	bl	_HVS_WRITE
	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
	b	_spin_unlock_irqrestore
LBB0_5:
	ldr	w0, [x22]
	bl	_SCALER_DISPLISTX
	ldr	w1, [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	_HVS_WRITE
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vc4_crtc_update_dlist
.subsections_via_symbols
