	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vf610_ocotp_calculate_timing
_vf610_ocotp_calculate_timing:          ## @vf610_ocotp_calculate_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	(%rdi), %edi
	callq	_clk_get_rate
	movl	%eax, %ecx
	movq	_DEF_RELAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$1000000000, %eax               ## imm = 0x3B9ACA00
	xorl	%edx, %edx
	idivl	%ebx
	movl	%eax, %esi
	movl	%ecx, %eax
	cltd
	idivl	%esi
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %edi
	movslq	%ecx, %rax
	imulq	$351843721, %rax, %rcx          ## imm = 0x14F8B589
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$45, %rcx
	addl	%edx, %ecx
	leal	(%rcx,%rbx,2), %r14d
	incl	%r14d
	imulq	$1441151881, %rax, %rax         ## imm = 0x55E63B89
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$55, %rax
	addl	%ecx, %eax
	leal	(%rax,%rbx,2), %ebx
	incl	%ebx
	movq	_OCOTP_TIMING_RELAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_BF
	movl	%eax, %r15d
	movq	_OCOTP_TIMING_STROBE_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_BF
	movl	%eax, %ebx
	movq	_OCOTP_TIMING_STROBE_PROG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_BF
	orl	%ebx, %eax
	orl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEF_RELAX,4,2                  ## @DEF_RELAX
	.comm	_OCOTP_TIMING_RELAX,4,2         ## @OCOTP_TIMING_RELAX
	.comm	_OCOTP_TIMING_STROBE_READ,4,2   ## @OCOTP_TIMING_STROBE_READ
	.comm	_OCOTP_TIMING_STROBE_PROG,4,2   ## @OCOTP_TIMING_STROBE_PROG
	.no_dead_strip	_vf610_ocotp_calculate_timing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vf610_ocotp_calculate_timing
_vf610_ocotp_calculate_timing:          ; @vf610_ocotp_calculate_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
	ldr	w0, [x0]
	bl	_clk_get_rate
Lloh0:
	adrp	x8, _DEF_RELAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEF_RELAX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	mov	w8, #51712
	movk	w8, #15258, lsl #16
	sdiv	w8, w8, w9
	sdiv	w8, w0, w8
	sub	w8, w8, #1
	mov	w10, #46473
	movk	w10, #5368, lsl #16
	smull	x10, w0, w10
	mov	w11, #1
	bfi	w11, w9, #1, #31
	lsr	x9, x10, #63
	asr	x10, x10, #45
	add	w9, w10, w9
	add	w19, w11, w9
	mov	w9, #15241
	movk	w9, #21990, lsl #16
	smull	x9, w0, w9
	lsr	x10, x9, #63
	asr	x9, x9, #55
	add	w9, w9, w10
	add	w20, w11, w9
Lloh3:
	adrp	x9, _OCOTP_TIMING_RELAX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OCOTP_TIMING_RELAX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	mov	x0, x8
	bl	_BF
	mov	x21, x0
Lloh6:
	adrp	x8, _OCOTP_TIMING_STROBE_READ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OCOTP_TIMING_STROBE_READ@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_BF
	orr	w20, w0, w21
Lloh9:
	adrp	x8, _OCOTP_TIMING_STROBE_PROG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OCOTP_TIMING_STROBE_PROG@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_BF
	orr	w0, w20, w0
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DEF_RELAX,4,2                  ; @DEF_RELAX
	.comm	_OCOTP_TIMING_RELAX,4,2         ; @OCOTP_TIMING_RELAX
	.comm	_OCOTP_TIMING_STROBE_READ,4,2   ; @OCOTP_TIMING_STROBE_READ
	.comm	_OCOTP_TIMING_STROBE_PROG,4,2   ; @OCOTP_TIMING_STROBE_PROG
	.no_dead_strip	_vf610_ocotp_calculate_timing
.subsections_via_symbols
