	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_acl_tcam_vchunk_get
_mlxsw_sp_acl_tcam_vchunk_get:          ## @mlxsw_sp_acl_tcam_vchunk_get
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	%edx, -36(%rbp)
	movq	_mlxsw_sp_acl_tcam_vchunk_ht_params@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-36(%rbp), %rsi
	movq	%r15, %rdi
	callq	_rhashtable_lookup_fast
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	8(%rax), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_mlxsw_afk_key_info_subset
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
	jmp	LBB0_5
LBB0_4:
	movl	-36(%rbp), %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_mlxsw_sp_acl_tcam_vchunk_create
LBB0_5:
	movq	%rax, %rbx
	jmp	LBB0_6
LBB0_3:
	incl	(%rbx)
LBB0_6:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mlxsw_sp_acl_tcam_vchunk_ht_params,4,2 ## @mlxsw_sp_acl_tcam_vchunk_ht_params
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_mlxsw_sp_acl_tcam_vchunk_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_acl_tcam_vchunk_get
_mlxsw_sp_acl_tcam_vchunk_get:          ; @mlxsw_sp_acl_tcam_vchunk_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x3
	mov	x21, x1
	mov	x22, x0
	str	w2, [sp, #12]
Lloh0:
	adrp	x8, _mlxsw_sp_acl_tcam_vchunk_ht_params@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mlxsw_sp_acl_tcam_vchunk_ht_params@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x1, sp, #12
	mov	x0, x21
	bl	_rhashtable_lookup_fast
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	mov	x1, x20
	bl	_mlxsw_afk_key_info_subset
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
	b	LBB0_4
LBB0_3:
	ldr	w2, [sp, #12]
	mov	x0, x22
	mov	x1, x21
	mov	x3, x20
	bl	_mlxsw_sp_acl_tcam_vchunk_create
LBB0_4:
	mov	x19, x0
	b	LBB0_6
LBB0_5:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_6:
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_mlxsw_sp_acl_tcam_vchunk_ht_params,4,2 ; @mlxsw_sp_acl_tcam_vchunk_ht_params
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_mlxsw_sp_acl_tcam_vchunk_get
.subsections_via_symbols
