	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vc4_plane_atomic_async_update
_vc4_plane_atomic_async_update:         ## @vc4_plane_atomic_async_update
	.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	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movl	72(%rax), %edi
	movl	72(%rsi), %esi
	callq	_swap
	movq	(%r15), %rax
	movups	56(%rbx), %xmm0
	movups	%xmm0, 56(%rax)
	movups	40(%rbx), %xmm0
	movups	%xmm0, 40(%rax)
	movl	40(%rbx), %ecx
	movl	%ecx, 40(%rax)
	movl	36(%rbx), %ecx
	movl	%ecx, 36(%rax)
	movl	32(%rbx), %ecx
	movl	%ecx, 32(%rax)
	movups	16(%rbx), %xmm0
	movups	%xmm0, 16(%rax)
	movups	(%rbx), %xmm0
	movups	%xmm0, (%rax)
	movq	%rbx, %rdi
	callq	_to_vc4_plane_state
	movq	%rax, %r14
	movq	(%r15), %rdi
	callq	_to_vc4_plane_state
	movq	%rax, %rbx
	movl	92(%r14), %eax
	movl	%eax, 92(%rbx)
	movl	88(%r14), %eax
	movl	%eax, 88(%rbx)
	movups	72(%r14), %xmm0
	movups	%xmm0, 72(%rbx)
	movl	68(%rbx), %edi
	movl	68(%r14), %esi
	movl	$4, %edx
	callq	_memcpy
	movl	64(%rbx), %edi
	movl	64(%r14), %esi
	movl	$4, %edx
	callq	_memcpy
	movl	60(%rbx), %edi
	movl	60(%r14), %esi
	movl	$4, %edx
	callq	_memcpy
	movl	56(%rbx), %edi
	movl	56(%r14), %esi
	movl	$4, %edx
	callq	_memcpy
	movl	52(%r14), %eax
	movl	%eax, 52(%rbx)
	movl	48(%r14), %eax
	movl	%eax, 48(%rbx)
	movl	44(%rbx), %edi
	movl	44(%r14), %esi
	movl	$4, %edx
	callq	_memcpy
	movl	40(%r14), %eax
	movl	%eax, 40(%rbx)
	movq	32(%r14), %rax
	movq	(%rbx), %rcx
	movq	32(%rbx), %rdx
	leaq	(,%rcx,4), %rsi
	movl	(%rax,%rcx,4), %edi
	movl	%edi, (%rdx,%rcx,4)
	movq	8(%rbx), %r8
	movl	(%rax,%r8,4), %edi
	movl	%edi, (%rdx,%r8,4)
	movq	16(%rbx), %rdi
	movl	(%rax,%rdi,4), %eax
	movl	%eax, (%rdx,%rdi,4)
	movl	(%rdx,%rcx,4), %edi
	addq	24(%rbx), %rsi
	callq	_writel
	movq	8(%rbx), %rsi
	movq	32(%rbx), %rax
	movl	(%rax,%rsi,4), %edi
	shlq	$2, %rsi
	addq	24(%rbx), %rsi
	callq	_writel
	movq	16(%rbx), %rsi
	movq	32(%rbx), %rax
	movl	(%rax,%rsi,4), %edi
	shlq	$2, %rsi
	addq	24(%rbx), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vc4_plane_atomic_async_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vc4_plane_atomic_async_update
_vc4_plane_atomic_async_update:         ; @vc4_plane_atomic_async_update
	.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	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	w0, [x8, #72]
	ldr	w1, [x1, #72]
	bl	_swap
	ldr	x8, [x20]
	ldur	q0, [x19, #56]
	stur	q0, [x8, #56]
	ldur	q0, [x19, #40]
	stur	q0, [x8, #40]
	ldr	w9, [x19, #40]
	str	w9, [x8, #40]
	ldr	d0, [x19, #32]
	str	d0, [x8, #32]
	ldr	q0, [x19, #16]
	str	q0, [x8, #16]
	ldr	q0, [x19]
	str	q0, [x8]
	mov	x0, x19
	bl	_to_vc4_plane_state
	mov	x21, x0
	ldr	x0, [x20]
	bl	_to_vc4_plane_state
	mov	x19, x0
	ldr	d0, [x21, #88]
	str	d0, [x0, #88]
	ldur	q0, [x21, #72]
	stur	q0, [x0, #72]
	ldr	w0, [x0, #68]
	ldr	w1, [x21, #68]
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [x19, #64]
	ldr	w1, [x21, #64]
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [x19, #60]
	ldr	w1, [x21, #60]
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [x19, #56]
	ldr	w1, [x21, #56]
	mov	w2, #4
	bl	_memcpy
	ldr	d0, [x21, #48]
	str	d0, [x19, #48]
	ldr	w0, [x19, #44]
	ldr	w1, [x21, #44]
	mov	w2, #4
	bl	_memcpy
	ldr	w8, [x21, #40]
	str	w8, [x19, #40]
	ldr	x8, [x21, #32]
	ldp	x9, x10, [x19]
	lsl	x9, x9, #2
	ldr	w11, [x8, x9]
	ldr	x12, [x19, #32]
	str	w11, [x12, x9]
	lsl	x10, x10, #2
	ldr	w11, [x8, x10]
	str	w11, [x12, x10]
	ldp	x10, x11, [x19, #16]
	lsl	x10, x10, #2
	ldr	w8, [x8, x10]
	str	w8, [x12, x10]
	ldr	w0, [x12, x9]
	add	x1, x11, x9
	bl	_writel
	ldr	x8, [x19, #8]
	lsl	x8, x8, #2
	ldp	x10, x9, [x19, #24]
	ldr	w0, [x9, x8]
	add	x1, x10, x8
	bl	_writel
	ldp	x10, x8, [x19, #24]
	ldr	x9, [x19, #16]
	lsl	x9, x9, #2
	ldr	w0, [x8, x9]
	add	x1, x10, x9
	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	_writel
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vc4_plane_atomic_async_update
.subsections_via_symbols
