	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp2_mr_tcam_rule_parse
_mlxsw_sp2_mr_tcam_rule_parse:          ## @mlxsw_sp2_mr_tcam_rule_parse
	.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
	pushq	%rax
	.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, %r14
	callq	_mlxsw_sp_acl_rule_rulei
	movq	%rax, %r13
	movl	%r15d, (%rax)
	movq	_MLXSW_AFK_ELEMENT_VIRT_ROUTER_0_7@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	(%r14), %r12d
	movl	$7, %edi
	xorl	%esi, %esi
	callq	_GENMASK
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_mlxsw_sp_acl_rulei_keymask_u32
	movq	_MLXSW_AFK_ELEMENT_VIRT_ROUTER_8_10@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	(%r14), %ebx
	sarl	$8, %ebx
	movl	$2, %edi
	xorl	%esi, %esi
	callq	_GENMASK
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_mlxsw_sp_acl_rulei_keymask_u32
	movl	4(%r14), %eax
	cmpl	$128, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_4
## %bb.2:
	movq	%r13, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlxsw_sp2_mr_tcam_rule_parse4  ## TAILCALL
LBB0_3:
	movq	%r13, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlxsw_sp2_mr_tcam_rule_parse6  ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_AFK_ELEMENT_VIRT_ROUTER_0_7,4,2 ## @MLXSW_AFK_ELEMENT_VIRT_ROUTER_0_7
	.comm	_MLXSW_AFK_ELEMENT_VIRT_ROUTER_8_10,4,2 ## @MLXSW_AFK_ELEMENT_VIRT_ROUTER_8_10
	.no_dead_strip	_mlxsw_sp2_mr_tcam_rule_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp2_mr_tcam_rule_parse
_mlxsw_sp2_mr_tcam_rule_parse:          ; @mlxsw_sp2_mr_tcam_rule_parse
	.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	x21, x2
	mov	x19, x1
	bl	_mlxsw_sp_acl_rule_rulei
	mov	x20, x0
	str	w21, [x0]
Lloh0:
	adrp	x8, _MLXSW_AFK_ELEMENT_VIRT_ROUTER_0_7@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLXSW_AFK_ELEMENT_VIRT_ROUTER_0_7@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	ldr	w22, [x19]
	mov	w0, #7
	mov	w1, #0
	bl	_GENMASK
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_mlxsw_sp_acl_rulei_keymask_u32
Lloh3:
	adrp	x8, _MLXSW_AFK_ELEMENT_VIRT_ROUTER_8_10@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLXSW_AFK_ELEMENT_VIRT_ROUTER_8_10@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	ldr	w8, [x19]
	asr	w22, w8, #8
	mov	w0, #2
	mov	w1, #0
	bl	_GENMASK
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_mlxsw_sp_acl_rulei_keymask_u32
	ldr	w8, [x19, #4]
	cmp	w8, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	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
	b	_mlxsw_sp2_mr_tcam_rule_parse4
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	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
	b	_mlxsw_sp2_mr_tcam_rule_parse6
LBB0_4:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_AFK_ELEMENT_VIRT_ROUTER_0_7,4,2 ; @MLXSW_AFK_ELEMENT_VIRT_ROUTER_0_7
	.comm	_MLXSW_AFK_ELEMENT_VIRT_ROUTER_8_10,4,2 ; @MLXSW_AFK_ELEMENT_VIRT_ROUTER_8_10
	.no_dead_strip	_mlxsw_sp2_mr_tcam_rule_parse
.subsections_via_symbols
