	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sun4i_backend_cleanup_layer    ## -- Begin function sun4i_backend_cleanup_layer
	.p2align	4, 0x90
_sun4i_backend_cleanup_layer:           ## @sun4i_backend_cleanup_layer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	(%rdi), %ebx
	movl	%esi, %edi
	callq	_SUN4I_BACKEND_ATTCTL_REG0
	movq	_SUN4I_BACKEND_ATTCTL_REG0_LAY_VDOEN@GOTPCREL(%rip), %rcx
	movq	_SUN4I_BACKEND_ATTCTL_REG0_LAY_YUVEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SUN4I_BACKEND_ATTCTL_REG0_LAY_VDOEN,4,2 ## @SUN4I_BACKEND_ATTCTL_REG0_LAY_VDOEN
	.comm	_SUN4I_BACKEND_ATTCTL_REG0_LAY_YUVEN,4,2 ## @SUN4I_BACKEND_ATTCTL_REG0_LAY_YUVEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sun4i_backend_cleanup_layer    ; -- Begin function sun4i_backend_cleanup_layer
	.p2align	2
_sun4i_backend_cleanup_layer:           ; @sun4i_backend_cleanup_layer
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w19, [x0]
	mov	x0, x1
	bl	_SUN4I_BACKEND_ATTCTL_REG0
	mov	x1, x0
Lloh0:
	adrp	x8, _SUN4I_BACKEND_ATTCTL_REG0_LAY_VDOEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUN4I_BACKEND_ATTCTL_REG0_LAY_VDOEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SUN4I_BACKEND_ATTCTL_REG0_LAY_YUVEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SUN4I_BACKEND_ATTCTL_REG0_LAY_YUVEN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	mov	w3, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_regmap_update_bits
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SUN4I_BACKEND_ATTCTL_REG0_LAY_VDOEN,4,2 ; @SUN4I_BACKEND_ATTCTL_REG0_LAY_VDOEN
	.comm	_SUN4I_BACKEND_ATTCTL_REG0_LAY_YUVEN,4,2 ; @SUN4I_BACKEND_ATTCTL_REG0_LAY_YUVEN
.subsections_via_symbols
