	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dn_dev_insert_ifa
_dn_dev_insert_ifa:                     ## @dn_dev_insert_ifa
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	xorl	%eax, %eax
	callq	_ASSERT_RTNL
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	(%r14), %rcx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, (%rax)
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_3
LBB0_5:
	movq	(%r15), %rax
	movq	_ARPHRD_ETHER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:
	movq	(%r14), %r12
	movl	8(%r15), %edi
	callq	_dn_eth2dn
	cmpq	%rax, %r12
	je	LBB0_8
## %bb.7:
	movq	(%r14), %rsi
	leaq	-38(%rbp), %r12
	movq	%r12, %rdi
	callq	_dn_dn2eth
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	callq	_dev_mc_add
LBB0_8:
	movq	(%rbx), %rax
	movq	%rax, 8(%r14)
	movq	%r14, (%rbx)
	movq	_RTM_NEWADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_dn_ifaddr_notify
	movq	_NETDEV_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_dnaddr_chain@GOTPCREL(%rip), %rdi
	movq	%r14, %rdx
	callq	_blocking_notifier_call_chain
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_4:
	movq	_EEXIST@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_ARPHRD_ETHER,8,3               ## @ARPHRD_ETHER
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_RTM_NEWADDR,4,2                ## @RTM_NEWADDR
	.comm	_dnaddr_chain,4,2               ## @dnaddr_chain
	.comm	_NETDEV_UP,4,2                  ## @NETDEV_UP
	.no_dead_strip	_dn_dev_insert_ifa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dn_dev_insert_ifa
_dn_dev_insert_ifa:                     ; @dn_dev_insert_ifa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x0, #8]
	bl	_ASSERT_RTNL
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x9, [x19]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8]
	cmp	x10, x9
	b.eq	LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_2
LBB0_4:
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _ARPHRD_ETHER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARPHRD_ETHER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	ldr	x22, [x19]
	ldr	w0, [x21, #8]
	bl	_dn_eth2dn
	cmp	x22, x0
	b.eq	LBB0_7
; %bb.6:
	ldr	x1, [x19]
	add	x0, sp, #10
	bl	_dn_dn2eth
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x1, sp, #10
	mov	x0, x21
	mov	w3, #0
	bl	_dev_mc_add
LBB0_7:
	ldr	x8, [x20]
	str	x8, [x19, #8]
	str	x19, [x20]
Lloh6:
	adrp	x8, _RTM_NEWADDR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RTM_NEWADDR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_dn_ifaddr_notify
Lloh9:
	adrp	x8, _NETDEV_UP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NETDEV_UP@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x0, _dnaddr_chain@GOTPAGE
Lloh13:
	ldr	x0, [x0, _dnaddr_chain@GOTPAGEOFF]
	mov	x2, x19
	bl	_blocking_notifier_call_chain
	mov	w0, #0
	b	LBB0_9
LBB0_8:
Lloh14:
	adrp	x8, _EEXIST@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_ARPHRD_ETHER,8,3               ; @ARPHRD_ETHER
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_RTM_NEWADDR,4,2                ; @RTM_NEWADDR
	.comm	_dnaddr_chain,4,2               ; @dnaddr_chain
	.comm	_NETDEV_UP,4,2                  ; @NETDEV_UP
	.no_dead_strip	_dn_dev_insert_ifa
.subsections_via_symbols
