	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rip6_ctlinput                  ## -- Begin function rip6_ctlinput
	.p2align	4, 0x90
_rip6_ctlinput:                         ## @rip6_ctlinput
	.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), %rax
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.1:
	movq	%rsi, %rbx
	cmpl	$4, 8(%rsi)
	jne	LBB0_10
## %bb.2:
	movl	%edi, %r14d
	movq	_PRC_NCMDS@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jbe	LBB0_10
## %bb.3:
	movq	%rdx, %r15
	movl	%r14d, %edi
	callq	_PRC_IS_REDIRECT
	xorl	%r10d, %r10d
	movq	_sa6_any@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_9
## %bb.4:
	movq	_PRC_HOSTDEAD@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_9
## %bb.5:
	movq	_inet6ctlerrmap@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %rdx
	cmpq	$0, (%rax,%rdx,8)
	je	LBB0_10
## %bb.6:
	testq	%r15, %r15
	je	LBB0_7
## %bb.8:
	movq	(%r15), %rcx
	movq	8(%r15), %r10
	jmp	LBB0_9
LBB0_10:
	addq	$8, %rsp
	jmp	LBB0_11
LBB0_7:
	xorl	%r10d, %r10d
LBB0_9:
	movq	_in6_rtchange@GOTPCREL(%rip), %rax
	movq	_V_ripcbinfo@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	movl	%r14d, %r9d
	pushq	%rax
	pushq	%r10
	callq	_in6_pcbnotify
	addq	$24, %rsp
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_PRC_NCMDS,4,2                  ## @PRC_NCMDS
	.comm	_PRC_HOSTDEAD,4,2               ## @PRC_HOSTDEAD
	.comm	_inet6ctlerrmap,8,3             ## @inet6ctlerrmap
	.comm	_sa6_any,4,2                    ## @sa6_any
	.comm	_V_ripcbinfo,4,2                ## @V_ripcbinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rip6_ctlinput                  ; -- Begin function rip6_ctlinput
	.p2align	2
_rip6_ctlinput:                         ; @rip6_ctlinput
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x1, #8]
Lloh3:
	adrp	x9, _PRC_NCMDS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PRC_NCMDS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, #4
	ccmp	w9, w0, #0, eq
	b.hi	LBB0_3
LBB0_2:
	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
LBB0_3:
	mov	x21, x2
	mov	x0, x19
	bl	_PRC_IS_REDIRECT
	mov	x6, #0
Lloh6:
	adrp	x3, _sa6_any@GOTPAGE
Lloh7:
	ldr	x3, [x3, _sa6_any@GOTPAGEOFF]
	cbnz	x0, LBB0_9
; %bb.4:
Lloh8:
	adrp	x8, _PRC_HOSTDEAD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PRC_HOSTDEAD@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w19
	b.eq	LBB0_9
; %bb.5:
Lloh11:
	adrp	x8, _inet6ctlerrmap@GOTPAGE
Lloh12:
	ldr	x8, [x8, _inet6ctlerrmap@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x8, [x8, w19, sxtw #3]
	cbz	x8, LBB0_2
; %bb.6:
	cbz	x21, LBB0_8
; %bb.7:
	ldp	x3, x6, [x21]
	b	LBB0_9
LBB0_8:
	mov	x6, #0
Lloh14:
	adrp	x3, _sa6_any@GOTPAGE
Lloh15:
	ldr	x3, [x3, _sa6_any@GOTPAGEOFF]
LBB0_9:
Lloh16:
	adrp	x0, _V_ripcbinfo@GOTPAGE
Lloh17:
	ldr	x0, [x0, _V_ripcbinfo@GOTPAGEOFF]
Lloh18:
	adrp	x7, _in6_rtchange@GOTPAGE
Lloh19:
	ldr	x7, [x7, _in6_rtchange@GOTPAGEOFF]
	mov	x1, x20
	mov	w2, #0
	mov	w4, #0
	mov	x5, x19
	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
	b	_in6_pcbnotify
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_PRC_NCMDS,4,2                  ; @PRC_NCMDS
	.comm	_PRC_HOSTDEAD,4,2               ; @PRC_HOSTDEAD
	.comm	_inet6ctlerrmap,8,3             ; @inet6ctlerrmap
	.comm	_sa6_any,4,2                    ; @sa6_any
	.comm	_V_ripcbinfo,4,2                ; @V_ripcbinfo
.subsections_via_symbols
