	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipv4_dst_blackhole
_ipv4_dst_blackhole:                    ## @ipv4_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rsi), %r12
	movq	_ipv4_dst_blackhole_ops@GOTPCREL(%rip), %rdi
	callq	_dst_alloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	leaq	40(%rbx), %rdi
	movl	$1, %esi
	callq	_atomic_set
	movl	$1, (%rbx)
	movq	_dst_discard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	movq	%rax, 24(%rbx)
	movl	16(%rbx), %edi
	movl	16(%r12), %esi
	movq	_RTAX_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	callq	_memcpy
	movq	8(%r12), %rdi
	movq	%rdi, 8(%rbx)
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_dev_hold
LBB0_3:
	movl	96(%r12), %eax
	movl	%eax, 96(%rbx)
	movq	88(%r12), %rdi
	movq	%rdi, 88(%rbx)
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_in_dev_hold
LBB0_5:
	movq	%r15, %rdi
	callq	_rt_genid
	movl	%eax, 84(%rbx)
	movl	80(%r12), %eax
	movl	%eax, 80(%rbx)
	movl	76(%r12), %eax
	movl	%eax, 76(%rbx)
	movl	72(%r12), %eax
	movl	%eax, 72(%rbx)
	movups	56(%r12), %xmm0
	movups	%xmm0, 56(%rbx)
	movq	48(%r12), %rdi
	movq	%rdi, 48(%rbx)
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_atomic_inc
LBB0_7:
	movq	%rbx, %rdi
	callq	_dst_free
LBB0_8:
	movq	(%r14), %rdi
	callq	_dst_release
	movq	%rbx, (%r14)
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	xorl	%ecx, %ecx
	testq	%rbx, %rbx
	cmovnel	%ecx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ipv4_dst_blackhole_ops,4,2     ## @ipv4_dst_blackhole_ops
	.comm	_dst_discard,8,3                ## @dst_discard
	.comm	_RTAX_MAX,4,2                   ## @RTAX_MAX
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_ipv4_dst_blackhole
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipv4_dst_blackhole
_ipv4_dst_blackhole:                    ; @ipv4_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
	mov	x21, x0
	ldr	x22, [x1]
Lloh0:
	adrp	x0, _ipv4_dst_blackhole_ops@GOTPAGE
Lloh1:
	ldr	x0, [x0, _ipv4_dst_blackhole_ops@GOTPAGEOFF]
	bl	_dst_alloc
	mov	x20, x0
	cbz	x0, LBB0_8
; %bb.1:
	add	x0, x20, #40
	mov	w23, #1
	mov	w1, #1
	bl	_atomic_set
	str	w23, [x20]
Lloh2:
	adrp	x8, _dst_discard@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dst_discard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stp	x8, x8, [x20, #24]
	ldr	w0, [x20, #16]
	ldr	w1, [x22, #16]
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, [x22, #8]
	str	x0, [x20, #8]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_dev_hold
LBB0_3:
	ldr	w8, [x22, #96]
	str	w8, [x20, #96]
	ldr	x0, [x22, #88]
	str	x0, [x20, #88]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_in_dev_hold
LBB0_5:
	mov	x0, x21
	bl	_rt_genid
	ldr	w8, [x22, #80]
	stp	w8, w0, [x20, #80]
	ldr	d0, [x22, #72]
	str	d0, [x20, #72]
	ldur	q0, [x22, #56]
	stur	q0, [x20, #56]
	ldr	x0, [x22, #48]
	str	x0, [x20, #48]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_atomic_inc
LBB0_7:
	mov	x0, x20
	bl	_dst_free
LBB0_8:
	ldr	x0, [x19]
	bl	_dst_release
	str	x20, [x19]
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_ipv4_dst_blackhole_ops,4,2     ; @ipv4_dst_blackhole_ops
	.comm	_dst_discard,8,3                ; @dst_discard
	.comm	_RTAX_MAX,4,2                   ; @RTAX_MAX
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_ipv4_dst_blackhole
.subsections_via_symbols
