	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sun4i_tcon_bind
_sun4i_tcon_bind:                       ## @sun4i_tcon_bind
	.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, %r12
	movq	%rdi, %r15
	movq	(%rdx), %r14
	movl	(%rdi), %esi
	movq	%r14, %rdi
	callq	_sun4i_tcon_find_engine
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_60:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$72, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_dev_set_drvdata
	movq	%r12, 64(%rbx)
	movq	%r15, 56(%rbx)
	movl	(%r13), %eax
	movl	%eax, 20(%rbx)
	movq	%r15, %rdi
	callq	_of_device_get_match_data
	movq	%rax, 8(%rbx)
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_reset_control_get
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	(%rbx), %rdi
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_7:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	cmpq	$0, 32(%rax)
	je	LBB0_14
## %bb.8:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_reset_control_get_shared
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	%r14, %rdi
	jmp	LBB0_10
LBB0_11:
	movq	%r14, %rdi
	callq	_reset_control_deassert
	testl	%eax, %eax
	je	LBB0_14
## %bb.12:
	movl	%eax, %r14d
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_13
LBB0_14:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rdi
	callq	_reset_control_reset
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movl	%eax, %r14d
	leaq	L_.str.6(%rip), %rsi
LBB0_13:
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_60
LBB0_16:
	movq	8(%rbx), %rax
	cmpq	$0, 24(%rax)
	je	LBB0_17
