	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function a10fb_setup_debe
_a10fb_setup_debe:                      ## @a10fb_setup_debe
	.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	_VID_INTERLACE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	andl	(%rsi), %r13d
	movq	%rdi, %r14
	setne	%cl
	movl	4(%rsi), %r15d
	movl	8(%rsi), %ebx
	shll	%cl, %ebx
	movl	4(%rdi), %edi
	leaq	L_.str(%rip), %rdx
	leaq	-52(%rbp), %rcx
	xorl	%esi, %esi
	callq	_hwreset_get_by_ofw_name
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r12d
	movl	4(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_device_printf
	jmp	LBB0_22
LBB0_2:
	movl	-52(%rbp), %edi
	callq	_hwreset_deassert
	movl	4(%r14), %edi
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r12d
	leaq	L_.str.2(%rip), %rsi
	callq	_device_printf
	jmp	LBB0_22
LBB0_4:
	leaq	L_.str.3(%rip), %rdx
	leaq	-60(%rbp), %rcx
	xorl	%esi, %esi
	callq	_clk_get_by_ofw_name
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %r12d
	movl	4(%r14), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_device_printf
	jmp	LBB0_22
LBB0_6:
	movl	-60(%rbp), %edi
	callq	_clk_enable
	movl	4(%r14), %edi
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %r12d
	leaq	L_.str.5(%rip), %rsi
	callq	_device_printf
	jmp	LBB0_22
LBB0_8:
	leaq	L_.str.6(%rip), %rdx
	leaq	-56(%rbp), %rcx
	xorl	%esi, %esi
	callq	_clk_get_by_ofw_name
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %r12d
	movl	4(%r14), %edi
	leaq	L_.str.7(%rip), %rsi
	callq	_device_printf
	jmp	LBB0_22
LBB0_10:
	movl	-56(%rbp), %edi
	callq	_clk_enable
	movl	4(%r14), %edi
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	%eax, %r12d
	leaq	L_.str.8(%rip), %rsi
	callq	_device_printf
	jmp	LBB0_22
LBB0_12:
	leaq	L_.str(%rip), %rdx
	leaq	-48(%rbp), %rcx
	xorl	%esi, %esi
	callq	_clk_get_by_ofw_name
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movl	%eax, %r12d
	movl	4(%r14), %edi
	leaq	L_.str.9(%rip), %rsi
	callq	_device_printf
	jmp	LBB0_22
LBB0_14:
	movl	-48(%rbp), %edi
	movq	_DEBE_FREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CLK_SET_ROUND_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_clk_set_freq
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movl	%eax, %r12d
	movl	4(%r14), %edi
	leaq	L_.str.10(%rip), %rsi
	callq	_device_printf
	jmp	LBB0_22
LBB0_16:
	movl	-48(%rbp), %edi
	callq	_clk_enable
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movl	%eax, %r12d
	movl	4(%r14), %edi
	leaq	L_.str.11(%rip), %rsi
	callq	_device_printf
	jmp	LBB0_22
LBB0_18:
	movq	_DEBE_REG_START@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_DEBE_REG_END@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jge	LBB0_21
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
	callq	_DEBE_WRITE
	movq	_DEBE_REG_END@GOTPCREL(%rip), %rax
	movq	_DEBE_REG_WIDTH@GOTPCREL(%rip), %rcx
	addl	(%rcx), %r12d
	cmpl	(%rax), %r12d
	jl	LBB0_19
LBB0_21:
	movq	_DEBE_MODCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MODCTL_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_DEBE_WRITE
	movq	_DEBE_DISSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_DIS_HEIGHT
	movl	%eax, %r12d
	movl	%r15d, %edi
	callq	_DIS_WIDTH
	orl	%eax, %r12d
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	callq	_DEBE_WRITE
	movq	_DEBE_LAYSIZE0@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%ebx, %edi
	callq	_LAY_HEIGHT
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_LAY_WIDTH
	orl	%eax, %ebx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_DEBE_WRITE
	movq	_DEBE_LAYCOOR0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	callq	_LAY_XCOOR
	movl	%eax, %ebx
	xorl	%edi, %edi
	callq	_LAY_YCOOR
	orl	%eax, %ebx
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_DEBE_WRITE
	movq	_DEBE_LAYLINEWIDTH0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FB_BPP@GOTPCREL(%rip), %rax
	imull	(%rax), %r15d
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_DEBE_WRITE
	movq	_DEBE_LAYFB_L32ADD0@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r14), %edi
	callq	_LAYFB_L32ADD
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_DEBE_WRITE
	movq	_DEBE_LAYFB_H4ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r14), %edi
	callq	_LAY0FB_H4ADD
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_DEBE_WRITE
	movq	_DEBE_ATTCTL1@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_FBFMT_XRGB8888@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ATTCTL1_FBFMT
	movl	%eax, %ebx
	movq	_FBPS_32BPP_ARGB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ATTCTL1_FBPS
	orl	%eax, %ebx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_DEBE_WRITE
	movq	_DEBE_MODCTL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_DEBE_READ
	movq	_MODCTL_LAY0_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_MODCTL_OUT_SEL_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	_OUT_SEL_LCD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MODCTL_OUT_SEL
	orl	%eax, %ebx
	movq	_MODCTL_ITLMOD_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, %eax
	orl	%ebx, %eax
	notl	%edx
	andl	%ebx, %edx
	testl	%r13d, %r13d
	cmovnel	%eax, %edx
	movq	%r15, %rbx
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_DEBE_WRITE
	movq	_DEBE_REGBUFFCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_REGBUFFCTL_LOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_DEBE_WRITE
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_DEBE_READ
	movq	_MODCTL_START_CTL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_DEBE_WRITE
