	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlxsw_sp_acl_atcam_region_init ## -- Begin function mlxsw_sp_acl_atcam_region_init
	.p2align	4, 0x90
_mlxsw_sp_acl_atcam_region_init:        ## @mlxsw_sp_acl_atcam_region_init
	.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	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, %r12
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	%rcx, 32(%rdx)
	movq	%rsi, 24(%rdx)
	movq	%rdx, %rdi
	callq	_mlxsw_sp_acl_atcam_region_type_init
	leaq	20(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movq	_mlxsw_sp_acl_atcam_entries_ht_params@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_rhashtable_init
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.2:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_mlxsw_sp_acl_erp_region_init
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	leaq	16(%rbx), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_mlxsw_sp_acl_ctcam_region_init
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_mlxsw_sp_acl_erp_region_fini
LBB0_6:
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	callq	*8(%rax)
LBB0_7:
	movq	%rbx, %rdi
	callq	_rhashtable_destroy
LBB0_8:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%r13d, %r13d
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_mlxsw_sp_acl_atcam_entries_ht_params,4,2 ## @mlxsw_sp_acl_atcam_entries_ht_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlxsw_sp_acl_atcam_region_init ; -- Begin function mlxsw_sp_acl_atcam_region_init
	.p2align	2
_mlxsw_sp_acl_atcam_region_init:        ; @mlxsw_sp_acl_atcam_region_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x5
	mov	x24, x4
	mov	x21, x3
	mov	x19, x2
	mov	x22, x0
	stp	x1, x3, [x2, #24]
	mov	x0, x2
	bl	_mlxsw_sp_acl_atcam_region_type_init
	add	x0, x19, #20
	bl	_INIT_LIST_HEAD
Lloh0:
	adrp	x1, _mlxsw_sp_acl_atcam_entries_ht_params@GOTPAGE
Lloh1:
	ldr	x1, [x1, _mlxsw_sp_acl_atcam_entries_ht_params@GOTPAGEOFF]
	mov	x0, x19
	bl	_rhashtable_init
	mov	x23, x0
	cbnz	w0, LBB0_7
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	mov	x23, x0
	cbnz	w0, LBB0_6
; %bb.2:
	mov	x0, x19
	mov	x1, x24
	bl	_mlxsw_sp_acl_erp_region_init
	mov	x23, x0
	cbnz	w0, LBB0_5
; %bb.3:
	add	x1, x19, #16
	mov	x0, x22
	mov	x2, x21
	mov	x3, x20
	bl	_mlxsw_sp_acl_ctcam_region_init
	mov	x23, x0
	cbz	w0, LBB0_7
; %bb.4:
	mov	x0, x19
	bl	_mlxsw_sp_acl_erp_region_fini
LBB0_5:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	mov	x0, x19
	blr	x8
LBB0_6:
	mov	x0, x19
	bl	_rhashtable_destroy
LBB0_7:
	mov	x0, x23
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mlxsw_sp_acl_atcam_entries_ht_params,4,2 ; @mlxsw_sp_acl_atcam_entries_ht_params
.subsections_via_symbols
