	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_dpipe_host6_table_init
_mlxsw_sp_dpipe_host6_table_init:       ## @mlxsw_sp_dpipe_host6_table_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_priv_to_devlink
	movq	%rax, %r15
	movq	_MLXSW_SP_DPIPE_TABLE_NAME_HOST6@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_mlxsw_sp_host6_ops@GOTPCREL(%rip), %rdx
	movq	%rax, %rdi
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	callq	_devlink_dpipe_table_register
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	(%r12), %esi
	movq	_MLXSW_SP_RESOURCE_KVD_HASH_DOUBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MLXSW_SP_DPIPE_TABLE_RESOURCE_UNIT_HOST6@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	callq	_devlink_dpipe_table_resource_set
	movl	%eax, %r14d
	movl	$0, %eax
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.2:
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_devlink_dpipe_table_unregister
	movl	%r14d, %eax
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_SP_DPIPE_TABLE_NAME_HOST6,4,2 ## @MLXSW_SP_DPIPE_TABLE_NAME_HOST6
	.comm	_mlxsw_sp_host6_ops,4,2         ## @mlxsw_sp_host6_ops
	.comm	_MLXSW_SP_RESOURCE_KVD_HASH_DOUBLE,4,2 ## @MLXSW_SP_RESOURCE_KVD_HASH_DOUBLE
	.comm	_MLXSW_SP_DPIPE_TABLE_RESOURCE_UNIT_HOST6,4,2 ## @MLXSW_SP_DPIPE_TABLE_RESOURCE_UNIT_HOST6
	.no_dead_strip	_mlxsw_sp_dpipe_host6_table_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_dpipe_host6_table_init
_mlxsw_sp_dpipe_host6_table_init:       ; @mlxsw_sp_dpipe_host6_table_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	ldr	w0, [x0]
	bl	_priv_to_devlink
	mov	x19, x0
Lloh0:
	adrp	x21, _MLXSW_SP_DPIPE_TABLE_NAME_HOST6@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MLXSW_SP_DPIPE_TABLE_NAME_HOST6@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x2, _mlxsw_sp_host6_ops@GOTPAGE
Lloh3:
	ldr	x2, [x2, _mlxsw_sp_host6_ops@GOTPAGEOFF]
	mov	x3, x20
	mov	w4, #0
	bl	_devlink_dpipe_table_register
	mov	x20, x0
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	w1, [x21]
Lloh4:
	adrp	x8, _MLXSW_SP_RESOURCE_KVD_HASH_DOUBLE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MLXSW_SP_RESOURCE_KVD_HASH_DOUBLE@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
Lloh7:
	adrp	x8, _MLXSW_SP_DPIPE_TABLE_RESOURCE_UNIT_HOST6@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MLXSW_SP_DPIPE_TABLE_RESOURCE_UNIT_HOST6@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_devlink_dpipe_table_resource_set
	mov	x20, x0
	cbz	w0, LBB0_3
; %bb.2:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_devlink_dpipe_table_unregister
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_SP_DPIPE_TABLE_NAME_HOST6,4,2 ; @MLXSW_SP_DPIPE_TABLE_NAME_HOST6
	.comm	_mlxsw_sp_host6_ops,4,2         ; @mlxsw_sp_host6_ops
	.comm	_MLXSW_SP_RESOURCE_KVD_HASH_DOUBLE,4,2 ; @MLXSW_SP_RESOURCE_KVD_HASH_DOUBLE
	.comm	_MLXSW_SP_DPIPE_TABLE_RESOURCE_UNIT_HOST6,4,2 ; @MLXSW_SP_DPIPE_TABLE_RESOURCE_UNIT_HOST6
	.no_dead_strip	_mlxsw_sp_dpipe_host6_table_init
.subsections_via_symbols
