	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function icmpv6_xrlim_allow
_icmpv6_xrlim_allow:                    ## @icmpv6_xrlim_allow
	.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	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r13
	callq	_sock_net
	movq	%rax, %r14
	movq	_ICMPV6_INFOMSG_MASK@GOTPCREL(%rip), %rax
	movl	$1, %r12d
	testl	%ebx, (%rax)
	jne	LBB0_8
## %bb.1:
	movq	_ICMPV6_PKT_TOOBIG@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_8
## %bb.2:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_ip6_route_output
	movq	%rax, %r15
	cmpq	$0, 8(%rax)
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_ip6_dst_idev
	movq	_IPSTATS_MIB_OUTNOROUTES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_IP6_INC_STATS
	xorl	%r12d, %r12d
	jmp	LBB0_7
LBB0_4:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	$1, %r12d
	testl	%ecx, (%rax)
	jne	LBB0_7
LBB0_6:
	leal	-128(%rax), %edx
	negl	%edx
	shrl	$5, %edx
	xorl	%ecx, %ecx
	cmpl	$128, %eax
	cmovll	%edx, %ecx
	movl	(%r14), %esi
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %esi
	movq	%r15, %rdi
	callq	_xrlim_allow
	movl	%eax, %r12d
LBB0_7:
	movq	%r15, %rdi
	callq	_dst_release
LBB0_8:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICMPV6_INFOMSG_MASK,4,2        ## @ICMPV6_INFOMSG_MASK
	.comm	_ICMPV6_PKT_TOOBIG,4,2          ## @ICMPV6_PKT_TOOBIG
	.comm	_IPSTATS_MIB_OUTNOROUTES,4,2    ## @IPSTATS_MIB_OUTNOROUTES
	.comm	_IFF_LOOPBACK,4,2               ## @IFF_LOOPBACK
	.no_dead_strip	_icmpv6_xrlim_allow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function icmpv6_xrlim_allow
_icmpv6_xrlim_allow:                    ; @icmpv6_xrlim_allow
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x22, x1
	mov	x21, x0
	bl	_sock_net
Lloh0:
	adrp	x8, _ICMPV6_INFOMSG_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICMPV6_INFOMSG_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w22
Lloh3:
	adrp	x9, _ICMPV6_PKT_TOOBIG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ICMPV6_PKT_TOOBIG@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, #0
	ccmp	w9, w22, #4, eq
	b.ne	LBB0_2
; %bb.1:
	mov	w20, #1
	b	LBB0_9
LBB0_2:
	mov	x20, x0
	mov	x1, x21
	mov	x2, x19
	bl	_ip6_route_output
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_ip6_dst_idev
	mov	x1, x0
Lloh6:
	adrp	x8, _IPSTATS_MIB_OUTNOROUTES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IPSTATS_MIB_OUTNOROUTES@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_IP6_INC_STATS
	mov	w20, #0
	b	LBB0_8
LBB0_4:
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	w9, [x8]
Lloh9:
	adrp	x10, _IFF_LOOPBACK@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IFF_LOOPBACK@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_7
; %bb.6:
	mov	w20, #1
	b	LBB0_8
LBB0_7:
	ldr	w9, [x20]
	mov	w10, #128
	sub	w10, w10, w8
	asr	w10, w10, #5
	cmp	w8, #128
	csel	w8, w10, wzr, lt
	asr	w1, w9, w8
	mov	x0, x19
	bl	_xrlim_allow
	mov	x20, x0
LBB0_8:
	mov	x0, x19
	bl	_dst_release
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ICMPV6_INFOMSG_MASK,4,2        ; @ICMPV6_INFOMSG_MASK
	.comm	_ICMPV6_PKT_TOOBIG,4,2          ; @ICMPV6_PKT_TOOBIG
	.comm	_IPSTATS_MIB_OUTNOROUTES,4,2    ; @IPSTATS_MIB_OUTNOROUTES
	.comm	_IFF_LOOPBACK,4,2               ; @IFF_LOOPBACK
	.no_dead_strip	_icmpv6_xrlim_allow
.subsections_via_symbols
