	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_ptp_header
_parse_ptp_header:                      ## @parse_ptp_header
	.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, %r15
	callq	_skb_mac_header
	movq	%rax, %r14
	movq	_PTP_CLASS_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	andl	%ebx, %r12d
	je	LBB0_2
## %bb.1:
	movq	_VLAN_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_2:
	movq	_PTP_CLASS_PMASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	cmpl	$128, %ebx
	je	LBB0_6
## %bb.3:
	cmpl	$129, %ebx
	je	LBB0_7
## %bb.4:
	cmpl	$130, %ebx
	jne	LBB0_11
## %bb.5:
	movq	_ETH_HLEN@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movl	%r12d, %eax
	leaq	(%r14,%rax,4), %rdi
	callq	_IPV4_HLEN
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %eax
	movq	_UDP_HLEN@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movl	(%r13), %ecx
	jmp	LBB0_8
LBB0_6:
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %eax
	jmp	LBB0_8
LBB0_7:
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IP6_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ecx, %eax
	movq	_UDP_HLEN@GOTPCREL(%rip), %rdx
	addl	(%rdx), %eax
LBB0_8:
	addl	(%r15), %ecx
	leal	(%rax,%r12), %edx
	addl	$34, %edx
	cmpl	%edx, %ecx
	jae	LBB0_10
LBB0_11:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_10:
	addl	%r12d, %eax
	movl	%eax, %eax
	leaq	(%r14,%rax,4), %rax
LBB0_12:
	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
	.no_dead_strip	_parse_ptp_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_ptp_header
_parse_ptp_header:                      ; @parse_ptp_header
	.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	x21, x1
	mov	x20, x0
	bl	_skb_mac_header
	mov	x19, x0
Lloh0:
	adrp	x8, _PTP_CLASS_VLAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PTP_CLASS_VLAN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _VLAN_HLEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VLAN_HLEN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w8, w21
	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, w21
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #130
	b.ne	LBB0_7
; %bb.3:
Lloh9:
	adrp	x21, _ETH_HLEN@GOTPAGE
Lloh10:
	ldr	x21, [x21, _ETH_HLEN@GOTPAGEOFF]
	ldr	w23, [x21]
	add	x0, x19, w22, uxtw #2
	bl	_IPV4_HLEN
Lloh11:
	adrp	x8, _UDP_HLEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UDP_HLEN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	add	w9, w0, w23
	add	w9, w9, w8
	ldr	w8, [x21]
	b	LBB0_6
LBB0_4:
Lloh14:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	mov	x9, x8
	b	LBB0_6
LBB0_5:
Lloh17:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _IP6_HLEN@GOTPAGE
Lloh21:
	ldr	x9, [x9, _IP6_HLEN@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	adrp	x10, _UDP_HLEN@GOTPAGE
Lloh24:
	ldr	x10, [x10, _UDP_HLEN@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	add	w9, w9, w8
	add	w9, w9, w10
LBB0_6:
	add	w9, w9, w22
	ldr	w10, [x20]
	add	w11, w9, #34
	add	w8, w8, w10
	cmp	w8, w11
	b.hs	LBB0_8
LBB0_7:
	mov	x0, #0
	b	LBB0_9
LBB0_8:
	add	x0, x19, w9, uxtw #2
LBB0_9:
	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	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.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
	.no_dead_strip	_parse_ptp_header
.subsections_via_symbols
