	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function skl_compute_linetime_wm
_skl_compute_linetime_wm:               ## @skl_compute_linetime_wm
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movl	(%rax), %edi
	callq	_to_i915
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_intel_get_linetime_us
	movl	$8, %edi
	movl	%eax, %esi
	callq	_mul_u32_fixed16
	movl	%eax, %edi
	callq	_fixed16_to_u32_round_up
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_IS_GEN9_LP
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	$0, (%r14)
	je	LBB0_3
## %bb.2:
	movl	%ebx, %eax
	shrl	$31, %eax
	addl	%ebx, %eax
	sarl	%eax
	movl	%eax, %ebx
LBB0_3:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_skl_compute_linetime_wm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function skl_compute_linetime_wm
_skl_compute_linetime_wm:               ; @skl_compute_linetime_wm
	.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	x20, x0
	ldr	x8, [x0]
	ldr	w0, [x8]
	bl	_to_i915
	mov	x19, x0
	mov	x0, x20
	bl	_intel_get_linetime_us
	mov	x1, x0
	mov	w0, #8
	bl	_mul_u32_fixed16
	bl	_fixed16_to_u32_round_up
	mov	x20, x0
	mov	x0, x19
	bl	_IS_GEN9_LP
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.2:
	cmp	w20, #0
	cinc	w8, w20, lt
	asr	w20, w8, #1
LBB0_3:
	mov	x0, x20
	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	_skl_compute_linetime_wm
.subsections_via_symbols
