	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_sf_send_restart_abort
_sctp_sf_send_restart_abort:            ## @sctp_sf_send_restart_abort
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	(%rdi), %edi
	callq	_sctp_get_af_specific
	movq	%rbx, %rdi
	callq	*(%rax)
                                        ## kill: def $eax killed $eax def $rax
	leal	4(%rax), %ebx
	movq	_SCTP_ERROR_RESTART@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movl	%ebx, %edi
	callq	_htons
	movl	%eax, -64(%rbp)
	xorl	%eax, %eax
	callq	_sctp_get_ctl_sock
	movl	%eax, %edi
	callq	_sctp_sk
	movq	(%rax), %rdi
	leaq	-64(%rbp), %rcx
	xorl	%esi, %esi
	movq	%r15, %rdx
	movl	%ebx, %r8d
	callq	_sctp_abort_pkt_new
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_SCTP_CMD_SEND_PKT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	%rax, %rdi
	callq	_SCTP_PACKET
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_sctp_add_cmd_sf
	movq	_SCTP_MIB_OUTCTRLCHUNKS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_INC_STATS
	movq	_SCTP_CMD_DISCARD_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_SCTP_NULL
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_sctp_add_cmd_sf
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_ERROR_RESTART,4,2         ## @SCTP_ERROR_RESTART
	.comm	_SCTP_CMD_SEND_PKT,4,2          ## @SCTP_CMD_SEND_PKT
	.comm	_SCTP_MIB_OUTCTRLCHUNKS,4,2     ## @SCTP_MIB_OUTCTRLCHUNKS
	.comm	_SCTP_CMD_DISCARD_PACKET,4,2    ## @SCTP_CMD_DISCARD_PACKET
	.no_dead_strip	_sctp_sf_send_restart_abort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_sf_send_restart_abort
_sctp_sf_send_restart_abort:            ; @sctp_sf_send_restart_abort
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	w0, [x0]
	bl	_sctp_get_af_specific
	ldr	x8, [x0]
	mov	x0, x21
	blr	x8
	add	w21, w0, #4
Lloh3:
	adrp	x8, _SCTP_ERROR_RESTART@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SCTP_ERROR_RESTART@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	mov	x0, x21
	bl	_htons
	str	w0, [sp, #4]
	bl	_sctp_get_ctl_sock
	bl	_sctp_sk
	ldr	x0, [x0]
	add	x3, sp, #4
	mov	x1, #0
	mov	x2, x20
	mov	x4, x21
	bl	_sctp_abort_pkt_new
	cbz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _SCTP_CMD_SEND_PKT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SCTP_CMD_SEND_PKT@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	bl	_SCTP_PACKET
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_sctp_add_cmd_sf
Lloh9:
	adrp	x8, _SCTP_MIB_OUTCTRLCHUNKS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SCTP_MIB_OUTCTRLCHUNKS@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_SCTP_INC_STATS
Lloh12:
	adrp	x8, _SCTP_CMD_DISCARD_PACKET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SCTP_CMD_DISCARD_PACKET@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
	bl	_SCTP_NULL
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_sctp_add_cmd_sf
LBB0_2:
	ldr	x8, [sp, #24]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	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
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_ERROR_RESTART,4,2         ; @SCTP_ERROR_RESTART
	.comm	_SCTP_CMD_SEND_PKT,4,2          ; @SCTP_CMD_SEND_PKT
	.comm	_SCTP_MIB_OUTCTRLCHUNKS,4,2     ; @SCTP_MIB_OUTCTRLCHUNKS
	.comm	_SCTP_CMD_DISCARD_PACKET,4,2    ; @SCTP_CMD_DISCARD_PACKET
	.no_dead_strip	_sctp_sf_send_restart_abort
.subsections_via_symbols
