	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlxsw_sp_acl_tcam_profile_ops  ## -- Begin function mlxsw_sp_acl_tcam_profile_ops
	.p2align	4, 0x90
_mlxsw_sp_acl_tcam_profile_ops:         ## @mlxsw_sp_acl_tcam_profile_ops
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	_mlxsw_sp_acl_tcam_profile_ops_arr@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	xorl	%edi, %edi
	cmpl	%ebx, %eax
	setbe	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	movq	(%r14), %rax
	movl	%ebx, %ecx
	movq	(%rax,%rcx,8), %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_WARN_ON
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	cmoveq	%rbx, %rax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mlxsw_sp_acl_tcam_profile_ops_arr,8,3 ## @mlxsw_sp_acl_tcam_profile_ops_arr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlxsw_sp_acl_tcam_profile_ops  ; -- Begin function mlxsw_sp_acl_tcam_profile_ops
	.p2align	2
_mlxsw_sp_acl_tcam_profile_ops:         ; @mlxsw_sp_acl_tcam_profile_ops
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x20, _mlxsw_sp_acl_tcam_profile_ops_arr@GOTPAGE
Lloh1:
	ldr	x20, [x20, _mlxsw_sp_acl_tcam_profile_ops_arr@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w0, w19
	cset	w0, ls
	bl	_WARN_ON
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, #0
	b	LBB0_3
LBB0_2:
	ldr	x8, [x20]
	ldr	x19, [x8, w19, uxtw #3]
	cmp	x19, #0
	cset	w0, eq
	bl	_WARN_ON
	cmp	x0, #0
	csel	x0, x19, xzr, eq
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mlxsw_sp_acl_tcam_profile_ops_arr,8,3 ; @mlxsw_sp_acl_tcam_profile_ops_arr
.subsections_via_symbols
