	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_handle_ootb               ## -- Begin function sctp_handle_ootb
	.p2align	4, 0x90
_sctp_handle_ootb:                      ## @sctp_handle_ootb
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, %r13
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, %r14d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movq	16(%rbp), %r15
	movq	_sctps_outoftheblue@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_STAT_INCR_COUNTER32
	testq	%r15, %r15
	je	LBB0_4
## %bb.1:
	movq	_SCTP_PCB_FLAGS_SOCKET_GONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_4
## %bb.2:
	leaq	4(%r15), %rdi
	callq	_LIST_EMPTY
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_SCTP_FREE_SHOULD_USE_ABORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SCTP_CALLED_DIRECTLY_NOCMPSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_sctp_inpcb_free
LBB0_4:
	leaq	-80(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$8, %edx
	callq	_sctp_m_getptr
	testq	%rax, %rax
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.6:
	movq	%rax, %r15
	xorl	%r13d, %r13d
	leaq	LJTI0_0(%rip), %r12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%eax, %edi
	callq	_SCTP_SIZE32
	addl	%eax, %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$8, %edx
	leaq	-80(%rbp), %rcx
	callq	_sctp_m_getptr
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_13
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r15), %edi
	callq	_ntohs
	cmpl	$8, %eax
	jb	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r15), %ecx
	addl	$-128, %ecx
	cmpl	$4, %ecx
	ja	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movslq	(%r12,%rcx,4), %rcx
	addq	%r12, %rcx
	jmpq	*%rcx
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, %r13d
	jmp	LBB0_12
LBB0_5:
	xorl	%r13d, %r13d
LBB0_13:
	movq	_sctp_blackhole@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_SCTP_BASE_SYSCTL
	testl	%eax, %eax
	je	LBB0_16
## %bb.14:
	movl	(%r14), %edi
	callq	_SCTP_BASE_SYSCTL
	cmpl	$1, %eax
	jne	LBB0_17
## %bb.15:
	testl	%r13d, %r13d
	jne	LBB0_17
LBB0_16:
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	xorl	%r9d, %r9d
	movl	64(%rbp), %eax
	pushq	%rax
	movl	56(%rbp), %eax
	pushq	%rax
	movl	48(%rbp), %eax
	pushq	%rax
	movl	40(%rbp), %eax
	pushq	%rax
	movl	32(%rbp), %eax
	pushq	%rax
	pushq	24(%rbp)
	callq	_sctp_send_abort
	addq	$48, %rsp
LBB0_17:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	32(%rbp), %ecx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	40(%rbp), %r8d
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	48(%rbp), %r9d
                                        ## kill: def $r9d killed $r9d killed $r9
	movl	64(%rbp), %eax
	pushq	%rax
	movl	56(%rbp), %eax
	pushq	%rax
	callq	_sctp_send_shutdown_complete2
	addq	$16, %rsp
	jmp	LBB0_17
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_10
	.long	L0_0_set_17
	.long	L0_0_set_11
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.comm	_sctps_outoftheblue,4,2         ## @sctps_outoftheblue
	.comm	_SCTP_PCB_FLAGS_SOCKET_GONE,4,2 ## @SCTP_PCB_FLAGS_SOCKET_GONE
	.comm	_SCTP_FREE_SHOULD_USE_ABORT,4,2 ## @SCTP_FREE_SHOULD_USE_ABORT
	.comm	_SCTP_CALLED_DIRECTLY_NOCMPSET,4,2 ## @SCTP_CALLED_DIRECTLY_NOCMPSET
	.comm	_sctp_blackhole,4,2             ## @sctp_blackhole
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_handle_ootb               ; -- Begin function sctp_handle_ootb
	.p2align	2
