	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mipi_dsi_dcs_set_page_address  ## -- Begin function mipi_dsi_dcs_set_page_address
	.p2align	4, 0x90
_mipi_dsi_dcs_set_page_address:         ## @mipi_dsi_dcs_set_page_address
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movzbl	%sil, %eax
	sarl	$8, %esi
	movl	%esi, -32(%rbp)
	movl	%eax, -28(%rbp)
	movzbl	%dl, %eax
	sarl	$8, %edx
	movl	%edx, -24(%rbp)
	movl	%eax, -20(%rbp)
	movq	_MIPI_DCS_SET_PAGE_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movl	$16, %ecx
	callq	_mipi_dsi_dcs_write
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-8(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	movq	%rax, %rcx
	sarq	$63, %rcx
	andl	%eax, %ecx
	movl	%ecx, %eax
	addq	$32, %rsp
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MIPI_DCS_SET_PAGE_ADDRESS,4,2  ## @MIPI_DCS_SET_PAGE_ADDRESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mipi_dsi_dcs_set_page_address  ; -- Begin function mipi_dsi_dcs_set_page_address
	.p2align	2
_mipi_dsi_dcs_set_page_address:         ; @mipi_dsi_dcs_set_page_address
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	asr	w8, w1, #8
	and	w9, w1, #0xff
	stp	w8, w9, [sp, #8]
	asr	w8, w2, #8
	and	w9, w2, #0xff
	stp	w8, w9, [sp, #16]
Lloh3:
	adrp	x8, _MIPI_DCS_SET_PAGE_ADDRESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MIPI_DCS_SET_PAGE_ADDRESS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	w3, #16
	bl	_mipi_dsi_dcs_write
	cmp	x0, #0
	csel	x0, x0, xzr, lt
	ldur	x8, [x29, #-8]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MIPI_DCS_SET_PAGE_ADDRESS,4,2  ; @MIPI_DCS_SET_PAGE_ADDRESS
.subsections_via_symbols
