	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __inet_insert_ifa
___inet_insert_ifa:                     ## @__inet_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	%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	%edx, %r14d
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	48(%rdi), %r15
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_ASSERT_RTNL
	cmpq	$0, (%rbx)
	je	LBB0_1
## %bb.2:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	_IFA_F_SECONDARY@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	%eax, %ecx
	notl	%ecx
	andl	8(%rbx), %ecx
	movl	%ecx, 8(%rbx)
	movq	(%r15), %r14
	testq	%r14, %r14
	je	LBB0_3
## %bb.4:
	movq	%r15, %r13
	testl	%eax, 8(%r14)
	jne	LBB0_7
	.p2align	4, 0x90
LBB0_6:
	movq	16(%rbx), %rax
	leaq	32(%r14), %rcx
	cmpq	16(%r14), %rax
	cmovleq	%rcx, %r13
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rax
	cmpq	24(%rbx), %rax
	jne	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	40(%r14), %edi
	movq	%rbx, %rsi
	callq	_inet_ifa_match
	testq	%rax, %rax
	je	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r14), %rax
	cmpq	(%rbx), %rax
	je	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%r14), %rax
	cmpq	16(%rbx), %rax
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r12), %eax
	orl	%eax, 8(%rbx)
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	32(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r12), %eax
	movq	%rcx, %r14
	testl	%eax, 8(%r14)
	jne	LBB0_7
	jmp	LBB0_6
LBB0_1:
	movq	%rbx, %rdi
	callq	_inet_free_ifa
	jmp	LBB0_22
LBB0_3:
	movq	%r15, %r13
	jmp	LBB0_18
LBB0_17:
	addq	$32, %r14
	movl	8(%rbx), %ecx
	movl	(%r12), %eax
	movq	%r14, %r15
LBB0_18:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	xorl	%r12d, %r12d
	testl	%ecx, %eax
	je	LBB0_20
## %bb.19:
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_20:
	movq	(%rbx), %rdi
	callq	_net_srandom
	movq	(%r13), %rax
	movq	%r13, %r15
LBB0_21:
	movq	%rax, 32(%rbx)
	movq	%rbx, (%r15)
	movq	_RTM_NEWADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%r14d, %ecx
	callq	_rtmsg_ifa
	movq	_NETDEV_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_inetaddr_chain@GOTPCREL(%rip), %rdi
	movq	%rbx, %rdx
	callq	_blocking_notifier_call_chain
	jmp	LBB0_22
LBB0_10:
	movq	%rbx, %rdi
	callq	_inet_free_ifa
	movq	_EEXIST@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_13:
	movq	%rbx, %rdi
	callq	_inet_free_ifa
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_11:
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_22:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFA_F_SECONDARY,4,2            ## @IFA_F_SECONDARY
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RTM_NEWADDR,4,2                ## @RTM_NEWADDR
	.comm	_inetaddr_chain,4,2             ## @inetaddr_chain
	.comm	_NETDEV_UP,4,2                  ## @NETDEV_UP
	.no_dead_strip	___inet_insert_ifa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __inet_insert_ifa
___inet_insert_ifa:                     ; @__inet_insert_ifa
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x25, [x0, #48]
	bl	_ASSERT_RTNL
	ldr	x8, [x19]
	cbz	x8, LBB0_12
; %bb.1:
Lloh0:
	adrp	x23, _IFA_F_SECONDARY@GOTPAGE
Lloh1:
	ldr	x23, [x23, _IFA_F_SECONDARY@GOTPAGEOFF]
	ldr	w8, [x23]
	ldr	w9, [x19, #8]
	bic	w9, w9, w8
	str	w9, [x19, #8]
	ldr	x24, [x25]
	cbz	x24, LBB0_13
; %bb.2:
	mov	x22, x25
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x24, #8]
	tst	w8, w9
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	ldr	x9, [x24, #16]
	add	x10, x24, #32
	cmp	x8, x9
	csel	x22, x22, x10, gt
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24, #24]
	ldr	x9, [x19, #24]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x24, #40]
	mov	x1, x19
	bl	_inet_ifa_match
	cbz	x0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24]
	ldr	x9, [x19]
	cmp	x8, x9
	b.eq	LBB0_20
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24, #16]
	ldr	x9, [x19, #16]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x23]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x24, #32]
	cbz	x9, LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x23]
	mov	x24, x9
	b	LBB0_3
LBB0_12:
	mov	x0, x19
	bl	_inet_free_ifa
	b	LBB0_18
LBB0_13:
	mov	x22, x25
	tst	w8, w9
	b.eq	LBB0_16
LBB0_14:
	mov	x8, #0
	b	LBB0_17
LBB0_15:
	add	x25, x24, #32
	ldr	w9, [x19, #8]
	ldr	w8, [x23]
	tst	w8, w9
	b.ne	LBB0_14
LBB0_16:
	ldr	x0, [x19]
	bl	_net_srandom
	ldr	x8, [x22]
	mov	x25, x22
LBB0_17:
	str	x8, [x19, #32]
	str	x19, [x25]
Lloh2:
	adrp	x8, _RTM_NEWADDR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RTM_NEWADDR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	bl	_rtmsg_ifa
Lloh5:
	adrp	x8, _NETDEV_UP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NETDEV_UP@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x0, _inetaddr_chain@GOTPAGE
Lloh9:
	ldr	x0, [x0, _inetaddr_chain@GOTPAGEOFF]
	mov	x2, x19
	bl	_blocking_notifier_call_chain
LBB0_18:
	mov	w0, #0
LBB0_19:
	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
LBB0_20:
	mov	x0, x19
	bl	_inet_free_ifa
Lloh10:
	adrp	x8, _EEXIST@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:
	mov	x0, x19
	bl	_inet_free_ifa
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_22:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_19
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IFA_F_SECONDARY,4,2            ; @IFA_F_SECONDARY
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RTM_NEWADDR,4,2                ; @RTM_NEWADDR
	.comm	_inetaddr_chain,4,2             ; @inetaddr_chain
	.comm	_NETDEV_UP,4,2                  ; @NETDEV_UP
	.no_dead_strip	___inet_insert_ifa
.subsections_via_symbols
