	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlxsw_sp_flower_stats          ## -- Begin function mlxsw_sp_flower_stats
	.p2align	4, 0x90
_mlxsw_sp_flower_stats:                 ## @mlxsw_sp_flower_stats
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %r15
	movl	8(%rdx), %edx
	movq	_MLXSW_SP_ACL_PROFILE_FLOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%ebx, %ebx
	xorl	%r8d, %r8d
	callq	_mlxsw_sp_acl_ruleset_get
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	movl	%eax, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	subl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	4(%r14), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_mlxsw_sp_acl_rule_lookup
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	leaq	-44(%rbp), %rdx
	leaq	-36(%rbp), %rcx
	leaq	-40(%rbp), %r8
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_mlxsw_sp_acl_rule_get_stats
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movl	%eax, %ebx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_mlxsw_sp_acl_ruleset_put
	jmp	LBB0_3
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_2
LBB0_8:
	movl	-36(%rbp), %esi
	movl	-44(%rbp), %edx
	movl	-40(%rbp), %ecx
	movq	%r14, %rdi
	callq	_flow_stats_update
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_mlxsw_sp_acl_ruleset_put
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_SP_ACL_PROFILE_FLOWER,4,2 ## @MLXSW_SP_ACL_PROFILE_FLOWER
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlxsw_sp_flower_stats          ; -- Begin function mlxsw_sp_flower_stats
	.p2align	2
_mlxsw_sp_flower_stats:                 ; @mlxsw_sp_flower_stats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x19, x0
	ldr	w2, [x2, #8]
Lloh0:
	adrp	x8, _MLXSW_SP_ACL_PROFILE_FLOWER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLXSW_SP_ACL_PROFILE_FLOWER@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x4, #0
	bl	_mlxsw_sp_acl_ruleset_get
	mov	x21, x0
	bl	_IS_ERR
	bl	_WARN_ON
	cbz	x0, LBB0_2
LBB0_1:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_6
LBB0_2:
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	x1, x21
	bl	_mlxsw_sp_acl_rule_lookup
	cbz	x0, LBB0_1
; %bb.3:
	mov	x1, x0
	add	x2, sp, #12
	add	x3, sp, #4
	add	x4, sp, #8
	mov	x0, x19
	bl	_mlxsw_sp_acl_rule_get_stats
	mov	x22, x0
	cbnz	w0, LBB0_5
; %bb.4:
	ldp	w1, w3, [sp, #4]
	ldr	w2, [sp, #12]
	mov	x0, x20
	bl	_flow_stats_update
LBB0_5:
	mov	x0, x19
	mov	x1, x21
	bl	_mlxsw_sp_acl_ruleset_put
LBB0_6:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_SP_ACL_PROFILE_FLOWER,4,2 ; @MLXSW_SP_ACL_PROFILE_FLOWER
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
