	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PpcVideoGetBufferSize          ## -- Begin function PpcVideoGetBufferSize
	.p2align	4, 0x90
_PpcVideoGetBufferSize:                 ## @PpcVideoGetBufferSize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	leaq	-12(%rbp), %rdi
	leaq	-8(%rbp), %rsi
	leaq	-4(%rbp), %rdx
	callq	_MachVideoGetDisplaySize
	movl	-8(%rbp), %ecx
	imull	-12(%rbp), %ecx
	imull	-4(%rbp), %ecx
	leal	7(%rcx), %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$3, %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PpcVideoGetBufferSize          ; -- Begin function PpcVideoGetBufferSize
	.p2align	2
_PpcVideoGetBufferSize:                 ; @PpcVideoGetBufferSize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	x0, x29, #4
	add	x1, sp, #8
	add	x2, sp, #4
	bl	_MachVideoGetDisplaySize
	ldur	w8, [x29, #-4]
	ldr	w9, [sp, #8]
	mul	w8, w9, w8
	ldr	w9, [sp, #4]
	mul	w8, w8, w9
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #3
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
