	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_set_rx_ts                ## -- Begin function bnx2x_set_rx_ts
	.p2align	4, 0x90
_bnx2x_set_rx_ts:                       ## @bnx2x_set_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_BP_PORT
	testl	%eax, %eax
	movq	_NIG_REG_P1_LLH_PTP_HOST_BUF_TS_MSB@GOTPCREL(%rip), %rax
	cmoveq	_NIG_REG_P0_LLH_PTP_HOST_BUF_TS_MSB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NIG_REG_P1_LLH_PTP_HOST_BUF_TS_LSB@GOTPCREL(%rip), %rbx
	cmoveq	_NIG_REG_P0_LLH_PTP_HOST_BUF_TS_LSB@GOTPCREL(%rip), %rbx
	movq	_NIG_REG_P1_LLH_PTP_HOST_BUF_SEQID@GOTPCREL(%rip), %r12
	cmoveq	_NIG_REG_P0_LLH_PTP_HOST_BUF_SEQID@GOTPCREL(%rip), %r12
	movq	%r15, %rdi
	callq	_REG_RD
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_REG_RD
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	$65536, %edx                    ## imm = 0x10000
	callq	_REG_WR
	movq	%r15, %rdi
	callq	_timecounter_cyc2time
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ns_to_ktime
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_skb_hwtstamps
	movl	%r15d, (%rax)
	movq	_BNX2X_MSG_PTP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DP                             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NIG_REG_P1_LLH_PTP_HOST_BUF_TS_MSB,4,2 ## @NIG_REG_P1_LLH_PTP_HOST_BUF_TS_MSB
	.comm	_NIG_REG_P0_LLH_PTP_HOST_BUF_TS_MSB,4,2 ## @NIG_REG_P0_LLH_PTP_HOST_BUF_TS_MSB
	.comm	_NIG_REG_P1_LLH_PTP_HOST_BUF_TS_LSB,4,2 ## @NIG_REG_P1_LLH_PTP_HOST_BUF_TS_LSB
	.comm	_NIG_REG_P0_LLH_PTP_HOST_BUF_TS_LSB,4,2 ## @NIG_REG_P0_LLH_PTP_HOST_BUF_TS_LSB
	.comm	_NIG_REG_P1_LLH_PTP_HOST_BUF_SEQID,4,2 ## @NIG_REG_P1_LLH_PTP_HOST_BUF_SEQID
	.comm	_NIG_REG_P0_LLH_PTP_HOST_BUF_SEQID,4,2 ## @NIG_REG_P0_LLH_PTP_HOST_BUF_SEQID
	.comm	_BNX2X_MSG_PTP,4,2              ## @BNX2X_MSG_PTP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.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	_bnx2x_set_rx_ts                ; -- Begin function bnx2x_set_rx_ts
	.p2align	2
_bnx2x_set_rx_ts:                       ; @bnx2x_set_rx_ts
	.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
	mov	x20, x0
	bl	_BP_PORT
Lloh0:
	adrp	x8, _NIG_REG_P1_LLH_PTP_HOST_BUF_TS_MSB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIG_REG_P1_LLH_PTP_HOST_BUF_TS_MSB@GOTPAGEOFF]
Lloh2:
	adrp	x9, _NIG_REG_P0_LLH_PTP_HOST_BUF_TS_MSB@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NIG_REG_P0_LLH_PTP_HOST_BUF_TS_MSB@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
Lloh4:
	adrp	x8, _NIG_REG_P1_LLH_PTP_HOST_BUF_TS_LSB@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NIG_REG_P1_LLH_PTP_HOST_BUF_TS_LSB@GOTPAGEOFF]
Lloh6:
	adrp	x9, _NIG_REG_P0_LLH_PTP_HOST_BUF_TS_LSB@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NIG_REG_P0_LLH_PTP_HOST_BUF_TS_LSB@GOTPAGEOFF]
Lloh8:
	adrp	x10, _NIG_REG_P1_LLH_PTP_HOST_BUF_SEQID@GOTPAGE
Lloh9:
	ldr	x10, [x10, _NIG_REG_P1_LLH_PTP_HOST_BUF_SEQID@GOTPAGEOFF]
	csel	x21, x9, x8, eq
Lloh10:
	adrp	x8, _NIG_REG_P0_LLH_PTP_HOST_BUF_SEQID@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NIG_REG_P0_LLH_PTP_HOST_BUF_SEQID@GOTPAGEOFF]
	csel	x22, x8, x10, eq
	mov	x0, x20
	bl	_REG_RD
	ldr	w1, [x21]
	mov	x0, x20
	bl	_REG_RD
	ldr	w1, [x22]
	mov	x0, x20
	mov	w2, #65536
	bl	_REG_WR
	mov	x0, x20
	bl	_timecounter_cyc2time
	mov	x20, x0
	bl	_ns_to_ktime
	mov	x21, x0
	mov	x0, x19
	bl	_skb_hwtstamps
	str	w21, [x0]
Lloh12:
	adrp	x8, _BNX2X_MSG_PTP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BNX2X_MSG_PTP@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x20
	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	_DP
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NIG_REG_P1_LLH_PTP_HOST_BUF_TS_MSB,4,2 ; @NIG_REG_P1_LLH_PTP_HOST_BUF_TS_MSB
	.comm	_NIG_REG_P0_LLH_PTP_HOST_BUF_TS_MSB,4,2 ; @NIG_REG_P0_LLH_PTP_HOST_BUF_TS_MSB
	.comm	_NIG_REG_P1_LLH_PTP_HOST_BUF_TS_LSB,4,2 ; @NIG_REG_P1_LLH_PTP_HOST_BUF_TS_LSB
	.comm	_NIG_REG_P0_LLH_PTP_HOST_BUF_TS_LSB,4,2 ; @NIG_REG_P0_LLH_PTP_HOST_BUF_TS_LSB
	.comm	_NIG_REG_P1_LLH_PTP_HOST_BUF_SEQID,4,2 ; @NIG_REG_P1_LLH_PTP_HOST_BUF_SEQID
	.comm	_NIG_REG_P0_LLH_PTP_HOST_BUF_SEQID,4,2 ; @NIG_REG_P0_LLH_PTP_HOST_BUF_SEQID
	.comm	_BNX2X_MSG_PTP,4,2              ; @BNX2X_MSG_PTP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Rx timestamp, timestamp cycles = %llu, ns = %llu\n"

.subsections_via_symbols
