	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlxsw_sp_dpipe_init            ## -- Begin function mlxsw_sp_dpipe_init
	.p2align	4, 0x90
_mlxsw_sp_dpipe_init:                   ## @mlxsw_sp_dpipe_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rdi), %edi
	callq	_priv_to_devlink
	movq	_mlxsw_sp_dpipe_headers@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	callq	_devlink_dpipe_headers_register
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.1:
	movq	%r14, %rdi
	callq	_mlxsw_sp_dpipe_erif_table_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.2:
	movq	%r14, %rdi
	callq	_mlxsw_sp_dpipe_host4_table_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movq	%r14, %rdi
	callq	_mlxsw_sp_dpipe_host6_table_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	%r14, %rdi
	callq	_mlxsw_sp_dpipe_adj_table_init
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_mlxsw_sp_dpipe_host6_table_fini
LBB0_7:
	movq	%r14, %rdi
	callq	_mlxsw_sp_dpipe_host4_table_fini
LBB0_8:
	movq	%r14, %rdi
	callq	_mlxsw_sp_dpipe_erif_table_fini
LBB0_9:
	movl	(%r14), %edi
	callq	_priv_to_devlink
	movq	%rax, %rdi
	callq	_devlink_dpipe_headers_unregister
LBB0_10:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	xorl	%ebx, %ebx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_mlxsw_sp_dpipe_headers,4,2     ## @mlxsw_sp_dpipe_headers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlxsw_sp_dpipe_init            ; -- Begin function mlxsw_sp_dpipe_init
	.p2align	2
_mlxsw_sp_dpipe_init:                   ; @mlxsw_sp_dpipe_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0]
	bl	_priv_to_devlink
Lloh0:
	adrp	x1, _mlxsw_sp_dpipe_headers@GOTPAGE
Lloh1:
	ldr	x1, [x1, _mlxsw_sp_dpipe_headers@GOTPAGEOFF]
	bl	_devlink_dpipe_headers_register
	mov	x20, x0
	cbnz	w0, LBB0_9
; %bb.1:
	mov	x0, x19
	bl	_mlxsw_sp_dpipe_erif_table_init
	mov	x20, x0
	cbnz	w0, LBB0_8
; %bb.2:
	mov	x0, x19
	bl	_mlxsw_sp_dpipe_host4_table_init
	mov	x20, x0
	cbnz	w0, LBB0_7
; %bb.3:
	mov	x0, x19
	bl	_mlxsw_sp_dpipe_host6_table_init
	mov	x20, x0
	cbnz	w0, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_mlxsw_sp_dpipe_adj_table_init
	mov	x20, x0
	cbz	w0, LBB0_9
; %bb.5:
	mov	x0, x19
	bl	_mlxsw_sp_dpipe_host6_table_fini
LBB0_6:
	mov	x0, x19
	bl	_mlxsw_sp_dpipe_host4_table_fini
LBB0_7:
	mov	x0, x19
	bl	_mlxsw_sp_dpipe_erif_table_fini
LBB0_8:
	ldr	w0, [x19]
	bl	_priv_to_devlink
	bl	_devlink_dpipe_headers_unregister
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mlxsw_sp_dpipe_headers,4,2     ; @mlxsw_sp_dpipe_headers
.subsections_via_symbols
