	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv88e6xxx_ptp_adjfine
_mv88e6xxx_ptp_adjfine:                 ## @mv88e6xxx_ptp_adjfine
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_ptp_to_chip
	movq	%rax, %rbx
	movq	16(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	%r14, %rdi
	negq	%rdi
	cmovsq	%r14, %rdi
	movq	16(%rax), %r12
	imulq	(%rax), %rdi
	movl	8(%rax), %esi
	callq	_div_u64
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_mv88e6xxx_reg_lock
	leaq	8(%rbx), %rdi
	callq	_timecounter_read
	movq	%r15, %rax
	negq	%rax
	testq	%r14, %r14
	cmovnsq	%r15, %rax
	addq	%r12, %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	_mv88e6xxx_reg_unlock
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mv88e6xxx_ptp_adjfine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv88e6xxx_ptp_adjfine
_mv88e6xxx_ptp_adjfine:                 ; @mv88e6xxx_ptp_adjfine
	.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
	bl	_ptp_to_chip
	mov	x20, x0
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cmp	x19, #0
	cneg	x9, x19, mi
	ldr	x21, [x8, #16]
	ldr	x10, [x8]
	mul	x0, x10, x9
	ldr	w1, [x8, #8]
	bl	_div_u64
	cmp	x19, #0
	cneg	x19, x0, lt
	mov	x0, x20
	bl	_mv88e6xxx_reg_lock
	add	x0, x20, #8
	bl	_timecounter_read
	add	x8, x19, x21
	str	x8, [x20]
	mov	x0, x20
	bl	_mv88e6xxx_reg_unlock
	mov	w0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mv88e6xxx_ptp_adjfine
.subsections_via_symbols
