	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ingenic_drm_crtc_update_ctrl
_ingenic_drm_crtc_update_ctrl:          ## @ingenic_drm_crtc_update_ctrl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_JZ_LCD_CTRL_OFUP@GOTPCREL(%rip), %rax
	movq	_JZ_LCD_CTRL_BURST_16@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	(%rsi), %eax
	cmpl	$128, %eax
	je	LBB0_5
## %bb.1:
	movl	%edx, %ecx
	cmpl	$130, %eax
	je	LBB0_4
## %bb.2:
	movl	%edx, %ecx
	cmpl	$129, %eax
	jne	LBB0_6
## %bb.3:
	movq	_JZ_LCD_CTRL_RGB555@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	%edx, %ecx
LBB0_4:
	movq	_JZ_LCD_CTRL_BPP_15_16@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	jmp	LBB0_6
LBB0_5:
	movq	_JZ_LCD_CTRL_BPP_18_24@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	%edx, %ecx
LBB0_6:
	movl	(%rdi), %edi
	movq	_JZ_REG_LCD_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_JZ_LCD_CTRL_BPP_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_JZ_LCD_CTRL_OFUP,4,2           ## @JZ_LCD_CTRL_OFUP
	.comm	_JZ_LCD_CTRL_BURST_16,4,2       ## @JZ_LCD_CTRL_BURST_16
	.comm	_JZ_LCD_CTRL_RGB555,4,2         ## @JZ_LCD_CTRL_RGB555
	.comm	_JZ_LCD_CTRL_BPP_15_16,4,2      ## @JZ_LCD_CTRL_BPP_15_16
	.comm	_JZ_LCD_CTRL_BPP_18_24,4,2      ## @JZ_LCD_CTRL_BPP_18_24
	.comm	_JZ_REG_LCD_CTRL,4,2            ## @JZ_REG_LCD_CTRL
	.comm	_JZ_LCD_CTRL_BPP_MASK,4,2       ## @JZ_LCD_CTRL_BPP_MASK
	.no_dead_strip	_ingenic_drm_crtc_update_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ingenic_drm_crtc_update_ctrl
_ingenic_drm_crtc_update_ctrl:          ; @ingenic_drm_crtc_update_ctrl
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _JZ_LCD_CTRL_OFUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JZ_LCD_CTRL_OFUP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _JZ_LCD_CTRL_BURST_16@GOTPAGE
Lloh4:
	ldr	x9, [x9, _JZ_LCD_CTRL_BURST_16@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x1]
	cmp	w9, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w9, #130
	b.eq	LBB0_5
; %bb.2:
	mov	x3, x8
	cmp	w9, #129
	b.ne	LBB0_7
; %bb.3:
Lloh6:
	adrp	x9, _JZ_LCD_CTRL_RGB555@GOTPAGE
Lloh7:
	ldr	x9, [x9, _JZ_LCD_CTRL_RGB555@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w9, w9, w8
	b	LBB0_6
LBB0_4:
Lloh9:
	adrp	x9, _JZ_LCD_CTRL_BPP_18_24@GOTPAGE
Lloh10:
	ldr	x9, [x9, _JZ_LCD_CTRL_BPP_18_24@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w3, w9, w8
	b	LBB0_7
LBB0_5:
	mov	x9, x8
LBB0_6:
Lloh12:
	adrp	x10, _JZ_LCD_CTRL_BPP_15_16@GOTPAGE
Lloh13:
	ldr	x10, [x10, _JZ_LCD_CTRL_BPP_15_16@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w3, w10, w9
LBB0_7:
	ldr	w0, [x0]
Lloh15:
	adrp	x9, _JZ_REG_LCD_CTRL@GOTPAGE
Lloh16:
	ldr	x9, [x9, _JZ_REG_LCD_CTRL@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x9]
Lloh18:
	adrp	x9, _JZ_LCD_CTRL_BPP_MASK@GOTPAGE
Lloh19:
	ldr	x9, [x9, _JZ_LCD_CTRL_BPP_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w2, w9, w8
	b	_regmap_update_bits
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_JZ_LCD_CTRL_OFUP,4,2           ; @JZ_LCD_CTRL_OFUP
	.comm	_JZ_LCD_CTRL_BURST_16,4,2       ; @JZ_LCD_CTRL_BURST_16
	.comm	_JZ_LCD_CTRL_RGB555,4,2         ; @JZ_LCD_CTRL_RGB555
	.comm	_JZ_LCD_CTRL_BPP_15_16,4,2      ; @JZ_LCD_CTRL_BPP_15_16
	.comm	_JZ_LCD_CTRL_BPP_18_24,4,2      ; @JZ_LCD_CTRL_BPP_18_24
	.comm	_JZ_REG_LCD_CTRL,4,2            ; @JZ_REG_LCD_CTRL
	.comm	_JZ_LCD_CTRL_BPP_MASK,4,2       ; @JZ_LCD_CTRL_BPP_MASK
	.no_dead_strip	_ingenic_drm_crtc_update_ctrl
.subsections_via_symbols
