	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlxsw_sp_acl_erp_mask_get      ## -- Begin function mlxsw_sp_acl_erp_mask_get
	.p2align	4, 0x90
_mlxsw_sp_acl_erp_mask_get:             ## @mlxsw_sp_acl_erp_mask_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %ebx
	movq	(%rdi), %r14
	movq	_MLXSW_REG_PTCEX_FLEX_KEY_BLOCKS_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	%ebx, -24(%rbp)
	movq	%r14, %rdi
	callq	_mutex_lock
	movl	4(%r14), %edi
	leaq	-24(%rbp), %rsi
	callq	_objagg_obj_get
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	%rbx, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_ERR_CAST
	movq	%rax, %rbx
LBB0_2:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_REG_PTCEX_FLEX_KEY_BLOCKS_LEN,4,2 ## @MLXSW_REG_PTCEX_FLEX_KEY_BLOCKS_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlxsw_sp_acl_erp_mask_get      ; -- Begin function mlxsw_sp_acl_erp_mask_get
	.p2align	2
_mlxsw_sp_acl_erp_mask_get:             ; @mlxsw_sp_acl_erp_mask_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _MLXSW_REG_PTCEX_FLEX_KEY_BLOCKS_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLXSW_REG_PTCEX_FLEX_KEY_BLOCKS_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_memcpy
	str	w19, [sp, #8]
	mov	x0, x20
	bl	_mutex_lock
	ldr	w0, [x20, #4]
	add	x1, sp, #8
	bl	_objagg_obj_get
	mov	x19, x0
	mov	x0, x20
	bl	_mutex_unlock
	mov	x0, x19
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_ERR_CAST
	mov	x19, x0
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_REG_PTCEX_FLEX_KEY_BLOCKS_LEN,4,2 ; @MLXSW_REG_PTCEX_FLEX_KEY_BLOCKS_LEN
.subsections_via_symbols
