	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpp1_dscl_find_lb_memory_config
_dpp1_dscl_find_lb_memory_config:       ## @dpp1_dscl_find_lb_memory_config
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	12(%rsi), %edi
	movl	16(%rsi), %r12d
	movl	20(%rsi), %r15d
	callq	_dc_fixpt_ceil
	movl	%eax, %r13d
	movl	8(%rbx), %edi
	callq	_dc_fixpt_ceil
	movq	8(%r14), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_LB_MEMORY_CONFIG_0@GOTPCREL(%rip), %r15
LBB0_14:
	movl	(%r15), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
	movq	(%r14), %rax
	movq	_LB_MEMORY_CONFIG_1@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%rbx, %rdi
	callq	*(%rax)
	movl	-48(%rbp), %esi
	movl	%r13d, %edi
	movl	%r12d, %edx
	callq	_dpp1_dscl_is_lb_conf_valid
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	-44(%rbp), %esi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_dpp1_dscl_is_lb_conf_valid
	testq	%rax, %rax
	jne	LBB0_14
LBB0_4:
	movq	(%r14), %rax
	movq	_LB_MEMORY_CONFIG_2@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%rbx, %rdi
	callq	*(%rax)
	movl	-48(%rbp), %esi
	movl	%r13d, %edi
	movl	%r12d, %edx
	callq	_dpp1_dscl_is_lb_conf_valid
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	-44(%rbp), %esi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_dpp1_dscl_is_lb_conf_valid
	testq	%rax, %rax
	jne	LBB0_14
LBB0_6:
	movq	(%rbx), %rax
	movq	_PIXEL_FORMAT_420BPP8@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:
	movq	_PIXEL_FORMAT_420BPP10@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
LBB0_8:
	movq	(%r14), %rax
	movq	_LB_MEMORY_CONFIG_3@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%rbx, %rdi
	callq	*(%rax)
	movl	-48(%rbp), %esi
	movl	%r13d, %edi
	movl	%r12d, %edx
	callq	_dpp1_dscl_is_lb_conf_valid
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	-44(%rbp), %esi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_dpp1_dscl_is_lb_conf_valid
	testq	%rax, %rax
	jne	LBB0_14
LBB0_10:
	movq	(%r14), %rax
	movq	_LB_MEMORY_CONFIG_0@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%rbx, %rdi
	callq	*(%rax)
	movl	-48(%rbp), %esi
	movl	%r13d, %edi
	movl	%r12d, %edx
	callq	_dpp1_dscl_is_lb_conf_valid
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movl	-44(%rbp), %esi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_dpp1_dscl_is_lb_conf_valid
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	jmp	LBB0_13
LBB0_11:
	xorl	%edi, %edi
LBB0_13:
	callq	_ASSERT
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_LB_MEMORY_CONFIG_0,4,2         ## @LB_MEMORY_CONFIG_0
	.comm	_LB_MEMORY_CONFIG_1,4,2         ## @LB_MEMORY_CONFIG_1
	.comm	_LB_MEMORY_CONFIG_2,4,2         ## @LB_MEMORY_CONFIG_2
	.comm	_PIXEL_FORMAT_420BPP8,8,3       ## @PIXEL_FORMAT_420BPP8
	.comm	_PIXEL_FORMAT_420BPP10,8,3      ## @PIXEL_FORMAT_420BPP10
	.comm	_LB_MEMORY_CONFIG_3,4,2         ## @LB_MEMORY_CONFIG_3
	.no_dead_strip	_dpp1_dscl_find_lb_memory_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpp1_dscl_find_lb_memory_config
