	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dsi_dphy_timing_calc_clk_zero
_dsi_dphy_timing_calc_clk_zero:         ## @dsi_dphy_timing_calc_clk_zero
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%ecx, %r14d
	movq	%rdi, %rbx
	imull	$300, %edx, %edi                ## imm = 0x12C
	movl	(%rbx), %eax
	addl	$2, %eax
	andl	$-2, %eax
	imull	%esi, %eax
	subl	%eax, %edi
	callq	_S_DIV_ROUND_UP
                                        ## kill: def $eax killed $eax def $rax
	leal	-2(%rax), %esi
	cmpl	$258, %eax                      ## imm = 0x102
	leal	-4(%rax,%rax), %eax
	movl	$255, %edi
	cmovgel	%eax, %edi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_linear_inter
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	addl	4(%rbx), %ecx
	addl	(%rbx), %ecx
	andl	$7, %ecx
	negl	%ecx
	addl	%ecx, %eax
	addl	$8, %eax
	movl	%eax, 8(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dsi_dphy_timing_calc_clk_zero
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dsi_dphy_timing_calc_clk_zero
_dsi_dphy_timing_calc_clk_zero:         ; @dsi_dphy_timing_calc_clk_zero
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x3
	mov	x20, x0
	mov	w8, #300
	mul	w8, w2, w8
	ldr	w9, [x0]
	add	w9, w9, #2
	and	w9, w9, #0xfffffffe
	msub	w0, w9, w1, w8
	bl	_S_DIV_ROUND_UP
	sub	w1, w0, #2
	lsl	w8, w1, #1
	mov	w9, #255
	cmp	w0, #257
	csel	w0, w8, w9, gt
	mov	x2, x19
	mov	w3, #0
	mov	w4, #1
	bl	_linear_inter
	ldp	w9, w8, [x20]
	add	w8, w8, w0
	add	w8, w8, w9
	and	w8, w8, #0x7
	sub	w8, w0, w8
	add	w8, w8, #8
	str	w8, [x20, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dsi_dphy_timing_calc_clk_zero
.subsections_via_symbols