LBB0_22:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VID_INTERLACE,4,2              ## @VID_INTERLACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"de_be"

L_.str.1:                               ## @.str.1
	.asciz	"cannot find reset 'de_be'\n"

L_.str.2:                               ## @.str.2
	.asciz	"couldn't de-assert reset 'de_be'\n"

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

L_.str.4:                               ## @.str.4
	.asciz	"cannot find clk 'ahb_de_be'\n"

L_.str.5:                               ## @.str.5
	.asciz	"cannot enable clk 'ahb_de_be'\n"

L_.str.6:                               ## @.str.6
	.asciz	"dram_de_be"

L_.str.7:                               ## @.str.7
	.asciz	"cannot find clk 'dram_de_be'\n"

L_.str.8:                               ## @.str.8
	.asciz	"cannot enable clk 'dram_de_be'\n"

L_.str.9:                               ## @.str.9
	.asciz	"cannot find clk 'de_be'\n"

	.comm	_DEBE_FREQ,4,2                  ## @DEBE_FREQ
	.comm	_CLK_SET_ROUND_DOWN,4,2         ## @CLK_SET_ROUND_DOWN
L_.str.10:                              ## @.str.10
	.asciz	"cannot set 'de_be' frequency\n"

L_.str.11:                              ## @.str.11
	.asciz	"cannot enable clk 'de_be'\n"

	.comm	_DEBE_REG_START,4,2             ## @DEBE_REG_START
	.comm	_DEBE_REG_END,4,2               ## @DEBE_REG_END
	.comm	_DEBE_REG_WIDTH,8,3             ## @DEBE_REG_WIDTH
	.comm	_DEBE_MODCTL,4,2                ## @DEBE_MODCTL
	.comm	_MODCTL_EN,4,2                  ## @MODCTL_EN
	.comm	_DEBE_DISSIZE,4,2               ## @DEBE_DISSIZE
	.comm	_DEBE_LAYSIZE0,4,2              ## @DEBE_LAYSIZE0
	.comm	_DEBE_LAYCOOR0,4,2              ## @DEBE_LAYCOOR0
	.comm	_DEBE_LAYLINEWIDTH0,4,2         ## @DEBE_LAYLINEWIDTH0
	.comm	_FB_BPP,4,2                     ## @FB_BPP
	.comm	_DEBE_LAYFB_L32ADD0,4,2         ## @DEBE_LAYFB_L32ADD0
	.comm	_DEBE_LAYFB_H4ADD,4,2           ## @DEBE_LAYFB_H4ADD
	.comm	_DEBE_ATTCTL1,4,2               ## @DEBE_ATTCTL1
	.comm	_FBFMT_XRGB8888,4,2             ## @FBFMT_XRGB8888
	.comm	_FBPS_32BPP_ARGB,4,2            ## @FBPS_32BPP_ARGB
	.comm	_MODCTL_LAY0_EN,4,2             ## @MODCTL_LAY0_EN
	.comm	_MODCTL_OUT_SEL_MASK,4,2        ## @MODCTL_OUT_SEL_MASK
	.comm	_OUT_SEL_LCD,4,2                ## @OUT_SEL_LCD
	.comm	_MODCTL_ITLMOD_EN,4,2           ## @MODCTL_ITLMOD_EN
	.comm	_DEBE_REGBUFFCTL,4,2            ## @DEBE_REGBUFFCTL
	.comm	_REGBUFFCTL_LOAD,4,2            ## @REGBUFFCTL_LOAD
	.comm	_MODCTL_START_CTL,4,2           ## @MODCTL_START_CTL
	.no_dead_strip	_a10fb_setup_debe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function a10fb_setup_debe
