	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_ptp_reset                ## -- Begin function ixgbe_ptp_reset
	.p2align	4, 0x90
_ixgbe_ptp_reset:                       ## @ixgbe_ptp_reset
	.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
	movq	%rdi, %rbx
	leaq	12(%rdi), %r14
	movq	_IXGBE_SYSTIML@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_SYSTIMH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_IXGBE_WRITE_REG
	movq	%r14, %rdi
	callq	_IXGBE_WRITE_FLUSH
	movq	%rbx, %rdi
	callq	_ixgbe_ptp_start_cyclecounter
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	leaq	8(%rbx), %r14
	leaq	4(%rbx), %r15
	xorl	%eax, %eax
	callq	_ktime_get_real
	movl	%eax, %edi
	callq	_ktime_to_ns
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_timecounter_init
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ixgbe_ptp_setup_sdp            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_SYSTIML,4,2              ## @IXGBE_SYSTIML
	.comm	_IXGBE_SYSTIMH,4,2              ## @IXGBE_SYSTIMH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_ptp_reset                ; -- Begin function ixgbe_ptp_reset
	.p2align	2
_ixgbe_ptp_reset:                       ; @ixgbe_ptp_reset
	.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, x0
	add	x20, x0, #12
Lloh0:
	adrp	x8, _IXGBE_SYSTIML@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_SYSTIML@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_IXGBE_WRITE_REG
Lloh3:
	adrp	x8, _IXGBE_SYSTIMH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IXGBE_SYSTIMH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_IXGBE_WRITE_REG
	mov	x0, x20
	bl	_IXGBE_WRITE_FLUSH
	mov	x0, x19
	bl	_ixgbe_ptp_start_cyclecounter
	mov	x0, x19
	bl	_spin_lock_irqsave
	add	x20, x19, #8
	add	x21, x19, #4
	bl	_ktime_get_real
	bl	_ktime_to_ns
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_timecounter_init
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	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
	b	_ixgbe_ptp_setup_sdp
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_SYSTIML,4,2              ; @IXGBE_SYSTIML
	.comm	_IXGBE_SYSTIMH,4,2              ; @IXGBE_SYSTIMH
.subsections_via_symbols
