	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mipi_dbi_blank
_mipi_dbi_blank:                        ## @mipi_dbi_blank
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	addq	$12, %rdi
	movl	12(%r12), %r14d
	movl	16(%r12), %ebx
	leaq	-44(%rbp), %rsi
	callq	_drm_dev_enter
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%r14d, %r13d
	movl	%r14d, %eax
	imull	%ebx, %eax
	addl	%eax, %eax
	movslq	%eax, %r14
	leaq	8(%r12), %r15
	movq	(%r12), %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_memset
	movq	_MIPI_DCS_SET_COLUMN_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%bh, %eax
	decl	%ebx
	movzbl	%bl, %r9d
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	_mipi_dbi_command
	movq	_MIPI_DCS_SET_PAGE_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %ecx
	movzbl	%ch, %eax
	decl	%ecx
	movzbl	%cl, %r9d
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	_mipi_dbi_command
	movq	_MIPI_DCS_WRITE_MEMORY_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r12), %rdx
	movq	%r15, %rdi
	movq	%r14, %rcx
	callq	_mipi_dbi_command_buf
	movl	-44(%rbp), %edi
	callq	_drm_dev_exit
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MIPI_DCS_SET_COLUMN_ADDRESS,4,2 ## @MIPI_DCS_SET_COLUMN_ADDRESS
	.comm	_MIPI_DCS_SET_PAGE_ADDRESS,4,2  ## @MIPI_DCS_SET_PAGE_ADDRESS
	.comm	_MIPI_DCS_WRITE_MEMORY_START,4,2 ## @MIPI_DCS_WRITE_MEMORY_START
	.no_dead_strip	_mipi_dbi_blank
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mipi_dbi_blank
_mipi_dbi_blank:                        ; @mipi_dbi_blank
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldp	w22, w23, [x0, #12]!
	add	x1, sp, #12
	bl	_drm_dev_enter
	cbz	w0, LBB0_2
; %bb.1:
	mul	w8, w22, w23
	lsl	w8, w8, #1
	sxtw	x20, w8
	add	x21, x19, #8
	ldr	x0, [x19]
	mov	w1, #0
	mov	x2, x20
	bl	_memset
Lloh0:
	adrp	x8, _MIPI_DCS_SET_COLUMN_ADDRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MIPI_DCS_SET_COLUMN_ADDRESS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ubfx	w4, w23, #8, #8
	sub	w8, w23, #1
	and	w5, w8, #0xff
	mov	x0, x21
	mov	w2, #0
	mov	w3, #0
	bl	_mipi_dbi_command
Lloh3:
	adrp	x8, _MIPI_DCS_SET_PAGE_ADDRESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MIPI_DCS_SET_PAGE_ADDRESS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ubfx	w4, w22, #8, #8
	sub	w8, w22, #1
	and	w5, w8, #0xff
	mov	x0, x21
	mov	w2, #0
	mov	w3, #0
	bl	_mipi_dbi_command
Lloh6:
	adrp	x8, _MIPI_DCS_WRITE_MEMORY_START@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MIPI_DCS_WRITE_MEMORY_START@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	x2, [x19]
	mov	x0, x21
	mov	x3, x20
	bl	_mipi_dbi_command_buf
	ldr	w0, [sp, #12]
	bl	_drm_dev_exit
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MIPI_DCS_SET_COLUMN_ADDRESS,4,2 ; @MIPI_DCS_SET_COLUMN_ADDRESS
	.comm	_MIPI_DCS_SET_PAGE_ADDRESS,4,2  ; @MIPI_DCS_SET_PAGE_ADDRESS
	.comm	_MIPI_DCS_WRITE_MEMORY_START,4,2 ; @MIPI_DCS_WRITE_MEMORY_START
	.no_dead_strip	_mipi_dbi_blank
.subsections_via_symbols
