	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp1_ptp_unmatched_save
_mlxsw_sp1_ptp_unmatched_save:          ## @mlxsw_sp1_ptp_unmatched_save
	.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
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	_MLXSW_SP1_PTP_HT_GC_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_MLXSW_SP1_PTP_HT_GC_INTERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	%r15d, %eax
	cltd
	idivl	%r13d
	movl	%r14d, 32(%rbx)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 24(%rbx)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 16(%rbx)
	movq	(%r12), %rcx
	cltq
	addq	8(%rcx), %rax
	movq	%rax, 8(%rbx)
	movq	_mlxsw_sp1_ptp_unmatched_ht_params@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_rhltable_insert
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_kfree
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_5
LBB0_3:
	xorl	%r14d, %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_SP1_PTP_HT_GC_TIMEOUT,4,2 ## @MLXSW_SP1_PTP_HT_GC_TIMEOUT
	.comm	_MLXSW_SP1_PTP_HT_GC_INTERVAL,4,2 ## @MLXSW_SP1_PTP_HT_GC_INTERVAL
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_mlxsw_sp1_ptp_unmatched_ht_params,4,2 ## @mlxsw_sp1_ptp_unmatched_ht_params
	.no_dead_strip	_mlxsw_sp1_ptp_unmatched_save
.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_unmatched_save
_mlxsw_sp1_ptp_unmatched_save:          ; @mlxsw_sp1_ptp_unmatched_save
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x3
	mov	x23, x2
	mov	x24, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _MLXSW_SP1_PTP_HT_GC_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLXSW_SP1_PTP_HT_GC_TIMEOUT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MLXSW_SP1_PTP_HT_GC_INTERVAL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MLXSW_SP1_PTP_HT_GC_INTERVAL@GOTPAGEOFF]
Lloh4:
	ldr	w25, [x8]
Lloh5:
	ldr	w26, [x9]
	ldr	x21, [x0]
Lloh6:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w0, #40
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	sdiv	w8, w25, w26
	str	w24, [x0, #32]
	str	x23, [x0, #24]
	str	w20, [x0, #16]
	ldr	x9, [x22]
	ldr	x9, [x9, #8]
	add	x8, x9, w8, sxtw
	str	x8, [x0, #8]
Lloh9:
	adrp	x8, _mlxsw_sp1_ptp_unmatched_ht_params@GOTPAGE
Lloh10:
	ldr	x8, [x8, _mlxsw_sp1_ptp_unmatched_ht_params@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x19
	bl	_rhltable_insert
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_kfree
	b	LBB0_4
LBB0_3:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_4:
	mov	x0, x20
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_SP1_PTP_HT_GC_TIMEOUT,4,2 ; @MLXSW_SP1_PTP_HT_GC_TIMEOUT
	.comm	_MLXSW_SP1_PTP_HT_GC_INTERVAL,4,2 ; @MLXSW_SP1_PTP_HT_GC_INTERVAL
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_mlxsw_sp1_ptp_unmatched_ht_params,4,2 ; @mlxsw_sp1_ptp_unmatched_ht_params
	.no_dead_strip	_mlxsw_sp1_ptp_unmatched_save
.subsections_via_symbols
