	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip6_dst_blackhole              ## -- Begin function ip6_dst_blackhole
	.p2align	4, 0x90
_ip6_dst_blackhole:                     ## @ip6_dst_blackhole
	.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, %r14
	movq	(%rsi), %r15
	movq	_ip6_dst_blackhole_ops@GOTPCREL(%rip), %rdi
	callq	_dst_alloc
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	leaq	88(%rax), %rdi
	movl	$1, %esi
	callq	_atomic_set
	movl	$1, 48(%rbx)
	movq	_dst_discard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 80(%rbx)
	movq	%rax, 72(%rbx)
	movq	64(%rbx), %rdi
	movq	64(%r15), %rsi
	movq	_RTAX_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	callq	_memcpy
	movq	56(%r15), %rdi
	movq	%rdi, 56(%rbx)
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_dev_hold
LBB0_4:
	leaq	48(%rbx), %r12
	movq	40(%r15), %rdi
	movq	%rdi, 40(%rbx)
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_in6_dev_hold
LBB0_6:
	movq	$0, 32(%rbx)
	leaq	24(%rbx), %rdi
	leaq	24(%r15), %rsi
	callq	_ipv6_addr_copy
	movq	_RTF_EXPIRES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%r15), %eax
	movl	%eax, (%rbx)
	movq	$0, 16(%rbx)
	addq	$8, %rbx
	addq	$8, %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%r12, %rdi
	callq	_dst_free
	jmp	LBB0_7
LBB0_1:
	xorl	%r12d, %r12d
LBB0_7:
	movq	(%r14), %rdi
	callq	_dst_release
	movq	%r12, (%r14)
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	testq	%r12, %r12
	cmovnel	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ip6_dst_blackhole_ops,4,2      ## @ip6_dst_blackhole_ops
	.comm	_dst_discard,8,3                ## @dst_discard
	.comm	_RTAX_MAX,4,2                   ## @RTAX_MAX
	.comm	_RTF_EXPIRES,4,2                ## @RTF_EXPIRES
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip6_dst_blackhole              ; -- Begin function ip6_dst_blackhole
	.p2align	2
_ip6_dst_blackhole:                     ; @ip6_dst_blackhole
	.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	x19, x1
	ldr	x21, [x1]
Lloh0:
	adrp	x0, _ip6_dst_blackhole_ops@GOTPAGE
Lloh1:
	ldr	x0, [x0, _ip6_dst_blackhole_ops@GOTPAGEOFF]
	bl	_dst_alloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x22, x0
	add	x0, x0, #88
	mov	w23, #1
	mov	w1, #1
	bl	_atomic_set
	mov	x20, x22
	str	w23, [x20, #48]!
Lloh2:
	adrp	x8, _dst_discard@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dst_discard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stp	x8, x8, [x20, #24]
	ldr	x0, [x20, #16]
	ldr	x1, [x21, #64]
Lloh5:
	adrp	x8, _RTAX_MAX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RTAX_MAX@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	lsl	w2, w8, #2
	bl	_memcpy
	ldr	x0, [x21, #56]
	str	x0, [x20, #8]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_dev_hold
LBB0_3:
	ldr	x0, [x21, #40]
	str	x0, [x22, #40]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_in6_dev_hold
LBB0_5:
	str	xzr, [x22, #32]
	add	x0, x22, #24
	add	x1, x21, #24
	bl	_ipv6_addr_copy
	ldr	w8, [x21], #8
Lloh8:
	adrp	x9, _RTF_EXPIRES@GOTPAGE
Lloh9:
	ldr	x9, [x9, _RTF_EXPIRES@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x22]
	str	xzr, [x22, #16]
	add	x0, x22, #8
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
	mov	x0, x20
	bl	_dst_free
	b	LBB0_7
LBB0_6:
	mov	x20, #0
LBB0_7:
	ldr	x0, [x19]
	bl	_dst_release
	str	x20, [x19]
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	x20, #0
	csneg	w0, wzr, w8, ne
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ip6_dst_blackhole_ops,4,2      ; @ip6_dst_blackhole_ops
	.comm	_dst_discard,8,3                ; @dst_discard
	.comm	_RTAX_MAX,4,2                   ; @RTAX_MAX
	.comm	_RTF_EXPIRES,4,2                ; @RTF_EXPIRES
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
