	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drm_plane_state_to_eba
_drm_plane_state_to_eba:                ## @drm_plane_state_to_eba
	.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
	movl	%esi, %r14d
	movq	8(%rdi), %rbx
	movswq	2(%rdi), %r12
	movswq	6(%rdi), %r13
	movq	%rbx, %rdi
	callq	_drm_fb_cma_get_gem_obj
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_BUG_ON
	movslq	%r14d, %rax
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdx
	movq	(%rcx,%rax,8), %rcx
	addq	(%r15), %rcx
	movslq	(%rdx,%rax,4), %rdx
	imulq	%r13, %rdx
	addq	%rcx, %rdx
	movq	16(%rbx), %rcx
	movq	(%rcx), %rcx
	movslq	(%rcx,%rax,4), %rax
	imulq	%r12, %rax
	addq	%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_eba
.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_eba
_drm_plane_state_to_eba:                ; @drm_plane_state_to_eba
	.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, x1
	ldr	x20, [x0, #8]
	ldrsh	x22, [x0, #2]
	ldrsh	x23, [x0, #6]
	mov	x0, x20
	bl	_drm_fb_cma_get_gem_obj
	mov	x21, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_BUG_ON
	ldp	x8, x9, [x20]
	ldr	x8, [x8, w19, sxtw #3]
	ldr	x10, [x21]
	add	x8, x8, x10
	sbfiz	x10, x19, #2, #32
	ldrsw	x9, [x9, x10]
	madd	x8, x9, x23, x8
	ldr	x9, [x20, #16]
	ldr	x9, [x9]
	ldrsw	x9, [x9, x10]
	madd	x0, x9, x22, x8
	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_eba
.subsections_via_symbols
