	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qede_ptp_rx_ts                 ## -- Begin function qede_ptp_rx_ts
	.p2align	4, 0x90
_qede_ptp_rx_ts:                        ## @qede_ptp_rx_ts
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	movq	8(%rbx), %rax
	movl	(%r15), %edi
	leaq	-36(%rbp), %rsi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_DP_INFO
	jmp	LBB0_4
LBB0_3:
	leaq	4(%rbx), %rdi
	movl	-36(%rbp), %esi
	callq	_timecounter_cyc2time
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	movl	%r12d, %edi
	callq	_ns_to_ktime
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_skb_hwtstamps
	movl	%ebx, (%rax)
	movq	_QED_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-36(%rbp), %ecx
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movl	%r12d, %r8d
	callq	_DP_VERBOSE
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid Rx timestamp\n"

	.comm	_QED_MSG_DEBUG,4,2              ## @QED_MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"Rx timestamp, timestamp cycles = %llu, ns = %llu\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qede_ptp_rx_ts                 ; -- Begin function qede_ptp_rx_ts
	.p2align	2
_qede_ptp_rx_ts:                        ; @qede_ptp_rx_ts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, [x0, #8]
	cbz	x21, LBB0_4
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	x0, x21
	bl	_spin_lock_bh
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	w0, [x19]
	add	x1, sp, #12
	blr	x8
	cbz	w0, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_spin_unlock_bh
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DP_INFO
	b	LBB0_4
LBB0_3:
	add	x0, x21, #4
	ldr	w1, [sp, #12]
	bl	_timecounter_cyc2time
	mov	x22, x0
	mov	x0, x21
	bl	_spin_unlock_bh
	mov	x0, x22
	bl	_ns_to_ktime
	mov	x21, x0
	mov	x0, x20
	bl	_skb_hwtstamps
	str	w21, [x0]
Lloh2:
	adrp	x8, _QED_MSG_DEBUG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _QED_MSG_DEBUG@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w3, [sp, #12]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x4, x22
	bl	_DP_VERBOSE
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid Rx timestamp\n"

	.comm	_QED_MSG_DEBUG,4,2              ; @QED_MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"Rx timestamp, timestamp cycles = %llu, ns = %llu\n"

.subsections_via_symbols
