	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sun4i_backend_commit
_sun4i_backend_commit:                  ## @sun4i_backend_commit
	.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
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_DRIVER
	movl	(%rbx), %edi
	movq	_SUN4I_BACKEND_REGBUFFCTL_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SUN4I_BACKEND_REGBUFFCTL_AUTOLOAD_DIS@GOTPCREL(%rip), %rax
	movq	_SUN4I_BACKEND_REGBUFFCTL_LOADCTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_regmap_write                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Committing changes\n"

	.comm	_SUN4I_BACKEND_REGBUFFCTL_REG,4,2 ## @SUN4I_BACKEND_REGBUFFCTL_REG
	.comm	_SUN4I_BACKEND_REGBUFFCTL_AUTOLOAD_DIS,4,2 ## @SUN4I_BACKEND_REGBUFFCTL_AUTOLOAD_DIS
	.comm	_SUN4I_BACKEND_REGBUFFCTL_LOADCTL,4,2 ## @SUN4I_BACKEND_REGBUFFCTL_LOADCTL
	.no_dead_strip	_sun4i_backend_commit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sun4i_backend_commit
_sun4i_backend_commit:                  ; @sun4i_backend_commit
	.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
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
Lloh2:
	adrp	x8, _SUN4I_BACKEND_REGBUFFCTL_REG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SUN4I_BACKEND_REGBUFFCTL_REG@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _SUN4I_BACKEND_REGBUFFCTL_AUTOLOAD_DIS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SUN4I_BACKEND_REGBUFFCTL_AUTOLOAD_DIS@GOTPAGEOFF]
Lloh7:
	adrp	x9, _SUN4I_BACKEND_REGBUFFCTL_LOADCTL@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SUN4I_BACKEND_REGBUFFCTL_LOADCTL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	ldr	w9, [x9]
	orr	w2, w9, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_regmap_write
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Committing changes\n"

	.comm	_SUN4I_BACKEND_REGBUFFCTL_REG,4,2 ; @SUN4I_BACKEND_REGBUFFCTL_REG
	.comm	_SUN4I_BACKEND_REGBUFFCTL_AUTOLOAD_DIS,4,2 ; @SUN4I_BACKEND_REGBUFFCTL_AUTOLOAD_DIS
	.comm	_SUN4I_BACKEND_REGBUFFCTL_LOADCTL,4,2 ; @SUN4I_BACKEND_REGBUFFCTL_LOADCTL
	.no_dead_strip	_sun4i_backend_commit
.subsections_via_symbols
