	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function construct
LCPI0_0:
	.long	150                             ## 0x96
	.long	100                             ## 0x64
	.long	128                             ## 0x80
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_construct:                             ## @construct
	.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	%rdx, %r13
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	(%rsi), %r12
	movq	8(%r12), %rax
	movq	_bios_regs@GOTPCREL(%rip), %rcx
	movq	%rcx, 16(%rax)
	movq	%r12, %rdi
	callq	_dce110_resource_cap
	movq	%rax, 40(%r13)
	movq	_dce110_res_pool_funcs@GOTPCREL(%rip), %rcx
	movq	%rcx, 128(%r13)
	movl	(%rax), %eax
	movl	%eax, (%r13)
	movl	%eax, 4(%r13)
	movl	%eax, 8(%r13)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [150,100,128,1]
	movups	%xmm0, 16(%r14)
	movq	8(%r12), %rbx
	cmpq	$0, 8(%rbx)
	je	LBB0_3
## %bb.1:
	cmpq	$0, (%rbx)
	je	LBB0_3
## %bb.2:
	movq	_CLOCK_SOURCE_ID_EXTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_dce110_clock_source_create
	movq	%rax, 120(%r13)
	movq	_CLOCK_SOURCE_ID_PLL0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_clk_src_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%r8d, %r8d
	callq	_dce110_clock_source_create
	movq	112(%r13), %rcx
	movq	%rax, (%rcx)
	movq	_CLOCK_SOURCE_ID_PLL1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_clk_src_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	addq	$4, %rcx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%r8d, %r8d
	callq	_dce110_clock_source_create
	movq	112(%r13), %rcx
	movq	%rax, 8(%rcx)
	movl	$2, 12(%r13)
LBB0_3:
	cmpq	$0, 120(%r13)
	je	LBB0_6
## %bb.4:
	movl	12(%r13), %eax
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:
	movq	112(%r13), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_9
LBB0_11:
	movq	_dmcu_regs@GOTPCREL(%rip), %rsi
	movq	_dmcu_shift@GOTPCREL(%rip), %rdx
	movq	_dmcu_mask@GOTPCREL(%rip), %rcx
	movq	%r12, %rdi
	callq	_dce_dmcu_create
	movq	%rax, 104(%r13)
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movq	_abm_regs@GOTPCREL(%rip), %rsi
	movq	_abm_shift@GOTPCREL(%rip), %rdx
	movq	_abm_mask@GOTPCREL(%rip), %rcx
	movq	%r12, %rdi
	callq	_dce_abm_create
	movq	%rax, 96(%r13)
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	movq	(%r14), %rax
	movq	%rax, -56(%rbp)
	leaq	-56(%rbp), %rdi
	callq	_dal_irq_service_dce110_create
	movl	%eax, 88(%r13)
	testl	%eax, %eax
	je	LBB0_34
## %bb.16:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	cmpl	$0, (%r13)
	je	LBB0_21
