	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_copy_it_in
_sctp_copy_it_in:                       ## @sctp_copy_it_in
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	24(%rbp), %r12
	movl	$0, (%r12)
	callq	_SCTP_GET_STATE
	movq	_SCTP_STATE_SHUTDOWN_SENT@GOTPCREL(%rip), %rcx
	movq	_ECONNRESET@GOTPCREL(%rip), %r13
	cmpq	(%rcx), %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_SCTP_GET_STATE
	movq	_SCTP_STATE_SHUTDOWN_ACK_SENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_1
## %bb.4:
	movq	%rbx, %rdi
	callq	_SCTP_GET_STATE
	movq	_SCTP_STATE_SHUTDOWN_RECEIVED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_1
## %bb.6:
	movq	_SCTP_STATE_SHUTDOWN_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_8
LBB0_1:
	xorl	%r14d, %r14d
LBB0_9:
	movq	_SCTP_FROM_SCTP_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r13), %r8d
	xorl	%edi, %edi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_SCTP_LTRACE_ERR_RET
	movl	(%r13), %eax
	movl	%eax, (%r12)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_sctp_alloc_a_strmoq
	movq	_ENOMEM@GOTPCREL(%rip), %r13
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_STATE_SHUTDOWN_SENT,8,3   ## @SCTP_STATE_SHUTDOWN_SENT
	.comm	_SCTP_STATE_SHUTDOWN_ACK_SENT,8,3 ## @SCTP_STATE_SHUTDOWN_ACK_SENT
	.comm	_SCTP_STATE_SHUTDOWN_RECEIVED,8,3 ## @SCTP_STATE_SHUTDOWN_RECEIVED
	.comm	_SCTP_STATE_SHUTDOWN_PENDING,4,2 ## @SCTP_STATE_SHUTDOWN_PENDING
	.comm	_SCTP_FROM_SCTP_OUTPUT,4,2      ## @SCTP_FROM_SCTP_OUTPUT
	.comm	_ECONNRESET,4,2                 ## @ECONNRESET
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_SCTP_EOF,4,2                   ## @SCTP_EOF
	.comm	_SCTP_EOR,4,2                   ## @SCTP_EOR
	.comm	_SCTP_DATA,4,2                  ## @SCTP_DATA
	.comm	_SCTP_SO_LOCKED,4,2             ## @SCTP_SO_LOCKED
	.comm	_SCTP_ADDR_OVER,4,2             ## @SCTP_ADDR_OVER
	.no_dead_strip	_sctp_copy_it_in
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_copy_it_in
_sctp_copy_it_in:                       ; @sctp_copy_it_in
	.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
	mov	x19, x7
	mov	x20, x4
	mov	x22, x1
	mov	x21, x0
	str	wzr, [x7]
	bl	_SCTP_GET_STATE
Lloh0:
	adrp	x8, _SCTP_STATE_SHUTDOWN_SENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCTP_STATE_SHUTDOWN_SENT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.1:
	mov	x0, x21
	bl	_SCTP_GET_STATE
Lloh3:
	adrp	x8, _SCTP_STATE_SHUTDOWN_ACK_SENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SCTP_STATE_SHUTDOWN_ACK_SENT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.2:
	mov	x0, x21
	bl	_SCTP_GET_STATE
Lloh6:
	adrp	x8, _SCTP_STATE_SHUTDOWN_RECEIVED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SCTP_STATE_SHUTDOWN_RECEIVED@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x22]
Lloh9:
	adrp	x9, _SCTP_STATE_SHUTDOWN_PENDING@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SCTP_STATE_SHUTDOWN_PENDING@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
LBB0_4:
	mov	x20, #0
Lloh12:
	adrp	x22, _ECONNRESET@GOTPAGE
Lloh13:
	ldr	x22, [x22, _ECONNRESET@GOTPAGEOFF]
LBB0_5:
Lloh14:
	adrp	x8, _SCTP_FROM_SCTP_OUTPUT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SCTP_FROM_SCTP_OUTPUT@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	ldr	w4, [x22]
	mov	x0, #0
	mov	x1, x21
	mov	x2, x20
	bl	_SCTP_LTRACE_ERR_RET
	ldr	w8, [x22]
	str	w8, [x19]
	mov	x0, #0
	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_6:
	mov	x0, x21
	mov	x1, #0
	bl	_sctp_alloc_a_strmoq
Lloh17:
	adrp	x22, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x22, [x22, _ENOMEM@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_STATE_SHUTDOWN_SENT,8,3   ; @SCTP_STATE_SHUTDOWN_SENT
	.comm	_SCTP_STATE_SHUTDOWN_ACK_SENT,8,3 ; @SCTP_STATE_SHUTDOWN_ACK_SENT
	.comm	_SCTP_STATE_SHUTDOWN_RECEIVED,8,3 ; @SCTP_STATE_SHUTDOWN_RECEIVED
	.comm	_SCTP_STATE_SHUTDOWN_PENDING,4,2 ; @SCTP_STATE_SHUTDOWN_PENDING
	.comm	_SCTP_FROM_SCTP_OUTPUT,4,2      ; @SCTP_FROM_SCTP_OUTPUT
	.comm	_ECONNRESET,4,2                 ; @ECONNRESET
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_SCTP_EOF,4,2                   ; @SCTP_EOF
	.comm	_SCTP_EOR,4,2                   ; @SCTP_EOR
	.comm	_SCTP_DATA,4,2                  ; @SCTP_DATA
	.comm	_SCTP_SO_LOCKED,4,2             ; @SCTP_SO_LOCKED
	.comm	_SCTP_ADDR_OVER,4,2             ; @SCTP_ADDR_OVER
	.no_dead_strip	_sctp_copy_it_in
.subsections_via_symbols
