	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_sb_cm_get
_mlxsw_sp_sb_cm_get:                    ## @mlxsw_sp_sb_cm_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	(%rdi), %rax
	movq	(%rax), %r12
	movq	%rdx, %rdi
	movl	%ecx, %esi
	callq	_mlxsw_sp_sb_cm_exists
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
	movq	_MLXSW_REG_SBXX_DIR_INGRESS@GOTPCREL(%rip), %rax
	shlq	$4, %r15
	cmpl	%r14d, (%rax)
	leaq	(%r12,%r15), %rax
	leaq	8(%r12,%r15), %rcx
	cmovneq	%rax, %rcx
	shlq	$2, %rbx
	addq	(%rcx), %rbx
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_REG_SBXX_DIR_INGRESS,4,2 ## @MLXSW_REG_SBXX_DIR_INGRESS
	.no_dead_strip	_mlxsw_sp_sb_cm_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_sb_cm_get
_mlxsw_sp_sb_cm_get:                    ; @mlxsw_sp_sb_cm_get
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	ldr	x8, [x0]
	ldr	x22, [x8]
	mov	x0, x2
	mov	x1, x3
	bl	_mlxsw_sp_sb_cm_exists
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
Lloh0:
	adrp	x8, _MLXSW_REG_SBXX_DIR_INGRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLXSW_REG_SBXX_DIR_INGRESS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	x9, x22, x21, lsl #4
	add	x10, x9, #8
	cmp	w8, w19
	csel	x8, x10, x9, eq
	ldr	x8, [x8]
	add	x0, x8, x20, lsl #2
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_REG_SBXX_DIR_INGRESS,4,2 ; @MLXSW_REG_SBXX_DIR_INGRESS
	.no_dead_strip	_mlxsw_sp_sb_cm_get
.subsections_via_symbols
