	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_acl_atcam_12kb_lkey_id_get
_mlxsw_sp_acl_atcam_12kb_lkey_id_get:   ## @mlxsw_sp_acl_atcam_12kb_lkey_id_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	%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	%edx, %r15d
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	8(%rdi), %r14
	movq	$0, -52(%rbp)
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_mlxsw_sp_acl_afk
	movq	%rax, %rbx
	xorl	%edi, %edi
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_MLXSW_SP_ACL_ATCAM_LKEY_ID_BLOCK_CLEAR_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MLXSW_SP_ACL_ATCAM_LKEY_ID_BLOCK_CLEAR_END@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_mlxsw_afk_clear
	movl	%r15d, -56(%rbp)
	movq	_mlxsw_sp_acl_atcam_lkey_id_ht_params@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_rhashtable_lookup_fast
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_refcount_inc
	jmp	LBB0_3
LBB0_2:
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdi
	callq	_mlxsw_sp_acl_atcam_lkey_id_create
	movq	%rax, %rbx
LBB0_3:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_SP_ACL_ATCAM_LKEY_ID_BLOCK_CLEAR_START,4,2 ## @MLXSW_SP_ACL_ATCAM_LKEY_ID_BLOCK_CLEAR_START
	.comm	_MLXSW_SP_ACL_ATCAM_LKEY_ID_BLOCK_CLEAR_END,4,2 ## @MLXSW_SP_ACL_ATCAM_LKEY_ID_BLOCK_CLEAR_END
	.comm	_mlxsw_sp_acl_atcam_lkey_id_ht_params,4,2 ## @mlxsw_sp_acl_atcam_lkey_id_ht_params
	.no_dead_strip	_mlxsw_sp_acl_atcam_12kb_lkey_id_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_atcam_12kb_lkey_id_get
_mlxsw_sp_acl_atcam_12kb_lkey_id_get:   ; @mlxsw_sp_acl_atcam_12kb_lkey_id_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldp	x8, x22, [x0]
	stur	xzr, [sp, #4]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_mlxsw_sp_acl_afk
	mov	x23, x0
	mov	w0, #0
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
Lloh0:
	adrp	x8, _MLXSW_SP_ACL_ATCAM_LKEY_ID_BLOCK_CLEAR_START@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLXSW_SP_ACL_ATCAM_LKEY_ID_BLOCK_CLEAR_START@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _MLXSW_SP_ACL_ATCAM_LKEY_ID_BLOCK_CLEAR_END@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLXSW_SP_ACL_ATCAM_LKEY_ID_BLOCK_CLEAR_END@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x23
	mov	w1, #0
	bl	_mlxsw_afk_clear
	str	w20, [sp]
Lloh6:
	adrp	x8, _mlxsw_sp_acl_atcam_lkey_id_ht_params@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mlxsw_sp_acl_atcam_lkey_id_ht_params@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x1, sp
	mov	x0, x22
	bl	_rhashtable_lookup_fast
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	bl	_refcount_inc
	b	LBB0_3
LBB0_2:
	mov	x1, sp
	mov	x0, x19
	bl	_mlxsw_sp_acl_atcam_lkey_id_create
	mov	x20, x0
LBB0_3:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_SP_ACL_ATCAM_LKEY_ID_BLOCK_CLEAR_START,4,2 ; @MLXSW_SP_ACL_ATCAM_LKEY_ID_BLOCK_CLEAR_START
	.comm	_MLXSW_SP_ACL_ATCAM_LKEY_ID_BLOCK_CLEAR_END,4,2 ; @MLXSW_SP_ACL_ATCAM_LKEY_ID_BLOCK_CLEAR_END
	.comm	_mlxsw_sp_acl_atcam_lkey_id_ht_params,4,2 ; @mlxsw_sp_acl_atcam_lkey_id_ht_params
	.no_dead_strip	_mlxsw_sp_acl_atcam_12kb_lkey_id_get
.subsections_via_symbols
