	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __mlxsw_sp_port_fdb_uc_op
___mlxsw_sp_port_fdb_uc_op:             ## @__mlxsw_sp_port_fdb_uc_op
	.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
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, %ebx
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_MLXSW_REG_SFD_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movl	%ebx, %edi
	callq	_mlxsw_sp_sfd_op
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_mlxsw_reg_sfd_pack
	movq	%r14, (%rsp)
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	16(%rbp), %edx
	movq	%r13, %rcx
	movl	%r12d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_mlxsw_reg_sfd_uc_pack
	movq	%r15, %rdi
	callq	_mlxsw_reg_sfd_num_rec_get
	movq	%rax, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ebx
	movq	_sfd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLXSW_REG
	movl	%ebx, %edi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_mlxsw_reg_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	%r15, %rdi
	callq	_mlxsw_reg_sfd_num_rec_get
	movl	$0, %ebx
	cmpq	%rax, %r14
	je	LBB0_5
## %bb.4:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_5:
	movq	%r15, %rdi
	callq	_kfree
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_REG_SFD_LEN,4,2          ## @MLXSW_REG_SFD_LEN
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_sfd,4,2                        ## @sfd
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	___mlxsw_sp_port_fdb_uc_op
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __mlxsw_sp_port_fdb_uc_op
___mlxsw_sp_port_fdb_uc_op:             ; @__mlxsw_sp_port_fdb_uc_op
	.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, x6
	mov	x21, x5
	mov	x26, x4
	mov	x24, x3
	mov	x25, x2
	mov	x23, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _MLXSW_REG_SFD_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLXSW_REG_SFD_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_kmalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	mov	x0, x26
	bl	_mlxsw_sp_sfd_op
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_mlxsw_reg_sfd_pack
	mov	x0, x19
	mov	w1, #0
	mov	x2, x22
	mov	x3, x25
	mov	x4, x24
	mov	x5, x21
	mov	x6, x23
	bl	_mlxsw_reg_sfd_uc_pack
	mov	x0, x19
	bl	_mlxsw_reg_sfd_num_rec_get
	mov	x21, x0
	ldr	w20, [x20]
Lloh6:
	adrp	x8, _sfd@GOTPAGE
Lloh7:
	ldr	x8, [x8, _sfd@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_MLXSW_REG
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	_mlxsw_reg_write
	mov	x20, x0
	cbnz	w0, LBB0_6
; %bb.2:
	mov	x0, x19
	bl	_mlxsw_reg_sfd_num_rec_get
	cmp	x21, x0
	b.ne	LBB0_5
; %bb.3:
	mov	w20, #0
	b	LBB0_6
LBB0_4:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_7
LBB0_5:
Lloh12:
	adrp	x8, _EBUSY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_6:
	mov	x0, x19
	bl	_kfree
LBB0_7:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_REG_SFD_LEN,4,2          ; @MLXSW_REG_SFD_LEN
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_sfd,4,2                        ; @sfd
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	___mlxsw_sp_port_fdb_uc_op
.subsections_via_symbols
