	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_handle_shutdown
_sctp_handle_shutdown:                  ## @sctp_handle_shutdown
	.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	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_SCTP_DEBUG_INPUT2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_SCTPDBG
	testq	%r12, %r12
	je	LBB0_31
## %bb.1:
	movq	%r12, %rdi
	callq	_SCTP_GET_STATE
	movq	_SCTP_STATE_COOKIE_WAIT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_31
## %bb.2:
	movq	%r12, %rdi
	callq	_SCTP_GET_STATE
	movq	_SCTP_STATE_COOKIE_ECHOED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_31
## %bb.3:
	movl	(%rbx), %edi
	callq	_ntohs
	cmpl	$4, %eax
	jne	LBB0_31
## %bb.4:
	movq	%r12, %rdi
	callq	_SCTP_GET_STATE
	movl	%eax, %r15d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_sctp_update_acked
	cmpl	$0, (%r13)
	je	LBB0_5
LBB0_31:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	cmpq	$0, 40(%r12)
	je	LBB0_16
## %bb.6:
	movl	(%r12), %edi
	callq	_SCTP_INP_READ_LOCK
	movq	40(%r12), %rsi
	movq	(%rsi), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.7:
	movq	48(%r12), %rax
	movq	8(%rsi), %rdx
	movq	_SCTP_ON_UNORDERED@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	jne	LBB0_9
## %bb.8:
	leaq	(%rax,%rdx,8), %rdi
	addq	$4, %rdi
	jmp	LBB0_11
LBB0_9:
	movq	_SCTP_ON_ORDERED@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	jne	LBB0_12
## %bb.10:
	leaq	(%rax,%rdx,8), %rdi
LBB0_11:
	movq	_next_instrm@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_TAILQ_REMOVE
	movq	40(%r12), %rsi
	movq	$0, (%rsi)
LBB0_12:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 16(%rsi)
	movq	$0, 40(%r12)
	movl	(%r12), %edi
	callq	_SCTP_INP_READ_UNLOCK
	movl	(%r12), %edi
	callq	_SCTP_INP_SO
	movq	%rax, %r13
	leaq	32(%r12), %rbx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_atomic_add_int
	movq	%r12, %rdi
	callq	_SCTP_TCB_UNLOCK
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_SCTP_SOCKET_LOCK
	movq	%r12, %rdi
	callq	_SCTP_TCB_LOCK
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_atomic_subtract_int
	movq	_SCTP_STATE_CLOSED_SOCKET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%r12)
	je	LBB0_13
## %bb.32:
	movq	%r13, %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SCTP_SOCKET_UNLOCK             ## TAILCALL
