	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipv6_inherit_eui64
_ipv6_inherit_eui64:                    ## @ipv6_inherit_eui64
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_read_lock_bh
	movq	8(%rbx), %rax
	movl	$-1, %r14d
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	_IFA_LINK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_IFA_F_TENTATIVE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, (%rax)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%edx, 8(%rax)
	jne	LBB0_5
## %bb.4:
	movq	16(%rax), %rsi
	addq	$8, %rsi
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_memcpy
	xorl	%r14d, %r14d
LBB0_6:
	movq	%rbx, %rdi
	callq	_read_unlock_bh
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFA_LINK,8,3                   ## @IFA_LINK
	.comm	_IFA_F_TENTATIVE,4,2            ## @IFA_F_TENTATIVE
	.no_dead_strip	_ipv6_inherit_eui64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipv6_inherit_eui64
_ipv6_inherit_eui64:                    ; @ipv6_inherit_eui64
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_read_lock_bh
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.1:
Lloh0:
	adrp	x9, _IFA_LINK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFA_LINK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _IFA_F_TENTATIVE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IFA_F_TENTATIVE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8, #24]
	cbz	x8, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8]
	cmp	x11, x9
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w11, [x8, #8]
	tst	w10, w11
	b.ne	LBB0_2
; %bb.5:
	ldr	x8, [x8, #16]
	add	x1, x8, #8
	mov	x0, x20
	mov	w2, #8
	bl	_memcpy
	mov	w20, #0
	b	LBB0_7
LBB0_6:
	mov	w20, #-1
LBB0_7:
	mov	x0, x19
	bl	_read_unlock_bh
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IFA_LINK,8,3                   ; @IFA_LINK
	.comm	_IFA_F_TENTATIVE,4,2            ; @IFA_F_TENTATIVE
	.no_dead_strip	_ipv6_inherit_eui64
.subsections_via_symbols
