	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_acl_tcam_vregion_get
_mlxsw_sp_acl_tcam_vregion_get:         ## @mlxsw_sp_acl_tcam_vregion_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	%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, %r12
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	-44(%rbp), %rcx
	movq	%rsi, %rdi
	movl	%edx, %esi
	movq	%r12, %rdx
	callq	_mlxsw_sp_acl_tcam_vgroup_vregion_find
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	cmpl	$0, -44(%rbp)
	je	LBB0_3
## %bb.2:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
	jmp	LBB0_5
LBB0_4:
	leaq	-48(%rbp), %r13
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_mlxsw_sp_acl_tcam_vgroup_use_patterns
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	movq	%r13, %rcx
	callq	_mlxsw_sp_acl_tcam_vregion_create
	jmp	LBB0_5
LBB0_3:
	incl	(%rax)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_mlxsw_sp_acl_tcam_vregion_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_acl_tcam_vregion_get
_mlxsw_sp_acl_tcam_vregion_get:         ; @mlxsw_sp_acl_tcam_vregion_get
	.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	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x3, sp, #4
	mov	x0, x1
	mov	x1, x2
	mov	x2, x22
	bl	_mlxsw_sp_acl_tcam_vgroup_vregion_find
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [sp, #4]
	cbz	w8, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
	b	LBB0_5
LBB0_3:
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x22
	bl	_mlxsw_sp_acl_tcam_vgroup_use_patterns
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_mlxsw_sp_acl_tcam_vregion_create
	b	LBB0_5
LBB0_4:
	ldr	w8, [x0]
	add	w8, w8, #1
	str	w8, [x0]
LBB0_5:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_mlxsw_sp_acl_tcam_vregion_get
.subsections_via_symbols