LBB0_13:
	movq	8(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.14:
	movl	(%r12), %edi
	callq	_sctp_sorwakeup
LBB0_15:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_SCTP_SOCKET_UNLOCK
LBB0_16:
	cmpq	$0, 8(%r12)
	je	LBB0_21
## %bb.17:
	movq	%r12, %rdi
	callq	_SCTP_GET_STATE
	movq	_SCTP_STATE_SHUTDOWN_RECEIVED@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	je	LBB0_21
## %bb.18:
	movq	%r12, %rdi
	callq	_SCTP_GET_STATE
	movq	_SCTP_STATE_SHUTDOWN_ACK_SENT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_21
## %bb.19:
	movq	%r12, %rdi
	callq	_SCTP_GET_STATE
	movq	_SCTP_STATE_SHUTDOWN_SENT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_21
## %bb.20:
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_SCTP_SET_STATE
	movq	_SCTP_NOTIFY_PEER_SHUTDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SCTP_SO_NOT_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_sctp_ulp_notify
	leaq	28(%r12), %rdi
	callq	_SCTP_GETTIME_TIMEVAL
LBB0_21:
	movq	%r12, %rdi
	callq	_SCTP_GET_STATE
	movq	_SCTP_STATE_SHUTDOWN_SENT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_23
## %bb.22:
	movq	_SCTP_TIMER_TYPE_SHUTDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	movq	_SCTP_FROM_SCTP_INPUT@GOTPCREL(%rip), %rax
	movq	_SCTP_LOC_9@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	addq	(%rax), %r8
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_sctp_timer_stop
LBB0_23:
	movq	_SCTP_SO_NOT_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_sctp_is_there_unsent_data
	movl	%eax, %ebx
	leaq	24(%r12), %rdi
	callq	_TAILQ_EMPTY
	testl	%eax, %eax
	je	LBB0_31
## %bb.24:
	leaq	20(%r12), %rdi
	callq	_TAILQ_EMPTY
	testl	%eax, %eax
	je	LBB0_31
## %bb.25:
	testl	%ebx, %ebx
	jne	LBB0_31
## %bb.26:
	movq	%r12, %rdi
	callq	_SCTP_GET_STATE
	movq	_SCTP_STATE_OPEN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_28
## %bb.27:
	movq	%r12, %rdi
	callq	_SCTP_GET_STATE
	movq	_SCTP_STATE_SHUTDOWN_RECEIVED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_29
LBB0_28:
	movq	_sctps_currestab@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_STAT_DECR_GAUGE32
LBB0_29:
	movq	%r12, %rdi
	callq	_SCTP_GET_STATE
	movq	_SCTP_STATE_SHUTDOWN_ACK_SENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	cmpl	%esi, %eax
	jne	LBB0_33
## %bb.30:
	cmpl	%eax, %r15d
	jne	LBB0_31
## %bb.34:
	movq	%r12, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sctp_send_shutdown_ack         ## TAILCALL
LBB0_33:
	movq	%r12, %rdi
	callq	_SCTP_SET_STATE
	movq	%r12, %rdi
	callq	_sctp_stop_timers_for_shutdown
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_sctp_send_shutdown_ack
	movq	_SCTP_TIMER_TYPE_SHUTDOWNACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	movq	%r12, %rdx
	movq	%r14, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sctp_timer_start               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_DEBUG_INPUT2,4,2          ## @SCTP_DEBUG_INPUT2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sctp_handle_shutdown: handling SHUTDOWN\n"

	.comm	_SCTP_STATE_COOKIE_WAIT,4,2     ## @SCTP_STATE_COOKIE_WAIT
	.comm	_SCTP_STATE_COOKIE_ECHOED,4,2   ## @SCTP_STATE_COOKIE_ECHOED
	.comm	_SCTP_ON_UNORDERED,8,3          ## @SCTP_ON_UNORDERED
	.comm	_next_instrm,4,2                ## @next_instrm
	.comm	_SCTP_ON_ORDERED,8,3            ## @SCTP_ON_ORDERED
	.comm	_SCTP_STATE_CLOSED_SOCKET,4,2   ## @SCTP_STATE_CLOSED_SOCKET
	.comm	_SCTP_STATE_SHUTDOWN_RECEIVED,4,2 ## @SCTP_STATE_SHUTDOWN_RECEIVED
	.comm	_SCTP_STATE_SHUTDOWN_ACK_SENT,4,2 ## @SCTP_STATE_SHUTDOWN_ACK_SENT
	.comm	_SCTP_STATE_SHUTDOWN_SENT,4,2   ## @SCTP_STATE_SHUTDOWN_SENT
	.comm	_SCTP_NOTIFY_PEER_SHUTDOWN,4,2  ## @SCTP_NOTIFY_PEER_SHUTDOWN
	.comm	_SCTP_SO_NOT_LOCKED,4,2         ## @SCTP_SO_NOT_LOCKED
	.comm	_SCTP_TIMER_TYPE_SHUTDOWN,4,2   ## @SCTP_TIMER_TYPE_SHUTDOWN
	.comm	_SCTP_FROM_SCTP_INPUT,8,3       ## @SCTP_FROM_SCTP_INPUT
	.comm	_SCTP_LOC_9,8,3                 ## @SCTP_LOC_9
	.comm	_SCTP_STATE_OPEN,4,2            ## @SCTP_STATE_OPEN
	.comm	_sctps_currestab,4,2            ## @sctps_currestab
	.comm	_SCTP_TIMER_TYPE_SHUTDOWNACK,4,2 ## @SCTP_TIMER_TYPE_SHUTDOWNACK
	.no_dead_strip	_sctp_handle_shutdown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_handle_shutdown
_sctp_handle_shutdown:                  ; @sctp_handle_shutdown
	.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	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _SCTP_DEBUG_INPUT2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCTP_DEBUG_INPUT2@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_SCTPDBG
	cbz	x20, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_SCTP_GET_STATE
Lloh5:
	adrp	x8, _SCTP_STATE_COOKIE_WAIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SCTP_STATE_COOKIE_WAIT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_5
; %bb.2:
	mov	x0, x20
	bl	_SCTP_GET_STATE
Lloh8:
	adrp	x8, _SCTP_STATE_COOKIE_ECHOED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SCTP_STATE_COOKIE_ECHOED@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_5
; %bb.3:
	ldr	w0, [x23]
	bl	_ntohs
	cmp	w0, #4
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_SCTP_GET_STATE
	mov	x21, x0
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	bl	_sctp_update_acked
	ldr	w8, [x22]
	cbz	w8, LBB0_6
LBB0_5:
	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
	ret
LBB0_6:
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_18
; %bb.7:
	ldr	w0, [x20]
	bl	_SCTP_INP_READ_LOCK
	ldr	x1, [x20, #40]
	ldr	x10, [x1]
	cbz	x10, LBB0_13
; %bb.8:
	ldr	x8, [x20, #48]
	ldr	x9, [x1, #8]
Lloh11:
	adrp	x11, _SCTP_ON_UNORDERED@GOTPAGE
Lloh12:
	ldr	x11, [x11, _SCTP_ON_UNORDERED@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_10
; %bb.9:
	add	x8, x8, x9, lsl #3
	add	x0, x8, #4
	b	LBB0_12
LBB0_10:
Lloh14:
	adrp	x11, _SCTP_ON_ORDERED@GOTPAGE
Lloh15:
	ldr	x11, [x11, _SCTP_ON_ORDERED@GOTPAGEOFF]
Lloh16:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_13
; %bb.11:
	add	x0, x8, x9, lsl #3
LBB0_12:
Lloh17:
	adrp	x8, _next_instrm@GOTPAGE
Lloh18:
	ldr	x8, [x8, _next_instrm@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	bl	_TAILQ_REMOVE
	ldr	x1, [x20, #40]
	str	xzr, [x1]
LBB0_13:
	movi.2s	v0, #1
	str	d0, [x1, #16]
	str	xzr, [x20, #40]
	ldr	w0, [x20]
	bl	_SCTP_INP_READ_UNLOCK
	ldr	w0, [x20]
	bl	_SCTP_INP_SO
	mov	x22, x0
	add	x23, x20, #32
	mov	x0, x23
	mov	w1, #1
	bl	_atomic_add_int
	mov	x0, x20
	bl	_SCTP_TCB_UNLOCK
	mov	x0, x22
	mov	w1, #1
	bl	_SCTP_SOCKET_LOCK
	mov	x0, x20
	bl	_SCTP_TCB_LOCK
	mov	x0, x23
	mov	w1, #1
	bl	_atomic_subtract_int
	ldr	w8, [x20, #16]
Lloh20:
	adrp	x9, _SCTP_STATE_CLOSED_SOCKET@GOTPAGE
Lloh21:
	ldr	x9, [x9, _SCTP_STATE_CLOSED_SOCKET@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.14:
	mov	x0, x22
	mov	w1, #1
	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_SOCKET_UNLOCK
LBB0_15:
	ldr	x1, [x20, #8]
	cbz	x1, LBB0_17
; %bb.16:
	ldr	w0, [x20]
	bl	_sctp_sorwakeup
LBB0_17:
	mov	x0, x22
	mov	w1, #1
	bl	_SCTP_SOCKET_UNLOCK
LBB0_18:
	ldr	x8, [x20, #8]
Lloh23:
	adrp	x23, _SCTP_STATE_SHUTDOWN_SENT@GOTPAGE
Lloh24:
	ldr	x23, [x23, _SCTP_STATE_SHUTDOWN_SENT@GOTPAGEOFF]
Lloh25:
	adrp	x22, _SCTP_SO_NOT_LOCKED@GOTPAGE
Lloh26:
	ldr	x22, [x22, _SCTP_SO_NOT_LOCKED@GOTPAGEOFF]
	cbz	x8, LBB0_23
; %bb.19:
	mov	x0, x20
	bl	_SCTP_GET_STATE
Lloh27:
	adrp	x24, _SCTP_STATE_SHUTDOWN_RECEIVED@GOTPAGE
Lloh28:
	ldr	x24, [x24, _SCTP_STATE_SHUTDOWN_RECEIVED@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_23
; %bb.20:
	mov	x0, x20
	bl	_SCTP_GET_STATE
Lloh29:
	adrp	x8, _SCTP_STATE_SHUTDOWN_ACK_SENT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SCTP_STATE_SHUTDOWN_ACK_SENT@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_23
; %bb.21:
	mov	x0, x20
	bl	_SCTP_GET_STATE
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_23
; %bb.22:
	ldr	w1, [x24]
	mov	x0, x20
	bl	_SCTP_SET_STATE
Lloh32:
	adrp	x8, _SCTP_NOTIFY_PEER_SHUTDOWN@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SCTP_NOTIFY_PEER_SHUTDOWN@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	ldr	w4, [x22]
	mov	x1, x20
	mov	w2, #0
	mov	x3, #0
	bl	_sctp_ulp_notify
	add	x0, x20, #28
	bl	_SCTP_GETTIME_TIMEVAL
LBB0_23:
	mov	x0, x20
	bl	_SCTP_GET_STATE
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_25
; %bb.24:
Lloh35:
	adrp	x8, _SCTP_TIMER_TYPE_SHUTDOWN@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SCTP_TIMER_TYPE_SHUTDOWN@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x8, _SCTP_FROM_SCTP_INPUT@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SCTP_FROM_SCTP_INPUT@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh40:
	ldr	x8, [x8]
Lloh41:
	adrp	x9, _SCTP_LOC_9@GOTPAGE
Lloh42:
	ldr	x9, [x9, _SCTP_LOC_9@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	add	x4, x9, x8
	mov	x2, x20
	mov	x3, x19
	bl	_sctp_timer_stop
LBB0_25:
	ldr	w1, [x22]
	mov	x0, x20
	bl	_sctp_is_there_unsent_data
	mov	x22, x0
	add	x0, x20, #24
	bl	_TAILQ_EMPTY
	cbz	w0, LBB0_5
; %bb.26:
	add	x0, x20, #20
	bl	_TAILQ_EMPTY
	cbz	w0, LBB0_5
; %bb.27:
	cbnz	w22, LBB0_5
; %bb.28:
	mov	x0, x20
	bl	_SCTP_GET_STATE
Lloh44:
	adrp	x8, _SCTP_STATE_OPEN@GOTPAGE
Lloh45:
	ldr	x8, [x8, _SCTP_STATE_OPEN@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_30
; %bb.29:
	mov	x0, x20
	bl	_SCTP_GET_STATE
Lloh47:
	adrp	x8, _SCTP_STATE_SHUTDOWN_RECEIVED@GOTPAGE
Lloh48:
	ldr	x8, [x8, _SCTP_STATE_SHUTDOWN_RECEIVED@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_31
LBB0_30:
Lloh50:
	adrp	x8, _sctps_currestab@GOTPAGE
Lloh51:
	ldr	x8, [x8, _sctps_currestab@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
	bl	_SCTP_STAT_DECR_GAUGE32
LBB0_31:
	mov	x0, x20
	bl	_SCTP_GET_STATE
Lloh53:
	adrp	x8, _SCTP_STATE_SHUTDOWN_ACK_SENT@GOTPAGE
Lloh54:
	ldr	x8, [x8, _SCTP_STATE_SHUTDOWN_ACK_SENT@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	cmp	w0, w1
	b.ne	LBB0_34
; %bb.32:
	cmp	w21, w0
	b.ne	LBB0_5
; %bb.33:
	mov	x0, x20
	mov	x1, 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_send_shutdown_ack
LBB0_34:
	mov	x0, x20
	bl	_SCTP_SET_STATE
	mov	x0, x20
	bl	_sctp_stop_timers_for_shutdown
	mov	x0, x20
	mov	x1, x19
	bl	_sctp_send_shutdown_ack
Lloh56:
	adrp	x8, _SCTP_TIMER_TYPE_SHUTDOWNACK@GOTPAGE
Lloh57:
	ldr	x8, [x8, _SCTP_TIMER_TYPE_SHUTDOWNACK@GOTPAGEOFF]
Lloh58:
	ldr	w0, [x8]
	ldr	w1, [x20]
	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_timer_start
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_DEBUG_INPUT2,4,2          ; @SCTP_DEBUG_INPUT2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sctp_handle_shutdown: handling SHUTDOWN\n"

	.comm	_SCTP_STATE_COOKIE_WAIT,4,2     ; @SCTP_STATE_COOKIE_WAIT
	.comm	_SCTP_STATE_COOKIE_ECHOED,4,2   ; @SCTP_STATE_COOKIE_ECHOED
	.comm	_SCTP_ON_UNORDERED,8,3          ; @SCTP_ON_UNORDERED
	.comm	_next_instrm,4,2                ; @next_instrm
	.comm	_SCTP_ON_ORDERED,8,3            ; @SCTP_ON_ORDERED
	.comm	_SCTP_STATE_CLOSED_SOCKET,4,2   ; @SCTP_STATE_CLOSED_SOCKET
	.comm	_SCTP_STATE_SHUTDOWN_RECEIVED,4,2 ; @SCTP_STATE_SHUTDOWN_RECEIVED
	.comm	_SCTP_STATE_SHUTDOWN_ACK_SENT,4,2 ; @SCTP_STATE_SHUTDOWN_ACK_SENT
	.comm	_SCTP_STATE_SHUTDOWN_SENT,4,2   ; @SCTP_STATE_SHUTDOWN_SENT
	.comm	_SCTP_NOTIFY_PEER_SHUTDOWN,4,2  ; @SCTP_NOTIFY_PEER_SHUTDOWN
	.comm	_SCTP_SO_NOT_LOCKED,4,2         ; @SCTP_SO_NOT_LOCKED
	.comm	_SCTP_TIMER_TYPE_SHUTDOWN,4,2   ; @SCTP_TIMER_TYPE_SHUTDOWN
	.comm	_SCTP_FROM_SCTP_INPUT,8,3       ; @SCTP_FROM_SCTP_INPUT
	.comm	_SCTP_LOC_9,8,3                 ; @SCTP_LOC_9
	.comm	_SCTP_STATE_OPEN,4,2            ; @SCTP_STATE_OPEN
	.comm	_sctps_currestab,4,2            ; @sctps_currestab
	.comm	_SCTP_TIMER_TYPE_SHUTDOWNACK,4,2 ; @SCTP_TIMER_TYPE_SHUTDOWNACK
	.no_dead_strip	_sctp_handle_shutdown
.subsections_via_symbols
