	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_s2io_delete_unicast_mc
_do_s2io_delete_unicast_mc:             ## @do_s2io_delete_unicast_mc
	.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	%rsi, %r14
	cmpl	$2, (%rdi)
	jl	LBB0_6
## %bb.1:
	movq	%rdi, %r12
	movq	_S2IO_DISABLE_MAC_ENTRY@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_do_s2io_read_unicast_mc
	cmpq	%r14, %rax
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	cmpl	(%r12), %ebx
	jl	LBB0_2
LBB0_6:
	movq	_ERR_DBG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_DBG_PRINT
	movq	_FAILURE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
LBB0_8:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_do_s2io_add_mac
	movq	_FAILURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.4:
	movq	%r12, %rdi
	callq	_do_s2io_store_unicast_mc
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_S2IO_DISABLE_MAC_ENTRY,8,3     ## @S2IO_DISABLE_MAC_ENTRY
	.comm	_FAILURE,8,3                    ## @FAILURE
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.comm	_ERR_DBG,4,2                    ## @ERR_DBG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MAC address 0x%llx not found in CAM\n"

	.no_dead_strip	_do_s2io_delete_unicast_mc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_s2io_delete_unicast_mc
_do_s2io_delete_unicast_mc:             ; @do_s2io_delete_unicast_mc
	.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, x1
	ldr	w8, [x0]
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _S2IO_DISABLE_MAC_ENTRY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S2IO_DISABLE_MAC_ENTRY@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	mov	w22, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_do_s2io_read_unicast_mc
	cmp	x0, x20
	b.eq	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w22, w22, #1
	ldr	w8, [x19]
	cmp	w22, w8
	b.lt	LBB0_2
LBB0_4:
Lloh3:
	adrp	x8, _ERR_DBG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_DBG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_DBG_PRINT
Lloh8:
	adrp	x8, _FAILURE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
LBB0_6:
                                        ; kill: def $w0 killed $w0 killed $x0
	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
LBB0_7:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_do_s2io_add_mac
Lloh10:
	adrp	x8, _FAILURE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.8:
	mov	x0, x19
	bl	_do_s2io_store_unicast_mc
Lloh13:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_S2IO_DISABLE_MAC_ENTRY,8,3     ; @S2IO_DISABLE_MAC_ENTRY
	.comm	_FAILURE,8,3                    ; @FAILURE
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.comm	_ERR_DBG,4,2                    ; @ERR_DBG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MAC address 0x%llx not found in CAM\n"

	.no_dead_strip	_do_s2io_delete_unicast_mc
.subsections_via_symbols
