	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_send                      ## -- Begin function sctp_send
	.p2align	4, 0x90
_sctp_send:                             ## @sctp_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -56(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %r14
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$4, %edi
	callq	_CMSG_SPACE
	movq	%rsp, %r15
	movl	%eax, %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movq	%r14, -72(%rbp)
	movq	%r13, -64(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -88(%rbp)
	leaq	-72(%rbp), %rax
	movq	%rax, -96(%rbp)
	movl	$1, -128(%rbp)
	movq	%rbx, -120(%rbp)
	movl	$4, %edi
	callq	_CMSG_SPACE
	movl	%eax, -112(%rbp)
	movq	$0, -104(%rbp)
	movq	_IPPROTO_SCTP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_SCTP_SNDRCV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movl	$4, %edi
	callq	_CMSG_LEN
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_CMSG_DATA
	movl	%eax, %edi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_memcpy
	leaq	-128(%rbp), %rsi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_sendmsg
	jmp	LBB0_3
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %eax
LBB0_3:
	movq	%r15, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	_IPPROTO_SCTP,4,2               ## @IPPROTO_SCTP
	.comm	_SCTP_SNDRCV,4,2                ## @SCTP_SNDRCV
	.comm	_SYS_sctp_generic_sendmsg,4,2   ## @SYS_sctp_generic_sendmsg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_send                      ; -- Begin function sctp_send
	.p2align	2
_sctp_send:                             ; @sctp_send
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #80
	mov	x19, x4
	mov	x21, x3
	mov	x23, x2
	mov	x24, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	mov	w0, #4
	bl	_CMSG_SPACE
	mov	x25, sp
	mov	w8, w0
	mov	x9, x8
Lloh3:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh4:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	cbz	x21, LBB0_2
; %bb.1:
	stp	x24, x23, [x29, #-144]
	stp	xzr, xzr, [x29, #-88]
	sub	x8, x29, #144
	mov	w9, #1
	stur	w9, [x29, #-128]
	stur	x8, [x29, #-96]
	stur	x22, [x29, #-120]
	mov	w0, #4
	bl	_CMSG_SPACE
	stur	w0, [x29, #-112]
	stur	xzr, [x29, #-104]
Lloh5:
	adrp	x8, _IPPROTO_SCTP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IPPROTO_SCTP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _SCTP_SNDRCV@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SCTP_SNDRCV@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #4]
	mov	w0, #4
	bl	_CMSG_LEN
	str	w0, [x22]
	mov	x0, x22
	bl	_CMSG_DATA
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
	sub	x1, x29, #128
	mov	x0, x20
	mov	x2, x19
	bl	_sendmsg
	b	LBB0_3
LBB0_2:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _errno@GOTPAGE
Lloh15:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh16:
	str	w8, [x9]
	mov	w0, #-1
LBB0_3:
	mov	sp, x25
	ldur	x8, [x29, #-72]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_IPPROTO_SCTP,4,2               ; @IPPROTO_SCTP
	.comm	_SCTP_SNDRCV,4,2                ; @SCTP_SNDRCV
	.comm	_SYS_sctp_generic_sendmsg,4,2   ; @SYS_sctp_generic_sendmsg
.subsections_via_symbols