_sctp_handle_ootb:                      ; @sctp_handle_ootb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x26, x7
	mov	x19, x6
	mov	x23, x5
	mov	x28, x4
	mov	x22, x3
	mov	x20, x2
	mov	x24, x1
	mov	x25, x0
	ldr	w27, [x29, #16]
Lloh0:
	adrp	x8, _sctps_outoftheblue@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sctps_outoftheblue@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_SCTP_STAT_INCR_COUNTER32
	cbz	x19, LBB0_4
; %bb.1:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _SCTP_PCB_FLAGS_SOCKET_GONE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SCTP_PCB_FLAGS_SOCKET_GONE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	add	x0, x19, #4
	bl	_LIST_EMPTY
	cbz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _SCTP_FREE_SHOULD_USE_ABORT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SCTP_FREE_SHOULD_USE_ABORT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _SCTP_CALLED_DIRECTLY_NOCMPSET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SCTP_CALLED_DIRECTLY_NOCMPSET@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_sctp_inpcb_free
LBB0_4:
	ldp	w8, w19, [x29, #28]
	str	w8, [sp, #32]                   ; 4-byte Folded Spill
	ldr	w8, [x29, #24]
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	ldr	w8, [x29, #20]
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	add	x3, sp, #40
	mov	x0, x25
	mov	x1, x20
	mov	w2, #8
	bl	_sctp_m_getptr
	str	w24, [sp, #20]                  ; 4-byte Folded Spill
	str	w19, [sp, #36]                  ; 4-byte Folded Spill
	cbz	x0, LBB0_11
; %bb.5:
	mov	x21, x0
	mov	x19, x22
	mov	w24, #0
Lloh12:
	adrp	x22, lJTI0_0@PAGE
Lloh13:
	add	x22, x22, lJTI0_0@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_SCTP_SIZE32
	add	w20, w20, w0
	add	x3, sp, #40
	mov	x0, x25
	mov	x1, x20
	mov	w2, #8
	bl	_sctp_m_getptr
	mov	x21, x0
	cbz	x0, LBB0_12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21, #4]
	bl	_ntohs
	cmp	w0, #8
	b.lo	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x21]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	adr	x9, LBB0_10
	ldrb	w10, [x22, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w24, #1
	b	LBB0_6
LBB0_11:
	mov	x19, x22
	mov	w24, #0
LBB0_12:
Lloh14:
	adrp	x20, _sctp_blackhole@GOTPAGE
Lloh15:
	ldr	x20, [x20, _sctp_blackhole@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_SCTP_BASE_SYSCTL
	cbz	w0, LBB0_14
; %bb.13:
	ldr	w0, [x20]
	bl	_SCTP_BASE_SYSCTL
	cmp	w0, #1
	ccmp	w24, #0, #0, eq
	b.ne	LBB0_15
LBB0_14:
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	stp	w8, w9, [sp, #8]
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	ldp	w1, w8, [sp, #20]               ; 8-byte Folded Reload
	stp	w8, w9, [sp]
	mov	x0, x25
	mov	x2, x19
	mov	x3, x28
	mov	x4, x23
	mov	w5, #0
	mov	x6, x26
	mov	x7, x27
	bl	_sctp_send_abort
LBB0_15:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_16:
	mov	x0, x19
	mov	x1, x28
	mov	x2, x23
	mov	x3, x27
	ldp	w4, w5, [sp, #24]               ; 8-byte Folded Reload
	ldp	w6, w7, [sp, #32]               ; 8-byte Folded Reload
	bl	_sctp_send_shutdown_complete2
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_15-LBB0_10)>>2
	.byte	(LBB0_16-LBB0_10)>>2
	.byte	(LBB0_15-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_15-LBB0_10)>>2
                                        ; -- End function
	.comm	_sctps_outoftheblue,4,2         ; @sctps_outoftheblue
	.comm	_SCTP_PCB_FLAGS_SOCKET_GONE,4,2 ; @SCTP_PCB_FLAGS_SOCKET_GONE
	.comm	_SCTP_FREE_SHOULD_USE_ABORT,4,2 ; @SCTP_FREE_SHOULD_USE_ABORT
	.comm	_SCTP_CALLED_DIRECTLY_NOCMPSET,4,2 ; @SCTP_CALLED_DIRECTLY_NOCMPSET
	.comm	_sctp_blackhole,4,2             ; @sctp_blackhole
.subsections_via_symbols
