	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_sf2_cfp_rule_del_one
_bcm_sf2_cfp_rule_del_one:              ## @bcm_sf2_cfp_rule_del_one
	.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
	movq	%rcx, %r15
	movl	%edx, %r14d
	movq	%rdi, %r12
	movl	%edx, %esi
	callq	_bcm_sf2_cfp_rule_addr_set
	movq	_OP_SEL_READ@GOTPCREL(%rip), %rax
	movq	_TCAM_SEL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	orl	(%rax), %esi
	movq	%r12, %rdi
	callq	_bcm_sf2_cfp_op
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movl	$6, %edi
	callq	_CORE_CFP_DATA_PORT
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_core_readl
	testq	%r15, %r15
	je	LBB0_3
## %bb.2:
	sarl	$24, %eax
	movq	_CHAIN_ID_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, (%r15)
LBB0_3:
	xorl	%edi, %edi
	callq	_CORE_CFP_DATA_PORT
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_core_readl
	movq	_SLICE_VALID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	xorl	%edi, %edi
	callq	_CORE_CFP_DATA_PORT
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_core_writel
	movq	_OP_SEL_WRITE@GOTPCREL(%rip), %rax
	movl	(%r13), %esi
	orl	(%rax), %esi
	movq	%r12, %rdi
	callq	_bcm_sf2_cfp_op
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movl	4(%r12), %esi
	movl	%r14d, %edi
	callq	_clear_bit
	movl	(%r12), %esi
	movl	%r14d, %edi
	callq	_clear_bit
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OP_SEL_READ,4,2                ## @OP_SEL_READ
	.comm	_TCAM_SEL,4,2                   ## @TCAM_SEL
	.comm	_CHAIN_ID_MASK,4,2              ## @CHAIN_ID_MASK
	.comm	_SLICE_VALID,4,2                ## @SLICE_VALID
	.comm	_OP_SEL_WRITE,4,2               ## @OP_SEL_WRITE
	.no_dead_strip	_bcm_sf2_cfp_rule_del_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_sf2_cfp_rule_del_one
_bcm_sf2_cfp_rule_del_one:              ; @bcm_sf2_cfp_rule_del_one
	.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, x3
	mov	x19, x2
	mov	x20, x0
	mov	x1, x2
	bl	_bcm_sf2_cfp_rule_addr_set
Lloh0:
	adrp	x8, _OP_SEL_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OP_SEL_READ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x22, _TCAM_SEL@GOTPAGE
Lloh4:
	ldr	x22, [x22, _TCAM_SEL@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w1, w9, w8
	mov	x0, x20
	bl	_bcm_sf2_cfp_op
	cbnz	w0, LBB0_5
; %bb.1:
	mov	w0, #6
	bl	_CORE_CFP_DATA_PORT
	mov	x1, x0
	mov	x0, x20
	bl	_core_readl
	cbz	x21, LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _CHAIN_ID_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CHAIN_ID_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	and	w8, w8, w0, asr #24
	str	w8, [x21]
LBB0_3:
	mov	w0, #0
	bl	_CORE_CFP_DATA_PORT
	mov	x1, x0
	mov	x0, x20
	bl	_core_readl
Lloh8:
	adrp	x8, _SLICE_VALID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SLICE_VALID@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	bic	w21, w0, w8
	mov	w0, #0
	bl	_CORE_CFP_DATA_PORT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_core_writel
Lloh11:
	adrp	x8, _OP_SEL_WRITE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _OP_SEL_WRITE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w1, w9, w8
	mov	x0, x20
	bl	_bcm_sf2_cfp_op
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_clear_bit
	ldr	w1, [x20]
	mov	x0, x19
	bl	_clear_bit
	mov	w0, #0
LBB0_5:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_OP_SEL_READ,4,2                ; @OP_SEL_READ
	.comm	_TCAM_SEL,4,2                   ; @TCAM_SEL
	.comm	_CHAIN_ID_MASK,4,2              ; @CHAIN_ID_MASK
	.comm	_SLICE_VALID,4,2                ; @SLICE_VALID
	.comm	_OP_SEL_WRITE,4,2               ; @OP_SEL_WRITE
	.no_dead_strip	_bcm_sf2_cfp_rule_del_one
.subsections_via_symbols
