	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function dce110_get_required_compressed_surfacesize
LCPI0_0:
	.long	256                             ## 0x100
	.long	256                             ## 0x100
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_dce110_get_required_compressed_surfacesize
	.p2align	4, 0x90
_dce110_get_required_compressed_surfacesize: ## @dce110_get_required_compressed_surfacesize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_FBC_MAX_X@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movq	_FBC_MAX_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	leaq	-16(%rbp), %rdi
	leaq	-12(%rbp), %rsi
	callq	_get_max_support_fbc_buffersize
	xorl	%eax, %eax
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	leaq	16(%rbp), %rbx
	movl	-16(%rbp), %edi
	callq	_align_to_chunks_number_per_line
	imull	-12(%rbp), %eax
	shll	$2, %eax
	movl	%eax, 4(%rbx)
	movl	%eax, (%rbx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [256,256,1,1]
	movups	%xmm0, 8(%rbx)
	movl	$1, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FBC_MAX_X,4,2                  ## @FBC_MAX_X
	.comm	_FBC_MAX_Y,4,2                  ## @FBC_MAX_Y
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function dce110_get_required_compressed_surfacesize
lCPI0_0:
	.long	256                             ; 0x100
	.long	256                             ; 0x100
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_dce110_get_required_compressed_surfacesize
	.p2align	2
_dce110_get_required_compressed_surfacesize: ; @dce110_get_required_compressed_surfacesize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _FBC_MAX_X@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FBC_MAX_X@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
Lloh3:
	adrp	x8, _FBC_MAX_Y@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FBC_MAX_Y@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_get_max_support_fbc_buffersize
	cbz	x20, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	ldr	w0, [sp, #12]
	bl	_align_to_chunks_number_per_line
	ldr	w8, [sp, #8]
	mul	w8, w0, w8
	lsl	w8, w8, #2
	stp	w8, w8, [x19]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [x19, #8]
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_FBC_MAX_X,4,2                  ; @FBC_MAX_X
	.comm	_FBC_MAX_Y,4,2                  ; @FBC_MAX_Y
.subsections_via_symbols
