	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drm_plane_state_to_vbo
_drm_plane_state_to_vbo:                ## @drm_plane_state_to_vbo
	.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	%rdi, %rbx
	movq	8(%rdi), %r15
	xorl	%esi, %esi
	callq	_drm_plane_state_to_eba
	movq	%rax, %r14
	movswl	2(%rbx), %r12d
	movswl	6(%rbx), %r13d
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_drm_fb_cma_get_gem_obj
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_BUG_ON
	movq	16(%r15), %rsi
	movl	%r12d, %eax
	cltd
	idivl	(%rsi)
	movl	%eax, %ecx
	movl	%r13d, %eax
	cltd
	idivl	4(%rsi)
	movq	(%rbx), %rdx
	movq	(%r15), %rdi
	movq	8(%r15), %rbx
	movslq	8(%rbx), %rbx
	cltq
	imulq	%rbx, %rax
	movq	8(%rsi), %rsi
	movslq	8(%rsi), %rsi
	movslq	%ecx, %rcx
	imulq	%rsi, %rcx
	subq	%r14, %rdx
	addq	16(%rdi), %rdx
	addq	%rax, %rdx
	addq	%rcx, %rdx
	movq	%rdx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_drm_plane_state_to_vbo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drm_plane_state_to_vbo
_drm_plane_state_to_vbo:                ; @drm_plane_state_to_vbo
	.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, x0
	ldr	x20, [x0, #8]
	mov	w1, #0
	bl	_drm_plane_state_to_eba
	mov	x21, x0
	ldrsh	w22, [x19, #2]
	ldrsh	w23, [x19, #6]
	mov	x0, x20
	mov	w1, #2
	bl	_drm_fb_cma_get_gem_obj
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_BUG_ON
	ldp	x13, x8, [x20, #8]
	ldp	w9, w10, [x8]
	sdiv	w9, w22, w9
	sdiv	w10, w23, w10
	ldr	x11, [x19]
	ldr	x12, [x20]
	ldr	x12, [x12, #16]
	ldrsw	x13, [x13, #8]
	sxtw	x10, w10
	ldr	x8, [x8, #8]
	ldrsw	x8, [x8, #8]
	sxtw	x9, w9
	sub	x11, x11, x21
	add	x11, x11, x12
	madd	x10, x13, x10, x11
	madd	x0, x8, x9, x10
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_drm_plane_state_to_vbo
.subsections_via_symbols
