	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlxsw_sp_fid_put               ## -- Begin function mlxsw_sp_fid_put
	.p2align	4, 0x90
_mlxsw_sp_fid_put:                      ## @mlxsw_sp_fid_put
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %r14
	movq	24(%r14), %r15
	decq	(%rdi)
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rdi, %rbx
	addq	$28, %rdi
	callq	_list_del
	movq	(%r15), %rdi
	leaq	24(%rbx), %rsi
	movq	_mlxsw_sp_fid_ht_params@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_rhashtable_remove_fast
	movq	16(%rbx), %rax
	movq	16(%rax), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	8(%rbx), %rdi
	subq	8(%r14), %rdi
	movl	(%r14), %esi
	callq	___clear_bit
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mlxsw_sp_fid_ht_params,4,2     ## @mlxsw_sp_fid_ht_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlxsw_sp_fid_put               ; -- Begin function mlxsw_sp_fid_put
	.p2align	2
_mlxsw_sp_fid_put:                      ; @mlxsw_sp_fid_put
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x20, [x0, #16]
	ldr	x21, [x20, #24]
	ldr	x8, [x0]
	subs	x8, x8, #1
	str	x8, [x0]
	b.eq	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
	add	x0, x0, #28
	bl	_list_del
	ldr	x0, [x21]
	add	x1, x19, #24
Lloh0:
	adrp	x8, _mlxsw_sp_fid_ht_params@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mlxsw_sp_fid_ht_params@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_rhashtable_remove_fast
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #16]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #8]
	ldr	x9, [x20, #8]
	sub	x0, x8, x9
	ldr	w1, [x20]
	bl	___clear_bit
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mlxsw_sp_fid_ht_params,4,2     ; @mlxsw_sp_fid_ht_params
.subsections_via_symbols
