	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_abort_association         ## -- Begin function sctp_abort_association
	.p2align	4, 0x90
_sctp_abort_association:                ## @sctp_abort_association
	.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	%r9, %r10
	movq	%r8, %r15
	movl	56(%rbp), %r13d
	movq	40(%rbp), %r12
	movl	32(%rbp), %r11d
	movq	24(%rbp), %rax
	movq	16(%rbp), %r8
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	movq	%rsi, %rbx
	movq	16(%rsi), %r9
	movq	%rdi, %r14
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r11, %rax
	movl	(%rdi), %r11d
	movq	%rdx, %rdi
	movl	%ecx, %esi
	movq	%r15, %rdx
	movq	%r10, %rcx
	pushq	%r13
	pushq	8(%rbx)
	pushq	%r11
	pushq	%r12
	pushq	%rax
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_sctp_send_abort
	addq	$48, %rsp
	movq	_SCTP_SO_NOT_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_sctp_abort_notification
	movq	_SCTP_STATE_WAS_ABORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_SCTP_ADD_SUBSTATE
	movq	%r14, %rdi
	callq	_SCTP_INP_SO
	movq	%rax, %r15
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_atomic_add_int
	movq	%rbx, %rdi
	callq	_SCTP_TCB_UNLOCK
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_SCTP_SOCKET_LOCK
	movq	%rbx, %rdi
	callq	_SCTP_TCB_LOCK
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_atomic_subtract_int
	movq	_sctps_aborted@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_STAT_INCR_COUNTER32
	movq	%rbx, %rdi
	callq	_SCTP_GET_STATE
	movq	_SCTP_STATE_OPEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_SCTP_GET_STATE
	movq	_SCTP_STATE_SHUTDOWN_RECEIVED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_3:
	movq	_sctps_currestab@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_STAT_DECR_GAUGE32
LBB0_4:
	movq	_SCTP_NORMAL_PROC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SCTP_FROM_SCTPUTIL@GOTPCREL(%rip), %rax
	movq	_SCTP_LOC_4@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rax), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_sctp_free_assoc
	movq	%r15, %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_5:
	movl	(%rdi), %ebx
	movq	%rdx, %rdi
	movl	%ecx, %esi
	movq	%r15, %rdx
	movq	%r10, %rcx
	xorl	%r9d, %r9d
	pushq	%r13
	pushq	48(%rbp)
	pushq	%rbx
	pushq	%r12
	pushq	%r11
	pushq	%rax
	callq	_sctp_send_abort
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_SO_NOT_LOCKED,4,2         ## @SCTP_SO_NOT_LOCKED
	.comm	_SCTP_STATE_WAS_ABORTED,4,2     ## @SCTP_STATE_WAS_ABORTED
	.comm	_sctps_aborted,4,2              ## @sctps_aborted
	.comm	_SCTP_STATE_OPEN,8,3            ## @SCTP_STATE_OPEN
	.comm	_SCTP_STATE_SHUTDOWN_RECEIVED,8,3 ## @SCTP_STATE_SHUTDOWN_RECEIVED
	.comm	_sctps_currestab,4,2            ## @sctps_currestab
	.comm	_SCTP_NORMAL_PROC,4,2           ## @SCTP_NORMAL_PROC
	.comm	_SCTP_FROM_SCTPUTIL,8,3         ## @SCTP_FROM_SCTPUTIL
	.comm	_SCTP_LOC_4,8,3                 ## @SCTP_LOC_4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_abort_association         ; -- Begin function sctp_abort_association
	.p2align	2
