	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_ptp_tx_hwtstamp           ## -- Begin function i40e_ptp_tx_hwtstamp
	.p2align	4, 0x90
_i40e_ptp_tx_hwtstamp:                  ## @i40e_ptp_tx_hwtstamp
	.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	_I40E_FLAG_PTP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$0, 16(%rdi)
	je	LBB0_4
## %bb.2:
	movq	8(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	leaq	20(%rbx), %r15
	movq	_I40E_PRTTSYN_TXTIME_L@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_rd32
	movq	_I40E_PRTTSYN_TXTIME_H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_rd32
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	callq	_i40e_ptp_convert_to_hwtstamp
	movq	$0, 8(%rbx)
	movq	___I40E_PTP_TX_IN_PROGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	callq	_clear_bit_unlock
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_skb_tstamp_tx
	movq	%r14, %rdi
	callq	_dev_kfree_skb_any
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_FLAG_PTP,4,2              ## @I40E_FLAG_PTP
	.comm	_I40E_PRTTSYN_TXTIME_L,4,2      ## @I40E_PRTTSYN_TXTIME_L
	.comm	_I40E_PRTTSYN_TXTIME_H,4,2      ## @I40E_PRTTSYN_TXTIME_H
	.comm	___I40E_PTP_TX_IN_PROGRESS,4,2  ## @__I40E_PTP_TX_IN_PROGRESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_ptp_tx_hwtstamp           ; -- Begin function i40e_ptp_tx_hwtstamp
	.p2align	2
_i40e_ptp_tx_hwtstamp:                  ; @i40e_ptp_tx_hwtstamp
	.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	w8, [x0]
Lloh0:
	adrp	x9, _I40E_FLAG_PTP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I40E_FLAG_PTP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	x19, [x0, #8]
	ldr	w8, [x0, #16]
	cmp	w8, #0
	ccmp	x19, #0, #4, ne
	b.eq	LBB0_3
; %bb.2:
	add	x21, x20, #20
Lloh3:
	adrp	x8, _I40E_PRTTSYN_TXTIME_L@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_PRTTSYN_TXTIME_L@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_rd32
Lloh6:
	adrp	x8, _I40E_PRTTSYN_TXTIME_H@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I40E_PRTTSYN_TXTIME_H@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_rd32
	add	x0, sp, #8
	bl	_i40e_ptp_convert_to_hwtstamp
	str	xzr, [x20, #8]
Lloh9:
	adrp	x8, ___I40E_PTP_TX_IN_PROGRESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, ___I40E_PTP_TX_IN_PROGRESS@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w1, [x20, #4]
	bl	_clear_bit_unlock
	add	x1, sp, #8
	mov	x0, x19
	bl	_skb_tstamp_tx
	mov	x0, x19
	bl	_dev_kfree_skb_any
LBB0_3:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_FLAG_PTP,4,2              ; @I40E_FLAG_PTP
	.comm	_I40E_PRTTSYN_TXTIME_L,4,2      ; @I40E_PRTTSYN_TXTIME_L
	.comm	_I40E_PRTTSYN_TXTIME_H,4,2      ; @I40E_PRTTSYN_TXTIME_H
	.comm	___I40E_PTP_TX_IN_PROGRESS,4,2  ; @__I40E_PTP_TX_IN_PROGRESS
.subsections_via_symbols
