	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function udp6_send
_udp6_send:                             ## @udp6_send
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.1:
	cmpl	$4, (%rcx)
	jne	LBB0_2
## %bb.3:
	movq	8(%rcx), %rax
	movq	_AF_INET6@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_4
LBB0_8:
	movq	%rbx, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_udp6_output                    ## TAILCALL
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %r14d
	testq	%r8, %r8
	je	LBB0_7
## %bb.6:
	movq	%r8, %rdi
	callq	_m_freem
LBB0_7:
	movq	%rbx, %rdi
	callq	_m_freem
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_EAFNOSUPPORT,4,2               ## @EAFNOSUPPORT
	.no_dead_strip	_udp6_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function udp6_send
_udp6_send:                             ; @udp6_send
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	cbz	x3, LBB0_3
; %bb.1:
	ldr	w8, [x3]
	cmp	w8, #4
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x3, #8]
Lloh0:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
LBB0_3:
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_udp6_output
LBB0_4:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	cbz	x4, LBB0_6
LBB0_5:
	mov	x0, x4
	bl	_m_freem
LBB0_6:
	mov	x0, x19
	bl	_m_freem
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh6:
	adrp	x8, _EAFNOSUPPORT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	cbnz	x4, LBB0_5
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_EAFNOSUPPORT,4,2               ; @EAFNOSUPPORT
	.no_dead_strip	_udp6_send
.subsections_via_symbols