_dpp1_dscl_find_lb_memory_config:       ; @dpp1_dscl_find_lb_memory_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x1
	mov	x24, x0
	ldp	w20, w19, [x1, #16]
	ldr	w0, [x1, #12]
	bl	_dc_fixpt_ceil
	mov	x23, x0
	ldr	w0, [x21, #8]
	bl	_dc_fixpt_ceil
	ldr	x8, [x24, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh0:
	adrp	x25, _LB_MEMORY_CONFIG_0@GOTPAGE
Lloh1:
	ldr	x25, [x25, _LB_MEMORY_CONFIG_0@GOTPAGEOFF]
	cbz	x8, LBB0_2
LBB0_1:
	ldr	w0, [x25]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_2:
	mov	x22, x0
	ldr	x8, [x24]
	ldr	x8, [x8]
Lloh2:
	adrp	x9, _LB_MEMORY_CONFIG_1@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LB_MEMORY_CONFIG_1@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x9]
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x21
	blr	x8
	ldr	w1, [sp, #12]
	mov	x0, x23
	mov	x2, x20
	bl	_dpp1_dscl_is_lb_conf_valid
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w1, [sp, #8]
	mov	x0, x22
	mov	x2, x19
	bl	_dpp1_dscl_is_lb_conf_valid
	cbz	x0, LBB0_5
; %bb.4:
Lloh5:
	adrp	x25, _LB_MEMORY_CONFIG_1@GOTPAGE
Lloh6:
	ldr	x25, [x25, _LB_MEMORY_CONFIG_1@GOTPAGEOFF]
	b	LBB0_1
LBB0_5:
	ldr	x8, [x24]
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _LB_MEMORY_CONFIG_2@GOTPAGE
Lloh8:
	ldr	x9, [x9, _LB_MEMORY_CONFIG_2@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x9]
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x21
	blr	x8
	ldr	w1, [sp, #12]
	mov	x0, x23
	mov	x2, x20
	bl	_dpp1_dscl_is_lb_conf_valid
	cbz	x0, LBB0_8
; %bb.6:
	ldr	w1, [sp, #8]
	mov	x0, x22
	mov	x2, x19
	bl	_dpp1_dscl_is_lb_conf_valid
	cbz	x0, LBB0_8
; %bb.7:
Lloh10:
	adrp	x25, _LB_MEMORY_CONFIG_2@GOTPAGE
Lloh11:
	ldr	x25, [x25, _LB_MEMORY_CONFIG_2@GOTPAGEOFF]
	b	LBB0_1
LBB0_8:
	ldr	x8, [x21]
Lloh12:
	adrp	x9, _PIXEL_FORMAT_420BPP8@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PIXEL_FORMAT_420BPP8@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.9:
Lloh15:
	adrp	x9, _PIXEL_FORMAT_420BPP10@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PIXEL_FORMAT_420BPP10@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
LBB0_10:
	ldr	x8, [x24]
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _LB_MEMORY_CONFIG_3@GOTPAGE
Lloh19:
	ldr	x9, [x9, _LB_MEMORY_CONFIG_3@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x9]
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x21
	blr	x8
	ldr	w1, [sp, #12]
	mov	x0, x23
	mov	x2, x20
	bl	_dpp1_dscl_is_lb_conf_valid
	cbz	x0, LBB0_13
; %bb.11:
	ldr	w1, [sp, #8]
	mov	x0, x22
	mov	x2, x19
	bl	_dpp1_dscl_is_lb_conf_valid
	cbz	x0, LBB0_13
; %bb.12:
Lloh21:
	adrp	x25, _LB_MEMORY_CONFIG_3@GOTPAGE
Lloh22:
	ldr	x25, [x25, _LB_MEMORY_CONFIG_3@GOTPAGEOFF]
	b	LBB0_1
LBB0_13:
	ldr	x8, [x24]
	ldr	x8, [x8]
	ldr	w1, [x25]
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x21
	blr	x8
	ldr	w1, [sp, #12]
	mov	x0, x23
	mov	x2, x20
	bl	_dpp1_dscl_is_lb_conf_valid
	cbz	x0, LBB0_15
; %bb.14:
	ldr	w1, [sp, #8]
	mov	x0, x22
	mov	x2, x19
	bl	_dpp1_dscl_is_lb_conf_valid
	cmp	x0, #0
	cset	w0, ne
LBB0_15:
	bl	_ASSERT
Lloh23:
	adrp	x25, _LB_MEMORY_CONFIG_0@GOTPAGE
Lloh24:
	ldr	x25, [x25, _LB_MEMORY_CONFIG_0@GOTPAGEOFF]
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_LB_MEMORY_CONFIG_0,4,2         ; @LB_MEMORY_CONFIG_0
	.comm	_LB_MEMORY_CONFIG_1,4,2         ; @LB_MEMORY_CONFIG_1
	.comm	_LB_MEMORY_CONFIG_2,4,2         ; @LB_MEMORY_CONFIG_2
	.comm	_PIXEL_FORMAT_420BPP8,8,3       ; @PIXEL_FORMAT_420BPP8
	.comm	_PIXEL_FORMAT_420BPP10,8,3      ; @PIXEL_FORMAT_420BPP10
	.comm	_LB_MEMORY_CONFIG_3,4,2         ; @LB_MEMORY_CONFIG_3
	.no_dead_strip	_dpp1_dscl_find_lb_memory_config
.subsections_via_symbols
