	.file	"extr_bnx2x_main.c_bnx2x_set_rx_ts.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Rx timestamp, timestamp cycles = %llu, ns = %llu\n"
	.text
	.p2align 4
	.globl	bnx2x_set_rx_ts
	.type	bnx2x_set_rx_ts, @function
bnx2x_set_rx_ts:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	BP_PORT@PLT
	test	eax, eax
	je	.L2
	mov	esi, DWORD PTR NIG_REG_P1_LLH_PTP_HOST_BUF_TS_MSB[rip]
	mov	rdi, rbp
	call	REG_RD@PLT
	mov	esi, DWORD PTR NIG_REG_P1_LLH_PTP_HOST_BUF_TS_LSB[rip]
	mov	rdi, rbp
	call	REG_RD@PLT
	mov	esi, DWORD PTR NIG_REG_P1_LLH_PTP_HOST_BUF_SEQID[rip]
	mov	r12d, eax
.L3:
	mov	edx, 65536
	mov	rdi, rbp
	call	REG_WR@PLT
	mov	esi, r12d
	mov	rdi, rbp
	call	timecounter_cyc2time@PLT
	mov	rdi, r14
	mov	r13d, eax
	call	skb_hwtstamps@PLT
	mov	edi, r13d
	mov	rbp, rax
	call	ns_to_ktime@PLT
	mov	ecx, r13d
	mov	edx, r12d
	lea	rsi, .LC0[rip]
	mov	DWORD PTR 0[rbp], eax
	mov	edi, DWORD PTR BNX2X_MSG_PTP[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	DP@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR NIG_REG_P0_LLH_PTP_HOST_BUF_TS_MSB[rip]
	mov	rdi, rbp
	call	REG_RD@PLT
	mov	esi, DWORD PTR NIG_REG_P0_LLH_PTP_HOST_BUF_TS_LSB[rip]
	mov	rdi, rbp
	call	REG_RD@PLT
	mov	esi, DWORD PTR NIG_REG_P0_LLH_PTP_HOST_BUF_SEQID[rip]
	mov	r12d, eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	bnx2x_set_rx_ts, .-bnx2x_set_rx_ts
	.comm	NIG_REG_P1_LLH_PTP_HOST_BUF_TS_MSB,4,4
	.comm	NIG_REG_P1_LLH_PTP_HOST_BUF_TS_LSB,4,4
	.comm	NIG_REG_P1_LLH_PTP_HOST_BUF_SEQID,4,4
	.comm	NIG_REG_P0_LLH_PTP_HOST_BUF_TS_MSB,4,4
	.comm	NIG_REG_P0_LLH_PTP_HOST_BUF_TS_LSB,4,4
	.comm	NIG_REG_P0_LLH_PTP_HOST_BUF_SEQID,4,4
	.comm	BNX2X_MSG_PTP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_bnx2x_main.c_bnx2x_set_rx_ts.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Rx timestamp, timestamp cycles = %llu, ns = %llu\012"
	.ascii	"\000"
	.text
	.align	2
	.global	bnx2x_set_rx_ts
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnx2x_set_rx_ts, %function
bnx2x_set_rx_ts:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r1
	mov	r4, r0
	bl	BP_PORT
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L6
	mov	r0, r4
	ldr	r1, [r3]
	bl	REG_RD
	ldr	r3, .L6+4
	mov	r0, r4
	ldr	r1, [r3]
	bl	REG_RD
	mov	r5, r0
	ldr	r3, .L6+8
	ldr	r1, [r3]
.L3:
	mov	r2, #65536
	mov	r0, r4
	bl	REG_WR
	mov	r1, r5
	mov	r0, r4
	bl	timecounter_cyc2time
	mov	r4, r0
	mov	r0, r6
	bl	skb_hwtstamps
	mov	r6, r0
	mov	r0, r4
	bl	ns_to_ktime
	ldr	r1, .L6+12
	str	r0, [r6]
	mov	r3, r4
	mov	r2, r5
	pop	{r4, r5, r6, lr}
	ldr	r0, [r1]
	ldr	r1, .L6+16
	b	DP
.L2:
	ldr	r3, .L6+20
	mov	r0, r4
	ldr	r1, [r3]
	bl	REG_RD
	ldr	r3, .L6+24
	mov	r0, r4
	ldr	r1, [r3]
	bl	REG_RD
	ldr	r3, .L6+28
	mov	r5, r0
	ldr	r1, [r3]
	b	.L3
.L7:
	.align	2
.L6:
	.word	NIG_REG_P1_LLH_PTP_HOST_BUF_TS_MSB
	.word	NIG_REG_P1_LLH_PTP_HOST_BUF_TS_LSB
	.word	NIG_REG_P1_LLH_PTP_HOST_BUF_SEQID
	.word	BNX2X_MSG_PTP
	.word	.LC0
	.word	NIG_REG_P0_LLH_PTP_HOST_BUF_TS_MSB
	.word	NIG_REG_P0_LLH_PTP_HOST_BUF_TS_LSB
	.word	NIG_REG_P0_LLH_PTP_HOST_BUF_SEQID
	.size	bnx2x_set_rx_ts, .-bnx2x_set_rx_ts
	.comm	NIG_REG_P1_LLH_PTP_HOST_BUF_TS_MSB,4,4
	.comm	NIG_REG_P1_LLH_PTP_HOST_BUF_TS_LSB,4,4
	.comm	NIG_REG_P1_LLH_PTP_HOST_BUF_SEQID,4,4
	.comm	NIG_REG_P0_LLH_PTP_HOST_BUF_TS_MSB,4,4
	.comm	NIG_REG_P0_LLH_PTP_HOST_BUF_TS_LSB,4,4
	.comm	NIG_REG_P0_LLH_PTP_HOST_BUF_SEQID,4,4
	.comm	BNX2X_MSG_PTP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
