	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_sync
_is_sync:                               ## @is_sync
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_PTP_CLASS_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	andl	%esi, %r13d
	je	LBB0_2
## %bb.1:
	movq	_VLAN_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_2:
	movq	(%r14), %r12
	movq	_PTP_CLASS_PMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	xorl	%r15d, %r15d
	cmpl	$128, %eax
	je	LBB0_8
## %bb.3:
	cmpl	$129, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$130, %eax
	jne	LBB0_13
## %bb.5:
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r13d, %eax
	leaq	(%r12,%rax,4), %rdi
	callq	_IPV4_HLEN
                                        ## kill: def $eax killed $eax def $rax
	addl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jmp	LBB0_7
LBB0_8:
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_6:
	movq	_ETH_HLEN@GOTPCREL(%rip), %rcx
	movq	_IP6_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	(%rcx), %eax
LBB0_7:
	movq	_UDP_HLEN@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
LBB0_9:
	addl	%r13d, %eax
	movq	_PTP_CLASS_V1@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	je	LBB0_11
## %bb.10:
	movq	_OFF_PTP_CONTROL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
LBB0_11:
	leal	(%rbx,%rax), %ecx
	incl	%ecx
	cmpl	%ecx, 8(%r14)
	jb	LBB0_13
## %bb.12:
	addl	%ebx, %eax
	movl	%eax, %eax
	xorl	%r15d, %r15d
	testb	$15, (%r12,%rax,4)
	sete	%r15b
LBB0_13:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PTP_CLASS_VLAN,4,2             ## @PTP_CLASS_VLAN
	.comm	_VLAN_HLEN,8,3                  ## @VLAN_HLEN
	.comm	_PTP_CLASS_PMASK,4,2            ## @PTP_CLASS_PMASK
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_UDP_HLEN,4,2                   ## @UDP_HLEN
	.comm	_IP6_HLEN,4,2                   ## @IP6_HLEN
	.comm	_PTP_CLASS_V1,4,2               ## @PTP_CLASS_V1
	.comm	_OFF_PTP_CONTROL,8,3            ## @OFF_PTP_CONTROL
	.no_dead_strip	_is_sync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_sync
_is_sync:                               ; @is_sync
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _PTP_CLASS_VLAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PTP_CLASS_VLAN@GOTPAGEOFF]
	ldr	x21, [x0]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _VLAN_HLEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VLAN_HLEN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w8, w1
	csel	w22, wzr, w9, eq
Lloh6:
	adrp	x8, _PTP_CLASS_PMASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PTP_CLASS_PMASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w8, w8, w1
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	mov	w0, #0
	cmp	w8, #130
	b.ne	LBB0_8
; %bb.3:
Lloh9:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh11:
	ldr	w23, [x8]
	add	x0, x21, w22, uxtw #2
	bl	_IPV4_HLEN
Lloh12:
	adrp	x8, _UDP_HLEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _UDP_HLEN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	add	w9, w0, w23
	add	w8, w9, w8
	b	LBB0_6
LBB0_4:
Lloh15:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	b	LBB0_6
LBB0_5:
Lloh18:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _IP6_HLEN@GOTPAGE
Lloh22:
	ldr	x9, [x9, _IP6_HLEN@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, _UDP_HLEN@GOTPAGE
Lloh25:
	ldr	x10, [x10, _UDP_HLEN@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	add	w8, w9, w8
	add	w8, w8, w10
LBB0_6:
	mov	w0, #0
Lloh27:
	adrp	x9, _PTP_CLASS_V1@GOTPAGE
Lloh28:
	ldr	x9, [x9, _PTP_CLASS_V1@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
Lloh30:
	adrp	x10, _OFF_PTP_CONTROL@GOTPAGE
Lloh31:
	ldr	x10, [x10, _OFF_PTP_CONTROL@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
	tst	w9, w20
	csel	w9, wzr, w10, eq
	add	w8, w8, w22
	add	w8, w8, w9
	ldr	w9, [x19, #8]
	add	w10, w8, #1
	cmp	w9, w10
	b.lo	LBB0_8
; %bb.7:
	ldr	w8, [x21, w8, uxtw #2]
	tst	w8, #0xf
	cset	w0, eq
LBB0_8:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_PTP_CLASS_VLAN,4,2             ; @PTP_CLASS_VLAN
	.comm	_VLAN_HLEN,8,3                  ; @VLAN_HLEN
	.comm	_PTP_CLASS_PMASK,4,2            ; @PTP_CLASS_PMASK
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_UDP_HLEN,4,2                   ; @UDP_HLEN
	.comm	_IP6_HLEN,4,2                   ; @IP6_HLEN
	.comm	_PTP_CLASS_V1,4,2               ; @PTP_CLASS_V1
	.comm	_OFF_PTP_CONTROL,8,3            ; @OFF_PTP_CONTROL
	.no_dead_strip	_is_sync
.subsections_via_symbols
