	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlxsw_sp1_ptp_hwtstamp_set     ## -- Begin function mlxsw_sp1_ptp_hwtstamp_set
	.p2align	4, 0x90
_mlxsw_sp1_ptp_hwtstamp_set:            ## @mlxsw_sp1_ptp_hwtstamp_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-40(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	leaq	-20(%rbp), %rcx
	movq	%r14, %rdi
	callq	_mlxsw_sp_ptp_get_message_types
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	-40(%rbp), %rsi
	movq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_mlxsw_sp1_ptp_mtpppc_update
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movl	(%r14), %eax
	movl	%eax, 16(%rbx)
	movq	-40(%rbp), %rax
	movq	%rax, 8(%rbx)
	movq	-32(%rbp), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	_mlxsw_sp1_ptp_port_shaper_check
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	-20(%rbp), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
LBB0_4:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlxsw_sp1_ptp_hwtstamp_set     ; -- Begin function mlxsw_sp1_ptp_hwtstamp_set
	.p2align	2
_mlxsw_sp1_ptp_hwtstamp_set:            ; @mlxsw_sp1_ptp_hwtstamp_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	mov	x20, x0
	add	x1, sp, #16
	add	x2, sp, #8
	sub	x3, x29, #20
	mov	x0, x19
	bl	_mlxsw_sp_ptp_get_message_types
	cbnz	w0, LBB0_4
; %bb.1:
	ldp	x2, x1, [sp, #8]
	mov	x0, x20
	bl	_mlxsw_sp1_ptp_mtpppc_update
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	w8, [x19]
	str	w8, [x20, #16]
	ldp	x9, x8, [sp, #8]
	stp	x9, x8, [x20]
	mov	x0, x20
	bl	_mlxsw_sp1_ptp_port_shaper_check
	cbnz	w0, LBB0_4
; %bb.3:
	ldur	w8, [x29, #-20]
	str	w8, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
