	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_s2io_prog_unicast
_do_s2io_prog_unicast:                  ## @do_s2io_prog_unicast
	.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, %r15
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	testl	%r8d, %r8d
	jle	LBB0_15
## %bb.1:
	movq	(%r14), %rax
	movq	(%rax), %rcx
	cmpl	$1, %r8d
	jne	LBB0_3
## %bb.2:
	xorl	%edx, %edx
                                        ## implicit-def: $ebx
                                        ## implicit-def: $esi
	xorl	%edi, %edi
	xorl	%eax, %eax
	testb	$1, %r8b
	jne	LBB0_7
	jmp	LBB0_8
LBB0_3:
	movl	%r8d, %edi
	andl	$-2, %edi
	xorl	%edx, %edx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rdx,4), %eax
	shll	$16, %ebx
	shll	$8, %eax
	orl	%eax, %ebx
	orl	4(%r15,%rdx,4), %ebx
	movl	(%rcx,%rdx,4), %eax
	shll	$16, %esi
	shll	$8, %eax
	orl	%eax, %esi
	orl	4(%rcx,%rdx,4), %esi
	addq	$2, %rdx
	cmpq	%rdx, %rdi
	jne	LBB0_4
## %bb.5:
	movl	%ebx, %edi
	shll	$8, %edi
	movl	%esi, %eax
	shll	$8, %eax
	testb	$1, %r8b
	je	LBB0_8
LBB0_7:
	orl	(%r15,%rdx,4), %edi
	orl	(%rcx,%rdx,4), %eax
	movl	%edi, %ebx
	movl	%eax, %esi
LBB0_8:
	cmpl	%esi, %ebx
	jne	LBB0_9
LBB0_15:
	movq	_SUCCESS@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	8(%r14), %eax
	movl	$1, %r15d
	cmpl	$2, %eax
	jl	LBB0_17
## %bb.10:
	movl	$1, %r15d
	movq	_S2IO_DISABLE_MAC_ENTRY@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_do_s2io_read_unicast_mc
	cmpl	(%r12), %eax
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	%ebx, %eax
	je	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	incl	%r15d
	movl	8(%r14), %eax
	cmpl	%eax, %r15d
	jl	LBB0_11
LBB0_17:
	cmpl	%eax, %r15d
	jne	LBB0_20
LBB0_18:
	movq	_ERR_DBG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_DBG_PRINT
	movq	_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_12:
	movl	8(%r14), %eax
	cmpl	%eax, %r15d
	je	LBB0_18
LBB0_20:
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_do_s2io_copy_mac_addr
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_do_s2io_add_mac                ## TAILCALL
LBB0_14:
	movq	_INFO_DBG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movslq	%ebx, %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_DBG_PRINT
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.comm	_S2IO_DISABLE_MAC_ENTRY,4,2     ## @S2IO_DISABLE_MAC_ENTRY
	.comm	_INFO_DBG,4,2                   ## @INFO_DBG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MAC addr:0x%llx already present in CAM\n"

	.comm	_ERR_DBG,4,2                    ## @ERR_DBG
L_.str.1:                               ## @.str.1
	.asciz	"CAM full no space left for Unicast MAC\n"

	.comm	_FAILURE,4,2                    ## @FAILURE
	.no_dead_strip	_do_s2io_prog_unicast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_s2io_prog_unicast
_do_s2io_prog_unicast:                  ; @do_s2io_prog_unicast
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x1
	bl	_netdev_priv
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x0
	mov	w20, #0
	mov	w9, #0
	ldr	x10, [x0]
	ldr	x10, [x10]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x21], #4
	orr	w20, w11, w20, lsl #8
	ldr	w11, [x10], #4
	orr	w9, w11, w9, lsl #8
	subs	x8, x8, #1
	b.ne	LBB0_2
; %bb.3:
	cmp	w20, w9
	b.ne	LBB0_6
LBB0_4:
Lloh3:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	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
	add	sp, sp, #80
	ret
LBB0_6:
	ldr	w8, [x19, #8]
	cmp	w8, #2
	b.lt	LBB0_11
; %bb.7:
	sxtw	x22, w20
	mov	w21, #1
Lloh5:
	adrp	x23, _S2IO_DISABLE_MAC_ENTRY@GOTPAGE
Lloh6:
	ldr	x23, [x23, _S2IO_DISABLE_MAC_ENTRY@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_do_s2io_read_unicast_mc
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w0, w20
	b.eq	LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	w21, w21, #1
	ldr	w8, [x19, #8]
	cmp	w21, w8
	b.lt	LBB0_8
	b	LBB0_12
LBB0_11:
	mov	w21, #1
LBB0_12:
	cmp	w21, w8
	b.ne	LBB0_15
LBB0_13:
Lloh7:
	adrp	x8, _ERR_DBG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERR_DBG@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DBG_PRINT
Lloh12:
	adrp	x8, _FAILURE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
	b	LBB0_5
LBB0_14:
	ldr	w8, [x19, #8]
	cmp	w21, w8
	b.eq	LBB0_13
LBB0_15:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_do_s2io_copy_mac_addr
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	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
	add	sp, sp, #80
	b	_do_s2io_add_mac
LBB0_16:
Lloh14:
	adrp	x8, _INFO_DBG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _INFO_DBG@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	str	x22, [sp]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DBG_PRINT
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.comm	_S2IO_DISABLE_MAC_ENTRY,4,2     ; @S2IO_DISABLE_MAC_ENTRY
	.comm	_INFO_DBG,4,2                   ; @INFO_DBG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MAC addr:0x%llx already present in CAM\n"

	.comm	_ERR_DBG,4,2                    ; @ERR_DBG
l_.str.1:                               ; @.str.1
	.asciz	"CAM full no space left for Unicast MAC\n"

	.comm	_FAILURE,4,2                    ; @FAILURE
	.no_dead_strip	_do_s2io_prog_unicast
.subsections_via_symbols
