	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hw_add_addr
_hw_add_addr:                           ## @hw_add_addr
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_ADDITIONAL_ENTRIES@GOTPCREL(%rip), %r13
	movl	(%r13), %r14d
	movl	16(%rdi), %edi
	callq	_ether_addr_equal
	xorl	%ecx, %ecx
	testq	%rax, %rax
	jne	LBB0_10
## %bb.1:
	cmpl	$0, (%rbx)
	jle	LBB0_7
## %bb.2:
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movslq	(%rbx), %rax
	cmpq	%rax, %r12
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movl	(%rax,%r12,4), %edi
	movq	%r15, %rsi
	callq	_ether_addr_equal
	testq	%rax, %rax
	jne	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r14d, (%r13)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rax
	movl	(%rax,%r12,4), %edi
	callq	_empty_addr
	testq	%rax, %rax
	cmovnel	%r12d, %r14d
	jmp	LBB0_6
LBB0_7:
	movl	$-1, %ecx
	cmpl	(%r13), %r14d
	jge	LBB0_10
## %bb.8:
	movq	8(%rbx), %rax
	movslq	%r14d, %r12
	movl	(%rax,%r12,4), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_memcpy
	movq	8(%rbx), %rax
	movl	(%rax,%r12,4), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_hw_ena_add_addr
LBB0_9:
	xorl	%ecx, %ecx
LBB0_10:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADDITIONAL_ENTRIES,4,2         ## @ADDITIONAL_ENTRIES
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_hw_add_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hw_add_addr
_hw_add_addr:                           ; @hw_add_addr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x22, _ADDITIONAL_ENTRIES@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ADDITIONAL_ENTRIES@GOTPAGEOFF]
	ldr	w20, [x22]
	ldr	w0, [x0, #16]
	bl	_ether_addr_equal
	cbz	x0, LBB0_3
LBB0_1:
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.4:
	mov	x23, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x19]
	cmp	x23, x8
	b.ge	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x23, lsl #2]
	mov	x1, x21
	bl	_ether_addr_equal
	cbnz	x0, LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x22]
	cmp	w8, w20
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x23, lsl #2]
	bl	_empty_addr
	cmp	x0, #0
	csel	w20, w20, w23, eq
	b	LBB0_5
LBB0_9:
	ldr	w8, [x22]
	cmp	w20, w8
	b.ge	LBB0_11
; %bb.10:
	ldr	x8, [x19, #8]
	sbfiz	x22, x20, #2, #32
	ldr	w0, [x8, x22]
Lloh2:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_memcpy
	ldr	x8, [x19, #8]
	ldr	w2, [x8, x22]
	mov	x0, x19
	mov	x1, x20
	bl	_hw_ena_add_addr
	b	LBB0_1
LBB0_11:
	mov	w0, #-1
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ADDITIONAL_ENTRIES,4,2         ; @ADDITIONAL_ENTRIES
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_hw_add_addr
.subsections_via_symbols
