	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mipi_dbi_enable_flush          ## -- Begin function mipi_dbi_enable_flush
	.p2align	4, 0x90
_mipi_dbi_enable_flush:                 ## @mipi_dbi_enable_flush
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdx), %rbx
	movl	(%rbx), %eax
	movl	%eax, -40(%rbp)
	movl	$0, -36(%rbp)
	movl	4(%rbx), %eax
	movl	%eax, -32(%rbp)
	movl	$0, -28(%rbp)
	addq	$8, %rdi
	leaq	-20(%rbp), %rsi
	callq	_drm_dev_enter
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	$1, (%r14)
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_mipi_dbi_fb_dirty
	movl	4(%r14), %edi
	callq	_backlight_enable
	movl	-20(%rbp), %edi
	callq	_drm_dev_exit
LBB0_2:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mipi_dbi_enable_flush          ; -- Begin function mipi_dbi_enable_flush
	.p2align	2
_mipi_dbi_enable_flush:                 ; @mipi_dbi_enable_flush
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x2]
	ldr	w8, [x20]
	stp	w8, wzr, [sp, #16]
	ldr	w8, [x20, #4]
	stp	w8, wzr, [sp, #24]
	add	x0, x0, #8
	add	x1, sp, #12
	bl	_drm_dev_enter
	cbz	w0, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x19]
	add	x1, sp, #16
	mov	x0, x20
	bl	_mipi_dbi_fb_dirty
	ldr	w0, [x19, #4]
	bl	_backlight_enable
	ldr	w0, [sp, #12]
	bl	_drm_dev_exit
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
