	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function sctp_reset_out_streams
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_sctp_reset_out_streams:                ## @sctp_reset_out_streams
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	testq	%rsi, %rsi
	jle	LBB0_1
## %bb.3:
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	cmpq	%rbx, %r15
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rbx,8), %rdi
	callq	_ntohs
	cmpq	(%r12), %rax
	jae	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r12), %rcx
	shlq	$4, %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rcx,%rax)
	jmp	LBB0_6
LBB0_1:
	movq	(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.2:
	movq	8(%r12), %rdi
	shlq	$4, %rsi
	callq	___bzero
LBB0_7:
	movq	_SCTP_NOTIFY_STR_RESET_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SCTP_SO_NOT_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sctp_ulp_notify                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_NOTIFY_STR_RESET_SEND,4,2 ## @SCTP_NOTIFY_STR_RESET_SEND
	.comm	_SCTP_SO_NOT_LOCKED,4,2         ## @SCTP_SO_NOT_LOCKED
	.no_dead_strip	_sctp_reset_out_streams
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_reset_out_streams
_sctp_reset_out_streams:                ; @sctp_reset_out_streams
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	cmp	x1, #0
	b.le	LBB0_5
; %bb.1:
	mov	x22, x19
	mov	x23, x20
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #8
	subs	x23, x23, #1
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	bl	_ntohs
	ldr	x8, [x21]
	cmp	x0, x8
	b.hs	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21, #8]
	add	x8, x8, x0, lsl #4
	stp	xzr, xzr, [x8]
	b	LBB0_2
LBB0_5:
	ldr	x8, [x21]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	x0, [x21, #8]
	lsl	x1, x8, #4
	bl	_bzero
LBB0_7:
Lloh0:
	adrp	x8, _SCTP_NOTIFY_STR_RESET_SEND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCTP_NOTIFY_STR_RESET_SEND@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SCTP_SO_NOT_LOCKED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SCTP_SO_NOT_LOCKED@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_sctp_ulp_notify
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_NOTIFY_STR_RESET_SEND,4,2 ; @SCTP_NOTIFY_STR_RESET_SEND
	.comm	_SCTP_SO_NOT_LOCKED,4,2         ; @SCTP_SO_NOT_LOCKED
	.no_dead_strip	_sctp_reset_out_streams
.subsections_via_symbols
