	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_ptp_is_ptp_tx              ## -- Begin function efx_ptp_is_ptp_tx
	.p2align	4, 0x90
_efx_ptp_is_ptp_tx:                     ## @efx_ptp_is_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	(%rdi), %rax
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.2:
	movq	%rsi, %rbx
	movq	(%rsi), %rax
	movq	_PTP_MIN_LENGTH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_10
## %bb.3:
	movq	_MC_CMD_PTP_IN_TRANSMIT_PACKET_MAXNUM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_10
## %bb.4:
	movq	8(%rbx), %r15
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	xorl	%edi, %edi
	cmpq	%rax, %r15
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	movq	%rbx, %rdi
	callq	_skb_transport_header_was_set
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	%rbx, %rdi
	callq	_skb_network_header_len
	cmpl	$4, %eax
	jb	LBB0_10
## %bb.7:
	movq	%rbx, %rdi
	callq	_ip_hdr
	movq	(%rax), %rax
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.8:
	movq	%rbx, %rdi
	callq	_skb_headlen
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_skb_transport_offset
	addq	$4, %rax
	cmpq	%rax, %r15
	jb	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_udp_hdr
	movq	(%rax), %rbx
	movq	_PTP_EVENT_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	xorl	%r14d, %r14d
	cmpq	%rax, %rbx
	sete	%r14b
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PTP_MIN_LENGTH,8,3             ## @PTP_MIN_LENGTH
	.comm	_MC_CMD_PTP_IN_TRANSMIT_PACKET_MAXNUM,8,3 ## @MC_CMD_PTP_IN_TRANSMIT_PACKET_MAXNUM
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_IPPROTO_UDP,8,3                ## @IPPROTO_UDP
	.comm	_PTP_EVENT_PORT,4,2             ## @PTP_EVENT_PORT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_ptp_is_ptp_tx              ; -- Begin function efx_ptp_is_ptp_tx
	.p2align	2
_efx_ptp_is_ptp_tx:                     ; @efx_ptp_is_ptp_tx
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x19, x1
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _PTP_MIN_LENGTH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PTP_MIN_LENGTH@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _MC_CMD_PTP_IN_TRANSMIT_PACKET_MAXNUM@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MC_CMD_PTP_IN_TRANSMIT_PACKET_MAXNUM@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #0, ge
	b.le	LBB0_5
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x20, [x19, #8]
Lloh6:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_htons
	cmp	x20, x0
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_4
; %bb.6:
	mov	x0, x19
	bl	_skb_transport_header_was_set
	cbz	x0, LBB0_4
; %bb.7:
	mov	x0, x19
	bl	_skb_network_header_len
	cmp	w0, #4
	b.lo	LBB0_3
; %bb.8:
	mov	x0, x19
	bl	_ip_hdr
	ldr	x8, [x0]
Lloh9:
	adrp	x9, _IPPROTO_UDP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IPPROTO_UDP@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.9:
	mov	x0, x19
	bl	_skb_headlen
	mov	x20, x0
	mov	x0, x19
	bl	_skb_transport_offset
	add	x8, x0, #4
	cmp	x20, x8
	b.lo	LBB0_3
; %bb.10:
	mov	x0, x19
	bl	_udp_hdr
	ldr	x19, [x0]
Lloh12:
	adrp	x8, _PTP_EVENT_PORT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PTP_EVENT_PORT@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_htons
	cmp	x19, x0
	cset	w0, eq
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PTP_MIN_LENGTH,8,3             ; @PTP_MIN_LENGTH
	.comm	_MC_CMD_PTP_IN_TRANSMIT_PACKET_MAXNUM,8,3 ; @MC_CMD_PTP_IN_TRANSMIT_PACKET_MAXNUM
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_IPPROTO_UDP,8,3                ; @IPPROTO_UDP
	.comm	_PTP_EVENT_PORT,4,2             ; @PTP_EVENT_PORT
.subsections_via_symbols
