	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qd6580_compute_timing
_qd6580_compute_timing:                 ## @qd6580_compute_timing
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	_ide_vlb_clk@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	movl	$50, %ebx
	cmovnel	%eax, %ebx
	imull	%ebx, %edi
	movslq	%edi, %rax
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rcx
	sarq	$38, %rcx
	shrq	$63, %rax
	leal	(%rcx,%rax), %edi
	incl	%edi
	movl	$17, %r15d
	movl	$2, %esi
	movl	$17, %edx
	callq	_IDE_IN
	subl	%eax, %r15d
	imull	%r14d, %ebx
	movslq	%ebx, %rax
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rcx
	sarq	$38, %rcx
	shrq	$63, %rax
	leal	(%rcx,%rax), %edi
	incl	%edi
	movl	$2, %esi
	movl	$15, %edx
	callq	_IDE_IN
	shll	$4, %eax
	movl	$240, %ecx
	subl	%eax, %ecx
	orl	%r15d, %ecx
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ide_vlb_clk,4,2                ## @ide_vlb_clk
	.no_dead_strip	_qd6580_compute_timing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qd6580_compute_timing
_qd6580_compute_timing:                 ; @qd6580_compute_timing
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
Lloh0:
	adrp	x8, _ide_vlb_clk@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ide_vlb_clk@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #50
	cmp	w8, #0
	csel	w20, w9, w8, eq
	mul	w8, w20, w0
	mov	w21, #19923
	movk	w21, #4194, lsl #16
	smull	x8, w8, w21
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	add	w0, w8, #1
	mov	w22, #17
	mov	w1, #2
	mov	w2, #17
	bl	_IDE_IN
	sub	w22, w22, w0
	mul	w8, w20, w19
	smull	x8, w8, w21
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	add	w0, w8, #1
	mov	w1, #2
	mov	w2, #15
	bl	_IDE_IN
	mov	w8, #240
	sub	w8, w8, w0, lsl #4
	orr	w0, w8, w22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ide_vlb_clk,4,2                ; @ide_vlb_clk
	.no_dead_strip	_qd6580_compute_timing
.subsections_via_symbols
