	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function dsicm_set_update_window
LCPI0_0:
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_dsicm_set_update_window:               ## @dsicm_set_update_window
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
                                        ## kill: def $ecx killed $ecx def $rcx
	movl	%edx, %r15d
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	8(%rdi), %rbx
	leal	-1(%rsi,%rcx), %eax
	movq	_MIPI_DCS_SET_COLUMN_ADDRESS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%esi, %edx
	shrl	$8, %edx
	movd	%edx, %xmm0
	movl	%eax, %edx
	shrl	$8, %edx
	pinsrd	$1, %esi, %xmm0
	pinsrd	$2, %edx, %xmm0
	pinsrd	$3, %eax, %xmm0
	pand	LCPI0_0(%rip), %xmm0
	movl	%ecx, -64(%rbp)
	movdqu	%xmm0, -60(%rbp)
	movq	(%rbx), %rax
	movl	(%rdi), %esi
	leaq	-64(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$20, %ecx
	callq	*(%rax)
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	leal	(%r15,%r12), %eax
	decl	%eax
	movq	_MIPI_DCS_SET_PAGE_ADDRESS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r15d, %edx
	shrl	$8, %edx
	movd	%edx, %xmm0
	movl	%eax, %edx
	shrl	$8, %edx
	pinsrd	$1, %r15d, %xmm0
	pinsrd	$2, %edx, %xmm0
	pinsrd	$3, %eax, %xmm0
	pand	LCPI0_0(%rip), %xmm0
	movl	%ecx, -64(%rbp)
	movdqu	%xmm0, -60(%rbp)
	movq	(%rbx), %rax
	movl	(%r14), %esi
	leaq	-64(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$20, %ecx
	callq	*(%rax)
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	(%rbx), %rax
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	*8(%rax)
	xorl	%eax, %eax
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.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
	.no_dead_strip	_dsicm_set_update_window
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dsicm_set_update_window
_dsicm_set_update_window:               ; @dsicm_set_update_window
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x22, x4
	mov	x21, x2
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x20, [x0, #8]
	add	w8, w1, w3
	sub	w8, w8, #1
Lloh3:
	adrp	x9, _MIPI_DCS_SET_COLUMN_ADDRESS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MIPI_DCS_SET_COLUMN_ADDRESS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ubfx	w10, w1, #8, #8
	stp	w9, w10, [sp, #4]
	and	w9, w1, #0xff
	ubfx	w10, w8, #8, #8
	stp	w9, w10, [sp, #12]
	and	w8, w8, #0xff
	str	w8, [sp, #20]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w1, [x0]
	add	x2, sp, #4
	mov	x0, x20
	mov	w3, #20
	blr	x8
	cbnz	w0, LBB0_3
; %bb.1:
	add	w8, w21, w22
	sub	w8, w8, #1
Lloh6:
	adrp	x9, _MIPI_DCS_SET_PAGE_ADDRESS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MIPI_DCS_SET_PAGE_ADDRESS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ubfx	w10, w21, #8, #8
	stp	w9, w10, [sp, #4]
	and	w9, w21, #0xff
	ubfx	w10, w8, #8, #8
	stp	w9, w10, [sp, #12]
	and	w8, w8, #0xff
	str	w8, [sp, #20]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w1, [x19]
	add	x2, sp, #4
	mov	x0, x20
	mov	w3, #20
	blr	x8
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	ldr	w1, [x19]
	mov	x0, x20
	blr	x8
	mov	w0, #0
LBB0_3:
	ldr	x8, [sp, #24]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	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
	add	sp, sp, #80
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.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
	.no_dead_strip	_dsicm_set_update_window
.subsections_via_symbols
