	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixp_ptp_match
_ixp_ptp_match:                         ## @ixp_ptp_match
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	8(%rdi), %r12
	callq	_ptp_classify_raw
	movq	_PTP_CLASS_V1_IPV4@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r12, %rdi
	callq	_IPV4_HLEN
                                        ## kill: def $eax killed $eax def $rax
	addl	%r15d, %eax
	movq	_UDP_HLEN@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movq	_OFF_PTP_SEQUENCE_ID@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r15
	leaq	(%rax,%r15), %rcx
	addq	$8, %rcx
	cmpq	%rcx, (%r14)
	jb	LBB0_6
## %bb.3:
	leaq	(%r12,%rax,4), %r14
	movq	_OFF_PTP_SOURCE_UUID@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	leaq	(%r14,%rbx,4), %rsi
	addq	$8, %rsi
	leaq	-64(%rbp), %rdi
	movl	$8, %edx
	callq	_memcpy
	movq	(%r14,%rbx,4), %rdi
	callq	_ntohs
	cmpq	%r13, %rax
	jne	LBB0_6
## %bb.4:
	movq	-64(%rbp), %rdi
	callq	_ntohl
	cmpq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	movl	$0, %edx
	jne	LBB0_7
## %bb.5:
	movq	(%r14,%r15,4), %rdi
	callq	_ntohs
	xorl	%edx, %edx
	cmpq	-48(%rbp), %rax                 ## 8-byte Folded Reload
	sete	%dl
	jmp	LBB0_7
LBB0_6:
	xorl	%edx, %edx
LBB0_7:
	movl	%edx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PTP_CLASS_V1_IPV4,8,3          ## @PTP_CLASS_V1_IPV4
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_UDP_HLEN,4,2                   ## @UDP_HLEN
	.comm	_OFF_PTP_SEQUENCE_ID,8,3        ## @OFF_PTP_SEQUENCE_ID
	.comm	_OFF_PTP_SOURCE_UUID,4,2        ## @OFF_PTP_SOURCE_UUID
	.no_dead_strip	_ixp_ptp_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixp_ptp_match
_ixp_ptp_match:                         ; @ixp_ptp_match
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x23, x0
	ldr	x22, [x0, #8]
	bl	_ptp_classify_raw
Lloh0:
	adrp	x8, _PTP_CLASS_V1_IPV4@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PTP_CLASS_V1_IPV4@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	mov	x0, x22
	bl	_IPV4_HLEN
Lloh6:
	adrp	x8, _UDP_HLEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UDP_HLEN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w9, w0, w24
	add	w8, w9, w8
	ldr	x9, [x23]
Lloh9:
	adrp	x10, _OFF_PTP_SEQUENCE_ID@GOTPAGE
Lloh10:
	ldr	x10, [x10, _OFF_PTP_SEQUENCE_ID@GOTPAGEOFF]
Lloh11:
	ldr	x23, [x10]
	add	x10, x8, x23
	add	x10, x10, #8
	cmp	x9, x10
	b.lo	LBB0_5
; %bb.2:
	add	x22, x22, x8, lsl #2
Lloh12:
	adrp	x8, _OFF_PTP_SOURCE_UUID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OFF_PTP_SOURCE_UUID@GOTPAGEOFF]
Lloh14:
	ldrsw	x8, [x8]
	add	x24, x22, x8, lsl #2
	add	x1, x24, #8
	add	x0, sp, #8
	mov	w2, #8
	bl	_memcpy
	ldr	x0, [x24]
	bl	_ntohs
	cmp	x0, x21
	b.ne	LBB0_5
; %bb.3:
	ldr	x0, [sp, #8]
	bl	_ntohl
	cmp	x0, x20
	b.ne	LBB0_5
; %bb.4:
	add	x8, x22, x23, lsl #2
	ldr	x0, [x8]
	bl	_ntohs
	cmp	x0, x19
	cset	w0, eq
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PTP_CLASS_V1_IPV4,8,3          ; @PTP_CLASS_V1_IPV4
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_UDP_HLEN,4,2                   ; @UDP_HLEN
	.comm	_OFF_PTP_SEQUENCE_ID,8,3        ; @OFF_PTP_SEQUENCE_ID
	.comm	_OFF_PTP_SOURCE_UUID,4,2        ; @OFF_PTP_SOURCE_UUID
	.no_dead_strip	_ixp_ptp_match
.subsections_via_symbols
