	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxgb4_ptp_read_hwstamp         ## -- Begin function cxgb4_ptp_read_hwstamp
	.p2align	4, 0x90
_cxgb4_ptp_read_hwstamp:                ## @cxgb4_ptp_read_hwstamp
	.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	%rsi, %r15
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	callq	_skb_hwtstamps
	movq	%rax, %r14
	movl	(%r15), %edi
	movq	_MAC_PORT_TX_TS_VAL_LO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_T5_PORT_REG
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_t4_read_reg
	movl	(%r15), %edi
	movq	_MAC_PORT_TX_TS_VAL_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_T5_PORT_REG
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_t4_read_reg
	callq	_ns_to_ktime
	movl	%eax, (%r14)
	movq	8(%rbx), %rdi
	movq	%r14, %rsi
	callq	_skb_tstamp_tx
	movq	8(%rbx), %rdi
	callq	_dev_kfree_skb_any
	movq	%rbx, %rdi
	callq	_spin_lock
	movq	$0, 8(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_PORT_TX_TS_VAL_LO,4,2      ## @MAC_PORT_TX_TS_VAL_LO
	.comm	_MAC_PORT_TX_TS_VAL_HI,4,2      ## @MAC_PORT_TX_TS_VAL_HI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxgb4_ptp_read_hwstamp         ; -- Begin function cxgb4_ptp_read_hwstamp
	.p2align	2
_cxgb4_ptp_read_hwstamp:                ; @cxgb4_ptp_read_hwstamp
	.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
	ldr	x0, [x0, #8]
	bl	_skb_hwtstamps
	mov	x21, x0
	ldr	w0, [x19]
Lloh0:
	adrp	x8, _MAC_PORT_TX_TS_VAL_LO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAC_PORT_TX_TS_VAL_LO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_T5_PORT_REG
	mov	x1, x0
	mov	x0, x20
	bl	_t4_read_reg
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _MAC_PORT_TX_TS_VAL_HI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAC_PORT_TX_TS_VAL_HI@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_T5_PORT_REG
	mov	x1, x0
	mov	x0, x20
	bl	_t4_read_reg
	bl	_ns_to_ktime
	str	w0, [x21]
	ldr	x0, [x20, #8]
	mov	x1, x21
	bl	_skb_tstamp_tx
	ldr	x0, [x20, #8]
	bl	_dev_kfree_skb_any
	mov	x0, x20
	bl	_spin_lock
	str	xzr, [x20, #8]
	mov	x0, 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	_spin_unlock
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_PORT_TX_TS_VAL_LO,4,2      ; @MAC_PORT_TX_TS_VAL_LO
	.comm	_MAC_PORT_TX_TS_VAL_HI,4,2      ; @MAC_PORT_TX_TS_VAL_HI
.subsections_via_symbols
