	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function dsi_vm_calc_blanking
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	4                               ## 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_dsi_vm_calc_blanking:                  ## @dsi_vm_calc_blanking
	.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
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	176(%rdi), %r14
	movq	184(%rdi), %r15
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	24(%r14), %edi
	callq	_dsi_get_pixel_size
	movl	(%r15), %r12d
	decl	%r12d
	movl	168(%rbx), %ecx
	leal	3(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, %ecx
	sarl	$4, %ecx
	movl	%r12d, %r13d
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	imull	%ecx, %r13d
	shll	$3, %r13d
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	16(%r14), %rdx
	movq	(%rbx), %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	8(%rbx), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	160(%rbx), %rcx
	movl	%eax, %r14d
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	imull	%ecx, %r14d
	movl	(%rdx), %ecx
	movl	4(%rdx), %esi
	addl	%ecx, %esi
	addl	8(%rdx), %esi
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	addl	12(%rdx), %esi
	movl	%esi, -112(%rbp)                ## 4-byte Spill
	movl	%ecx, -116(%rbp)                ## 4-byte Spill
	movl	%ecx, %r15d
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	imull	%eax, %r15d
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	movq	16(%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%r15d, %edi
	movl	$8, %esi
	callq	_DIV_ROUND_UP
                                        ## kill: def $eax killed $eax def $rax
	leal	6(%rax), %edi
	movl	%r12d, -68(%rbp)                ## 4-byte Spill
	movl	%r12d, %esi
	callq	_DIV_ROUND_UP
	leal	7(%r15), %ecx
	testl	%r15d, %r15d
	cmovnsl	%r15d, %ecx
	movl	%eax, %ebx
	sarl	$3, %ecx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	%ecx, 4(%rax)
	jge	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	cmpl	%r13d, %r14d
	je	LBB0_3
	jmp	LBB0_31
LBB0_2:
	xorl	%eax, %eax
	cmpl	%r13d, %r14d
	jl	LBB0_31
LBB0_3:
	movslq	%r13d, %rdi
	movslq	-72(%rbp), %rcx                 ## 4-byte Folded Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	imulq	%rcx, %rdx
	xorl	%eax, %eax
	cmpq	%rdi, %rdx
	ja	LBB0_31
## %bb.4:
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rdx
	movq	_OMAP_DSS_DSI_BURST_MODE@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_6
## %bb.5:
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	imulq	%rcx, %rdx
	cmpq	%rdi, %rdx
	jb	LBB0_31
LBB0_6:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	$4, %edi
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_DIV_ROUND_UP
	movl	%eax, %r15d
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_OMAP_DSS_DSI_PULSE_MODE@GOTPCREL(%rip), %rcx
	movl	$0, %r12d
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.7:
	cmpl	$3, %ebx
	jne	LBB0_10
## %bb.8:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, 12(%rax)
	je	LBB0_9
LBB0_10:
	movl	$4, %edi
	movl	%ebx, %esi
	callq	_DIV_ROUND_UP
	movl	%eax, %r12d
LBB0_11:
	movl	-112(%rbp), %edi                ## 4-byte Reload
	imull	-56(%rbp), %edi                 ## 4-byte Folded Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_div64_u64
	leal	(%r12,%r15), %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	%edx, %ecx
	cmpl	%ecx, %eax
	jge	LBB0_12
LBB0_30:
	xorl	%eax, %eax
	jmp	LBB0_31
LBB0_12:
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	sarl	$2, %ecx
	movslq	%ecx, %r12
	movq	%r12, %r14
	shrq	$2, %r14
	movslq	%eax, %r15
	imulq	-128(%rbp), %r15                ## 8-byte Folded Reload
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	%eax, %r13d
	callq	_div64_u64
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, %ebx
	cltq
	imulq	%r14, %rax
	cmpq	%rax, %r15
	movl	$0, %eax
	jne	LBB0_31
## %bb.13:
	subl	%ecx, %r13d
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	movq	-136(%rbp), %r13                ## 8-byte Reload
	leaq	64(%r13), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	$96, %edx
	callq	_memset
	movq	%r12, 64(%r13)
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 72(%r13)
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 76(%r13)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_OMAP_DSS_DSI_PULSE_MODE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	jne	LBB0_17
## %bb.14:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %edi
	cmpl	$3, %ecx
	jne	LBB0_16
## %bb.15:
	testl	%edi, %edi
	je	LBB0_17
LBB0_16:
	imull	-56(%rbp), %edi                 ## 4-byte Folded Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_div64_u64
	subl	-88(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, %edi
	movl	$1, %esi
	callq	_max
	movl	%eax, %r14d
LBB0_17:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	imull	8(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_div64_u64
	movl	%eax, %edi
	movl	$1, %esi
	callq	_max
	movl	%eax, %r12d
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leal	(%rax,%r14), %ebx
	movl	-48(%rbp), %eax                 ## 4-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	subl	%ebx, %eax
	subl	%r12d, %eax
	testl	%eax, %eax
	jg	LBB0_22
## %bb.18:
	leal	(%r12,%rax), %edi
	decl	%edi
	movl	$1, %esi
	callq	_max
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, %r12d
	addl	%eax, %ebx
	movl	%ecx, %eax
	subl	%ebx, %eax
	testl	%eax, %eax
	jg	LBB0_21
## %bb.19:
	testl	%r14d, %r14d
	jle	LBB0_21
## %bb.20:
	leal	(%r14,%rax), %edi
	decl	%edi
	movl	$1, %esi
	movl	%ecx, %ebx
	callq	_max
	movl	%eax, %r14d
	movq	-104(%rbp), %rax                ## 8-byte Reload
	addl	%r12d, %eax
	addl	%r14d, %eax
	subl	%eax, %ebx
	movl	%ebx, %eax
LBB0_21:
	testl	%eax, %eax
	jle	LBB0_30
LBB0_22:
	movl	-116(%rbp), %ecx                ## 4-byte Reload
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	subl	%ecx, %r15d
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movl	%edx, 80(%r13)
	movl	%r14d, 84(%r13)
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	%edx, 88(%r13)
	movl	%r12d, 92(%r13)
	movl	%ecx, 96(%r13)
	movl	%eax, 100(%r13)
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movups	24(%rbx), %xmm0
	movups	%xmm0, 144(%r13)
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rax
	movq	%rax, 104(%r13)
	movq	$0, 136(%r13)
	movl	8(%rcx), %eax
	movl	%eax, 128(%r13)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,1,4]
	movups	%xmm0, 112(%r13)
	movups	(%rbx), %xmm0
	movups	16(%rbx), %xmm1
	movups	%xmm1, 40(%r13)
	movups	%xmm0, 24(%r13)
	movq	32(%rbx), %rax
	movq	%rax, 56(%r13)
	movq	-128(%rbp), %r14                ## 8-byte Reload
	movq	%r14, 40(%r13)
	movq	(%rcx), %rax
	movq	_OMAP_DSS_DSI_PULSE_MODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	$1, %r12d
	jne	LBB0_24
## %bb.23:
	movl	12(%rbx), %edi
	imull	%r14d, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_div64_u64
	movl	%eax, %edi
	movl	$1, %esi
	callq	_max
	movl	%eax, %r12d
LBB0_24:
	movl	8(%rbx), %edi
	imull	%r14d, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_div64_u64
	movl	%eax, %edi
	movl	$1, %esi
	callq	_max
	movl	%eax, %r14d
	movl	%r15d, %ebx
	subl	%r12d, %ebx
	movl	%ebx, %eax
	subl	%r14d, %eax
	jle	LBB0_26
## %bb.25:
	movl	%eax, %ebx
	jmp	LBB0_27
LBB0_9:
	movl	$1, %r12d
	jmp	LBB0_11
LBB0_26:
	leal	-1(%rbx), %edi
	movl	$1, %esi
	callq	_max
	movl	%eax, %r14d
	subl	%eax, %ebx
	jle	LBB0_29
LBB0_27:
	movl	$1, %eax
LBB0_28:
	movl	%ebx, 28(%r13)
	movl	%r12d, 36(%r13)
	movl	%r14d, 32(%r13)
LBB0_31:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	leal	(%r12,%rbx), %edi
	decl	%edi
	movl	$1, %esi
	callq	_max
	movl	%eax, %r12d
	movl	%r14d, %eax
	addl	%r12d, %eax
	subl	%eax, %r15d
	movl	%r15d, %ebx
	testl	%r15d, %r15d
	movl	$1, %eax
	jg	LBB0_28
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_OMAP_DSS_DSI_BURST_MODE,8,3    ## @OMAP_DSS_DSI_BURST_MODE
	.comm	_OMAP_DSS_DSI_PULSE_MODE,8,3    ## @OMAP_DSS_DSI_PULSE_MODE
	.no_dead_strip	_dsi_vm_calc_blanking
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function dsi_vm_calc_blanking
lCPI0_0:
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_dsi_vm_calc_blanking:                  ; @dsi_vm_calc_blanking
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldp	x21, x26, [x0, #176]
	ldr	w0, [x21, #24]
	bl	_dsi_get_pixel_size
	mov	x24, x0
	ldr	w8, [x26]
	sub	w23, w8, #1
	ldr	w8, [x19, #168]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	asr	w8, w8, #4
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
	mul	w8, w23, w8
	lsl	w20, w8, #3
	ldr	x22, [x21, #16]
	ldp	x27, x28, [x19]
	ldr	x8, [x19, #16]
	stp	x8, x21, [sp, #48]              ; 16-byte Folded Spill
	ldr	x8, [x19, #160]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	mul	w25, w0, w8
	ldp	w8, w10, [x22]
	ldr	w9, [x22, #8]
	stp	w9, w10, [sp, #32]              ; 8-byte Folded Spill
	ldr	w9, [x22, #12]
	str	w9, [sp, #24]                   ; 4-byte Folded Spill
	str	w8, [sp, #40]                   ; 4-byte Folded Spill
	mul	w21, w8, w0
	mov	x0, x21
	mov	w1, #8
	bl	_DIV_ROUND_UP
	add	w0, w0, #6
	mov	x1, x23
	bl	_DIV_ROUND_UP
	ldr	w8, [x26, #4]
	add	w9, w21, #7
	cmp	w21, #0
	csel	w9, w9, w21, lt
	cmp	w8, w9, asr #3
	b.ge	LBB0_2
; %bb.1:
	cmp	w25, w20
	b.eq	LBB0_3
	b	LBB0_33
LBB0_2:
	cmp	w25, w20
	b.lt	LBB0_33
LBB0_3:
	sxtw	x8, w20
	sxtw	x9, w24
	mul	x10, x27, x9
	cmp	x10, x8
	b.hi	LBB0_33
; %bb.4:
	ldr	x21, [sp, #56]                  ; 8-byte Folded Reload
	ldr	x10, [x21]
Lloh0:
	adrp	x11, _OMAP_DSS_DSI_BURST_MODE@GOTPAGE
Lloh1:
	ldr	x11, [x11, _OMAP_DSS_DSI_BURST_MODE@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	cmp	x10, x11
	b.eq	LBB0_6
; %bb.5:
	mul	x9, x28, x9
	cmp	x9, x8
	b.lo	LBB0_33
LBB0_6:
	mov	x25, x0
	ldp	w9, w8, [sp, #36]               ; 8-byte Folded Reload
	add	w8, w9, w8
	ldr	w9, [sp, #32]                   ; 4-byte Folded Reload
	add	w8, w8, w9
	ldr	w9, [sp, #24]                   ; 4-byte Folded Reload
	add	w20, w8, w9
	mov	w0, #4
	mov	x1, x23
	bl	_DIV_ROUND_UP
	mov	x27, x0
	ldr	x8, [x21]
Lloh3:
	adrp	x9, _OMAP_DSS_DSI_PULSE_MODE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OMAP_DSS_DSI_PULSE_MODE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.7:
	cmp	w23, #3
	ldr	x21, [sp, #48]                  ; 8-byte Folded Reload
	b.ne	LBB0_9
; %bb.8:
	ldr	w8, [x22, #12]
	cbz	w8, LBB0_17
LBB0_9:
	mov	w0, #4
	mov	x1, x23
	bl	_DIV_ROUND_UP
	mov	x28, x0
	b	LBB0_11
LBB0_10:
	mov	w28, #0
	ldr	x21, [sp, #48]                  ; 8-byte Folded Reload
LBB0_11:
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	mul	w0, w20, w8
	mov	x1, x21
	bl	_div64_u64
	add	w9, w28, w27
	mov	x8, x25
	add	w8, w9, w25
	cmp	w0, w8
	b.lt	LBB0_33
; %bb.12:
	mov	x21, x0
	stp	w27, w9, [sp, #32]              ; 8-byte Folded Spill
	ldp	x8, x9, [sp, #8]                ; 16-byte Folded Reload
	sbfx	x20, x8, #2, #30
	lsr	x26, x20, #2
	sxtw	x8, w21
	mul	x27, x9, x8
	mov	x0, x27
	mov	x1, x26
	bl	_div64_u64
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	mul	x8, x26, x8
	cmp	x27, x8
	b.ne	LBB0_33
; %bb.13:
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	sub	w21, w21, w25
	add	x0, x19, #64
	mov	w1, #0
	mov	w2, #96
	bl	_memset
	mov	w26, #0
	str	x20, [x19, #64]
	stp	w23, w24, [x19, #72]
	ldr	x27, [sp, #56]                  ; 8-byte Folded Reload
	ldr	x8, [x27]
Lloh6:
	adrp	x9, _OMAP_DSS_DSI_PULSE_MODE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _OMAP_DSS_DSI_PULSE_MODE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.14:
	ldr	w8, [x22, #12]
	cmp	w23, #3
	b.ne	LBB0_18
; %bb.15:
	cbnz	w8, LBB0_18
; %bb.16:
	mov	w26, #0
	b	LBB0_19
LBB0_17:
	mov	w28, #1
	b	LBB0_11
LBB0_18:
	ldr	w9, [sp, #44]                   ; 4-byte Folded Reload
	mul	w0, w8, w9
	ldr	x1, [sp, #48]                   ; 8-byte Folded Reload
	bl	_div64_u64
	sub	w0, w0, w28
	mov	w1, #1
	bl	_max
	mov	x26, x0
LBB0_19:
	ldr	w8, [x22, #8]
	ldr	w9, [sp, #44]                   ; 4-byte Folded Reload
	mul	w0, w8, w9
	ldr	x1, [sp, #48]                   ; 8-byte Folded Reload
	bl	_div64_u64
	mov	w1, #1
	bl	_max
	mov	x23, x0
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	add	w20, w8, w26
	add	w8, w20, w0
	sub	w8, w21, w8
	cmp	w8, #0
	b.le	LBB0_21
; %bb.20:
	ldr	x21, [sp, #48]                  ; 8-byte Folded Reload
	b	LBB0_24
LBB0_21:
	add	w8, w23, w8
	sub	w0, w8, #1
	mov	w1, #1
	bl	_max
	mov	x23, x0
	add	w8, w20, w0
	sub	w8, w21, w8
	cmp	w8, #0
	ccmp	w26, #1, #8, le
	b.lt	LBB0_23
; %bb.22:
	add	w8, w26, w8
	sub	w0, w8, #1
	mov	w1, #1
	bl	_max
	mov	x26, x0
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	add	w8, w8, w23
	add	w8, w8, w0
	sub	w8, w21, w8
LBB0_23:
	ldr	x21, [sp, #48]                  ; 8-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_33
LBB0_24:
	ldr	w9, [sp, #40]                   ; 4-byte Folded Reload
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	sub	w24, w10, w9
	ldr	w10, [sp, #32]                  ; 4-byte Folded Reload
	stp	w10, w26, [x19, #80]
	stp	w28, w23, [x19, #88]
	stp	w9, w8, [x19, #96]
	ldur	q0, [x22, #24]
	str	q0, [x19, #144]
	ldr	x8, [x27]
	str	x8, [x19, #104]
	str	xzr, [x19, #136]
	ldr	w8, [x27, #8]
	str	w8, [x19, #128]
Lloh9:
	adrp	x8, lCPI0_0@PAGE
Lloh10:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [x19, #112]
	ldr	x8, [x22, #32]
	ldp	q0, q1, [x22]
	stur	q1, [x19, #40]
	str	x8, [x19, #56]
	stur	q0, [x19, #24]
	ldr	x20, [sp, #16]                  ; 8-byte Folded Reload
	str	x20, [x19, #40]
	ldr	x8, [x27]
Lloh11:
	adrp	x9, _OMAP_DSS_DSI_PULSE_MODE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _OMAP_DSS_DSI_PULSE_MODE@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_26
; %bb.25:
	ldr	w8, [x22, #12]
	mul	w0, w8, w20
	mov	x1, x21
	bl	_div64_u64
	mov	w1, #1
	bl	_max
	mov	x1, x21
	mov	x21, x0
	b	LBB0_27
LBB0_26:
	mov	x1, x21
	mov	w21, #1
LBB0_27:
	ldr	w8, [x22, #8]
	mul	w0, w8, w20
	bl	_div64_u64
	mov	w1, #1
	bl	_max
	sub	w22, w24, w21
	sub	w8, w22, w0
	cmp	w8, #0
	b.le	LBB0_29
; %bb.28:
	mov	x20, x0
	b	LBB0_32
LBB0_29:
	sub	w0, w22, #1
	mov	w1, #1
	bl	_max
	mov	x20, x0
	sub	w8, w22, w0
	cmp	w8, #0
	b.gt	LBB0_32
; %bb.30:
	add	w8, w21, w8
	sub	w0, w8, #1
	mov	w1, #1
	bl	_max
	add	w8, w20, w0
	sub	w8, w24, w8
	cmp	w8, #1
	b.lt	LBB0_33
; %bb.31:
	mov	x21, x0
LBB0_32:
	stp	w20, w21, [x19, #32]
	mov	w0, #1
	str	w8, [x19, #28]
	b	LBB0_34
LBB0_33:
	mov	w0, #0
LBB0_34:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdr	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_OMAP_DSS_DSI_BURST_MODE,8,3    ; @OMAP_DSS_DSI_BURST_MODE
	.comm	_OMAP_DSS_DSI_PULSE_MODE,8,3    ; @OMAP_DSS_DSI_PULSE_MODE
	.no_dead_strip	_dsi_vm_calc_blanking
.subsections_via_symbols
