	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_fdb_init
_mlxsw_sp_fdb_init:                     ## @mlxsw_sp_fdb_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	movq	_MLXSW_SP_DEFAULT_AGEING_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mlxsw_sp_ageing_set
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r14d
	movq	(%rbx), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_7
LBB0_2:
	movq	_mlxsw_sp_switchdev_notifier@GOTPCREL(%rip), %rdi
	callq	_register_switchdev_notifier
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	movq	(%rbx), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_7
LBB0_4:
	movq	_mlxsw_sp_switchdev_blocking_notifier@GOTPCREL(%rip), %rdi
	callq	_register_switchdev_blocking_notifier
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %r14d
	movq	(%rbx), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_err
	movq	_mlxsw_sp_switchdev_notifier@GOTPCREL(%rip), %rdi
	callq	_unregister_switchdev_notifier
	jmp	LBB0_7
LBB0_6:
	leaq	4(%r15), %rdi
	movq	_mlxsw_sp_fdb_notify_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	movq	_MLXSW_SP_DEFAULT_LEARNING_INTERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%rbx, %rdi
	callq	_mlxsw_sp_fdb_notify_work_schedule
	xorl	%r14d, %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_SP_DEFAULT_AGEING_TIME,4,2 ## @MLXSW_SP_DEFAULT_AGEING_TIME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to set default ageing time\n"

	.comm	_mlxsw_sp_switchdev_notifier,4,2 ## @mlxsw_sp_switchdev_notifier
L_.str.1:                               ## @.str.1
	.asciz	"Failed to register switchdev notifier\n"

	.comm	_mlxsw_sp_switchdev_blocking_notifier,4,2 ## @mlxsw_sp_switchdev_blocking_notifier
L_.str.2:                               ## @.str.2
	.asciz	"Failed to register switchdev blocking notifier\n"

	.comm	_mlxsw_sp_fdb_notify_work,4,2   ## @mlxsw_sp_fdb_notify_work
	.comm	_MLXSW_SP_DEFAULT_LEARNING_INTERVAL,4,2 ## @MLXSW_SP_DEFAULT_LEARNING_INTERVAL
	.no_dead_strip	_mlxsw_sp_fdb_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_fdb_init
_mlxsw_sp_fdb_init:                     ; @mlxsw_sp_fdb_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	x21, [x0, #8]
Lloh0:
	adrp	x8, _MLXSW_SP_DEFAULT_AGEING_TIME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLXSW_SP_DEFAULT_AGEING_TIME@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_mlxsw_sp_ageing_set
	cbz	w0, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x8, [x20]
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_7
LBB0_2:
Lloh5:
	adrp	x0, _mlxsw_sp_switchdev_notifier@GOTPAGE
Lloh6:
	ldr	x0, [x0, _mlxsw_sp_switchdev_notifier@GOTPAGEOFF]
	bl	_register_switchdev_notifier
	cbz	w0, LBB0_4
; %bb.3:
	mov	x19, x0
	ldr	x8, [x20]
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	b	LBB0_7
LBB0_4:
Lloh9:
	adrp	x0, _mlxsw_sp_switchdev_blocking_notifier@GOTPAGE
Lloh10:
	ldr	x0, [x0, _mlxsw_sp_switchdev_blocking_notifier@GOTPAGEOFF]
	bl	_register_switchdev_blocking_notifier
	mov	x19, x0
	cbz	w0, LBB0_6
; %bb.5:
	ldr	x8, [x20]
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
Lloh13:
	adrp	x0, _mlxsw_sp_switchdev_notifier@GOTPAGE
Lloh14:
	ldr	x0, [x0, _mlxsw_sp_switchdev_notifier@GOTPAGEOFF]
	bl	_unregister_switchdev_notifier
	b	LBB0_7
LBB0_6:
	add	x0, x21, #4
Lloh15:
	adrp	x8, _mlxsw_sp_fdb_notify_work@GOTPAGE
Lloh16:
	ldr	x8, [x8, _mlxsw_sp_fdb_notify_work@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
Lloh18:
	adrp	x8, _MLXSW_SP_DEFAULT_LEARNING_INTERVAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MLXSW_SP_DEFAULT_LEARNING_INTERVAL@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x21]
	mov	x0, x20
	bl	_mlxsw_sp_fdb_notify_work_schedule
LBB0_7:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_SP_DEFAULT_AGEING_TIME,4,2 ; @MLXSW_SP_DEFAULT_AGEING_TIME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to set default ageing time\n"

	.comm	_mlxsw_sp_switchdev_notifier,4,2 ; @mlxsw_sp_switchdev_notifier
l_.str.1:                               ; @.str.1
	.asciz	"Failed to register switchdev notifier\n"

	.comm	_mlxsw_sp_switchdev_blocking_notifier,4,2 ; @mlxsw_sp_switchdev_blocking_notifier
l_.str.2:                               ; @.str.2
	.asciz	"Failed to register switchdev blocking notifier\n"

	.comm	_mlxsw_sp_fdb_notify_work,4,2   ; @mlxsw_sp_fdb_notify_work
	.comm	_MLXSW_SP_DEFAULT_LEARNING_INTERVAL,4,2 ; @MLXSW_SP_DEFAULT_LEARNING_INTERVAL
	.no_dead_strip	_mlxsw_sp_fdb_init
.subsections_via_symbols