## %bb.17:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	_dce110_tg_offsets@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	%r15, %rdx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_dce110_timing_generator_create
	movq	80(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	80(%r13), %rax
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_19
## %bb.25:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_dce110_mem_input_create
	movq	72(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	72(%r13), %rax
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_dce110_ipp_create
	movq	64(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	64(%r13), %rax
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_dce110_transform_create
	movq	56(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	56(%r13), %rax
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_30
## %bb.31:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_dce110_opp_create
	movq	48(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	48(%r13), %rax
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_32
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	incq	%rbx
	movl	(%r13), %eax
	addq	$4, %r15
	cmpq	%rax, %rbx
	jb	LBB0_18
LBB0_21:
	movq	40(%r13), %rax
	cmpl	$0, 4(%rax)
	je	LBB0_38
## %bb.22:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_dce110_aux_engine_create
	movq	32(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	32(%r13), %rax
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_24
## %bb.35:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_dce110_i2c_hw_create
	movq	24(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	24(%r13), %rax
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_36
## %bb.37:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	16(%r13), %rax
	movq	$0, (%rax,%rbx,8)
	incq	%rbx
	movq	40(%r13), %rax
	movl	4(%rax), %eax
	cmpq	%rax, %rbx
	jb	LBB0_23
LBB0_38:
	cmpq	$0, 56(%r14)
	je	LBB0_40
## %bb.39:
	movq	%r12, %rdi
	callq	_dce110_compressor_create
	movl	%eax, 48(%r14)
LBB0_40:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_underlay_create
	testl	%eax, %eax
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	je	LBB0_34
## %bb.41:
	movq	_res_create_funcs@GOTPCREL(%rip), %rcx
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_resource_construct
	testl	%eax, %eax
	je	LBB0_34
## %bb.42:
	movq	%r14, %rdi
	callq	_dce110_hw_sequencer_construct
	movl	(%r13), %eax
	movl	%eax, 32(%r14)
	cmpl	$0, 4(%r13)
	movq	40(%r14), %rax
	je	LBB0_43
## %bb.44:
	xorl	%ecx, %ecx
	movq	_plane_cap@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_45:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %edx
	movl	%edx, (%rax,%rcx,4)
	incq	%rcx
	movl	4(%r13), %edx
	cmpq	%rdx, %rcx
	jb	LBB0_45
	jmp	LBB0_46
LBB0_6:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_7
LBB0_10:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_7
LBB0_12:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_7
LBB0_14:
	leaq	L_.str.3(%rip), %rdi
LBB0_7:
	callq	_dm_error
	xorl	%eax, %eax
	callq	_BREAK_TO_DEBUGGER
LBB0_34:
	movq	%r13, %rdi
	callq	_destruct
	xorl	%eax, %eax
LBB0_47:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	xorl	%eax, %eax
	callq	_BREAK_TO_DEBUGGER
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_33
LBB0_26:
	xorl	%eax, %eax
	callq	_BREAK_TO_DEBUGGER
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_33
LBB0_28:
	xorl	%eax, %eax
	callq	_BREAK_TO_DEBUGGER
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_33
LBB0_30:
	xorl	%eax, %eax
	callq	_BREAK_TO_DEBUGGER
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_33
LBB0_24:
	xorl	%eax, %eax
	callq	_BREAK_TO_DEBUGGER
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_33
LBB0_32:
	xorl	%eax, %eax
	callq	_BREAK_TO_DEBUGGER
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_33
LBB0_36:
	xorl	%eax, %eax
	callq	_BREAK_TO_DEBUGGER
	leaq	L_.str.10(%rip), %rdi
LBB0_33:
	callq	_dm_error
	jmp	LBB0_34
LBB0_43:
	xorl	%edx, %edx
LBB0_46:
	movq	_underlay_plane_cap@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax,%rdx,4)
	movl	12(%r14), %edi
	movl	8(%r14), %esi
	movq	(%r14), %rax
	movl	(%rax), %edx
	callq	_bw_calcs_init
	movq	%r14, %rdi
	callq	_bw_calcs_data_update_from_pplib
	movl	$1, %eax
	jmp	LBB0_47
	.cfi_endproc
                                        ## -- End function
	.comm	_bios_regs,4,2                  ## @bios_regs
	.comm	_dce110_res_pool_funcs,4,2      ## @dce110_res_pool_funcs
	.comm	_CLOCK_SOURCE_ID_EXTERNAL,4,2   ## @CLOCK_SOURCE_ID_EXTERNAL
	.comm	_CLOCK_SOURCE_ID_PLL0,4,2       ## @CLOCK_SOURCE_ID_PLL0
	.comm	_clk_src_regs,8,3               ## @clk_src_regs
	.comm	_CLOCK_SOURCE_ID_PLL1,4,2       ## @CLOCK_SOURCE_ID_PLL1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DC: failed to create dp clock source!\n"

L_.str.1:                               ## @.str.1
	.asciz	"DC: failed to create clock sources!\n"

	.comm	_dmcu_regs,4,2                  ## @dmcu_regs
	.comm	_dmcu_shift,4,2                 ## @dmcu_shift
	.comm	_dmcu_mask,4,2                  ## @dmcu_mask
L_.str.2:                               ## @.str.2
	.asciz	"DC: failed to create dmcu!\n"

	.comm	_abm_regs,4,2                   ## @abm_regs
	.comm	_abm_shift,4,2                  ## @abm_shift
	.comm	_abm_mask,4,2                   ## @abm_mask
L_.str.3:                               ## @.str.3
	.asciz	"DC: failed to create abm!\n"

	.comm	_dce110_tg_offsets,8,3          ## @dce110_tg_offsets
L_.str.4:                               ## @.str.4
	.asciz	"DC: failed to create tg!\n"

L_.str.5:                               ## @.str.5
	.asciz	"DC: failed to create memory input!\n"

L_.str.6:                               ## @.str.6
	.asciz	"DC: failed to create input pixel processor!\n"

L_.str.7:                               ## @.str.7
	.asciz	"DC: failed to create transform!\n"

L_.str.8:                               ## @.str.8
	.asciz	"DC: failed to create output pixel processor!\n"

L_.str.9:                               ## @.str.9
	.asciz	"DC:failed to create aux engine!!\n"

L_.str.10:                              ## @.str.10
	.asciz	"DC:failed to create i2c engine!!\n"

	.comm	_res_create_funcs,4,2           ## @res_create_funcs
	.comm	_plane_cap,4,2                  ## @plane_cap
	.comm	_underlay_plane_cap,4,2         ## @underlay_plane_cap
	.no_dead_strip	_construct
.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 construct
lCPI0_0:
	.long	150                             ; 0x96
	.long	100                             ; 0x64
	.long	128                             ; 0x80
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_construct:                             ; @construct
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x22, [x1]
	ldr	x8, [x22, #8]
Lloh0:
	adrp	x9, _bios_regs@GOTPAGE
Lloh1:
	ldr	x9, [x9, _bios_regs@GOTPAGEOFF]
	str	x9, [x8, #16]
	mov	x0, x22
	bl	_dce110_resource_cap
	str	x0, [x19, #40]
Lloh2:
	adrp	x8, _dce110_res_pool_funcs@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dce110_res_pool_funcs@GOTPAGEOFF]
	str	x8, [x19, #128]
	ldr	w8, [x0]
	stp	w8, w8, [x19]
	str	w8, [x19, #8]
Lloh4:
	adrp	x8, lCPI0_0@PAGE
Lloh5:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [x20, #16]
	ldr	x23, [x22, #8]
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x23]
	cbz	x8, LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _CLOCK_SOURCE_ID_EXTERNAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CLOCK_SOURCE_ID_EXTERNAL@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x1, x23
	mov	x3, #0
	mov	w4, #1
	bl	_dce110_clock_source_create
	str	x0, [x19, #120]
Lloh9:
	adrp	x8, _CLOCK_SOURCE_ID_PLL0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CLOCK_SOURCE_ID_PLL0@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x24, _clk_src_regs@GOTPAGE
Lloh13:
	ldr	x24, [x24, _clk_src_regs@GOTPAGEOFF]
	ldr	x3, [x24]
	mov	x0, x22
	mov	x1, x23
	mov	w4, #0
	bl	_dce110_clock_source_create
	ldr	x8, [x19, #112]
	str	x0, [x8]
Lloh14:
	adrp	x8, _CLOCK_SOURCE_ID_PLL1@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CLOCK_SOURCE_ID_PLL1@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	ldr	x8, [x24]
	add	x3, x8, #4
	mov	x0, x22
	mov	x1, x23
	mov	w4, #0
	bl	_dce110_clock_source_create
	ldr	x8, [x19, #112]
	str	x0, [x8, #8]
	mov	w8, #2
	str	w8, [x19, #12]
LBB0_3:
	ldr	x8, [x19, #120]
	cbz	x8, LBB0_31
; %bb.4:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_8
; %bb.5:
	ldr	x9, [x19, #112]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cbz	x10, LBB0_32
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_6
LBB0_8:
Lloh17:
	adrp	x1, _dmcu_regs@GOTPAGE
Lloh18:
	ldr	x1, [x1, _dmcu_regs@GOTPAGEOFF]
Lloh19:
	adrp	x2, _dmcu_shift@GOTPAGE
Lloh20:
	ldr	x2, [x2, _dmcu_shift@GOTPAGEOFF]
Lloh21:
	adrp	x3, _dmcu_mask@GOTPAGE
Lloh22:
	ldr	x3, [x3, _dmcu_mask@GOTPAGEOFF]
	mov	x0, x22
	bl	_dce_dmcu_create
	str	x0, [x19, #104]
	cbz	x0, LBB0_33
; %bb.9:
Lloh23:
	adrp	x1, _abm_regs@GOTPAGE
Lloh24:
	ldr	x1, [x1, _abm_regs@GOTPAGEOFF]
Lloh25:
	adrp	x2, _abm_shift@GOTPAGE
Lloh26:
	ldr	x2, [x2, _abm_shift@GOTPAGEOFF]
Lloh27:
	adrp	x3, _abm_mask@GOTPAGE
Lloh28:
	ldr	x3, [x3, _abm_mask@GOTPAGEOFF]
	mov	x0, x22
	bl	_dce_abm_create
	str	x0, [x19, #96]
	cbz	x0, LBB0_34
; %bb.10:
	ldr	x8, [x20]
	str	x8, [sp, #8]
	add	x0, sp, #8
	bl	_dal_irq_service_dce110_create
	str	w0, [x19, #88]
	cbz	w0, LBB0_36
; %bb.11:
	ldr	w8, [x19]
	cbz	w8, LBB0_19
; %bb.12:
	mov	x24, #0
	mov	x23, #0
Lloh29:
	adrp	x25, _dce110_tg_offsets@GOTPAGE
Lloh30:
	ldr	x25, [x25, _dce110_tg_offsets@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	add	x2, x8, x24
	mov	x0, x22
	mov	x1, x23
	bl	_dce110_timing_generator_create
	ldr	x8, [x19, #80]
	lsl	x26, x23, #3
	str	x0, [x8, x26]
	ldr	x8, [x19, #80]
	ldr	x8, [x8, x26]
	cbz	x8, LBB0_38
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_dce110_mem_input_create
	ldr	x8, [x19, #72]
	str	x0, [x8, x26]
	ldr	x8, [x19, #72]
	ldr	x8, [x8, x26]
	cbz	x8, LBB0_39
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_dce110_ipp_create
	ldr	x8, [x19, #64]
	str	x0, [x8, x26]
	ldr	x8, [x19, #64]
	ldr	x8, [x8, x26]
	cbz	x8, LBB0_40
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_dce110_transform_create
	ldr	x8, [x19, #56]
	str	x0, [x8, x26]
	ldr	x8, [x19, #56]
	ldr	x8, [x8, x26]
	cbz	x8, LBB0_41
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_dce110_opp_create
	ldr	x8, [x19, #48]
	str	x0, [x8, x26]
	ldr	x8, [x19, #48]
	ldr	x8, [x8, x26]
	cbz	x8, LBB0_43
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x23, x23, #1
	ldr	w8, [x19]
	add	x24, x24, #4
	cmp	x23, x8
	b.lo	LBB0_13
LBB0_19:
	ldr	x8, [x19, #40]
	ldr	w8, [x8, #4]
	cbz	w8, LBB0_24
; %bb.20:
	mov	x23, #0
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_dce110_aux_engine_create
	ldr	x8, [x19, #32]
	lsl	x24, x23, #3
	str	x0, [x8, x24]
	ldr	x8, [x19, #32]
	ldr	x8, [x8, x24]
	cbz	x8, LBB0_42
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_dce110_i2c_hw_create
	ldr	x8, [x19, #24]
	str	x0, [x8, x24]
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x24]
	cbz	x8, LBB0_44
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x8, [x19, #16]
	str	xzr, [x8, x23, lsl #3]
	add	x23, x23, #1
	ldr	x8, [x19, #40]
	ldr	w8, [x8, #4]
	cmp	x23, x8
	b.lo	LBB0_21
LBB0_24:
	ldr	x8, [x20, #56]
	cbz	x8, LBB0_26
; %bb.25:
	mov	x0, x22
	bl	_dce110_compressor_create
	str	w0, [x20, #48]
LBB0_26:
	mov	x0, x22
	mov	x1, x19
	bl	_underlay_create
	cbz	w0, LBB0_36
; %bb.27:
Lloh31:
	adrp	x3, _res_create_funcs@GOTPAGE
Lloh32:
	ldr	x3, [x3, _res_create_funcs@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_resource_construct
	cbz	w0, LBB0_36
; %bb.28:
	mov	x0, x20
	bl	_dce110_hw_sequencer_construct
	ldp	w8, w9, [x19]
	str	w8, [x20, #32]
	ldr	x8, [x20, #40]
	cbz	w9, LBB0_46
; %bb.29:
	mov	x9, #0
Lloh33:
	adrp	x10, _plane_cap@GOTPAGE
Lloh34:
	ldr	x10, [x10, _plane_cap@GOTPAGEOFF]
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	str	w11, [x8, x9, lsl #2]
	add	x9, x9, #1
	ldr	w11, [x19, #4]
	cmp	x9, x11
	b.lo	LBB0_30
	b	LBB0_47
LBB0_31:
Lloh35:
	adrp	x0, l_.str@PAGE
Lloh36:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_35
LBB0_32:
Lloh37:
	adrp	x0, l_.str.1@PAGE
Lloh38:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_35
LBB0_33:
Lloh39:
	adrp	x0, l_.str.2@PAGE
Lloh40:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_35
LBB0_34:
Lloh41:
	adrp	x0, l_.str.3@PAGE
Lloh42:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_35:
	bl	_dm_error
	bl	_BREAK_TO_DEBUGGER
LBB0_36:
	mov	x0, x19
	bl	_destruct
	mov	w0, #0
LBB0_37:
	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_38:
	bl	_BREAK_TO_DEBUGGER
Lloh43:
	adrp	x0, l_.str.4@PAGE
Lloh44:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_45
LBB0_39:
	bl	_BREAK_TO_DEBUGGER
Lloh45:
	adrp	x0, l_.str.5@PAGE
Lloh46:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_45
LBB0_40:
	bl	_BREAK_TO_DEBUGGER
Lloh47:
	adrp	x0, l_.str.6@PAGE
Lloh48:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_45
LBB0_41:
	bl	_BREAK_TO_DEBUGGER
Lloh49:
	adrp	x0, l_.str.7@PAGE
Lloh50:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_45
LBB0_42:
	bl	_BREAK_TO_DEBUGGER
Lloh51:
	adrp	x0, l_.str.9@PAGE
Lloh52:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_45
LBB0_43:
	bl	_BREAK_TO_DEBUGGER
Lloh53:
	adrp	x0, l_.str.8@PAGE
Lloh54:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_45
LBB0_44:
	bl	_BREAK_TO_DEBUGGER
Lloh55:
	adrp	x0, l_.str.10@PAGE
Lloh56:
	add	x0, x0, l_.str.10@PAGEOFF
LBB0_45:
	bl	_dm_error
	b	LBB0_36
LBB0_46:
	mov	x11, #0
LBB0_47:
Lloh57:
	adrp	x9, _underlay_plane_cap@GOTPAGE
Lloh58:
	ldr	x9, [x9, _underlay_plane_cap@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	str	w9, [x8, x11, lsl #2]
	ldp	w1, w0, [x20, #8]
	ldr	x8, [x20]
	ldr	w2, [x8]
	bl	_bw_calcs_init
	mov	x0, x20
	bl	_bw_calcs_data_update_from_pplib
	mov	w0, #1
	b	LBB0_37
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.cfi_endproc
                                        ; -- End function
	.comm	_bios_regs,4,2                  ; @bios_regs
	.comm	_dce110_res_pool_funcs,4,2      ; @dce110_res_pool_funcs
	.comm	_CLOCK_SOURCE_ID_EXTERNAL,4,2   ; @CLOCK_SOURCE_ID_EXTERNAL
	.comm	_CLOCK_SOURCE_ID_PLL0,4,2       ; @CLOCK_SOURCE_ID_PLL0
	.comm	_clk_src_regs,8,3               ; @clk_src_regs
	.comm	_CLOCK_SOURCE_ID_PLL1,4,2       ; @CLOCK_SOURCE_ID_PLL1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DC: failed to create dp clock source!\n"

l_.str.1:                               ; @.str.1
	.asciz	"DC: failed to create clock sources!\n"

	.comm	_dmcu_regs,4,2                  ; @dmcu_regs
	.comm	_dmcu_shift,4,2                 ; @dmcu_shift
	.comm	_dmcu_mask,4,2                  ; @dmcu_mask
l_.str.2:                               ; @.str.2
	.asciz	"DC: failed to create dmcu!\n"

	.comm	_abm_regs,4,2                   ; @abm_regs
	.comm	_abm_shift,4,2                  ; @abm_shift
	.comm	_abm_mask,4,2                   ; @abm_mask
l_.str.3:                               ; @.str.3
	.asciz	"DC: failed to create abm!\n"

	.comm	_dce110_tg_offsets,8,3          ; @dce110_tg_offsets
l_.str.4:                               ; @.str.4
	.asciz	"DC: failed to create tg!\n"

l_.str.5:                               ; @.str.5
	.asciz	"DC: failed to create memory input!\n"

l_.str.6:                               ; @.str.6
	.asciz	"DC: failed to create input pixel processor!\n"

l_.str.7:                               ; @.str.7
	.asciz	"DC: failed to create transform!\n"

l_.str.8:                               ; @.str.8
	.asciz	"DC: failed to create output pixel processor!\n"

l_.str.9:                               ; @.str.9
	.asciz	"DC:failed to create aux engine!!\n"

l_.str.10:                              ; @.str.10
	.asciz	"DC:failed to create i2c engine!!\n"

	.comm	_res_create_funcs,4,2           ; @res_create_funcs
	.comm	_plane_cap,4,2                  ; @plane_cap
	.comm	_underlay_plane_cap,4,2         ; @underlay_plane_cap
	.no_dead_strip	_construct
.subsections_via_symbols
