	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_output                    ## -- Begin function sctp_output
	.p2align	4, 0x90
_sctp_output:                           ## @sctp_output
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rcx, %rax
	movq	%rsi, %rcx
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rsi
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.5:
	movq	%r8, (%rsp)
	movq	%rdx, %rsi
	xorl	%edx, %edx
	movq	%rax, %r8
	callq	_sctp_sosend
	jmp	LBB0_6
LBB0_1:
	movq	_SCTP_FROM_SCTP_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_EINVAL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r9d
	movq	%rcx, %rdi
	xorl	%esi, %esi
	jmp	LBB0_4
LBB0_3:
	movq	_SCTP_FROM_SCTP_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_EINVAL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r9d
	movq	%rcx, %rdi
LBB0_4:
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_SCTP_LTRACE_ERR_RET_PKT
	movl	(%rbx), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_FROM_SCTP_OUTPUT,4,2      ## @SCTP_FROM_SCTP_OUTPUT
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_output                    ; -- Begin function sctp_output
	.p2align	2
_sctp_output:                           ; @sctp_output
	.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	x6, x4
	mov	x4, x3
	mov	x3, x1
	mov	x1, x0
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x0, [x1]
	cbz	x0, LBB0_3
; %bb.2:
	mov	x1, x2
	mov	x2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sctp_sosend
LBB0_3:
Lloh0:
	adrp	x8, _SCTP_FROM_SCTP_OUTPUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCTP_FROM_SCTP_OUTPUT@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
Lloh3:
	adrp	x19, _EINVAL@GOTPAGE
Lloh4:
	ldr	x19, [x19, _EINVAL@GOTPAGEOFF]
	ldr	w5, [x19]
	mov	x0, x3
	mov	x2, #0
	mov	x3, #0
	bl	_SCTP_LTRACE_ERR_RET_PKT
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_FROM_SCTP_OUTPUT,4,2      ; @SCTP_FROM_SCTP_OUTPUT
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
