	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ceu_calc_plane_sizes
_ceu_calc_plane_sizes:                  ## @ceu_calc_plane_sizes
	.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	%rdx, %rbx
	movl	(%rdx), %eax
	leal	-128(%rax), %ecx
	cmpl	$4, %ecx
	jae	LBB0_1
## %bb.7:
	movl	$1, 4(%rbx)
	movl	(%rsi), %eax
	imull	8(%rbx), %eax
	leal	7(%rax), %esi
	testl	%eax, %eax
	cmovnsl	%eax, %esi
	sarl	$3, %esi
	movl	12(%rbx), %edx
	imull	%esi, %edx
	movq	16(%rbx), %rdi
	jmp	LBB0_6
LBB0_1:
	cmpl	$133, %eax
	je	LBB0_3
## %bb.2:
	cmpl	$135, %eax
	jne	LBB0_4
LBB0_3:
	movl	$2, 4(%rbx)
	movl	8(%rbx), %r14d
	movl	12(%rbx), %r15d
	imull	%r14d, %r15d
	movq	16(%rbx), %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_ceu_update_plane_sizes
	movq	16(%rbx), %rdi
	addq	$4, %rdi
	shrl	%r15d
	jmp	LBB0_5
LBB0_4:
	movl	$2, 4(%rbx)
	movl	8(%rbx), %r14d
	movl	12(%rbx), %r15d
	imull	%r14d, %r15d
	movq	16(%rbx), %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_ceu_update_plane_sizes
	movq	16(%rbx), %rdi
	addq	$4, %rdi
LBB0_5:
	movl	%r14d, %esi
	movl	%r15d, %edx
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ceu_update_plane_sizes         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ceu_calc_plane_sizes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ceu_calc_plane_sizes
_ceu_calc_plane_sizes:                  ; @ceu_calc_plane_sizes
	.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, x2
	ldr	w8, [x2]
	sub	w9, w8, #128
	cmp	w9, #4
	b.hs	LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x19, #4]
	ldr	w8, [x1]
	ldp	w9, w10, [x19, #8]
	mul	w8, w8, w9
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w1, w8, #3
	mul	w2, w1, w10
	ldr	x0, [x19, #16]
	b	LBB0_6
LBB0_2:
	cmp	w8, #133
	b.eq	LBB0_4
; %bb.3:
	cmp	w8, #135
	b.ne	LBB0_5
LBB0_4:
	mov	w8, #2
	str	w8, [x19, #4]
	ldp	w20, w8, [x19, #8]
	mul	w21, w8, w20
	ldr	x0, [x19, #16]
	mov	x1, x20
	mov	x2, x21
	bl	_ceu_update_plane_sizes
	ldr	x8, [x19, #16]
	add	x0, x8, #4
	lsr	w2, w21, #1
	mov	x1, x20
	b	LBB0_6
LBB0_5:
	mov	w8, #2
	str	w8, [x19, #4]
	ldp	w20, w8, [x19, #8]
	mul	w21, w8, w20
	ldr	x0, [x19, #16]
	mov	x1, x20
	mov	x2, x21
	bl	_ceu_update_plane_sizes
	ldr	x8, [x19, #16]
	add	x0, x8, #4
	mov	x1, x20
	mov	x2, x21
LBB0_6:
	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	_ceu_update_plane_sizes
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ceu_calc_plane_sizes
.subsections_via_symbols
