	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp1_ptp_got_packet
_mlxsw_sp1_ptp_got_packet:              ## @mlxsw_sp1_ptp_got_packet
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	(%rax,%rdx,8), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	xorl	%ecx, %ecx
	testl	%r15d, %r15d
	sete	%cl
	movq	(%rax,%rcx,8), %r13
	testq	%r13, %r13
	je	LBB0_5
## %bb.2:
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	%rbx, -64(%rbp)
	movl	%r15d, -56(%rbp)
	leaq	-44(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	callq	_mlxsw_sp_ptp_parse
	testl	%eax, %eax
	je	LBB0_3
LBB0_5:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	callq	_mlxsw_sp1_ptp_packet_finish
LBB0_6:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movb	-52(%rbp), %cl
	movl	$1, %eax
	shll	%cl, %eax
	cltq
	testq	%rax, %r13
	je	LBB0_5
## %bb.4:
	movq	-48(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-64(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movq	%r12, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_mlxsw_sp1_ptp_got_piece
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mlxsw_sp1_ptp_got_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp1_ptp_got_packet
_mlxsw_sp1_ptp_got_packet:              ; @mlxsw_sp1_ptp_got_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x8, [x8, x2, lsl #3]
	cbz	x8, LBB0_3
; %bb.1:
	cmp	w21, #0
	cset	w9, eq
	ldr	x23, [x8, w9, uxtw #3]
	cbz	x23, LBB0_3
; %bb.2:
	add	x24, sp, #24
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	str	x22, [sp, #24]
	str	w21, [sp, #32]
	add	x1, x24, #20
	add	x2, x24, #12
	add	x3, x24, #16
	mov	x0, x19
	bl	_mlxsw_sp_ptp_parse
	cbz	w0, LBB0_5
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	mov	x4, #0
	bl	_mlxsw_sp1_ptp_packet_finish
LBB0_4:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_5:
	ldr	w8, [sp, #36]
	mov	w9, #1
	lsl	w8, w9, w8
	sxtw	x8, w8
	tst	x23, x8
	b.eq	LBB0_3
; %bb.6:
	ldur	q0, [sp, #24]
	str	q0, [sp]
	ldr	x8, [sp, #40]
	str	x8, [sp, #16]
	mov	x1, sp
	mov	x0, x20
	mov	x2, x19
	mov	w3, #0
	bl	_mlxsw_sp1_ptp_got_piece
	b	LBB0_4
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mlxsw_sp1_ptp_got_packet
.subsections_via_symbols