_a10fb_setup_debe:                      ; @a10fb_setup_debe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
Lloh0:
	adrp	x8, _VID_INTERLACE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VID_INTERLACE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w9, w20, [x1]
	ands	w24, w8, w9
	cset	w22, ne
	ldr	w23, [x1, #8]
	ldr	w0, [x0, #4]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x3, sp, #16
	mov	w1, #0
	bl	_hwreset_get_by_ofw_name
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
	ldr	w0, [x19, #4]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_device_printf
	b	LBB0_22
LBB0_2:
	ldr	w0, [sp, #16]
	bl	_hwreset_deassert
	mov	x21, x0
	ldr	w0, [x19, #4]
	cbz	w21, LBB0_4
; %bb.3:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_device_printf
	b	LBB0_22
LBB0_4:
Lloh9:
	adrp	x2, l_.str.3@PAGE
Lloh10:
	add	x2, x2, l_.str.3@PAGEOFF
	add	x3, sp, #28
	mov	w1, #0
	bl	_clk_get_by_ofw_name
	cbz	w0, LBB0_6
; %bb.5:
	mov	x21, x0
	ldr	w0, [x19, #4]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_device_printf
	b	LBB0_22
LBB0_6:
	ldr	w0, [sp, #28]
	bl	_clk_enable
	mov	x21, x0
	ldr	w0, [x19, #4]
	cbz	w21, LBB0_8
; %bb.7:
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_device_printf
	b	LBB0_22
LBB0_8:
Lloh15:
	adrp	x2, l_.str.6@PAGE
Lloh16:
	add	x2, x2, l_.str.6@PAGEOFF
	add	x3, sp, #24
	mov	w1, #0
	bl	_clk_get_by_ofw_name
	cbz	w0, LBB0_10
; %bb.9:
	mov	x21, x0
	ldr	w0, [x19, #4]
Lloh17:
	adrp	x1, l_.str.7@PAGE
Lloh18:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_device_printf
	b	LBB0_22
LBB0_10:
	ldr	w0, [sp, #24]
	bl	_clk_enable
	mov	x21, x0
	ldr	w0, [x19, #4]
	cbz	w21, LBB0_12
; %bb.11:
Lloh19:
	adrp	x1, l_.str.8@PAGE
Lloh20:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_device_printf
	b	LBB0_22
LBB0_12:
Lloh21:
	adrp	x2, l_.str@PAGE
Lloh22:
	add	x2, x2, l_.str@PAGEOFF
	add	x3, sp, #20
	mov	w1, #0
	bl	_clk_get_by_ofw_name
	cbz	w0, LBB0_14
; %bb.13:
	mov	x21, x0
	ldr	w0, [x19, #4]
Lloh23:
	adrp	x1, l_.str.9@PAGE
Lloh24:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_device_printf
	b	LBB0_22
LBB0_14:
	ldr	w0, [sp, #20]
Lloh25:
	adrp	x8, _DEBE_FREQ@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DEBE_FREQ@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x8, _CLK_SET_ROUND_DOWN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _CLK_SET_ROUND_DOWN@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	bl	_clk_set_freq
	cbz	w0, LBB0_16
; %bb.15:
	mov	x21, x0
	ldr	w0, [x19, #4]
Lloh31:
	adrp	x1, l_.str.10@PAGE
Lloh32:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_device_printf
	b	LBB0_22
LBB0_16:
	ldr	w0, [sp, #20]
	bl	_clk_enable
	cbz	w0, LBB0_18
; %bb.17:
	mov	x21, x0
	ldr	w0, [x19, #4]
Lloh33:
	adrp	x1, l_.str.11@PAGE
Lloh34:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_device_printf
	b	LBB0_22
LBB0_18:
	str	w24, [sp, #12]                  ; 4-byte Folded Spill
Lloh35:
	adrp	x8, _DEBE_REG_START@GOTPAGE
Lloh36:
	ldr	x8, [x8, _DEBE_REG_START@GOTPAGEOFF]
	lsl	w21, w23, w22
Lloh37:
	ldr	w22, [x8]
Lloh38:
	adrp	x23, _DEBE_REG_END@GOTPAGE
Lloh39:
	ldr	x23, [x23, _DEBE_REG_END@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w22, w8
	b.ge	LBB0_21
; %bb.19:
Lloh40:
	adrp	x24, _DEBE_REG_WIDTH@GOTPAGE
Lloh41:
	ldr	x24, [x24, _DEBE_REG_WIDTH@GOTPAGEOFF]
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	bl	_DEBE_WRITE
	ldr	w8, [x24]
	ldr	w9, [x23]
	add	w22, w22, w8
	cmp	w22, w9
	b.lt	LBB0_20
LBB0_21:
Lloh42:
	adrp	x24, _DEBE_MODCTL@GOTPAGE
Lloh43:
	ldr	x24, [x24, _DEBE_MODCTL@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh44:
	adrp	x8, _MODCTL_EN@GOTPAGE
Lloh45:
	ldr	x8, [x8, _MODCTL_EN@GOTPAGEOFF]
Lloh46:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_DEBE_WRITE
Lloh47:
	adrp	x8, _DEBE_DISSIZE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _DEBE_DISSIZE@GOTPAGEOFF]
Lloh49:
	ldr	w22, [x8]
	mov	x0, x21
	bl	_DIS_HEIGHT
	mov	x23, x0
	mov	x0, x20
	bl	_DIS_WIDTH
	orr	w2, w0, w23
	mov	x0, x19
	mov	x1, x22
	bl	_DEBE_WRITE
Lloh50:
	adrp	x8, _DEBE_LAYSIZE0@GOTPAGE
Lloh51:
	ldr	x8, [x8, _DEBE_LAYSIZE0@GOTPAGEOFF]
Lloh52:
	ldr	w22, [x8]
	mov	x0, x21
	bl	_LAY_HEIGHT
	mov	x21, x0
	mov	x0, x20
	bl	_LAY_WIDTH
	orr	w2, w0, w21
	mov	x0, x19
	mov	x1, x22
	bl	_DEBE_WRITE
Lloh53:
	adrp	x8, _DEBE_LAYCOOR0@GOTPAGE
Lloh54:
	ldr	x8, [x8, _DEBE_LAYCOOR0@GOTPAGEOFF]
Lloh55:
	ldr	w21, [x8]
	mov	w0, #0
	bl	_LAY_XCOOR
	mov	x22, x0
	mov	w0, #0
	bl	_LAY_YCOOR
	orr	w2, w0, w22
	mov	x0, x19
	mov	x1, x21
	bl	_DEBE_WRITE
Lloh56:
	adrp	x8, _DEBE_LAYLINEWIDTH0@GOTPAGE
Lloh57:
	ldr	x8, [x8, _DEBE_LAYLINEWIDTH0@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
Lloh59:
	adrp	x8, _FB_BPP@GOTPAGE
Lloh60:
	ldr	x8, [x8, _FB_BPP@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	mul	w2, w8, w20
	mov	x0, x19
	bl	_DEBE_WRITE
Lloh62:
	adrp	x8, _DEBE_LAYFB_L32ADD0@GOTPAGE
Lloh63:
	ldr	x8, [x8, _DEBE_LAYFB_L32ADD0@GOTPAGEOFF]
Lloh64:
	ldr	w20, [x8]
	ldr	w0, [x19]
	bl	_LAYFB_L32ADD
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_DEBE_WRITE
Lloh65:
	adrp	x8, _DEBE_LAYFB_H4ADD@GOTPAGE
Lloh66:
	ldr	x8, [x8, _DEBE_LAYFB_H4ADD@GOTPAGEOFF]
Lloh67:
	ldr	w20, [x8]
	ldr	w0, [x19]
	bl	_LAY0FB_H4ADD
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_DEBE_WRITE
Lloh68:
	adrp	x8, _DEBE_ATTCTL1@GOTPAGE
Lloh69:
	ldr	x8, [x8, _DEBE_ATTCTL1@GOTPAGEOFF]
Lloh70:
	ldr	w20, [x8]
Lloh71:
	adrp	x8, _FBFMT_XRGB8888@GOTPAGE
Lloh72:
	ldr	x8, [x8, _FBFMT_XRGB8888@GOTPAGEOFF]
Lloh73:
	ldr	w0, [x8]
	bl	_ATTCTL1_FBFMT
	mov	x21, x0
Lloh74:
	adrp	x8, _FBPS_32BPP_ARGB@GOTPAGE
Lloh75:
	ldr	x8, [x8, _FBPS_32BPP_ARGB@GOTPAGEOFF]
Lloh76:
	ldr	w0, [x8]
	bl	_ATTCTL1_FBPS
	orr	w2, w0, w21
	mov	x0, x19
	mov	x1, x20
	bl	_DEBE_WRITE
	ldr	w1, [x24]
	mov	x0, x19
	bl	_DEBE_READ
Lloh77:
	adrp	x8, _MODCTL_LAY0_EN@GOTPAGE
Lloh78:
	ldr	x8, [x8, _MODCTL_LAY0_EN@GOTPAGEOFF]
Lloh79:
	ldr	w8, [x8]
Lloh80:
	adrp	x9, _MODCTL_OUT_SEL_MASK@GOTPAGE
Lloh81:
	ldr	x9, [x9, _MODCTL_OUT_SEL_MASK@GOTPAGEOFF]
	orr	w8, w8, w0
Lloh82:
	ldr	w9, [x9]
	bic	w20, w8, w9
Lloh83:
	adrp	x8, _OUT_SEL_LCD@GOTPAGE
Lloh84:
	ldr	x8, [x8, _OUT_SEL_LCD@GOTPAGEOFF]
Lloh85:
	ldr	w0, [x8]
	bl	_MODCTL_OUT_SEL
	orr	w8, w0, w20
Lloh86:
	adrp	x9, _MODCTL_ITLMOD_EN@GOTPAGE
Lloh87:
	ldr	x9, [x9, _MODCTL_ITLMOD_EN@GOTPAGEOFF]
Lloh88:
	ldr	w9, [x9]
	orr	w10, w9, w8
	bic	w9, w8, w9
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, #0
	csel	w2, w10, w9, ne
	ldr	w1, [x24]
	mov	x0, x19
	bl	_DEBE_WRITE
Lloh89:
	adrp	x8, _DEBE_REGBUFFCTL@GOTPAGE
Lloh90:
	ldr	x8, [x8, _DEBE_REGBUFFCTL@GOTPAGEOFF]
Lloh91:
	ldr	w1, [x8]
Lloh92:
	adrp	x8, _REGBUFFCTL_LOAD@GOTPAGE
Lloh93:
	ldr	x8, [x8, _REGBUFFCTL_LOAD@GOTPAGEOFF]
Lloh94:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_DEBE_WRITE
	ldr	w1, [x24]
	mov	x0, x19
	bl	_DEBE_READ
Lloh95:
	adrp	x8, _MODCTL_START_CTL@GOTPAGE
Lloh96:
	ldr	x8, [x8, _MODCTL_START_CTL@GOTPAGEOFF]
Lloh97:
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	w1, [x24]
	mov	x0, x19
	bl	_DEBE_WRITE
	mov	w21, #0
LBB0_22:
	mov	x0, x21
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	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 AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_VID_INTERLACE,4,2              ; @VID_INTERLACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"de_be"

l_.str.1:                               ; @.str.1
	.asciz	"cannot find reset 'de_be'\n"

l_.str.2:                               ; @.str.2
	.asciz	"couldn't de-assert reset 'de_be'\n"

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

l_.str.4:                               ; @.str.4
	.asciz	"cannot find clk 'ahb_de_be'\n"

l_.str.5:                               ; @.str.5
	.asciz	"cannot enable clk 'ahb_de_be'\n"

l_.str.6:                               ; @.str.6
	.asciz	"dram_de_be"

l_.str.7:                               ; @.str.7
	.asciz	"cannot find clk 'dram_de_be'\n"

l_.str.8:                               ; @.str.8
	.asciz	"cannot enable clk 'dram_de_be'\n"

l_.str.9:                               ; @.str.9
	.asciz	"cannot find clk 'de_be'\n"

	.comm	_DEBE_FREQ,4,2                  ; @DEBE_FREQ
	.comm	_CLK_SET_ROUND_DOWN,4,2         ; @CLK_SET_ROUND_DOWN
l_.str.10:                              ; @.str.10
	.asciz	"cannot set 'de_be' frequency\n"

l_.str.11:                              ; @.str.11
	.asciz	"cannot enable clk 'de_be'\n"

	.comm	_DEBE_REG_START,4,2             ; @DEBE_REG_START
	.comm	_DEBE_REG_END,4,2               ; @DEBE_REG_END
	.comm	_DEBE_REG_WIDTH,8,3             ; @DEBE_REG_WIDTH
	.comm	_DEBE_MODCTL,4,2                ; @DEBE_MODCTL
	.comm	_MODCTL_EN,4,2                  ; @MODCTL_EN
	.comm	_DEBE_DISSIZE,4,2               ; @DEBE_DISSIZE
	.comm	_DEBE_LAYSIZE0,4,2              ; @DEBE_LAYSIZE0
	.comm	_DEBE_LAYCOOR0,4,2              ; @DEBE_LAYCOOR0
	.comm	_DEBE_LAYLINEWIDTH0,4,2         ; @DEBE_LAYLINEWIDTH0
	.comm	_FB_BPP,4,2                     ; @FB_BPP
	.comm	_DEBE_LAYFB_L32ADD0,4,2         ; @DEBE_LAYFB_L32ADD0
	.comm	_DEBE_LAYFB_H4ADD,4,2           ; @DEBE_LAYFB_H4ADD
	.comm	_DEBE_ATTCTL1,4,2               ; @DEBE_ATTCTL1
	.comm	_FBFMT_XRGB8888,4,2             ; @FBFMT_XRGB8888
	.comm	_FBPS_32BPP_ARGB,4,2            ; @FBPS_32BPP_ARGB
	.comm	_MODCTL_LAY0_EN,4,2             ; @MODCTL_LAY0_EN
	.comm	_MODCTL_OUT_SEL_MASK,4,2        ; @MODCTL_OUT_SEL_MASK
	.comm	_OUT_SEL_LCD,4,2                ; @OUT_SEL_LCD
	.comm	_MODCTL_ITLMOD_EN,4,2           ; @MODCTL_ITLMOD_EN
	.comm	_DEBE_REGBUFFCTL,4,2            ; @DEBE_REGBUFFCTL
	.comm	_REGBUFFCTL_LOAD,4,2            ; @REGBUFFCTL_LOAD
	.comm	_MODCTL_START_CTL,4,2           ; @MODCTL_START_CTL
	.no_dead_strip	_a10fb_setup_debe
.subsections_via_symbols
