	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function udp6_common_ctlinput
_udp6_common_ctlinput:                  ## @udp6_common_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	(%rsi), %rax
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.1:
	movq	%rsi, %rbx
	cmpl	$4, 8(%rsi)
	jne	LBB0_18
## %bb.2:
	movl	%edi, %r14d
	movq	_PRC_NCMDS@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jbe	LBB0_18
## %bb.3:
	movq	%rdx, %r12
	movl	%r14d, %edi
	callq	_PRC_IS_REDIRECT
	movq	_sa6_any@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	_in6_rtchange@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_7:
	movq	_PRC_HOSTDEAD@GOTPCREL(%rip), %rdx
	movq	_udp_notify@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rdx)
	jne	LBB0_8
LBB0_5:
	xorl	%r13d, %r13d
LBB0_6:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	movl	%r14d, %r9d
	pushq	%rax
	pushq	%r13
	callq	_in6_pcbnotify
	addq	$56, %rsp
	jmp	LBB0_19
LBB0_8:
	movq	_inet6ctlerrmap@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movslq	%r14d, %rsi
	cmpq	$0, (%rdx,%rsi,8)
	je	LBB0_18
## %bb.9:
	testq	%r12, %r12
	je	LBB0_5
## %bb.10:
	movq	24(%r12), %rdx
	movq	16(%r12), %r13
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.12:
	movq	32(%r12), %r8
	movslq	(%r12), %rsi
	movslq	(%r8), %rax
	leaq	8(%rsi), %rcx
	cmpq	%rax, %rcx
	ja	LBB0_18
## %bb.13:
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %rdi
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movl	$8, %esi
	callq	_bzero
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$8, %edx
	leaq	-48(%rbp), %rcx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_m_copydata
	movl	%r14d, %edi
	callq	_PRC_IS_REDIRECT
	testq	%rax, %rax
	je	LBB0_14
LBB0_17:
	movl	-48(%rbp), %r8d
	movl	-44(%rbp), %edx
	movq	8(%r12), %rcx
	movq	_udp_notify@GOTPCREL(%rip), %rax
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %r9d
	pushq	%rax
	pushq	%r13
	callq	_in6_pcbnotify
	addq	$16, %rsp
LBB0_18:
	addq	$40, %rsp
LBB0_19:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	8(%r12), %rcx
	jmp	LBB0_6
LBB0_14:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	4(%rcx), %rsi
	movl	-48(%rbp), %r8d
	movl	-44(%rbp), %edx
	movq	_INPLOOKUP_WILDCARD@GOTPCREL(%rip), %rax
	movq	_INPLOOKUP_RLOCKPCB@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r9d
	orl	(%rax), %r9d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %r10d
	movq	%r15, %rdi
	pushq	%rax
	pushq	%r10
	callq	_in6_pcblookup_mbuf
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movq	%rax, %rdi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_intoudpcb
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_INP_RUNLOCK
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_17
## %bb.16:
	movq	8(%r12), %rsi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	movl	%r14d, %edi
	movq	%r12, %rdx
	callq	*8(%rax)
	jmp	LBB0_18
	.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	_INPLOOKUP_WILDCARD,4,2         ## @INPLOOKUP_WILDCARD
	.comm	_INPLOOKUP_RLOCKPCB,4,2         ## @INPLOOKUP_RLOCKPCB
	.no_dead_strip	_udp6_common_ctlinput
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function udp6_common_ctlinput
_udp6_common_ctlinput:                  ; @udp6_common_ctlinput
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	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, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_3:
	mov	x21, x3
	mov	x23, x2
	mov	x0, x19
	bl	_PRC_IS_REDIRECT
	cbz	x0, LBB0_5
; %bb.4:
	mov	x22, #0
Lloh6:
	adrp	x7, _in6_rtchange@GOTPAGE
Lloh7:
	ldr	x7, [x7, _in6_rtchange@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh8:
	adrp	x8, _PRC_HOSTDEAD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PRC_HOSTDEAD@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_9
LBB0_6:
	mov	x22, #0
Lloh11:
	adrp	x7, _udp_notify@GOTPAGE
Lloh12:
	ldr	x7, [x7, _udp_notify@GOTPAGEOFF]
LBB0_7:
Lloh13:
	adrp	x3, _sa6_any@GOTPAGE
Lloh14:
	ldr	x3, [x3, _sa6_any@GOTPAGEOFF]
LBB0_8:
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	mov	w4, #0
	mov	x5, x19
	mov	x6, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_in6_pcbnotify
LBB0_9:
Lloh15:
	adrp	x8, _inet6ctlerrmap@GOTPAGE
Lloh16:
	ldr	x8, [x8, _inet6ctlerrmap@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	x8, [x8, w19, sxtw #3]
	cbz	x8, LBB0_2
; %bb.10:
	cbz	x23, LBB0_6
; %bb.11:
	ldp	x22, x24, [x23, #16]
	cbz	x24, LBB0_15
; %bb.12:
	ldr	x25, [x23, #32]
	ldrsw	x26, [x23]
	ldrsw	x8, [x25]
	add	x9, x26, #8
	cmp	x9, x8
	b.hi	LBB0_2
; %bb.13:
	add	x0, sp, #8
	mov	w1, #8
	bl	_bzero
	add	x3, sp, #8
	mov	x0, x25
	mov	x1, x26
	mov	w2, #8
	bl	_m_copydata
	mov	x0, x19
	bl	_PRC_IS_REDIRECT
	cbz	x0, LBB0_16
LBB0_14:
	ldr	x3, [x23, #8]
	ldp	w4, w2, [sp, #8]
Lloh18:
	adrp	x7, _udp_notify@GOTPAGE
Lloh19:
	ldr	x7, [x7, _udp_notify@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x20
	mov	x5, x19
	mov	x6, x22
	bl	_in6_pcbnotify
	b	LBB0_2
LBB0_15:
	ldr	x3, [x23, #8]
Lloh20:
	adrp	x7, _udp_notify@GOTPAGE
Lloh21:
	ldr	x7, [x7, _udp_notify@GOTPAGEOFF]
	b	LBB0_8
LBB0_16:
	add	x1, x24, #4
	ldp	w4, w2, [sp, #8]
Lloh22:
	adrp	x8, _INPLOOKUP_WILDCARD@GOTPAGE
Lloh23:
	ldr	x8, [x8, _INPLOOKUP_WILDCARD@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _INPLOOKUP_RLOCKPCB@GOTPAGE
Lloh26:
	ldr	x9, [x9, _INPLOOKUP_RLOCKPCB@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w5, w9, w8
	ldr	w6, [x25, #4]
	mov	x0, x21
	mov	x3, x24
	mov	x7, x25
	bl	_in6_pcblookup_mbuf
	cbz	x0, LBB0_14
; %bb.17:
	mov	x24, x0
	bl	_intoudpcb
	mov	x25, x0
	ldr	x26, [x0, #8]
	mov	x0, x24
	bl	_INP_RUNLOCK
	cbz	x26, LBB0_14
; %bb.18:
	ldr	x8, [x25, #8]
	ldr	x1, [x23, #8]
	ldr	w3, [x25]
	mov	x0, x19
	mov	x2, x23
	blr	x8
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.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	_INPLOOKUP_WILDCARD,4,2         ; @INPLOOKUP_WILDCARD
	.comm	_INPLOOKUP_RLOCKPCB,4,2         ; @INPLOOKUP_RLOCKPCB
	.no_dead_strip	_udp6_common_ctlinput
.subsections_via_symbols