## %bb.18:
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_reset_control_get_optional
	movq	%rax, 48(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	48(%rbx), %rdi
	jmp	LBB0_10
LBB0_17:
	movb	$1, %al
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_32
LBB0_20:
	movb	$1, %al
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	48(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_22
## %bb.21:
	movq	%r14, %rdi
	callq	_reset_control_reset
LBB0_22:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_23
## %bb.24:
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_clk_get
	movq	%rax, 40(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_25
## %bb.26:
	movq	40(%rbx), %rdi
	callq	_PTR_ERR
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_61
## %bb.27:
	xorl	%eax, %eax
	jmp	LBB0_28
LBB0_23:
                                        ## implicit-def: $al
	jmp	LBB0_28
LBB0_25:
	movb	$1, %al
LBB0_28:
	testq	%r14, %r14
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_31
## %bb.29:
	movq	8(%rbx), %rcx
	cmpq	$0, 16(%rcx)
	sete	%cl
	orb	%al, %cl
	testb	$1, %cl
	je	LBB0_31
## %bb.30:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_32
LBB0_31:
	leaq	L_.str.10(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_warn
	leaq	L_.str.11(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_warn
LBB0_32:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_sun4i_tcon_init_clocks
	testl	%eax, %eax
	je	LBB0_35
## %bb.33:
	movl	%eax, %r14d
	leaq	L_.str.12(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_34
LBB0_35:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_sun4i_tcon_init_regmap
	testl	%eax, %eax
	je	LBB0_38
## %bb.36:
	movl	%eax, %r14d
	leaq	L_.str.13(%rip), %rsi
LBB0_37:
	movq	%r15, %rdi
	callq	_dev_err
LBB0_45:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_sun4i_tcon_free_clocks
LBB0_34:
	movq	(%rbx), %rdi
	callq	_reset_control_assert
	jmp	LBB0_60
LBB0_38:
	movq	8(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_41
## %bb.39:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_sun4i_dclk_create
	testl	%eax, %eax
	je	LBB0_41
## %bb.40:
	movl	%eax, %r14d
	leaq	L_.str.14(%rip), %rsi
	jmp	LBB0_37
LBB0_41:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_sun4i_tcon_init_irq
	testl	%eax, %eax
	je	LBB0_46
## %bb.42:
	movl	%eax, %r14d
	leaq	L_.str.15(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_43
LBB0_61:
	leaq	L_.str.9(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	40(%rbx), %rdi
	jmp	LBB0_10
LBB0_46:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_sun4i_crtc_init
	movq	%rax, 32(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_48
## %bb.47:
	leaq	L_.str.16(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	32(%rbx), %rdi
	callq	_PTR_ERR
	movl	%eax, %r14d
LBB0_43:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	8(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_45
## %bb.44:
	callq	_sun4i_dclk_free
	jmp	LBB0_45
LBB0_48:
	movq	8(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_57
## %bb.49:
	movl	(%r15), %edi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_of_graph_get_remote_node
	movq	%rax, %rbx
	leaq	L_.str.17(%rip), %rsi
	movq	%rax, %rdi
	callq	_of_device_is_compatible
	testq	%rax, %rax
	je	LBB0_53
## %bb.50:
	cmpb	$0, -52(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_51
## %bb.52:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_55
LBB0_53:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_sun4i_rgb_init
	jmp	LBB0_54
LBB0_51:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_sun4i_lvds_init
LBB0_54:
	movl	%eax, %r14d
LBB0_55:
	movq	%rbx, %rdi
	callq	_of_node_put
	testl	%r14d, %r14d
	js	LBB0_43
## %bb.56:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rax
LBB0_57:
	cmpq	$0, 8(%rax)
	je	LBB0_59
## %bb.58:
	movl	20(%rbx), %ecx
	movl	24(%rbx), %edi
	movq	_SUN4I_TCON0_CTL_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SUN4I_TCON0_CTL_SRC_SEL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_regmap_update_bits
	movl	20(%rbx), %ecx
	movl	24(%rbx), %edi
	movq	_SUN4I_TCON1_CTL_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SUN4I_TCON1_CTL_SRC_SEL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_regmap_update_bits
LBB0_59:
	addq	$16, %rbx
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_list_add_tail
	xorl	%r14d, %r14d
	jmp	LBB0_60
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Couldn't find matching engine\n"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"lcd"

L_.str.2:                               ## @.str.2
	.asciz	"Couldn't get our reset line\n"

L_.str.3:                               ## @.str.3
	.asciz	"edp"

L_.str.4:                               ## @.str.4
	.asciz	"Couldn't get edp reset line\n"

L_.str.5:                               ## @.str.5
	.asciz	"Couldn't deassert edp reset line\n"

L_.str.6:                               ## @.str.6
	.asciz	"Couldn't deassert our reset line\n"

L_.str.7:                               ## @.str.7
	.asciz	"lvds"

L_.str.8:                               ## @.str.8
	.asciz	"lvds-alt"

	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.9:                               ## @.str.9
	.asciz	"Couldn't get the LVDS PLL\n"

L_.str.10:                              ## @.str.10
	.asciz	"Missing LVDS properties, Please upgrade your DT\n"

L_.str.11:                              ## @.str.11
	.asciz	"LVDS output disabled\n"

L_.str.12:                              ## @.str.12
	.asciz	"Couldn't init our TCON clocks\n"

L_.str.13:                              ## @.str.13
	.asciz	"Couldn't init our TCON regmap\n"

L_.str.14:                              ## @.str.14
	.asciz	"Couldn't create our TCON dot clock\n"

L_.str.15:                              ## @.str.15
	.asciz	"Couldn't init our TCON interrupts\n"

L_.str.16:                              ## @.str.16
	.asciz	"Couldn't create our CRTC\n"

L_.str.17:                              ## @.str.17
	.asciz	"panel-lvds"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SUN4I_TCON0_CTL_REG,4,2        ## @SUN4I_TCON0_CTL_REG
	.comm	_SUN4I_TCON0_CTL_SRC_SEL_MASK,4,2 ## @SUN4I_TCON0_CTL_SRC_SEL_MASK
	.comm	_SUN4I_TCON1_CTL_REG,4,2        ## @SUN4I_TCON1_CTL_REG
	.comm	_SUN4I_TCON1_CTL_SRC_SEL_MASK,4,2 ## @SUN4I_TCON1_CTL_SRC_SEL_MASK
	.no_dead_strip	_sun4i_tcon_bind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sun4i_tcon_bind
_sun4i_tcon_bind:                       ; @sun4i_tcon_bind
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x2
	mov	x21, x0
	ldr	x20, [x2]
	ldr	w1, [x0]
	mov	x0, x20
	bl	_sun4i_tcon_find_engine
	mov	x23, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_err
Lloh2:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_3:
	mov	x0, x24
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh4:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #72
	bl	_devm_kzalloc
	cbz	x0, LBB0_8
; %bb.5:
	mov	x19, x0
	mov	x0, x21
	mov	x1, x19
	bl	_dev_set_drvdata
	stp	x21, x22, [x19, #56]
	ldr	w8, [x23]
	str	w8, [x19, #20]
	mov	x0, x21
	bl	_of_device_get_match_data
	str	x0, [x19, #8]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_devm_reset_control_get
	str	x0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.6:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	ldr	x0, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_8:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
LBB0_9:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #32]
	cbz	x8, LBB0_14
; %bb.10:
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_devm_reset_control_get_shared
	mov	x24, x0
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.11:
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	mov	x0, x24
	b	LBB0_7
LBB0_12:
	mov	x0, x24
	bl	_reset_control_deassert
	cbz	w0, LBB0_14
; %bb.13:
	mov	x24, x0
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_16
LBB0_14:
	ldr	x0, [x19]
	bl	_reset_control_reset
	cbz	w0, LBB0_17
; %bb.15:
	mov	x24, x0
Lloh19:
	adrp	x1, l_.str.6@PAGE
Lloh20:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_16:
	mov	x0, x21
	bl	_dev_err
	b	LBB0_3
LBB0_17:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #24]
	cbz	x8, LBB0_32
; %bb.18:
Lloh21:
	adrp	x1, l_.str.7@PAGE
Lloh22:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_devm_reset_control_get_optional
	str	x0, [x19, #48]
	bl	_IS_ERR
	cbz	x0, LBB0_20
; %bb.19:
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	ldr	x0, [x19, #48]
	b	LBB0_7
LBB0_20:
	ldr	x24, [x19, #48]
	cbz	x24, LBB0_22
; %bb.21:
	mov	x0, x24
	bl	_reset_control_reset
LBB0_22:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_26
; %bb.23:
Lloh25:
	adrp	x1, l_.str.8@PAGE
Lloh26:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	bl	_devm_clk_get
	str	x0, [x19, #40]
	bl	_IS_ERR
	cbz	x0, LBB0_27
; %bb.24:
	ldr	x0, [x19, #40]
	bl	_PTR_ERR
Lloh27:
	adrp	x8, _ENOENT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_45
; %bb.25:
	mov	w8, #0
	b	LBB0_28
LBB0_26:
                                        ; implicit-def: $w8
	b	LBB0_28
LBB0_27:
	mov	w8, #1
LBB0_28:
	cbz	x24, LBB0_31
; %bb.29:
	ldr	x9, [x19, #8]
	ldr	x9, [x9, #16]
	cmp	x9, #0
	cset	w9, eq
	orr	w8, w9, w8
	tbz	w8, #0, LBB0_31
; %bb.30:
	mov	w25, #0
	b	LBB0_33
LBB0_31:
Lloh30:
	adrp	x1, l_.str.10@PAGE
Lloh31:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x21
	bl	_dev_warn
Lloh32:
	adrp	x1, l_.str.11@PAGE
Lloh33:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x21
	bl	_dev_warn
LBB0_32:
	mov	w25, #1
LBB0_33:
	mov	x0, x21
	mov	x1, x19
	bl	_sun4i_tcon_init_clocks
	cbz	w0, LBB0_35
; %bb.34:
	mov	x24, x0
Lloh34:
	adrp	x1, l_.str.12@PAGE
Lloh35:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	b	LBB0_39
LBB0_35:
	mov	x0, x21
	mov	x1, x19
	bl	_sun4i_tcon_init_regmap
	cbz	w0, LBB0_40
; %bb.36:
	mov	x24, x0
Lloh36:
	adrp	x1, l_.str.13@PAGE
Lloh37:
	add	x1, x1, l_.str.13@PAGEOFF
LBB0_37:
	mov	x0, x21
	bl	_dev_err
LBB0_38:
	mov	x0, x19
	bl	_sun4i_tcon_free_clocks
LBB0_39:
	ldr	x0, [x19]
	bl	_reset_control_assert
	b	LBB0_3
LBB0_40:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_43
; %bb.41:
	mov	x0, x21
	mov	x1, x19
	bl	_sun4i_dclk_create
	cbz	w0, LBB0_43
; %bb.42:
	mov	x24, x0
Lloh38:
	adrp	x1, l_.str.14@PAGE
Lloh39:
	add	x1, x1, l_.str.14@PAGEOFF
	b	LBB0_37
LBB0_43:
	mov	x0, x21
	mov	x1, x19
	bl	_sun4i_tcon_init_irq
	cbz	w0, LBB0_46
; %bb.44:
	mov	x24, x0
Lloh40:
	adrp	x1, l_.str.15@PAGE
Lloh41:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	b	LBB0_48
LBB0_45:
Lloh42:
	adrp	x1, l_.str.9@PAGE
Lloh43:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	ldr	x0, [x19, #40]
	b	LBB0_7
LBB0_46:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x19
	bl	_sun4i_crtc_init
	str	x0, [x19, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_50
; %bb.47:
Lloh44:
	adrp	x1, l_.str.16@PAGE
Lloh45:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	ldr	x0, [x19, #32]
	bl	_PTR_ERR
	mov	x24, x0
LBB0_48:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_38
; %bb.49:
	mov	x0, x19
	bl	_sun4i_dclk_free
	b	LBB0_38
LBB0_50:
	ldr	x8, [x19, #8]
	ldr	x9, [x8]
	cbz	x9, LBB0_59
; %bb.51:
	ldr	w0, [x21]
	mov	w1, #1
	mov	w2, #0
	bl	_of_graph_get_remote_node
	mov	x21, x0
Lloh46:
	adrp	x1, l_.str.17@PAGE
Lloh47:
	add	x1, x1, l_.str.17@PAGEOFF
	bl	_of_device_is_compatible
	cbz	x0, LBB0_54
; %bb.52:
	tbz	w25, #0, LBB0_55
; %bb.53:
Lloh48:
	adrp	x8, _EINVAL@GOTPAGE
Lloh49:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_57
LBB0_54:
	mov	x0, x22
	mov	x1, x19
	bl	_sun4i_rgb_init
	b	LBB0_56
LBB0_55:
	mov	x0, x22
	mov	x1, x19
	bl	_sun4i_lvds_init
LBB0_56:
	mov	x24, x0
LBB0_57:
	mov	x0, x21
	bl	_of_node_put
	tbnz	w24, #31, LBB0_48
; %bb.58:
	ldr	x8, [x19, #8]
LBB0_59:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_61
; %bb.60:
Lloh51:
	adrp	x8, _SUN4I_TCON0_CTL_REG@GOTPAGE
Lloh52:
	ldr	x8, [x8, _SUN4I_TCON0_CTL_REG@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
Lloh54:
	adrp	x8, _SUN4I_TCON0_CTL_SRC_SEL_MASK@GOTPAGE
Lloh55:
	ldr	x8, [x8, _SUN4I_TCON0_CTL_SRC_SEL_MASK@GOTPAGEOFF]
Lloh56:
	ldr	w2, [x8]
	ldp	w3, w0, [x19, #20]
	bl	_regmap_update_bits
Lloh57:
	adrp	x8, _SUN4I_TCON1_CTL_REG@GOTPAGE
Lloh58:
	ldr	x8, [x8, _SUN4I_TCON1_CTL_REG@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
Lloh60:
	adrp	x8, _SUN4I_TCON1_CTL_SRC_SEL_MASK@GOTPAGE
Lloh61:
	ldr	x8, [x8, _SUN4I_TCON1_CTL_SRC_SEL_MASK@GOTPAGEOFF]
Lloh62:
	ldr	w2, [x8]
	ldp	w3, w0, [x19, #20]
	bl	_regmap_update_bits
LBB0_61:
	add	x0, x19, #16
	mov	x1, x20
	bl	_list_add_tail
	mov	w24, #0
	b	LBB0_3
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Couldn't find matching engine\n"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"lcd"

l_.str.2:                               ; @.str.2
	.asciz	"Couldn't get our reset line\n"

l_.str.3:                               ; @.str.3
	.asciz	"edp"

l_.str.4:                               ; @.str.4
	.asciz	"Couldn't get edp reset line\n"

l_.str.5:                               ; @.str.5
	.asciz	"Couldn't deassert edp reset line\n"

l_.str.6:                               ; @.str.6
	.asciz	"Couldn't deassert our reset line\n"

l_.str.7:                               ; @.str.7
	.asciz	"lvds"

l_.str.8:                               ; @.str.8
	.asciz	"lvds-alt"

	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.9:                               ; @.str.9
	.asciz	"Couldn't get the LVDS PLL\n"

l_.str.10:                              ; @.str.10
	.asciz	"Missing LVDS properties, Please upgrade your DT\n"

l_.str.11:                              ; @.str.11
	.asciz	"LVDS output disabled\n"

l_.str.12:                              ; @.str.12
	.asciz	"Couldn't init our TCON clocks\n"

l_.str.13:                              ; @.str.13
	.asciz	"Couldn't init our TCON regmap\n"

l_.str.14:                              ; @.str.14
	.asciz	"Couldn't create our TCON dot clock\n"

l_.str.15:                              ; @.str.15
	.asciz	"Couldn't init our TCON interrupts\n"

l_.str.16:                              ; @.str.16
	.asciz	"Couldn't create our CRTC\n"

l_.str.17:                              ; @.str.17
	.asciz	"panel-lvds"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SUN4I_TCON0_CTL_REG,4,2        ; @SUN4I_TCON0_CTL_REG
	.comm	_SUN4I_TCON0_CTL_SRC_SEL_MASK,4,2 ; @SUN4I_TCON0_CTL_SRC_SEL_MASK
	.comm	_SUN4I_TCON1_CTL_REG,4,2        ; @SUN4I_TCON1_CTL_REG
	.comm	_SUN4I_TCON1_CTL_SRC_SEL_MASK,4,2 ; @SUN4I_TCON1_CTL_SRC_SEL_MASK
	.no_dead_strip	_sun4i_tcon_bind
.subsections_via_symbols