_sctp_abort_association:                ; @sctp_abort_association
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x8, x7
	mov	x9, x5
	mov	x19, x0
	ldr	w11, [x29, #40]
	ldr	x10, [x29, #24]
	ldr	w7, [x29, #16]
	cbz	x1, LBB0_5
; %bb.1:
	mov	x20, x1
	ldp	x12, x5, [x1, #8]
	ldr	w13, [x19]
	str	w11, [sp, #24]
	str	x12, [sp, #16]
	str	w13, [sp, #8]
	str	x10, [sp]
	mov	x0, x2
	mov	x1, x3
	mov	x2, x4
	mov	x3, x9
	mov	x4, x6
	mov	x6, x8
	bl	_sctp_send_abort
Lloh0:
	adrp	x8, _SCTP_SO_NOT_LOCKED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCTP_SO_NOT_LOCKED@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	mov	x3, #0
	bl	_sctp_abort_notification
Lloh3:
	adrp	x8, _SCTP_STATE_WAS_ABORTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SCTP_STATE_WAS_ABORTED@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_SCTP_ADD_SUBSTATE
	mov	x0, x19
	bl	_SCTP_INP_SO
	mov	x21, x0
	mov	x0, x20
	mov	w1, #1
	bl	_atomic_add_int
	mov	x0, x20
	bl	_SCTP_TCB_UNLOCK
	mov	x0, x21
	mov	w1, #1
	bl	_SCTP_SOCKET_LOCK
	mov	x0, x20
	bl	_SCTP_TCB_LOCK
	mov	x0, x20
	mov	w1, #1
	bl	_atomic_subtract_int
Lloh6:
	adrp	x8, _sctps_aborted@GOTPAGE
Lloh7:
	ldr	x8, [x8, _sctps_aborted@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_SCTP_STAT_INCR_COUNTER32
	mov	x0, x20
	bl	_SCTP_GET_STATE
Lloh9:
	adrp	x8, _SCTP_STATE_OPEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SCTP_STATE_OPEN@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_SCTP_GET_STATE
Lloh12:
	adrp	x8, _SCTP_STATE_SHUTDOWN_RECEIVED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SCTP_STATE_SHUTDOWN_RECEIVED@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
LBB0_3:
Lloh15:
	adrp	x8, _sctps_currestab@GOTPAGE
Lloh16:
	ldr	x8, [x8, _sctps_currestab@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_SCTP_STAT_DECR_GAUGE32
LBB0_4:
Lloh18:
	adrp	x8, _SCTP_NORMAL_PROC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SCTP_NORMAL_PROC@GOTPAGEOFF]
Lloh20:
	adrp	x9, _SCTP_FROM_SCTPUTIL@GOTPAGE
Lloh21:
	ldr	x9, [x9, _SCTP_FROM_SCTPUTIL@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
Lloh23:
	ldr	x8, [x9]
Lloh24:
	adrp	x9, _SCTP_LOC_4@GOTPAGE
Lloh25:
	ldr	x9, [x9, _SCTP_LOC_4@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	add	x3, x9, x8
	mov	x0, x19
	mov	x1, x20
	bl	_sctp_free_assoc
	mov	x0, x21
	mov	w1, #1
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_SCTP_SOCKET_UNLOCK
LBB0_5:
	ldr	x12, [x29, #32]
	ldr	w13, [x19]
	str	w11, [x29, #40]
	str	x12, [x29, #32]
	str	w13, [x29, #24]
	str	x10, [x29, #16]
	mov	x0, x2
	mov	x1, x3
	mov	x2, x4
	mov	x3, x9
	mov	x4, x6
	mov	x5, #0
	mov	x6, x8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_sctp_send_abort
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_SO_NOT_LOCKED,4,2         ; @SCTP_SO_NOT_LOCKED
	.comm	_SCTP_STATE_WAS_ABORTED,4,2     ; @SCTP_STATE_WAS_ABORTED
	.comm	_sctps_aborted,4,2              ; @sctps_aborted
	.comm	_SCTP_STATE_OPEN,8,3            ; @SCTP_STATE_OPEN
	.comm	_SCTP_STATE_SHUTDOWN_RECEIVED,8,3 ; @SCTP_STATE_SHUTDOWN_RECEIVED
	.comm	_sctps_currestab,4,2            ; @sctps_currestab
	.comm	_SCTP_NORMAL_PROC,4,2           ; @SCTP_NORMAL_PROC
	.comm	_SCTP_FROM_SCTPUTIL,8,3         ; @SCTP_FROM_SCTPUTIL
	.comm	_SCTP_LOC_4,8,3                 ; @SCTP_LOC_4
.subsections_via_symbols
