	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_ptp_tx                     ## -- Begin function efx_ptp_tx
	.p2align	4, 0x90
_efx_ptp_tx:                            ## @efx_ptp_tx
	.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, %rbx
	movq	(%rdi), %r14
	leaq	8(%r14), %rdi
	callq	_skb_queue_tail
	movq	%rbx, %rdi
	callq	_udp_hdr
	movq	(%rax), %r15
	movq	_PTP_EVENT_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r15
	jne	LBB0_3
## %bb.1:
	movq	(%rbx), %rax
	movq	_MC_CMD_PTP_IN_TRANSMIT_PACKET_MAXNUM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_efx_xmit_hwtstamp_pending
LBB0_3:
	movl	4(%r14), %edi
	movq	%r14, %rsi
	callq	_queue_work
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PTP_EVENT_PORT,4,2             ## @PTP_EVENT_PORT
	.comm	_MC_CMD_PTP_IN_TRANSMIT_PACKET_MAXNUM,8,3 ## @MC_CMD_PTP_IN_TRANSMIT_PACKET_MAXNUM
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_ptp_tx                     ; -- Begin function efx_ptp_tx
	.p2align	2
_efx_ptp_tx:                            ; @efx_ptp_tx
	.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	x20, x1
	ldr	x19, [x0]
	add	x0, x19, #8
	bl	_skb_queue_tail
	mov	x0, x20
	bl	_udp_hdr
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _PTP_EVENT_PORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PTP_EVENT_PORT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	cmp	x21, x0
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _MC_CMD_PTP_IN_TRANSMIT_PACKET_MAXNUM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MC_CMD_PTP_IN_TRANSMIT_PACKET_MAXNUM@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_efx_xmit_hwtstamp_pending
LBB0_3:
	ldr	w0, [x19, #4]
	mov	x1, x19
	bl	_queue_work
Lloh6:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PTP_EVENT_PORT,4,2             ; @PTP_EVENT_PORT
	.comm	_MC_CMD_PTP_IN_TRANSMIT_PACKET_MAXNUM,8,3 ; @MC_CMD_PTP_IN_TRANSMIT_PACKET_MAXNUM
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
.subsections_via_symbols
