	.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_rehash_start
_mlxsw_sp_acl_tcam_vregion_rehash_start: ## @mlxsw_sp_acl_tcam_vregion_rehash_start
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rdi), %r12
	movq	%rsi, %rdi
	callq	_mlxsw_sp_acl_tcam_vregion_prio
	movl	%eax, %r13d
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_trace_mlxsw_sp_acl_tcam_vregion_rehash
	movq	8(%rbx), %rax
	movl	4(%rax), %edi
	callq	*8(%r12)
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.8:
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movl	16(%rbx), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_mlxsw_sp_acl_tcam_region_create
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_6
LBB0_3:
	movq	8(%rbx), %r8
	movq	%r8, (%rbx)
	movq	%r12, 8(%rbx)
	movl	(%r8), %esi
	movq	%r15, %rdi
	movq	%r12, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_mlxsw_sp_acl_tcam_group_region_attach
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_4
## %bb.5:
	movq	(%rbx), %rax
	movq	%rax, 8(%rbx)
	movq	$0, (%rbx)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_mlxsw_sp_acl_tcam_region_destroy
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_6:
	movq	%r14, %rdi
	callq	*(%r13)
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, 8(%rax)
	movl	$0, (%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mlxsw_sp_acl_tcam_vregion_rehash_start
.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_rehash_start
_mlxsw_sp_acl_tcam_vregion_rehash_start: ; @mlxsw_sp_acl_tcam_vregion_rehash_start
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x25, [x0]
	mov	x0, x1
	bl	_mlxsw_sp_acl_tcam_vregion_prio
	mov	x23, x0
	mov	x0, x20
	mov	x1, x21
	bl	_trace_mlxsw_sp_acl_tcam_vregion_rehash
	ldr	x8, [x25, #8]
	ldr	x9, [x21, #8]
	ldr	w0, [x9, #4]
	blr	x8
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_2:
	ldr	w1, [x21, #16]
	mov	x0, x20
	mov	x2, x21
	mov	x3, x19
	bl	_mlxsw_sp_acl_tcam_region_create
	mov	x24, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x24
	bl	_PTR_ERR
	mov	x23, x0
	b	LBB0_6
LBB0_4:
	ldr	x4, [x21, #8]
	stp	x4, x24, [x21]
	ldr	w1, [x4]
	mov	x0, x20
	mov	x2, x24
	mov	x3, x23
	bl	_mlxsw_sp_acl_tcam_group_region_attach
	mov	x23, x0
	cbz	w0, LBB0_8
; %bb.5:
	ldr	x8, [x21]
	stp	xzr, x8, [x21]
	mov	x0, x20
	mov	x1, x24
	bl	_mlxsw_sp_acl_tcam_region_destroy
LBB0_6:
	ldr	x8, [x25]
	mov	x0, x19
	blr	x8
LBB0_7:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_8:
	str	x19, [x22, #8]
	str	wzr, [x22]
	b	LBB0_7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mlxsw_sp_acl_tcam_vregion_rehash_start
.subsections_via_symbols
