	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_addrconf_dst_alloc             ## -- Begin function addrconf_dst_alloc
	.p2align	4, 0x90
_addrconf_dst_alloc:                    ## @addrconf_dst_alloc
	.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
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	(%rdi), %edi
	callq	_dev_net
	movq	%rax, %r14
	leaq	4(%rax), %rdi
	callq	_ip6_dst_alloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movl	(%r14), %edi
	callq	_dev_hold
	movq	%r15, %rdi
	callq	_in6_dev_hold
	movq	_DST_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	8(%rbx), %r12
	movl	%eax, 32(%rbx)
	movq	_ip6_input@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_ip6_output@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	(%r14), %edi
	movl	%edi, 68(%rbx)
	movq	%r15, 72(%rbx)
	callq	_ipv6_get_mtu
	movq	8(%rbx), %rcx
	movq	_RTAX_MTU@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	movl	%eax, -4(%rcx,%rdx,4)
	movq	%r12, %rdi
	callq	_dst_mtu
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_ipv6_advmss
	movq	8(%rbx), %rcx
	movq	_RTAX_ADVMSS@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	movl	%eax, -4(%rcx,%rdx,4)
	movq	_RTAX_HOPLIMIT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movl	$-1, -4(%rcx,%rax,4)
	movl	$-1, 16(%rbx)
	movq	_RTF_UP@GOTPCREL(%rip), %rcx
	movq	_RTF_NONEXTHOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
	testl	%r13d, %r13d
	jne	LBB0_2
## %bb.3:
	movq	_RTF_LOCAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_2:
	movq	_RTF_ANYCAST@GOTPCREL(%rip), %rcx
LBB0_4:
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
	movl	68(%rbx), %edi
	leaq	64(%rbx), %rsi
	callq	_ndisc_get_neigh
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	callq	_dst_free
	movq	%r15, %rbx
	jmp	LBB0_7
LBB0_6:
	movq	%r15, 56(%rbx)
	leaq	48(%rbx), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_ipv6_addr_copy
	movl	$128, 44(%rbx)
	movq	_RT6_TABLE_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_fib6_get_table
	movl	%eax, 40(%rbx)
	movq	%rbx, %rdi
	addq	$20, %rdi
	movl	$1, %esi
	callq	_atomic_set
LBB0_7:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_DST_HOST,4,2                   ## @DST_HOST
	.comm	_ip6_input,4,2                  ## @ip6_input
	.comm	_ip6_output,4,2                 ## @ip6_output
	.comm	_RTAX_MTU,4,2                   ## @RTAX_MTU
	.comm	_RTAX_ADVMSS,4,2                ## @RTAX_ADVMSS
	.comm	_RTAX_HOPLIMIT,4,2              ## @RTAX_HOPLIMIT
	.comm	_RTF_UP,4,2                     ## @RTF_UP
	.comm	_RTF_NONEXTHOP,4,2              ## @RTF_NONEXTHOP
	.comm	_RTF_ANYCAST,4,2                ## @RTF_ANYCAST
	.comm	_RTF_LOCAL,4,2                  ## @RTF_LOCAL
	.comm	_RT6_TABLE_LOCAL,4,2            ## @RT6_TABLE_LOCAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_addrconf_dst_alloc             ; -- Begin function addrconf_dst_alloc
	.p2align	2
_addrconf_dst_alloc:                    ; @addrconf_dst_alloc
	.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	x22, x2
	mov	x21, x1
	mov	x23, x0
	ldr	w0, [x0]
	bl	_dev_net
	mov	x20, x0
	add	x0, x0, #4
	bl	_ip6_dst_alloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	w0, [x20]
	bl	_dev_hold
	mov	x0, x23
	bl	_in6_dev_hold
Lloh0:
	adrp	x8, _DST_HOST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DST_HOST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #32]
Lloh3:
	adrp	x8, _ip6_input@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ip6_input@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _ip6_output@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ip6_output@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
	ldr	w0, [x20]
	str	w0, [x19, #68]
	str	x23, [x19, #72]
	bl	_ipv6_get_mtu
	mov	x23, x19
	ldr	x8, [x23, #8]!
Lloh9:
	adrp	x9, _RTAX_MTU@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RTAX_MTU@GOTPAGEOFF]
Lloh11:
	ldrsw	x9, [x9]
	add	x8, x8, x9, lsl #2
	stur	w0, [x8, #-4]
	mov	x0, x23
	bl	_dst_mtu
	mov	x1, x0
	mov	x0, x20
	bl	_ipv6_advmss
Lloh12:
	adrp	x8, _RTAX_ADVMSS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RTAX_ADVMSS@GOTPAGEOFF]
	ldr	x9, [x23]
Lloh14:
	ldrsw	x8, [x8]
	add	x8, x9, x8, lsl #2
	stur	w0, [x8, #-4]
Lloh15:
	adrp	x8, _RTAX_HOPLIMIT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RTAX_HOPLIMIT@GOTPAGEOFF]
Lloh17:
	ldrsw	x8, [x8]
	add	x8, x9, x8, lsl #2
	mov	w9, #-1
	stur	w9, [x8, #-4]
Lloh18:
	adrp	x8, _RTF_UP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RTF_UP@GOTPAGEOFF]
	str	w9, [x19, #16]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _RTF_NONEXTHOP@GOTPAGE
Lloh22:
	ldr	x9, [x9, _RTF_NONEXTHOP@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh24:
	adrp	x9, _RTF_LOCAL@GOTPAGE
Lloh25:
	ldr	x9, [x9, _RTF_LOCAL@GOTPAGEOFF]
Lloh26:
	adrp	x10, _RTF_ANYCAST@GOTPAGE
Lloh27:
	ldr	x10, [x10, _RTF_ANYCAST@GOTPAGEOFF]
	cmp	w22, #0
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	w0, [x19, #68]
	add	x1, x19, #64
	bl	_ndisc_get_neigh
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x23
	bl	_dst_free
	mov	x19, x22
	b	LBB0_5
LBB0_3:
Lloh28:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	neg	w0, w8
	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
	b	_ERR_PTR
LBB0_4:
	str	x22, [x19, #56]
	add	x0, x19, #48
	mov	x1, x21
	bl	_ipv6_addr_copy
	mov	w8, #128
	str	w8, [x19, #44]
Lloh31:
	adrp	x8, _RT6_TABLE_LOCAL@GOTPAGE
Lloh32:
	ldr	x8, [x8, _RT6_TABLE_LOCAL@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_fib6_get_table
	str	w0, [x19, #40]
	add	x0, x19, #20
	mov	w1, #1
	bl	_atomic_set
LBB0_5:
	mov	x0, x19
	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
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_DST_HOST,4,2                   ; @DST_HOST
	.comm	_ip6_input,4,2                  ; @ip6_input
	.comm	_ip6_output,4,2                 ; @ip6_output
	.comm	_RTAX_MTU,4,2                   ; @RTAX_MTU
	.comm	_RTAX_ADVMSS,4,2                ; @RTAX_ADVMSS
	.comm	_RTAX_HOPLIMIT,4,2              ; @RTAX_HOPLIMIT
	.comm	_RTF_UP,4,2                     ; @RTF_UP
	.comm	_RTF_NONEXTHOP,4,2              ; @RTF_NONEXTHOP
	.comm	_RTF_ANYCAST,4,2                ; @RTF_ANYCAST
	.comm	_RTF_LOCAL,4,2                  ; @RTF_LOCAL
	.comm	_RT6_TABLE_LOCAL,4,2            ; @RT6_TABLE_LOCAL
.subsections_via_symbols
