	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_sf_do_unexpected_init
_sctp_sf_do_unexpected_init:            ## @sctp_sf_do_unexpected_init
	.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	%r8, %r14
	movq	%rcx, %rbx
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r12
	cmpl	$0, 40(%rcx)
	je	LBB0_28
## %bb.1:
	movq	32(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.29:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
	movq	%rbx, %rcx
	movq	%r14, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sctp_sf_tabort_8_4_8           ## TAILCALL
LBB0_28:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
	movq	%rbx, %rcx
	movq	%r14, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sctp_sf_pdiscard               ## TAILCALL
LBB0_2:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_sctp_chunk_length_valid
	testl	%eax, %eax
	je	LBB0_30
## %bb.3:
	movq	8(%rbx), %rdi
	movq	(%rdi), %rax
	movq	%rax, 24(%rbx)
	movl	$4, %esi
	callq	_skb_pull
	movl	%eax, 16(%rbx)
	movq	$0, -48(%rbp)
	movq	(%rbx), %rdx
	movl	4(%rdx), %esi
	leaq	-48(%rbp), %r8
	movq	%r15, %rdi
	movq	%rbx, %rcx
	callq	_sctp_verify_init
	testl	%eax, %eax
	je	LBB0_4
## %bb.8:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_sctp_make_temp_asoc
	testq	%rax, %rax
	je	LBB0_23
## %bb.9:
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_sctp_source
	movl	%eax, %edi
	callq	_sctp_scope
	movl	(%r13), %edx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_sctp_assoc_set_bind_addr_from_ep
	movq	_SCTP_DISPOSITION_NOMEM@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	js	LBB0_15
## %bb.10:
	movq	%rbx, %rdi
	callq	_sctp_source
	movq	(%rbx), %rcx
	movl	(%r13), %r8d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_sctp_process_init
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:
	movq	_COOKIE_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_sctp_state
	testl	%eax, %eax
	jne	LBB0_16
## %bb.13:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_sctp_sf_check_restart_addrs
	testl	%eax, %eax
	je	LBB0_14
LBB0_16:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_sctp_tietags_populate
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_ntohs
	movl	%eax, %r15d
	addl	$-4, %r15d
	jmp	LBB0_19
LBB0_30:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
	movq	%rbx, %rcx
	movq	%r14, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sctp_sf_violation_chunklen     ## TAILCALL
LBB0_4:
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	(%rax), %r13
	movl	(%r13), %edi
	addq	$16, %r13
	callq	_ntohs
                                        ## kill: def $eax killed $eax def $rax
	leal	-4(%rax), %r8d
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	callq	_sctp_abort_pkt_new
	testq	%rax, %rax
	je	LBB0_23
## %bb.6:
	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_DISPOSITION_CONSUME@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_23:
	movq	_SCTP_DISPOSITION_NOMEM@GOTPCREL(%rip), %rax
LBB0_24:
	movl	(%rax), %ebx
	jmp	LBB0_25
LBB0_7:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
	movq	%rbx, %rcx
	movq	%r14, %r8
	callq	_sctp_sf_tabort_8_4_8
	movl	%eax, %ebx
	jmp	LBB0_27
LBB0_11:
	movq	_SCTP_DISPOSITION_NOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_17:
	xorl	%r15d, %r15d
LBB0_19:
	movl	(%r13), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %ecx
	callq	_sctp_make_init_ack
	testq	%rax, %rax
	movq	_SCTP_DISPOSITION_NOMEM@GOTPCREL(%rip), %rcx
	je	LBB0_15
## %bb.20:
	movq	%rax, %rbx
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movq	(%rax), %rdx
	addq	$16, %rdx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_sctp_addto_chunk
LBB0_22:
	movq	_SCTP_CMD_NEW_ASOC@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r12, %rdi
	callq	_SCTP_ASOC
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_sctp_add_cmd_sf
	movq	_SCTP_CMD_REPLY@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_SCTP_CHUNK
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_sctp_add_cmd_sf
	movq	_SCTP_CMD_DELETE_TCB@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
	movq	_SCTP_DISPOSITION_CONSUME@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_27
LBB0_14:
	movq	_SCTP_DISPOSITION_CONSUME@GOTPCREL(%rip), %rcx
LBB0_15:
	movl	(%rcx), %ebx
	movq	%r12, %rdi
	callq	_sctp_association_free
LBB0_25:
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_27
## %bb.26:
	callq	_sctp_chunk_free
LBB0_27:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_CMD_SEND_PKT,4,2          ## @SCTP_CMD_SEND_PKT
	.comm	_SCTP_MIB_OUTCTRLCHUNKS,4,2     ## @SCTP_MIB_OUTCTRLCHUNKS
	.comm	_SCTP_DISPOSITION_CONSUME,4,2   ## @SCTP_DISPOSITION_CONSUME
	.comm	_SCTP_DISPOSITION_NOMEM,4,2     ## @SCTP_DISPOSITION_NOMEM
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_COOKIE_WAIT,4,2                ## @COOKIE_WAIT
	.comm	_SCTP_CMD_NEW_ASOC,4,2          ## @SCTP_CMD_NEW_ASOC
	.comm	_SCTP_CMD_REPLY,4,2             ## @SCTP_CMD_REPLY
	.comm	_SCTP_CMD_DELETE_TCB,4,2        ## @SCTP_CMD_DELETE_TCB
	.no_dead_strip	_sctp_sf_do_unexpected_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_sf_do_unexpected_init
_sctp_sf_do_unexpected_init:            ; @sctp_sf_do_unexpected_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x20, x3
	mov	x23, x2
	mov	x21, x1
	mov	x22, x0
	ldr	w8, [x3, #40]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	x8, [x20, #32]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	mov	x3, x20
	mov	x4, x19
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_sctp_sf_tabort_8_4_8
LBB0_3:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	mov	x3, x20
	mov	x4, x19
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_sctp_sf_pdiscard
LBB0_4:
	mov	x0, x20
	mov	w1, #4
	bl	_sctp_chunk_length_valid
	cbz	w0, LBB0_13
; %bb.5:
	ldr	x0, [x20, #8]
	ldr	x8, [x0]
	str	x8, [x20, #24]
	mov	w1, #4
	bl	_skb_pull
	str	w0, [x20, #16]
	str	xzr, [sp, #8]
	ldr	x2, [x20]
	ldr	w1, [x2, #4]
	add	x4, sp, #8
	mov	x0, x21
	mov	x3, x20
	bl	_sctp_verify_init
	cbz	w0, LBB0_14
; %bb.6:
Lloh0:
	adrp	x23, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x23, [x23, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x22
	mov	x1, x20
	bl	_sctp_make_temp_asoc
	cbz	x0, LBB0_17
; %bb.7:
	mov	x22, x0
	mov	x0, x20
	bl	_sctp_source
	bl	_sctp_scope
	mov	x1, x0
	ldr	w2, [x23]
	mov	x0, x22
	bl	_sctp_assoc_set_bind_addr_from_ep
	tbnz	x0, #63, LBB0_25
; %bb.8:
	mov	x0, x20
	bl	_sctp_source
	mov	x2, x0
	ldr	x3, [x20]
	ldr	w4, [x23]
	mov	x0, x22
	mov	x1, x20
	bl	_sctp_process_init
	cbz	w0, LBB0_25
; %bb.9:
Lloh2:
	adrp	x8, _COOKIE_WAIT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _COOKIE_WAIT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_sctp_state
	cbnz	w0, LBB0_11
; %bb.10:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_sctp_sf_check_restart_addrs
	cbz	w0, LBB0_29
LBB0_11:
	mov	x0, x22
	mov	x1, x21
	bl	_sctp_tietags_populate
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_20
; %bb.12:
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_ntohs
	sub	w21, w0, #4
	b	LBB0_21
LBB0_13:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	mov	x3, x20
	mov	x4, x19
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_sctp_sf_violation_chunklen
LBB0_14:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_19
; %bb.15:
	ldr	x23, [x8]
	ldr	w0, [x23], #16
	bl	_ntohs
	sub	w4, w0, #4
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x23
	bl	_sctp_abort_pkt_new
	cbz	x0, LBB0_17
; %bb.16:
Lloh5:
	adrp	x8, _SCTP_CMD_SEND_PKT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SCTP_CMD_SEND_PKT@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	bl	_SCTP_PACKET
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_sctp_add_cmd_sf
Lloh8:
	adrp	x8, _SCTP_MIB_OUTCTRLCHUNKS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SCTP_MIB_OUTCTRLCHUNKS@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_SCTP_INC_STATS
Lloh11:
	adrp	x8, _SCTP_DISPOSITION_CONSUME@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SCTP_DISPOSITION_CONSUME@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh13:
	adrp	x8, _SCTP_DISPOSITION_NOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SCTP_DISPOSITION_NOMEM@GOTPAGEOFF]
LBB0_18:
	ldr	w19, [x8]
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_27
	b	LBB0_28
LBB0_19:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	mov	x3, x20
	mov	x4, x19
	bl	_sctp_sf_tabort_8_4_8
	mov	x19, x0
	b	LBB0_28
LBB0_20:
	mov	w21, #0
LBB0_21:
	ldr	w2, [x23]
	mov	x0, x22
	mov	x1, x20
	mov	x3, x21
	bl	_sctp_make_init_ack
	cbz	x0, LBB0_25
; %bb.22:
	mov	x20, x0
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_24
; %bb.23:
	ldr	x8, [x8]
	add	x2, x8, #16
	mov	x0, x20
	mov	x1, x21
	bl	_sctp_addto_chunk
LBB0_24:
Lloh15:
	adrp	x8, _SCTP_CMD_NEW_ASOC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SCTP_CMD_NEW_ASOC@GOTPAGEOFF]
Lloh17:
	ldr	w21, [x8]
	mov	x0, x22
	bl	_SCTP_ASOC
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_sctp_add_cmd_sf
Lloh18:
	adrp	x8, _SCTP_CMD_REPLY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SCTP_CMD_REPLY@GOTPAGEOFF]
Lloh20:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_SCTP_CHUNK
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_sctp_add_cmd_sf
Lloh21:
	adrp	x8, _SCTP_CMD_DELETE_TCB@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SCTP_CMD_DELETE_TCB@GOTPAGEOFF]
Lloh23:
	ldr	w20, [x8]
	bl	_SCTP_NULL
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_sctp_add_cmd_sf
Lloh24:
	adrp	x8, _SCTP_DISPOSITION_CONSUME@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SCTP_DISPOSITION_CONSUME@GOTPAGEOFF]
Lloh26:
	ldr	w19, [x8]
	b	LBB0_28
LBB0_25:
Lloh27:
	adrp	x8, _SCTP_DISPOSITION_NOMEM@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SCTP_DISPOSITION_NOMEM@GOTPAGEOFF]
LBB0_26:
	ldr	w19, [x8]
	mov	x0, x22
	bl	_sctp_association_free
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_28
LBB0_27:
	bl	_sctp_chunk_free
LBB0_28:
	mov	x0, x19
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_29:
Lloh29:
	adrp	x8, _SCTP_DISPOSITION_CONSUME@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SCTP_DISPOSITION_CONSUME@GOTPAGEOFF]
	b	LBB0_26
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_CMD_SEND_PKT,4,2          ; @SCTP_CMD_SEND_PKT
	.comm	_SCTP_MIB_OUTCTRLCHUNKS,4,2     ; @SCTP_MIB_OUTCTRLCHUNKS
	.comm	_SCTP_DISPOSITION_CONSUME,4,2   ; @SCTP_DISPOSITION_CONSUME
	.comm	_SCTP_DISPOSITION_NOMEM,4,2     ; @SCTP_DISPOSITION_NOMEM
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_COOKIE_WAIT,4,2                ; @COOKIE_WAIT
	.comm	_SCTP_CMD_NEW_ASOC,4,2          ; @SCTP_CMD_NEW_ASOC
	.comm	_SCTP_CMD_REPLY,4,2             ; @SCTP_CMD_REPLY
	.comm	_SCTP_CMD_DELETE_TCB,4,2        ; @SCTP_CMD_DELETE_TCB
	.no_dead_strip	_sctp_sf_do_unexpected_init
.subsections_via_symbols
